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

Timeslot API

Hi,

In the API, the user gives the 'distance_us' parameter for the next requested slot. I have noticed that this is quite accurate (to the micro) and wanted to know if the stack keeps the fast clock running during the wait, or if it sets a slow timer and then compensates with the fast clock.

Thanks.

  • Hi Gili,

    There is no fast clock running all the time when the timeslot API is used. The timing is based on the LF clock source specified when the SoftDevice is enabled, and compensated with a fast clock to get to microsecond accuracy. Note the specified jitter NRF_RADIO_START_JITTER_US, though. See the API documentation for this as it may change between versions, as the internal implementation may change.

    Best Regards,

Related