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

Watch dog + sd_power_system_off Is it possible?

Hello !

is possible turn off my system using sd_power_system_off  when the Watch dog is enabled?

After I called sd_power_system_off  my device is restarting and initialize everything again

details:

SDK13, nRF52

Parents
  • I was seeing this too:

    • After calling sd_power_system_off(), the watchdog was restarting the system (shouldn't happen since all clocks should've been stopped).
    • Using nrf_power_system_off() worked beautifully.

    The issue was that I was calling __disable_irq() before entering my shutdown routine, and because the softdevice relies on interrupts, the call wasn't actually shutting down the system, which is why nrf_power_system_off() worked.

Reply
  • I was seeing this too:

    • After calling sd_power_system_off(), the watchdog was restarting the system (shouldn't happen since all clocks should've been stopped).
    • Using nrf_power_system_off() worked beautifully.

    The issue was that I was calling __disable_irq() before entering my shutdown routine, and because the softdevice relies on interrupts, the call wasn't actually shutting down the system, which is why nrf_power_system_off() worked.

Children
No Data
Related