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

FreeRTOS + sd_app_evt_wait (Sleep as much as possible)

I would like to make the nRF sleep as much as possible.
In the FreeRTOS application idle hook I first process any scheduled events ( app_sched_execute() ), i can confirm this works as the scheduled events are processed.
After this I call sd_app_evt_wait(), to make the nRF sleep, yet there is no change in power consumption.

So I am wondering:

  • is the FreeRTOS idle hook the right place to call sd_app_evt_wait() ?
  • would sd_app_evt_wait() make the nRF sleep even when FreeRTOS is used?

Could someone explain how to make the nRF sleep as much as possible when using FreeRTOS?

Thanks a lot!

Parents Reply Children
No Data
Related