Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

using app scheduler does not prevent BLE stack starvation

Hello,

In our application we heavily use the application scheduler. This was done for 2 main reasons:

  1. serialize access to system resources
  2. enable the soft device to handle higher priority tasks

It appears that it isn't sufficient to use the application schedule to accomplish the second objective. You also need to inject timer delays between the scheduled events, otherwise BLE communication will be starved. 

Is this how the application scheduler should work? I was under the impression that application scheduled events where the last thing to be serviced. 

We are using SDK14 with the nRF52832 processor.

Thanks

Related