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 Reply Children
  • Hello Sigurd

    Thank you for your answer.

    Yes "If the device is in debug interface mode, System OFF will be emulated" and yes I was in Debug mode but with or without the Debug mode the nrf_power_system_off() works and the watchdog does not restart the system. While when I use the sd_power_system_off() the watchdog restarts the system. So I am not sure if the Debug mode is the problem.

    I am assuming that when I use the nrf_power_system_off() the system goes to the "real" system off mode while using the sd_power_system_off() the system goes to the emulated system off mode. And in the emulated system off mode the watchdog restarts the system. Is this correct?

Related