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.

TIDC-CC2540-BLE-USB: HalKeyConfig function

Part Number: TIDC-CC2540-BLE-USB


After trying to implement interruption on falling edge on the HAL_KEY_SW_1 of  usb dongle I have to press 2x the button to get the interruption call.

After trying to resolve the issue I have found the interuption of PICTL in function HalKeyConfig() in  hal_key.c for USB2540USB is set with

PICTL |= 0x01;

shouldn't be there

PICTL |= 0x02;

the hal_key.c is from ble stack 1.4.2.2