Hi,
I follow the following post to enable GPIO waking up from LPDS mode based on AWS demo project and test in LaunchPad board.
https://e2e.ti.com/support/wireless-connectivity/wifi/f/968/p/702783/2592071#2592071
By observing an UART output message, I can detect the state of my code. The result is it can get into LPDS mode. However once the SW2 is pressed, the code stop or crash.
while(true)
{
UART_read(xtUartHndl, &cChar, 1);
uartSendCmd('A');
vTaskDelay(pdMS_TO_TICKS( 1000 ));
}
The wakeup callback function. No LED toggle or UART message is observed.
void gpioButtonFxn1(uint_least8_t index)
{
GPIO_toggle(GPIOCC32XX_GPIO_10);
uartSendCmd('A');
while(1);
}
Please help. Thanks.