I found a reference design for an ON/OFF circuit mainly used for the Raspberry Pi, located
here and
hereI was designing another board and inserted this design into my board which I believe is identical except for the MOSFETs used and 340k instead of 300k resistors. My schematic is this:
My current testing is with this circuit not connected to anything other than the incoming power rail (5V2, No H3 header and nothing connected to Pi_GPIO20 or Pi_GPIO21).
With nothing connected this circuit is supposed to be OFF (Q2B P-FET OFF) but most of the time the circuit is ON and I get voltage at Pi_5V2 (nothing connected here either).
In the attached document I have some scope plots and information. To be honest, I understand the circuit but I'm a little confused on the operation so I thought it's time for a refresher course and there's no better place than to come to this forum.
Your help in breaking down this circuit and finding what needs to be changed would be greatly appreciated.
Thanks in advance,
George