This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RE ARM:How to set interrupt priorities in CMSIS-RTOS RTX

RE: http://www.keil.com/forum/59600/

The SysTick and PendSV need to be the same priority, at least as far as not being able to preempt each other.

The SVC needs to be able to preempt the Systick and PendSV.

The SysTick and PendSV are both set to 0xFF, the lowest interrupt priority on the system. The SVC needs to be part of the next "higher" preempt priority group because it needs to be able to preempt the SysTick and PendSV.

When choosing a prioroty group setting, you need to allow at least 1 level of preemption so that the SVC can preempt the SysTick and PendSV.