This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to enable two sub mode in system on using nrf52840(with softdevice)

hi team,

Intial we followed this link for system on -->  https://embeddedcentric.com/lesson-14-nrf5x-power-management-tutorial/

Now we are trying to enable the constant latency and low power in nrf52840 using this api  (nrf_pwr_mgmt_run();)

In this nrf_pwr_mgmt_run(); function 

Instead of ret_code_t ret_code = sd_app_evt_wait();

we tried ret_code_t ret_code = sd_power_mode_set(NRF_POWER_MODE_LOWPWR)

this will act as low power? can any one can please explain about this 

Parents
  • Hi

    It's not necessary to use sd_power_mode_set() to go into low power mode, as this is done by default when the CPI is asleep. I would recommend using the sd_app_evt_wait(); function to go to sleep instead, as it is easier and a smoother way of doing so. This is already discussed in this ticket, so please check it out for more details.

    Best regards,

    Simon

Reply
  • Hi

    It's not necessary to use sd_power_mode_set() to go into low power mode, as this is done by default when the CPI is asleep. I would recommend using the sd_app_evt_wait(); function to go to sleep instead, as it is easier and a smoother way of doing so. This is already discussed in this ticket, so please check it out for more details.

    Best regards,

    Simon

Children
Related