2025-04-29 4:14 AM
Hi
I am utilizing an STM32U5G7 microcontroller to operate a BLDC motor with a system clock frequency of 80 MHz. I require assistance in configuring the device to enter and exit Stop2 mode to achieve the lowest power using the RTC wakeup functionality while retaining the contents of RAM. Could you provide guidance on achieving this?
2025-04-30 4:05 AM
Hi @_Danny_ ,
You can follow this article: "How to configure the RTC to wake up the STM32 periodically from Low Power modes". In this article, you will see how to configure the RTC peripheral of the STM32 to wake up the STM32 periodically from a low power mode like STOP2 mode.
Additionally, you can take a look at this example: "PWR_LPMODE_RTC Example Description" which discusses how to enter the system into different available low power modes and wake up from these modes using an interrupt from the RTC wakeup timer.
I hope that I have helped you.
Thank you.
ELABI.1
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-04-30 7:15 AM
Hi @ELABI.1
Thank you for the detailed article. I’m currently working on implementing SRAM retention in STOP2 mode on an STM32U5G7 device and would appreciate your guidance on the correct configuration or best practices to ensure data retention in low-power mode.
2025-04-30 9:08 AM
Hello @_Danny_,
Thank you for updating post.
If your initial request is answered, please click on Accept as Solution on the reply which answered your question.
For the section question about the data retention in low-power mode, I recommend you start a new post.
Thank you.
ELABI.1
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.