Hi,
This is just a quick check of my understanding of the interrupt priority levels on nRF51. I read up on the documentation I can find.
I'm assuming that I will receive BLE events at interrupt level 2, even though I can't find where that is directly stated?
Is there any reason I cannot also have peripheral interrupts (UART) also run at level 2?
Here the goal. If I can have the UART run at the same interrupt level as BLE events, then no processing will be able interrupt any other processing. This will make my app run very much like a cooperative scheduling app, even though it is all event driven. So I won't have to worry about preemption and reentrancy issues.
Nothing in my app takes very long to execute, so I really don't need to use the scheduler. But I would probably run a timer task at a lower interrupt level (not sharing any resources with tasks running at level 2).
Hope this all makes sense.