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

NRF52 softdevice changing application timing

Hi

In my application I have a function that takes about 1 ms, in which timing is critial. (I cannot allow even a few us change of the timing inside this function). When I run my application with the softdevice working, I see that the total running time of the function is changed, which means softdevice interrupted during the function.

Is there any way to ensure that the softdevice will not interrupt during a specific period of time?

Parents Reply
  • During the timeslot, there must be no other softdevice activity at all. All softdevice reserved peripherals become available to the application during that timeslot. So when application uses that slot then softdevice have to re-initialize those peripherals. Also the timeslot callbacks are called with highest possible priority (priority 0) , so the application running inside the callback cannot be anyways interrupted according to ARM NVIC interrupt priority rules.

Children
No Data
Related