STM32H5 Power Controller

Hello, and welcome to this presentation of the STM32H5 power controller. The STM32H5's power management functions and all power modes will also be covered in this presentation.

Power Supplies and Domains

The STM32H5 devices feature multiple independent power supplies, allowing for flexible voltage configuration. These include:

The STM32H503 primarily uses integrated regulators, while STM32H56X and STM32H57X offer either an embedded LDO or an SMPS step-down converter for VCORE supply.

Power suppliesSTM32H503STM32H562/573/563
VDD = 1.71 V to 3.6 VVDD is provided externally through the VDD pinsVDD is provided externally through the VDD pins
VDDA = 1.62 V (ADCs, COMP) to 3.6 V
1.8 V (DAC) to 3.6 V
2.0V (OPAMP) to 3.6 V
2.1V (VREFBUF) to 3.6 V
VDDA is independent from the VDD voltage and must be connected to VDD when these peripherals are not usedVDDA is independent from the VDD voltage and must be connected to VDD when these peripherals are not used
VDDIO2 = 1.08 V to 3.6 VVDDIO2 is the external power supply for: 9 I/Os (PA8, PA9, PA15, PB3:8)VDDIO2 is the external power supply for: 10 I/Os (PD6, PD7, PG9:14, PB8, PB9)
The VDDIO2 voltage level is independent from the VDD voltage and must preferably be connected to VDD when those pins are not used
VDDUSB = 3.0 V to 3.6 VNAVDDUSB is the external independent power supply for USB transceivers.
VBAT = 1.2 V to 3.6 VVBAT is the power supply when VDD is not present through power switch for RTC (real-time clock), external clock 32 kHz oscillator, backup registers and optionally backup SRAM

Embedded Voltage Regulator

The Low Dropout (LDO) linear voltage regulator is enabled on power-on reset. To supply the VCORE from an external source, the regulator can be disabled by setting the BYPASS bit in the PWR_SCCR register. In bypass mode, internal voltage scaling is not managed, and the external voltage must be consistent with the target frequency. Some STM32H5 MCUs embed two internal regulators (LDO and SMPS) for VCORE supply, exclusively enabled by hardware based on package configuration.

Power Supply Supervision

The following units monitor the power supplies:

Dynamic Voltage Scaling (DVFS)

The STM32H5 MCUs support Dynamic Voltage and Frequency Scaling (DVFS) to optimize power consumption in Run mode. This technique exploits the relationship between power consumption, operational frequency, and operational voltage.

The voltage from the main regulator supplying VCORE can be adjusted according to the system's maximum operating frequency. Both regulators (LDO or SMPS) can provide different voltage levels for scaling.

Voltage scaling RangeVcoreMax frequency
VOS01.35 V250 MHz
VOS11.2 V200 MHz
VOS21.1 V150 MHz
VOS31.0V100 MHz

The main regulator operates in these ranges, allowing optimization of power consumption when the system operates below its maximum frequency.

Low-Power Modes

Several low-power modes are available to save power when the CPU is not actively needed, such as when waiting for an external event.

Power modeDescription
RUNProvides full power to VCORE domain. Regulator output voltage can be software-scaled. VOS scaling optimizes power consumption when clocked below maximum frequency.
SLEEPCPU clock off, peripherals (including Cortex-M33 core, NVIC, SysTick) can run and wake up CPU on interrupt/event. I/O pins retain state. Software controls peripheral clock gating.
STOPRetains SRAM and registers. Core domain clocks stopped. LSE/LSI and RTC can remain active. Unused RAMs can be shut off. Wakeup via EXTI or peripheral events.
STANDBYRegulator OFF, VCORE domains powered down. Lowest power consumption. SRAM/register contents lost (except Backup domain/Standby circuitry). RTC can remain active. BOR always active.
VBATOnly VBAT domain powered. RTC, backup registers, anti-tamper circuits active.

I/O State Retention During Standby Mode

In Standby mode, I/Os are by default in a floating state. The IORETEN bit in the PWR_IORETR register controls I/O retention. When enabled, the I/O output state is sampled and retained using pull-up or pull-down resistors.

PWR_IORETR[IORETEN]Description
0IO Retention mode is disabled.
1IO Retention mode is enabled for all I/Os except those supporting standby functionality and debug probe related I/Os (PA13, PA14, PA15, PB4). When entering standby mode, the output is sampled and applied to the output I/O during standby power mode.

The state of I/Os is applied to the pin via pull-up and pull-down resistors, which remain applied after Standby wakeup until the IORETEN bit is cleared by software.

Timing Diagrams:

Low-Power Mode Monitoring Pins

CSLEEP and CSTOP signals are available as device pin alternate functions to help debug and track transitions between RUN, SLEEP, and STOP modes.

CSLEEPCSTOPMCU power modes
00Run mode
10Sleep mode
11Stop mode

Note: CSLEEP and CSTOP are generated in the VCORE domain and are not driven in Standby mode.

VBAT Mode

The backup power domain includes the RTC (clocked by 32.768 kHz LSE oscillator), tamper pins, backup registers, the RCC_BDCR register, and backup SRAM. An automatic internal switch manages the power source between VBAT and VDD. The switch is controlled by the power-down reset embedded in the Reset block. The RTC is functional in VBAT mode when clocked by the LSE. VBAT charging is possible through an internal resistance when VDD is present, but this is automatically disabled in VBAT mode.

PWR Interrupts

The PWR module generates interrupt requests for events detected by the Programmable Voltage Detector (PVD) or the Analog Voltage Detector (AVD). These interrupts are connected to the EXTI module and can report power drops in VDD or VDDA, also causing automatic exit from SLEEP and STOP modes.

Interrupt vectorInterrupt eventEvent flagEnable control bitInterrupt clear methodExit Sleep, Stop modesExit and Standby modes
PVD/AVD outputProgrammable voltage detector through EXTI line 16PVDO/AVDOEXTI line 16 enabledWrite EXTI PIF16 = 1YesNo

Option Bytes

Two bits in the flash option bytes can be configured to prohibit specific low-power modes. When cleared, these bits trigger a reset upon entering Standby (nRST_STDBY) or Stop (nRST_STOP) modes. This serves as a security feature to prevent unintentional entry into these modes.

PWR TrustZone Security

TrustZone security, activated by the TZEN option byte, allows securing various PWR features through the PWR_SECCFGR register. These include low-power modes, wake-up pins, voltage detection and monitoring, VBAT mode, and I/O retention configuration. Other PWR configurations, such as system clock selection and voltage scaling (VOS), can also be secured. When TrustZone security is disabled, registers are generally non-secure.

PDF preview unavailable. Download the PDF instead.

en.stm32h5-system-power-control-pwr Acrobat Distiller 23.0 (Windows)

Related Documents

Preview Getting Started with the AEK-POW-LDOV02X Dual Linear Voltage Regulator Evaluation Board
This user manual provides a comprehensive guide to the AEK-POW-LDOV02X evaluation board, featuring the automotive-grade L99VR02XP dual linear voltage regulator. Learn about its configurable output voltages, diagnostic features, safety mechanisms, and how to set it up for auto or manual mode operation.
Preview STM32G4 GPIO: General-Purpose Input/Output Interface - Technical Overview
Comprehensive guide to the STM32G4 microcontroller's General-Purpose Input/Output (GPIO) interface, covering configurations, operating modes, alternate functions, and special considerations for embedded systems.
Preview AEK-POW-LDOV02X Schematic Diagrams and Technical Details
Detailed schematic diagrams and technical specifications for the AEK-POW-LDOV02X, outlining circuit configurations, component selections, and operational parameters for STMicroelectronics' LDO voltage regulators.
Preview STM32 Low-Power Timer (LPTIM) Application Note: Use Cases and Features
This application note from STMicroelectronics details the features, clock sources, power modes, and practical use cases of the Low-Power Timer (LPTIM) integrated into STM32 microcontrollers. It covers asynchronous pulse counting, PWM generation, and timeout wakeup functionalities, emphasizing low-power operation.
Preview L9911: Multifunction Smart Voltage Regulator for Automotive Alternators Datasheet
This datasheet provides comprehensive technical information for the STMicroelectronics L9911, a smart voltage regulator designed for automotive alternator systems. It details the device's features, electrical characteristics, application diagrams, and package specifications.
Preview STM32U585xx Ultra-Low-Power Arm Cortex-M33 Microcontroller Datasheet
Datasheet for STMicroelectronics STM32U585xx ultra-low-power Arm Cortex-M33 microcontroller. Features include high performance (160 MHz, 240 DMIPS), TrustZone security, 2MB Flash, 786KB SRAM, and extensive peripherals for embedded applications.
Preview STMicroelectronics Power Management Guide 2016
STMicroelectronics' 2016 Power Management Guide details advanced semiconductor solutions for energy-saving, high-power-density designs across diverse applications including power supplies, battery chargers, adapters, LED lighting, and industrial automation.
Preview Introduction to System Memory Boot Mode on STM32 MCUs
This application note from STMicroelectronics provides a comprehensive guide to the system memory boot mode on STM32 microcontrollers. It details supported peripherals, hardware requirements, and the bootloader's role in downloading application programs via various serial interfaces. The document covers different STM32 series and their specific bootloader configurations, selections, and versions.