Hi,
I'm designing a battery-powered device using the nPM1304 PMIC and nRF54L15. I want to implement a sleep/wake function using a single button.
Desired behavior:
- Button press while running → nRF54L15 detects it, executes shutdown code, then sends TWI command to nPM1304 to enter ship mode via
TASKENTERSHIPMODE - Button press while in ship mode → nPM1304 wakes via SHPHLD pin, regulators come up, nRF54L15 boots
Proposed wiring:
- Single button connected to both nPM1304 SHPHLD pin and an nRF54L15 GPIO (directly in parallel), active low to GND
Questions:
- Is there any issue with having the button directly connected to both SHPHLD and an nRF54L15 GPIO simultaneously?
- While the system is running (not in ship mode), does the SHPHLD pin state affect normal operation, or is it only monitored during ship/hibernate mode by nPM?
Thanks!