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

Power management shutdown

What exactly does the power management library? Does it handles all the ongoing processes and shut them down?

Because I did a test with for instance a flash write, and I saw that the there was a shutdown before the callback of the flash write was received, in other words it didnt write it to flash. So I was wondering what is it doing then, what does it differ from making a manual reset/shutdown?

Parents
  • Yes, you can use the sd_power_system_off() similarly as long as your application uses a SoftDevice. The NRF_PWR_MGMT_SHUTDOWN_GOTO_SYSOFF doesnt do anything more than putting the device in system OFF mode, but the power management library provides other features like the CPU usage traces, a standby timeout, a "stay in system OFF mode" etc.

    Best regards,

    Simon

Reply
  • Yes, you can use the sd_power_system_off() similarly as long as your application uses a SoftDevice. The NRF_PWR_MGMT_SHUTDOWN_GOTO_SYSOFF doesnt do anything more than putting the device in system OFF mode, but the power management library provides other features like the CPU usage traces, a standby timeout, a "stay in system OFF mode" etc.

    Best regards,

    Simon

Children
No Data
Related