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

maximum blocking time for application

Hi

in the communication with an SPI peripheral device, a communication cycle might take up to 5 ms. It is implemented as a blocking function, meaning that app_sched_execute() might not be called during that time. Interrupts are not blocked.

Is this a problem? What is the maximum period that i can 'hijack' the processor like that? Are there Softdevice functions that will give an exception because of this? Which interrupts will context switch away from my blocking function and come back? And how long would those take?

Best regards

Wim

Related