Skip to main content
Associate III
April 29, 2025
Question

STOP2 Mode in stm32u5g7

  • April 29, 2025
  • 1 reply
  • 439 views

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?

1 reply

ELABI.1
Technical Moderator
April 30, 2025

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.
_Danny_Author
Associate III
April 30, 2025

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.

 

ELABI.1
Technical Moderator
April 30, 2025

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.