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

use of timeslot API along with RTC for sleep mode with RTC wakeup

hey

I am using the timeslot API to be able to access the CCM peripheral while using the soft device.

For my application the nrf52dk needs to go into sleep mode and wake up every 5mn to send over BLE.

My question is, is it okay to use these 2 options (timeslot api and RTC to trigger wakeup ) or will one cause perturbation to the other.

I am using s130 and sdk 14.2.0

thnx

Parents Reply
  • You could use an app_timer(RTC) to wake up every 5ms, request an earliest possible timeslot, wait for the request, send the data, end the timeslot, and go back to sleep. Another option is to use normal request timeslot,  in this case, the application specifies in the request when the timeslot should start and the time is measured from the start of the previous timeslot. This might be better for periodic activities.

Children
No Data
Related