Hi all,
In my application, I want to drive a load using either 3.3V (from a LDO) or from a 5V USB supply. I also want to be able to enable or disable this 3.3V by using a PMOS with the gate connected to a micrcontroller. The circuit I have in mind is shown below.
If the 3.3V supply is connected, and the 5V supply is disconnected, the microcontroller will be able to enable or disable the 3.3V to flow into the load. Diode D1 will prevent 3.3V from flowing into the 5V supply. In another case, if the 5V supply is connected and the 3.3V is disconnected (microcontroller will be shut off too), 5V will flow directly into the load through the diode.
But what if both 3.3V and 5V is connected at the same time? It seems like this could cause a problem, especially if the PMOS is turn on, in that case, both 3.3V and 5V will flow into the load. How can I avoid this problem? Hope to get some advise here. Thanks in advance!
In my application, I want to drive a load using either 3.3V (from a LDO) or from a 5V USB supply. I also want to be able to enable or disable this 3.3V by using a PMOS with the gate connected to a micrcontroller. The circuit I have in mind is shown below.
If the 3.3V supply is connected, and the 5V supply is disconnected, the microcontroller will be able to enable or disable the 3.3V to flow into the load. Diode D1 will prevent 3.3V from flowing into the 5V supply. In another case, if the 5V supply is connected and the 3.3V is disconnected (microcontroller will be shut off too), 5V will flow directly into the load through the diode.
But what if both 3.3V and 5V is connected at the same time? It seems like this could cause a problem, especially if the PMOS is turn on, in that case, both 3.3V and 5V will flow into the load. How can I avoid this problem? Hope to get some advise here. Thanks in advance!