2025-07-29 8:37 AM - last edited on 2025-07-29 8:49 AM by Andrew Neil
hi,
am using stm32u585iot dev board i need all power code stop and shutdown and standby code for that board?
2025-07-29 8:48 AM
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:
2025-07-29 9:29 AM
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
2025-07-30 8:01 AM
yes B-U585I-IOT02A this board only .
The examples in GitHub is for switch but I need with RTC timer wakeup
2025-07-31 1:58 AM
Hello @shivss
Did you check this example below:
2025-07-31 9:36 AM
Hi ,
its an RTC alarm not RTC Timer wakeup ? like this?
(HAL_RTCEx_SetWakeUpTimer_IT(&hrtc, 0, RTC_WAKEUPCLOCK_RTCCLK_DIV16, 0)
2025-08-01 3:55 AM
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.
2025-08-04 1:40 AM
Hi,
yes am using LSE