However that goes against the operation of a P-channel MOSFET as a switch
The MOSFET switches using the Vgs (Voltage between the Gate and Source). I.e in this case the voltage between the output of the comparator and what should be the voltage of the USB 5V (however this is NOT what is drawn).
Hi,No I do not think it acts like a SPDT switch! Like I said, I am happy with the 'descriptive' purpose and operation of the MOSFET - i.e it is switching USB 5V either on or off. What I am not happy with is the way the terminals of the MOSFTET are drawn in the schematic.Please see my attached image.Circuit A is what has been drawn on the schematic.I believe that what should have been drawn is Circuit B. Any comments?Thanks
Ahhhh i see what you mean. Why didn't you say so in the 1st post. Your beef is with the drawn diode! No, diode is built into fet and is drawn correctly in both examples and just like the datasheet shows cathode of diode connected to source terminal. His issue is how the fet is wired into the larger circuit, which side should be drain and source terminals.Looks like the internal diode for the mosfet symbol is drawn the other way around. Per datasheet, figure B mosfet symbol is correct.