cancel
Showing results for 
Search instead for 
Did you mean: 

Wakeup from standby with Wakeup Pin

jeucojeuco
Associate II
Posted on June 25, 2014 at 13:00

I want know if is possible to wakeup the MCU(STM32F4) fromstandby power mode with only the Wakeup pin, without setting the RTC allarm.

i have try this but the MCU don't wakeup.

HAL_EnableDBGStandbyMode();
HAL_PWR_DisableWakeUpPin( PWR_WAKEUP_PIN1 );
__HAL_PWR_CLEAR_FLAG(PWR_FLAG_WU); 
/* Enable WKUP pin */
HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN1);
/* Request to enter STANDBY mode (Wake Up flag is cleared in HAL_PWR_EnterSTANDBYMode function) */
HAL_PWR_EnterSTANDBYMode();

if i use the ST example code with wakeup from Pin or RTC allarm the mcu wakeup correctly, so i don't think there are hardware problem. #standby-wakeup-pin
11 REPLIES 11
Piranha
Chief II

https://community.st.com/s/question/0D53W00001bnh8dSAA/how-to-enter-standby-or-shutdown-mode-on-stm32

The particular issue of the original topic is most likely the issue 1 in my article.

@MHein​ , @Albert Aviles​ , @AStal.1​ 

5z5
Associate

The problem has been solved,if you solved, can you share the answer with me, thank you!