Skip to main content
David Lichterov
Associate II
July 19, 2017
Solved

STM32F446RE stand by mode and wake up with RTC alarm

  • July 19, 2017
  • 3 replies
  • 830 views
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.
Best answer by Vangelis Fortounas
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
July 19, 2017
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
July 20, 2017
Posted on July 20, 2017 at 11:26

Thank you !!

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

David Lichterov wrote:

Thank you !!

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