Skip to main content
David Lichterov
Associate II
Jul 19, 2017 1:38 PM UTC
Solved

STM32F446RE stand by mode and wake up with RTC alarm

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
This topic has been closed for replies.
Vangelis Fortounas
Associate II
Jul 19, 2017 6:00 PM UTC
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)

3 replies

Vangelis Fortounas
Associate II
Jul 19, 2017 6:00 PM UTC
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)

David Lichterov
Associate II
Jul 20, 2017 11:26 AM UTC
Posted on July 20, 2017 at 11:26

Thank you !!

Nesrine M_O
Associate
Jul 20, 2017 11:32 AM UTC
Posted on July 20, 2017 at 11:32

David Lichterov wrote:

Thank you !!

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