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.

RTOS/CC2650: button interrupt processing delay, interrupt priorities, interrupt clearing

Part Number: CC2650


Tool/software: TI-RTOS

Hello,

I am working on a custom board with CC2650, I have copied the button processing example from the heart_rate project. The button processing generally responds, but with a considerable delay,  and also it often misses presses. I tried to adjust the KEY_DEBOUNCE_TIMEOUT with no success. I wonder could it be an interrupt priority problem? If so, how to set a higher priority - I didn't find any example to setting priority of a GPIO pin interrupt. What other reasons for delayed processing could exist?

Also, it is a bit unclear whether the interrupt flags are automatically cleared after interrupt has been processed, or when to use PINCC26XX_clrPendInterrupt ?

Thanks