cancel
Showing results for 
Search instead for 
Did you mean: 

stm32u585 sleep

shivss
Associate II

hi,

 am using stm32u585iot dev board i need all power code stop and shutdown and standby code for that board?

7 REPLIES 7
Andrew Neil
Super User

You mean the B-U585I-IOT02A ?

https://www.st.com/en/evaluation-tools/b-u585i-iot02a.html

 

If so, have you looked under 'Tools & Software':

https://www.st.com/en/evaluation-tools/b-u585i-iot02a.html#tools-software 

 

Also look at the STM32CubeU5 pack:

https://www.st.com/en/embedded-software/stm32cubeu5.html

whence AN5701 Introduction to STM32Cube MCU Package examples for STM32U5 MCUs:

https://www.st.com/resource/en/application_note/an5701-introduction-to-stm32cube-mcu-package-examples-for-stm32u5-mcus-stmicroelectronics.pdf

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Imen.D
ST Employee

 

Hello @shivss 

I recommend you this article explains low-power modes, and provides code examples: Getting started with PWR - stm32mcu

Refer also to the PWR examples within B-U585I-IOT02A board:

STM32CubeU5/Projects/B-U585I-IOT02A/Examples/PWR at main · STMicroelectronics/STM32CubeU5 · GitHub

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
shivss
Associate II

Hi @Imen.D @Andrew Neil 

 

yes B-U585I-IOT02A  this board only .

The examples in GitHub is for switch but I need with RTC timer wakeup

Hello @shivss 

Did you check this example below: 

STM32CubeL4/Projects/NUCLEO-L452RE/Examples/RTC/RTC_LowPower_STANDBY at master · STMicroelectronics/STM32CubeL4 · GitHub

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.
Saket_Om
shivss
Associate II

Hi ,

 its an RTC alarm not RTC Timer wakeup ?  like this?

(HAL_RTCEx_SetWakeUpTimer_IT(&hrtc, 0, RTC_WAKEUPCLOCK_RTCCLK_DIV16, 0)

 

Hello @shivss 

Are you using the LSE as RTC clock source ? 

According to the reference manual the RTC remain active only when the RTC clock source is LSE.

Saket_Om_1-1754045697204.png

 

 

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.
Saket_Om

Hi,

 yes am using LSE 

shivss_0-1754296803961.png