This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf_pwr_mgmt_shutdown() fails while debugging.

Hi

Im using nRF52832-QAAB0. SDK 15.3. Softdevice is running. 

With debugger connected, calling nrf_pwr_mgmt_shutdown(NRF_PWR_MGMT_SHUTDOWN_STAY_IN_SYSOFF) will assert in shutdown_process() when sd_power_system_off() returns. 
According to https://devzone.nordicsemi.com/f/nordic-q-a/15677/why-does-nrf52-hrs-sdk11-example-sd_power_off-return-6 nordic employee recommends adding while(1); after calling sd_power_system_off()

Is there any reason nrf_pwr_mgmt_shutdown() does not handle debugging?
Parents Reply Children
Related