This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2540: Interrupt priority causing CC2540 crash

Part Number: CC2540


Hello -

I'm experimenting with elevating the priority of group 2: UART0 and T2 above everything because I need a very fast response to a received message in the UART by DMA. I am also using the BLE radio.

My question is this: When I set group 2 to the highest priority and the RF/DMA to one lower, the CC2540 locks up as soon as I start up BLE (stops responding to the UART ISR and if I paused the debugger it is all 0xFF in the registers). I am guessing this is because Timer 2 (MAC timer) and the RF radio are used in some way that the RF radio has to be higher, but I'd like to get a more official answer instead of my guess if possible.

I am changing the priority by:

IP0 = 0x05; // UART0 now has priority over RF/DMA
IP1 = 0x14;

Thanks in advance!