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/CC2640R2F: cant get pin interrupt to work

Part Number: CC2640R2F

Tool/software: TI-RTOS

hello iam using a cc2640r2f launchpad and iam trying to put a pin interrupt on button 1 but when it gets click no interrupt routine is triggered.Here is how iam init the pin and setting the interrupt.Thanks

 static PIN_Handle pinHandle;

       static PIN_State pinState;

       PIN_Config BoardGpioInitTable2[] = {
        PIN_ID(11) | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,
        CC2640R2_LAUNCHXL_PIN_BTN1 | PIN_INPUT_EN | PIN_PULLUP | PIN_IRQ_BOTHEDGES | PIN_HYSTERESIS,
       PIN_TERMINATE
       };

pinHandle = PIN_open(&pinState,BoardGpioInitTable2);

        if(PIN_registerIntCb(pinHandle,&IRQ_INT_CB) != 0)
        {
            PIN_setOutputValue(pinHandle,PIN_ID(11),1);
        }