I'm designing a few boards that go in series with with each other.
The PCB layout is the same for all, so PCBs with unpopulated PSUs will receive power from 5V rail, populated will provide its own power.
The ones that have a PSU(Vin to 5V) will supply 5V to the following boards.
The ones that do not have a PSU populated will use 5V from the former.
However the ones that have a PSU populated and also will receive 5V from former PSUs, and will have to cut the 5V input while allowing its PSU to supply the chain from this point on.
So we'll assume the CONSTANT 5V rail is permanently on at ideally 5V.
Will this power selection circuit correctly turn M2 on and M1 off whenever INTERMITTENT is on and vice-versa?
I have simulated this circuit on Circuit Lab and tweaked it a bit, have I missed something?
I have purposely put the FETs body diodes in this orientation (5V can be fed into the 5V rail but not into the INTERMITTENT PSU).
I have studied a few O-Rings but I'm not quite sure this will work.
p.s.: there is another higher voltage rail present for the PSU in all boards.