STM32F429 standby mode can only enter once, can not enter anymore
Dear ALL
I got an problem when i use STM32F429 standby mode.
In the first time enter the standby mode it woks fine. I use PA0-WAUP pin to exit the standby mode. But, i make another try to enter the standby mode, it immediate reset。It is seems it entered the mode ok, and immediate exit from the mode. I have no ideal about it.
Here is my code to enter the standby mode
if(uxBits & BIT_0)
{
UART_PutStr(UART_1,"接收到BIT0被设置的消�?�\r\n");
HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN1);
HAL_PWR_EnterSTANDBYMode();
}
BYW, i use FreeRtos, and i put the code in a Take with and EverntBit been set