Tool/software: TI-RTOS
Hello
I have a problem resetting my cc2650.
I use a hardware interrupt to perform a reset.
/* Handling of reset gpio */
H_ChoosePin = PIN_open(&ChoosePinState, ChoosePinTable);
/* Register MPU interrupt */
PIN_registerIntCb(H_ChoosePin, vd_app_choose_pin_callback);
PIN_setConfig(H_ChoosePin, PINCC26XX_BM_IRQ, BOARD_QI_STATUS | PINCC26XX_IRQ_BOTHEDGES);
static void vd_app_choose_pin_callback(PIN_Handle handle, PIN_Id pinId)
{
if(pinId == BOARD_QI_STATUS)
{
PIN_setConfig(H_ChoosePin, PINCC26XX_BM_IRQ, BOARD_QI_STATUS | PINCC26XX_IRQ_DIS);
HAL_SYSTEM_RESET();
}
}
the problem is when two interruption fall quickly.
my software remains blocked and the reset is not executed.
I do not understand the phenomenon.
Can you help me please.
Thanks