I am working with the nRF9151 (SMA) and attempting to place the system into the lowest power state using sys_poweroff().
After entering this state, I observe undefined debugger behavior:
- The SEGGER J-Link debugger eventually times out and loses connection
- The timeout is inconsistent: sometimes ~5 minutes, sometimes ~30 minutes
- There is no clear pattern for when the debugger disconnect occurs
Expected behavior:
I expect either:
- A consistent debugger disconnect immediately after entering
sys_poweroff
Observed behavior:
- Debug session remains active for a variable period before timing out
- After timeout, re-connection requires manual intervention (reset/reflash)
I do have some questions.
- Is this expected behavior when entering
sys_poweroffon nRF9151? - Are there recommended steps to ensure deterministic debugger disconnect behavior?
- Could LTE modem activity affect timing before full poweroff?