cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F446RE stand by mode and wake up with RTC alarm

David Lichterov
Associate II
Posted on July 19, 2017 at 15:38

Hello All,

I am trying to put my MCU into stand by mode and then wake him up with RTC alarm. I am pretty sure that this part is working for me. My problem is that when the MCU wakes up it doesn't continue to execute the code from the line bellow  HAL_PWR_EnterSTANDBYMode() , it seems like it's starting to execute the code from the start of the main function and then it doesn't execute all the code, it's just executes few lines and seems like it's getting stuck in a loop.

Any ideas on what am i doing wrong ?

Thanks !!

#stm32f4-rtc #stm32f4 #stm32f4-wakeup
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on July 19, 2017 at 20:00

Hello David!!

This is not a problem!!

The only way to exit from STBY mode is to perform a reset. (by wkup pins, RTC, RST pin. .etc).

Just Read the Refernce manual  .. Low Power Modes   (Entering  and Exiting)

View solution in original post

3 REPLIES 3
Posted on July 19, 2017 at 20:00

Hello David!!

This is not a problem!!

The only way to exit from STBY mode is to perform a reset. (by wkup pins, RTC, RST pin. .etc).

Just Read the Refernce manual  .. Low Power Modes   (Entering  and Exiting)

Posted on July 20, 2017 at 11:26

Thank you !!

Posted on July 20, 2017 at 11:32

David Lichterov wrote:

Thank you !!

https://community.st.com/0D50X00009bMM5DSAW