Hello Dominik...
Thank you for the reply. May I know how to generate the required current with just using PMOS and NMOS without resistor.
I search through the net and come across some current generation circuit with jst a few PMOS and NMOS connected in series with some of the NMOS gate connected in diode connected configuration and some PMOS gate connected to the GND. when the power supply is supplied, a current will flow through.
But I does not understand how to design the above circuit. Any advice or other circuit that I can refer to ? thank you