20. Power control (PWR)
The power control (PWR) provides an overview of the supply architecture of the different power domains, and the control of the supply configuration.
It provides an overview of the power supply supervisor features and provides the control of the \(V_{DDCPU}\) and \(V_{DDCORE}\) supply domains according to the operating modes. In the whole document:
- • The Cortex-A35 is also called CPU1 or MPU.
- • The Cortex-M33 is also called CPU2 or MCU.
- • The Cortex- M0+ is also called CPU3.
20.1 PWR main features
- • System supply external regulation control
- – \(V_{DDCORE}\) supply request PWR_ON
- – \(V_{DDCPU}\) supply request PWR_CPU_ON
- – \(V_{DDCORE}/V_{DDCPU}\) low-power mode control PWR_LP
- • Supply regulation
- – 0.8 V backup regulator (external to PWR)
- • Power supply supervision
- – POR/PDR monitor
- – BOR monitor
- – PVD monitor
- – PVM monitor (\(V_{DDIO1}\), \(V_{DDIO2}\), \(V_{DDIO3}\), \(V_{DDIO4}\), \(V_{DD33USB}\), \(V_{DD33UCPD}\), \(V_{DDA18ADC}\))
- – \(V_{08CAP}\) thresholds
- – Temperature thresholds
- – \(V_{DDCORE}\) monitor
- – \(V_{DDCPU}\) monitor
- – \(V_{DDGPU}\) monitor
- • Power management
- – Operating modes
- – Low-power modes
20.2 PWR block diagram
The figure below gives a PWR simplified view and the key signals exchanged with the other blocks.
Figure 54. Power control block diagram

The diagram illustrates the Power control (PWR) block and its interactions with other system components. The PWR block contains several sub-blocks: Register interface, POR/PDR, Backup domain, PWR control, Wakeup, and PVD and PVM. It also includes monitoring blocks for V08CAP thresholds, Temp thresholds, VDDCORE monitor, and VDDCPU monitor. The PWR block is connected to AHB, PDR_ON, NRST, VDD, VBAT, PWR_ON, PWR_LP, PWR_CPU_ON, VDDCPU, VDDCORE, VDDGPU, VSS, VDDA18AON, VSSA18AON, WKUP[6:1], VDDA18ADC, VSSA, VDDIO1, VDDIO2, VDDIO3, VDDIO4, VDD33USB, and VDD33UCPD. The PWR block interacts with the RCC block, which provides signals like nrst_por, ready_run, por_vsw, nrst_bor, ck_sys, ck_mcuss, pwrwake_c1, pwrwake_c2, pwrwake_c3, pwrwake_sys, c1_hw_ben, and c2_hw_ben. The PWR block also interacts with CPU1 (GIC) and CPU2 (NVIC), which provide sys wakeup, c1 wakeup, c2 wakeup, c3 wakeup, c1 stby wakeup, and c2 stby wakeup signals. The PWR block also interacts with EXTI1/2, which provides wakeup events. The PWR block also interacts with the Wakeup block, which provides cpu1_int_wkup, cpu2_int_wkup, and async_wkup[6:1] signals. The PWR block also interacts with the PVD and PVM block, which provides pvdo, gpvmo, and gpuvmo signals.
MSv67426V3
20.2.1 PWR pin overview
The table below lists the PWR signals connected to pads or balls.
Table 87. PWR pin overview
| Pin name | I/O | Description |
|---|---|---|
| VDD | P | Main I/O and \(V_{DD}\) domain supply input |
| VDDA18AON | P | Main analog supply input |
| VBAT | P | Backup battery supply input |
| VDDCPU | P | CPU (Cortex-A35) domain supply |
| VDDCORE | P | Core domain supply |
| VDDGPU | P | GPU domain supply |
| VDDA18ADC | P | ADC analog supply |
| VDDIO1 | P | Independent I/O supply 1 (PE[5:0]) |
| VDDIO2 | P | Independent I/O supply 2 (PE[15:6]) |
| VDDIO3 | P | Independent I/O supply 3 (PD[11:0]) |
| VDDIO4 | P | Independent I/O supply 4 (PB[11:0]) |
| VDD33USB | P | USB HS PHY IO 3.3 V supply input |
| VDD33UCPD | P | USB Type C (CC1 and CC2 pins) 3.3 V supply input |
| VSS | P | Main ground |
| VSSA | P | Analog ground |
| PWR_ON | Output | Core supply enable output |
| PWR_LP | Output | Core/CPU supply low-power Stop mode selection output |
| PWR_CPU_ON | Output | CPU supply enable output |
| NRST | Input/output | Application pad reset input/output. |
| PDR_ON | Input | Used during ST production tests, must always be connected to \(V_{DDA18AON}\) in final application. |
20.3 PWR power supplies
The system requires supply on VDD, VDDA18AON, VDDCPU, VDDCORE and provides independent supplies for VDDGPU, VDDA18ADC, VBAT, VDD33USB, VDD33UCPD, VDDIO1, VDDIO2, VDDIO3, VDDIO4, and VDDQDDR:
- • \(V_{DD}\) power supply for I/Os
- • \(V_{DDA18AON}\) power supply for system analog such as reset, power management, oscillators and OTP
- • \(V_{BAT}\) optional power supply for backup domain and optionally D3 domain when \(V_{DD}\) is not present (\(V_{BAT}\) mode)
- • \(V_{DDCORE}\) digital core domain supply, dependent on \(V_{DD}\) supply. \(V_{DD}\) must be present before \(V_{DDCORE}\).
- • \(V_{DDCPU}\) digital CPU domain supply (Cortex-A35), dependent on \(V_{DD}\) supply. \(V_{DD}\) must be present before \(V_{DDCPU}\).
- • \(V_{DDGPU}\) digital GPU domain supply, dependent on \(V_{DD}\) supply. \(V_{DD}\) must be present before \(V_{DDGPU}\).
- • \(V_{DDA18ADC}\) analog power supply input for ADCs and voltage reference buffers, independent from any other supply.
- • \(V_{REF+}\) external reference voltage for ADCs, independent from any other supply.
- – supply output when the voltage reference buffer is enabled
- – independent external reference supply input when the voltage reference buffer is disabled
- • \(V_{SSA}\) separate analog and reference voltage ground
- • \(V_{DD33USB}\) supply for USB2 HS PHY, independent from any other supply
- • \(V_{DD33UCPD}\) supply for USB Type C CC1 and CC2 pins, independent from any other supply
- • \(V_{DDIO1}\) supply for six I/Os (port E[5:0]), independent from any other supply
- • \(V_{DDIO2}\) supply for 10 I/Os (port E[15:6]), independent from any other supply
- • \(V_{DDIO3}\) supply for 12 I/Os (port D[11:0]), independent from any other supply
- • \(V_{DDIO4}\) supply for 12 I/Os (port B[11:0]), independent from any other supply
- • \(V_{SS33USB}\) separate USB2 HS PHY ground
- • \(V_{SS}\) common ground for all supplies except for analog
Note: Depending on the operating power supply range, some peripheral can be used with limited functionality and performance. For more details, refer to section “General operating conditions” in the device datasheet.
An external DDR memory must be supplied from an external regulator which is NOT controlled by the PWR. When the system enters low-power modes it is up to the firmware to control the DDR memory supply directly through the external regulator. When the system enters Standby mode, the PWR_ON pin can be used by the external DDR memory regulator to power down the DDR memory supply.
The figure below gives an overview of the power supply.
Figure 55. Power supply overview

The diagram illustrates the power supply architecture of the RM0457 microcontroller, organized into several functional domains and power rails.
- IOports: A group of pins at the top, including VDDIO1, VDDIO2, VDDIO3, VDDIO4, VDDQDDR, VDD18DDR, VDD33USB, VDDA18USB, VDDPCIECLK, VDDCOMBOPHY, VDDCOMBOPHYTX, VDDA18COMBOPHY, VDD33UCPD, VDDLVD, VDDA18LVD, VDDDSI, VDDA18DSI, VDDCSI, and VDDA18CSI. These are connected to various I/O and peripheral blocks.
- D2 domain: Contains I/O logic, (CPU2, peripherals, RAM) (EXTI1, system logic), and a GPU/NPU block. It is powered by VDDCPU, VDDGPU, and VDDCORE.
- D1 domain: Contains CPU1. It is powered by VDDCPU and VDDGPU.
- GPU domain: Contains the GPU/NPU block. It is powered by VDDCPU and VDDGPU.
- VDD/retention domain: Contains I/O logic, WKUP, IWDG1/2/3/4, BSEC, RIFSC, IAC, and a Backup regulator. It is powered by VDDA18AON and VDDA18PLLx.
- Vsw/backup domain: Contains RETRAM, LPSRAM1, and Backup RAM. It is powered by VDD and VBAT through a Power switch.
- D3 domain: Contains I/O logic (LSE, LSI, RTC, AWU, IWDG5, tamper, backup registers, reset), CPU3, MSI, EXTI2, peripherals, and RAMs. It is powered by VDDA18ADC.
- Analog domain: Contains VREFBUF and ADCs (VREF+, VREF-). It is powered by VDDA18ADC.
Other power rails shown include VSS, VDD, VBAT, VDDA18AON, VDDA18PLLx, V08CAP, VDD, VBAT, VDDA18ADC, VREF+, VREF-, and VSSA.
MSv67428V2
20.3.1 PWR CPU, CORE, and GPU-NPU domains
The \(V_{DDCPU}\) CPU domain supply is provided from an external regulator. The \(V_{DDCPU}\) supplies the Cortex-A35 platform (CPU1). This domain is called D1 domain.
The \(V_{DDCORE}\) core domain supply is provided from an external regulator. The \(V_{DDCORE}\) supplies all the digital circuitries (including the Cortex-M33) except for the backup, retention and D3 domains when in Standby. This domain is called system D2 domain.
The \(V_{DDGPU}\) GPU domain supply is provided from an external regulator. The \(V_{DDGPU}\) supplies the graphic and neural processing units (GPU and NPU).
Following a VDD power-on reset, the external regulators are enabled via PWR_ON or PWR_CPU_ON, and supply \(V_{DDCORE}\) and \(V_{DDCPU}\).
The \(V_{DDGPU}\) can be switched on/off in Run mode under software control.
The \(V_{DDCPU}\), \(V_{DDCORE}\) and \(V_{DDGPU}\) supplies require special explanation. To save power, these power voltages are changed during the run time of the use cases. The target voltage levels of the \(V_{DDCPU}\) and \(V_{DDGPU}\) can vary for different modes according to the use cases. The modes are the nominal and the overdrive modes. The voltage levels of these supplies can be reduced in low-power modes (low voltage mode) or switched off.
Table 88. \(V_{DDCPU}/V_{DDGPU}/V_{DDCORE}\) voltage levels (for reference only)
| Power rail | Typ value (V) | Description |
|---|---|---|
| \(V_{DDCPU}\) | 0.9 | Overdrive mode |
| 0.8 | Nominal mode | |
| 0.67 | Low-voltage mode | |
| \(V_{DDGPU}\) | 0.9 | Overdrive mode |
| 0.8 | Nominal mode | |
| 0.67 | Low-voltage mode | |
| \(V_{DDCORE}\) | 0.8 | Nominal mode |
| 0.67 | Low-voltage mode |
The external regulators can operate in different modes (main, low-power, off) which are used depending on the system operating modes (Run, Stop, LP-Stop, and Standby):
- • In Run1/2 modes
- – The regulator supplies full power to the \(V_{DDCORE}\) domain. In its main mode, PWR_ON and PWR_LP are set high. In this mode, the PMIC allows the device to change voltage of power rails through the I2C interface.
- – The external regulator supplying the \(V_{DDCPU}\) can be independently controlled using the PWR_CPU_ON pin. When set high, the regulator supplies full power to the \(V_{DDCPU}\) domain. When set low, the external regulator supplying \(V_{DDCPU}\) domain is switched off (Run2).
- • In Stop1/2 modes
- – The regulators supply the \(V_{DDCORE}\) and \(V_{DDCPU}\) domains to retain the content of registers and internal memories. The external regulators are kept in main mode to allow a fast exit. The low-power mode signaling is disabled with LPDS_D1
in PWR_CPU1CR and with LPDS_D2 in PWR_CPU2CR. PWR_ON, PWR_CPU_ON, and PWR_LP are kept set high.
- – The external regulator supplying the \(V_{DDCPU}\) can be also switched off when the Standby mode is enabled by PDDS_D1 in PWR_CPU1CR (Stop2).
- • In LP-Stop1/2 modes
- – The regulators supply the \(V_{DDCORE}\) and \(V_{DDCPU}\) domains to retain the content of registers and internal memories. The external regulators are allowed to enter low-power mode. The low-power mode signaling on PWR_LP is enabled with LPDS_D1 in PWR_CPU1CR, and with LPDS_D2 in PWR_CPU2CR. The PWR_CPU_ON is kept set high. PWR_ON is also kept set high, or follows PWR_LP as selected by LPCFG_D2 in PWR_D2CR. PWR_LP is cleared to low. When the low-voltage Deepsleep mode is enabled by LVDS_D1 in PWR_CPU1CR and by LVDS_D2 in PWR_CPU2CR, the \(V_{DDCORE}\) and \(V_{DDCPU}\) supply level can be lowered during LPLV-Stop mode.
- – The external regulator supplying the \(V_{DDCPU}\) can be also switched off when Standby mode is enabled by PDDS_D1 in PWR_CPU1CR (LP-Stop2).
- • In Standby1/2 modes
- – PWR_ON, PWR_CPU_ON, and PWR_LP signals are set low. The external regulators are switched off. \(V_{DDCORE}\) and \(V_{DDCPU}\) domains are powered down. The content of the registers and memories are lost except for the backup and retention domains. The D3 domain can be still powered or switched off when the Standby mode is enabled by PDDS_D3 in PWR_D3CR (Standby2)
20.3.2 PWR supply system startup sequence
The system startup sequence is detailed below and shown in Figure 56:
- 1. From power-on, the POR monitors \(V_{DD}\) and \(V_{DDA18AON}\) supplies. Once these supplies are above the POR threshold level, the external voltage regulators providing the \(V_{DDCORE}\) supply is enabled via the PWR_ON signal.
- 2. As long as \(V_{DDCORE}\) is below the vddcore_ok threshold, the system is kept in reset.
- 3. Once \(V_{DDCORE}\) supply is above the vddcore_ok threshold level, the system is taken out of reset, where after the HSI oscillator is enabled. The external voltage regulator providing the \(V_{DDCPU}\) supply is enabled via PWR_CPU_ON signal.
- 4. Once the oscillator is stable, the hardware initializes the system (option bytes loading), after which Run1 mode is entered if the \(V_{DDCPU}\) supply is above the vddcpu_ok threshold.
Figure 56. Device startup supply sequence.

The diagram illustrates the device startup supply sequence. It shows the timing relationships between various power and control signals. The sequence is divided into six distinct phases: Power down or VBAT mode, POR (Power On Reset), System reset, Wait oscillator, Hardware system init, and Run1. During the Power down or VBAT mode, PWR_ON / PWR_LP is in HiZ. During the POR phase, VDDA18AON and VDD rise to their respective POR thresholds, and nrst_por goes high. PWR_ON / PWR_LP transitions from HiZ to high. During the System reset phase, VDDCORE rises to its vddcore_ok threshold, and vddcore_ok goes high. PWR_CPU_ON transitions from HiZ to high. During the Wait oscillator phase, VDDCPU rises to its vddcpu_ok threshold. During the Hardware system init phase, vddcpu_ok goes high, and ck_sys (hsi) starts oscillating. In the Run1 phase, all signals are stable.
20.3.3 PWR supply Run2 sequence
The system Run2 sequence is detailed below and shown in Figure 57.
- 1. When entering Run2 mode, all CPU1 clocks are stopped.
- 2. The PWR_CPU_ON signals request the VDDCPU supply to be powered off. If needed, a guaranteed minimum PWR_CPU_ON pulse low time can be defined by POPL_D1 in PWR_D1CR. The PWR_ON and PWR_LP are kept high. The external regulator supplying the VDDCORE remains in Main mode.
- 3. On a CPU1 wake-up event, the external regulator supplying VDDCPU is requested, via the PWR_CPU_ON signal. As long as VDDCPU is below the vddcpu_ok threshold, the system is kept in Run2 mode. When a wake-up event occurs before the guaranteed minimum PWR_CPU_ON pulse low time, the external regulator is only requested to switch on the VDDCPU supply till after the minimum PWR_CPU_ON pulse low time.
- 4. Once VDDCPU supply is above the vddcpu_ok threshold level, the CPU1 clocks are enabled and the system enters Run1 mode.
Figure 57. Device Run2 supply sequence.

The diagram illustrates the Device Run2 supply sequence. It shows the timing relationships between several signals:
- PWR_CPU_ON and PWR_CPU_LP: Both are high during Run1 and Wait REG, and low during Run2.
- VDDCPU: Drops to 0V during Run2 and rises back to the vddcpu_ok threshold during Wait REG.
- vddcpu_ok: High during Run1 and Wait REG, and low during Run2.
- PWR_ON (1) and PWR_LP (1): High during Run1 and Wait REG, and low during Run2.
- VDDCORE (vddcore): High during Run1 and Wait REG, and low during Run2.
- vddcore_ok (1): High during Run1 and Wait REG, and low during Run2.
- Operating mode: A blue box indicating the sequence: Run1 (1), Run2 (2), Wait REG (3), and Run1 (4).
- ck_cpu1: A clock signal that is active during Run1 (1) and Run1 (4), and inactive during Run2 (2) and Wait REG (3).
MSv67419V2
20.3.4 PWR supply Stop sequences
Stop1
The system Stop1 sequence is detailed below and shown in Figure 58. Stop1 mode is entered when selected by LPDS_D1 in PWR_CPU1CR, and by LPDS_D2 in PWR_CPU2CR:
- 1. When entering Stop1 mode, the ck_mcuss (ck_sys) is stopped.
- 2. In Stop1 mode, the PWR_ON, PWR_CPU_ON, but also PWR_LP are kept high. The external regulators supplying the VDDCORE and VDDCPU remain in Main mode.
- 3. On a wake-up event, the selected oscillators are enabled.
- 4. Once the oscillator is stable, the system enters Run1 mode.
Figure 58. Device low-power Stop1 supply sequence

MSv67423V1
Stop2
The PWR_CPU_ON signal can request the \(V_{DDCPU}\) supply to be powered off when D1 Standby mode is selected by PDDS_D1 in PWR_CPU1CR. This mode is called Stop2. The system Stop2 mode sequence is detailed below and shown in Figure 59:
- 1. When entering Stop2 mode, the \(ck_{mcuss}\) (\(ck_{sys}\)) is stopped.
- 2. The PWR_CPU_ON signal requests the \(V_{DDCPU}\) supply to be powered off. If needed, a guaranteed minimum PWR_CPU_ON pulse low time can be defined by POPL_D1 in PWR_D1CR. PWR_ON and PWR_LP are kept high. The external regulator supplying the \(V_{DDCORE}\) remains in main mode.
- 3. On a CPU1 wake-up event, the external voltage regulators providing the \(V_{DDCPU}\) supply are enabled via the PWR_CPU_ON signal, and the selected oscillators are enabled.
- 4. Once the oscillator is stable, and as long as the \(V_{DDCPU}\) is below the vddcpu_ok threshold, the CORE domain is kept under system reset.
- 5. Once the \(V_{DDCPU}\) is above the vddcpu_ok threshold level, the system enters Run1 mode.
Figure 59. Device low-power Stop2 supply sequence

MSv67424V1
20.3.5 PWR supply LP/LPV-Stop sequences
LP-Stop1/LPV_Stop1
The system LP-Stop1 mode sequence is detailed below and shown in Figure 60. LP-Stop1 mode is entered when selected by LPDS_D1 in PWR_CPU1CR and by LPDS_D2 in PWR_CPU2CR:
- 1. When entering LP-Stop1 mode, the ck_mcuss (ck_sys) is stopped.
- 2. In LP-Stop1 mode, PWR_CPU_ON and PWR_ON are either kept high (pwr_on) or follow the PWR_LP as selected with LPCFG_D1 in PWR_CPU1CR and LPCFG_D2 in PWR_CPU2CR. The PWR_LP is de-asserted, signaling LP-Stop1. After that, the external regulators can enter low-power mode.
In LPLV-Stop1 (LVDS bits set), \(V_{DDCPU}\) and \(V_{DDCORE}\) supplies can be lowered. - 3. On a wake-up event, the external regulators are taken out of low-power mode via PWR_LP, and the selected oscillators are enabled.
In LPLV-Stop1 mode, a delay \(t_{LPLVDLY}\) (defined by LPLVDLY_D2 in PWR_D2CR) is started to wait for \(V_{DDCPU}\) and \(V_{DDCORE}\) to reach the Run mode operating supply level. After this delay, the oscillators are enabled. - 4. Once the oscillator is stable, a delay is timed out to allow the external regulator to switch to Main mode.
- 5. After the delay timeout, the system enters Run1 mode.
Figure 60. Device low-power LP-Stop1/LPLV-Stop1 supply sequence

The diagram illustrates the supply sequence for LP-Stop1 and LPLV-Stop1 modes. It shows the following signals over time:
- PWR_CPU_ON: A green dashed line indicating a low pulse that initiates the LP-Stop1/LPLV-Stop1 mode.
- VDDCPU: A green dashed line showing the voltage level dropping to a 'Low voltage' state during the LP-Stop1/LPLV-Stop1 mode and then rising back to the Run1 level.
- vddcpu_ok (1): A signal that transitions from high to low during the LP-Stop1/LPLV-Stop1 mode and returns to high during the Run1 mode.
- PWR_ON: A green dashed line showing a low pulse that initiates the LP-Stop1/LPLV-Stop1 mode.
- PWR_LP: A signal that transitions from high to low during the LP-Stop1/LPLV-Stop1 mode and returns to high during the Run1 mode.
- VDDCORE: A green dashed line showing the voltage level dropping to a 'Low voltage' state during the LP-Stop1/LPLV-Stop1 mode and then rising back to the Run1 level.
- vddcore_ok (1): A signal that transitions from high to low during the LP-Stop1/LPLV-Stop1 mode and returns to high during the Run1 mode.
- Operating mode: A sequence of modes: Run1 (1), LP-Stop1/LPLV-Stop1 (2), Wait oscillator (3), Wait both REGs (4), and Run1 (5).
- ck_sys: A clock signal that is active during Run1 modes (1 and 5) and inactive during the LP-Stop1/LPLV-Stop1 mode (2).
Note: In LPLV-Stop1 (green dashed lines) mode, to be able to lower VDDCORE and VDDCPU supplies, the LVDS bits must be set.
MSv67417V2
LP-Stop2/LPV2_Stop2
The PWR_CPU_ON signal can request the VDDCPU supply to be powered off when D1 Standby mode is selected by PDDS_D1 in PWR_CPU1CR. This mode is called LP-Stop2. The system LP-Stop2 mode sequence is detailed below and shown in Figure 61:
- 1. When entering LP-Stop2 mode, the ck_mcuss (ck_sys) is stopped.
- 2. The PWR_CPU_ON signal requests the VDDCPU supply to be powered off. If needed, a guaranteed minimum PWR_CPU_ON pulse low time can be defined by POPL_D1 in PWR_D1CR. The PWR_ON is either kept high (pwr_on) or follows the PWR_LP (pwr_onlp) as selected with LPCFG_D2 in PWR_CPU2CR. The PWR_LP is asserted, signaling LP-Stop2. After that, the external regulator can enter low-power mode.
- 3. On a CPU1 wake-up event, the external regulator supplying VDDCORE is taken out of low-power mode via PWR_LP signal. The selected oscillators are enabled.
In LPLV-Stop2 mode, a delay tLPLVDLY (defined by LPLVDLY_D2 in PWR_D2CR) is started to wait for VDDCORE to reach the Run mode operating supply level. After this delay, the oscillators are enabled. - 4. Once the oscillator is stable, the external voltage regulator providing the VDDCPU supply is enabled via the PWR_CPU_ON signal.
- 5. After the delay timeout, and once VDDCPU is above the vddcpu_ok threshold, the system enters Run1 mode.
Figure 61. Device low-power LP-Stop2/LPLV-Stop2 supply sequence

Note: In LPLV-Stop2 (green dashed lines) mode:
- to be able to lower \(V_{DDCORE}\) and \(V_{DDCPU}\) supplies, the LVDS bits must be set.
- if the CPU1 wake-up event is generated from one of the WKUP pins or the EXTI2 in autonomous mode, the PWR_CPU_ON will rise at same time than PWR_LP. The vddcpu_ok/vddcore_ok delays are then running concurrently than the LPLVDLY and oscillator wait delays, which mean the overall wakeup time to RUN1 is slightly better.
MSv67418V4
20.3.6 PWR supply Standby sequence
The system Standby mode sequence is detailed below and shown in Figure 62:
- 1. When entering Standby mode, the PWR_CPU_ON signal requests the \(V_{DDCPU}\) supply to be powered off, after a delay defined by PODH_D2 in PWR_D2CR. If needed, a guaranteed minimum PWR_ON/PWR_CPU_ON pulse low time can be defined by POPL_D1/2 in PWR_D1CR/PWR_D2CR.
- 2. On a wake-up event, the external regulator supplying the \(V_{DDCORE}\) is requested via the PWR_ON signals. As long as \(V_{DDCORE}\) is below the vddcore_ok threshold, the system is kept in Standby mode, and \(V_{DDCPU}\) is not requested. When a wake-up event occurs before the guaranteed minimum PWR_ON pulse low time, the external regulator is only requested to switch on the \(V_{DDCORE}\) supply till after the minimum PWR_ON pulse low time.
- 3. Once \(V_{DDCORE}\) is above the vddcore_ok threshold level, the HSI oscillator is enabled. The PWR_CPU_ON signal requests the \(V_{DDCPU}\) supply to be powered on.
- 4. Once the oscillator is stable, and as long as the \(V_{DDCPU}\) supply is requested and below the vddcpu_ok threshold, the system does not enter Run1 mode.
Figure 62. Device Standby mode power control

This timing diagram illustrates the power control sequence for device standby mode. It shows the following signals and their transitions:
- PWR_CPU_ON: Transitions from high to low, initiating the standby sequence.
- VDDCPU: Falls to 0V after PWR_CPU_ON goes low, then ramps back up to the vddcpu_ok threshold.
- PWR_ON and PWR_LP: Transition from low to high during the POR phase.
- VDDCORE: Falls to 0V after PWR_CPU_ON goes low, then ramps back up to the vddcore_ok threshold.
- vddcore_ok: Transitions from low to high once VDDCORE reaches its threshold.
- Operating mode: The system transitions through Run1, Standby, POR, Wait oscillator and vddcpu_ok, and back to Run1.
- ck_sys: Shows system clock activity, which is suspended during the Standby and POR phases and resumes after the oscillator is stable.
Reference: MSv67420V2
On a CPU2 wake-up event, and if CPU2 standalone wake-up is allowed by configuration, only the external regulator supplying VDDCORE is switched on via the PWR_ON signals.
The system enters in Run2 mode once the oscillator is stable (as shown in the figure below).
Figure 63. Device Standby mode power control CPU2 wake-up alone

This timing diagram shows the power control sequence for a CPU2 wake-up alone. It features the same signals as Figure 62, with key differences in the operating mode transitions:
- PWR_CPU_ON: Transitions from high to low.
- VDDCPU: Falls to 0V.
- PWR_ON and PWR_LP: Transition from low to high.
- VDDCORE: Falls to 0V and then ramps back up to the vddcore_ok threshold.
- vddcore_ok: Transitions from low to high.
- Operating mode: The system transitions from Run1 to Standby, then to POR, and then to a 'Wait oscillator' phase. Once the oscillator is stable, it enters Run2 mode.
- ck_sys: Shows system clock activity, suspended during Standby, POR, and Wait oscillator phases, and resumes in Run2 mode.
Reference: MSv67421V2
20.3.7 PWR supply \(V_{BAT}\) sequence from Standby
The system \(V_{BAT}\) mode sequence after Standby is detailed below and shown in Figure 64.
- 1. When in Standby mode, the device can be set in \(V_{BAT}\) mode by powering down \(V_{DD}\) and \(V_{DDA18AON}\) supplies. The PWR_ON and PWR_CPU_ON signals keep requesting \(V_{DDCORE}\) and \(V_{DDCPU}\) supplies to be powered off.
- 2. When powering down \(V_{DD}\), the device enters \(V_{BAT}\) mode. PWR_ON, PWR_CPU_ON, and PWR_LP signals become HiZ.
Figure 64. Device \(V_{BAT}\) mode power control

The diagram illustrates the power control sequence for entering \(V_{BAT}\) mode from Standby. It shows the following signals over time:
- \(V_{DD} / V_{DDA18AON}\): Decreases from a high level to a low level.
- nrst_por: A low pulse occurs during the transition.
- PWR_ON/PWR_CPU_ON: Transitions from active to HiZ (High Impedance) after the transition point.
- PWR_LP: Transitions from active to HiZ after the transition point.
- \(V_{DDCORE} (0) / V_{DDCPU} (0)\): Remains at a low level.
- vddcore_ok(0)/vddcpu_ok(0): Remains at a low level.
- Operating mode: Transitions from Standby to \(V_{BAT}\) mode at the transition point.
- ck_sys: Remains at a low level.
The transition point is marked by a vertical dashed red line. The diagram is labeled MSv67425V1.
When \(V_{BAT}\) mode is entered from Run1, Stop, or LP-Stop mode, \(V_{DD}\), \(V_{DDA18AON}\), \(V_{DDCORE}\), and \(V_{DDCPU}\) supplies must all be powered down.
20.3.8 PWR \(V_{SW}\) domain
To retain the content of the backup domain (RTC, backup registers, LSE, LSI, LPSRAM1 and backup ram) when \(V_{DD}\) is turned off, the VBAT pin can be connected to an optional standby voltage supplied from a battery or an another source.
Switching to the \(V_{BAT}\) supply (\(V_{BAT}\) mode) is controlled by the power-down reset (PDR) embedded in the reset block, monitoring the \(V_{DD}\) supply.
Warning: During \(t_{RSTTEMPO}\) (temporization at \(V_{DD}\) startup) or after a PDR is detected, the power switch between \(V_{BAT}\) and \(V_{DD}\) remains connected to \(V_{BAT}\).
During the startup phase, if \(V_{DD}\) is established in less than \(t_{RSTTEMPO}\) (refer to the datasheet for the value of \(t_{RSTTEMPO}\)) and \(V_{DD} > V_{BAT} + 0.6\) V, a current may be injected into \(V_{BAT}\).
through an internal diode connected between \(V_{DD}\) and the power switch (\(V_{BAT}\)).
If the power supply/battery connected to the VBAT pin cannot support this current injection, it is strongly recommended to connect an external low-drop diode between this power supply and the VBAT pin.
When the \(V_{DD}\) supply is present, the backup domain is supplied from \(V_{DD}\). This allows \(V_{BAT}\) power supply battery life time optimization.
If no external backup battery is used in the application, it is recommended to connect \(V_{BAT}\) externally to \(V_{DD}\) through a 100 nF external ceramic capacitor.
Whenever the \(V_{DD}\) supply is present and above the PDR threshold, the backup domain is supplied by \(V_{DD}\).
When the \(V_{DD}\) supply is absent and a supply is present on \(V_{BAT}\), the backup domain is supplied by \(V_{BAT}\) (see Section 20.4.1 for more details).
Figure 65. Backup domain

The diagram illustrates the backup domain architecture. On the left, external power pins \(V_{BAT}\), \(V_{DD}\), and \(V_{DDCORE}\) are shown. \(V_{BAT}\) and \(V_{DD}\) are connected to a switch that selects between them to provide \(V_{SW}\). \(V_{DDCORE}\) is connected to the main system. The \(V_{SW}\) line enters the 'VSW/backup domain' block, which contains a 'Backup regulator'. This domain is connected to the 'Backup/D3 interface' and the 'Backup/D3 I/Os'. Inside the backup domain, there are several components: 'Retention RAM', 'Backup RAM', 'LPSRAM1', 'LPSRAM2', 'LPSRAM3', 'MSI', 'EXTI2', 'CPU3', 'CPU3 DBG', 'LPDMA1', 'Peripherals', 'RTC/TAMP', 'LSE', 'LSI', and 'IWDG5'. The 'Backup/D3 interface' and 'Backup/D3 I/Os' facilitate communication between the backup domain and the rest of the system. The label 'MSv67416V2' is located at the bottom right of the diagram.
The table below shows the functions available in backup domain when the core low-power supply is powered off.
Table 89. Available functions in backup domain
| Pin name | Description |
|---|---|
| PC14, PC15 | LSE pins |
| PC13 | RTC or TAMP (out) pins(1) |
| PI8 | RTC or TAMP (in/out) pins(1) |
| Pin name | Description |
|---|---|
| PF6, PC3, PC4, PC5, PF7, PG1 and PG3 | TAMP (in) pins (up to VBAT mode)(1) |
| PZ0 to PZ6 | PZ0 and PZ1 are SWD debug pins. TAMP (in/out) pins (up to VBAT mode) GPIO/alternate functions (up to Standby1 mode)(1) |
1. Refer to 'pin description and alternate functions' in the device datasheet for more details
20.3.9 PWR backup RAM (BKPSRAM)
The backup domain includes an 8-Kbyte backup RAM, accessible in 32-, 16-, or 8-bit data mode.
- • In Run, Stop and LP-Stop modes, the BKPSRAM is supplied from the VDDCORE supply.
- • In LPLV-Stop, Standby and VBAT modes, the BKPSRAM can be supplied through the backup regulator in the VSW domain.
When the backup supply is enabled by BKPRBSEN in PWR_CR9, the BKPSRAM content is retained even in Standby and/or VBAT mode.
The BKPSRAM can be erased by a tamper event (see Section 75 for details).
20.3.10 PWR retention RAM (RETRAM)
The backup domain includes a 128-Kbyte retention RAM, accessible in 32-, 16-, or 8-bit data mode.
- • In Run, Stop and LP-Stop modes the RETRAM is supplied from the VDDCORE supply.
- • In LPLV-Stop, Standby and VBAT modes, the RETRAM is supplied through the backup regulator in the VSW domain.
When the backup supply is enabled by RETRBSEN in PWR_CR10, the RETRAM content is retained even in Standby and/or VBAT mode.
20.3.11 PWR CPU3 instruction RAM (LPSRAM1)
The backup domain includes a 8-Kbyte CPU3 instruction code, accessible in 32-, 16-, or 8-bit data mode.
- • In Run and Stop modes, the LPSRAM1 is supplied from the VDDCORE supply.
- • In LP-Stop, LPLV-Stop, Standby and VBAT modes, the LPSRAM1 is supplied through the backup regulator in the VSW domain.
When the LPSRAM1 supply is enabled by LPR1BSEN in PWR_CR9, the LPSRAM1 content is retained even in Standby and/or VBAT mode.
The LPSRAM1 can be used to store CPU3 instruction code (independent CRC engine embedded in RAM controller for code integrity checking).
20.3.12 PWR D3 domain
The D3 domain (also called SmartRun domain) includes all peripherals (I2C, I3C, SPI, LPUART, LPTIMER, ADF1) that must be functional in low-power modes (up to Standby1
mode), plus Cortex-M0+ (CPU3), RTC/TAMP, EXTI2, IPCC2, HSEM, LPDMA1, 16-Kbyte data RAM (LPSRAM3), 8-Kbyte CPU3 data RAM (LPSRAM2).
These peripherals can work in autonomous mode thanks to their own independent clock request capability for kernel and system clocks. The peripheral kernel or/and system clocks are automatically switched on when requested by a peripheral, and automatically switched off when no peripheral requests them.
- • In Run and Stop modes, the D3 domain is supplied from the \(V_{DDCORE}\) supply.
- • In LP-Stop, LPLV-Stop, Standby and \(V_{BAT}\) modes, the D3 domain is supplied through the backup regulator.
When Standby mode is selected by PDDS_D3 in PWR_D3CR, the D3 domain supply is also switched off in Standby2 mode.
The CPU3 can be used to qualify the tamper detection event. In this use case, the D3 domain can be powered even in \(V_{BAT}\) mode on tamper event when enabled by TAMP_WKUPEN_D3 in PWR_D3WKUPENR. Only a tamper event can wake up the D3 domain in \(V_{BAT}\) mode. The Standby2 mode is not supported when TAMP_WKUPEN_D3 is set.
Only Cortex-M0+ (CPU3), LPSRAM1/2, RTC/TAMP, EXTI2, and IPCC2 are functional in the domain when TAMP_WKUPEN_D3 is set.
20.3.13 PWR D3 and backup domain access
After a system reset, the D3 domain (including LPSRAM1/2/3) and the backup domain (RCC_BDCR, RTC, TAMP and backup registers, backup SRAM) are protected against possible unwanted write accesses from D1 or D2 domains. To enable access to the D3 domain and the backup domain, DBD3P in PWR_BDCR1 must be set.
After a D3 domain reset, the RTC, TAMP and backup registers are protected against possible unwanted write from D3 domain. To enable access to the backup domain, set DBP in PWR_BDCR2.
For more detail on RTC and backup registers, see Section 74.
20.3.14 PWR \(V_{DD}\) domain
The \(V_{DD}\) domain includes boot, security and OTP controller (BSEC), independent watchdog (IWDG), resource isolation framework controller (RIFSC and IAC), and the debug access port (DAP).
- • In Run, Stop and LP-Stop modes, the \(V_{DD}\) domain is supplied from the \(V_{DDCORE}\) supply.
- • In LPLV-Stop and Standby modes, the \(V_{DD}\) domain is supplied through the backup regulator.
The content of the domain is retained in Standby mode (not powered in \(V_{BAT}\) mode).
Figure 66. VDD domain
The diagram illustrates the VDD domain architecture. It shows the following components and connections:
- VDD and VDDCORE are the main power supply inputs.
- VDDA18AON is an additional power supply input.
- The VDD/retention domain is a shaded area containing several blocks:
- Retention interface: Connected to the main VDD and VDDCORE lines.
- Backup supply from bkp regulator: A switch that provides power to the retention domain.
- Peripherals: RIFSC, IAC, IWDG1/2, BSEC, IWDG3/4, and DAP.
- OTP (One-Time Programmable memory).
- VDD I/Os: A block representing the I/O pins, connected to the VDD line.
- The VDDCORE line is also connected to the VDDA18AON input.
MSv67437V1
20.3.15 PWR analog supply
PWR separate analog VDDA18ADC supply
The analog supply domain has separate VDDA18ADC and VSSA pads to allow the supply to be filtered and shielded from noise on the PCB. This improves the ADC conversion accuracy.
- • The analog voltage supply input is available on a separate VDDA18ADC pin.
- • An isolated supply ground connection is provided on pin VSSA.
PWR analog reference voltage VREF
To allow better accuracy on low-voltage signals, the ADC has a separate reference voltage VREF+ pin. The user can connect a separate external reference voltage on VREF+. The VREF+ supply controls the highest voltage, represented by the full scale value. The lower voltage reference VREF- must be connected together with VSSA.
When enabled by ENVR in VREFBUF_CSR (see Section 44.6.1), the VREF+ is provided from the internal voltage reference buffer. The internal voltage reference buffer can also provide a reference voltage to external components through pin (see Section 44).
20.4 PWR power supply supervision
Power supply level monitoring is available on the following supplies:
- • VDD/VDDA18AON via POR/PDR (Section 20.4.1), BOR (Section 20.4.2), and PVD monitor (Section 20.4.7)
- – The POR/PDR monitoring flag is available from PORRSTF in the RCC.
- – The BOR monitoring flag is available from BORRSTF in the RCC.
- – The PVD monitoring flag is available from the PVDO in PWR_CR3. In addition, an interrupt and wake-up can be generated via the EXTI1.
- • VBAT via V08CAP threshold (see Section 20.4.10)
- – The V08CAP monitoring flags are available from V08CAPH and V08CAPL in PWR_CR2. In addition, a tamper event could be triggered which could also generate an interrupt and wake-up via EXTI2.
- • \(V_{DDCORE}\) via vcore_rdy which keeps \(V_{DDCORE}\) domain in reset as long as the level is not OK (see Section 20.4.3)
- – The \(V_{DDCORE}\) OK monitoring flags are available from SBF in PWR_CPU1CR and PWR_CPU2CR, and from VCORERSTF in the RCC.
- • \(V_{DDCORE}\) via VCORE threshold (see Section 20.4.4)
- – The \(V_{DDCORE}\) monitoring flags are available from VCOREH and VCOREL in PWR_CR5. In addition, an interrupt and wake-up can be generated via the EXTI2.
- • \(V_{DDCPU}\) via vcpu_rdy which keeps \(V_{DDCPU}\) domain in reset as long as the level is not OK (see Section 20.4.5)
- – The \(V_{DDCPU}\) OK monitoring flag is available from SBF_D1 in PWR_CPU1CR, and from VCPURSTF in the RCC.
- • \(V_{DDCPU}\) via VCPU threshold (see Section 20.4.6)
- – The \(V_{DDCPU}\) monitoring flags are available from VCPUH and VCPUL in PWR_CR6. In addition, an interrupt and wake-up can be generated via the EXTI2.
- • \(V_{DDGPU}\) via GPU voltage monitor (see Section 20.4.7)
- • \(V_{DDIO1}\), \(V_{DDIO2}\), \(V_{DDIO3}\), \(V_{DDIO4}\), \(V_{DD33UCPD}\), \(V_{DD33USB}\) and \(V_{DDA18ADC}\) via peripheral voltage monitor
- • \(V_{SW}\) via rst_vsw, which keeps \(V_{SW}\) domain in reset as long as the level is not OK
- – The VSW monitoring has no flag. The VSW registers reset value can be used.
20.4.1 PWR power-on reset (POR)/power-down reset (PDR)
The system has an integrated POR/PDR circuitry that allows proper startup operation.
The system remains in reset mode when \(V_{DD}\) and \(V_{DDA18AON}\) are below a specified \(V_{POR}\) threshold, without the need for an external reset circuit. Once \(V_{DD}\) and \(V_{DDA18AON}\) supply levels are above the \(V_{POR}\) threshold, the system is taken out of reset. Refer to the electrical characteristics of the device datasheet for more details on the POR/PDR thresholds.
The POR/PDR generate also an application reset (NRST).
Figure 67. Power-on reset/power-down reset waveform

MSv67435V1
Note: For thresholds and hysteresis, refer to the datasheet.
20.4.2 PWR brownout reset (BOR)
During power-on, the brownout reset (BOR) keeps the system under reset until the \(V_{DD}\) supply reaches the specified \(V_{BOR}\) threshold, that is configured through system option bytes. By default, BOR is off. When enabled, this only takes effect after the device has loaded the option bytes. The following programmable \(V_{BOR}\) thresholds can be selected:
- • BOR off (\(V_{BOR0}\)): reset threshold defined by POR/PDR levels
- • BOR level 1 (\(V_{BOR1}\)): reset threshold level for 3.3 V typical range of operation
The BOR generates also an application reset (NRST).
When the BOR is enabled and the \(V_{DD}\) supply drops below the selected \(V_{BOR}\) threshold, a NRST is generated.
Figure 68. BOR thresholds

MSv67433V1
20.4.3 PWR \(V_{DDCORE}\) OK reset
The system has an integrated circuitry that allows proper startup operation of the \(V_{DDCORE}\) domain.
This domain remains in Reset mode when \(V_{DDCORE}\) is below the operation threshold vddcore_ok. Once \(V_{DDCORE}\) supply is above vddcore_ok, the \(V_{DDCORE}\) domain is taken out of reset. For more details concerning the \(V_{DDCORE}\) OK reset threshold, refer to the electrical characteristics of the device datasheet.
When LVDS_D2 is set in PWR_CPU2CR, the \(V_{DDCORE}\) supply level can be lowered in LPLV-Stop mode.
Figure 69. vddcore_ok reset thresholds

20.4.4 PWR VDDCORE monitoring
The system has a detection circuitry which detects if VDDCORE supply is below or above the operating range. This detection is done by comparing VDDCORE with two thresholds (high and low thresholds).
VCOREH and VCOREL in PWR_CR5 indicate if VDDCORE is higher or lower than the thresholds. These flags are available on tamper signals but also connected to the EXTI2, and can generate an interrupt if enabled through the EXTI2 registers.
The detection is enabled by setting VCOREMONEN in PWR_CR5.
The vcore_thr_high and vcore_thr_low thresholds, when enabled, are not available in LPLV-Stop, Standby, and VBAT modes. For more details on these thresholds, refer to the electrical characteristics of the datasheet.
Figure 70. VDDCORE monitoring

20.4.5 PWR \(V_{DDCPU}\) OK reset
The system has an integrated circuitry that allows proper startup operation of the \(V_{DDCPU}\) domain.
This domain remains in Reset mode when \(V_{DDCPU}\) is below the operation threshold vddcpu_ok. Once \(V_{DDCPU}\) is above this threshold, the \(V_{DDCPU}\) domain is taken out of reset. For more details concerning this threshold, refer to the electrical characteristics of the device datasheet.
When LVDS_D1 is set in PWR_CPU1CR, the \(V_{DDCPU}\) supply level can be lowered in LPLV-Stop mode.
Figure 71. vddcpu_ok reset thresholds

20.4.6 PWR \(V_{DDCPU}\) monitoring
The system has a detection circuitry which detects if \(V_{DDCPU}\) supply is below or above the operating range. The detection is done by comparing \(V_{DDCPU}\) with two thresholds (high and low thresholds). The level of the low threshold can be selected by VCPULLS in PWR_CR6. The high level threshold is fixed.
VCPUH and VCPUL in PWR_CR6 indicate if \(V_{DDCPU}\) is higher or lower than the thresholds. These flags are available on tamper signals but also connected to the EXTI2, and can generate an interrupt if enabled through the EXTI2 registers.
The detection is enabled by setting VCPUMONEN in PWR_CR6. The vcpu_thr_high and vcpu_thr_low thresholds, when enabled, are not available in Run2, LPLV-Stop, Standby, and \(V_{BAT}\) modes. For more details on these thresholds, refer to the electrical characteristics of the device datasheet.
Figure 72.\(V_{DDCPU}\) monitoring
The diagram illustrates the monitoring of \(V_{DDCPU}\) voltage over time. The top part of the graph shows the \(V_{DDCPU}\) voltage ramping up, staying at a high level, and then ramping down. Two horizontal dashed lines represent the high and low thresholds: vcpu_thr_high and Vcpu_thr_low. The bottom part of the graph shows two digital signals, VCPUL and VCPUH, which are active (low and high respectively) during the voltage ramping phases.
MSv67439V1
20.4.7 PWR \(V_{DDGPU}\) voltage monitoring (GPUVM)
The system has an integrated circuitry (GPUVM) that allows the independent GPU supply \(V_{DDGPU}\) to be monitored. The VDDGPURDY in PWR_CR12 indicates if the \(V_{DDGPU}\) is higher or lower than the \(V_{DDGPUVM}\) threshold.
The independent \(V_{DDGPU}\) supply is not considered as present by default. A logical and electrical isolation is applied to ignore any information coming from the \(V_{DDGPU}\) domain. The voltage monitor is disabled by default.
The output of the \(V_{DDGPU}\) monitor is connected to an EXTI line, and can generate an interrupt if enabled through the EXTI registers. The GPUVMO output interrupt is generated when the independent power supply drops below the \(V_{DDGPUVM}\) threshold, and/or when it rises above the \(V_{DDGPUVM}\) threshold, depending on EXTI line rising/falling edge configuration.
The following sequence must be done before using the GPU:
- 1. Enable the GPUVM by setting GPUVMEN in PWR_CR12.
- 2. Wait for the GPUVM wake-up time.
- 3. Wait until VDDGPURDY is set in PWR_CR12.
- 4. Set GPUSV in PWR_CR12 to remove the \(V_{DDGPU}\) power isolation.
The GPUSV bit is cleared by hardware when \(V_{DDGPU}\) drops below the \(V_{DDGPUVM}\) threshold.
When the GPU is on hold (all clocks off), \(V_{DDGPU}\) can be lowered to save power. Before to lower the supply level, the GPULVTEN in PWR_CR12 must be set to reduce the threshold. This bit must be reset when the supply is restored at the nominal value.
If \(V_{DDGPUVM}\) is shorted externally to \(V_{DDCORE}\), it is not required to set the GPULVTEN bit. The low-voltage threshold is selected by hardware before entering LPLV-Stop modes.
When the GPU is disabled by OTP (feature disable DIS2), the GPUSV bit is ignored, and a logical and electrical isolation is always applied.
20.4.8 PWR programmable voltage detector (PVD)
The PVD can be used to monitor a voltage level on the PVD_IN pin: the voltage level on PVD_IN is compared to the internal \(V_{REFINT}\) level.
The PVD is enabled by setting PVDEN in PWR_CR3. The PVD is not available in Standby mode.
A PVDO flag in PWR_CR3 indicates if the voltage level on PVD_IN is higher or lower than the PVD threshold. This event is internally connected to the EXTI11, and can generate an interrupt if enabled through the EXTI11 registers. The PVDO output interrupt can be generated when the voltage level on PVD_IN drops below the PVD threshold, and/or when the voltage level on PVD_IN rises above the PVD threshold, depending on EXTI11 rising/falling edge configuration. As an example the service routine can perform emergency shutdown tasks.
Figure 73. PVD thresholds

Note: For thresholds and hysteresis, refer to the datasheet.
20.4.9 Peripheral voltage monitoring (PVM)
Only \(V_{DD}\) is monitored by default, as it is the only supply required for all system-related functions. The other supplies (\(V_{DDIO1}\), \(V_{DDIO2}\), \(V_{DDIO3}\), \(V_{DDIO4}\), \(V_{DD33UCPD}\), \(V_{DD33USB}\) and \(V_{DDA18ADC}\)) can be independent from \(V_{DD}\), and can be monitored with seven peripheral voltage monitoring (PVM):
- • VDDIO1VM monitors the PE[5:0] supply \(V_{DDIO1}\). VDDIO1RDY in PWR_CR8 indicates if \(V_{DDIO1}\) is higher or lower than the \(V_{IO1VM}\) threshold.
- • VDDIO2VM monitors the PE[15:6] supply \(V_{DDIO2}\). VDDIO2RDY in PWR_CR7 indicates if \(V_{DDIO2}\) is higher or lower than the \(V_{IO2VM}\) threshold.
- • VDDIO3VM monitors the PD[11:0] supply \(V_{DDIO3}\). VDDIO3RDY in PWR_CR1 indicates if \(V_{DDIO3}\) is higher or lower than the \(V_{IO3VM}\) threshold.
- • VDDIO4VM monitors the PB[11:0] supply \(V_{DDIO4}\). VDDIO4RDY in PWR_CR1 indicates if \(V_{DDIO4}\) is higher or lower than the \(V_{IO4VM}\) threshold.
- • USB33VM monitors the USB supply \(V_{DD33USB}\). USB33RDY in PWR_CR1 indicates if \(V_{DD33USB}\) is higher or lower than the \(V_{USB33VM}\) threshold.
- • UCPDVM monitors the UCPD supply \(V_{DD33UCPD}\). UCPDRDY in PWR_CR1 indicates if \(V_{DD33UCPD}\) is higher or lower than the \(V_{UCPDVM}\) threshold.
- • AVM monitors the ADC supply \(V_{DDA18ADC}\). ARDY in PWR_CR1 indicates if \(V_{DDA18ADC}\) is higher or lower than the \(V_{AVM}\) threshold.
Note: For thresholds and hysteresis, refer to the device datasheet.
The GPVMO flag in PWR_CR1 indicates if all enabled independent power supplies are higher or lower than the PVM threshold. This event is internally connected to the EXTI1, and can generate an interrupt if enabled through the EXTI1 registers. The GPVMO interrupt can be generated when all enabled independent power supplies rise above the PVM threshold, or when at least one enabled independent power supply drops below the PVM threshold, depending on EXTI1 line rising/falling edge configuration.
The PVM is not available in Standby mode.
The independent supplies (\(V_{DDIO1}\), \(V_{DDIO2}\), \(V_{DDIO3}\), \(V_{DDIO4}\), \(V_{DD33USB}\), \(V_{DD33UCPD}\) and \(V_{DDA18ADC}\)) are not considered as present by default, and a logical and electrical isolation is applied to ignore any information coming from the peripherals supplied by these dedicated supplies.
- • If these supplies are shorted externally to \(V_{DD}\), the application must assume they are available without enabling any peripheral voltage monitoring. The power isolation can be removed by setting the corresponding supply valid bits.
- • If these supplies are independent from \(V_{DD}\), the PVM can be enabled to confirm whether the supply is present or not.
The following sequence must be done before using the USB2 PHYs:
- 1. If \(V_{DD33USB}\) is independent from \(V_{DD}\):
- a) Enable USB33VM by setting USB33VMEN in PWR_CR1.
- b) Wait for the USB33VM wake-up time.
- c) Wait until USB33RDY is set in PWR_CR1.
- d) Optional: Disable USB33VM for consumption saving.
The following sequence must be done before using the USB Type C CC1 and CC2 pins:
- 1. If \(V_{DD33UCPD}\) is independent from \(V_{DD}\):
- a) Enable UCPDVM by setting UCPDVMEN in PWR_CR1.
- b) Wait for the UCPDVM wake-up time.
- c) Wait until UCPDRDY is set in PWR_CR1.
- d) Optional: Disable UCPDVM for consumption saving.
- 2. Set UCPDSV in PWR_CR1 to remove the \(V_{DD33UCPD}\) power isolation.
The following sequence must be done before using the analog to digital converters:
- 1. If \(V_{DDA18ADC}\) is independent from \(V_{DD}\):
- a) Enable AVM by setting AVMEN in PWR_CR1.
- b) Wait for the AVM wake-up time.
- c) Wait until ARDY is set in PWR_CR1.
- d) Optional: Disable AVM for consumption saving.
- 2. Set ASV in PWR_CR1 to remove the \(V_{DDA18ADC}\) power isolation.
The GPIOs have the capability to work in the 1.8 V or 3.3 V power supply ranges. It is needed to select the supply range of the I/Os before to use it. By default, the 3.3 V range is selected. The voltage range configuration for \(V_{DD}\), \(V_{DDIO3}\) and \(V_{DDIO4}\) is retained in Standby mode. The configuration can be retained for \(V_{DDIO1}\) and \(V_{DDIO2}\) in Standby mode when
VDDIO1VRSTBY and VDDIO2VRSTBY are set in PWR_CR7 and PWR_CR8. The voltage range must not be retained if the supply range can change when exiting from Standby mode (such as SD card).
The following sequence must be done before using the VDDIO1 I/Os:
- 1. If \(V_{DDIO1}\) is independent from \(V_{DD}\):
- a) Enable VDDIO1VM by setting VDDIO1VMEN in PWR_CR8.
- b) Wait for the VDDIO1VM wake-up time.
- c) Wait until VDDIO1RDY is set in PWR_CR8.
- d) Optional: Disable VDDIO1VM for consumption saving.
- e) If \(V_{DDIO1}\) is in 1.8 V range, set \(V_{DDIO1}\) voltage range by setting VDDIO1VRSEL in PWR_CR8.
- f) Optional: Retain VDDIO1VRSEL configuration by setting VDDIO1VRSTBY in PWR_CR8.
- 2. Set VDDIO1SV in PWR_CR8 to remove the \(V_{DDIO1}\) power isolation.
The following sequence must be done before using the VDDIO2 I/Os:
- 1. If \(V_{DDIO2}\) is independent from \(V_{DD}\):
- a) Enable VDDIO2VM by setting VDDIO2VMEN in PWR_CR7.
- b) Wait for the VDDIO2VM wake-up time.
- c) Wait until VDDIO2RDY is set in PWR_CR7.
- d) Optional: Disable VDDIO2VM for consumption saving.
- e) If \(V_{DDIO2}\) is in 1.8 V range, set \(V_{DDIO2}\) voltage range by setting VDDIO2VRSEL in PWR_CR7.
- f) Optional: Retain VDDIO1VRSEL configuration by setting VDDIO2VRSTBY in PWR_CR7.
- 2. Set VDDIO2SV in PWR_CR7 to remove the \(V_{DDIO2}\) power isolation.
The following sequence must be done before using the VDDIO3 I/Os:
- 1. If \(V_{DDIO3}\) is independent from \(V_{DD}\):
- a) Enable VDDIO3VM by setting VDDIO3VMEN in PWR_CR1.
- b) Wait for the VDDIO3VM wake-up time.
- c) Wait until VDDIO3RDY is set in PWR_CR1.
- d) Optional: Disable VDDIO3VM for consumption saving.
- e) If \(V_{DDIO3}\) is in 1.8 V range, set the \(V_{DDIO3}\) voltage range by setting VDDIO3VRSEL in PWR_CR1.
- 2. Set VDDIO3SV in PWR_CR1 to remove the \(V_{DDIO3}\) power isolation.
Note: Same sequence must be done for the VDDIO4 I/Os.
20.4.10 PWR \(V_{08CAP}\) voltage thresholds
The backup domain voltage \(V_{08CAP}\) supply can be monitored by comparing it with two threshold levels. The V08CAPH and V08CAPL flags in PWR_CR2 indicate if \(V_{08CAP}\) is higher or lower than the thresholds. These flags are available on tamper signals (see Section 74).
The V08CAP supply monitor can be enabled/disabled with MONEN in PWR_CR2. When enabled, the V08CAP voltage thresholds increase the power consumption. As an example, the levels can be used to trigger a routine to perform emergency saving tasks.
The V08CAP voltage thresholds, when enabled, are also available in Standby and VBAT modes.
Figure 74. V08CAP thresholds

Note: For thresholds and hysteresis, refer to the datasheet.
20.4.11 PWR temperature thresholds
The temperature can be monitored by comparing it with two threshold levels. The TEMPH and TEMPL flags in PWR_CR2 indicate if the device temperature is higher or lower than the threshold. These flags are available on tamper signals (see Section 74).
The temperature monitor can be enabled/disabled with MONEN in PWR_CR2. When enabled, the temperature thresholds increases power consumption. As an example, the levels can be used to trigger a routine to perform temperature control tasks.
The temperature thresholds, when enabled, are also available in Standby and VBAT modes.
Figure 75. Temperature thresholds

Note: For thresholds and hysteresis, refer to the datasheet.
20.5 PWR power management
The power management controls \(V_{DDCPU}\) and \(V_{DDCORE}\) supplies in accordance with the system operation modes (see Section 20.5.1). The system is split into three domains:
- • D1 domain supplied by \(V_{DDCPU}\), containing the Cortex-A35 (CPU1)
- • system D2 domain supplied by \(V_{DDCORE}\), containing the Cortex-M33 (CPU2), a large part of the peripherals and the system control including the EXTI1
- • D3 domain supplied by \(V_{DDCORE}\) or an internal backup regulator, containing the Cortex-M0+ (CPU3), some peripherals able to work in autonomous mode, and a small part of the system control including the EXTI2
D1, D3 and system D2 can be in one of the following operating modes:
- • DRun, SRun1/2/3, Run1/2, (power On, clock On)
- • DStop1/2/3, SStop1/2, Stop1/2, LP-Stop1/2, LPLV-Stop1/2 (power on, clock off)
- • DStandby, SStandby, Standby1/2 (power off, clock off)
At PWR controller level, the dual-core Cortex-A35 is seen as a single CPU1.
\(V_{DDCORE}\) supply follows the system operating mode (Run, Stop, LP-Stop, LPLV-Stop and Standby).
\(V_{DDCPU}\) supply follows the domain operating mode (DRun, DStop1/2/3 and DStandby). This supply can be powered down individually when the D1 domain is in DStandby mode.
The D3 domain is supplied by \(V_{DDCORE}\) in SRun1/2 and SStop1 modes, and by the backup regulator in SRun3 and SStop2 modes. The D3 domain is in power down in SStandby mode.
20.5.1 PWR operating modes
Several system operating modes are available to tune the system according to the performance needed, that is when the CPU(s) do not need to execute code and wait for an external event. It is up to the user to select the operating mode that gives the best
compromise between low-power consumption, short startup time, and available wake-up sources.
The operating modes allow the control of the clock distribution to the different system parts and the system power. The system operating mode is driven by the CPU1 subsystem and CPU2 subsystem but also by D3 domain in Standby mode. A CPU subsystem can include multiple domains depending on its peripheral allocation. The operating modes for the different system parts are defined below.
CPU1, CPU2 and CPU3 subsystem modes
- • CRun
CPU and CPU subsystem peripherals according to RCC PERxEN are clocked. - • CSleep
CPU clocks are stalled and CPU subsystem allocated peripheral clocks operate according to RCC PERxLPEN.
When the CPU1 enters CSleep with WFE, the CPU1 subsystem allocated peripheral clocks operate as in CPU1 CRun mode, irrespective of RCC PERxLPEN. - • CStop
CPU and CPU subsystem peripheral clocks are stalled. The peripherals in autonomous mode can be clocked (independent clock request capability).
D1 domain modes
- • DRun
The CPU is clocked. The domain CPU subsystem is in CRun or CSleep mode. - • DStop1
LPDS_D1 in PWR_CPU1CR selects Stop. The CPU clock is stalled. The domain CPU subsystem is in CStop mode and PDDS_D1 in PWR_CPU1CR selects Stop. - • DStop2
LPDS_D1 in PWR_CPU1CR selects LP-Stop. LVDS_D1 in PWR_CPU1CR selects normal voltage. The CPU clock is stalled. The domain CPU subsystem is in CStop mode and PDDS_D1 in PWR_CPU1CR selects DStop. - • DStop3
LPDS_D1 and LVDS_D1 in PWR_CPU1CR select LPLV-Stop. The CPU clock is stalled. The domain CPU subsystem is in CStop mode and PDDS_D1 in PWR_CPU1CR selects DStop. - • DStandby
The domain is power down. The domain CPU subsystem is in CStop mode and PDDS_D1 in PWR_CPU1CR selects DStandby.
D3 domain modes
- • SRun1
The domain bus matrix is clocked by system clocks. The CPU subsystem is in CRun or CSleep, and the system D2 domain is in Run1/2. - • SRun2
The domain bus matrix is clocked by a local clock. The CPU subsystem is in CRun or CSleep and the system D2 domain is in Stop1/2.
- • SRun3
The domain bus matrix is clocked by a local clock. The CPU subsystem is in CRun or CSleep. The system D2 domain is in one of the following configurations:- – LP-Stop1/2 or LPLV-Stop1/2
- – Standby and PDDS_D3 in PWR_D3CR does not select SStandby
- • SStop1
The domain bus matrix may be stalled if clock is not requested by autonomous peripherals. The CPU subsystem is in CStop and the system D2 domain is in Stop1/2. - • SStop2
The domain bus matrix may be stalled if clock is not requested by autonomous peripherals. The CPU subsystem is in CStop. The system D2 domain is in one of the following configurations:- – LP-Stop1/2 or LPLV-Stop1/2
- – Standby and PDDS_D3 in PWR_D3CR does not select SStandby.
- • SStandby
The domain is power down. All CPU subsystems are in CStop. The system D2 domain is in Standby, and the PDDS_D3 in PWR_D3CR selects SStandby.
System D2 modes
- • Run1
The system clock and bus matrix clocks run. CPU1 and/or CPU2 subsystems are in CRun or CSleep. The Run mode is entered after a POR reset and a wake-up from Standby. - • Run2
The system clock and bus matrix clocks run. The D1 domain is in power down. The CPU2 subsystem is in CRun or CSleep. The CPU1 subsystem is in CStop, and PDDS_D1 in PWR_CPU1CR selects DStandby. - • Stop1, LP-Stop1, LPLV-Stop1
The system clock and D2 bus matrix clocks are stalled. The D3 bus matrix can be clocked (local oscillators) if requested by an autonomous peripheral, or if the CPU3 subsystem is in CRun or CSleep. CPU1 and CPU2 subsystems are in CStop, and PDDS_D1 in PWR_CPU1CR selects DStop. At least one PDDS_D2 in PWR_CPU1CR and PWR_CPU2CR select Stop mode. - • Stop2/LP-Stop2/LPLV-Stop2
The system clock and D2 bus matrix clocks are stalled. The D1 domain is in power down. The D3 bus matrix can be clocked (local oscillators) if requested by an autonomous peripheral, or if the CPU3 subsystem is in CRun or CSleep. CPU1 and CPU2 subsystems are in CStop, and PDDS_D1 in PWR_CPU1CR selects DStandby. At least one PDDS_D2 in PWR_CPU1CR and PWR_CPU2CR select Stop mode. - • Standby1
The system is powered down. The D3 bus matrix may be clocked (local oscillators) if requested by an autonomous peripheral, or if the CPU3 subsystem is in CRun or CSleep. CPU1 and CPU2 subsystems are in CStop mode, and PDDS_D1 in PWR_CPU1CR selects DStandby. PDDS_D2 in PWR_CPU1CR and PWR_CPU2CR select Standby. PDDS_D3 in PWR_D3CR does not select SStandby.
- • Standby2
The system is powered down. The D3 domain is also in power down. All CPU subsystems are in CStop. PDDS_D1 in PWR_CPU1CR selects DStandby. PDDS_D2 in PWR_CPU1CR and PWR_CPU2CR select Standby. PDDS_D3 in PWR_D3CR selects SStandby.
Note: In Run modes, the power consumption can be reduced by gating the clocks to AHBx and APBx peripherals when they are unused, with PERxEN.
PWR CPU1 low-power mode summary
The CPU1 system supports the following low-power modes:
Table 90. CPU1 low-power mode summary
| CPU1 | Processor0 | Processor1 | L2 | Entry(1) | Wake-up | clk | Processor0 clk | Processor1 clk | Periph bus clk |
|---|---|---|---|---|---|---|---|---|---|
| CRun | P0RUN | P1RUN | L2RUN | - | - | ON | ON | ON | ON |
| P0RUN | P1STOP | WFE | CPU1 processor1 interrupt, or event, or reset | OFF | |||||
| WFI | CPU1 processor1 interrupt or reset | ||||||||
| P0STOP | P1RUN | WFE | CPU1 processor0 interrupt, or event, or reset | OFF | ON | ||||
| WFI | CPU1 processor0 interrupt, or reset | OFF | |||||||
| CSleep | P0STOP | P1STOP | L2STOP | WFE(2) | CPU1(3) interrupt, or event, or reset | OFF | OFF | OFF | ON/OFF(5) |
| STPREQ_P[1:0] ≠ 0b11 WFI(4) | CPU1(3) interrupt or reset | ||||||||
| CStop | STPREQ_P[1:0] = 0b11 WFI(4) | CPU1(3) EXTI interrupt or reset | OFF | OFF | OFF | OFF | |||
- 1. For STPREQ_P[1:0] register bits functionality refer to the RCC. WFI = wait for interrupt. WFE = wait for event.
- 2. At least one CPU1 processor is in WFE, and the other CPU1 processor is in WFE or WFI.
- 3. Wakes up the respective processor associated with the event or interrupt.
- 4. All CPU1 processors are in WFI.
- 5. CPU1 subsystem peripherals having a PERxLPEN bit operate accordingly.
PWR CPU2 low-power mode summary
Table 91. CPU2 low-power mode summary
| CPU2 | Entry | Wake-up | CPU2 clk | CPU2 periph bus clk |
|---|---|---|---|---|
| CRun | - | - | ON | ON |
| CSleep | Cortex-M33 SCR SLEEPDEEP = 0, WFE | Any CPU2 interrupt or event or reset | OFF | ON/OFF(1) |
| Cortex-M33 SCR SLEEPDEEP = 0, WFI or return from ISR | Any CPU2 interrupt or reset | |||
| CStop | Cortex-M33 SCR SLEEPDEEP = 1, WFE | Any CPU2 EXTI interrupt, or event, or reset | OFF | |
| Cortex-M33 SCR SLEEPDEEP = 1, WFI or return from ISR | Any CPU2 EXTI interrupt or reset |
1. CPU2 subsystem peripherals having a PERxLPEN bit operate accordingly.
PWR CPU3 low-power mode summary
Table 92. CPU3 low-power mode summary
| CPU3 | Entry | Wake-up | CPU3 clk | CPU3 periph bus clk |
|---|---|---|---|---|
| CRun | - | - | ON | ON |
| CSleep | Cortex-M0+ SCR SLEEPDEEP = 0, WFE | Any CPU3 interrupt or event or reset | OFF | ON/OFF(1)(2) |
| Cortex-M0+ SCR SLEEPDEEP = 0, WFI or return from ISR | Any CPU3 interrupt or reset | |||
| CStop(2) | Cortex-M0+ SCR SLEEPDEEP = 1, WFE | Any CPU3 EXTI interrupt, or event, or reset | ON/OFF(3) | |
| Cortex-M0+ SCR SLEEPDEEP = 1, WFI or return from ISR | Any CPU3 EXTI interrupt or reset |
1. CPU3 subsystem peripherals having a PERxLPEN bit operate accordingly.
2. CStop mode is assumed when the CPU3 is not enabled.
3. CPU3 subsystem peripherals may be clocked if requested by their own independent clock request capability.
PWR system low-power mode summary
The system low-power modes are derived from the CPU1, CPU2 and CPU3 low-power modes.
Table 93. System low-power modes
| System D2 domain | D1 domain | D3 domain | CPU1 | CPU2 | CPU3 | Wake-up | System clk | D3 oscillator | VDDCCPU | VDDGPU | VDDCORE |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Run1 | DRun | SRun1 | CRun or CSleep | CRun or CSleep | CRun, CSleep, or CStop | See Table 94 | ON | ON | ON | ON (nominal/overdrive) | |
| DStop1 | CStop | CStop | OFF | ||||||||
| Run2 | DStandby | CStop and PDDS_D1=1 | CRun or CSleep | ON | |||||||
| Stop1(1) | DStop1 | SRun2 or SStop1 | CStop | CStop | OFF | ON/OFF | ON | ON (nominal/overdrive) / OFF | |||
| Stop2 | DStandby | CStop and PDDS_D1 = 1 | OFF | ||||||||
| LP-Stop1(1) | DStop2 | SRun3 or SStop2 | CStop and LPDS_D1=1(2) | CStop and LPDS_D2=1(3) | ON | ||||||
| LP-Stop2 | DStandby | CStop and PDDS_D1=1 | OFF | ||||||||
| LPLV-Stop1(1) | DStop3 | CStop and LPDS_D1=1(2) and LVDS_D1=1(4) | CStop and LPDS_D2=1(2) and LVDS_D2=1(5) | ON (reduced) | |||||||
| LPLV-Stop2 | DStandby | CStop and PDDS_D1=1 | OFF | ||||||||

Table 93. System low-power modes (continued)
| System D2 domain | D1 domain | D3 domain | CPU1 | CPU2 | CPU3 | Wake-up | System clk | D3 oscillator | VDDCCPU | VDDGPU | VDDCORE |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Standby1 | DStandby | SRUN3 or SStop2 | CStop and PDDS_D1=1 | CStop and PDDS_D2=1 | CRUN, CSleep, or CStop | See Table 94 | OFF | ON/OFF | OFF | OFF | OFF |
| Standby2 | DStandby | SStandby | CStop and PDDS_D3=1 | WKUP pins, RTC alarm, RTC wake-up, RTC tamper events, or application reset (such as NRST, IWDG) | OFF |
- 1. At least one PDDS_Dn in PWR_CPU1CR and PWR_CPU2CR selects Stop.
- 2. LPDS_D1 in PWR_CPU1CR selects LP-Stop.
- 3. LPDS_D2 in PWR_CPU2CR selects LP-Stop.
- 4. LVDS_D1 in PWR_CPU1CR selects LPLV-Stop.
- 5. LVDS_D2 in PWR_CPU2CR selects LPLV-Stop.
Table 94. Functionalities depending on system operating mode
| Peripheral(1) | Run1/Run2 | Stop1/2 and LP-Stop1/2 | LPLV-Stop1/2 | Standby1 | Standby2 | VBAT | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| - | Wake-up capability | - | Wake-up capability | - | Wake-up capability | - | Wake-up capability | |||
| CPU1 | Y/- | R/- | - | R/- | - | - | - | - | - | - |
| CPU2 | Y | R | - | R | - | - | - | - | - | - |
| CPU3 | O | O | O | O | O | O | O | - | - | O |
| GPU/NPU(13) | O | O | - | O | - | - | - | - | - | - |
| DBG | O | O | O | O | O | O | O | - | - | O |
| ROM memory | Y | R | - | R | - | - | - | - | - | - |
| RAMCFG | O | R | - | R | - | - | - | - | - | - |
| SYSRAM | O | R | - | R | - | - | - | - | - | - |
| VDERAM | O | R | - | R | - | - | - | - | - | - |
| SRAM1 | O | O(3) | - | R | - | - | - | - | - | - |
| SRAM2 | O | O(3) | - | R | - | - | - | - | - | - |
| BKPSRAM | O | O | - | R | - | O(2) | - | O(2) | - | O(2) |
| RETSRAM | Y | O(3) | - | R | - | O(2) | - | O(2) | - | O(2) |
| LPSRAM1 | O | O(3) | - | O(3) | - | O(3) | - | O(2) | - | O(2) |
Table 94. Functionalities depending on system operating mode (continued)
| Peripheral(1) | Run1/Run2 | Stop1/2 and LP-Stop1/2 | LPLV-Stop1/2 | Standby1 | Standby2 | VBAT | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| - | Wake-up capability | - | Wake-up capability | - | Wake-up capability | - | Wake-up capability | |||
| LPSRAM2 | O | O(3) | - | O(3) | - | O(3) | - | - | - | O |
| LPSRAM3 | O | O(3) | - | O(3) | - | O(3) | - | - | - | - |
| DDRCTRL | O | R | - | R | - | - | - | - | - | - |
| OCTOSPIx (x = 1, 2) | O | R | - | R | - | - | - | - | - | - |
| OCTOSPIM | O | R | - | R | - | - | - | - | - | - |
| OTFDECx(13) (x = 1, 2) | O | R | - | R | - | - | - | - | - | - |
| FMC | O | R | - | R | - | - | - | - | - | - |
| Backup registers | Y | R | - | R | - | R | - | R | - | R |
| Brownout reset (BOR) | Y | Y | Y | Y | Y | Y | Y | Y | Y | - |
| Programmable voltage detector (PVD) | O | O | O | O | O | - | - | - | - | - |
| Peripheral voltage monitor (PVM) | O | O | O | O | O | - | - | - | - | - |
| V08CAPH/V08CAPL monitoring | O | O | O | O | O | O | O | O | O | O |
| TEMPH/TEMPL monitoring | O | O | O | O | O | O | O | O | O | O |
| LPDMA | O | O | O(4) | O | O(4) | O | O(4) | - | - | - |
| HPDMAx (x = 1, 2, 3) | O | O | O(5) | R | - | - | - | - | - | - |
| High-speed internal (HSI) | O | O(6) | - | - | - | - | - | - | - | - |
| High-speed external (HSE) | O | - | - | - | - | - | - | - | - | - |
| Low-speed internal (LSI) | O | O | - | O | - | O | - | - | - | O |
| Low-speed external (LSE) | O | O | - | O | - | O | - | - | - | O |
| Multi-speed internal (MSI) | O | O | - | O | - | O | - | - | - | O |
| HSE CSS clock security system | O | - | - | - | - | - | - | - | - | - |
| LSE CSS clock security system | O | O | O | O | O | O | O | O | O | O |
| HSI frequency monitoring | O | O | O | - | - | - | - | - | - | - |
| RTC/auto wake-up | O | O | O | O | O | O | O | O | O | O |
| USBH | O | R | O | R | - | - | - | - | - | - |
| USB3DR | O | R | O | R | - | - | - | - | - | - |
| UCPD1 | O | R | O | R | - | - | - | - | - | - |
Table 94. Functionalities depending on system operating mode (continued)
| Peripheral(1) | Run1/Run2 | Stop1/2 and LP-Stop1/2 | LPLV-Stop1/2 | Standby1 | Standby2 | VBAT | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| - | Wake-up capability | - | Wake-up capability | - | Wake-up capability | - | Wake-up capability | |||
| PCIE | O | R | - | R | - | - | - | - | - | - |
| SDMMCx (x = 1, 2, 3) | O | R | - | R | - | - | - | - | - | - |
| FDCANx(13) (x = 1, 2, 3) | O | R | - | R | - | - | - | - | - | - |
| ETHx (x = 1,2 (13)) | O | R | O | R | - | - | - | - | - | - |
| ETHSW(13) | O | R | - | R | - | - | - | - | - | - |
| USARTx (x = 1 to 9) | O | O(7) | O(7) | R | - | - | - | - | - | - |
| LPUART1 | O | O(7) | O(7) | O(7) | O(7) | O(7) | O(7) | - | - | - |
| I2Cx (x = 1 to 7) | O | O(8) | O(8) | R | - | - | - | - | - | - |
| I2C8 | O | O(8) | O(8) | O(8) | O(8) | O(8) | O(8) | - | - | - |
| I3Cx (x = 1, 2, 3) | O | O(9) | O(9) | R | - | - | - | - | - | - |
| I3C4 | O | O(9) | O(9) | O(9) | O(9) | O(9) | O(9) | - | - | - |
| SPIx (x = 1 to 7) | O | O(10) | O(10) | R | - | - | - | - | - | - |
| SPI8 | O | O(10) | O(10) | O(10) | O(10) | O(10) | O(10) | - | - | - |
| SAIx (x = 1 to 4) | O | R | - | R | - | - | - | - | - | - |
| MDF1 | O | O(11) | - | R | - | - | - | - | - | - |
| ADF1 | O | O(11) | O(11) | O(11) | O(11) | O(11) | O(11) | - | - | - |
| DCMI | O | R | - | R | - | - | - | - | - | - |
| PSSI | O | R | - | R | - | - | - | - | - | - |
| DCMIPP | O | R | - | R | - | - | - | - | - | - |
| HDP | O | R | - | R | - | - | - | - | - | - |
| VDEC | O | R | - | R | - | - | - | - | - | - |
| VENC | O | R | - | R | - | - | - | - | - | - |
| DSI | O | R | - | R | - | - | - | - | - | - |
| LTDC | O | R | - | R | - | - | - | - | - | - |
| LVDS(13) | O | R | - | R | - | - | - | - | - | - |
| ADCx (x = 1, 2, 3) | O | R | - | R | - | - | - | - | - | - |
| VREFBUF | O | R | - | R | - | - | - | - | - | - |
| DTS | O | R | O | R | - | - | - | - | - | - |
| STGEN | O | R | - | R | - | - | - | - | - | - |
| TIMx (x = 1 to 8, 10 to 17, 20) | O | R | - | R | - | - | - | - | - | - |
| LPTIMx (x = 1, 2) | O | O(12) | O(12) | R | - | - | - | - | - | - |
Table 94. Functionalities depending on system operating mode (continued)
| Peripheral(1) | Run1/Run2 | Stop1/2 and LP-Stop1/2 | LPLV-Stop1/2 | Standby1 | Standby2 | VBAT | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| - | Wake-up capability | - | Wake-up capability | - | Wake-up capability | - | Wake-up capability | |||
| LPTIMy (y = 3, 4, 5) | O | O(12) | O(12) | O(12) | O(12) | O(12) | O(12) | - | - | - |
| IWDGx (x = 1, 2, 3, 4) | O | O | O | O | O | O | O | O | O | - |
| IWDG5 | O | O | O | O | O | O | O | O | O | O |
| WWDG1 | O | R | - | R | - | - | - | - | - | - |
| WWDG2 | O | O | O | O | O | O | O | - | - | - |
| RNG | O | R | - | R | - | - | - | - | - | - |
| SAES | O | R | - | R | - | - | - | - | - | - |
| CRYPx(13) (x = 1, 2) | O | R | - | R | - | - | - | - | - | - |
| HASH | O | R | - | R | - | - | - | - | - | - |
| CRC | O | R | - | R | - | - | - | - | - | - |
| IPCC1 | O | R | - | R | - | - | - | - | - | - |
| IPCC2 | O | O | O | O | O | O | O | - | - | - |
| HSEM | O | O | O | O | O | O | O | - | - | - |
| GPIOs | O | O | O | O | O | O 10 pins | O 16 pins | - | O 6 pins | - |
| TAMP (number of tamper pins) | 16 | 16 | O | 16 | O | 16 | O | 16 | O | 16 |
- Legend: Y = Yes (Enable), O = Optional (Disable by default. Can be enabled by software), R = data/state retained, - = not available, wake-up highlighted in gray.
- The BKPSRAM, RETSRAM and LPSRAM1 content can optionally be retained when enabled.
- SRAM1, SRAM2 and RETRAM can be accessed by HPDMA in Stop1/2 and LP-Stop1/2 modes. LPSRAM1/2/3 can be accessed by LPDMA in Stop1/2, LP-Stop1/2, LPLV-Stop1/2 and Standby1 modes.
- LPDMA transfers are functional and autonomous in Stop1/2, LP-Stop1/2, LPLV-Stop1/2 and Standby1 modes, and generate a wake-up interrupt on transfer events.
- HPDMA transfers are functional and autonomous in Stop1/2, and LP-Stop1/2 modes, and generate a wake-up interrupt on transfer events.
- Some peripherals with wake-up from Stop capability can request HSI to be enabled. In this case, HSI is woken up by the peripheral, and only feeds the peripheral which requested it. HSI is automatically put off when the peripheral does not need it anymore.
- USART and LPUART reception and transmission are functional and autonomous in low-power modes in asynchronous, and in SPI master modes, and generate a wake-up interrupt on transfer events.
- I2C reception and transmission are functional and autonomous in low-power modes, and generate a wake-up interrupt on transfer events.
- I3C reception and transmission are functional and autonomous in low-power modes, and generate a wake-up interrupt on transfer events.
- SPI reception and transmission are functional and autonomous in low-power modes, and generate a wake-up interrupt on transfer events.
- MDF1 and ADF1 are functional and autonomous in low-power modes, and generate a wake-up interrupt on events.
- LPTIM is functional and autonomous in low-power modes, and generates a wake-up interrupt on events.
13. Not present on all device part numbers (see the related datasheet for more information).
20.5.2 PWR power modes
The power control handles \(V_{DDCORE}\) and \(V_{DDCPU}\) supplies for system modes. The system operating mode depends on the individual CPU subsystem modes, and on the domain modes.
D1 domain power modes
- • In DRun, \(V_{DDCPU}\) is supplied.
- • In DStop1, \(V_{DDCPU}\) is supplied, and the external regulator is kept in main mode.
- • In DStop2, \(V_{DDCPU}\) is supplied and the external regulator is switched in low-power mode.
- • In DStop3, \(V_{DDCPU}\) may be supplied at a lower level.
- • In DStandby, \(V_{DDCPU}\) is switched off.
D3 domain power modes
- • In SRun1, SRun2 and SStop1, the domain is supplied by \(V_{DDCORE}\).
- • In SRun3 and SStop2, the domain is supplied by the internal backup regulator.
- • In SStandby, the domain is switched off.
System D2 power modes
- • In Run, \(V_{DDCORE}\) is supplied. \(V_{DDCPU}\) is supplied (Run1) or switched off (Run2).
- • In Stop, \(V_{DDCORE}\) is supplied. \(V_{DDCPU}\) is supplied (Stop1) or switched off (Stop2).
- • In LP-Stop, \(V_{DDCORE}\) is supplied and the external regulator is switched in low-power mode. \(V_{DDCPU}\) is supplied (LP-Stop1) or switched off (LP-Stop2).
- • In LPLV-Stop, \(V_{DDCORE}\) can be supplied at a lower level. \(V_{DDCPU}\) can be also supplied at a lower level (LPLV-Stop1) or switched off (LPLV-Stop2).
- • In Standby, \(V_{DDCORE}\) and \(V_{DDCPU}\) are switched off. The D3 domain can be supplied by the internal backup regulator (Standby1) or switched off (Standby2).
PWR_CPU_ON and PWR_ON are used to control the external regulators supplying the D1 domain (\(V_{DDCPU}\)) and the system D2 domain (\(V_{DDCORE}\)). PWR_LP is used to notify low-power Stop mode selection for both external regulators.
If the same external regulator is used to supply \(V_{DDCORE}\) and \(V_{DDCPU}\), only PWR_ON/PWR_LP must be used.
Table 95. External regulators control
| D2 system mode | D1 domain mode | PWR_CPU_ON | PWR_LP | PWR_ON | ||
|---|---|---|---|---|---|---|
| LPCFG_D1 = 0 | LPCFG_D1 = 1 | LPCFG_D2 = 0 | LPCFG_D2 = 1 | |||
| Run1 | DRun | 1 | 1 | 1 | 1 | 1 |
| DStop1 | 1 | 1 | 1 | 1 | 1 | |
| Run2 | DStandby | 0(1) | 0(1) | 1 | 1 | 1 |
| Stop1 | DStop1 | 1 | 1 | 1 | 1 | 1 |
| Stop2 | DStandby | 0(1) | 0(1) | 1 | 1 | 1 |
| LP-Stop1/LPLV-Stop1 | DStop2/3 | 1 | 0 | 0(2) | 1 | 0(2) |
| LP-Stop2/LPLV-Stop2 | DStandby | 0(1) | 0 | 0(2) | 1 | 0(2) |
| Standby1/2 | DStandby | 0(1) | 0(1) | 0(3) | 0(3) | 0(3) |
- 1. A guaranteed minimum PWR_CPU_ON pulse low time can be defined by POPL_D bits in PWR_D1CR.
- 2. Setting POPL_D2 bits in PWR_D2CR has no impact on LP-Stop/LPLV-Stop PWR_ON and PWR_LP pulse low time.
- 3. A guaranteed minimum PWR_ON and PWR_LP pulse low time can be defined by POPL_D bits in PWR_D2CR.
In LP-Stop1 and LPLV-Stop1 modes the PWR_CPU_ON is kept asserted or may be deasserted according to LPCFG_D1 in PWR_D1CR. In LP-Stop1/2 and LPLV-Stop1/2 modes, the PWR_ON is kept asserted or may be deasserted according to LPCFG_D2 in PWR_D2CR.
The definition (power off or low-power mode) of PWR_ON/PWR_CPU_ON must have been defined in the external regulator before entering LP-Stop/LPLV-Stop.
Figure 76. Power states and external regulator control
MSv67427V1
The system mode selection between Stop, LP-Stop or LPLV-Stop, and Standby is controlled by PDDS_D1 and PDDS_D2 in PWR_CPU1CR and PWR_CPU2CR. The system only enters Standby1/2 when these two bits allow so.
Table 96. PDD low-power mode control| CPU1 PDDS_D1 | CPU1 PDDS_D2 | CPU2 PDDS_D2 | PDDS_D3 | System operation mode |
|---|---|---|---|---|
| 0 | X | X | X | Stop1, LP-Stop1, LPLV-Stop1 |
| 1 | X | 0 | X | Stop2, LP-Stop2, LPLV-Stop2 |
| 1 | 0 | X | X | Stop2, LP-Stop2, LPLV-Stop2 |
Table 96. PDD low-power mode control (continued)
| CPU1 PDDS_D1 | CPU1 PDDS_D2 | CPU2 PDDS_D2 | PDDS_D3 | System operation mode |
|---|---|---|---|---|
| 1 | 1 | 1 | 0 | Standby1 |
| 1 | 1 | 1 | 1 | Standby2 |
Figure 77. Detailed state diagram of power control modes

The diagram illustrates the power control modes and transitions for a system with two CPUs and multiple domains. The states are categorized into CPU subsystem modes (white boxes), System D2 domain modes (grey boxes), and Domains modes (colored boxes: green for D3 SRun, orange for D1 DStop, red for D1 DStandby).
- Run1: CPU1 and CPU2 are in CRun or CSleep. Domains D1 and D3 are in DRun and SRun1 respectively. Transitions to Run2 are triggered by PDDS_D1 selecting DStandby.
- Run2: CPU1 is in CStop, CPU2 is in CRun or CSleep. Domains D1 and D3 are in DStandby and SRun1 respectively. Transitions to Stop1/2 are triggered by PDDS_D1 selecting DStandby.
- Stop1/LP-Stop1/LPLV-Stop1: Both CPUs are in CStop. Domains D1 and D3 are in DStop1/2/3 and SRun2/3 or SStop1/2 respectively.
- Stop2/LP-Stop2/LPLV-Stop2: Both CPUs are in CStop. Domains D1 and D3 are in DStandby and SRun2/3 or SStop1/2 respectively.
- Standby1: CPU1 is in CStop, CPU2 is in CStop. Domains D1 and D3 are in DStandby and SRun3 or SStop2 respectively.
- Standby2: Both CPUs are in CStop. Domains D1 and D3 are in DStandby and SStandby respectively.
Transitions are labeled with signals such as c1_reset, c1_wakeup, c2_cstop, c2_wakeup, c3_wakeup, and c3_cstop. A legend at the bottom identifies the box types: white for CPU subsystem modes, grey for System D2 domain modes, and colored for Domains modes.
Note 1: After a wakeup from Standby1/2, the system can restart in the same way as after a power-on reset (legacy mode). Only the CPU1 boots. The CPU2 is kept in HOLD_BOOT by the RCC (see also reference RCC processor hold from Standby). Whenever The CPU2 is in HOLD_BOOT, it does not prevent the system to enter Stop1/2, LP-Stop1/2, LPLV-Stop1/2 or Standby1/2.
MSv67429V1
The power control state transitions are initiated by (referring to Figure 77):
- • CPU1 or CPU2 going to CStop
- – Green transitions: the system stays in Run modes (Run1 or Run2).
- – Blue line transitions: the system enters Stop1/2, LP-Stop1/2 or LPLV-Stop1/2.
- – Red transitions: the system enters Standby1/2.
- • D1 going to DStandby
- – Dotted red line transitions: The system mode entered depends also on CPU2. The system enters Run2 when CPU2 is in CRun or CSleep. The system enters Stop2, LP-Stop2 or LPLV-Stop2 when CPU2 is in CStop.
- • CPU3 going to CStop
- – Green transitions: the system stays in the same mode.
- • Wake-up event
- – Green transitions: CPU1 or CPU2 wake up as from CSleep. CPU3 wakes up as from CSleep.
- – Blue transitions: CPU1 or CPU2 wake up from CStop. STOPF is set in PWR_CPU1CR and PWR_CPU2CR.
- – Dotted red line transitions: D1 wakes up from DStandby. SBF_D1 is set in PWR_CPU1CR.
When the system remains in Run modes, no additional flags are set.
When the system wakes up from Stop2, LP-Stop2 or LPLV-Stop2, STOPF is also set in PWR_CPU1CR. - – Red transitions: CPU1 and CPU2 wake up from Standby1/2. SBF_D1/2 are set. SBF_D3 is additionally set in PWR_CPU1CR and PWR_CPU2CR if CPU1 and CPU2 wake up from Standby2.
The flags provided to determine from which mode the system exits are shown in the table below. CPU1 and CPU2 have their own set of flags which can be read from PWR_CPU1CR and PWR_CPU2CR. CPU1 and CPU2 have their own reset bit CSSF to clear their wake-up flags. CPU1 and CPU2 CSSF bits are located in the same register as CPU1 and CPU2 flags.
Table 97. Low-power mode exit flags
| System D2 mode | D1 domain | D3 domain | SBF_D1 | SBF_D2 | SBF | SBF_D3 | STOPF | VBF | Comment |
|---|---|---|---|---|---|---|---|---|---|
| Run1 | DRun/DStop1 | SRun1 | 0 | 0 | 0 | 0 | 0 | 0 | Retained system contents |
| Run2 | DStandby | SRun1 | 1 | 0 | 0 | 0 | 0 | 0 | Lost D1 contents. Retained system contents. |
| Stop1 LP-Stop1 LPLV-Stop1 | DStop1/2/3 | SRun2/3 SStop1/2 | 0 | 0 | 0 | 0 | 1 | 0 | Retained system contents. System clock stopped. |
| Stop2 LP-Stop2 LPLV-Stop2 | DStandby | SRun2/3 SStop1/2 | 1 | 0 | 0 | 0 | 1 | 0 | Lost D1 contents. Retained system contents. System clock stopped. |
| System D2 mode | D1 domain | D3 domain | SBF_D1 | SBF_D2 | SBF | SBF_D3 | STOPF | VBF | Comment |
|---|---|---|---|---|---|---|---|---|---|
| Standby1 | DStandby | SRUN3/SStop2 | 1 | 1 | 1 | 0 | 0 | 0 | Lost system contents |
| Standby2 | DStandby | SStandby | 1 | 1 | 1 | 1 | 0 | 0 | |
| VBAT | NA | NA | 0 | 0 | 0 | 0 | 0 | 1 |
20.5.3 Low-power batch acquisition mode (LPBAM)
The devices support Low-power batch acquisition mode (LPBAM), which allows peripherals to be functional and autonomous in low-power modes (without any software running).
Stop1/2, LP-Stop1/2 modes
In Stop1/2 and LP-Stop1/2 modes, the autonomous peripherals are: LPTIMx (x = 1 to 5), USARTx (x = 1 to 9), LPUART1, SPIx (x = 1 to 8), I2Cx (x = 1 to 8), I3Cx (x = 1 to 4), MDF1, ADF1, HPDMAx (x = 1 to 3) and LPDMA1.
- • LPTIMx (x = 3 to 5), LPUART1, SPI8, I2C8, I3C4, and ADF1 are autonomous only with LPDMA1 and LPSRAM1, LPSRAM2 and LPSRAM3. GPIOZ can be also accessed by the LPDMA1.
- • LPTIM1, LPTIM2, USARTx (x = 1 to 9), SPIx (x = 1 to 7), I2Cx (x = 1 to 7), I3Cx (x = 1 to 3), and MDF1 are autonomous only with HPDMAx (x = 1 to 3), SRAM1, SRAM2, and RETRAM. GPIOA-K can be also accessed by the HPDMAx (x = 1 to 3).
LPLV-Stop1/2 and Standby1 modes
In LPLV-Stop1/2 and Standby1 (D3 in SStop2) modes, the autonomous peripherals are: LPTIMx (x = 3 to 5), LPUART1, SPI8, I2C8, I3C4, ADF1, and LPDMA1. In this mode, LPSRAM1, LPSRAM2, and LPSRAM3 can be accessed by the LPDMA1. GPIOZ can be also accessed by the LPDMA1.
LPBAM features
These autonomous peripherals support the following features:
- • Functionality in Stop mode thanks to their own independent clock (named kernel clock) request capability: the peripheral kernel clock is automatically switched on when requested by a peripheral, and automatically switched off when no peripheral requests it.
- • DMA transfers supported in Stop mode thanks to system clock request capability: the system clock (HSI in Stop1/2, LP-Stop1/2, MSI, LSI or LSE in LPLV-Stop1/2 and Standby 1) automatically switched on when requested by a peripheral, and automatically switched off when no peripheral requests it. When the system clock is requested by an autonomous peripheral, the system clock is woken up and distributed to all autonomous peripherals, and to all GPIOs enabled in the RCC. This allows the
DMA to access the enabled SRAM, and any enabled peripheral register (for instance any autonomous peripherals or GPIO registers).
- • Automatic start of the peripheral thanks to hardware synchronous or asynchronous triggers (such as I/Os edge detection and low-power timer event).
- • Wake-up from Stop mode with peripheral interrupt: the HPDMAs and LPDMA1 are fully functional and the linked-list is updated in Stop mode, allowing the different DMA transfers to be linked without any CPU wake-up. This can be used to chain different peripheral transfers, or to write peripheral registers in order to change their configuration while remaining in Stop mode.
The DMA transfers from memory-to-memory can be started by hardware synchronous or asynchronous triggers. The DMA transfers between peripherals and memories can also be gated by these triggers.
Here below some examples of use-cases that can be done while remaining in Stop mode:
- • I2C slave reception or transmission, SPI reception, UART/LPUART reception
- – wake-up at the end of peripheral transfer or on DMA buffer event
- • I2C master transfer, SPI transmission, UART/LPUART transmission, triggered by a low-power trigger (or any other trigger)
- – example: sensor periodic read
- – wake-up at the end of peripheral transfer or on DMA buffer event
- • Data transfer from/to GPIO to/from SRAM:
- – to control external components
- – to implement data transmission and reception protocols
20.5.4 PWR system wake-up
From an application reset (such as NRST PAD, IWDG, POR, BOR), the system wakes up the CPU1. The CPU2 is kept in HOLD_BOOT. From this point, the CPU1 boot ROM manages the startup (see Section 21).
From Stop1/2, LP-Stop1/2, LPLV-Stop1/2, and Standby1/2, the system can be configured to wake up CPU1 or CPU2 independently.
20.6 PWR low-power modes
Several low-power modes are available to save power when CPU1 and/or CPU2 do not need to execute code (when waiting for an external event). It is up to the user to select the
mode that gives the best compromise between low-power consumption, short startup time and available wake-up sources:
- • slowing down system clocks (see Section 21)
- • controlling individual peripheral clocks (see Section 21)
- • low-power modes:
- – CSleep (CPU clock stopped)
- – CStop (CPU subsystem clock stopped)
- – D1 DStop1 (CPU subsystem clock stopped, normal mode signaled to external regulator)
- – D1 DStandby (domain power down and wake-up via reset)
- – Stop1, LP-Stop1, and LPLV-Stop1 (system clock stalled, normal or low-power mode signaled to external regulator supplying \(V_{DDCPU}\) and \(V_{DDCORE}\))
- – Stop2, LP-Stop2, and LPLV-Stop2 (system clock stalled, powered-down mode signaled to external regulator supplying \(V_{DDCPU}\). Normal or low-power mode signaled to external regulator supplying \(V_{DDCORE}\)).
- – Standby1 (system powered down and D3 domain in autonomous mode running with local clocks)
- – Standby2 (system and D3 domain in power down)
20.6.1 PWR slowing down CPU and/or bus matrix clocks
In Run mode, the speed of CPU1, CPU2 and/or bus matrix clocks can be reduced (see Section 21 for more details).
20.6.2 PWR controlling peripheral clocks
In Run mode, the bus clock for individual peripherals can be stopped by RCC PERxEN register bits at any time to reduce power consumption.
To reduce power consumption in CSleep mode, the individual peripheral clocks can be disabled by the RCC PERxLPEN register bit. For the peripherals still receiving a clock in CSleep mode, their clock can be slowed down before entering CSleep mode.
20.6.3 PWR entering low-power modes
The CPU1 subsystem low-power modes CSleep and CStop are entered by the CPU1 when executing WFI or WFE instructions.
The CPU2 subsystem low-power modes CSleep and CStop are entered by the CPU2 when executing WFI or WFE instructions, or when SLEEPONEXIT in Cortex-M33 system control register is set on Return from ISR.
The CPU3 subsystem low-power modes CSleep and CStop are entered by the CPU3 when executing WFI or WFE instructions, or when SLEEPONEXIT in Cortex-M0+ system control register is set on Return from ISR.
The D1 domain can enter in DStandby when all EXTI wake-up sources assigned to CPU1 are cleared, and the CPU1 is in CStop.
The system enters to Stop1/2, LP-Stop1/2, LPLV-Stop1/2, or Standby1 when all EXTI wake-up sources are cleared, and both CPU1 and CPU2 are in CStop.
The system enters in Standby2 when all EXTI wake-up sources are cleared, and all CPUs are in CStop.
20.6.4 PWR exiting from low-power modes
From CSleep mode, CPU1, CPU2, and CPU3 subsystems exit from low-power mode through any interrupt or event, depending on how the low-power mode was entered.
If the WFI instruction or Return from ISR was used to enter low-power mode, any peripheral interrupt acknowledged by the GIC/NVIC can wake up the system.
If the WFE instruction is used to enter low-power mode, CPU1, CPU2 and CPU3 exit from low-power mode as soon as an event occurs. The wake-up event can be generated by one of the following ways:
- • GIC/NVIC IRQ interrupt
- – For CPU1, enable an interrupt in the peripheral control register and in the GIC.
- – Only GIC interrupts with sufficient priority wakes up and interrupt the CPU1.
- – For CPU2 or CPU3, when SEVONPEND = 0 in Cortex-M33/M0+ system control register, enable an interrupt in the peripheral control register and in the NVIC. When CPU2 or CPU3 resumes from WFE, the peripheral interrupt pending bit and the NVIC peripheral IRQ channel pending bit (in the NVIC interrupt clear pending register) have to be cleared.
- – Only NVIC interrupts with sufficient priority wake up and interrupt CPU2 or CPU3.
- – For CPU2 or CPU3, when SEVONPEND = 1 in Cortex-M33/M0+ system control register, enable an interrupt in the peripheral control register and optionally in the NVIC. When CPU2 or CPU3 resumes from WFE, the peripheral interrupt pending bit and when enabled the NVIC peripheral IRQ channel pending bit (in the NVIC interrupt clear pending register) have to be cleared.
All NVIC interrupts wake up CPU2 or CPU3, even the disabled ones.
Only enabled NVIC interrupts with sufficient priority wake up and interrupt the CPU2 or CPU3.
- • Event
For CPU1, CPU2 and CPU3 configuring an EXTI line in event mode, when CPU1, CPU2, or CPU3 resumes from WFE, it is not necessary to clear the EXTI peripheral interrupt pending bit or the GIC/NVIC IRQ channel pending bit, as the pending bits corresponding to the event line are not set. It may be necessary to clear the interrupt flag in the peripheral.
From CStop, when the system is in Stop1, LP-Stop1, and LPLV-Stop1 modes, CPU1 and/or CPU2 subsystems exit from low-power mode only through an enabled EXTI interrupt or event, depending on how the low-power mode was entered.
From CStop, when the system is in Run2, Stop2, LP-Stop2, and LPLV-Stop2, the CPU1 subsystem exits from low-power mode only through an enabled EXTI interrupt. The program execution restarts with a CPU1 reset. The CPU2 subsystem exits from low-power mode through an enabled EXTI interrupt or event, depending on how the low-power mode was entered.
From Standby1, CPU1 and/or CPU2 subsystems exit from low-power mode only through an application reset (such as NRST, IWDG), enabled WKUPx pins, an enabled EXTI2 interrupt.
From Standby2, CPU1 and/or CPU2 subsystems exit from low-power mode only through an application reset (such as NRST, IWDG), enabled WKUPx pins and a RTC event.
In legacy mode, the program execution restarts in the same way as after a power-on reset (such as reset vector fetched). An event, if enabled, can wake up the CPU2 and kept the D1 domain in DStandby. The CPU2 firmware is in charge to restore the secure context of the system before executing application restart.
20.6.5 PWR CSleep mode
The CSleep mode applies only to the CPU subsystems. In CSleep mode, the CPU clock is stopped. The CPU subsystem peripheral clocks operate according to the PERxLPEN bits.
PWR entering to CSleep mode
The CSleep mode is entered according to Section 20.6.3:
- • For CPU1, one of the STPREQ_P[1:0] register bits in RCC is cleared (see Table 98).
- • For CPU2, SLEEPDEEP bit in Cortex-M33 system control register is cleared (see Table 99).
- • For CPU3, SLEEPDEEP bit in Cortex-M0+ system control register is cleared (see Table 100).
PWR exiting from CSleep mode
The CSleep mode is exited according to Section 20.6.4 and the tables below.
Table 98. CPU1 CSleep mode
| CPU1 CSleep | Comments |
|---|---|
| Mode entry | WFI while: – STPREQ_P[1:0] ≠ 0b11 (see Section 21). – CPU1 GIC interrupts and events are cleared. |
| WFE while CPU1 GIC interrupts and events cleared. | |
| Mode exit | If WFI was used for entry, any interrupt enabled in GIC (see Section 33.4). If WFE was used for entry, any interrupt event when disabled in GIC (see Section 33.4), or any event (see Section 20.6.4) |
| Wake-up latency | None |
Table 99. CPU2 CSleep mode
| CPU2 CSleep | Comments |
|---|---|
| Mode entry | WFI or WFE while: – SLEEPDEEP = 0 (see the Cortex-M33 system control register). – CPU2 NVIC interrupts and events are cleared. |
| On return from ISR while: – SLEEPDEEP = 0 and SLEEPONEXIT = 1 (see the Cortex-M33 system control register). – CPU2 NVIC interrupts and events are cleared. |
| Mode exit | If WFI or return from ISR was used for entry, any interrupt enabled in NVIC (see Section 32.3) If WFE was used for entry and SEVONPEND = 0, any event (see Section 20.6.4) If WFE was used for entry and SEVONPEND = 1, any interrupt event disabled in NVIC (see Section 32.3), or any event (see Section 20.6.4). |
| Wake-up latency | None |
| CPU3 CSleep | Comments |
|---|---|
| Mode entry | WFI or WFE while: – SLEEPDEEP = 0 (see the Cortex-M33 system control register). – CPU3 NVIC interrupts and events are cleared. On return from ISR while: – SLEEPDEEP = 0 and SLEEPONEXIT = 1 (see the Cortex-M33 system control register). – CPU3 NVIC interrupts and events are cleared. |
| Mode exit | If WFI or return from ISR was used for entry, any interrupt enabled in NVIC (see Section 32.3) If WFE was used for entry and SEVONPEND = 0, any event (see Section 20.6.4) If WFE was used for entry and SEVONPEND = 1, any interrupt event disabled in NVIC (see Section 32.3), or any event (see Section 20.6.4) |
| Wake-up latency | None |
20.6.6 PWR CStop mode
The CStop mode applies only to the CPU subsystems. In CStop mode, the CPU clock and CPU subsystem peripheral clocks are stopped.
In CStop mode, CPU subsystem peripherals having a kernel clock request are still able to request their kernel clock, when selecting a clock in the RCC, which is able to run in CStop mode.
The D3 peripherals having a kernel and bus clock requests are also able to request their kernel and bus clocks, when the PERxAMEN register bit set in RCC, and selecting MSI, LSI or LSE oscillators.
PWR entering to CStop mode
The CStop mode is entered according to Section 20.6.3:
- • For CPU1, when STPREQ_P[1:0] in RCC are set (see Table 101).
- • For CPU2, when SLEEPDEEP in Cortex-M33 system control register is set (see Table 102)
- • For CPU3, when SLEEPDEEP in Cortex-M0+ system control register is set (see Table 103)
PWR exiting from CStop mode
The CStop mode is exited according to Section 20.6.4 and the tables below.
Table 101. CPU1 CStop mode| CPU1 CStop | Comments |
|---|---|
| Mode entry | WFI while: – STPREQ_P[1:0] = 0b11 (see Section 21) – CPU1 GIC interrupts and events are cleared. – All CPU1 EXTI1-2 wake-up sources are cleared. |
| Mode exit | EXTI1-2 interrupt is enabled in GIC (see Section 33.4) for peripherals which are not stopped. |
| Wake-up latency | EXTI and RCC wake-up synchronization (see Section 21) |
| CPU2 CStop | Comments |
|---|---|
| Mode entry | WFI or WFE while: – SLEEPDEEP = 1 (see Cortex-M33 system control register). – CPU2 NVIC interrupts and events are cleared. – All CPU2 EXTI1-2 wake-up sources are cleared. On return from ISR while: – SLEEPDEEP = 1 and SLEEPONEXIT = 1 (see Cortex-M33 system control register). – CPU2 NVIC interrupts and events are cleared. – All CPU2 EXTI1-2 wake-up sources are cleared. |
| Mode exit | If WFI or return from ISR was used for entry, EXTI1-2 interrupt enabled in NVIC (see Section 32.3) for peripherals which are not stopped If WFE was used for entry and SEVONPEND = 0, EXTI1-2 event (see Section 20.6.4) for peripherals which are not stopped. If WFE was used for entry and SEVONPEND = 1, EXTI1-2 interrupt event when disabled in NVIC (see Section 32.3), or EXTI event (see Section 20.6.4) for peripherals which are not stopped |
| Wake-up latency | EXTI and RCC wake-up synchronization. (see Section 21) |
| CPU3 CStop | Comments |
|---|---|
| Mode entry | WFI or WFE while: – SLEEPDEEP = 1 (see Cortex-M0+ system control register). – CPU3 NVIC interrupts and events are cleared. – All CPU3 EXTI2 wake-up sources are cleared. On return from ISR while: – SLEEPDEEP = 1 and SLEEPONEXIT = 1 (see Cortex-M0+ system control register). – CPU3 NVIC interrupts and events are cleared. – All CPU3 EXTI2 wake-up sources are cleared. |
Table 103. CPU3 CStop mode (continued)
| CPU3 CStop | Comments |
|---|---|
| Mode exit | If WFI or return from ISR was used for entry, EXTI2 interrupt enabled in NVIC (see Section 32.3) for peripherals which are not stopped in D3 domain If WFE was used for entry and SEVONPEND = 0, EXTI2 event (see Section 20.6.4) for peripherals which are not stopped in D3 domain If WFE was used for entry and SEVONPEND = 1, EXTI2 interrupt event when disabled in NVIC (see Section 32.3) or EXTI2 event (see Section 20.6.4) for peripherals which are not stopped in D3 domain |
| Wake-up latency | EXTI and RCC wake-up synchronization (see Section 21) |
20.6.7 PWR D1 DStop1 mode
In DStop1 mode, the domain CPU clock is stalled.
PWR entering to DStop1 mode
The DStop1 mode is entered according to Section 20.6.3 when PDDS_D1 in PWR_CPU1CR selects Stop for the D1 domain.
See Table 104 for details on how D1 domain enters DStop1.
PWR exiting DStop1 mode
The DStop1 mode is exited according to Section 20.6.4. See the table below for more details on how D1 domain exit DStop1. When exiting DStop1 mode, the CPU subsystem clock is the same as when entering DStop1.
Table 104. D1 DStop1 mode
| D1 DStop1 | Comments |
|---|---|
| Mode entry | – When CPU1 subsystem is in CStop mode. – PDDS_D1 = 0 in PWR_CPU1CR – LPDS_D1 = 0 in PWR_CPU1CR. |
| Mode exit | On an EXTI1-2 wake-up |
| Wake-up latency | Clocks restored, and EXTI and RCC wake-up synchronization (see Section 21) |
20.6.8 PWR D1 DStandby mode
Like the DStop1 mode, the DStandby mode is based on CPU subsystem CStop mode, but the domain supply is powered off.
In DStandby, the domain is powered down and the domain RAM and register contents are lost.
Entering D1 DStandby mode
The D1 DStandby mode is entered according to Section 20.6.3 when PDDS_D1 in PWR_CPU1CR selects Standby.
Refer to Table 105 for details on how D1 domain enters DStandby mode.
Exiting D1 DStandby mode
The DStandby mode is exited according to Section 20.6.4. See the table below for more details on how D1 domain exit DStandby.
When exiting D1 DStandby mode, the domain CPU and peripherals are reset. The state of the CPU subsystem clocks depends on the system mode:
- • When the system did not enter Standby modes, the CPU subsystem clocks are the same as when entering DStandby.
- • When the system entered Standby modes, the CPU subsystem clocks are reset.
Table 105. D1 DStandby mode
| D1 DStandby | Comments |
|---|---|
| Mode entry |
|
| Mode exit |
|
| Wake-up latency |
|
20.6.9 PWR Stop1 mode
The system enters Stop1 mode only when both CPU1 and CPU2 subsystems are in CStop, and EXTI1/2 wake-up sources are inactive. In Stop1 mode, the system clock including any PLL, and the system bus matrix clocks are stopped. The system oscillators operate according to the xxxKERON register bit.
In Stop1 mode, peripherals using the LSI or LSE clock, and peripherals having a kernel clock request, selecting a clock source in the RCC which is able to run in Stop1 mode, are still able to operate.
In system Stop1 mode, the following features can be selected to be kept active by programming individual control bits:
- • Independent watchdog: the IWDG is started by writing to its Key register or by hardware option. Once started, it cannot be stopped except by an application reset (see Section 72).
- • Real-time clock: the RTC is configured by RCC_RTCCFGR.
- • Internal RC oscillator: the LSI RC is configured by LSION in RCC_BDCR.
- • External 32.768 kHz oscillator: the LSE OSC is configured by LSEON in RCC_BDCR.
- • Peripherals can run on the LSI or LSE clock.
- • Peripherals have a kernel clock request.
- • Internal RC oscillators: The HSI, MSI, and HSE oscillators are configured by the corresponding xxxKERON bit in the Section 21: Reset and clock control (RCC)
- • The ADCs can also consume power during Stop mode, unless they are disabled before entering this mode. To disable them, ADON bits in ADC_CR2 register must both be written to 0.
- • Peripherals are included in D3 domain according to the PERxAMEN bit.
PWR entering to Stop1 mode
The Stop1 mode is entered according to Section 20.6.3 when PDDS_D1 in PWR_CPU1CR requests Stop, and at least one of PDDS_D2 bits in PWR_CPU1CR and PWR_CPU2CR requests Stop.
Refer to Table 106 for details on how to enter Stop1 mode.
PWR exiting from Stop1 mode
The Stop mode is exited according to Section 20.6.4. See Table 106 for more details on how to exit Stop1 mode.
When exiting Stop mode, the RCC restores the CPU subsystem and matrix clocks. STOPF flags in PWR_CPU1CR and PWR_CPU2CR indicate that the system has exit Stop.
Table 106. Stop1 mode
| Stop1 | Comments |
|---|---|
| Mode entry |
|
| Mode exit | On an EXTI1/2 wake-up |
| Wake-up latency | Clocks restored, EXTI and RCC wake-up synchronization and PWRLP_TEMPO (see Section 21) |
PWR I/O states in Stop1 mode
In Stop1 mode, all I/O pins keep their configuration.
20.6.10 PWR Stop2 mode
The Stop2 mode is used to save D1 domain power consumption. This mode is equivalent to Stop1 mode in term of available features, but with the D1 in DStandby mode.
The system enters Stop2 mode only when both CPU1 and CPU2 subsystems are in CStop and the EXTI1/2 wake-up sources are inactive.
PWR entering Stop2 mode
The Stop2 mode is entered according to Section 20.6.3 when PDDS_D1 in PWR_CPU1CR requests Standby, and at least one of PDDS_D2 bits in PWR_CPU1CR or PWR_CPU2CR requests Stop.
Refer to Table 107 for details on how to enter Stop2 mode.
PWR exiting from Stop2 mode
The Stop2 mode is exited according to Section 20.6.4. See the table below for more details on how to exit Stop2 mode.
When exiting Stop2 mode, the RCC restores the CPU subsystem and matrix clocks. SBF_D1 in PWR_CPU1CR, and STOPF in PWR_CPU1CR and PWR_CPU2CR indicate that the system has exit Stop2 mode.
Table 107. Stop2 mode
| Stop2 | Comments |
|---|---|
| Mode entry |
|
| Mode exit | On an EXTI1/2 wake-up |
| Wake-up latency | Clocks restored, EXTI and RCC wake-up synchronization and PWRLP_TEMPO (see Section 21) D1 Domain power up and CPU1 reset, CPU1 reboot from boot ROM |
PWR I/O states in Stop2 mode
In Stop2 mode, all I/O pins keep their configuration.
20.6.11 PWR LP-Stop1 and LPLV-Stop1 modes
The LP-Stop1 mode is handled in the same way as Stop1 mode, when LP-Stop mode is selected by LPDS_D1 in PWR_CPU1CR and LPDS_D2 in PWR_CPU2CR. See the table below for more details on how to enter and exit LP-Stop1 mode.
Table 108. LP-Stop1 mode| LP-Stop1 | Comments |
|---|---|
| Mode entry |
|
| Mode exit | On an EXTI1/2 wake-up |
| Wake-up latency | Clock restored, LP-Stop timeout (external regulator to switch to main mode), EXTI and RCC wake-up synchronization and PWRLP_TEMPO (see Section 21) |
LVDS_D1 in PWR_CPU1CR and LVDS_D2 in PWR_CPU2CR are used to select whether \(V_{DDCPU}\) and \(V_{DDCORE}\) supplies during LP-Stop1 mode are kept at Run mode level, or lowered (LP-Stop1 with low-voltage mode).
In LP-Stop1 with low-voltage mode peripherals in D2 domain that can wake up from Stop1 (such as TIM, UART, I2C, SPI), must all be disabled. The DDR retention must be enabled by DDRRETEN in PWR_CR11. The D3 domain is supplied from the internal backup regulator (SStop2) in order to operate even if the D2 domain is in low-voltage mode. See the table below for more details on how to enter and exit LP-Stop1 with low-voltage mode.
Table 109. LPLV-Stop1 mode| LPLV-Stop1 | Comments |
|---|---|
| Mode entry |
|
| Mode exit | On an EXTI1/2 wake-up |
| Wake-up latency | Clock restored, LPLV-Stop timeout (external regulator to restore Run mode operating supply level), EXTI and RCC wake-up synchronization and PWRLP_TEMPO (see Section 21) |
20.6.12 PWR LP-Stop2 and LPLV-Stop2 modes
The Lp-Stop2 mode is used to save D1 domain power consumption. This mode is equivalent to LP-Stop1 mode but with the D1 in DStandby mode.
The LP-Stop2 mode is handled in the same way as Stop2 mode, when LP-Stop mode is selected by LPDS_D2 register bit in PWR_CPU2CR.
Refer to the table below for more details on how to enter and exit LP-Stop2 mode.
Table 110. LP-Stop2 mode
| LP-Stop2 | Comments |
|---|---|
| Mode entry |
|
| Mode exit | On an EXTI1/2 wake-up |
| Wake-up latency | Clock restored, LP-Stop timeout (external regulator to switch to main mode), EXTI and RCC wake-up synchronization and PWRLP_TEMPO (see Section 21) D1 domain power up and CPU1 reset, CPU1 reboot from boot ROM |
LVDS_D2 in PWR_CPU2CR selects whether VDDCORE supply during LP-Stop2 mode is kept at Run mode level, or lowered (LP-Stop2 with low-voltage mode).
In LP-Stop2 with low-voltage mode the peripherals in D2 domain that can wake up from Stop2 (such as TIM, UART, I2C, SPI), must all be disabled. The DDR retention must be enabled by DDRRETEN in PWR_CR11. The D3 domain is supplied from the internal backup regulator (SStop2) in order to operate even if the D2 domain is in low-voltage mode. See the table below for more details on how to enter and exit LP-Stop2 with low-voltage mode.
Table 111. LPLV-Stop2 mode
| LPLV-Stop2 | Comments |
|---|---|
| Mode entry |
|
| Mode exit | On an EXTI1/2 wake-up |
| Wake-up latency | Clock restored, LPLV-Stop timeout (external regulator to restore Run mode operating supply level), EXTI and RCC wake-up synchronization and PWRLP_TEMPO (see Section 21) D1 domain power up and CPU1 reset, CPU1 reboot from boot ROM |
20.6.13 PWR Standby1 mode
The Standby1 mode is used to achieve a lower power consumption. It is based on CPU1 and CPU2 subsystem CStop mode, as for Stop modes, but with VDDCORE and VDDCPU supply regulators powered off. The D3 domain is still powered from the internal backup regulator.
When the system enters Standby1, PWR_ON, PWR_CPU_ON and PWR_LP pins are set low. The external voltage regulators that provide VDDCORE and VDDCPU supplies, are disabled. Complete VDDCORE and VDDCPU domains are consequently powered off. PLLs, HSI and HSE oscillators are also switched off. SRAM and register contents are lost except
for \(V_{DD}\), \(V_{SW}\), backup domain, and retention domain (RTC registers, RTC backup register, LSE, backup RAM and retention RAM), Standby circuitry and D3 domain.
In system Standby1 mode, the following features can be selected by programming individual control bits:
- • Independent watchdog: the IWDG is started by writing to its key register or by hardware option. Once started, it cannot be stopped except by an application reset (see Section 72).
- • Real-time clock: the RTC is configured by RCC_RTCCFGR.
- • Internal RC oscillator: the LSI RC is configured by LSION in RCC_BDCR.
- • External 32.768 kHz oscillator: the LSE OSC is configured by LSEON in RCC_BDR.
- • Peripherals are included in the D3 domain according to the PERxAMEN bit.
PWR entering Standby1 mode
The Standby1 mode is entered according to Section 20.6.3 when PDDS_D1 in PWR_CPU1CR and PDDS_D2 in both PWR_CPU1CR and PWR_CPU2CR request Standby.
Refer to Table 113 for more details on how to enter Standby1 mode.
PWR exiting Standby1 mode
The Standby1 mode is exited according to Section 20.6.4. See the table below for more details on how to exit Standby1 mode.
The system exits Standby1 when an application reset (such as NRST, IWDG), a WKUP pin event, or an EXTI2 wake-up event is detected. PWR registers are reset after wake-up from Standby1, except for power control and status registers (reset condition defined for each PWR register).
Wake-up event source (EXTI2 wake-up event, WKUP pins) can be assigned independently to CPU1 and/or CPU2. The external regulators that provide \(V_{DDCPU}\) and \(V_{DDCORE}\) are enabled according to the CPU to wake up but also according to the first CPU allowed to boot. Refer to RCC Processor state after Standby exit for more details about the first CPU allowed to boot.
The selection of the CPU to wake-up is notified to the RCC through PWR CPU1_HW_BEN and CPU2_HW_BEN signals. Once the wake-up source is cleared, CPU1_HW_BEN and CPU2_HW_BEN are cleared to 0.
Table 112. CPU1_HW_BEN and CPU2_HW_BEN management
| Standby exit event | First CPU allowed to boot | CPU1_HW_BEN | CPU2_HW_BEN | PWR_CPU_ON | PWR_ON |
|---|---|---|---|---|---|
| CPU1 wake-up event | CPU1 | 1 | 0 | 1 | 1 |
| CPU2 | 1 | 0 | 1 | 1 | |
| CPU2 wake-up event | CPU1 | 0 | 1 | 1 | 1 |
| CPU2 | 0 | 1 | 0 | 1 | |
| CPU1 and CPU2 wake-up event | CPU1 | 1 | 1 | 1 | 1 |
| CPU2 | 1 | 1 | 1 | 1 |
SBF_D1, SBF_D2 and SBF flags in PWR_CPU1CR and PWR_CPU2CR indicate that the system has exit Standby1.
Table 113. Standby1 mode
| Standby1 | Comments |
|---|---|
| Mode entry |
|
| Mode exit | On an EXTI2 event, WKUP pins, application reset (such as NRST, IWDG(1)) |
| Wake-up latency | System reset phase (see Section 21) or CPU1 boot from boot ROM or CPU2 boot from RETRAM |
- 1. The IWDG1/2/3/4 when configured to generate an application reset, and when configured to generate a system debug wake-up event, reset the system in both cases.
PWR I/O states in Standby1 mode
In Standby1 mode, all I/O pins are high impedance no pulls except for:
- • NRST, PWR_ON, PWR_CPU_ON, and PWR_LP pins (still available)
- • RTC_AF1 pin if configured for tamper, timestamp, RTC Alarm out, or RTC clock calibration out
- • WKUP pins, if enabled (WKUP pin pulls can be configured by WKUPPUPD in PWR_WKUPCRx)
- • PZ0-9 pins
20.6.14 PWR Standby2 mode
The Standby2 mode is used to achieve the lowest power consumption. It is handled in the same way as Standby1, with CPU3 in CStop, and PDDS_D3 in PWR_D3CR selecting SStandby mode.
In system Standby2 mode, the following features can be selected by programming individual control bits:
- • Independent watchdog: the IWDG is started by writing to its Key register or by hardware option. Once started it cannot be stopped except by an application reset (see Section 72).
- • Real-time clock: the RTC is configured by RCC_RTCCFGR.
- • Internal RC oscillator: the LSI RC is configured by LSION in RCC_BDCR.
- • External 32.768 kHz oscillator: the LSE OSC is configured by LSEON in RCC_BDCR
PWR entering Standby2 mode
The Standby2 mode is entered according to Section 20.6.3 when all PDDS_Dn bits in PWR_CPU1CR, PWR_CPU2CR and PWR_D3CR request Standby mode.
Refer to Table 114 for more details on how to enter Standby2 mode.
PWR exiting from Standby2 mode
The Standby2 mode is exited according to Section 20.6.4. See the table below for more details on how to exit Standby2 mode.
Same exit modes are supported in Standby1 and Standby2 (legacy and wake-up event mode).
Table 114. Standby2 mode
| Standby2 | Comments |
|---|---|
| Mode entry |
|
| Mode exit | WKUP pins, RTC alarm (Alarm A and Alarm B), RTC wake-up, tamper event, timestamp event, application reset (such as NRST, IWDG(1)) |
| Wake-up latency | System reset phase (see Section 21) or CPU1 boot from boot ROM or CPU2 boot from RETRAM |
- 1. The IWDG1/2/3/4 when configured to generate an application reset, and when configured to generate a system debug wake-up event, reset the system in both cases.
PWR I/O states in Standby2 mode
In Standby2 mode, all I/O pins are high impedance no pulls except for:
- • NRST, PWR_ON, PWR_CPU_ON, and PWR_LP pins (still available)
- • RTC_AF1 pin if configured for tamper, timestamp, RTC Alarm out, or RTC clock calibration out
- • WKUP pins, if enabled (WKUP pin pulls can be configured by WKUPPUPD in PWR_WKUPCRx)
20.6.15 PWR debug Stop mode
When the system enters Stop, its operation depends on the DBG_STOP configuration in DBGMCU_CR.
When the Stop mode debug is enabled, when entering Stop mode, the PWR does not signal low-power mode on PWR_ON, PWR_CPU_ON and PWR_LP signals. VDDCORE and VDDCPU domains are kept supplied by the regulator in main mode.
When exiting Stop mode, the system CPU and logic are enabled as from normal Stop mode. STOPF is set in PWR_CPU1CR.
When the Stop mode debug is enabled, when entering Run2 or Stop2 mode, the PWR does not signal power-down mode on the PWR_CPU_ON signal. VDDCPU domain is kept supplied by the regulator in main mode.
When exiting Run2 or Stop2 mode, a CPU1 reset is generated, which resets the VDDCPU logic excluding the debug logic. SBF_D1 is set in PWR_CPU1CR.
20.6.16 PWR debug Standby mode
When the system enters low-power mode Standby, its operation depends on the DBG_STANDBY configuration in DBGMCU_CR.
When the Standby mode debug is enabled, when entering Standby1/2 mode, the PWR keeps pwr_on and pwr_cpu_on active, allowing \(V_{DDCORE}\) and \(V_{DDCPU}\) domains to remain supplied. In Standby mode, \(V_{DDCORE}\) and \(V_{DDCPU}\) domains are not reset, allowing the CPU and bus clocks to be active. When entering Standby2 mode, the PWR keeps the D3 domain supplied, allowing CPU and bus clocks to be active.
When exiting Standby modes, a reset is generated, which resets \(V_{DDCORE}\) and \(V_{DDCPU}\) logic, excluding the debug logic. Waking up from debug Standby modes, the system CPUs and logic are reset, as from normal Standby modes. SBF, SBF_D1 and SBF_D2 are set. SBF_D3 flag is set as well when exiting Standby2 mode.
20.7 PWR \(V_{BAT}\) operation
The VBAT pin is used to power the \(V_{BAT}\) domain from an external battery.
The VBAT pin supplies the RTC with LSE, anti-tamper detection (TAMP), backup registers and 8-Kbyte backup SRAM. Sixteen anti-tamper detection pins are available in \(V_{BAT}\) mode.
The D3 domain may be powered up to \(V_{BAT}\) mode when TAMP_WKUPEN_D3 is set in PWR_D3WKUPENR, to allow the CPU3 to qualify a tamper detection event. The D3 domain is switched off by default (\(V_{BAT2}\) mode), and powered once a tamper event is detected (power saving).
In \(V_{BAT}\) modes, RISAL configurations are lost (RISAL control registers embedded in RISC are in a switched off domain). The default protection (non-secure, any privilege, cid = 2 or 3) is applied on LPSRAM1 and LPSRAM2 in this mode.
Table 115. \(V_{BAT}\) modes
| Mode | D3 domain | CPU3 | Wake-up |
|---|---|---|---|
| \(V_{BAT1}\) | SRUN3 | CRUN | - |
| \(V_{BAT2}\) | SStandby | CStop and TAMP_WKUPEN_D3(1) = 1 | On a tamper event |
| SStandby | CStop and TAMP_WKUPEN_D3 = 0 | None |
1. Setting TAMP_WKUPEN_D3 in PWR_D3WKUPENR allow the wake-up of the D3 domain in \(V_{BAT}\) mode.
Figure 78. VBAT state diagram with TAMP_WKUEN_D3 = 1
The diagram illustrates the VBAT state transitions for the system. It starts with a 'Run' mode containing CPU1, CPU2, CPU3, D1, and D3 domains. Transitions to 'Standby1' mode (containing D1, CPU3, and D3 domains) occur via 'Power off and c3_crun' or 'Power off and c3_stop'. From 'Standby1', transitions to 'VBAT1' mode (containing CPU3 and D3 domains) occur via 'Power off and c3_crun', and to 'VBAT2' mode (containing D3 domain) via 'Power off and c3_stop'. A 'Tamper event' transitions the system from 'VBAT1' to 'VBAT2'. 'Power on' transitions from 'VBAT1' or 'VBAT2' back to 'Run' mode. A 'Reset' transition returns the system to 'Run' mode from any state.
MSv67444V1
The power control state transitions are initiated by powering down/up the VDD supply (reference to the above figure).
- • Powering down VDD
- – Blue line transitions: the system enters VBAT1/2 mode.
- • Powering up VDD
- – Red line transitions: The system wakes up from VBAT1 mode. VBF is set in PWR_CPU1CR, PWR_CPU2CR, and PWR_CPU3CR.
- – Orange line transitions: the system wakes up from VBAT2 mode. VBF and SBF_D3 are set in PWR_CPU1CR, PWR_CPU2CR, and PWR_CPU3CR.
- • CPU3 going to CStop
- – Green line transitions: D3 domain enters SStandby mode.
- • Tamper wake-up event
- – Green line transitions: D3 domain wakes up from SStandby. SBF_D3 is set in PWR_CPU3CR.
| Mode | D3 domain | SBF_D3 | VBF | Comment |
|---|---|---|---|---|
| VBAT1 | SRUN3/SSTOP2 | 0 | 1 | Exit VBAT mode. |
| VBAT1 | SStandby | 1 | 1 |
20.8 PWR WKUP pins
The WKUP polarity must only be changed by configuring WKUPP in PWR_WKUPPCRx when the wake-up interrupt is disabled in WKUPENCPU1/2 bits. To avoid false interrupts,
WKUPF must be cleared with WKUPC in PWR_WKUPPCRx, before enabling the wake-up interrupt in WKUPENCPU1/2.
20.9 PWR_ON, PWR_CPU_ON and PWR_LP pins
\(V_{DDCORE}\) and \(V_{DDCPU}\) domains can be independently controlled using PWR_ON, PWR_CPU_ON, and PWR_LP pins.
PWR_CPU_ON signals pwr_cpu_on or pwr_cpu_onlp depending on LPCFG_D1 in PWR_DC1R.
PWR_ON signals pwr_on or pwr_onlp depending on LPCFG_D2 in PWR_D2CR.
PWR_LP signals pwr_onlp.
Figure 79. PWR_CPU_ON, PWR_ON and PWR_LP multiplexing

The diagram illustrates the internal logic for multiplexing power control signals. It shows three main input paths: PWR_CPU_ON, PWR_LP, and PWR_ON. PWR_CPU_ON is selected by LPCFG_D1 to output either pwr_cpu_onlp (if LPCFG_D1=1) or pwr_cpu_on (if LPCFG_D1=0). PWR_ON and pwr_cpu_onlp are combined in an AND gate to produce pwr_cpu_on. PWR_ON is selected by LPCFG_D2 to output either pwr_onlp (if LPCFG_D2=1) or pwr_on (if LPCFG_D2=0). PWR_LP and pwr_onlp are combined in an AND gate to produce pwr_lp. The pwr_cpu_on signal passes through a 'Minimum pulse width' block (POPL_D1) to become the final pwr_cpu_on output. The pwr_lp signal passes through a 'Minimum pulse width' block (POPL_D2) to become the final pwr_lp output. The pwr_onlp signal passes through a 'Minimum pulse width' block (POPL_D2) and an 'stby entry delay H' block (PODH_D2) to become the final pwr_on output.
When LPCFG_D1 selects pwr_cpu_on, PWR_CPU_ON pins are only low in DStandby.
When LPCFG_D1 selects pwr_cpu_onlp on PWR_CPU_ON, the definition (DStandby or DStop2/3) of the signal being low must be communicated to the external power management prior entering low-power mode. PWR_CPU_ON pins are low in DStandby, DStop2, and DStop3 modes.
When LPCFG_D2 selects pwr_on, PWR_ON pin is only low in Standby.
When LPCFG_D2 selects pwr_onlp on PWR_ON, the definition (Standby, LP-Stop1, LP-Stop2, LPLV-Stop1, or LPLV-Stop2) of the signal being low must be communicated to the external power management prior entering low-power mode. PWR_ON pin is low in Standby, LP-Stop1, LP-Stop2, LPLV-Stop1, and LP-Stop1 modes.
The same external regulator can be used to supply \(V_{DDCORE}\) and \(V_{DDCPU}\). Only PWR_ON and PWR_LP signaling are used to control the external regulator. Run2, Stop2, LP-Stop2, and LPLV-Stop2 modes are no more supported.
20.10 PWR interrupts
The PWR provides the following interrupts:
- • Wake-up interrupt to CPU1
- – enabled by WKUPENCPU1 in PWR_WKUPPCRx
- – corresponding WKUPF available in PWR_WKUPPCRx
- • Wake-up interrupt to CPU2
- – enabled by WKUPENCPU2 in PWR_WKUPPCRx
- – corresponding WKUPF available in PWR_WKUPPCRx
Other status flags associated with Stop, Standby and monitoring functions are not present on all device part numbers (see the related datasheet for more information).
Table 117. PWR status flags
| Status flag | Description | Interrupt | Cleared through |
|---|---|---|---|
| STOPF | Exit Stop | Wake-up from Stop events | CSSF |
| SBF | Exit Standby | Wake-up from Standby events | CSSF |
| SBF_D1 | D1 exits DStandby | Wake-up from DStandby events | CSSF |
| SBF_D2 | D2 exits Standby | Wake-up from Standby events | CSSF |
| SBF_D3 | D3 exits SStandby | Wake-up from SStandby events | CSSF |
| VBF | Exit VBAT | No associated interrupt | CSSF |
| WKUPF[6:1] | Wake-up flags | CPU1 and CPU2 wake up from Standby and Stop events. | WKUPC[6:1] |
| PVDO | Programmable voltage detector | Interrupt via EXTI1 | NA |
| GPVMO | Global peripheral voltage monitor | Interrupt via EXTI1 | NA |
| GPUVMO(1) | GPU voltage monitor | Interrupt via EXTI1 | NA |
| V08CAPL, V08CAPH | V08CAP supply monitoring | Interrupt via EXTI2 | NA |
| TEMPL, TEMPH | Temperature monitoring | Interrupt via EXTI2 | NA |
| VCOREL, VCOREH | VDDCORE supply monitoring | Interrupt via EXTI2 | NA |
| VCPUL, VCPUH | VDDCPU supply monitoring | Interrupt via EXTI2 | NA |
1. Not present on all device part numbers (see the related datasheet for more information).
20.11 PWR resource isolation framework (RIF)
In order to be compliant with the device security definition, the PWR implements the following security/isolation requirements which apply to any defined security domain:
- • filtering of secure/non-secure accesses
- • privileged/unprivileged accesses
- • filtering of hardware execution compartments (called CIDs): up to eight CIDs including TDCID (trusted domain compartment ID) and DDCID (debug domain compartment ID)
There are three different profiles for PWR local resources:
- • single access (only one master can access)
- • shared between different masters with semaphore protection
- • no access
There are two kinds of local resources in the PWR:
- • non-shareable resources (R0 to R6), that can be statically assigned to only one master
- • shareable wake-up I/O resources (WIO1 to WIO6) that can be statically assigned to one master, or shared between different masters with semaphore protection
20.11.1 PWR RIF configuration
After any application or system reset, the PWR does not filter any access (default configuration: no CID filtering, non-secure, any privilege) until the TDCID agent has programmed the RIF configuration and enabled the filtering. The PWR RIF configuration is based on the local and external RIF configurations.
The local RIF configuration is managed by the following registers:
- • non-shareable resources (R0 to R6)
- – PWR_RSECCFGR to set a secure/non-secure attribute per local PWR resource
- – PWR_RPRIVCFGR to set a privileged/unprivileged attribute per local PWR resource
- – PWR_RxCIDCFGR to set a CID filtering policy per local PWR resource
- • shareable wake-up I/O resources (WIO1 to WIO6)
- – PWR_WIOSECCFGR to set a secure/non-secure attribute per local PWR resource
- – PWR_WIOPRIVCFGR to set a privileged/unprivileged attribute per local PWR resource
- – PWR_WIOxCIDCFGR and PWR_WIOxSEMCR to set a CID filtering policy per local PWR resource
The external RIF configuration is inherited from the RIF peripheral configurations and it applies to the related local resources. Table 118 shows all PWR local resource content (first column) and the RIF configuration attached to it (third column).
Secure/non-secure access filtering
To enable the filtering access based on this attribute, the authorized master agent has to set RSECx in PWR_RSECCFGR, or WIOSECx in PWR_WIOSECCFGR, for the PWR local resource x.
When the local resource is configured as secure, read/write operations are only allowed by a secure access. Non-secure read/write accesses are denied (RAZ/WI). An illegal secure access event is generated to the IAC (illegal access controller). There is no bus error generated.
When the local resource is configured as non-secure, read/write operations are allowed by both secure and non-secure accesses.
Privileged/unprivileged access filtering
To enable the filtering access based on this attribute, the authorized master agent has to set RPRIVx in PWR_RPRIVCFGR, or WIOPRIVx in PWR_WIOPRIVCFGR, for the PWR local resource x.
When the local resource is configured as privileged, read/write operations are only allowed by a privileged access. Unprivileged read/write accesses are denied (RAZ/WI). An illegal privileged access event is generated to the IAC. There is no bus error generated.
When the local resource is configured as unprivileged, read/write operations are allowed by both privileged and unprivileged accesses.
CID access filtering
The PWR_RxCIDCFGR register controls the CID filtering policy for each non-shareable local resources (without semaphore mechanism). PWR_WIOxCIDCFGR and PWR_WIOxSEMCR registers control the CID filtering policy for each local shareable resources (with semaphore mechanism).
When the compartment-based filtering is active (CFEN = 1), local non-shareable resources are individually controlled by a specific CPU. The trusted domain application sets CID in PWR_RxCIDCFGR (x = 0 to 6).
When the compartment-based filtering is active (CFEN = 1), local shareable resources can be individually controlled by a specific CPU using two techniques:
- • The trusted domain application keeps SEM_EN cleared, and sets SCID in PWR_WIOxCIDCFGR (x = 1 to 6).
- • The trusted domain application sets SEM_EN. It also sets the compartments that are authorized to take the local resource by setting corresponding SEMWLCm in PWR_WIOxCIDCFGR (x = 1 to 6). Each white-listed CPU is authorized to take SEM_MUTEX in PWR_WIOxSEMCR (x = 1 to 6) to have ownership on this register until this CPU releases the mutex.
Any read access is allowed on PWR_RxCIDCFGR, PWR_WIOxCIDCFGR, and PWR_WIOxSEMCR registers.
A non-allowed CID access to a CID-filtered register is denied (RAZ/WI). An illegal CID access event is generated to the IAC. There is no bus error generated.
For debug purpose, the debug domain compartment master, defined by the DDCID compartment value, can access any resource if privileged and secure attributes allow it.
20.12 PWR registers
The PWR registers can be accessed in word, half-word, and byte format, unless explicitly specified differently. Only few registers can be accessed by the CPU3: PWR_CR2,
PWR_CR5, PWR_CR6, PWR_BDCR2, PWR_CPU3CR, PWR_CPU1D1SR, PWR_CPU2D2SR, and PWR_CPU3D3SR.
The table below gives the RIF allocation for all PWR registers.
Table 118. PWR register allocation to RIF resource and access conditions
| Register name | PWR RIF resource number | RIF resource configuration | Access type(1) | Description |
|---|---|---|---|---|
| PWR_R0CIDCFGR | R0 | Secure, privileged and TDCID/DDCID | RW | Resource 0 CID filtering control |
| PWR_CR1 | PWR_RSECCFGR[0] PWR_RPRIVCFGR[0] PWR_R0CIDCFGR | RW | Peripheral voltage monitor | |
| PWR_CR2 | RW | V08CAP and TEMP monitor | ||
| PWR_CR3 | RW | Programmable voltage detector | ||
| PWR_CR5 | RW | VDDCORE monitoring | ||
| PWR_CR6 | RW | VDDCPU monitoring | ||
| PWR_D3WKUPENR | RW | D3 wake-up control | ||
| PWR_R1CIDCFGR | R1 | Secure, privileged and TDCID/DDCID | RW | Resource 1 CID filtering control |
| PWR_CR9 | PWR_RSECCFGR[1] PWR_RPRIVCFGR[1] PWR_R1CIDCFGR | RW | LPSRAM1 and BKPRAM low-power control | |
| PWR_CR10 | RW | RETRAM low-power control | ||
| PWR_D1CR | RW | VDDCPU power pin control | ||
| PWR_D2CR | RW | VDDCORE power pin control | ||
| PWR_R2CIDCFGR | R2 | Secure, privileged and TDCID/DDCID | RW | Resource 2 CID filtering control |
| PWR_CPU1CR | PWR_RSECCFGR[2] PWR_RPRIVCFGR[2] PWR_R2CIDCFGR | RW | CPU1 power control | |
| PWR_R3CIDCFGR | R3 | Secure, privileged and TDCID/DDCID | RW | Resource 3 CID filtering control |
| PWR_CPU2CR | PWR_RSECCFGR[3] PWR_RPRIVCFGR[3] PWR_R3CIDCFGR | RW | CPU2 power control | |
| PWR_R4CIDCFGR | R4 | Secure, privileged and TDCID/DDCID | RW | Resource 4 CID filtering control |
| PWR_D3CR | PWR_RSECCFGR[4] PWR_RPRIVCFGR[4] PWR_R4CIDCFGR | RW | D3 power control | |
| PWR_R5CIDCFGR | R5 | Secure, privileged and TDCID/DDCID | RW | Resource 5 CID filtering control |
| PWR_CR7 | PWR_RSECCFGR[5] PWR_RPRIVCFGR[5] PWR_R5CIDCFGR | RW | VDDIO2 peripheral voltage monitor |
Table 118. PWR register allocation to RIF resource and access conditions (continued)
| Register name | PWR RIF resource number | RIF resource configuration | Access type(1) | Description |
|---|---|---|---|---|
| PWR_R6CIDCFGR | R6 | Secure, privileged and TDCID/DDCID | RW | Resource 6 CID filtering control |
| PWR_CR8 | PWR_RSECCFGR[6] PWR_RPRIVCFGR[6] PWR_R6CIDCFGR | RW | VDDIO1 peripheral voltage monitor | |
| PWR_WIO1CIDCFGR | WIO1 | Secure, privileged and TDCID/DDCID | RW | Wake-up I/O resource 1 CID filtering control |
| PWR_WIO1SEMCR | PWR_WIOSECCFGR[0] PWR_WIOPRIVCFGR[0] PWR_WIO1CIDCFGR PWR_WIO1SEMCR | RW | ||
| PWR_WKUPCR1 | RW | Wake-up pin #1 control | ||
| PWR_WIO2CIDCFGR | WIO2 | Secure, privileged and TDCID/DDCID | RW | Wake-up I/O resource 2 CID filtering control |
| PWR_WIO2SEMCR | PWR_WIOSECCFGR[1] PWR_WIOPRIVCFGR[1] PWR_WIO2CIDCFGR PWR_WIO2SEMCR | RW | ||
| PWR_WKUPCR2 | RW | Wake-up pin #2 control | ||
| PWR_WIO3CIDCFGR | WIO3 | Secure, privileged and TDCID/DDCID | RW | Wake-up /IO resource 3 CID filtering control |
| PWR_WIO3SEMCR | PWR_WIOSECCFGR[2] PWR_WIOPRIVCFGR[2] PWR_WIO3CIDCFGR PWR_WIO3SEMCR | RW | ||
| PWR_WKUPCR3 | RW | Wake-up pin #3 control | ||
| PWR_WIO4CIDCFGR | WIO4 | Secure, privileged and TDCID/DDCID | RW | Wake-up I/O resource 4 CID filtering control |
| PWR_WIO4SEMCR | PWR_WIOSECCFGR[3] PWR_WIOPRIVCFGR[3] PWR_WIO4CIDCFGR PWR_WIO4SEMCR | RW | ||
| PWR_WKUPCR4 | RW | Wake-up pin #4 control | ||
| PWR_WIO5CIDCFGR | WIO5 | Secure, privileged and TDCID/DDCID | RW | Wake-up I/O resource 5 CID filtering control |
| PWR_WIO5SEMCR | PWR_WIOSECCFGR[4] PWR_WIOPRIVCFGR[4] PWR_WIO5CIDCFGR PWR_WIO5SEMCR | RW | ||
| PWR_WKUPCR5 | RW | Wake-up pin #5 control | ||
| PWR_WIO6CIDCFGR | WIO6 | Secure, privileged and TDCID/DDCID | RW | Wake-up I/O resource 6 CID filtering control |
| PWR_WIO6SEMCR | PWR_WIOSECCFGR[5] PWR_WIOPRIVCFGR[5] PWR_WIO6CIDCFGR PWR_WIO6SEMCR | RW | ||
| PWR_WKUPCR6 | RW | Wake-up pin #6 control |
Table 118. PWR register allocation to RIF resource and access conditions (continued)
| Register name | PWR RIF resource number | RIF resource configuration | Access type(1) | Description |
|---|---|---|---|---|
| PWR_CR11 | NA | Inherited from RCC internal resource 104 RIF configuration RCC_SECCFGR3[8] RCC_PRIVCFGR3[8] RCC_CIDCFG_LOCKR3[8] RCC_R104CIDCFGR RCC_R104SEMCR | RW | DDR PHY retention control |
| PWR_CR12 | NA | Inherited form RISC configuration for peripheral #79 (GPU) | RW | GPU power domain control |
| PWR_BDCR1 | NA | Secure, privileged and TDCID/DDCID | RW | Backup domain control register 1 |
| PWR_BDCR2 | NA | Non-secure, unprivileged, CPU3 | RW | Backup domain control register 2 |
| PWR_CPU3CR | NA | Non-secure, unprivileged, CPU3 | RW | CPU3 power control |
| PWR_CPU1D1SR | NA | NA | R | PWR CPU1 and D1 domain status register |
| PWR_CPU2D2SR | NA | NA | R | PWR CPU2 and D2 domain status register |
| PWR_CPU3D3SR | NA | NA | R | PWR CPU3 and D3 domain status register |
| PWR_VERR | NA | NA | R | PWR version register |
| PWR_IPIDR | NA | NA | R | PWR identification register |
| PWR_SIDR | NA | NA | R | PWR size identification register |
1. RW = read or write, R = read, W = write
20.12.1 PWR control register 1 (PWR_CR1)
Address offset: 0x000
Reset value: 0x0000 0000
See individual bits for reset condition. Access 6 wait states when writing this register.
When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by RSEC0 in PWR_RSECCFGR. Privileged restriction is defined by RPRIV0 in PWR_RPRIVCFGR.
If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GPVMO | Res. | Res. | Res. | Res. | VDDIO4VRSEL | VDDIO3VRSEL | VDDIOVRSEL | Res. | Res. | Res. | ARDY | UCPDRDY | USB33RDY | VDDIO4RDY | VDDIO3RDY |
| r | rw | rw | rw | r | r | r | r | r | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | ASV | UCPDSV | Res. | VDDIO4SV | VDDIO3SV | Res. | Res. | Res. | AVMEN | UCPDVMEN | USB33VMEN | VDDIO4VMEN | VDDIO3VMEN |
| rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bit 31 GPVMO: Global peripheral voltage monitor output
This bit is set and cleared by hardware. It is valid only if at least one independent power supply monitor (including VDDIO1 and VDDIO2 monitors) is enabled, and the supply is valid (voltage monitor enable bit and supply valid bit must be set for the same power supply).
0: All enabled/valid independent power supplies are equal or higher than PVM threshold.
1: At least one enabled/valid independent power supply is lower than PVM threshold.
Bits 30:27 Reserved, must be kept at reset value.
Bit 26 VDDIO4VRSEL: VDDIO4 I/O voltage range selection
This bit is used to select the voltage range supported by the I/Os supplied by VDDIO4. it is not reset by wake-up from Standby, but by any application reset (such as NRST, IWDG).
0: 3.3 V voltage range selected. If VDDIO4 is in 1.8 V range with this setting, the I/Os work in degraded mode.
1: 1.8 V voltage range selected. HSLV_VDDIO4 OTP bit must be set to allow 1.8 V voltage range operation. Setting this configuration while VDDIO4 is in 3.3 V range damages the device.
Bit 25 VDDIO3VRSEL: VDDIO3 I/O voltage range selection
This bit is used to select the voltage range supported by the I/Os supplied by VDDIO3.It is not reset by wake-up from Standby, but by any application reset (such as NRST, IWDG).
0: 3.3 V voltage range selected. If VDDIO3 is in 1.8 V range with this setting, the I/Os work in degraded mode.
1: 1.8 V voltage range selected. HSLV_VDDIO3 OTP bit must be set to allow 1.8 V voltage range operation. Setting this configuration while VDDIO3 is in 3.3 V range damages the device.
- Bit 24 VDDIOVRSEL: VDD I/O voltage range selection
This bit is used to select the voltage range supported by the I/Os supplied by \(V_{DD}\). It is not reset by wake-up from Standby, but by any application reset (such as NRST, IWDG).
0: 3.3 V voltage range selected. If \(V_{DD}\) is in 1.8 V range with this setting, the I/Os work in degraded mode.
1: 1.8 V voltage range selected. HSLV_VDD OTP bit must be set to allow 1.8 V voltage range operation. Setting this configuration while \(V_{DD}\) is in 3.3 V range damages the device. - Bits 23:21 Reserved, must be kept at reset value.
- Bit 20 ARDY: \(V_{DDA18ADC}\) ready
0: \(V_{DDA18ADC}\) is below the threshold of the \(V_{DDA18ADC}\) voltage monitor.
1: \(V_{DDA18ADC}\) is equal or above the threshold of the \(V_{DDA18ADC}\) voltage monitor. - Bit 19 UCPDRDY: \(V_{DD33UCPD}\) ready
0: \(V_{DD33UCPD}\) is below the threshold of the UCPD voltage monitor.
1: \(V_{DD33UCPD}\) is equal or above the threshold of the UCPD voltage monitor. - Bit 18 USB33RDY: \(V_{DD33USB}\) ready
0: \(V_{DD33USB}\) is below the threshold of the USB33 voltage monitor.
1: \(V_{DD33USB}\) is equal or above the threshold of the USB33 voltage monitor. - Bit 17 VDDIO4RDY: \(V_{DDIO4}\) ready
0: \(V_{DDIO4}\) is below the threshold of the \(V_{DDIO4}\) voltage monitor.
1: \(V_{DDIO4}\) is equal or above the threshold of the \(V_{DDIO4}\) voltage monitor. - Bit 16 VDDIO3RDY: \(V_{DDIO3}\) ready
0: \(V_{DDIO3}\) is below the threshold of the \(V_{DDIO3}\) voltage monitor.
1: \(V_{DDIO3}\) is equal or above the threshold of the \(V_{DDIO3}\) voltage monitor. - Bits 15:13 Reserved, must be kept at reset value.
- Bit 12 ASV: \(V_{DDA18ADC}\) independent supply valid
This bit is used to validate \(V_{DDA18ADC}\) supply for electrical and logical isolation purpose. Setting this bit is mandatory to use the A/D converters. If \(V_{DDA18ADC}\) is not always present in the application, the \(V_{DDA18ADC}\) voltage monitor can be used to determine whether this supply is ready or not. This bit is reset on any system reset.
0: \(V_{DDA18ADC}\) is not present. Logical and electrical isolation is applied to ignore this supply.
1: \(V_{DDA18ADC}\) is valid. - Bit 11 UCPDSV: \(V_{DD33UCPD}\) independent supply valid
This bit is used to validate the \(V_{DD33UCPD}\) supply for electrical and logical isolation purpose. Setting this bit is mandatory to use the UCPD CC1 and CC2 pins. If \(V_{DD33UCPD}\) is not always present in the application, the \(V_{DD33UCPD}\) voltage monitor can be used to determine whether this supply is ready or not. This bit is reset on any system reset.
0: \(V_{DD33UCPD}\) is not present. Logical and electrical isolation is applied to ignore this supply.
1: \(V_{DD33UCPD}\) is valid. - Bit 10 Reserved, must be kept at reset value.
- Bit 9 VDDIO4SV: \(V_{DDIO4}\) independent supply valid
This bit is used to validate the \(V_{DDIO4}\) supply for electrical and logical isolation purpose. Setting this bit is mandatory to use PB[11:0] I/Os. If \(V_{DDIO4}\) is not always present in the application, the \(V_{DDIO4}\) voltage monitor can be used to determine whether this supply is ready or not. This bit is reset on any system reset.
0: \(V_{DDIO4}\) is not present. Logical and electrical isolation is applied to ignore this supply.
1: \(V_{DDIO4}\) is valid. - Bit 8 VDDIO3SV: \(V_{DDIO3}\) independent supply valid
This bit is used to validate the \(V_{DDIO3}\) supply for electrical and logical isolation purpose. Setting this bit is mandatory to use PD[11:0] I/Os. If \(V_{DDIO3}\) is not always present in the application, the \(V_{DDIO3}\) voltage monitor can be used to determine whether this supply is ready or not. This bit is reset on any system reset.
0: \(V_{DDIO3}\) is not present. Logical and electrical isolation is applied to ignore this supply.
1: \(V_{DDIO3}\) is valid. - Bits 7:5 Reserved, must be kept at reset value.
- Bit 4 AVMEN: \(V_{DDA18ADC}\) independent ADC voltage monitor enable
This bit is reset on any system reset.
0: \(V_{DDA18ADC}\) voltage monitor disabled.
1: \(V_{DDA18ADC}\) voltage monitor enabled. - Bit 3 UCPDVMEN: \(V_{DD33UCPD}\) independent UCPD voltage monitor enable
This bit is reset on any system reset.
0: \(V_{DD33UCPD}\) voltage monitor disabled.
1: \(V_{DD33UCPD}\) voltage monitor enabled. - Bit 2 USB33VMEN: \(V_{DD33USB}\) independent USB 33 voltage monitor enable
This bit is reset on any system reset.
0: \(V_{DD33USB}\) voltage monitor disabled.
1: \(V_{DD33USB}\) voltage monitor enabled. - Bit 1 VDDIO4VMEN: \(V_{DDIO4}\) independent voltage monitor enable
This bit is reset on any system reset.
0: \(V_{DDIO4}\) voltage monitor r disabled.
1: \(V_{DDIO4}\) voltage monitor enabled. - Bit 0 VDDIO3VMEN: \(V_{DDIO3}\) independent voltage monitor enable
This bit is reset on any system reset.
0: \(V_{DDIO3}\) voltage monitor disabled.
1: \(V_{DDIO3}\) voltage monitor enabled.
20.12.2 PWR control register 2 (PWR_CR2)
Address offset: 0x004
Reset value: 0x0000 0000
Not reset by wake-up from Standby, application reset (such as NRST, IWDG) and \(V_{DD}\) POR, but reset only by \(V_{SW}\) POR and VSWRST. Access 6 wait states when writing this register.
After reset, this register is write-protected, and DBD3P in PWR_BDCR1 has to be set before this register can be written. When DBD3P is cleared, there are no bus errors generated when writing this register. This register must not be accessed when RCC_VSWRST in RCC_BDCR resets the \(V_{SW}\) domain. Secure restriction is defined by RSEC0 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV0 in PWR_RPRIVCFGR.
If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1, CPU2 and CPU3 is allowed to this register. The CPU3 cannot access in write to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | TEMPH | TEMPL | V08CA PH | V08CA PL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MONEN |
| r | r | r | r | rw |
Bits 31:12 Reserved, must be kept at reset value.
Bit 11 TEMPH: Monitored temperature level above high threshold
- 0: Temperature below high threshold level, or monitor disabled
- 1: Temperature equal or above high threshold level
Bit 10 TEMPL: Monitored temperature level above low threshold
- 0: Temperature above low threshold level, or monitor disabled
- 1: Temperature equal or below low threshold level
Bit 9 V08CAPH: Monitored \(V_{08CAP}\) level above high threshold
- 0: \(V_{08CAP}\) level below high threshold level, or monitor disabled
- 1: \(V_{08CAP}\) level equal or above high threshold level
Bit 8 V08CAPL: Monitored \(V_{08CAP}\) level above low threshold
- 0: \(V_{08CAP}\) level above low threshold level, or monitor disabled
- 1: \(V_{08CAP}\) level equal or below low threshold level
Bits 7:1 Reserved, must be kept at reset value.
Bit 0 MONEN: \(V_{08CAP}\) and temperature monitoring enable
- 0: \(V_{08CAP}\) and temperature monitoring disabled
- 1: \(V_{08CAP}\) and temperature monitoring enabled
20.12.3 PWR control register 3 (PWR_CR3)
Address offset: 0x008
Reset value: 0x0000 0000
Reset on any system reset.
Secure restriction is defined by RSEC0 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV0 in PWR_RPRIVCFGR.
If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | PVDO | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PVDEN |
| r | rw |
Bits 31:9 Reserved, must be kept at reset value.
Bit 8 PVDO: Programmable voltage detector (PVD) output
This bit is set and cleared by hardware. It is valid only if PVD is enabled by the PVDEN bit.
0: Voltage level on PVD_IN is equal or higher than the internal \(V_{REFINT}\).
1: Voltage level on PVD_IN is lower than the internal \(V_{REFINT}\).
Note: The PVD is disabled in Standby and after a system reset. This bit is then equal to 0 after Standby and system reset.
Bits 7:1 Reserved, must be kept at reset value.
Bit 0 PVDEN: PVD enable
This bit is read only when the SYSCFG register bit PVDL is set (no bus errors generated when writing this register).
0: PVD disabled
1: PVD enabled
20.12.4 PWR control register 5 (PWR_CR5)
Address offset: 0x010
Reset value: 0x0000 0000
Not reset by wake-up from Standby mode, but by any Application reset (such as NRST, IWDG). Secure restriction is defined by RSEC0 bit in PWR_RSECCFGR. Privilege restriction is defined by RPRIV0 bit in PWR_RPRIVCFGR.
If compartment filtering is enabled only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1, CPU2 and CPU3 is allowed to this register. The CPU3 cannot access in write to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | VCOR EH | VCOR EL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VCOR EMON EN |
| r | r | rw |
Bits 31:10 Reserved, must be kept at reset value.
Bit 9 VCOREH: Monitored \(V_{DDCORE}\) level above high threshold
0: \(V_{DDCORE}\) level below high threshold level, or monitor disabled
1: \(V_{DDCORE}\) level equal or above high threshold level
Bit 8 VCOREL: Monitored \(V_{DDCORE}\) level above low threshold
0: \(V_{DDCORE}\) level above low threshold level, or monitor disabled
1: \(V_{DDCORE}\) level equal or below low threshold level
Bits 7:1 Reserved, must be kept at reset value.
Bit 0 VCOREMONEN: \(V_{DDCORE}\) monitoring enable
0: \(V_{DDCORE}\) monitoring disabled
1: \(V_{DDCORE}\) monitoring enabled
20.12.5 PWR control register 6 (PWR_CR6)
Address offset: 0x014
Reset value: 0x0000 0000
Not reset by wake-up from Standby mode, but by any Application reset (such as NRST, IWDG). Secure restriction is defined by RSEC0 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV0 in PWR_RPRIVCFGR.
If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1, CPU2 and CPU3 is allowed to this register. The CPU3 cannot access in write to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | VCPUH | VCPUL | Res. | Res. | Res. | VCPUL LS | Res. | Res. | Res. | VCPU MONE N |
| r | r | rw | rw |
Bits 31:10 Reserved, must be kept at reset value.
Bit 9 VCPUH: Monitored \(V_{DDCPU}\) level above high threshold
0: \(V_{DDCPU}\) level below high threshold level, or monitor disabled
1: \(V_{DDCPU}\) level equal or above high threshold level
Bit 8 VCPUL: Monitored \(V_{DDCPU}\) level above low threshold
0: \(V_{DDCPU}\) level above low threshold level, or monitor disabled
1: \(V_{DDCPU}\) level equal or below low threshold level
Bits 7:5 Reserved, must be kept at reset value.
Bit 4 VCPULLS: \(V_{DDCPU}\) voltage detector low level selection
This bit selects the low-voltage threshold detected by the monitoring.
0: VCPU low-voltage threshold 1 selected
1: VCPU low-voltage threshold 2 selected (overdrive mode)
Note: See device datasheet for voltage levels.
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 VCPUMONEN: \(V_{DDCPU}\) monitoring enable
0: \(V_{DDCPU}\) monitoring disabled
1: \(V_{DDCPU}\) monitoring enabled
20.12.6 PWR control register 7 (PWR_CR7)
Address offset: 0x018
Reset value: 0x0000 0000
See individual bits for reset condition. Access 6 wait states when writing this register.
When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by RSEC5 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV5 in PWR_RPRIVCFGR.
If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | VDDIO 2VRST BY | VDDIO 2VRSE L | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO 2RDY |
| rw | rw | r | |||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO 2SV | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO 2VMEN |
| rw | rw |
Bits 31:26 Reserved, must be kept at reset value.
Bit 25 VDDIO2VRSTBY: \(V_{DDIO2}\) I/O voltage range Standby mode
When set, this bit is used to retain VDDIO2VRSEL configuration in Standby mode.
This bit must be written to 1 if the \(V_{DDIO2}\) is in 1.8 V range in Standby, and when exiting Standby. It must not be set when \(V_{DDIO2}\) is in 3.3 V range in Standby, or when exiting Standby. This bit is not reset by wake-up from Standby, but by any application reset (such as NRST or IWDG).
0: VDDIO2VRSEL not retained in Standby mode
1: VDDIO2VRSEL retained in Standby mode
Bit 24 VDDIO2VRSEL: \(V_{DDIO2}\) I/O voltage range selection
This bit is used to select the voltage range supported by the I/Os supplied by \(V_{DDIO2}\). It is not reset by wake-up from Standby, but by any Application reset (such as NRST, IWDG) when VDDIO2VRSTBY is set, otherwise reset on any system reset.
0: 3.3 V voltage range selected. If \(V_{DDIO2}\) is in 1.8 V range with this setting, the I/Os work in degraded mode.
1: 1.8 V voltage range selected. HSLV_VDDIO2 OTP bit must be set to allow 1.8 V voltage range operation. Setting this configuration while \(V_{DDIO2}\) is in 3.3 V range damages the device.
Bits 23:17 Reserved, must be kept at reset value.
Bit 16 VDDIO2RDY: \(V_{DDIO2}\) ready
0: \(V_{DDIO2}\) is below the threshold of the \(V_{DDIO2}\) voltage monitor.
1: \(V_{DDIO2}\) is equal or above the threshold of the \(V_{DDIO2}\) voltage monitor.
Bits 15:9 Reserved, must be kept at reset value.
Bit 8 VDDIO2SV: \(V_{DDIO2}\) Independent supply valid.
This bit is used to validate the \(V_{DDIO2}\) supply for electrical and logical isolation purpose. Setting this bit is mandatory to use PE[15:6] I/Os. If \(V_{DDIO2}\) is not always present in the application, the \(V_{DDIO2}\) voltage monitor can be used to determine whether this supply is ready or not. This bit is reset on any system reset.
0: \(V_{DDIO2}\) is not present. Logical and electrical isolation is applied to ignore this supply.
1: \(V_{DDIO2}\) is valid.
Bits 7:1 Reserved, must be kept at reset value.
Bit 0 VDDIO2VMEN: \(V_{DDIO2}\) independent voltage monitor enable
This bit is reset on any system reset.
0: \(V_{DDIO2}\) voltage monitor disabled
1: \(V_{DDIO2}\) voltage monitor enabled
20.12.7 PWR control register 8 (PWR_CR8)
Address offset: 0x01C
Reset value: 0x0000 0000
See individual bits for reset condition. Access 6 wait states when writing this register.
When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by RSEC6 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV6 in PWR_RPRIVCFGR.
If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | VDDIO1VRSTBY | VDDIO1VRSEL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO1RDY |
| rw | rw | r | |||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO1SV | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO1VMEN |
| rw | rw |
Bits 31:26 Reserved, must be kept at reset value.
Bit 25 VDDIO1VRSTBY: \(V_{DDIO1}\) I/O voltage range Standby mode
When set, this bit is used to retain VDDIO1VRSEL configuration in Standby. This bit must be written to 1 if \(V_{DDIO1}\) is in 1.8 V range in Standby, and when exiting Standby. It must not be set when \(V_{DDIO1}\) is in 3.3 V range in Standby, or when exiting Standby. This bit is not reset by wake-up from Standby, but by any Application reset (such as NRST, IWDG).
0: VDDIO1VRSEL not retained in Standby mode
1: VDDIO1VRSEL bit retained in Standby mode
Bit 24 VDDIO1VRSEL: \(V_{DDIO1}\) I/O voltage range selection
This bit is used to select the voltage range supported by the I/Os supplied by \(V_{DDIO1}\). It is not reset by wake-up from Standby, but by any application reset (such as NRST, IWDG) when VDDIO1VRSTBY is set, otherwise reset on any system reset.
0: 3.3 V voltage range selected. If \(V_{DDIO1}\) is in 1.8 V range with this setting, the I/Os work in degraded mode.
1: 1.8 V voltage range selected. HSLV_VDDIO1 OTP bit must be set to allow 1.8 V voltage range operation. Setting this configuration while \(V_{DDIO1}\) is in 3.3 V range damages the device.
Bits 23:17 Reserved, must be kept at reset value.
Bit 16 VDDIO1RDY: \(V_{DDIO1}\) ready
0: \(V_{DDIO1}\) is below the threshold of the \(V_{DDIO1}\) voltage monitor.
1: \(V_{DDIO1}\) is equal or above the threshold of the \(V_{DDIO1}\) voltage monitor.
Bits 15:9 Reserved, must be kept at reset value.
Bit 8 VDDIO1SV: \(V_{DDIO1}\) independent I/O supply valid
This bit is used to validate the \(V_{DDIO1}\) supply for electrical and logical isolation purpose. Setting this bit is mandatory to use PE[5:0] I/Os. If \(V_{DDIO1}\) is not always present in the application, the \(V_{DDIO1}\) voltage monitor can be used to determine whether this supply is ready or not. This bit is reset on any system reset.
0: \(V_{DDIO1}\) is not present. Logical and electrical isolation is applied to ignore this supply.
1: \(V_{DDIO1}\) is valid.
Bits 7:1 Reserved, must be kept at reset value.
Bit 0 VDDIO1VMEN: \(V_{DDIO1}\) independent I/O voltage monitor enable
This bit is reset on any system reset.
0: \(V_{DDIO1}\) voltage monitor disabled
1: \(V_{DDIO1}\) voltage monitor enabled
20.12.8 PWR control register 9 (PWR_CR9)
Address offset: 0x020
Reset value: 0x0000 0000
Not reset by wake-up from Standby mode, application reset (such as NRST, IWDG), and \(V_{DD}\) POR, but reset only by \(V_{SW}\) POR and \(V_{SWRST}\). Access 6 wait states when writing this register. After reset, this register is write-protected, and DBD3P in PWR_BDCR1 has to be set before it can be written. When DBD3P is cleared, there are no bus errors generated when writing this register. This register must not be accessed when RCC VSWRST in RCC_BDCR resets the \(V_{SW}\) domain. When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by RSEC1 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV1 in PWR_RPRIVCFGR.
If compartment filtering is enabled only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPR1B SEN | Res. | Res. | Res. | BKPRB SEN |
| rw | rw |
Bits 31:5 Reserved, must be kept at reset value.
Bit 4 LPR1BSEN: LPSRAM 1 backup supply enable
This bit is used to maintain LPSRAM1 RAM content in Standby and \(V_{BAT}\) modes. When it is set, the LPSRAM1 is supplied from backup regulator in Standby and \(V_{BAT}\) modes. When this bit is reset, the LPSRAM1 can still be used in Run and Stop modes, but its content is lost in Standby and \(V_{BAT}\) modes.
- 0: LPSRAM1 backup supply disabled
- 1: LPSRAM1 backup supply enabled
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 BKPRBSEN: Backup RAM backup supply enable
This bit is used to maintain BKPSRAM content in Standby and \(V_{BAT}\) modes. When it is set, the BKPSRAM is supplied from backup regulator in Standby and \(V_{BAT}\) modes. When this bit is reset, the BKPSRAM can still be used in Run and Stop, but its content is lost in Standby and \(V_{BAT}\).
- 0: BKPSRAM backup supply disabled
- 1: BKPSRAM backup supply enabled
20.12.9 PWR control register 10 (PWR_CR10)
Address offset: 0x024
Reset value: 0x0000 0000
Not reset by wake-up from Standby, application reset (such as NRST, IWDG), and \(V_{DD}\) POR, but reset only by \(V_{SW}\) POR and \(V_{SWRST}\). Access 6 wait states when writing this register.
After reset, this register is write-protected, and DBD3P in PWR_BDCR1 has to be set before it can be written. When DBD3P is cleared, there are no bus errors generated when writing this register. This register must not be accessed when RCC VSWRST in RCC_BDCR resets the \(V_{SW}\) domain. When a system reset occurs during the register write cycle the written data is not guaranteed. Secure restriction is defined by RSEC1 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV1 in PWR_RPRIVCFGR.
If compartment filtering is enabled only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RETRBSEN[1:0] | |
| rw | rw |
Bits 31:2 Reserved, must be kept at reset value.
Bits 1:0 RETRBSEN[1:0]: Retention RAM backup supply enable
This bit is used to maintain RETRAM content in Standby and \(V_{BAT}\) modes. When it is set, the RETRAM is supplied from backup regulator in Standby and \(V_{BAT}\). When this bit is reset, the RETRAM can still be used in Run and Stop, but its content is lost in Standby and \(V_{BAT}\).
00: RETRAM backup supply disabled
01: RETRAM backup supply enabled in Standby and \(V_{BAT}\)
10-11: RETRAM backup supply enabled only in Standby (memory content lost in \(V_{BAT}\) mode)
Other: Reserved
20.12.10 PWR control register 11 (PWR_CR11)
Address offset: 0x028
Reset value: 0x0000 0000
Reset on any system reset.
Compartment filtering, secure and privilege restriction inherited from RCC internal resource 104 RIF configuration (see Section 21: Reset and clock control (RCC) for details. Any read
access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| column_1 | column_2 | column_3 | this register. | column_5 | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | RM0457 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DDRR ETDIS rw |
| Bit 0 | DDRRETDIS: | DDR retention disable | |||||||||||||
| for peripheral #79 (GPU) (see | Section 6.2: Resource isolation framework (RIF) | for details). | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VDDG PURDY r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | GPUSV | Res. | Res. | Res. | Res. | Res. | Res. | GPULV | GPUV |
| TEN TEN | MEN MEN | ||||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 16 | VDDGPURDY | : VDDGPU ready |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 DDRRETDIS: DDR retention disable
When written 1 to this bit, the DDR PHY exits LP3/IO retention. To enable retention software must write this bit to 0.
- 0: DDR self-refresh retention enabled
- 1: DDR self-refresh retention disabled
20.12.11 PWR control register 12 (PWR_CR12)
Address offset: 0x02C
Reset value: 0x0000 0000
Reset on any system reset.
Compartment filtering, and secure/privilege restriction are inherited from RISC configuration for peripheral #79 (GPU) (see Section 6.2: Resource isolation framework (RIF) for details). Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
Bits 31:17 Reserved, must be kept at reset value.
Bit 16 VDDGPURDY: \(V_{DDGPU}\) ready
0: \(V_{DDGPU}\) is below the threshold of the \(V_{DDGPU}\) voltage monitor (or the voltage monitor is disabled).
1: \(V_{DDGPU}\) is equal or above the threshold of the \(V_{DDGPU}\) voltage monitor.
Bits 15:9 Reserved, must be kept at reset value.
Bit 8 GPUSV: \(V_{DDGPU}\) independent supply valid
This bit is used to validate the \(V_{DDGPU}\) supply for electrical and logical isolation purpose. Setting this bit is mandatory to use the GPU. This bit is set and cleared by software. It is cleared by hardware when \(V_{DDGPU}\) drops below the VDDGPUVM threshold. (VDDGPURDY = 0).
0: \(V_{DDGPU}\) is not present. Logical and electrical isolation is applied to ignore this supply.
1: \(V_{DDGPU}\) is valid.
Note: Logical and electrical isolation is always applied when the GPU and NN extension are disabled by OTP (DIS2 fused to 1).
Bits 7:2 Reserved, must be kept at reset value.
Bit 1 GPULVTEN: \(V_{DDGPU}\) low-voltage threshold enable
This bit is used to select the low-voltage threshold on the GPU voltage monitor.
0: Low-voltage threshold disabled
1: Low-voltage threshold enabled
Bit 0 GPUVMEN: \(V_{DDGPU}\) independent GPU voltage monitor enable
0: \(V_{DDGPU}\) voltage monitor disabled
1: \(V_{DDGPU}\) voltage monitor enabled
20.12.12 PWR backup domain control register 1 (PWR_BDCR1)
Address offset: 0x038
Reset value: 0x0000 0000
Reset on any system reset.
Secure privileged write access only. Write only by trusted domain CID, as defined in RIMC. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| RM0457 | column_2 | Bit 8 Bit 1 Bit 0 | GPUSV: to this register. | GPULVTEN: GPUVMEN: | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | column_16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DBD3P |
| Bit 0 | DBD3P: | Disable backup and D3 domains (including LPSRAM1/2/3) write protection | |||||||||||||
| RM0457 Rev 5 | 915/ | 5881 |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 DBD3P: Disable backup and D3 domains (including LPSRAM1/2/3) write protection
In reset state, all registers in backup and D3 domains are protected against parasitic write access from D1 and D2 domains. This bit must be set to enable write access to these registers.
0: Write access to backup and D3 domains disabled
1: Write access to backup and D3 domains enabled
20.12.13 PWR backup domain control register 2 (PWR_BDCR2)
Address offset: 0x03C
Reset value: 0x0000 0000
Reset on D3 domain reset.
Non secure unprivileged write access only by CPU3. Any read access from CPU1, CPU2 and CPU3 is allowed to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DBP |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 DBP: Disable backup domain write protection
In reset state, all backup domain registers are protected against parasitic write access from D3 domain. This bit must be set to enable write access to these registers.
0: Write access to backup domain disabled
1: Write access to backup domain enabled
20.12.14 PWR CPU1 control register (PWR_CPU1CR)
Address offset: 0x040
Reset value: 0x0000 0000
See individual bits for reset condition. Access 6 wait states when writing this register. When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by RSEC2 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV2 in PWR_RPRIVCFGR.
If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LVDS_D1 | LPDS_D1 |
| rw | rw | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| STAND BYWFI L2 | Res. | Res. | Res. | Res. | Res. | CSSF | SBF_D3 | SBF_D1 | SBF | STOPF | VBF | Res. | Res. | PDDS_D1 | PDDS_D2 |
| r | w | rw | r | r | r | rw | rw | rw |
Bits 31:18 Reserved, must be kept at reset value.
- Bit 17 LVDS_D1: Low-voltage Deepsleep LPLV-Stop mode selection for the D1 domain (DStop3)
This bit is reset on any system reset. It has effect only when LPDS_D1 = 1. It changes the VDDCPU domain supply reset level.
0: LP-Stop mode VDDCPU domain supply reset level at same level as Run mode.
VDDCPU domain supply level in LP-Stop mode must be kept at same level as Run mode.
1: LPLV-Stop mode VDDCPU domain supply reset level at lower level than Run mode.
VDDCPU supply can be lowered in LPLV-Stop mode (see datasheet for voltage levels). - Bit 16 LPDS_D1: low-power Deepsleep Stop mode selection for the D1 domain (DStop2)
This bit is reset on any system reset.
0: Stop mode selected, external regulator kept in main power mode.
1: LP/LPLV-Stop mode selected, external regulator may enter low-power mode (low-power mode selection provided by LVDS_D1). - Bit 15 STANDBYWFIL2: CPU1 system idle indication
This bit is set and reset by hardware based on the CPU1 operation mode.
0: CPU1 system active
1: CPU1 system idle - Bits 14:10 Reserved, must be kept at reset value.
- Bit 9 CSSF: Clear CPU1 STOPF, SBF_D1/D3, SBF, VBF and CPU2 SBF flags (Always read as 0)
This bit is reset on any system reset.
0: No effect.
1: Clear CPU1 (STOPF, SBF_D1/D3, SBF, VBF) and CPU2 SBF flags. Register bit is cleared to 0 by hardware. - Bit 8 SBF_D3: D3 SStandby flag
This bit is set by hardware and cleared only by a VSW POR reset, or by setting the CPU1 CSSF bit. It is not reset when exiting VBAT or Standby mode.
0: D3 domain has not been in SStandby mode.
1: D3 domain has been in SStandby mode. - Bit 7 SBF_D1: D1 DStandby flag
This bit is set by hardware and cleared only by a VDD POR reset, or by setting the CPU1 CSSF bit. It is not reset when exiting Standby mode.
0: D1 domain has not been in DStandby mode.
1: D1 domain has been in DStandby mode. - Bit 6 SBF: System Standby flag
This bit is set by hardware and cleared only by a VDD POR reset, or by setting the CPU1 or CPU2 CSSF bit. It is not reset when exiting Standby mode.
0: System has not been in Standby mode.
1: System has been in Standby mode and system contents has been lost. - Bit 5 STOPF: System Stop flag
This bit is set by hardware, and cleared only by any system reset, or by setting the CPU1 CSSF bit.
0: System has not been in Stop mode.
1: System has been in Stop mode, and the clock system has been stopped. - Bit 4 VBF: VBAT mode exit flag
This bit is set by hardware, and cleared only by a VSW POR reset, or by setting the CPU1 CSSF bit. It is not reset when exiting VBAT mode.
0: System has not been in VBAT mode.
1: System has been in VBAT mode.
Bits 3:2 Reserved, must be kept at reset value.
Bit 1 PDDS_D1: D1 domain power-down Deepsleep selection
This bit is reset only by a \(V_{DD}\) POR reset. It is not reset when exiting Standby. It allows CPU1 to define the Deepsleep mode for the system.
0: DStop mode kept when CPU1 enters CStop
1: DStandby mode allowed when CPU1 enters CStop
Bit 0 PDDS_D2: D2 domain/system power-down Deepsleep selection
This bit is reset only by a \(V_{DD}\) POR reset. It is not reset when exiting Standby. it allows CPU1 to define the Deepsleep mode for the D2/system.
0: Stop mode kept when CPU1 enters CStop
1: Standby mode allowed when CPU1 enters CStop
20.12.15 PWR CPU2 control register (PWR_CPU2CR)
Address offset: 0x044
Reset value: 0x0000 0000
See individual bits for reset condition. Access 6 wait states when writing this register. When a system reset occurs during the register write cycle, the written data is not guaranteed.
Secure restriction is defined by RSEC3 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV3 in PWR_RPRIVCFGR.
If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LVDS_D2 | LPDS_D2 |
| rw | rw | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DEEPSLEEP | Res. | Res. | Res. | Res. | Res. | CSSF | SBF_D3 | SBF_D2 | SBF | STOPF | VBF | Res. | Res. | Res. | PDDS_D2 |
| r | w | rw | r | r | r | rw | rw |
Bits 31:18 Reserved, must be kept at reset value.
Bit 17 LVDS_D2: Low-voltage Deepsleep LPLV-Stop mode selection for the D2 domain/system
This bit is reset on any system reset. It has effect only when LPDS_D2 = 1. It changes the \(V_{DDCORE}\) domain supply reset level.
0: LP-Stop mode \(V_{DDCORE}\) domain supply reset level at same level as Run mode.
\(V_{DDCORE}\) domain supply level in LP-Stop mode must be kept at same level as Run mode.
1: LPLV-Stop mode \(V_{DDCORE}\) domain supply reset level at lower level than Run mode.
\(V_{DDCORE}\) supply can be lowered in LPLV-Stop mode (see datasheet for voltage levels).
Bit 16 LPDS_D2: low-power Deepsleep Stop mode selection for the D2 domain/syste.
This bit is reset on any system reset.
0: Stop mode selected, external regulator kept in main power mode (pwr_lp = 1)
1: LP/LPLV-Stop mode selected, external regulator may enter low-power mode (pwr_lp = 0) (low-power mode selection provided by LVDS_D2).
- Bit 15 DEEPSLEEP: CPU2 system idle indication
This bit is set and reset by hardware based on the CPU2 operation mode.
0: CPU2 system active
1: CPU2 system idle - Bits 14:10 Reserved, must be kept at reset value.
- Bit 9 CSSF: Clear CPU2 STOPF, SBF_D2/D3, SBF, VBF and CPU1 SBF flags (Always read as 0)
This bit is reset on any system reset.
0: No effect
1: Clear CPU2 (STOPF, SBF_D2/D3, SBF, VBF) and CPU1 SBF flags. Register bit is cleared to 0 by hardware. - Bit 8 SBF_D3: D3 SStandby flag
This bit is set by hardware, and cleared only by a \(V_{SW}\) POR reset, or by setting the CPU2 CSSF bit. It is not reset when exiting \(V_{BAT}\) or Standby mode.
0: D3 domain has not been in SStandby mode.
1: D3 domain has been in SStandby mode. - Bit 7 SBF_D2: D2 Standby flag
This bit is set by hardware, and cleared only by a \(V_{DD}\) POR reset, or by setting the CPU2 CSSF bit. It is not reset when exiting Standby mode.
0: D2 domain has not been in Standby mode.
1: D2 domain has been in Standby mode. - Bit 6 SBF: System Standby flag
This bit is set by hardware, and cleared only by a \(V_{DD}\) POR reset, or by setting the CPU2 or CPU1 CSSF bit. It is not reset when exiting Standby mode.
0: System has not been in Standby mode
1: System has been in Standby mode, system contents has been lost. - Bit 5 STOPF: System Stop flag
This bit is set by hardware, and cleared only by any system reset, or by setting the CPU2 CSSF bit.
0: System has not been in Stop mode.
1: System has been in Stop mode, and the clock system has been stopped. - Bit 4 VBF: \(V_{BAT}\) exit flag
This bit is set by hardware, and cleared only by a \(V_{SW}\) POR reset, or by setting the CPU2 CSSF bit. It is not reset when exiting \(V_{BAT}\) mode.
0: System has not been in \(V_{BAT}\) mode.
1: System has been in \(V_{BAT}\) mode. - Bits 3:1 Reserved, must be kept at reset value.
- Bit 0 PDDS_D2: D2 domain/system power-down Deepsleep selection
This bit is reset only by a \(V_{DD}\) POR reset. It is not reset when exiting Standby mode. It allows CPU2 to define the Deepsleep mode for the D2/system.
0: Stop mode kept when CPU2 enters CStop
1: Standby mode allowed when CPU2 enters CStop
20.12.16 PWR CPU3 control register (PWR_CPU3CR)
Address offset: 0x048
Reset value: 0x0000 0000
See individual bits for reset condition. Non secure unprivileged write access only by CPU3.
Any read access from CPU3 is allowed to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DEEPS LEEP | Res. | Res. | Res. | Res. | Res. | CSSF | SBF_D 3 | Res. | Res. | Res. | VBF | Res. | Res. | Res. | Res. |
| r | w | r | r |
Bits 31:16 Reserved, must be kept at reset value.
Bit 15 DEEPSLEEP: CPU3 system idle indication
This bit is set and reset by hardware based on the CPU3 operation mode.
0: CPU3 active
1: CPU3 idle
Bits 14:10 Reserved, must be kept at reset value.
Bit 9 CSSF: Clear CPU3 SBF_D3 and VBF flags (Always read as 0)
This bit is reset on any system reset.
0: No effect
1: Clear CPU3 SBF_D3 and VBF flags. Register bit is cleared to 0 by hardware.
Bit 8 SBF_D3: D3 SStandby flag
This bit is set by hardware, and cleared only by a \(V_{SW}\) POR reset, or by setting the CPU3 CSSF bit. It is not reset when exiting \(V_{BAT1}\) or Standby mode.
0: D3 domain has not been in SStandby mode.
1: D3 domain has been in SStandby mode.
Bits 7:5 Reserved, must be kept at reset value.
Bit 4 VBF: \(V_{BAT}\) exit flag
This bit is set by hardware, and cleared only by a \(V_{SW}\) POR reset, or by setting the CPU3 CSSF bit. It is not reset when exiting \(V_{BAT}\).
0: System has not been in \(V_{BAT}\) mode.
1: System has been in \(V_{BAT}\) mode.
Bits 3:0 Reserved, must be kept at reset value.
20.12.17 PWR D1 control register (PWR_D1CR)
Address offset: 0x04C
Reset value: 0x0000 0000
Not reset by wake-up from Standby and application reset (such as NRST, IWDG) but only reset by \(V_{DD}\) POR. Access 6 wait states when writing this register. When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction
is defined by RSEC1 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV1 in PWR_RPRIVCFGR.
If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | POPL_D1[4:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPCFG_D1 | ||||
| rw | rw | rw | rw | rw | rw | ||||||||||
Bits 31:13 Reserved, must be kept at reset value.
Bits 12:8 POPL_D1[4:0]: pwr_cpu_on pulse low configuration
These bits are set and cleared by software. They define the minimum guaranteed duration of the pwr_cpu_on low pulse in DStandby mode (no impact on DSTOP2/3 modes). The LSI oscillator is automatically enabled when needed by the POPL_D1 pulse low configuration.
00000: No guaranteed minimum low time
00001: ~ 1 ms guaranteed minimum low time (1 x 32 LSI cycles)
00010: ~ 2 ms guaranteed minimum low time (2 x 32 LSI cycles)
...
11111: ~ 31 ms guaranteed minimum low time. (31 x 32 LSI cycles)
Note: POPL_D1 value must not be smaller than PODH_D2 value.
Bits 7:1 Reserved, must be kept at reset value.
Bit 0 LPCFG_D1: PWR_CPU_ON pin configuration
0: PWR_CPU_ON pin signals DStandby mode (PWR_CPU_ON = 1 in DRun, DStop1/2/3, and = 0 in DStandby) (pwr_cpu_on).
1: PWR_CPU_ON pin signals DStandby and DStop2/3 modes (PWR_CPU_ON = 1 in DRun, DStop1, and = 0 in DStop2/3 and DStandby) (pwr_cpu_onlp).
20.12.18 PWR D2 control register (PWR_D2CR)
Address offset: 0x050
Reset value: 0x0007 0000
See individual bits for reset condition. Access 6 wait states when writing this register. When a system reset occurs during the register write cycle, the written data is not guaranteed.
Secure restriction is defined by RSEC1 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV1 in PWR_RPRIVCFGR.
If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | PODH_D2[3:0] | Res. | Res. | Res. | Res. | Res. | LPLVDLY_D2[2:0] | |||||
| rw | rw | rw | rw | rw | rw | rw | |||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | POPL_D2[4:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPCFG_D2 | |||
| rw | rw | rw | rw | rw | rw | ||||||||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:24 PODH_D2[3:0]: pwr_on delay high configuration
These bits are set and cleared by software. They define the delay to maintain PWR_ON high when entering in Standby mode. This delay is used to switch off \(V_{DDCPU}\) before \(V_{DDCORE}\). There is no impact when exiting Standby or on LP-Stop and LPLV-Stop modes. The LSI oscillator is automatically enabled when needed by the PODH_D2 delay high configuration. These bits are not reset by wake-up from Standby and application reset (such as NRST, IWDG) but only reset by \(V_{DD}\) POR.
0000: No delay
0001: ~ 1 ms delay (1 x 32 LSI cycles)
0010: ~ 2 ms delay (2 x 32 LSI cycles)
...
1111: ~ 15 ms delay (15 x 32 LSI cycles)
Bits 23:19 Reserved, must be kept at reset value.
Bits 18:16 LPLVDLY_D2[2:0]: LPLV delay value
These bits are set and cleared by software. They define the minimum delay value to be observed before activating PLLs and interconnect clocks, after one of the LPLV system Stop. The LSI oscillator is automatically enabled when needed by the counter. These bits are reset on any system reset.
000: ~187 µs delay (1 x 6 LSI cycles)
001: ~375 µs delay (2 x 6 LSI cycles)
010: ~562 µs delay (3 x 6 LSI cycles)
...
111: ~1.5 ms delay (8 x 6 LSI cycles) (default)
Bits 15:13 Reserved, must be kept at reset value.
Bits 12:8 POPL_D2[4:0]: pwr_on pulse low configuration
These bits are set and cleared by software. They define the minimum guaranteed duration of the pwr_on low pulse in Standby (no impact on LP-Stop and LPLV-Stop modes). The LSI oscillator is automatically enabled when needed by the POPL_D2 pulse low configuration. These bits are not reset by wake-up from Standby and application reset (such as NRST, IWDG) but only reset by \(V_{DD}\) POR.
00000: No guaranteed minimum low time
00001: ~ 1 ms guaranteed minimum low time (1 x 32 LSI cycles)
00010: ~ 2 ms guaranteed minimum low time (2 x 32 LSI cycles)
...
11111: ~ 31 ms guaranteed minimum low time (31 x 32 LSI cycles)
Bits 7:1 Reserved, must be kept at reset value.
Bit 0 LPCFG_D2: PWR_ON pin configuration
This bit is not reset by wake-up from Standby and application reset (such as NRST, IWDG) but only reset by \(V_{DD}\) POR.
0: PWR_ON pin signals Standby (PWR_ON = 1 in Run, Stop1/2, LP-Stop1/2, LPLV-Stop1/2, and = 0 in Standby1/2) (pwr_on).
1: PWR_ON pin signals Standby, LP-Stop, and LPLV-Stop modes (PWR_ON = 1 in Run, Stop1/2, and = 0 in LP-Stop1/2, LPLV-Stop1/2 and Standby1/2) (pwr_onlp).
20.12.19 PWR D3 control register (PWR_D3CR)
Address offset: 0x054
Reset value: 0x0000 0000
Not reset by wake-up from Standby, application reset (such as NRST, IWDG) and \(V_{DD}\) POR, but reset only by \(V_{SW}\) POR and \(V_{SWRST}\). Access 6 wait states when writing this register. After reset, this register is write-protected, and DBD3P in PWR_BDCR1 must be set before it can be written. When DBD3P is cleared, there are no bus errors generated when writing this register. This register must not be accessed when RCC VSWRST in RCC_BDCR resets the \(V_{SW}\) domain. When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by RSEC3 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV3 in PWR_RPRIVCFGR.
If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| D3RDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| r | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PDDS_D3 |
| rw |
Bit 31 D3RDY: D3 domain supply ready
This bit is set when the D3 domain is accessible.
0: D3 domain not ready
1: D3 domain ready
Bits 30:1 Reserved, must be kept at reset value.
Bit 0 PDDS_D3: D3 domain power-down Deepsleep selection
0: SStop mode kept when system enters Standby
1: SStandby mode allowed when system enters Standby
20.12.20 PWR wake-up control register x (PWR_WKUPCRx)
Address offset: 0x060+0x4*(x-1) (x = 1 to 6)
Reset value: 0x0000 0000
Not reset by wake-up from Standby, but by any application reset (such as NRST, IWDG). Access 6 wait states when writing this register. When clearing a WKUPF, the AHB write access completes after WKUPF has been cleared). When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by WIOSECx in PWR_WIOSECCFGR. Privilege restriction is defined by WIOPRIVx in PWR_WIOSECCFGR.
If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Authorized compartment value depends on the value of SEM_EN in PWR_WIOxCIDCFGR, and optionally SEM_MUTEX in PWR_WIOxSEMCR. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| WKUP F | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WKUP ENCPU 2 | WKUP ENCPU 1 |
| r | rw | rw | |||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | WKUPUPD[1:0] | Res. | Res. | Res. | WKUP P | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WKUP C | |
| rw | rw | rw | w | ||||||||||||
Bit 31 WKUPF: Wake-up flag for WKUPx pin before enable
This bit is set by hardware and cleared only by a NRST reset, or by setting WKUPC in PWR_WKUPCRx.
0: No wake-up event occurred.
1: A wake-up event was received from WKUPx pin.
Bits 30:18 Reserved, must be kept at reset value.
Bit 17 WKUPENCPU2: Enable WKUPx pin and interrupt for CPU2
0: An event on WKUPx pin does not wake up the system from Standby or Stop, nor generates an interrupt to CPU2.
1: A rising or falling edge on WKUPx pin wakes up the system from Standby or Stop, and generates an interrupt to CPU2.
Bit 16 WKUPENCPU1: Enable WKUPx pin and interrupt for CPU1
0: An event on WKUPx pin does not wake up the system from Standby or Stop, nor generates an interrupt to CPU1.
1: A rising or falling edge on WKUPx pin wakes up the system from Standby or Stop, and generates an interrupt to CPU1.
Bits 15:14 Reserved, must be kept at reset value.
Bits 13:12 WKUPPUPD[1:0]: Wake-up pull configuration for WKUPx pin
These bits define the I/O pin pull configuration used when WKUPENCPU1 or/and WKUPENCPU2 are set to 1 ( associated GPIO port pull configuration must be set to the same value or 00). The wake-up pin pull configuration is maintained in Standby mode.
- 00: No pulls
- 01: Pull-up
- 10: Pull-down
- 11: Reserved
Bits 11:9 Reserved, must be kept at reset value.
Bit 8 WKUPP: Wake-up polarity bit for WKUPx pin
This bit defines the polarity used for event detection on external WKUPx pin.
- 0: High-level detection (rising edge)
- 1: Low-level detection (falling edge)
Bits 7:1 Reserved, must be kept at reset value.
Bit 0 WKUPC: Clear wake-up flag for WKUPx pin
This bit is always read as 0. It is cleared to 0 by hardware.
- 0: No effect
- 1: Clear WKUPF in PWR_WKUPCRx
20.12.21 PWR D3 wake-up enable register (PWR_D3WKUPENR)
Address offset: 0x098
Reset value: 0x0000 0000
Reset by VSW POR and VSWRST.
Access 6 wait states when writing this register.
After reset, this register is write-protected, and DBD3P in PWR_BDCR1 must be set before it can be written. When DBD3P is cleared, there are no bus errors generated when writing this register. This register must not be accessed when RCC VSWRST in RCC_BDCR resets the VSW domain. When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by RSEC1 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV1 in PWR_RPRIVCFGR.
If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TAMP_WKUP EN_D3 |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
- Bit 0 TAMP_WKUPEN_D3: Enable D3 domain wake-up on tamper event in VBAT mode
The bit is set and cleared by software.
0: A tamper event on D3WKUP pin does not wake up the D3 domain from SStandby in VBAT.
1: A tamper event on D3WKUP pin wakes up the D3 domain from SStandby in VBAT.
20.12.22 PWR resource secure configuration register (PWR_RSECCFGR)
Address offset: 0x100
Reset value: 0x0000 0000
Reset on any system reset.
Non-secure or unprivileged writes to this register are ignored, while any read access from CPU1 and CPU2 is allowed. The CPU3 cannot access to this register.
Debug domain can write to this register if the feature is activated.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RSEC6 | RSEC5 | RSEC4 | RSEC3 | RSEC2 | RSEC1 | RSEC0 |
| rw | rw | rw | rw | rw | rw | rw |
Bits 31:7 Reserved, must be kept at reset value.
- Bit 6 RSEC6: Secure attribute reference for the local resource number 6
See RSEC0 for details. - Bit 5 RSEC5: Secure attribute reference for the local resource number 5
See RSEC0 for details. - Bit 4 RSEC4: Secure attribute reference for the local resource number 4
See RSEC0 for details. - Bit 3 RSEC3: Secure attribute reference for the local resource number 3
See RSEC0 for details. - Bit 2 RSEC2: Secure attribute reference for the local resource number 2
See RSEC0 for details. - Bit 1 RSEC1: Secure attribute reference for the local resource number 1
See RSEC0 for details. - Bit 0 RSEC0: Secure attribute reference for the local resource number 0
This bit is written by software to enable the secure mode for the local resource 0.
If compartment filtering for this local resource is enabled (resp. disabled) by CFEN in PWR_R0CIDCFGR, only an authorized compartment (resp. any compartment) can write this bit, if privilege and security of the access is sufficient.
0: The local resource number 0 is non-secure. Secure access is also possible.
1: The local resource number 0 is secure only.
20.12.23 PWR resource privileged configuration register (PWR_RPRIVCFGR)
Address offset: 0x104
Reset value: 0x0000 0000
Reset on any system reset.
Unprivileged writes to this register are ignored while any read access from CPU1 and CPU2 is allowed. The CPU3 cannot access to this register.
Debug domain can write to this register if the feature is activated.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RPRIV 6 | RPRIV 5 | RPRIV 4 | RPRIV 3 | RPRIV 2 | RPRIV 1 | RPRIV 0 |
| rw | rw | rw | rw | rw | rw | rw |
Bits 31:7 Reserved, must be kept at reset value.
Bit 6 RPRIV6: Privileged attribute reference for the local resource number 6
See RPRIV0 for details.
Bit 5 RPRIV5: Privileged attribute reference for the local resource number 5
See RPRIV0 for details.
Bit 4 RPRIV4: Privileged attribute reference for the local resource number 4)
See RPRIV0 for details.
Bit 3 RPRIV3: Privileged attribute reference for the local resource number 3
See RPRIV0 for details.
Bit 2 RPRIV2: Privileged attribute reference for the local resource number 2
See RPRIV0 for details.
Bit 1 RPRIV1: Privileged attribute reference for the local resource number 1
See RPRIV0 for details.
Bit 0 RPRIV0: Privileged attribute reference for the local resource number 0
This bit is written by software to enable the privileged mode for the local resource 0.
If corresponding SEC0 is set in PWR_RSECCFGR, this bit can only be written by a secure privileged application. If compartment filtering for this local resource is enabled (resp. disabled) by CFEN in PWR_R0CIDCFGR, only an authorized compartment (resp. any compartment) can write this bit, if privilege and security of the access is sufficient.
0: The local resource number 0 is unprivileged. Secure access is also possible.
1: The local resource number 0 is privileged only.
20.12.24 PWR resource x CID configuration register (PWR_RxCIDCFGR)
Address offset: 0x108 + 0x4 * x, (x = 0 to 6)
Reset value: 0x0000 0000
Reset on any system reset.
This register is used to configure the local resource x as belonging to a specific compartment (or not). Secure privileged write access only. Write only by trusted domain and secure privileged debug domain CID. Any read access from CPU1 and CPU2 is allowed on this register. The CPU3 cannot access to this register.
| column_1 | column_2 | column_3 | column_4 | column_5 | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | RM0457 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SCID[2:0] | Res. | Res. | Res. | CFEN | ||
| rw | rw | rw | rw | ||||||||||||
| Bits 6:4 | SCID[2:0] | : Static compartment identifier | |||||||||||||
| Bit 0 | CFEN: | Compartment ID filter enable | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WIOSE | WIOSE | WIOSE | WIOSE | WIOSE | WIOSE |
| C6 | C5 | C4 | C3 | C2 | C1 | ||||||||||
| rw | rw | rw | rw | rw | rw |
Bits 31:7 Reserved, must be kept at reset value.
Bits 6:4 SCID[2:0]: Static compartment identifier
When CFEN = 1, this field is used by the trusted domain application to define which compartment has access to the local resource number x.
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 CFEN: Compartment ID filter enable
- 0: Compartment-based filtering is disabled for resource number x.
- 1: Compartment-based filtering is enabled for resource number x.
20.12.25 PWR WIO secure configuration register (PWR_WIOSECCFGR)
Address offset: 0x180
Reset value: 0x0000 0000
Reset on any system reset.
Non-secure or unprivileged writes to this register are ignored, while any read access from CPU1 and CPU2 is allowed. The CPU3 cannot access to this register.
Debug domain can write to this register if the feature is activated.
Bits 31:6 Reserved, must be kept at reset value.
- Bit 5 WIOSEC6: Secure attribute reference for the wake-up I/O 6
See WIOSEC1 for details. - Bit 4 WIOSEC5: Secure attribute reference for the wake-up I/O 5
See WIOSEC1 for details. - Bit 3 WIOSEC4: Secure attribute reference for the wake-up I/O 4
See WIOSEC1 for details. - Bit 2 WIOSEC3: Secure attribute reference for the wake-up I/O 3
See WIOSEC1 for details. - Bit 1 WIOSEC2: Secure attribute reference for the wake-up I/O 2)
See WIOSEC1 for details. - Bit 0 WIOSEC1: Secure attribute reference for the wake-up I/O 1
This bit is written by software to enabled the secure mode for the wake-up I/O 1.
If compartment filtering for this wake-up I/O is enabled (resp. disabled) by CFEN bit in PWR_WIO1CIDCFGR, only an authorized compartment (resp. any compartment) can write this bit, if privilege and security of the access is sufficient.
Authorized compartment is defined as SCID if SEM_EN=0 in PWR_WIO1CIDCFGR.
if SEM_EN = 1, it is equal to SEMCID, if SEM_MUTEX = 1 in PWR_WIO1SEMCR. There is no authorized compartment if SEM_EN = 1 and SEM_MUTEX = 0.
0: The wake-up I/O 1 is non-secure. Secure access is also possible.
1: The wake-up I/O 1 is secure only.
20.12.26 PWR WIO privileged configuration register (PWR_WIOPRIVCFGR)
Address offset: 0x184
Reset value: 0x0000 0000
Reset on any system reset.
Unprivileged writes to this register are ignored while any read access from CPU1 and CPU2 is allowed. The CPU3 cannot access to this register.
Debug domain can write to this register if the feature is activated.
| RM0457 | column_2 | Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 | WIOSEC6 WIOSEC5 WIOSEC4 WIOSEC3 WIOSEC2 WIOSEC1 | column_5 | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | column_16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WIOPR | WIOPR | WIOPR | WIOPR | WIOPR | WIOPR |
| IV6 | IV5 | IV4 | IV3 | IV2 | IV1 | ||||||||||
| rw | rw | rw | rw | rw | rw | ||||||||||
| Bit 5 | WIOPRIV6: | Privileged attribute reference for the wake-up I/O 6 | |||||||||||||
| Bit 4 | WIOPRIV5: | Privileged attribute reference for the wake-up I/O 5 | |||||||||||||
| Bit 3 | WIOPRIV4: | Privileged attribute reference for the wake-up I/O 4 | |||||||||||||
| RM0457 Rev 5 | 929/ | 5881 |
Bits 31:6 Reserved, must be kept at reset value.
- Bit 5 WIOPRIV6: Privileged attribute reference for the wake-up I/O 6
See WIOPRIV1 for details. - Bit 4 WIOPRIV5: Privileged attribute reference for the wake-up I/O 5
See WIOPRIV1 for details. - Bit 3 WIOPRIV4: Privileged attribute reference for the wake-up I/O 4
See WIOPRIV1 for details.
Bit 2 WIOPRIV3: Privileged attribute reference for the wake-up I/O 3
See WIOPRIV1 for details.
Bit 1 WIOPRIV2: Privileged attribute reference for the wake-up I/O 2
See WIOPRIV1 for details.
Bit 0 WIOPRIV1: Privileged attribute reference for the wake-up I/O 1
This bit is written by software to enabled the privileged mode for the wake-up I/O 1. If corresponding SEC1 bit is set in PWR_WIOSECCFGR this bit can only be written by a secure privileged application. If compartment filtering for this wake-up I/O is enabled (resp. disabled) by CFEN in PWR_WIO1CIDCFGR, only an authorized privileged compartment (resp. any compartment) can write this bit, if privileged and security of the access is sufficient. Authorized compartment is defined as SCID if SEM_EN = 0 in PWR_WIO1CIDCFGR. If SEM_EN = 1, it is equal to SEMCID, if SEM_MUTEX = 1 in PWR_WIO1SEMCR. There is no authorized compartment if SEM_EN = 1 and SEM_MUTEX = 0.
0: The wake-up I/O 1 is unprivileged. Privileged access is also possible.
1: The wake-up I/O 1 is privileged only.
20.12.27 PWR WIO x CID configuration register (PWR_WIOxCIDCFGR)
Address offset: 0x188 + 0x8 * (x - 1) (x = 1 to 6)
Reset value: 0x0000 0000
Reset on any system reset.
This register is used to configure the wake-up I/O x as belonging to a specific compartment (or not). Secure privileged write access only. Write only by trusted domain CID.
Debug domain can also access if the feature is activated. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEMWLC7 | SEMWLC6 | SEMWLC5 | SEMWLC4 | SEMWLC3 | SEMWLC2 | SEMWLC1 | SEMWLC0 |
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SCID[2:0] | Res. | Res. | SEM_EN | CFEN | ||
| rw | rw | rw | rw | rw | |||||||||||
Bits 31:24 Reserved, must be kept at reset value.
Bit 23 SEMWLC7: Semaphore CID 7 enable
This bit is not ignored when semaphore is disabled (SEM_EN = 0) or compartment filtering is off (CFEN = 0).
0: CID 7 agent disabled to take the semaphore
1: CID 7 agent enabled to take the semaphore
Bit 22 SEMWLC6: Semaphore CID 6 enable
This bit is not ignored when semaphore is disabled (SEM_EN = 0) or compartment filtering is off (CFEN = 0).
0: CID 6 agent disabled to take the semaphore
1: CID 6 agent enabled to take the semaphore
- Bit 21 SEMWLC5: Semaphore CID 5 enable
This bit is not ignored when semaphore is disabled (SEM_EN = 0) or compartment filtering is off (CFEN = 0).
0: CID 5 agent disabled to take the semaphore
1: CID 5 agent enabled to take the semaphore - Bit 20 SEMWLC4: Semaphore CID 4 enable
This bit is not ignored when semaphore is disabled (SEM_EN = 0) or compartment filtering is off (CFEN = 0).
0: CID 4 agent disabled to take the semaphore
1: CID 4 agent enabled to take the semaphore - Bit 19 SEMWLC3: Semaphore CID 3 enable
This bit is not ignored when semaphore is disabled (SEM_EN = 0) or compartment filtering is off (CFEN = 0).
0: CID 3 agent disabled to take the semaphore
1: CID 3 agent enabled to take the semaphore - Bit 18 SEMWLC2: Semaphore CID 2 enable
This bit is not ignored when semaphore is disabled (SEM_EN = 0) or compartment filtering is off (CFEN = 0).
0: CID 2 agent disabled to take the semaphore
1: CID 2 agent enabled to take the semaphore - Bit 17 SEMWLC1: Semaphore CID 1 enable
This bit is not ignored when semaphore is disabled (SEM_EN = 0) or compartment filtering is off (CFEN = 0).
0: CID 1 agent disabled to take the semaphore
1: CID 1 agent enabled to take the semaphore - Bit 16 SEMWLC0: Semaphore CID 0 enable
This bit is not ignored when semaphore is disabled (SEM_EN = 0) or compartment filtering is off (CFEN = 0).
0: CID 0 agent disabled to take the semaphore
1: CID 0 agent enabled to take the semaphore - Bits 15:7 Reserved, must be kept at reset value.
- Bits 6:4 SCID[2:0]: Static CID
Trusted domain application uses this bitfield to statically define which compartment has access to the peripheral x when SEM_EN = 0.
This CID is ignored when semaphore is enabled (SEM_EN = 1) or compartment filtering is off (CFEN = 0). - Bits 3:2 Reserved, must be kept at reset value.
- Bit 1 SEM_EN: Semaphore enable
This bit is ignored if filtering is off (CFEN = 0). When this bit is cleared from 1 by trusted domain application, SEM_MUTEX is cleared to zero.
0: Wake-up I/O x access granted only if CID of the access equals to SCID.
1: Wake-up I/O x access granted only if SEM_MUTEX = 1 and CID of the access equals to SEMCID in PWR_WIOxSEMCR.
Bit 0 CFEN: CID filtering enable
Set and cleared by software. For any CFEN value, access controls to wake-up I/O x defined in PWR_WIOPRIVCFGR and PWR_WIOSECCFGR always apply. When this bit is cleared from 1 by trusted domain application, SEM_MUTEX is cleared to zero.
0: Compartment-based filtering defined in PWR_WIOxCIDCFGR and optionally PWR_WIOxSEMCR is disabled for wake-up I/O x.
1: Compartment-based filtering defined in PWR_WIOxCIDCFGR and optionally PWR_WIOxSEMCR is enabled for wake-up I/O x.
20.12.28 PWR WIO x semaphore control register (PWR_WIOxSEMCR)
Address offset: 0x18C + 0x8 * (x - 1) (x = 1 to 6)
Reset value: 0x0000 0000
Reset on any system reset.
If compartment filtering is disabled (CFEN = 0) or semaphore is disabled (SEM_EN = 0) in PWR_WIOxCIDCFGR, any write to this register is ignored. Privileged-only write if WIOPRIVx is set in PWR_WIOPRIVCFGR. Secure-only write if WIOSECx is set in PWR_WIOSECCFGR.
If compartment filtering is enabled and semaphore is enabled (CFEN and SEM_EN set in PWR_WIOxCIDCFGR), only an authorized compartment can write to this register. For this register, authorized compartment is equal to SEMCID if SEM_MUTEX = 1, else it is defined by the CID white list (SEMWLKy) in PWR_WIOxCIDCFGR. There is no authorized compartment if semaphore is disabled (SEM_EN = 0). Any read access from CPU1 and CPU2 is allowed on this register. The CPU3 cannot access to this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEMCID[2:0] | Res. | Res. | Res. | SEM_MUTEX | ||
| r | r | r | rw | ||||||||||||
Bits 31:7 Reserved, must be kept at reset value.
Bits 6:4 SEMCID[2:0]: Semaphore current CID
When SEM_EN and CFEN are set in PWR_WIOxCIDCFGR, this read-only bitfield is updated with the CID value of the latest successful acquisition of PWR_WIOxSEMCR semaphore (SEM_MUTEX bit set to 1). In all other cases, SEMCID stays unchanged.
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 SEM_MUTEX: Semaphore mutex
White listed application can set semaphore bit to get exclusive access to wake-up I/O x when SEM_EN is set in PWR_WIOxCIDCFGR (writes are ignored otherwise).
When SEM_MUTEX = 0, only applications belonging to white-listed compartments (defined with SEMWLCy in PWR_WIOxCIDCFGR) can acquire this semaphore.
When SEM_MUTEX = 1, only applications belonging to compartment SEMCID can release this semaphore. This bit is cleared when CFEN or SEM_EN are cleared from 1 by trusted domain application in PWR_WIOxCIDCFGR.
Read 0: Semaphore is free to take.
Read 1: Semaphore is taken.
Write 0: Release semaphore.
Write 1: Acquire semaphore.
20.12.29 PWR CPU1 status register (PWR_CPU1D1SR)
Address offset: 0x200
Reset value: 0x0000 0000
Any read access from CPU1, CPU2 and CPU3 is allowed on this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | DSTATE[2:0] | Res. | Res. | Res. | Res. | CSTATE[1:0] | Res. | HOLD_BOOT | |||
| r | r | r | r | r | r | ||||||||||
Bits 31:11 Reserved, must be kept at reset value.
Bits 10:8 DSTATE[2:0]: D1 domain state status
Set by hardware to indicate when the D1 domain is in DRun, DStop1/2/3 or DStandby mode.
000: DRun
001: DStop1
010: DStop2
011: DStop3
100: DStandby
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:2 CSTATE[1:0]: CPU1 cluster state status
Set by hardware to indicate when the CPU1 is in CRun, CSleep or CStop state.
00: CPU1 in reset
01: CPU1 in CRun
10: CPU1 in CSleep
11: CPU1 in CStop
Bit 1 Reserved, must be kept at reset value.
Bit 0 HOLD_BOOT: CPU1 HOLD_BOOT status flag.
This flag is not valid when the D1 domain is in DStandby mode. It is set by hardware to indicate when the CPU1 is in HOLD_BOOT state.
0: CPU1 allowed to boot
1: CPU1 maintained in HOLD_BOOT state by hardware
Note: Refer to Section 21 for details on HOLD_BOOT processor state.
20.12.30 PWR CPU2 status register (PWR_CPU2D2SR)
Address offset: 0x204
Reset value: 0x0000 0000
Any read access from CPU1, CPU2 and CPU3 is allowed on this register.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | DSTATE[2:0] | Res. | Res. | Res. | Res. | CSTATE[1:0] | WFBE N | HOLD_ BOOT | |||
| r | r | r | r | r | r | r | |||||||||
| Bits 10:8 | DSTATE[2:0] 000: Run | : System/D2 state status | |||||||||||||
| Bits 3:2 | CSTATE[1:0] | 101: VBAT : CPU2 cluster state status flag 00: CPU2 in reset | |||||||||||||
| Bit 1 | WFBEN | : CPU2 wait-for-boot enable status flag | |||||||||||||
| Note: Refer to | Section 21 | for details on HOLD_BOOT processor state. |
Bits 31:11 Reserved, must be kept at reset value.
Bits 10:8 DSTATE[2:0]: System/D2 state status
Set by hardware to indicate when the system/D2 domain is in Run, Stop, LP-Stop, LPLV-Stop, Standby or VBAT mode.
000: Run
001: Stop
010: LP-Stop
011: LPLV-Stop
100: Standby
101: VBAT
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:2 CSTATE[1:0]: CPU2 cluster state status flag
Set by hardware to indicate when the CPU2 is in CRUN, CSleep or CStop state.
00: CPU2 in reset
01: CPU2 in CRUN
10: CPU2 in CSleep
11: CPU2 in CStop
Bit 1 WFBEN: CPU2 wait-for-boot enable status flag
Set by hardware to indicate when the CPU2 is in wait-for-boot enable state. Only applicable in wake-up event mode. This flag is not valid when the system is in Standby mode.
0: CPU2 is not in wait-for-boot enable state (bit set at 0 in legacy boot mode).
1: CPU2 is in wait-for-boot enable state. It starts once an event assign to it is raised.
Note: Refer to Section 21 for details on HOLD_BOOT processor state.
Bit 0 HOLD_BOOT: CPU2 HOLD_BOOT status flag
This flag is not valid when the system is in Standby. Set by hardware to indicate when the CPU2 is in HOLD_BOOT state.
0: CPU2 is allowed to boot.
1: CPU2 is maintained in HOLD_BOOT state by hardware.
Note: Refer to Section 21 for details on HOLD_BOOT processor state.
20.12.31 PWR CPU3 status register (PWR_CPU3D3SR)
Address offset: 0x208
Reset value: 0x0000 0000
Any read access from CPU1, CPU2 and CPU3 is allowed on this register.
| RM0457 | column_2 | Bit 0 | column_4 | HOLD_BOOT Note: Refer to | column_6 | Section 21 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | column_16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | DSTATE[2:0] | Res. | Res. | Res. | Res. | CSTATE[1:0] | Res. | Res. | |||
| r | r | r | r | r | |||||||||||
| Bits 10:8 | DSTATE[2:0] | : D3 state status. 000: SRun1 | |||||||||||||
| Bits 3:2 | CSTATE[1:0] | : CPU3 cluster state status flag | |||||||||||||
| RM0457 Rev 5 | 935/ | 5881 |
Bits 31:11 Reserved, must be kept at reset value.
Bits 10:8 DSTATE[2:0]: D3 state status.
Set by hardware to indicate when the D3 domain is in SRun1/2/3, SStop1/2 or SStandby.
000: SRun1
001: SRun2
010: SRun3
011: SStop1
100: SStop2
101: SStandby (only accessible in debug Standby mode)
Bits 7:4 Reserved, must be kept at reset value.
Bits 3:2 CSTATE[1:0]: CPU3 cluster state status flag
Set by hardware to indicate when the CPU3 is in CRun, CSleep or CStop state.
00: CPU3 in reset.
01: CPU3 in CRun
10: CPU3 in CSleep
11: CPU3 in CStop
Bits 1:0 Reserved, must be kept at reset value.
20.12.32 PWR VER register (PWR_VERR)
Address offset: 0x3F4
Reset value: 0x0000 0011
Any read access from CPU1 and CPU2 is allowed on this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MAJREV[3:0] | MINREV[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 MAJREV[3:0]: Major revision number
Bits 3:0 MINREV[3:0]: Minor revision number
20.12.33 PWR identifier register (PWR_IPIDR)
Address offset: 0x3F8
Reset value: 0x0001 0003
Any read access from CPU1 and CPU2 is allowed on this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ID[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ID[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 ID[31:0]: Identifier of the PWR
20.12.34 PWR size identification register (PWR_SIDR)
Address offset: 0x3FC
Reset value: 0xA3C5 DD01
Any read access from CPU1 and CPU2 is allowed on this register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| SID[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SID[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
20.12.35 PWR register map
Table 119. PWR register map and reset values
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x000 | PWR_CR1 | GPVMO | Res. | Res. | Res. | Res. | VDDIO4VRSEL | VDDIO3VRSEL | VDDIOVRSEL | Res. | Res. | Res. | ARDY | UCPDRDY | USB33RDY | VDDIO4RDY | VDDIO3RDY | Res. | Res. | Res. | ASV | UCPDSV | Res. | VDDIO4SV | VDDIO3SV | Res. | Res. | Res. | AVMEN | UCPDVMEN | USB33VMEN | VDDIO4VMEN | VDDIO3VMEN |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||
| 0x004 | PWR_CR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TEMPH | TEMP | V08CAPH | V08CAPL | Res. | Res. | Res. | Res. | Res. | Res. | MONEN | |
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x008 | PWR_CR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PVDO | Res. | Res. | Res. | Res. | Res. | Res. | PVDEN | |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x00C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x010 | PWR_CR5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VCOREH | VCOREL | Res. | Res. | Res. | Res. | Res. | Res. | VCOREMONEN | |
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x014 | PWR_CR6 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VCPUH | VCPUL | Res. | Res. | Res. | VCPULLS | Res. | Res. | VCPUMONEN | |
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x018 | PWR_CR7 | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO2VRSTBY | VDDIO2VRSEL | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO2RDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO2VMEN | |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0x01C | PWR_CR8 | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO1VRSTBY | VDDIO1VRSEL | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO1RDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO1SV | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO1VMEN | |
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
Table 119. PWR register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x020 | PWR_CR9 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPR1BSEN | Res. | Res. | Res. | BKPRBSEN |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x024 | PWR_CR10 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RETRBSEN [1:0] | |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x028 | PWR_CR11 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DDRRETDIS |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x02C | PWR_CR12 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VDDGPURDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | GPUSV | Res. | Res. | Res. | Res. | Res. | Res. | GPULVTEN | GPUVMEN |
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x030-0x034 | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x038 | PWR_BDCR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DBD3P |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x03C | PWR_BDCR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DBP |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x040 | PWR_CPU1CR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LVDS_D1 | LPDS_D1 | STANDBYWFIL2 | Res. | Res. | Res. | Res. | Res. | CSSF | SBF_D3 | SBF_D1 | SBF | STOPF | VBF | Res. | Res. | PDDS_D1 | PDDS_D2 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||
| 0x044 | PWR_CPU2CR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LVDS_D2 | LPDS_D2 | DEEPSLEEP | Res. | Res. | Res. | Res. | Res. | CSSF | SBF_D3 | SBF_D2 | SBF | STOPF | VBF | Res. | Res. | Res. | PDDS_D2 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||
| 0x048 | PWR_CPU3CR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DEEPSLEEP | Res. | Res. | Res. | Res. | Res. | CSSF | SBF_D3 | Res. | Res. | Res. | VBF | Res. | Res. | Res. | Res. |
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||

Table 119. PWR register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x04C | PWR_D1CR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | POPL_D1[4:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPCFG_D1 | ||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0x050 | PWR_D2CR | Res. | Res. | Res. | Res. | PODH_D2 [3:0] | Res. | Res. | Res. | Res. | Res. | LPLVDLY_D2 [2:0] | Res. | Res. | Res. | Res. | POPL_D2[4:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPCFG_D2 | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x054 | PWR_D3CR | D3RDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PDDS_D3 | |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x058-0x05C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x060 + 0x4*x (x=1 to 6) Last address: 0x074 | PWR_WKUPCRx | WKUPF | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WKUPENCPU2 | WKUPENCPU1 | Res. | Res. | Res. | WKUPPUPD [1:0] | Res. | Res. | Res. | WKUPP | Res. | Res. | Res. | Res. | Res. | Res. | WKUPC | |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
| 0x078-0x094 | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x098 | PWR_D3WKUPE NR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TAMP_WKUPEN_D3 | |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x09C-0x0FC | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x100 | PWR_RSECCFG R | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RSEC6 | RSEC5 | RSEC4 | RSEC3 | RSEC2 | RSEC1 | RSEC0 | |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
| 0x104 | PWR_RPRIVCF GR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RPRIV6 | RPRIV5 | RPRIV4 | RPRIV3 | RPRIV2 | RPRIV1 | RPRIV0 | |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
| 0x108 + 0x4*x (x=0 to 6) Last address: 0x120 | PWR_RxCIDCFG R | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SCID [2:0] | Res. | Res. | Res. | Res. | CFEN | ||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x124-0x17C | Reserved | Reserved | |||||||||||||||||||||||||||||||
Table 119. PWR register map and reset values (continued)
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x180 | PWR_WIOSECC FGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WIOSEC6 | WIOSEC5 | WIOSEC4 | WIOSEC3 | WIOSEC2 | WIOSEC1 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0x184 | PWR_WIOPRIVC FGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WIOPRIV6 | WIOPRIV5 | WIOPRIV4 | WIOPRIV3 | WIOPRIV2 | WIOPRIV1 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0x188 + 0x8*x (x=1 to 6) Last address: 0x1B0 | PWR_WIOxCIDC FGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEMWLC7 | SEMWLC6 | SEMWLC5 | SEMWLC4 | SEMWLC3 | SEMWLC2 | SEMWLC1 | SEMWLC0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SCID[2:0] | Res. | Res. | SEM_EN | CFEN | ||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x18C + 0x8*x (x=1 to 6) Last address: 0x1B4 | PWR_WIOxSEM CR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEMCID[2:0] | Res. | Res. | Res. | SEM_MUTEX | ||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x1B8-0x1FC | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x200 | PWR_CPU1D1S R | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DSTATE [2:0] | Res. | Res. | Res. | Res. | CSTATE [1:0] | Res. | HOLD_BOO | |||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0x204 | PWR_CPU2D2S R | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DSTATE [2:0] | Res. | Res. | Res. | Res. | CSTATE [1:0] | WFBEN | HOLD_BOO | |||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
| 0x208 | PWR_CPU3D3S R | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DSTATE [2:0] | Res. | Res. | Res. | Res. | CSTATE [1:0] | Res. | Res. | |||
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x20C-0x3F0 | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x3F4 | PWR_VERR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MAJREV [3:0] | MINREV [3:0] | ||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||
| 0x3F8 | PWR_IPIDR | ID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | |
| 0x3FC | PWR_SIDR | SID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | |
Refer to Section 2.4 for the register boundary addresses.
