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.

CC2640R2L: CC2640R2L

Part Number: CC2640R2L

Hi

I am trying to get an interrupt on change of GPIO. I have the following code:

#define CC2640R2_SOPHI_PIN_PW_ENABLE_DETECT IOID_11

  GPIO_init();
  GPIO_setConfig(CC2640R2_SOPHI_PIN_PW_ENABLE_DETECT, GPIO_CFG_IN_NOPULL | GPIO_CFG_IN_INT_BOTH_EDGES);
  GPIO_setCallback(CC2640R2_SOPHI_PIN_PW_ENABLE_DETECT, SOPHIPOWER_pwCallbackFxn);




In debugger I see that a value of “CC2640R2_SOPHI_PIN_PW_ENABLE_DETECT” is being changed
However I am not getting an interrupt on IO change and never reach pwCallbackFxn (callback). 
The board is a custom board, however BLE is operating as expected and I am getting interrupts (since BLE is operating)

What shall I check?

Moshe