19. 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 VDDCPU and VDDCORE 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.
19.1 PWR main features
- • System supply external regulation control
- – VDDCORE supply request PWR_ON
- – VDDCPU supply request PWR_CPU_ON
- – VDDCORE/VDDCPU 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 (VDDIO1, VDDOI2, VDDIO3, VDD33USB, VDDA18ADC)
- – V08CAP thresholds
- – Temperature thresholds
- – VDDCORE monitor
- – VDDCPU monitor
- • Power management
- – Operating modes
- – Low-power modes
19.2 PWR block diagram
The figure below gives a PWR simplified view and the key signals exchanged with the other blocks.
Figure 50. 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-modules:
- Register interface: Connected to the AHB bus.
- POR/PDR: Receives power supply pins (PDR_ON, NRST, VDD, VDDCPU, VDDCORE) and provides reset signals (nrst_por, ready_run, por_vsw, Vcore_rdy, Vcpu_rdy) to the RCC. It also receives VBAT.
- Backup domain: Connected to the VBAT pin.
- PWR control: Manages power states (PWR_ON, PWR_LP, PWR_CPU_ON).
- Wakeup: Handles wake-up events from various sources (WKUP[6:1], VDDA18ADC, VSSA, VDDIO1, VDDIO2, VDDIO3, VDD33USB) and provides interrupt signals (cpu1_int_wkup, cpu2_int_wkup, async_wkup[6:1]) to the Power management block.
- PVD and PVM: Provides wake-up events based on voltage levels (pvdo, gpvmo).
- Power management: Coordinates system power states, receiving signals from the Wakeup block and providing control signals (ck_sys, pwrwake_c1, pwrwake_c2, pwrwake_sys, c1_hw_ben, c2_hw_ben) to the RCC and wake-up signals (sys_ds_exit, c1_ds_exit, c2_ds_exit, c1_stby_exit, c2_stby_exit) to the EXTI1/2 block.
- Thresholds: Includes BOR (Brown-out Reset), V08CAP thresholds, and Temp thresholds.
MSv73127V2
19.2.1 PWR pin overview
The table below lists the PWR signals connected to pads or balls.
Table 85. PWR pin overview
| Pin name | I/O | Description |
|---|---|---|
| VDD | Power | Main I/O and \(V_{DD}\) domain supply input |
| VDDA18AON | Power | Main analog supply input |
| VBAT | Power | Backup battery supply input |
| VDDCPU | Power | CPU (Cortex-A35) domain supply |
| VDDCORE | Power | Core domain supply |
| VDDA18ADC | Power | ADC analog supply |
| VDDIO1 | Power | Independent I/O supply 1 (PE[5:0]) |
| VDDIO2 | Power | Independent I/O supply 2 (PE[15:6]) |
| VDDIO3 | Power | Independent I/O supply 3 (PD[11:0]) |
| VDD33USB | Power | USB HS PHY IO 3.3 V supply input |
| VSS | Power | Main ground |
| VSSA | Power | 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 STMicroelectronics production tests, must always be connected to \(V_{DDA18AON}\) in final application. |
19.3 PWR power supplies
The system requires supply on VDD, VDDA18AON, VDDCPU and VDDCORE, and provides independent supplies for VDDA18ADC, VBAT, VDD33USB, VDDIO1, VDDIO2, VDDIO3, 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 when \(V_{DD}\) is not present (\(V_{BAT}\) mode)
- • \(V_{DDCORE}\) digital core domain supply, dependent on \(V_{DD}\) and \(V_{DDA18AON}\) supplies. \(V_{DD}\) and \(V_{DDA18AON}\) must be present before \(V_{DDCORE}\).
- • \(V_{DDCPU}\) digital CPU domain supply (Cortex-A35), dependent on \(V_{DD}\) and \(V_{DDA18AON}\) supplies. \(V_{DD}\) and \(V_{DDA18AON}\) must be present before \(V_{DDCPU}\).
- • \(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 USB HS PHY, 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_{SS33USB}\) separate USB 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 51. Power supply overview

MSv73129V1
19.3.1 PWR CPU and CORE 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 when in Standby. This domain is called system D2 domain.
Following a \(V_{DD}\) power-on reset, the external regulators are enabled via PWR_ON or PWR_CPU_ON, and supply the \(V_{DDCORE}\) and \(V_{DDCPU}\).
The \(V_{DDCPU}\) and \(V_{DDCORE}\) 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}\) 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 86. \(V_{DDCPU}/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_{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_CPU1R and with LPDS_D2 in PWR_CPU2R. 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_CPU1R (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_CPU1R, and with LPDS_D2 in PWR_CPU2R.
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_CPU1R and by LVDS_D2 in PWR_CPU2R, 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_CPU1R (LP-Stop2).
- • In Standby mode
- – 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.
19.3.2 PWR supply system startup sequence
The system startup sequence is detailed below and shown in Figure 52:
- 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 52. Device startup supply sequence.

The diagram illustrates the device startup supply sequence. It shows the timing of various signals relative to system states: Power down or VBAT mode, POR, System reset, Wait oscillator, Hardware system init, and Run1.
- VDDA18AON: Rises above the POR threshold during the POR state.
- VDD: Rises above the POR threshold during the POR state.
- nrst_por: Transitions from low to high during the POR state.
- PWR_ON / PWR_LP: Transitions from HiZ to high during the POR state.
- VDDCORE: Rises above the vddcore_ok threshold during the System reset state.
- vddcore_ok: Transitions from low to high during the System reset state.
- PWR_CPU_ON: Transitions from HiZ to high during the System reset state.
- VDDCPU: Rises above the vddcpu_ok threshold during the Hardware system init state.
- ck_sys (hsi): Starts oscillating during the Hardware system init state and continues through the Run1 state.
Vertical dashed lines mark the transitions between states. The states are labeled at the bottom: Power down or VBAT mode, POR, System reset, Wait oscillator, Hardware system init, and Run1. The diagram is labeled MSv73125V1.
19.3.3 PWR supply Run2 sequence
The system Run2 sequence is detailed below and shown in Figure 53.
- 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 53. 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, drop to low during Run2, and return to high during Wait REG and the subsequent Run1.
- VDDCPU: Drops to 0V during Run2 and rises back to the vddcpu_ok threshold during Wait REG.
- vddcpu_ok: High during Run1, low during Run2, and high again during Wait REG and Run1.
- PWR_ON (1) and PWR_LP (1): Remain high throughout the sequence.
- VDDCORE (vddcore): Remains high throughout the sequence.
- vddcore_ok (1): Remains high throughout the sequence.
- Operating mode: Transitions from Run1 to Run2, then Wait REG, and back to Run1.
- ck_cpu1: Active (square wave) during Run1, inactive (low) during Run2 and Wait REG, and active again during the final Run1.
Vertical dashed red lines mark the transitions between the four phases: (1) Run1, (2) Run2, (3) Wait REG, and (4) Run1. The label MSv67419V2 is present in the bottom right corner of the diagram area.
19.3.4 PWR supply Stop sequences
Stop1
The system Stop1 sequence is detailed below and shown in Figure 54. 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.

MSv67423V1
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 Stop2. The system Stop2 mode sequence is detailed below and shown in Figure 55:
- 1. When entering 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. 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 voltage regulators providing the VDDCPU 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 VDDCPU is below the vddcpu_ok threshold, the CORE domain is kept under system reset.
- 5. Once the VDDCPU is above the vddcpu_ok threshold level, the system enters Run1 mode.
Figure 55. Device low-power Stop2 supply sequence

MSv67424V1
19.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 56. 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 56. 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 and their transitions:
- PWR_CPU_ON: A green dashed line indicating a low-voltage state during the LP-Stop1/LPLV-Stop1 phase.
- VDDCPU: A green dashed line showing the voltage ramping down to a low level and then ramping back up.
- vddcpu_ok (1): A signal that transitions from high to low and back to high.
- PWR_ON: A green dashed line indicating a low-voltage state during the LP-Stop1/LPLV-Stop1 phase.
- PWR_LP: A solid line that transitions from high to low and back to high.
- VDDCORE: A green dashed line showing the voltage ramping down to a low level and then ramping back up.
- vddcore_ok (1): A signal that transitions from high to low and back to high.
- Operating mode: A sequence of modes: Run1, LP-Stop1/LPLV-Stop1, Wait oscillator, Wait both REGs, and Run1.
- ck_sys: A clock signal that is active during Run1 modes and inactive during LP-Stop1/LPLV-Stop1 and Wait modes.
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/LPLV-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 57:
- 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.
Note: If the CPU1 wake-up event is generated from one of the WKUP pins, the PWR_CPU_ON will rise at same time than PWR_LP. The vddcpu_ok delay is then running concurrently than the LPLVDLY and oscillator wait delays, which mean the overall wakeup time to RUN1 is slightly better.
Figure 57. Device low-power LP-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.
MSv73124V1
19.3.6 PWR supply Standby sequence
The system Standby mode sequence is detailed below and shown in Figure 58:
- 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 58. Device Standby mode power control

The 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 to initiate standby, and back to high to exit standby.
- VDDCPU: Falls to 0V when PWR_CPU_ON goes low, and rises back to its operating level after PWR_CPU_ON returns high.
- PWR_ON: Transitions from high to low when entering standby, and back to high when exiting.
- PWR_LP: Transitions from high to low when entering standby, and back to high when exiting.
- VDDCORE: Falls to 0V when PWR_ON goes low, and rises back to its operating level after PWR_ON returns high.
- vddcore_ok: Transitions from high to low when VDDCORE falls, and back to high once VDDCORE reaches the 'vddcore_ok threshold'.
- Operating mode: Shows the system state: Run1 (1), Standby (2), POR (3), Wait oscillator and vddcpu_ok (4), and Run1 (5).
- ck_sys: Shows the system clock. It is active during Run1 (1) and (5), and inactive during Standby (2), POR (3), and the waiting period (4).
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 59. Device Standby mode power control CPU2 wake-up alone

The diagram illustrates the power control sequence for a CPU2 wake-up alone from standby mode. It shows the following signals and their transitions:
- PWR_CPU_ON: Transitions from high to low to initiate standby, and back to high to exit standby.
- VDDCPU: Falls to 0V when PWR_CPU_ON goes low, and remains low.
- PWR_ON: Transitions from high to low when entering standby, and back to high when exiting.
- PWR_LP: Transitions from high to low when entering standby, and back to high when exiting.
- VDDCORE: Falls to 0V when PWR_ON goes low, and rises back to its operating level after PWR_ON returns high.
- vddcore_ok: Transitions from high to low when VDDCORE falls, and back to high once VDDCORE reaches the 'vddcore_ok threshold'.
- Operating mode: Shows the system state: Run1 (1), Standby (2), POR (3), Wait oscillator (4), and Run2 (5).
- ck_sys: Shows the system clock. It is active during Run1 (1) and (5), and inactive during Standby (2), POR (3), and the waiting period (4).
MSv67421V2
19.3.7 PWR supply \(V_{BAT}\) sequence from Standby
The system \(V_{BAT}\) mode sequence after Standby is detailed below and shown in Figure 60.
- 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 60. 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 at the start of the sequence.
- PWR_ON/PWR_CPU_ON: Transitions to HiZ after the \(V_{DD}\) supply begins to decrease.
- PWR_LP: Transitions to HiZ after the \(V_{DD}\) supply begins to decrease.
- \(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 point where \(V_{DD}\) and \(V_{DDA18AON}\) are powered down.
- ck_sys: Remains at a low level.
The diagram is divided into two regions: (1) Standby and (2) \(V_{BAT}\) mode. A vertical dashed red line indicates the transition point. The diagram is labeled MSv73126V1.
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.
19.3.8 PWR \(V_{SW}\) domain
To retain the content of the backup domain (RTC, backup registers, LSE and backup ram) when \(V_{DD}\) and \(V_{DDA18AON}\) are turned off, the \(V_{BAT}\) 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}\) and \(V_{DDA18AON}\) supplies.
Warning: During \(t_{RSTTEMPO}\) (temporization at \(V_{DD}\) and \(V_{DDA18AON}\) 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 VDD and the power switch (VBAT).
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.
Figure 61. VSW / Backup domain

When the VDD and VDDA18AON supplies are present, the backup domain is supplied from VDD. This allows VBAT power supply battery life time optimization.
If no external backup battery is used in the application, it is recommended to connect VBAT externally to VDD through a 100 nF external ceramic capacitor.
Whenever VDD and VDDA18AON supplies are present and above the PDR threshold, the backup domain is supplied by VDD. When VDD or VDDA18AON supply is not present and a supply is present on VBAT, the backup domain is supplied by VBAT.
The table below shows the functions available in Backup domain when the core low-power supply is powered off.
Table 87. VSW domain function when VDD and VDDA18AON are presents| Pin name | GPIO | LSE | RTC | TAMPER_OUT(1) | TAMPER_IN(1) |
|---|---|---|---|---|---|
| PC3, PC4, PC5, PF6, PF7 | - | - | - | - | X(2) |
| PC13 | X | - | X(3) | X | - |
| PC14, PC15 | X | X | - | - | - |
| PI8 | X | - | X(4) | X | X |
| PZ0, PZ1, PZ3 | X | - | - | X | - |
- 1. When configured by the RTC as tamper pin.
- 2. It is the only function when in VSW domain.
- 3. See Table 622: RTC pin PC13 configuration.
- 4. See Table 623: PI8 configuration.
19.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 64 for details).
19.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.
19.3.11 PWR backup domain access
After a system reset, the backup domain (RCC_BDCR, RTC, TAMP and backup registers, backup SRAM) are protected against possible unwanted write accesses. To enable access to the backup domain, DBD in PWR_BDCR must be set.
For more detail on RTC and backup registers, see Section 63.
19.3.12 PWR VDD 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 62. \(V_{DD}\) domain

Figure 62: VDD domain. This diagram shows the power supply architecture. It includes the following components and connections:
- Power Inputs: \(V_{DD}\), \(V_{DDCORE}\), and \(V_{DDA18AON}\).
- Retention Interface: A block that receives \(V_{DDCORE}\) and is connected to the \(V_{DD}\) domain.
- \(V_{DD}\)/retention domain: A large block containing:
- Backup supply from bkp regulator: A switch that provides a backup power source.
- Retention interface: A block that interfaces with the \(V_{DD}\) domain.
- \(V_{DD}\) I/Os: A block that interfaces with the \(V_{DDA18AON}\) input.
- Internal Blocks: RIFSC, IAC, IWDG1/2, BSEC, IWDG3/4, DAP, LSI, and OTP.
- Connections: The \(V_{DD}\) input is connected to the \(V_{DD}\)/retention domain. The \(V_{DDCORE}\) input is connected to the retention interface. The \(V_{DDA18AON}\) input is connected to the \(V_{DD}\) I/Os block.
19.3.13 PWR analog supply
PWR separate analog \(V_{DDA18ADC}\) 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 \(V_{\text{REF}}\)
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 \(V_{REF+}\) supply controls the highest voltage, represented by the full scale value. The lower voltage reference \(V_{REF-}\) must be connected together with \(V_{SSA}\).
When enabled by ENVR in VREFBUF_CSR (see Section 38.6.1), the \(V_{REF+}\) 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 38). The reference voltage can also be generated internally by the ADC cell by setting the SELBG and SELREF bits in ADC OR (see Section 36).
To enable the ADC with an external \(V_{REF}\), the ADC supply must be up and stable before the \(V_{REF}\) is enabled. The sequence to monitor the \(V_{DD18ADC}\) supply is described in
RM0506 Power control (PWR)
RM0506 Rev 2 793/4831
Section 19.4.6: Peripheral voltage monitoring (PVM). Once done, ENVR and HIZ bit in VREFBUF_CSR register can be used to enable VREF+ pin input (ENVR = 0, HIZ = 1).
19.4 PWR power supply supervision
Power supply level monitoring is available on the following supplies:
- • \(V_{DD}/V_{DDA18AON}\) via POR/PDR (Section 19.4.1), BOR (Section 19.4.2), and PVD monitor (Section 19.4.5)
- – 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.
- • \(V_{BAT}\) via \(V_{08CAP}\) threshold (see Section 19.4.7)
- – The \(V_{08CAP}\) monitoring flags are available from V08CAPH and V08CAPL in PWR_CR2. In addition, an interrupt and wake-up can be generated via the EXTI2.
- • \(V_{DDCORE}\) via vcore_rdy which keeps \(V_{DDCORE}\) domain in reset as long as the level is not OK (see Section 19.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_{DDCPU}\) via vcpu_rdy which keeps \(V_{DDCPU}\) domain in reset as long as the level is not OK (see Section 19.4.4)
- – The \(V_{DDCPU}\) OK monitoring flag is available from SBF_D1 in PWR_CPU1CR, and from VCPURSTF in the RCC.
- • \(V_{DDIO1}\), \(V_{DDIO2}\), \(V_{DDIO3}\), \(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 \(V_{SW}\) monitoring has no flag. The \(V_{SW}\) registers reset value can be used.
19.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 63. Power-on reset/power-down reset waveform

Note: For thresholds and hysteresis, refer to the datasheet.
19.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 selecting another BOR threshold, this only takes effect after the device has loaded to option bytes. The following programmable \(V_{BOR}\) thresholds can be selected:
- • BOR off (\(V_{BOR0}\)): reset threshold level for above 1.67 V voltage operation
- • BOR level 1 (\(V_{BOR1}\)): reset threshold level for above 2.97 V voltage 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.
BOR can be disabled by programming the system option bytes. To disable the BOR function, \(V_{DD}\) must be higher than \(V_{BOR0}\) to start the system option byte programming sequence. The power down is then monitored by the PDR (see Section 19.4.1).
The BOR threshold hysteresis is ~100 mV for level 1, and ~40 mV for level 0 (between the rising and the falling edge of the supply voltage).
Figure 64. BOR thresholds

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

19.4.4 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 66. vddcpu_ok reset thresholds

MSv67438V1
19.4.5 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 EXTI1 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 EXTI1 rising/falling edge configuration. As an example the service routine can perform emergency shutdown tasks.
Figure 67. PVD thresholds

Note: For thresholds and hysteresis, refer to the datasheet.
19.4.6 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_{DD33USB}\) and \(V_{DDA18ADC}\)) can be independent from \(V_{DD}\), and can be monitored with six 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.
- • USB33VM monitors the USB supply \(V_{DD33USB}\). USB33RDY in PWR_CR1 indicates if \(V_{DD33USB}\) is higher or lower than the \(V_{USB33VM}\) 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_{DD33USB}\) 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 USB HS 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 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.
- 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}\) and \(V_{DDIO3}\) 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.
19.4.7 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 64).
The \(V_{08CAP}\) supply monitor can be enabled/disabled with MONEN in PWR_CR2. When enabled, the \(V_{08CAP}\) voltage thresholds increase the power consumption. As an example, the levels can be used to trigger a routine to perform emergency saving tasks.
The \(V_{08CAP}\) voltage thresholds, when enabled, are also available in Standby and VBAT modes.
Figure 68. \(V_{08CAP}\) thresholds

Note: For thresholds and hysteresis, refer to the datasheet.
19.4.8 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 64).
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 \(V_{BAT}\) modes.
Figure 69. Temperature thresholds

Note: For thresholds and hysteresis, refer to the datasheet.
19.5 PWR power management
The power management controls \(V_{DDCPU}\) and \(V_{DDCORE}\) supplies in accordance with the system operation modes (see Section 19.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
D1 and system D2 can be in one of the following operating modes:
- • DRun, Run1/2, (power On, clock On)
- • DStop1/2/3, Stop1/2, LP-Stop1/2, LPLV-Stop1/2 (power on, clock off)
- • DStandby, Standby (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.
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. A CPU subsystem can include multiple domains depending on its peripheral allocation. The operating modes for the different system parts are defined below.
CPU1 and CPU2 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_CPU1R 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_CPU1R selects LP-Stop. LVDS_D1 in PWR_CPU1R 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_CPU1R 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.
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. CPU1 and CPU2 subsystems are in CStop, and PDDS_D1 in PWR_CPU1CR selects DStop. At least on 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. CPU1 and CPU2 subsystems are in CStop, and PDDS_D1 in PWR_CPU1CR selects DStandby. At least on PDDS_D2 in PWR_CPU1CR and PWR_CPU2CR select Stop mode.
- • Standby
The system is powered down. All CPU subsystems are in CStop. PDDS_D1 in PWR_CPU1CR selects DStandby. PDDS_D2 in PWR_CPU1CR and PWR_CPU2CR select Standby.
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 88. 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 | ||||||
| WFI | CPU1 processor1 interrupt or reset | ||||||||
| P0STOP | P1RUN | WFE | CPU1 processor0 interrupt, or event, or reset | ||||||
| WFI | CPU1 processor0 interrupt, or reset | ||||||||
| 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 89. 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 system low-power mode summary
The system low-power modes are derived from the CPU1 and CPU2 low-power modes.
Table 90. System low-power modes
| System D2 domain | D1 domain | CPU1 | CPU2 | Wake-up | System clk | VDDCCPU | VDDCORE |
|---|---|---|---|---|---|---|---|
| Run1 | DRun | CRun or CSleep | CRun or CSleep | See Table 91 | ON | ON (nominal/overdrive) | ON (nominal) |
| CStop | |||||||
| DStop1 | CStop | CRun or CSleep | OFF | ||||
| Run2 | DStandby | CStop and PDDS_D1=1 | OFF | ON (nominal/overdrive) | |||
| Stop1(1) | DStop1 | CStop | CStop | ON (nominal/overdrive) | |||
| OFF | |||||||
| Stop2 | DStandby | CStop and PDDS_D1 = 1 | ON (nominal/overdrive) | ||||
| LP-Stop1(1) | DStop2 | CStop and LPDS_D1=1(2) | CStop and LPDS_D2=1(3) | ON (nominal/overdrive) | |||
| 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) | OFF | ON (reduced) | ON (reduced) | |
| LPLV-Stop2 | CStop and PDDS_D1=1 | OFF | |||||
| Standby | DStandby | CStop and PDDS_D1=1 | CStop and PDDS_D2=1 | WKUP pins, RTC alarm, RTC wake-up, RTC tamper events, or application reset (such as NRST, IWDG) | OFF | OFF | 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 91. Functionalities depending on system operating mode
| Peripheral(1) | Run1/Run2 | Stop1/2 and LP-Stop1/2 | LPLV-Stop1/2 | Standby | VBAT | |||
|---|---|---|---|---|---|---|---|---|
| - | Wake-up capability | - | Wake-up capability | - | Wake-up capability | |||
| CPU1 | Y/- | R/- | - | R/- | - | - | - | - |
| CPU2 | Y | R | - | R | - | - | - | - |
| DBG | O | O | O | R | - | - | - | - |
| ROM memory | Y | R | - | R | - | - | - | - |
| RAMCFG | O | R | - | R | - | - | - | - |
| SYSRAM | O | R | - | R | - | - | - | - |
| SRAM1 | O | O(3) | - | R | - | - | - | - |
| BKPSRAM | O | O | - | R | - | O(2) | - | O(2) |
| RETSRAM | Y | O(3) | - | R | - | O(2) | - | O(2) |
| DDRCTRL | O | R | - | R | - | - | - | - |
| OCTOSPI1 | O | R | - | R | - | - | - | - |
| OTFDEC1(13) | O | R | - | R | - | - | - | - |
| FMC | O | R | - | R | - | - | - | - |
| Backup registers | Y | R | - | R | - | R | - | R |
| Brownout reset (BOR) | 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 |
| TEMPH/TEMPL monitoring | O | O | O | O | O | O | O | O |
| HPDMAx (x = 1, 2, 3) | O | O | O(4) | R | - | - | - | - |
| High-speed internal (HSI) | O | O(5) | - | - | - | - | - | - |
| High-speed external (HSE) | O | - | - | - | - | - | - | - |
| Low-speed internal (LSI) | O | O | - | O | - | O | - | - |
| Low-speed external (LSE) | O | O | - | O | - | O | - | O |
| Multi-speed internal (MSI) | O | O | - | - | - | - | - | - |
| HSE CSS clock security system | O | - | - | - | - | - | - | - |
| LSE CSS clock security system | O | O | O | O | O | O | O | O |
| HSI / MSI frequency monitoring | O | O | O | - | - | - | - | - |
| RTC/auto wake-up | O | O | O | O | O | O | O | O |
Table 91. Functionalities depending on system operating mode (continued)
| Peripheral(1) | Run1/Run2 | Stop1/2 and LP-Stop1/2 | LPLV-Stop1/2 | Standby | VBAT | |||
|---|---|---|---|---|---|---|---|---|
| - | Wake-up capability | - | Wake-up capability | - | Wake-up capability | |||
| USBH | O | R | O | R | - | - | - | - |
| OTG | O | R | O | R | - | - | - | - |
| SDMMCx (x = 1, 2, 3) | O | R | - | R | - | - | - | - |
| FDCANx(13) (x = 1, 2) | O | R | - | R | - | - | - | - |
| ETHx (x = 1,2 (13)) | O | R | O | R | - | - | - | - |
| USARTx (x = 1 to 7) | O | O(6) | O(6) | R | - | - | - | - |
| LPUART1 | O | O(6) | O(6) | R | - | - | - | - |
| I2Cx (x = 1 to 3) | O | O(7) | O(7) | R | - | - | - | - |
| I3Cx (x = 1 to 3) | O | O(8) | O(8) | R | - | - | - | - |
| SPIx (x = 1 to 6) | O | O(9) | O(9) | R | - | - | - | - |
| SAIx (x = 1 to 4) | O | R | - | R | - | - | - | - |
| MDF1 | O | O(10) | - | R | - | - | - | - |
| DCMI | O | R | - | R | - | - | - | - |
| PSSI | O | R | - | R | - | - | - | - |
| DCMIPP | O | R | - | R | - | - | - | - |
| HDP | O | R | - | R | - | - | - | - |
| LTDC | O | R | - | R | - | - | - | - |
| ADCx (x = 1, 2) | O | R | - | R | - | - | - | - |
| VREFBUF | O | R | - | R | - | - | - | - |
| DTS | O | R | O | R | - | - | - | - |
| STGEN(11) | O | R | - | R | - | - | - | - |
| TIMx (x = 1 to 8, 10 to 17) | O | R | - | R | - | - | - | - |
| LPTIMx (x = 1 to 5) | O | O(12) | O(12) | R | - | - | - | - |
| IWDGx (x = 1, 2, 3, 4) | O | O | O | O | O | O | O | - |
| WWDG1 | O | R | - | R | - | - | - | - |
| RNGx (x=1, 2) | O | R | - | R | - | - | - | - |
| SAES | O | R | - | R | - | - | - | - |
| CRYPx(13) (x = 1, 2) | O | R | - | R | - | - | - | - |
| HASHx (x=1, 2) | O | R | - | R | - | - | - | - |
| CRC | O | R | - | R | - | - | - | - |
| MBOX1 | O | R | - | R | - | - | - | - |
Table 91. Functionalities depending on system operating mode (continued)
| Peripheral(1) | Run1/Run2 | Stop1/2 and LP-Stop1/2 | LPLV-Stop1/2 | Standby | VBAT | |||
|---|---|---|---|---|---|---|---|---|
| - | Wake-up capability | - | Wake-up capability | - | Wake-up capability | |||
| GPIOs | O | O | O | O | O | - | O 6 pins | - |
| TAMP (number of tamper pins) | 12 | 12 | O | 12 | O | 12 | O | 12 |
- 1. 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.
- 2. The BKPSRAM and RETSRAM content can optionally be retained when enabled.
- 3. SRAM1 and RETRAM can be accessed by HPDMA in Stop1/2 and LP-Stop1/2 modes.
- 4. HPDMA transfers are functional and autonomous in Stop1/2, and LP-Stop1/2 modes, and generate a wake-up interrupt on transfer events.
- 5. 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.
- 6. 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.
- 7. I2C reception and transmission are functional and autonomous in low-power modes, and generate a wake-up interrupt on transfer events.
- 8. I3C reception and transmission are functional and autonomous in low-power modes, and generate a wake-up interrupt on transfer events.
- 9. SPI reception and transmission are functional and autonomous in low-power modes, and generate a wake-up interrupt on transfer events.
- 10. MDF1 is functional and autonomous in low-power modes, and generate a wake-up interrupt on events.
- 11. STGEN not accessible in Stop2, LP-Stop2, LPLV-Stop2 mode since STGEN is in VDDCPU power domain.
- 12. LPTIM is functional and autonomous in Stop mode, and generates a wake-up interrupt on events.
- 13. Not present on all device part numbers (see the related datasheet for more information).
19.5.1 PWR power modes
The power control handles VDDCORE and VDDCPU 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, VDDCPU is supplied.
- • In DStop1, VDDCPU is supplied, and the external regulator is kept in main mode.
- • In DStop2, VDDCPU is supplied and the external regulator is switched in low-power mode.
- • In DStop3, VDDCPU may be supplied at a lower level.
- • In DStandby, VDDCPU is switched off.
System D2 power modes
- • In Run, VDDCORE is supplied. VDDCPU 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.
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 92. 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) |
| Standby | 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 70. Power states and external regulator control

MSv73128V1
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 Standby when these two bits allow so.
Table 93. PDD low-power mode control
| CPU1 PDDS_D1 | CPU1 PDDS_D2 | CPU2 PDDS_D2 | System operation mode |
|---|---|---|---|
| 0 | X | X | Stop1, LP-Stop1, LPLV-Stop1 |
| 1 | X | 0 | Stop2, LP-Stop2, LPLV-Stop2 |
| 1 | 0 | X | Stop2, LP-Stop2, LPLV-Stop2 |
| 1 | 1 | 1 | Standby |
Figure 71. Detailed state diagram of power control modes

Legend:
- CPU subsystem modes
- System D2 domain modes
- Domains modes
Note 1: After a wakeup from Standby, 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 Standby.
MSv73130V1
The power control state transitions are initiated by (referring to Figure 71):
- • 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 Standby.
- • 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.
- • Wake-up event
- – Green transitions: CPU1 or CPU2 wake 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 Standby. SBF_D1/2 are set in PWR_CPU1CR and PWR_CPU2CR.
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 94. Low-power mode exit flags
| System D2 mode | D1 domain | SBF_D1 | SBF_D2 | SBF | STOPF | VBF | Comment |
|---|---|---|---|---|---|---|---|
| Run1 | DRun/DStop1 | 0 | 0 | 0 | 0 | 0 | Retained system contents |
| Run2 | DStandby | 1 | 0 | 0 | 0 | 0 | Lost D1 contents. Retained system contents. |
| Stop1 LP-Stop1 LPLV-Stop1 | DStop1/2/3 | 0 | 0 | 0 | 1 | 0 | Retained system contents. System clock stopped. |
| Stop2 LP-Stop2 LPLV-Stop2 | DStandby | 1 | 0 | 0 | 1 | 0 | Lost D1 contents. Retained system contents. System clock stopped. |
| Standby | DStandby | 1 | 1 | 1 | 0 | 0 | Lost system contents |
| VBAT | NA | 0 | 0 | 0 | 0 | 1 |
19.5.2 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 7), LPUART1, SPIx (x = 1 to 6), I2Cx (x = 1 to 3), I3Cx (x = 1 to 3), MDF1 and HPDMAx (x = 1 to 3). In these modes, SRAM1 and RETRAM can be accessed by the HPDMAx. GPIOA-I,Z can be also accessed by the HPDMAx.
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) 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 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 target reception or transmission, SPI reception, UART/LPUART reception
- – wake-up at the end of peripheral transfer or on DMA buffer event
- • I2C controller 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
19.5.3 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 20).
From Stop1/2, LP-Stop1/2, LPLV-Stop1/2, and Standby, the system can be configured to wake up CPU1 or CPU2 independently.
19.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 20)
- • controlling individual peripheral clocks (see Section 20)
- • 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}\)).
- – Standby (system domain in power down)
19.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 20 for more details).
19.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.
19.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 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 Standby when all EXTI wake-up sources are cleared, and both CPU1 and CPU2 are in CStop.
The system enters in Standby when all EXTI wake-up sources are cleared, and all CPUs are in CStop.
19.6.4 PWR exiting from low-power modes
From CSleep mode, CPU1 and CPU2, 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 and CPU2 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, when SEVONPEND = 0 in Cortex-M33 system control register, enable an interrupt in the peripheral control register and in the NVIC. When CPU2 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.
- – For CPU2, when SEVONPEND = 1 in Cortex-M33 system control register, enable an interrupt in the peripheral control register and optionally in the NVIC. When CPU2 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 , even the disabled ones.
Only enabled NVIC interrupts with sufficient priority wake up and interrupt the CPU2. - • Event
For CPU1 and CPU2 configuring an EXTI line in event mode, when CPU1 or CPU2, 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 Standby, 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.
19.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 19.6.3:
- • For CPU1, one of the STPREQ_P[1:0] register bits in RCC is cleared (see Table 95).
- • For CPU2, SLEEPDEEP bit in Cortex-M33 system control register is cleared (see Table 96).
PWR exiting from CSleep mode
The CSleep mode is exited according to Section 19.6.4 and the tables below.
Table 95. CPU1 CSleep mode
| CPU1 CSleep | Comments |
|---|---|
| Mode entry | WFI while: – STPREQ_P[1:0] = 0b11 (see Section 20). – 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 28.4). If WFE was used for entry, any interrupt event when disabled in GIC (see Section 28.4), or any event (see Section 19.6.4) |
| Wake-up latency | None |
Table 96. 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 27.3) If WFE was used for entry and SEVONPEND = 0, any event (see Section 19.6.4) If WFE was used for entry and SEVONPEND = 1, any interrupt event disabled in NVIC (see Section 27.3), or any event (see Section 19.6.4). |
| Wake-up latency | None |
19.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.
PWR entering to CStop mode
The CStop mode is entered according to Section 19.6.3:
- • For CPU1, when STPREQ_P[1:0] in RCC are set (see Table 97).
- • For CPU2, when SLEEPDEEP in Cortex-M33 system control register is set (see Table 98)
PWR exiting from CStop mode
The CStop mode is exited according to Section 19.6.4 and the tables below.
Table 97. CPU1 CStop mode
| CPU1 CStop | Comments |
|---|---|
| Mode entry | WFI while: – STPREQ_P[1:0] = 0b11 (see Section 20) – 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 28.4) for peripherals which are not stopped. |
| Wake-up latency | EXTI and RCC wake-up synchronization (see Section 20) |
Table 98. CPU2 CStop mode
| 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 27.3) for peripherals which are not stopped If WFE was used for entry and SEVONPEND = 0, EXTI1-2 event (see Section 19.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 27.3), or EXTI event (see Section 19.6.4) for peripherals which are not stopped |
| Wake-up latency | EXTI and RCC wake-up synchronization. (see Section 20) |
19.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 19.6.3 when PDDS_D1 in PWR_CPU1CR selects Stop for the D1 domain.
See Table 99 for details on how D1 domain enters DStop1.
PWR exiting DStop1 mode
The DStop1 mode is exited according to Section 19.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 99. D1 DStop1 mode
| D1 DStop1 | Comments |
|---|---|
| Mode entry |
|
| Mode exit | On an EXTI1-2 wake-up |
| Wake-up latency | Clocks restored, and EXTI and RCC wake-up synchronization (see Section 20) |
19.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 19.6.3 when PDDS_D1 in PWR_CPU1CR selects Standby.
Refer to Table 100 for details on how D1 domain enters DStandby mode.
Exiting D1 DStandby mode
The DStandby mode is exited according to Section 19.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 mode, the CPU subsystem clocks are the same as when entering DStandby.
- • When the system entered Standby mode, the CPU subsystem clocks are reset.
Table 100. D1 DStandby mode
| D1 DStandby | Comments |
|---|---|
| Mode entry |
|
| Mode exit |
|
| Wake-up latency |
|
19.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 61).
- • 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 20: 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.
PWR entering to Stop1 mode
The Stop1 mode is entered according to Section 19.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 101 for details on how to enter Stop1 mode.
PWR exiting from Stop1 mode
The Stop mode is exited according to Section 19.6.4. See Table 101 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 101. 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 20) |
PWR I/O states in Stop1 mode
In Stop1 mode, all I/O pins keep their configuration.
19.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 19.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 102 for details on how to enter Stop2 mode.
PWR exiting from Stop2 mode
The Stop2 mode is exited according to Section 19.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 102. 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 20) 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.
19.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 103. 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 20) |
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. See the table below for more details on how to enter and exit LP-Stop1 with low-voltage mode.
Table 104. 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 20) |
19.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 105. 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 20) 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. See the table below for more details on how to enter and exit LP-Stop2 with low-voltage mode.
Table 106. 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 20) D1 domain power up and CPU1 reset, CPU1 reboot from boot ROM |
19.6.13 PWR Standby mode
The Standby mode is used to achieve the lowest power consumption. It is based on CPU1 and CPU2 subsystem CStop mode, as for Stop modes, but with \(V_{DDCORE}\) and \(V_{DDCPU}\) supply regulators powered off.
When the system enters Standby, PWR_ON, PWR_CPU_ON and PWR_LP pins are set low. The external voltage regulators that provide \(V_{DDCORE}\) and \(V_{DDCPU}\) supplies, are disabled. Complete \(V_{DDCORE}\) and \(V_{DDCPU}\) 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) and Standby circuitry.
In system Standby 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 61).
- • 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 Standby mode
The Standby mode is entered according to Section 19.6.3 when all PDDS_Dn bits in PWR_CPU1CR and PWR_CPU2CR request Standby mode.
Refer to Table 108 for more details on how to enter Standby mode.
PWR exiting from Standby mode
The Standby mode is exited according to Section 19.6.4. See the table below for more details on how to exit Standby mode.
The system exits Standby when an application reset (such as NRST, IWDG), a WKUP pin event is detected. PWR registers are reset after wake-up from Standby, except for power control and status registers (reset condition defined for each PWR register).
Wake-up event source (WKUP pins and RTC/TAMP when the resource isolation framework is used) 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 107. 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 | |
| CPU1and 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 Standby.
Table 108. Standby mode
| Standby | 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 20) 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 Standby mode
In Standby 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)
19.7 PWR VBAT 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 device can be set in \(V_{BAT}\) mode by powering down the \(V_{DD}\) and \(V_{DDA18AON}\) supplies. The \(V_{DDCPU}\) and \(V_{DDCORE}\) supplies must be powered off before \(V_{DD}\) and \(V_{DDA18AON}\) (PWR_ON and PWR_CPU_ON low level).
VBF flag in PWR_CPU1CR and PWR_CPU2CR indicate that the system has exit \(V_{BAT}\) mode.
PWR I/O states in \(V_{BAT}\) mode
In \(V_{BAT}\) mode, all I/O pins are powered down except for RTC and tamper pins.
19.7.1 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. \(V_{DDCORE}\) and \(V_{DDCPU}\) 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. \(V_{DDCPU}\) domain is kept supplied by the regulator in main mode.
When exiting Run2 or Stop2 mode, a CPU1 reset is generated, which resets the \(V_{DDCPU}\) logic excluding the debug logic. SBF_D1 is set in PWR_CPU1CR.
19.7.2 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 Standby 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 exiting Standby mode, a reset is generated, which resets VDDCORE and VDDCPU logic, excluding the debug logic. Waking up from debug Standby modes, the system CPUs and logic are reset, as from normal Standby mode. SBF, SBF_D1 and SBF_D2 are set.
19.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.
19.9 PWR_ON, PWR_CPU_ON and PWR_LP pins
VDDCORE and VDDCPU 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 72. PWR_CPU_ON, PWR_ON and PWR_LP multiplexing

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.
19.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 109. 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 |
| 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 |
| V08CAPL, V08CAPH | \(V_{08CAP}\) supply monitoring | Interrupt via EXTI2 | NA |
| TEMPL, TEMPH | Temperature monitoring | Interrupt via EXTI2 | NA |
19.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
19.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 110 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.
19.12 PWR registers
The PWR registers can be accessed in word, half-word, and byte format, unless explicitly specified differently.
The table below gives the RIF allocation for all PWR registers.
Table 110. 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] | RW | Peripheral voltage monitor | |
| PWR_CR2 | PWR_RPRIVCFGR[0] | RW | V08CAP and TEMP monitor | |
| PWR_CR3 | PWR_R0CIDCFGR | RW | Programmable voltage detector | |
| PWR_R1CIDCFGR | R1 | Secure, privileged and TDCID/DDCID | RW | Resource 1 CID filtering control |
| PWR_CR9 | PWR_RSECCFGR[1] | RW | BKPRAM low-power control | |
| PWR_CR10 | PWR_RPRIVCFGR[1] | RW | RETRAM low-power control | |
| PWR_D1CR | PWR_R1CIDCFGR | 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 |
| Reserved | PWR_RSECCFGR[4] PWR_RPRIVCFGR[4] PWR_R4CIDCFGR | RW | Reserved | |
| 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 | |
| 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 |
Table 110. PWR register allocation to RIF resource and access conditions (continued)
| Register name | PWR RIF resource number | RIF resource configuration | Access type(1) | Description |
|---|---|---|---|---|
| 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] | RW | ||
| PWR_WKUPCR1 | PWR_WIO1CIDCFGR PWR_WIO1SEMCR | 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] | RW | ||
| PWR_WKUPCR2 | PWR_WIO2CIDCFGR PWR_WIO2SEMCR | 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] | RW | ||
| PWR_WKUPCR3 | PWR_WIO3CIDCFGR PWR_WIO3SEMCR | 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] | RW | ||
| PWR_WKUPCR4 | PWR_WIO4CIDCFGR PWR_WIO4SEMCR | 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] | RW | ||
| PWR_WKUPCR5 | PWR_WIO5CIDCFGR PWR_WIO5SEMCR | 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] | RW | ||
| PWR_WKUPCR6 | PWR_WIO6CIDCFGR PWR_WIO6SEMCR | RW | Wake-up pin #6 control | |
| 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 |
Table 110. PWR register allocation to RIF resource and access conditions (continued)
| Register name | PWR RIF resource number | RIF resource configuration | Access type(1) | Description |
|---|---|---|---|---|
| PWR_BDCR | NA | Secure, privileged and TDCID/DDCID | RW | Backup domain control register |
| 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_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
19.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.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| GPVMO | Res. | Res. | Res. | Res. | Res. | VDDIO3VRSEL | VDDIOVRSEL | Res. | Res. | Res. | ARDY | Res. | USB33RDY | Res. | VDDIO3RDY |
| r | rw | rw | r | r | r | ||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | ASV | Res. | Res. | Res. | VDDIO3SV | Res. | Res. | Res. | AVMEN | Res. | USB33VMEN | Res. | VDDIO3VMEN |
| 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 \(V_{DDIO1}\) and \(V_{DDIO2}\) 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:26 Reserved, must be kept at reset value.
- 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 \(V_{DDIO3}\). 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_{DDIO3}\) 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 \(V_{DDIO3}\) 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 Reserved, must be kept at reset value.
- 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 Reserved, must be kept at reset value.
- 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:9 Reserved, must be kept at reset value.
- 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 Reserved, must be kept at reset value.
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 Reserved, must be kept at reset value.
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.
19.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 DBD in PWR_BDCR has to be set before this register can be written. When DBD 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 and CPU2 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. | TEMPH | TEMPL | V08CA PH | V08CA PL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MON EN |
| 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 V08CAP level above high threshold
0: V08CAP level below high threshold level, or monitor disabled
1: V08CAP level equal or above high threshold level - Bit 8 V08CAPL: Monitored V08CAP level above low threshold
0: V08CAP level above low threshold level, or monitor disabled
1: V08CAP level equal or below low threshold level - Bits 7:1 Reserved, must be kept at reset value.
- Bit 0 MONEN: V08CAP and temperature monitoring enable
0: V08CAP and temperature monitoring disabled
1: V08CAP and temperature monitoring enabled
19.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.
| 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 VREFINT.
1: Voltage level on PVD_IN is lower than the internal VREFINT.
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
19.12.4 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.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | VDDIO 2VR STBY | VDDIO 2VR SEL | 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
19.12.5 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.
| 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
19.12.6 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 VSWRST. Access 6 wait states when writing this register. After reset, this register is write-protected, and DBP in PWR_BDCR has to be set before it can be written. When DBP 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.
| 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. | BKPRB SEN |
| rw |
Bits 31: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}\). 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
19.12.7 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 VSWRST. Access 6 wait states when writing this register.
After reset, this register is write-protected, and DBP in PWR_BDCR has to be set before it can be written. When DBP 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.
| 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 VBAT.
00: RETRAM backup supply disabled
01: RETRAM backup supply enabled in Standby and VBAT
10-11: RETRAM backup supply enabled only in Standby (memory content lost in \(V_{BAT}\) mode)
Others: Reserved
19.12.8 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 20: Reset and clock control (RCC) for details. Any read access from CPU1 and CPU2 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. | DDRR ETDIS |
| rw |
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
19.12.9 PWR backup domain control register (PWR_BDCR)
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.
| 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 write protection
In reset state, all registers in backup domain are protected against parasitic write access. 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
19.12.10 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.
| 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 |
| STANDBYWFIL2 | Res. | Res. | Res. | Res. | Res. | CSSF | Res. | SBF_D1 | SBF | STOPF | VBF | Res. | Res. | PDDS_D1 | PDDS_D2 |
| r | w | 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 \(V_{DDCPU}\) domain supply reset level.
0: LP-Stop mode \(V_{DDCPU}\) domain supply reset level at same level as Run mode.
\(V_{DDCPU}\) domain supply level in LP-Stop mode must be kept at same level as Run mode.
1: LPLV-Stop mode \(V_{DDCPU}\) domain supply reset level at lower level than Run mode.
\(V_{DDCPU}\) 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, 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, SBF, VBF) and CPU2 SBF flags. Register bit is cleared to 0 by hardware.
Bit 8 Reserved, must be kept at reset value.
- Bit 7 SBF_D1: D1 DStandby flag
This bit is set by hardware and cleared only by a \(V_{DD}\) 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 \(V_{DD}\) 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: \(V_{BAT}\) mode exit flag
This bit is set by hardware, and cleared only by a \(V_{SW}\) POR reset, or by setting the CPU1 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: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
19.12.11 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.
| 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 | Res. | SBF_D2 | SBF | STOPF | VBF | Res. | Res. | Res. | PDDS_D2 |
| r | w | 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, 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, SBF, VBF) and CPU1 SBF flags. Register bit is cleared to 0 by hardware.
Bit 8 Reserved, must be kept at reset value.
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
19.12.12 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.
| 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).
19.12.13 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.
| 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 Standby) (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 Standby) (pwr_onlp).
19.12.14 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.
| 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. | WKUPPUPD[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
19.12.15 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.
Debug domain can write to this register if the feature is activated.
| RM0506 | column_2 | Bits 13:12 Bit 8 Bit 0 | column_4 | 00: No pulls 01: Pull-up WKUPP WKUPC: 0: No effect | 10: Pull-down 11: Reserved | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | column_16 | column_17 | column_18 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |||||||||||||
| Bit 6 | RSEC6 | : Secure attribute reference for the local resource number 6 | |||||||||||||||
| Bit 5 | RSEC5 | : Secure attribute reference for the local resource number 5 | |||||||||||||||
| Bit 4 | RSEC4 | : Secure attribute reference for the local resource number 4 | |||||||||||||||
| Bit 3 | RSEC3 | : Secure attribute reference for the local resource number 3 | |||||||||||||||
| RM0506 Rev 2 | 849/ 4831 |
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.
19.12.16 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.
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.
19.12.17 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.
| 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 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.
19.12.18 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.
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. | Res. | WIOSEC6 | WIOSEC5 | WIOSEC4 | WIOSEC3 | WIOSEC2 | WIOSEC1 |
| rw | rw | rw | rw | rw | rw |
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.

19.12.19 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.
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. | Res. | WIOPR IV6 | WIOPR IV5 | WIOPR IV4 | WIOPR IV3 | WIOPR IV2 | WIOPR IV1 |
| rw | rw | rw | rw | rw | rw |
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 enable 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.
19.12.20 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.
| 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.
19.12.21 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 (SEMWLCy) 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.
| 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.
19.12.22 PWR CPU1 status register (PWR_CPU1D1SR)
Address offset: 0x200
Reset value: 0x0000 0000
Any read access from CPU1 and CPU2 is allowed on this register.
| RM0506 | column_2 | column_3 | column_4 | column_5 | column_6 |
|---|---|---|---|---|---|
| 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 10:8 | DSTATE[2:0] | : D1 domain state status | |||
| Bits 3:2 | CSTATE[1:0] | : CPU1 cluster state status | |||
| Bit 0 | HOLD_BOOT | : CPU1 HOLD_BOOT status flag. | |||
| Note: Refer to | Section 20 | for details on HOLD_BOOT processor state. | |||
| RM0506 Rev 2 857/ 4831 |
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 20 for details on HOLD_BOOT processor state.

19.12.23 PWR CPU2 status register (PWR_CPU2D2SR)
Address offset: 0x204
Reset value: 0x0000 0000
Any read access from CPU1 and CPU2 is allowed on this register.
| column_1 | column_2 | column_3 | column_4 | column_5 | RM0506 |
|---|---|---|---|---|---|
| 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 HOLD_ N BOOT | |
| r | r r r r r r | ||||
| Bits 10:8 | DSTATE[2:0] | : System/D2 state status | |||
| Bits 3:2 | CSTATE[1:0] | : CPU2 cluster state status flag | |||
| Bit 1 | WFBEN | : CPU2 wait-for-boot enable status flag | |||
| Note: Refer to | Section 20 | for details on HOLD_BOOT processor state. | |||
| Bit 0 | HOLD_BOOT | : CPU2 HOLD_BOOT status flag | |||
| Note: Refer to | Section 20 | 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 20 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 20 for details on HOLD_BOOT processor state.
19.12.24 PWR VER register (PWR_VERR)
Address offset: 0x3F4
Reset value: 0x0000 0010
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
19.12.25 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
19.12.26 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 |
Bits 31:0 SID[31:0]: Decoding space is 1 Kbyte.
19.12.27 PWR register map
Table 111. 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. | Res. | VDDIO3VRSEL | VDDIOVRSEL | Res. | Res. | Res. | ARDY | Res. | USB33RDY | Res. | VDDIO3RDY | Res. | Res. | Res. | ASV | Res. | Res. | Res. | Res. | VDDIO3SV | Res. | Res. | Res. | AVMEN | Res. | USB33VMEN | VDDIO3VMEN |
| Reset value | 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. | TEMPH | 0 | 0 | V08CAPH | V08CAPL | Res. | Res. | Res. | Res. | Res. | Res. | MONEN | |
| Reset value | 0 | 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. | Res. | PVDEN |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x00C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x018 | PWR_CR7 | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO2VRSTBY | VDDIO2VRSEL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO2RDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO2SV | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO2VMEN | |
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x01C | PWR_CR8 | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO1VRSTBY | VDDIO1VRSEL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO1RDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO1SV | Res. | Res. | Res. | Res. | Res. | Res. | VDDIO1VMEN | |
| Reset value | 0 | 0 | 0 | 0 | 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. | Res. | Res. | Res. | BKPRBSEN | |
| Reset value | 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. | 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. | DDRRETDIS | |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
Table 111. 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x02C-0x034 | Reserved | Reserved | ||||||||||||||||||||||||||||||||
| 0x038 | PWR_BDCR | 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 | |||||||||||||||||||||||||||||||||
| 0x03C | Reserved | 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. | Res. | |
| 0x040 | PWR_CPU1CR | Res. | 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 | Res. | SBF_D1 | SBF | STOPF | VBF | Res. | Res. | Res. | Res. |
| Reset value | 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. | Res. | LVDS_D2 | LPDS_D2 | DEEPSLEEP | Res. | Res. | Res. | Res. | Res. | CSSF | Res. | SBF_D2 | SBF | STOPF | VBF | Res. | Res. | Res. | Res. |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0x048 | Reserved | Reserved | ||||||||||||||||||||||||||||||||
| 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. | 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. | Res. | Res. | LPLVDLY_D2 [2:0] | Res. | Res. | POPL_D2[4:0] | Res. | 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-0x05C | Reserved | Reserved | ||||||||||||||||||||||||||||||||
| 0x060 + 0x4*(x-1) (x=1 to 6) Last address: 0x074 | PWR_WKUPCRx | WKUPF | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WKUPENCPU2 | WKUPENCPU1 | Res. | Res. | WKUPUPD [1:0] | Res. | Res. | Res. | Res. | WKUPP | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WKUPC |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0x078-0x0FC | Reserved | Reserved | ||||||||||||||||||||||||||||||||
| 0x100 | PWR_RSECCFGR | 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. | RSEC6 | RSEC5 | RSEC4 | RSEC3 | RSEC2 | RSEC1 | RSEC0 | |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0x104 | PWR_RPRIVCFGR | 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. | RPRIV6 | RPRIV5 | RPRIV4 | RPRIV3 | RPRIV2 | RPRIV1 | RPRIV0 | |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
Table 111. 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x108 + 0x4*x (x=0 to 6) Last address: 0x120 | PWR_RxCIDCFGR | 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. | SCID [2:0] | Res. | Res. | Res. | CFEN | ||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x124-0x17C | Reserved | Reserved | |||||||||||||||||||||||||||||||
| 0x180 | PWR_WIOSECCFGR | 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_WIOPRIVCFGR | 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-1) (x=1 to 6) Last address: 0x1B0 | PWR_WIOxCIDCFGR | 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-1) (x=1 to 6) Last address: 0x1B4 | PWR_WIOxSEMCR | 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_CPU1D1SR | 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_CPU2D2SR | 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 | ||||||||||||||||||||||||||
| 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 | 0 | |||||||||||||||||||||||||
| 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.