Hi all,
According to the spec, it should work on GPIO to wake the unit from Low Power Idle & Suspend mode.
I had modified the wakeup pin to GPIO_B0_00 (GPIO2, 00) in the board.h , but when I executed the example to wake the unit from Suspen mode, it will stop at the below code.
Is there any source code / information that could share to me to use other GPIO to wake the unit?
=====================================================
static void APP_SetWakeupConfig(lpm_power_mode_t targetMode)
{
....
GPIO_ClearPinsInterruptFlags(APP_WAKEUP_BUTTON_GPIO, 1U << APP_WAKEUP_BUTTON_GPIO_PIN);
....
}
Thanks.
Hello, my name is Pavel, and I will be supporting your case, I review your information but tell me if you initialize the port clock and the pin.
Best regards,
Pavel