nPM1300: Hard Reset When Charger Inserted?

I would like to trigger a hard reset when valid voltage is first detected on VBUS.
How could I do this with no or minimal external components and without a complementary MCU?

"When a GPIO is used to control a load switch or LDO, it uses edges. When the GPIO toggles from LOW to HIGH, the switch or LDO turns ON (switch conducting). When the GPIO toggles from HIGH to LOW, the switch or LDO turns OFF."
https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/core_components/loadsw/doc/frontpage.html

LDSW1GPISEL:
- INVERTED 1

LDSWCONFIG
- ACTIVE 1 Active discharge enabled

Would something like this work?
1. Detect a rising edge on VBUS
2. Invert the logic level to an LOAD switch
3. which could be used to pull SHPHLD down, causing a hard reset?

Thanks

Parents Reply Children
No Data
Related