Part Number: LAUNCHXL-CC26X2R1
Other Parts Discussed in Thread: LAUNCHXL-CC2640R2, CC2640
Tool/software: Code Composer Studio
Device: LAUNCHXL-CC26X2R1
SDK version: simplelink_cc13x2_26x2_sdk_3_30_00_03
Compiler: CCS 9.2.0
I use the example of project_zero to verify the shutdown mode.
I add this pin table for wakeup button.
/* Wake-up Button pin table */
PIN_Config ButtonTableWakeUp[] = {
CONFIG_PIN_BTN1 | PIN_INPUT_EN | PIN_PULLUP | PINCC26XX_WAKEUP_NEGEDGE,
CONFIG_PIN_BTN2 | PIN_INPUT_EN | PIN_PULLUP | PINCC26XX_WAKEUP_NEGEDGE,
PIN_TERMINATE
};
And I add these code to go to shutdown mode.
/* Configure DIO for wake up from shutdown */ PINCC26XX_setWakeup(ButtonTableWakeUp); /* Go to shutdown */ Power_shutdown(0, 0);
After device enter into shutdown mode, I cannot trigger button to wakeup the device.
Could you please help me how the problem can be solved??
Thanks!