Hi! I'm working on a project which needs latch circuit in my design, which use for Power on/off by hardware and software...
VBAT is 12V. so I put it through a LDR to logic 3V3.
First I have a latch switch, when logic 3V3(pin2) connect to pin1. The top Pmons ON then power up the device.
When the logic 3V3(pin2) connect to pin3, off_requ gose high(1) then go in some MCU input. The MCU will do some proccess., then set output off_pwr to hight (1) to disable the top Pmos.
Will the below diagram works as I discribe above ? Feel free to give me some suggestion for improve design !
thank you so much if you do so!