20. Power control (PWR)

The power control (PWR) provides an overview of the supply architecture of the different power domains, and the control of the supply configuration.

It provides an overview of the power supply supervisor features and provides the control of the \(V_{DDCPU}\) and \(V_{DDCORE}\) supply domains according to the operating modes. In the whole document:

20.1 PWR main features

20.2 PWR block diagram

The figure below gives a PWR simplified view and the key signals exchanged with the other blocks.

Figure 54. Power control block diagram

Power control block diagram showing PWR, RCC, CPU1, CPU2, EXTI1/2, and various internal blocks like POR/PDR, Backup domain, PWR control, Wakeup, and PVD and PVM.

The diagram illustrates the Power control (PWR) block and its interactions with other system components. The PWR block contains several sub-blocks: Register interface, POR/PDR, Backup domain, PWR control, Wakeup, and PVD and PVM. It also includes monitoring blocks for V08CAP thresholds, Temp thresholds, VDDCORE monitor, and VDDCPU monitor. The PWR block is connected to AHB, PDR_ON, NRST, VDD, VBAT, PWR_ON, PWR_LP, PWR_CPU_ON, VDDCPU, VDDCORE, VDDGPU, VSS, VDDA18AON, VSSA18AON, WKUP[6:1], VDDA18ADC, VSSA, VDDIO1, VDDIO2, VDDIO3, VDDIO4, VDD33USB, and VDD33UCPD. The PWR block interacts with the RCC block, which provides signals like nrst_por, ready_run, por_vsw, nrst_bor, ck_sys, ck_mcuss, pwrwake_c1, pwrwake_c2, pwrwake_c3, pwrwake_sys, c1_hw_ben, and c2_hw_ben. The PWR block also interacts with CPU1 (GIC) and CPU2 (NVIC), which provide sys wakeup, c1 wakeup, c2 wakeup, c3 wakeup, c1 stby wakeup, and c2 stby wakeup signals. The PWR block also interacts with EXTI1/2, which provides wakeup events. The PWR block also interacts with the Wakeup block, which provides cpu1_int_wkup, cpu2_int_wkup, and async_wkup[6:1] signals. The PWR block also interacts with the PVD and PVM block, which provides pvdo, gpvmo, and gpuvmo signals.

MSv67426V3

Power control block diagram showing PWR, RCC, CPU1, CPU2, EXTI1/2, and various internal blocks like POR/PDR, Backup domain, PWR control, Wakeup, and PVD and PVM.

20.2.1 PWR pin overview

The table below lists the PWR signals connected to pads or balls.

Table 87. PWR pin overview

Pin nameI/ODescription
VDDPMain I/O and \(V_{DD}\) domain supply input
VDDA18AONPMain analog supply input
VBATPBackup battery supply input
VDDCPUPCPU (Cortex-A35) domain supply
VDDCOREPCore domain supply
VDDGPUPGPU domain supply
VDDA18ADCPADC analog supply
VDDIO1PIndependent I/O supply 1 (PE[5:0])
VDDIO2PIndependent I/O supply 2 (PE[15:6])
VDDIO3PIndependent I/O supply 3 (PD[11:0])
VDDIO4PIndependent I/O supply 4 (PB[11:0])
VDD33USBPUSB HS PHY IO 3.3 V supply input
VDD33UCPDPUSB Type C (CC1 and CC2 pins) 3.3 V supply input
VSSPMain ground
VSSAPAnalog ground
PWR_ONOutputCore supply enable output
PWR_LPOutputCore/CPU supply low-power Stop mode selection output
PWR_CPU_ONOutputCPU supply enable output
NRSTInput/outputApplication pad reset input/output.
PDR_ONInputUsed during ST production tests, must always be connected to \(V_{DDA18AON}\) in final application.

20.3 PWR power supplies

The system requires supply on VDD, VDDA18AON, VDDCPU, VDDCORE and provides independent supplies for VDDGPU, VDDA18ADC, VBAT, VDD33USB, VDD33UCPD, VDDIO1, VDDIO2, VDDIO3, VDDIO4, and VDDQDDR:

Note: Depending on the operating power supply range, some peripheral can be used with limited functionality and performance. For more details, refer to section “General operating conditions” in the device datasheet.

An external DDR memory must be supplied from an external regulator which is NOT controlled by the PWR. When the system enters low-power modes it is up to the firmware to control the DDR memory supply directly through the external regulator. When the system enters Standby mode, the PWR_ON pin can be used by the external DDR memory regulator to power down the DDR memory supply.

The figure below gives an overview of the power supply.

Figure 55. Power supply overview

Power supply overview diagram showing various domains: D2 domain, D1 domain, GPU domain, VDD/retention domain, Vsw/backup domain, D3 domain, and Analog domain. It details power rails like VDDCPU, VDDGPU, VDDCORE, VDDA18AON, VDD, VBAT, VDDA18ADC, and various I/O ports and internal logic blocks.

The diagram illustrates the power supply architecture of the RM0457 microcontroller, organized into several functional domains and power rails.

Other power rails shown include VSS, VDD, VBAT, VDDA18AON, VDDA18PLLx, V08CAP, VDD, VBAT, VDDA18ADC, VREF+, VREF-, and VSSA.

MSv67428V2

Power supply overview diagram showing various domains: D2 domain, D1 domain, GPU domain, VDD/retention domain, Vsw/backup domain, D3 domain, and Analog domain. It details power rails like VDDCPU, VDDGPU, VDDCORE, VDDA18AON, VDD, VBAT, VDDA18ADC, and various I/O ports and internal logic blocks.

20.3.1 PWR CPU, CORE, and GPU-NPU domains

The \(V_{DDCPU}\) CPU domain supply is provided from an external regulator. The \(V_{DDCPU}\) supplies the Cortex-A35 platform (CPU1). This domain is called D1 domain.

The \(V_{DDCORE}\) core domain supply is provided from an external regulator. The \(V_{DDCORE}\) supplies all the digital circuitries (including the Cortex-M33) except for the backup, retention and D3 domains when in Standby. This domain is called system D2 domain.

The \(V_{DDGPU}\) GPU domain supply is provided from an external regulator. The \(V_{DDGPU}\) supplies the graphic and neural processing units (GPU and NPU).

Following a VDD power-on reset, the external regulators are enabled via PWR_ON or PWR_CPU_ON, and supply \(V_{DDCORE}\) and \(V_{DDCPU}\).

The \(V_{DDGPU}\) can be switched on/off in Run mode under software control.

The \(V_{DDCPU}\), \(V_{DDCORE}\) and \(V_{DDGPU}\) supplies require special explanation. To save power, these power voltages are changed during the run time of the use cases. The target voltage levels of the \(V_{DDCPU}\) and \(V_{DDGPU}\) can vary for different modes according to the use cases. The modes are the nominal and the overdrive modes. The voltage levels of these supplies can be reduced in low-power modes (low voltage mode) or switched off.

Table 88. \(V_{DDCPU}/V_{DDGPU}/V_{DDCORE}\) voltage levels (for reference only)

Power railTyp value (V)Description
\(V_{DDCPU}\)0.9Overdrive mode
0.8Nominal mode
0.67Low-voltage mode
\(V_{DDGPU}\)0.9Overdrive mode
0.8Nominal mode
0.67Low-voltage mode
\(V_{DDCORE}\)0.8Nominal mode
0.67Low-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 PWR_CPU1CR and with LPDS_D2 in PWR_CPU2CR. PWR_ON, PWR_CPU_ON, and PWR_LP are kept set high.

20.3.2 PWR supply system startup sequence

The system startup sequence is detailed below and shown in Figure 56:

  1. 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. 2. As long as \(V_{DDCORE}\) is below the vddcore_ok threshold, the system is kept in reset.
  3. 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. 4. Once the oscillator is stable, the hardware initializes the system (option bytes loading), after which Run1 mode is entered if the \(V_{DDCPU}\) supply is above the vddcpu_ok threshold.

Figure 56. Device startup supply sequence.

Timing diagram for device startup supply sequence showing VDDA18AON, VDD, nrst_por, PWR_ON / PWR_LP, VDDCORE, vddcore_ok, PWR_CPU_ON, VDDCPU, and ck_sys (hsi) signals over time. The diagram is divided into six phases: Power down or VBAT mode, POR, System reset, Wait oscillator, Hardware system init, and Run1. VDDA18AON and VDD rise to their POR thresholds. nrst_por goes high. PWR_ON / PWR_LP transitions from HiZ to high. VDDCORE rises to its vddcore_ok threshold. vddcore_ok goes high. PWR_CPU_ON transitions from HiZ to high. VDDCPU rises to its vddcpu_ok threshold. vddcpu_ok goes high. ck_sys (hsi) starts oscillating during the Hardware system init phase.

The diagram illustrates the device startup supply sequence. It shows the timing relationships between various power and control signals. The sequence is divided into six distinct phases: Power down or VBAT mode, POR (Power On Reset), System reset, Wait oscillator, Hardware system init, and Run1. During the Power down or VBAT mode, PWR_ON / PWR_LP is in HiZ. During the POR phase, VDDA18AON and VDD rise to their respective POR thresholds, and nrst_por goes high. PWR_ON / PWR_LP transitions from HiZ to high. During the System reset phase, VDDCORE rises to its vddcore_ok threshold, and vddcore_ok goes high. PWR_CPU_ON transitions from HiZ to high. During the Wait oscillator phase, VDDCPU rises to its vddcpu_ok threshold. During the Hardware system init phase, vddcpu_ok goes high, and ck_sys (hsi) starts oscillating. In the Run1 phase, all signals are stable.

Timing diagram for device startup supply sequence showing VDDA18AON, VDD, nrst_por, PWR_ON / PWR_LP, VDDCORE, vddcore_ok, PWR_CPU_ON, VDDCPU, and ck_sys (hsi) signals over time. The diagram is divided into six phases: Power down or VBAT mode, POR, System reset, Wait oscillator, Hardware system init, and Run1. VDDA18AON and VDD rise to their POR thresholds. nrst_por goes high. PWR_ON / PWR_LP transitions from HiZ to high. VDDCORE rises to its vddcore_ok threshold. vddcore_ok goes high. PWR_CPU_ON transitions from HiZ to high. VDDCPU rises to its vddcpu_ok threshold. vddcpu_ok goes high. ck_sys (hsi) starts oscillating during the Hardware system init phase.

20.3.3 PWR supply Run2 sequence

The system Run2 sequence is detailed below and shown in Figure 57.

  1. 1. When entering Run2 mode, all CPU1 clocks are stopped.
  2. 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. 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. 4. Once VDDCPU supply is above the vddcpu_ok threshold level, the CPU1 clocks are enabled and the system enters Run1 mode.

Figure 57. Device Run2 supply sequence.

Timing diagram for Device Run2 supply sequence showing signals: PWR_CPU_ON, PWR_CPU_LP, VDDCPU, vddcpu_ok, PWR_ON (1), PWR_LP (1), VDDCORE (vddcore), vddcore_ok (1), Operating mode, and ck_cpu1. The sequence shows transitions from Run1 to Run2, then Wait REG, and back to Run1. VDDCPU drops to 0V and then rises to a threshold. ck_cpu1 stops during Run2 and Wait REG.

The diagram illustrates the Device Run2 supply sequence. It shows the timing relationships between several signals:

MSv67419V2

Timing diagram for Device Run2 supply sequence showing signals: PWR_CPU_ON, PWR_CPU_LP, VDDCPU, vddcpu_ok, PWR_ON (1), PWR_LP (1), VDDCORE (vddcore), vddcore_ok (1), Operating mode, and ck_cpu1. The sequence shows transitions from Run1 to Run2, then Wait REG, and back to Run1. VDDCPU drops to 0V and then rises to a threshold. ck_cpu1 stops during Run2 and Wait REG.

20.3.4 PWR supply Stop sequences

Stop1

The system Stop1 sequence is detailed below and shown in Figure 58. Stop1 mode is entered when selected by LPDS_D1 in PWR_CPU1CR, and by LPDS_D2 in PWR_CPU2CR:

  1. 1. When entering Stop1 mode, the ck_mcuss (ck_sys) is stopped.
  2. 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. 3. On a wake-up event, the selected oscillators are enabled.
  4. 4. Once the oscillator is stable, the system enters Run1 mode.

Figure 58. Device low-power Stop1 supply sequence

Timing diagram for Device low-power Stop1 supply sequence. The diagram shows the relationship between PWR_CPU_ON (1), PWR_CPU_LP (1), VDDCPU (vddcpu), vddcpu_ok (1), PWR_ON (1), PWR_LP (1), VDDCORE (vddcore), vddcore_ok (1), Operating mode, and ck_sys over four phases: (1) Run1, (2) Stop1, (3) Wait oscillator, and (4) Run1. PWR_CPU_ON (1) and PWR_CPU_LP (1) are high throughout. VDDCPU (vddcpu) and vddcpu_ok (1) are high in (1) and (4), low in (2) and (3). PWR_ON (1) and PWR_LP (1) are high throughout. VDDCORE (vddcore) and vddcore_ok (1) are high throughout. The Operating mode transitions from Run1 to Stop1 in (2), Wait oscillator in (3), and back to Run1 in (4). ck_sys is active in (1) and (4), and inactive in (2) and (3).

MSv67423V1

Timing diagram for Device low-power Stop1 supply sequence. The diagram shows the relationship between PWR_CPU_ON (1), PWR_CPU_LP (1), VDDCPU (vddcpu), vddcpu_ok (1), PWR_ON (1), PWR_LP (1), VDDCORE (vddcore), vddcore_ok (1), Operating mode, and ck_sys over four phases: (1) Run1, (2) Stop1, (3) Wait oscillator, and (4) Run1. PWR_CPU_ON (1) and PWR_CPU_LP (1) are high throughout. VDDCPU (vddcpu) and vddcpu_ok (1) are high in (1) and (4), low in (2) and (3). PWR_ON (1) and PWR_LP (1) are high throughout. VDDCORE (vddcore) and vddcore_ok (1) are high throughout. The Operating mode transitions from Run1 to Stop1 in (2), Wait oscillator in (3), and back to Run1 in (4). ck_sys is active in (1) and (4), and inactive in (2) and (3).

Stop2

The PWR_CPU_ON signal can request the \(V_{DDCPU}\) supply to be powered off when D1 Standby mode is selected by PDDS_D1 in PWR_CPU1CR. This mode is called Stop2. The system Stop2 mode sequence is detailed below and shown in Figure 59:

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

Figure 59. Device low-power Stop2 supply sequence

Timing diagram for Device low-power Stop2 supply sequence. The diagram shows the following signals over time: PWR_CPU_ON (high to low to high), PWR_CPU_LP (high to low to high), VDDCPU (low to high, crossing vddcpu_ok threshold), vddcpu_ok (low to high), PWR_ON (1) (high), PWR_LP (1) (high), VDDCORE (vddcore) (high), vddcore_ok (1) (high), Operating mode (Run1, Stop2, Wait oscillator, Wait REG, Run1), and ck_sys (clock signal). The sequence is divided into five phases: (1) Run1, (2) Stop2, (3) Wait oscillator, (4) Wait REG, and (5) Run1. The ck_sys signal is active during phases (1) and (5), and inactive during phases (2), (3), and (4).

MSv67424V1

Timing diagram for Device low-power Stop2 supply sequence. The diagram shows the following signals over time: PWR_CPU_ON (high to low to high), PWR_CPU_LP (high to low to high), VDDCPU (low to high, crossing vddcpu_ok threshold), vddcpu_ok (low to high), PWR_ON (1) (high), PWR_LP (1) (high), VDDCORE (vddcore) (high), vddcore_ok (1) (high), Operating mode (Run1, Stop2, Wait oscillator, Wait REG, Run1), and ck_sys (clock signal). The sequence is divided into five phases: (1) Run1, (2) Stop2, (3) Wait oscillator, (4) Wait REG, and (5) Run1. The ck_sys signal is active during phases (1) and (5), and inactive during phases (2), (3), and (4).

20.3.5 PWR supply LP/LPV-Stop sequences

LP-Stop1/LPV_Stop1

The system LP-Stop1 mode sequence is detailed below and shown in Figure 60. LP-Stop1 mode is entered when selected by LPDS_D1 in PWR_CPU1CR and by LPDS_D2 in PWR_CPU2CR:

  1. 1. When entering LP-Stop1 mode, the ck_mcuss (ck_sys) is stopped.
  2. 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. 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. 4. Once the oscillator is stable, a delay is timed out to allow the external regulator to switch to Main mode.
  5. 5. After the delay timeout, the system enters Run1 mode.

Figure 60. Device low-power LP-Stop1/LPLV-Stop1 supply sequence

Timing diagram for LP-Stop1/LPLV-Stop1 supply sequence showing signals PWR_CPU_ON, VDDCPU, vddcpu_ok (1), PWR_ON, PWR_LP, VDDCORE, vddcore_ok (1), Operating mode, and ck_sys over five stages: (1) Run1, (2) LP-Stop1/LPLV-Stop1, (3) Wait oscillator, (4) Wait both REGs, and (5) Run1.

The diagram illustrates the supply sequence for LP-Stop1 and LPLV-Stop1 modes. It shows the following signals over time:

Note: In LPLV-Stop1 (green dashed lines) mode, to be able to lower VDDCORE and VDDCPU supplies, the LVDS bits must be set.

MSv67417V2

Timing diagram for LP-Stop1/LPLV-Stop1 supply sequence showing signals PWR_CPU_ON, VDDCPU, vddcpu_ok (1), PWR_ON, PWR_LP, VDDCORE, vddcore_ok (1), Operating mode, and ck_sys over five stages: (1) Run1, (2) LP-Stop1/LPLV-Stop1, (3) Wait oscillator, (4) Wait both REGs, and (5) Run1.

LP-Stop2/LPV2_Stop2

The PWR_CPU_ON signal can request the VDDCPU supply to be powered off when D1 Standby mode is selected by PDDS_D1 in PWR_CPU1CR. This mode is called LP-Stop2. The system LP-Stop2 mode sequence is detailed below and shown in Figure 61:

  1. 1. When entering LP-Stop2 mode, the ck_mcuss (ck_sys) is stopped.
  2. 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. 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. 4. Once the oscillator is stable, the external voltage regulator providing the VDDCPU supply is enabled via the PWR_CPU_ON signal.
  5. 5. After the delay timeout, and once VDDCPU is above the vddcpu_ok threshold, the system enters Run1 mode.

Figure 61. Device low-power LP-Stop2/LPLV-Stop2 supply sequence

Timing diagram for device low-power LP-Stop2/LPLV-Stop2 supply sequence. The diagram shows the following signals over time: PWR_CPU_ON (high to low transition), VDDCPU (ramps down then up), vddcpu_ok (low to high transition), PWR_ON (low pulse), PWR_LP (low pulse), VDDCORE (ramps down then up), vddcore_ok (1) (low to high transition), Operating mode (Run1, LP-Stop2 / LPLV-Stop2, Wait LPLVDLY delay, Wait oscillator, Wait REG, Run1), and ck_sys (clock signal). The diagram is divided into five phases: (1) Run1, (2) LP-Stop2 / LPLV-Stop2, (3) Wait LPLVDLY delay, (4) Wait oscillator, and (5) Run1. Green dashed lines indicate the LPLV-Stop2 mode sequence for VDDCORE and PWR_ON. A note explains the LPLV-Stop2 mode requirements and wake-up behavior.

Note: In LPLV-Stop2 (green dashed lines) mode:

MSv67418V4

Timing diagram for device low-power LP-Stop2/LPLV-Stop2 supply sequence. The diagram shows the following signals over time: PWR_CPU_ON (high to low transition), VDDCPU (ramps down then up), vddcpu_ok (low to high transition), PWR_ON (low pulse), PWR_LP (low pulse), VDDCORE (ramps down then up), vddcore_ok (1) (low to high transition), Operating mode (Run1, LP-Stop2 / LPLV-Stop2, Wait LPLVDLY delay, Wait oscillator, Wait REG, Run1), and ck_sys (clock signal). The diagram is divided into five phases: (1) Run1, (2) LP-Stop2 / LPLV-Stop2, (3) Wait LPLVDLY delay, (4) Wait oscillator, and (5) Run1. Green dashed lines indicate the LPLV-Stop2 mode sequence for VDDCORE and PWR_ON. A note explains the LPLV-Stop2 mode requirements and wake-up behavior.

20.3.6 PWR supply Standby sequence

The system Standby mode sequence is detailed below and shown in Figure 62:

  1. 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. 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. 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. 4. Once the oscillator is stable, and as long as the \(V_{DDCPU}\) supply is requested and below the vddcpu_ok threshold, the system does not enter Run1 mode.

Figure 62. Device Standby mode power control

Timing diagram for device standby mode power control showing signals PWR_CPU_ON, VDDCPU, PWR_ON, PWR_LP, VDDCORE, vddcore_ok, Operating mode, and ck_sys.

This timing diagram illustrates the power control sequence for device standby mode. It shows the following signals and their transitions:

Reference: MSv67420V2

Timing diagram for device standby mode power control showing signals PWR_CPU_ON, VDDCPU, PWR_ON, PWR_LP, VDDCORE, vddcore_ok, Operating mode, and ck_sys.

On a CPU2 wake-up event, and if CPU2 standalone wake-up is allowed by configuration, only the external regulator supplying VDDCORE is switched on via the PWR_ON signals.

The system enters in Run2 mode once the oscillator is stable (as shown in the figure below).

Figure 63. Device Standby mode power control CPU2 wake-up alone

Timing diagram for device standby mode power control during CPU2 wake-up alone, showing signals PWR_CPU_ON, VDDCPU, PWR_ON, PWR_LP, VDDCORE, vddcore_ok, Operating mode, and ck_sys.

This timing diagram shows the power control sequence for a CPU2 wake-up alone. It features the same signals as Figure 62, with key differences in the operating mode transitions:

Reference: MSv67421V2

Timing diagram for device standby mode power control during CPU2 wake-up alone, showing signals PWR_CPU_ON, VDDCPU, PWR_ON, PWR_LP, VDDCORE, vddcore_ok, Operating mode, and ck_sys.

20.3.7 PWR supply \(V_{BAT}\) sequence from Standby

The system \(V_{BAT}\) mode sequence after Standby is detailed below and shown in Figure 64.

  1. 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. 2. When powering down \(V_{DD}\), the device enters \(V_{BAT}\) mode. PWR_ON, PWR_CPU_ON, and PWR_LP signals become HiZ.

Figure 64. Device \(V_{BAT}\) mode power control

Timing diagram for Figure 64 showing the transition from Standby to VBAT mode. The diagram includes signals: VDD / VDDA18AON (decreasing), nrst_por (low pulse), PWR_ON / PWR_CPU_ON (becoming HiZ), PWR_LP (becoming HiZ), VDDCORE (0) / VDDCPU (0) (low), vddcore_ok (0) / vddcpu_ok (0) (low), Operating mode (transitioning from Standby to VBAT mode), and ck_sys (low). A vertical dashed red line marks the transition point. The diagram is labeled MSv67425V1.

The diagram illustrates the power control sequence for entering \(V_{BAT}\) mode from Standby. It shows the following signals over time:

The transition point is marked by a vertical dashed red line. The diagram is labeled MSv67425V1.

Timing diagram for Figure 64 showing the transition from Standby to VBAT mode. The diagram includes signals: VDD / VDDA18AON (decreasing), nrst_por (low pulse), PWR_ON / PWR_CPU_ON (becoming HiZ), PWR_LP (becoming HiZ), VDDCORE (0) / VDDCPU (0) (low), vddcore_ok (0) / vddcpu_ok (0) (low), Operating mode (transitioning from Standby to VBAT mode), and ck_sys (low). A vertical dashed red line marks the transition point. The diagram is labeled MSv67425V1.

When \(V_{BAT}\) mode is entered from Run1, Stop, or LP-Stop mode, \(V_{DD}\), \(V_{DDA18AON}\), \(V_{DDCORE}\), and \(V_{DDCPU}\) supplies must all be powered down.

20.3.8 PWR \(V_{SW}\) domain

To retain the content of the backup domain (RTC, backup registers, LSE, LSI, LPSRAM1 and backup ram) when \(V_{DD}\) is turned off, the VBAT pin can be connected to an optional standby voltage supplied from a battery or an another source.

Switching to the \(V_{BAT}\) supply (\(V_{BAT}\) mode) is controlled by the power-down reset (PDR) embedded in the reset block, monitoring the \(V_{DD}\) supply.

Warning: During \(t_{RSTTEMPO}\) (temporization at \(V_{DD}\) startup) or after a PDR is detected, the power switch between \(V_{BAT}\) and \(V_{DD}\) remains connected to \(V_{BAT}\).
During the startup phase, if \(V_{DD}\) is established in less than \(t_{RSTTEMPO}\) (refer to the datasheet for the value of \(t_{RSTTEMPO}\)) and \(V_{DD} > V_{BAT} + 0.6\) V, a current may be injected into \(V_{BAT}\).

through an internal diode connected between \(V_{DD}\) and the power switch (\(V_{BAT}\)).
If the power supply/battery connected to the VBAT pin cannot support this current injection, it is strongly recommended to connect an external low-drop diode between this power supply and the VBAT pin.

When the \(V_{DD}\) supply is present, the backup domain is supplied from \(V_{DD}\). This allows \(V_{BAT}\) power supply battery life time optimization.

If no external backup battery is used in the application, it is recommended to connect \(V_{BAT}\) externally to \(V_{DD}\) through a 100 nF external ceramic capacitor.

Whenever the \(V_{DD}\) supply is present and above the PDR threshold, the backup domain is supplied by \(V_{DD}\).

When the \(V_{DD}\) supply is absent and a supply is present on \(V_{BAT}\), the backup domain is supplied by \(V_{BAT}\) (see Section 20.4.1 for more details).

Figure 65. Backup domain

Block diagram of the backup domain showing power supply paths and internal components.

The diagram illustrates the backup domain architecture. On the left, external power pins \(V_{BAT}\), \(V_{DD}\), and \(V_{DDCORE}\) are shown. \(V_{BAT}\) and \(V_{DD}\) are connected to a switch that selects between them to provide \(V_{SW}\). \(V_{DDCORE}\) is connected to the main system. The \(V_{SW}\) line enters the 'VSW/backup domain' block, which contains a 'Backup regulator'. This domain is connected to the 'Backup/D3 interface' and the 'Backup/D3 I/Os'. Inside the backup domain, there are several components: 'Retention RAM', 'Backup RAM', 'LPSRAM1', 'LPSRAM2', 'LPSRAM3', 'MSI', 'EXTI2', 'CPU3', 'CPU3 DBG', 'LPDMA1', 'Peripherals', 'RTC/TAMP', 'LSE', 'LSI', and 'IWDG5'. The 'Backup/D3 interface' and 'Backup/D3 I/Os' facilitate communication between the backup domain and the rest of the system. The label 'MSv67416V2' is located at the bottom right of the diagram.

Block diagram of the backup domain showing power supply paths and internal components.

The table below shows the functions available in backup domain when the core low-power supply is powered off.

Table 89. Available functions in backup domain

Pin nameDescription
PC14, PC15LSE pins
PC13RTC or TAMP (out) pins(1)
PI8RTC or TAMP (in/out) pins(1)
Table 89. Available functions in backup domain (continued)
Pin nameDescription
PF6, PC3, PC4, PC5, PF7, PG1 and PG3TAMP (in) pins (up to VBAT mode)(1)
PZ0 to PZ6PZ0 and PZ1 are SWD debug pins. TAMP (in/out) pins (up to VBAT mode)
GPIO/alternate functions (up to Standby1 mode)(1)

1. Refer to 'pin description and alternate functions' in the device datasheet for more details

20.3.9 PWR backup RAM (BKPSRAM)

The backup domain includes an 8-Kbyte backup RAM, accessible in 32-, 16-, or 8-bit data mode.

When the backup supply is enabled by BKPRBSEN in PWR_CR9, the BKPSRAM content is retained even in Standby and/or VBAT mode.

The BKPSRAM can be erased by a tamper event (see Section 75 for details).

20.3.10 PWR retention RAM (RETRAM)

The backup domain includes a 128-Kbyte retention RAM, accessible in 32-, 16-, or 8-bit data mode.

When the backup supply is enabled by RETRBSEN in PWR_CR10, the RETRAM content is retained even in Standby and/or VBAT mode.

20.3.11 PWR CPU3 instruction RAM (LPSRAM1)

The backup domain includes a 8-Kbyte CPU3 instruction code, accessible in 32-, 16-, or 8-bit data mode.

When the LPSRAM1 supply is enabled by LPR1BSEN in PWR_CR9, the LPSRAM1 content is retained even in Standby and/or VBAT mode.

The LPSRAM1 can be used to store CPU3 instruction code (independent CRC engine embedded in RAM controller for code integrity checking).

20.3.12 PWR D3 domain

The D3 domain (also called SmartRun domain) includes all peripherals (I2C, I3C, SPI, LPUART, LPTIMER, ADF1) that must be functional in low-power modes (up to Standby1

mode), plus Cortex-M0+ (CPU3), RTC/TAMP, EXTI2, IPCC2, HSEM, LPDMA1, 16-Kbyte data RAM (LPSRAM3), 8-Kbyte CPU3 data RAM (LPSRAM2).

These peripherals can work in autonomous mode thanks to their own independent clock request capability for kernel and system clocks. The peripheral kernel or/and system clocks are automatically switched on when requested by a peripheral, and automatically switched off when no peripheral requests them.

When Standby mode is selected by PDDS_D3 in PWR_D3CR, the D3 domain supply is also switched off in Standby2 mode.

The CPU3 can be used to qualify the tamper detection event. In this use case, the D3 domain can be powered even in \(V_{BAT}\) mode on tamper event when enabled by TAMP_WKUPEN_D3 in PWR_D3WKUPENR. Only a tamper event can wake up the D3 domain in \(V_{BAT}\) mode. The Standby2 mode is not supported when TAMP_WKUPEN_D3 is set.

Only Cortex-M0+ (CPU3), LPSRAM1/2, RTC/TAMP, EXTI2, and IPCC2 are functional in the domain when TAMP_WKUPEN_D3 is set.

20.3.13 PWR D3 and backup domain access

After a system reset, the D3 domain (including LPSRAM1/2/3) and the backup domain (RCC_BDCR, RTC, TAMP and backup registers, backup SRAM) are protected against possible unwanted write accesses from D1 or D2 domains. To enable access to the D3 domain and the backup domain, DBD3P in PWR_BDCR1 must be set.

After a D3 domain reset, the RTC, TAMP and backup registers are protected against possible unwanted write from D3 domain. To enable access to the backup domain, set DBP in PWR_BDCR2.

For more detail on RTC and backup registers, see Section 74.

20.3.14 PWR \(V_{DD}\) domain

The \(V_{DD}\) domain includes boot, security and OTP controller (BSEC), independent watchdog (IWDG), resource isolation framework controller (RIFSC and IAC), and the debug access port (DAP).

The content of the domain is retained in Standby mode (not powered in \(V_{BAT}\) mode).

Figure 66. VDD domain Block diagram of the VDD domain showing the VDD/retention domain and its connections to various peripherals and power supplies.

The diagram illustrates the VDD domain architecture. It shows the following components and connections:

MSv67437V1

Block diagram of the VDD domain showing the VDD/retention domain and its connections to various peripherals and power supplies.

20.3.15 PWR analog supply

PWR separate analog VDDA18ADC supply

The analog supply domain has separate VDDA18ADC and VSSA pads to allow the supply to be filtered and shielded from noise on the PCB. This improves the ADC conversion accuracy.

PWR analog reference voltage VREF

To allow better accuracy on low-voltage signals, the ADC has a separate reference voltage VREF+ pin. The user can connect a separate external reference voltage on VREF+. The VREF+ supply controls the highest voltage, represented by the full scale value. The lower voltage reference VREF- must be connected together with VSSA.

When enabled by ENVR in VREFBUF_CSR (see Section 44.6.1), the VREF+ is provided from the internal voltage reference buffer. The internal voltage reference buffer can also provide a reference voltage to external components through pin (see Section 44).

20.4 PWR power supply supervision

Power supply level monitoring is available on the following supplies:

20.4.1 PWR power-on reset (POR)/power-down reset (PDR)

The system has an integrated POR/PDR circuitry that allows proper startup operation.

The system remains in reset mode when \(V_{DD}\) and \(V_{DDA18AON}\) are below a specified \(V_{POR}\) threshold, without the need for an external reset circuit. Once \(V_{DD}\) and \(V_{DDA18AON}\) supply levels are above the \(V_{POR}\) threshold, the system is taken out of reset. Refer to the electrical characteristics of the device datasheet for more details on the POR/PDR thresholds.

The POR/PDR generate also an application reset (NRST).

Figure 67. Power-on reset/power-down reset waveform

Figure 67: Power-on reset/power-down reset waveform. The graph shows the supply voltage VDD / VDDA18AON (blue line) rising and falling over time T. The POR threshold is a solid horizontal line, and the PDR threshold is a dashed horizontal line below it. The vertical distance between them is labeled 'Hysteresis'. The 'nrst_por' signal (black line) is high when the supply is below the POR threshold and low when it is above. A 'Temporisation TRSTTEMPO' period is shown after the supply crosses the POR threshold, during which nrst_por remains high. The PDR threshold is crossed on the falling edge of the supply voltage.

MSv67435V1

Figure 67: Power-on reset/power-down reset waveform. The graph shows the supply voltage VDD / VDDA18AON (blue line) rising and falling over time T. The POR threshold is a solid horizontal line, and the PDR threshold is a dashed horizontal line below it. The vertical distance between them is labeled 'Hysteresis'. The 'nrst_por' signal (black line) is high when the supply is below the POR threshold and low when it is above. A 'Temporisation TRSTTEMPO' period is shown after the supply crosses the POR threshold, during which nrst_por remains high. The PDR threshold is crossed on the falling edge of the supply voltage.

Note: For thresholds and hysteresis, refer to the datasheet.

20.4.2 PWR brownout reset (BOR)

During power-on, the brownout reset (BOR) keeps the system under reset until the \(V_{DD}\) supply reaches the specified \(V_{BOR}\) threshold, that is configured through system option bytes. By default, BOR is off. When enabled, this only takes effect after the device has loaded the option bytes. The following programmable \(V_{BOR}\) thresholds can be selected:

The BOR generates also an application reset (NRST).

When the BOR is enabled and the \(V_{DD}\) supply drops below the selected \(V_{BOR}\) threshold, a NRST is generated.

Figure 68. BOR thresholds

Figure 68: BOR thresholds diagram. The graph shows V_DD on the vertical axis and Time (T) on the horizontal axis. A trapezoidal waveform represents the V_DD supply voltage. A lower waveform represents the nrst_bor signal. The rising edge of V_DD crosses a threshold labeled BORrise. The falling edge crosses a lower threshold labeled BORfall. The vertical distance between these two thresholds is labeled Hysteresis. The nrst_bor signal is low when V_DD is below the BOR thresholds and high when V_DD is above them.

MSv67433V1

Figure 68: BOR thresholds diagram. The graph shows V_DD on the vertical axis and Time (T) on the horizontal axis. A trapezoidal waveform represents the V_DD supply voltage. A lower waveform represents the nrst_bor signal. The rising edge of V_DD crosses a threshold labeled BORrise. The falling edge crosses a lower threshold labeled BORfall. The vertical distance between these two thresholds is labeled Hysteresis. The nrst_bor signal is low when V_DD is below the BOR thresholds and high when V_DD is above them.

20.4.3 PWR \(V_{DDCORE}\) OK reset

The system has an integrated circuitry that allows proper startup operation of the \(V_{DDCORE}\) domain.

This domain remains in Reset mode when \(V_{DDCORE}\) is below the operation threshold vddcore_ok. Once \(V_{DDCORE}\) supply is above vddcore_ok, the \(V_{DDCORE}\) domain is taken out of reset. For more details concerning the \(V_{DDCORE}\) OK reset threshold, refer to the electrical characteristics of the device datasheet.

When LVDS_D2 is set in PWR_CPU2CR, the \(V_{DDCORE}\) supply level can be lowered in LPLV-Stop mode.

Figure 69. vddcore_ok reset thresholds

Figure 69: vddcore_ok reset thresholds. A graph showing VDDCORE voltage (Y-axis) versus time (T, X-axis). The VDDCORE voltage ramps up and then down. Two horizontal dashed lines represent the high and low thresholds. The vertical distance between them is labeled 'Hysteresis'. The rising edge of the VDDCORE signal crosses the high threshold, and the falling edge crosses the low threshold. A horizontal arrow labeled 'Temporisation' indicates the time delay between the crossing of the thresholds and the transition of the Vcore_rdy signal from low to high. The Vcore_rdy signal is low when VDDCORE is below the low threshold and high when VDDCORE is above the high threshold. Reference: MSv67440V1.
Figure 69: vddcore_ok reset thresholds. A graph showing VDDCORE voltage (Y-axis) versus time (T, X-axis). The VDDCORE voltage ramps up and then down. Two horizontal dashed lines represent the high and low thresholds. The vertical distance between them is labeled 'Hysteresis'. The rising edge of the VDDCORE signal crosses the high threshold, and the falling edge crosses the low threshold. A horizontal arrow labeled 'Temporisation' indicates the time delay between the crossing of the thresholds and the transition of the Vcore_rdy signal from low to high. The Vcore_rdy signal is low when VDDCORE is below the low threshold and high when VDDCORE is above the high threshold. Reference: MSv67440V1.

20.4.4 PWR VDDCORE monitoring

The system has a detection circuitry which detects if VDDCORE supply is below or above the operating range. This detection is done by comparing VDDCORE with two thresholds (high and low thresholds).

VCOREH and VCOREL in PWR_CR5 indicate if VDDCORE is higher or lower than the thresholds. These flags are available on tamper signals but also connected to the EXTI2, and can generate an interrupt if enabled through the EXTI2 registers.

The detection is enabled by setting VCOREMONEN in PWR_CR5.

The vcore_thr_high and vcore_thr_low thresholds, when enabled, are not available in LPLV-Stop, Standby, and VBAT modes. For more details on these thresholds, refer to the electrical characteristics of the datasheet.

Figure 70. VDDCORE monitoring

Figure 70: VDDCORE monitoring. A graph showing VDDCORE voltage (Y-axis) versus time (T, X-axis). The VDDCORE voltage ramps up and then down. Two horizontal dashed lines represent the high threshold (vcore_thr_high) and low threshold (vcore_thr_low). The rising edge of the VDDCORE signal crosses the high threshold, and the falling edge crosses the low threshold. The VCOREL signal is low when VDDCORE is below the low threshold and high when VDDCORE is above the high threshold. The VCOREH signal is high when VDDCORE is below the low threshold and low when VDDCORE is above the high threshold. Reference: MSv67441V1.
Figure 70: VDDCORE monitoring. A graph showing VDDCORE voltage (Y-axis) versus time (T, X-axis). The VDDCORE voltage ramps up and then down. Two horizontal dashed lines represent the high threshold (vcore_thr_high) and low threshold (vcore_thr_low). The rising edge of the VDDCORE signal crosses the high threshold, and the falling edge crosses the low threshold. The VCOREL signal is low when VDDCORE is below the low threshold and high when VDDCORE is above the high threshold. The VCOREH signal is high when VDDCORE is below the low threshold and low when VDDCORE is above the high threshold. Reference: MSv67441V1.

20.4.5 PWR \(V_{DDCPU}\) OK reset

The system has an integrated circuitry that allows proper startup operation of the \(V_{DDCPU}\) domain.

This domain remains in Reset mode when \(V_{DDCPU}\) is below the operation threshold vddcpu_ok. Once \(V_{DDCPU}\) is above this threshold, the \(V_{DDCPU}\) domain is taken out of reset. For more details concerning this threshold, refer to the electrical characteristics of the device datasheet.

When LVDS_D1 is set in PWR_CPU1CR, the \(V_{DDCPU}\) supply level can be lowered in LPLV-Stop mode.

Figure 71. vddcpu_ok reset thresholds

Figure 71: vddcpu_ok reset thresholds. The diagram shows the VDDCPU voltage (V) on the vertical axis and time (T) on the horizontal axis. A trapezoidal waveform represents the VDDCPU voltage rising from a low level, reaching a plateau, and then falling back to a low level. Two horizontal dashed lines indicate the reset thresholds: VDDCPUrise (the upper threshold) and VDDCPUfall (the lower threshold). The vertical distance between these two thresholds is labeled 'Hysteresis'. A horizontal arrow labeled 'Temporisation' indicates the time delay between the VDDCPU voltage crossing the VDDCPUrise threshold and the corresponding transition of the Vcpu_rdy signal from low to high. The Vcpu_rdy signal is shown as a digital signal that transitions from low to high when VDDCPU rises above VDDCPUrise and from high to low when VDDCPU falls below VDDCPUfall. The diagram is labeled MSv67438V1 in the bottom right corner.
Figure 71: vddcpu_ok reset thresholds. The diagram shows the VDDCPU voltage (V) on the vertical axis and time (T) on the horizontal axis. A trapezoidal waveform represents the VDDCPU voltage rising from a low level, reaching a plateau, and then falling back to a low level. Two horizontal dashed lines indicate the reset thresholds: VDDCPUrise (the upper threshold) and VDDCPUfall (the lower threshold). The vertical distance between these two thresholds is labeled 'Hysteresis'. A horizontal arrow labeled 'Temporisation' indicates the time delay between the VDDCPU voltage crossing the VDDCPUrise threshold and the corresponding transition of the Vcpu_rdy signal from low to high. The Vcpu_rdy signal is shown as a digital signal that transitions from low to high when VDDCPU rises above VDDCPUrise and from high to low when VDDCPU falls below VDDCPUfall. The diagram is labeled MSv67438V1 in the bottom right corner.

20.4.6 PWR \(V_{DDCPU}\) monitoring

The system has a detection circuitry which detects if \(V_{DDCPU}\) supply is below or above the operating range. The detection is done by comparing \(V_{DDCPU}\) with two thresholds (high and low thresholds). The level of the low threshold can be selected by VCPULLS in PWR_CR6. The high level threshold is fixed.

VCPUH and VCPUL in PWR_CR6 indicate if \(V_{DDCPU}\) is higher or lower than the thresholds. These flags are available on tamper signals but also connected to the EXTI2, and can generate an interrupt if enabled through the EXTI2 registers.

The detection is enabled by setting VCPUMONEN in PWR_CR6. The vcpu_thr_high and vcpu_thr_low thresholds, when enabled, are not available in Run2, LPLV-Stop, Standby, and \(V_{BAT}\) modes. For more details on these thresholds, refer to the electrical characteristics of the device datasheet.

Figure 72.\(V_{DDCPU}\) monitoring Figure 72: VDDCPU monitoring diagram. The graph shows VDDCPU voltage (Y-axis) versus time (T, X-axis). A trapezoidal waveform represents the voltage ramp. Two horizontal dashed lines indicate thresholds: vcpu_thr_high and Vcpu_thr_low. Below the graph, two digital signals are shown: VCPUL (low during the ramp) and VCPUH (high during the ramp).

The diagram illustrates the monitoring of \(V_{DDCPU}\) voltage over time. The top part of the graph shows the \(V_{DDCPU}\) voltage ramping up, staying at a high level, and then ramping down. Two horizontal dashed lines represent the high and low thresholds: vcpu_thr_high and Vcpu_thr_low. The bottom part of the graph shows two digital signals, VCPUL and VCPUH, which are active (low and high respectively) during the voltage ramping phases.

Figure 72: VDDCPU monitoring diagram. The graph shows VDDCPU voltage (Y-axis) versus time (T, X-axis). A trapezoidal waveform represents the voltage ramp. Two horizontal dashed lines indicate thresholds: vcpu_thr_high and Vcpu_thr_low. Below the graph, two digital signals are shown: VCPUL (low during the ramp) and VCPUH (high during the ramp).

MSv67439V1

20.4.7 PWR \(V_{DDGPU}\) voltage monitoring (GPUVM)

The system has an integrated circuitry (GPUVM) that allows the independent GPU supply \(V_{DDGPU}\) to be monitored. The VDDGPURDY in PWR_CR12 indicates if the \(V_{DDGPU}\) is higher or lower than the \(V_{DDGPUVM}\) threshold.

The independent \(V_{DDGPU}\) supply is not considered as present by default. A logical and electrical isolation is applied to ignore any information coming from the \(V_{DDGPU}\) domain. The voltage monitor is disabled by default.

The output of the \(V_{DDGPU}\) monitor is connected to an EXTI line, and can generate an interrupt if enabled through the EXTI registers. The GPUVMO output interrupt is generated when the independent power supply drops below the \(V_{DDGPUVM}\) threshold, and/or when it rises above the \(V_{DDGPUVM}\) threshold, depending on EXTI line rising/falling edge configuration.

The following sequence must be done before using the GPU:

  1. 1. Enable the GPUVM by setting GPUVMEN in PWR_CR12.
  2. 2. Wait for the GPUVM wake-up time.
  3. 3. Wait until VDDGPURDY is set in PWR_CR12.
  4. 4. Set GPUSV in PWR_CR12 to remove the \(V_{DDGPU}\) power isolation.

The GPUSV bit is cleared by hardware when \(V_{DDGPU}\) drops below the \(V_{DDGPUVM}\) threshold.

When the GPU is on hold (all clocks off), \(V_{DDGPU}\) can be lowered to save power. Before to lower the supply level, the GPULVTEN in PWR_CR12 must be set to reduce the threshold. This bit must be reset when the supply is restored at the nominal value.

If \(V_{DDGPUVM}\) is shorted externally to \(V_{DDCORE}\), it is not required to set the GPULVTEN bit. The low-voltage threshold is selected by hardware before entering LPLV-Stop modes.

When the GPU is disabled by OTP (feature disable DIS2), the GPUSV bit is ignored, and a logical and electrical isolation is always applied.

20.4.8 PWR programmable voltage detector (PVD)

The PVD can be used to monitor a voltage level on the PVD_IN pin: the voltage level on PVD_IN is compared to the internal \(V_{REFINT}\) level.

The PVD is enabled by setting PVDEN in PWR_CR3. The PVD is not available in Standby mode.

A PVDO flag in PWR_CR3 indicates if the voltage level on PVD_IN is higher or lower than the PVD threshold. This event is internally connected to the EXTI11, and can generate an interrupt if enabled through the EXTI11 registers. The PVDO output interrupt can be generated when the voltage level on PVD_IN drops below the PVD threshold, and/or when the voltage level on PVD_IN rises above the PVD threshold, depending on EXTI11 rising/falling edge configuration. As an example the service routine can perform emergency shutdown tasks.

Figure 73. PVD thresholds

Figure 73: PVD thresholds diagram. The diagram shows three signals over time (T): PVD_IN, PVDO, and PVDEN. PVD_IN is a ramp signal that rises and falls. PVDO is a digital signal that transitions between high and low states based on PVD_IN crossing the PVD threshold. PVDEN is a digital signal that enables the PVD. The diagram illustrates the PVD threshold, PVD_Rise, PVD_Fall, and Hysteresis. A 'Software enable' arrow points to the rising edge of PVDEN, and a 'PDR' arrow points to the falling edge of PVDEN. The diagram is labeled MSv67431V1.
Figure 73: PVD thresholds diagram. The diagram shows three signals over time (T): PVD_IN, PVDO, and PVDEN. PVD_IN is a ramp signal that rises and falls. PVDO is a digital signal that transitions between high and low states based on PVD_IN crossing the PVD threshold. PVDEN is a digital signal that enables the PVD. The diagram illustrates the PVD threshold, PVD_Rise, PVD_Fall, and Hysteresis. A 'Software enable' arrow points to the rising edge of PVDEN, and a 'PDR' arrow points to the falling edge of PVDEN. The diagram is labeled MSv67431V1.

Note: For thresholds and hysteresis, refer to the datasheet.

20.4.9 Peripheral voltage monitoring (PVM)

Only \(V_{DD}\) is monitored by default, as it is the only supply required for all system-related functions. The other supplies (\(V_{DDIO1}\), \(V_{DDIO2}\), \(V_{DDIO3}\), \(V_{DDIO4}\), \(V_{DD33UCPD}\), \(V_{DD33USB}\) and \(V_{DDA18ADC}\)) can be independent from \(V_{DD}\), and can be monitored with seven peripheral voltage monitoring (PVM):

Note: For thresholds and hysteresis, refer to the device datasheet.

The GPVMO flag in PWR_CR1 indicates if all enabled independent power supplies are higher or lower than the PVM threshold. This event is internally connected to the EXTI1, and can generate an interrupt if enabled through the EXTI1 registers. The GPVMO interrupt can be generated when all enabled independent power supplies rise above the PVM threshold, or when at least one enabled independent power supply drops below the PVM threshold, depending on EXTI1 line rising/falling edge configuration.

The PVM is not available in Standby mode.

The independent supplies (\(V_{DDIO1}\), \(V_{DDIO2}\), \(V_{DDIO3}\), \(V_{DDIO4}\), \(V_{DD33USB}\), \(V_{DD33UCPD}\) and \(V_{DDA18ADC}\)) are not considered as present by default, and a logical and electrical isolation is applied to ignore any information coming from the peripherals supplied by these dedicated supplies.

The following sequence must be done before using the USB2 PHYs:

  1. 1. If \(V_{DD33USB}\) is independent from \(V_{DD}\):
    1. a) Enable USB33VM by setting USB33VMEN in PWR_CR1.
    2. b) Wait for the USB33VM wake-up time.
    3. c) Wait until USB33RDY is set in PWR_CR1.
    4. d) Optional: Disable USB33VM for consumption saving.

The following sequence must be done before using the USB Type C CC1 and CC2 pins:

  1. 1. If \(V_{DD33UCPD}\) is independent from \(V_{DD}\):
    1. a) Enable UCPDVM by setting UCPDVMEN in PWR_CR1.
    2. b) Wait for the UCPDVM wake-up time.
    3. c) Wait until UCPDRDY is set in PWR_CR1.
    4. d) Optional: Disable UCPDVM for consumption saving.
  2. 2. Set UCPDSV in PWR_CR1 to remove the \(V_{DD33UCPD}\) power isolation.

The following sequence must be done before using the analog to digital converters:

  1. 1. If \(V_{DDA18ADC}\) is independent from \(V_{DD}\):
    1. a) Enable AVM by setting AVMEN in PWR_CR1.
    2. b) Wait for the AVM wake-up time.
    3. c) Wait until ARDY is set in PWR_CR1.
    4. d) Optional: Disable AVM for consumption saving.
  2. 2. Set ASV in PWR_CR1 to remove the \(V_{DDA18ADC}\) power isolation.

The GPIOs have the capability to work in the 1.8 V or 3.3 V power supply ranges. It is needed to select the supply range of the I/Os before to use it. By default, the 3.3 V range is selected. The voltage range configuration for \(V_{DD}\), \(V_{DDIO3}\) and \(V_{DDIO4}\) is retained in Standby mode. The configuration can be retained for \(V_{DDIO1}\) and \(V_{DDIO2}\) in Standby mode when

VDDIO1VRSTBY and VDDIO2VRSTBY are set in PWR_CR7 and PWR_CR8. The voltage range must not be retained if the supply range can change when exiting from Standby mode (such as SD card).

The following sequence must be done before using the VDDIO1 I/Os:

  1. 1. If \(V_{DDIO1}\) is independent from \(V_{DD}\):
    1. a) Enable VDDIO1VM by setting VDDIO1VMEN in PWR_CR8.
    2. b) Wait for the VDDIO1VM wake-up time.
    3. c) Wait until VDDIO1RDY is set in PWR_CR8.
    4. d) Optional: Disable VDDIO1VM for consumption saving.
    5. e) If \(V_{DDIO1}\) is in 1.8 V range, set \(V_{DDIO1}\) voltage range by setting VDDIO1VRSEL in PWR_CR8.
    6. f) Optional: Retain VDDIO1VRSEL configuration by setting VDDIO1VRSTBY in PWR_CR8.
  2. 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. 1. If \(V_{DDIO2}\) is independent from \(V_{DD}\):
    1. a) Enable VDDIO2VM by setting VDDIO2VMEN in PWR_CR7.
    2. b) Wait for the VDDIO2VM wake-up time.
    3. c) Wait until VDDIO2RDY is set in PWR_CR7.
    4. d) Optional: Disable VDDIO2VM for consumption saving.
    5. e) If \(V_{DDIO2}\) is in 1.8 V range, set \(V_{DDIO2}\) voltage range by setting VDDIO2VRSEL in PWR_CR7.
    6. f) Optional: Retain VDDIO1VRSEL configuration by setting VDDIO2VRSTBY in PWR_CR7.
  2. 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. 1. If \(V_{DDIO3}\) is independent from \(V_{DD}\):
    1. a) Enable VDDIO3VM by setting VDDIO3VMEN in PWR_CR1.
    2. b) Wait for the VDDIO3VM wake-up time.
    3. c) Wait until VDDIO3RDY is set in PWR_CR1.
    4. d) Optional: Disable VDDIO3VM for consumption saving.
    5. e) If \(V_{DDIO3}\) is in 1.8 V range, set the \(V_{DDIO3}\) voltage range by setting VDDIO3VRSEL in PWR_CR1.
  2. 2. Set VDDIO3SV in PWR_CR1 to remove the \(V_{DDIO3}\) power isolation.

Note: Same sequence must be done for the VDDIO4 I/Os.

20.4.10 PWR \(V_{08CAP}\) voltage thresholds

The backup domain voltage \(V_{08CAP}\) supply can be monitored by comparing it with two threshold levels. The V08CAPH and V08CAPL flags in PWR_CR2 indicate if \(V_{08CAP}\) is higher or lower than the thresholds. These flags are available on tamper signals (see Section 74).

The V08CAP supply monitor can be enabled/disabled with MONEN in PWR_CR2. When enabled, the V08CAP voltage thresholds increase the power consumption. As an example, the levels can be used to trigger a routine to perform emergency saving tasks.

The V08CAP voltage thresholds, when enabled, are also available in Standby and VBAT modes.

Figure 74. V08CAP thresholds

A graph showing V08CAP voltage levels (V08CAPHigh and V08CAPLow) as a function of temperature (T). The graph includes a trapezoidal plot of V08CAP vs T and a corresponding digital signal waveform below it, labeled V08CAPH and V08CAPL. The digital signal is high when the temperature is between the two threshold levels and low otherwise. The ID number MSv67442V2 is in the bottom right corner.
A graph showing V08CAP voltage levels (V08CAPHigh and V08CAPLow) as a function of temperature (T). The graph includes a trapezoidal plot of V08CAP vs T and a corresponding digital signal waveform below it, labeled V08CAPH and V08CAPL. The digital signal is high when the temperature is between the two threshold levels and low otherwise. The ID number MSv67442V2 is in the bottom right corner.

Note: For thresholds and hysteresis, refer to the datasheet.

20.4.11 PWR temperature thresholds

The temperature can be monitored by comparing it with two threshold levels. The TEMPH and TEMPL flags in PWR_CR2 indicate if the device temperature is higher or lower than the threshold. These flags are available on tamper signals (see Section 74).

The temperature monitor can be enabled/disabled with MONEN in PWR_CR2. When enabled, the temperature thresholds increases power consumption. As an example, the levels can be used to trigger a routine to perform temperature control tasks.

The temperature thresholds, when enabled, are also available in Standby and VBAT modes.

Figure 75. Temperature thresholds

Figure 75: Temperature thresholds. A graph showing Temperature (Y-axis) versus Time (T, X-axis). A trapezoidal temperature profile is shown. Two horizontal dashed lines represent thresholds: TEMPhigh (upper) and TEMPlow (lower). Below the graph, two digital signal waveforms are shown: TEMPH and TEMPL. TEMPH is a square wave that is high when the temperature is above TEMPhigh and low otherwise. TEMPL is a square wave that is low when the temperature is below TEMPlow and high otherwise. The label MSv67443V1 is in the bottom right corner.
Figure 75: Temperature thresholds. A graph showing Temperature (Y-axis) versus Time (T, X-axis). A trapezoidal temperature profile is shown. Two horizontal dashed lines represent thresholds: TEMPhigh (upper) and TEMPlow (lower). Below the graph, two digital signal waveforms are shown: TEMPH and TEMPL. TEMPH is a square wave that is high when the temperature is above TEMPhigh and low otherwise. TEMPL is a square wave that is low when the temperature is below TEMPlow and high otherwise. The label MSv67443V1 is in the bottom right corner.

Note: For thresholds and hysteresis, refer to the datasheet.

20.5 PWR power management

The power management controls \(V_{DDCPU}\) and \(V_{DDCORE}\) supplies in accordance with the system operation modes (see Section 20.5.1). The system is split into three domains:

D1, D3 and system D2 can be in one of the following operating modes:

At PWR controller level, the dual-core Cortex-A35 is seen as a single CPU1.

\(V_{DDCORE}\) supply follows the system operating mode (Run, Stop, LP-Stop, LPLV-Stop and Standby).

\(V_{DDCPU}\) supply follows the domain operating mode (DRun, DStop1/2/3 and DStandby). This supply can be powered down individually when the D1 domain is in DStandby mode.

The D3 domain is supplied by \(V_{DDCORE}\) in SRun1/2 and SStop1 modes, and by the backup regulator in SRun3 and SStop2 modes. The D3 domain is in power down in SStandby mode.

20.5.1 PWR operating modes

Several system operating modes are available to tune the system according to the performance needed, that is when the CPU(s) do not need to execute code and wait for an external event. It is up to the user to select the operating mode that gives the best

compromise between low-power consumption, short startup time, and available wake-up sources.

The operating modes allow the control of the clock distribution to the different system parts and the system power. The system operating mode is driven by the CPU1 subsystem and CPU2 subsystem but also by D3 domain in Standby mode. A CPU subsystem can include multiple domains depending on its peripheral allocation. The operating modes for the different system parts are defined below.

CPU1, CPU2 and CPU3 subsystem modes

D1 domain modes

D3 domain modes

System D2 modes

The system is powered down. The D3 domain is also in power down. All CPU subsystems are in CStop. PDDS_D1 in PWR_CPU1CR selects DStandby. PDDS_D2 in PWR_CPU1CR and PWR_CPU2CR select Standby. PDDS_D3 in PWR_D3CR selects SStandby.

Note: In Run modes, the power consumption can be reduced by gating the clocks to AHBx and APBx peripherals when they are unused, with PERxEN.

PWR CPU1 low-power mode summary

The CPU1 system supports the following low-power modes:

Table 90. CPU1 low-power mode summary

CPU1Processor0Processor1L2Entry(1)Wake-upclkProcessor0 clkProcessor1 clkPeriph bus clk
CRunP0RUNP1RUNL2RUN--ONONONON
P0RUNP1STOPWFECPU1 processor1 interrupt, or event, or resetOFF
WFICPU1 processor1 interrupt or reset
P0STOPP1RUNWFECPU1 processor0 interrupt, or event, or resetOFFON
WFICPU1 processor0 interrupt, or resetOFF
CSleepP0STOPP1STOPL2STOPWFE(2)CPU1(3) interrupt, or event, or resetOFFOFFOFFON/OFF(5)
STPREQ_P[1:0] ≠ 0b11 WFI(4)CPU1(3) interrupt or reset
CStopSTPREQ_P[1:0] = 0b11 WFI(4)CPU1(3) EXTI interrupt or resetOFFOFFOFFOFF
  1. 1. For STPREQ_P[1:0] register bits functionality refer to the RCC. WFI = wait for interrupt. WFE = wait for event.
  2. 2. At least one CPU1 processor is in WFE, and the other CPU1 processor is in WFE or WFI.
  3. 3. Wakes up the respective processor associated with the event or interrupt.
  4. 4. All CPU1 processors are in WFI.
  5. 5. CPU1 subsystem peripherals having a PERxLPEN bit operate accordingly.

PWR CPU2 low-power mode summary

Table 91. CPU2 low-power mode summary

CPU2EntryWake-upCPU2 clkCPU2 periph bus clk
CRun--ONON
CSleepCortex-M33 SCR SLEEPDEEP = 0, WFEAny CPU2 interrupt or event or resetOFFON/OFF(1)
Cortex-M33 SCR SLEEPDEEP = 0, WFI or return from ISRAny CPU2 interrupt or reset
CStopCortex-M33 SCR SLEEPDEEP = 1, WFEAny CPU2 EXTI interrupt, or event, or resetOFF
Cortex-M33 SCR SLEEPDEEP = 1, WFI or return from ISRAny CPU2 EXTI interrupt or reset

1. CPU2 subsystem peripherals having a PERxLPEN bit operate accordingly.

PWR CPU3 low-power mode summary

Table 92. CPU3 low-power mode summary

CPU3EntryWake-upCPU3 clkCPU3 periph bus clk
CRun--ONON
CSleepCortex-M0+ SCR SLEEPDEEP = 0, WFEAny CPU3 interrupt or event or resetOFFON/OFF(1)(2)
Cortex-M0+ SCR SLEEPDEEP = 0, WFI or return from ISRAny CPU3 interrupt or reset
CStop(2)Cortex-M0+ SCR SLEEPDEEP = 1, WFEAny CPU3 EXTI interrupt, or event, or resetON/OFF(3)
Cortex-M0+ SCR SLEEPDEEP = 1, WFI or return from ISRAny CPU3 EXTI interrupt or reset

1. CPU3 subsystem peripherals having a PERxLPEN bit operate accordingly.

2. CStop mode is assumed when the CPU3 is not enabled.

3. CPU3 subsystem peripherals may be clocked if requested by their own independent clock request capability.

PWR system low-power mode summary

The system low-power modes are derived from the CPU1, CPU2 and CPU3 low-power modes.

Table 93. System low-power modes

System D2 domainD1 domainD3 domainCPU1CPU2CPU3Wake-upSystem clkD3 oscillatorVDDCCPUVDDGPUVDDCORE
Run1DRunSRun1CRun or CSleepCRun or CSleepCRun, CSleep, or CStopSee Table 94ONONONON (nominal/overdrive)
DStop1CStopCStopOFF
Run2DStandbyCStop and PDDS_D1=1CRun or CSleepON
Stop1(1)DStop1SRun2 or SStop1CStopCStopOFFON/OFFONON (nominal/overdrive) / OFF
Stop2DStandbyCStop and PDDS_D1 = 1OFF
LP-Stop1(1)DStop2SRun3 or SStop2CStop and LPDS_D1=1(2)CStop and LPDS_D2=1(3)ON
LP-Stop2DStandbyCStop and PDDS_D1=1OFF
LPLV-Stop1(1)DStop3CStop and LPDS_D1=1(2) and LVDS_D1=1(4)CStop and LPDS_D2=1(2) and LVDS_D2=1(5)ON (reduced)
LPLV-Stop2DStandbyCStop and PDDS_D1=1OFF
ST logo
ST logo

Table 93. System low-power modes (continued)

System D2 domainD1 domainD3 domainCPU1CPU2CPU3Wake-upSystem clkD3 oscillatorVDDCCPUVDDGPUVDDCORE
Standby1DStandbySRUN3 or SStop2CStop and PDDS_D1=1CStop and PDDS_D2=1CRUN, CSleep, or CStopSee Table 94OFFON/OFFOFFOFFOFF
Standby2DStandbySStandbyCStop and PDDS_D3=1WKUP pins, RTC alarm, RTC wake-up, RTC tamper events, or application reset (such as NRST, IWDG)OFF
  1. 1. At least one PDDS_Dn in PWR_CPU1CR and PWR_CPU2CR selects Stop.
  2. 2. LPDS_D1 in PWR_CPU1CR selects LP-Stop.
  3. 3. LPDS_D2 in PWR_CPU2CR selects LP-Stop.
  4. 4. LVDS_D1 in PWR_CPU1CR selects LPLV-Stop.
  5. 5. LVDS_D2 in PWR_CPU2CR selects LPLV-Stop.

Table 94. Functionalities depending on system operating mode

Peripheral(1)Run1/Run2Stop1/2 and LP-Stop1/2LPLV-Stop1/2Standby1Standby2VBAT
-Wake-up capability-Wake-up capability-Wake-up capability-Wake-up capability
CPU1Y/-R/--R/-------
CPU2YR-R------
CPU3OOOOOOO--O
GPU/NPU(13)OO-O------
DBGOOOOOOO--O
ROM memoryYR-R------
RAMCFGOR-R------
SYSRAMOR-R------
VDERAMOR-R------
SRAM1OO(3)-R------
SRAM2OO(3)-R------
BKPSRAMOO-R-O(2)-O(2)-O(2)
RETSRAMYO(3)-R-O(2)-O(2)-O(2)
LPSRAM1OO(3)-O(3)-O(3)-O(2)-O(2)

Table 94. Functionalities depending on system operating mode (continued)

Peripheral(1)Run1/Run2Stop1/2 and LP-Stop1/2LPLV-Stop1/2Standby1Standby2VBAT
-Wake-up capability-Wake-up capability-Wake-up capability-Wake-up capability
LPSRAM2OO(3)-O(3)-O(3)---O
LPSRAM3OO(3)-O(3)-O(3)----
DDRCTRLOR-R------
OCTOSPIx (x = 1, 2)OR-R------
OCTOSPIMOR-R------
OTFDECx(13) (x = 1, 2)OR-R------
FMCOR-R------
Backup registersYR-R-R-R-R
Brownout reset (BOR)YYYYYYYYY-
Programmable voltage detector (PVD)OOOOO-----
Peripheral voltage monitor (PVM)OOOOO-----
V08CAPH/V08CAPL monitoringOOOOOOOOOO
TEMPH/TEMPL monitoringOOOOOOOOOO
LPDMAOOO(4)OO(4)OO(4)---
HPDMAx (x = 1, 2, 3)OOO(5)R------
High-speed internal (HSI)OO(6)--------
High-speed external (HSE)O---------
Low-speed internal (LSI)OO-O-O---O
Low-speed external (LSE)OO-O-O---O
Multi-speed internal (MSI)OO-O-O---O
HSE CSS clock security systemO---------
LSE CSS clock security systemOOOOOOOOOO
HSI frequency monitoringOOO-------
RTC/auto wake-upOOOOOOOOOO
USBHOROR------
USB3DROROR------
UCPD1OROR------

Table 94. Functionalities depending on system operating mode (continued)

Peripheral(1)Run1/Run2Stop1/2 and LP-Stop1/2LPLV-Stop1/2Standby1Standby2VBAT
-Wake-up capability-Wake-up capability-Wake-up capability-Wake-up capability
PCIEOR-R------
SDMMCx (x = 1, 2, 3)OR-R------
FDCANx(13) (x = 1, 2, 3)OR-R------
ETHx (x = 1,2 (13))OROR------
ETHSW(13)OR-R------
USARTx (x = 1 to 9)OO(7)O(7)R------
LPUART1OO(7)O(7)O(7)O(7)O(7)O(7)---
I2Cx (x = 1 to 7)OO(8)O(8)R------
I2C8OO(8)O(8)O(8)O(8)O(8)O(8)---
I3Cx (x = 1, 2, 3)OO(9)O(9)R------
I3C4OO(9)O(9)O(9)O(9)O(9)O(9)---
SPIx (x = 1 to 7)OO(10)O(10)R------
SPI8OO(10)O(10)O(10)O(10)O(10)O(10)---
SAIx (x = 1 to 4)OR-R------
MDF1OO(11)-R------
ADF1OO(11)O(11)O(11)O(11)O(11)O(11)---
DCMIOR-R------
PSSIOR-R------
DCMIPPOR-R------
HDPOR-R------
VDECOR-R------
VENCOR-R------
DSIOR-R------
LTDCOR-R------
LVDS(13)OR-R------
ADCx (x = 1, 2, 3)OR-R------
VREFBUFOR-R------
DTSOROR------
STGENOR-R------
TIMx (x = 1 to 8, 10 to 17, 20)OR-R------
LPTIMx (x = 1, 2)OO(12)O(12)R------

Table 94. Functionalities depending on system operating mode (continued)

Peripheral(1)Run1/Run2Stop1/2 and LP-Stop1/2LPLV-Stop1/2Standby1Standby2VBAT
-Wake-up capability-Wake-up capability-Wake-up capability-Wake-up capability
LPTIMy (y = 3, 4, 5)OO(12)O(12)O(12)O(12)O(12)O(12)---
IWDGx (x = 1, 2, 3, 4)OOOOOOOOO-
IWDG5OOOOOOOOOO
WWDG1OR-R------
WWDG2OOOOOOO---
RNGOR-R------
SAESOR-R------
CRYPx(13) (x = 1, 2)OR-R------
HASHOR-R------
CRCOR-R------
IPCC1OR-R------
IPCC2OOOOOOO---
HSEMOOOOOOO---
GPIOsOOOOOO
10 pins
O
16 pins
-O
6 pins
-
TAMP (number of tamper pins)1616O16O16O16O16
  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, RETSRAM and LPSRAM1 content can optionally be retained when enabled.
  3. SRAM1, SRAM2 and RETRAM can be accessed by HPDMA in Stop1/2 and LP-Stop1/2 modes. LPSRAM1/2/3 can be accessed by LPDMA in Stop1/2, LP-Stop1/2, LPLV-Stop1/2 and Standby1 modes.
  4. LPDMA transfers are functional and autonomous in Stop1/2, LP-Stop1/2, LPLV-Stop1/2 and Standby1 modes, and generate a wake-up interrupt on transfer events.
  5. HPDMA transfers are functional and autonomous in Stop1/2, and LP-Stop1/2 modes, and generate a wake-up interrupt on transfer events.
  6. 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.
  7. 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.
  8. I2C reception and transmission are functional and autonomous in low-power modes, and generate a wake-up interrupt on transfer events.
  9. I3C reception and transmission are functional and autonomous in low-power modes, and generate a wake-up interrupt on transfer events.
  10. SPI reception and transmission are functional and autonomous in low-power modes, and generate a wake-up interrupt on transfer events.
  11. MDF1 and ADF1 are functional and autonomous in low-power modes, and generate a wake-up interrupt on events.
  12. LPTIM is functional and autonomous in low-power modes, and generates a wake-up interrupt on events.

13. Not present on all device part numbers (see the related datasheet for more information).

20.5.2 PWR power modes

The power control handles \(V_{DDCORE}\) and \(V_{DDCPU}\) supplies for system modes. The system operating mode depends on the individual CPU subsystem modes, and on the domain modes.

D1 domain power modes

D3 domain power modes

System D2 power modes

PWR_CPU_ON and PWR_ON are used to control the external regulators supplying the D1 domain (\(V_{DDCPU}\)) and the system D2 domain (\(V_{DDCORE}\)). PWR_LP is used to notify low-power Stop mode selection for both external regulators.

If the same external regulator is used to supply \(V_{DDCORE}\) and \(V_{DDCPU}\), only PWR_ON/PWR_LP must be used.

Table 95. External regulators control

D2 system modeD1 domain modePWR_CPU_ONPWR_LPPWR_ON
LPCFG_D1 = 0LPCFG_D1 = 1LPCFG_D2 = 0LPCFG_D2 = 1
Run1DRun11111
DStop111111
Run2DStandby0(1)0(1)111
Table 95. External regulators control (continued)
Stop1DStop111111
Stop2DStandby0(1)0(1)111
LP-Stop1/LPLV-Stop1DStop2/3100(2)10(2)
LP-Stop2/LPLV-Stop2DStandby0(1)00(2)10(2)
Standby1/2DStandby0(1)0(1)0(3)0(3)0(3)
  1. 1. A guaranteed minimum PWR_CPU_ON pulse low time can be defined by POPL_D bits in PWR_D1CR.
  2. 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. 3. A guaranteed minimum PWR_ON and PWR_LP pulse low time can be defined by POPL_D bits in PWR_D2CR.

In LP-Stop1 and LPLV-Stop1 modes the PWR_CPU_ON is kept asserted or may be deasserted according to LPCFG_D1 in PWR_D1CR. In LP-Stop1/2 and LPLV-Stop1/2 modes, the PWR_ON is kept asserted or may be deasserted according to LPCFG_D2 in PWR_D2CR.

The definition (power off or low-power mode) of PWR_ON/PWR_CPU_ON must have been defined in the external regulator before entering LP-Stop/LPLV-Stop.

Figure 76. Power states and external regulator control Figure 76: Power states and external regulator control. This diagram illustrates the transitions between various power states (Run1, Run2, Standby1/2, Stop1, Stop2, LP-Stop1/LPLV-Stop1, LP-Stop2/LPLV-Stop2) based on the states of D1 and D2 regulators. A legend indicates: blue arrow for Stop mode, pink arrow for Standby mode, orange arrow for DStandby, and green arrow for Wakeup. The diagram shows that a Reset leads to Run1 (D1 main, PWR_CPU_ON = 1; D2 main, PWR_ON = 1, PWR_LP = 1). From Run1, a green arrow (Wakeup) leads to Run2 (D1 power down, PWR_CPU_ON = 0; D2 MAIN, PWR_ON = 1, PWR_LP = 1). From Run2, a green arrow leads to Standby1/2 (D1 power down, PWR_CPU_ON = 0; D2 power down, PWR_ON = 0, PWR_LP = 0). From Standby1/2, a pink arrow (Standby mode) leads to Stop1 (D1 main, PWR_CPU_ON = 1; D2 main, PWR_ON = 1, PWR_LP = 1). From Stop1, a blue arrow (Stop mode) leads to LP-Stop1/LPLV-Stop1 (D1 low power, PWR_CPU_ON = 1 when LPCFG_D1 = 0, PWR_CPU_ON = 0 when LPCFG_D1 = 1; D2 low power, PWR_ON = 1 when LPCFG_D2 = 0, PWR_ON = 0 when LPCFG_D2 = 1, PWR_LP = 0). From LP-Stop1/LPLV-Stop1, a blue arrow leads to Stop2 (D2 main, PWR_ON = 1, PWR_LP = 1; D1 power down, PWR_CPU_ON = 0). From Stop2, a blue arrow leads to LP-Stop2/LPLV-Stop2 (D2 low power, PWR_ON = 1 when LPCFG_D2 = 0, PWR_ON = 0 when LPCFG_D2 = 1, PWR_LP = 0; D1 power down, PWR_CPU_ON = 0).

MSv67427V1

Figure 76: Power states and external regulator control. This diagram illustrates the transitions between various power states (Run1, Run2, Standby1/2, Stop1, Stop2, LP-Stop1/LPLV-Stop1, LP-Stop2/LPLV-Stop2) based on the states of D1 and D2 regulators. A legend indicates: blue arrow for Stop mode, pink arrow for Standby mode, orange arrow for DStandby, and green arrow for Wakeup. The diagram shows that a Reset leads to Run1 (D1 main, PWR_CPU_ON = 1; D2 main, PWR_ON = 1, PWR_LP = 1). From Run1, a green arrow (Wakeup) leads to Run2 (D1 power down, PWR_CPU_ON = 0; D2 MAIN, PWR_ON = 1, PWR_LP = 1). From Run2, a green arrow leads to Standby1/2 (D1 power down, PWR_CPU_ON = 0; D2 power down, PWR_ON = 0, PWR_LP = 0). From Standby1/2, a pink arrow (Standby mode) leads to Stop1 (D1 main, PWR_CPU_ON = 1; D2 main, PWR_ON = 1, PWR_LP = 1). From Stop1, a blue arrow (Stop mode) leads to LP-Stop1/LPLV-Stop1 (D1 low power, PWR_CPU_ON = 1 when LPCFG_D1 = 0, PWR_CPU_ON = 0 when LPCFG_D1 = 1; D2 low power, PWR_ON = 1 when LPCFG_D2 = 0, PWR_ON = 0 when LPCFG_D2 = 1, PWR_LP = 0). From LP-Stop1/LPLV-Stop1, a blue arrow leads to Stop2 (D2 main, PWR_ON = 1, PWR_LP = 1; D1 power down, PWR_CPU_ON = 0). From Stop2, a blue arrow leads to LP-Stop2/LPLV-Stop2 (D2 low power, PWR_ON = 1 when LPCFG_D2 = 0, PWR_ON = 0 when LPCFG_D2 = 1, PWR_LP = 0; D1 power down, PWR_CPU_ON = 0).

The system mode selection between Stop, LP-Stop or LPLV-Stop, and Standby is controlled by PDDS_D1 and PDDS_D2 in PWR_CPU1CR and PWR_CPU2CR. The system only enters Standby1/2 when these two bits allow so.

Table 96. PDD low-power mode control
CPU1
PDDS_D1
CPU1
PDDS_D2
CPU2
PDDS_D2
PDDS_D3System operation mode
0XXXStop1, LP-Stop1, LPLV-Stop1
1X0XStop2, LP-Stop2, LPLV-Stop2
10XXStop2, LP-Stop2, LPLV-Stop2

Table 96. PDD low-power mode control (continued)

CPU1 PDDS_D1CPU1 PDDS_D2CPU2 PDDS_D2PDDS_D3System operation mode
1110Standby1
1111Standby2

Figure 77. Detailed state diagram of power control modes

A detailed state diagram of power control modes showing transitions between Run1, Run2, Stop1/LP-Stop1/LPLV-Stop1, Stop2/LP-Stop2/LPLV-Stop2, Standby1, and Standby2. It includes internal states for CPU1, CPU2, and various domains (D1, D3) with wakeup and stop signals.

The diagram illustrates the power control modes and transitions for a system with two CPUs and multiple domains. The states are categorized into CPU subsystem modes (white boxes), System D2 domain modes (grey boxes), and Domains modes (colored boxes: green for D3 SRun, orange for D1 DStop, red for D1 DStandby).

Transitions are labeled with signals such as c1_reset, c1_wakeup, c2_cstop, c2_wakeup, c3_wakeup, and c3_cstop. A legend at the bottom identifies the box types: white for CPU subsystem modes, grey for System D2 domain modes, and colored for Domains modes.

Note 1: After a wakeup from Standby1/2, the system can restart in the same way as after a power-on reset (legacy mode). Only the CPU1 boots. The CPU2 is kept in HOLD_BOOT by the RCC (see also reference RCC processor hold from Standby). Whenever The CPU2 is in HOLD_BOOT, it does not prevent the system to enter Stop1/2, LP-Stop1/2, LPLV-Stop1/2 or Standby1/2.

MSv67429V1

A detailed state diagram of power control modes showing transitions between Run1, Run2, Stop1/LP-Stop1/LPLV-Stop1, Stop2/LP-Stop2/LPLV-Stop2, Standby1, and Standby2. It includes internal states for CPU1, CPU2, and various domains (D1, D3) with wakeup and stop signals.

The power control state transitions are initiated by (referring to Figure 77):

The flags provided to determine from which mode the system exits are shown in the table below. CPU1 and CPU2 have their own set of flags which can be read from PWR_CPU1CR and PWR_CPU2CR. CPU1 and CPU2 have their own reset bit CSSF to clear their wake-up flags. CPU1 and CPU2 CSSF bits are located in the same register as CPU1 and CPU2 flags.

Table 97. Low-power mode exit flags

System D2 modeD1 domainD3 domainSBF_D1SBF_D2SBFSBF_D3STOPFVBFComment
Run1DRun/DStop1SRun1000000Retained system contents
Run2DStandbySRun1100000Lost D1 contents. Retained system contents.
Stop1
LP-Stop1
LPLV-Stop1
DStop1/2/3SRun2/3
SStop1/2
000010Retained system contents. System clock stopped.
Stop2
LP-Stop2
LPLV-Stop2
DStandbySRun2/3
SStop1/2
100010Lost D1 contents. Retained system contents. System clock stopped.
Table 97. Low-power mode exit flags (continued)
System D2 modeD1 domainD3 domainSBF_D1SBF_D2SBFSBF_D3STOPFVBFComment
Standby1DStandbySRUN3/SStop2111000Lost system contents
Standby2DStandbySStandby111100
VBATNANA000001

20.5.3 Low-power batch acquisition mode (LPBAM)

The devices support Low-power batch acquisition mode (LPBAM), which allows peripherals to be functional and autonomous in low-power modes (without any software running).

Stop1/2, LP-Stop1/2 modes

In Stop1/2 and LP-Stop1/2 modes, the autonomous peripherals are: LPTIMx (x = 1 to 5), USARTx (x = 1 to 9), LPUART1, SPIx (x = 1 to 8), I2Cx (x = 1 to 8), I3Cx (x = 1 to 4), MDF1, ADF1, HPDMAx (x = 1 to 3) and LPDMA1.

LPLV-Stop1/2 and Standby1 modes

In LPLV-Stop1/2 and Standby1 (D3 in SStop2) modes, the autonomous peripherals are: LPTIMx (x = 3 to 5), LPUART1, SPI8, I2C8, I3C4, ADF1, and LPDMA1. In this mode, LPSRAM1, LPSRAM2, and LPSRAM3 can be accessed by the LPDMA1. GPIOZ can be also accessed by the LPDMA1.

LPBAM features

These autonomous peripherals support the following features:

DMA to access the enabled SRAM, and any enabled peripheral register (for instance any autonomous peripherals or GPIO registers).

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:

20.5.4 PWR system wake-up

From an application reset (such as NRST PAD, IWDG, POR, BOR), the system wakes up the CPU1. The CPU2 is kept in HOLD_BOOT. From this point, the CPU1 boot ROM manages the startup (see Section 21).

From Stop1/2, LP-Stop1/2, LPLV-Stop1/2, and Standby1/2, the system can be configured to wake up CPU1 or CPU2 independently.

20.6 PWR low-power modes

Several low-power modes are available to save power when CPU1 and/or CPU2 do not need to execute code (when waiting for an external event). It is up to the user to select the

mode that gives the best compromise between low-power consumption, short startup time and available wake-up sources:

20.6.1 PWR slowing down CPU and/or bus matrix clocks

In Run mode, the speed of CPU1, CPU2 and/or bus matrix clocks can be reduced (see Section 21 for more details).

20.6.2 PWR controlling peripheral clocks

In Run mode, the bus clock for individual peripherals can be stopped by RCC PERxEN register bits at any time to reduce power consumption.

To reduce power consumption in CSleep mode, the individual peripheral clocks can be disabled by the RCC PERxLPEN register bit. For the peripherals still receiving a clock in CSleep mode, their clock can be slowed down before entering CSleep mode.

20.6.3 PWR entering low-power modes

The CPU1 subsystem low-power modes CSleep and CStop are entered by the CPU1 when executing WFI or WFE instructions.

The CPU2 subsystem low-power modes CSleep and CStop are entered by the CPU2 when executing WFI or WFE instructions, or when SLEEPONEXIT in Cortex-M33 system control register is set on Return from ISR.

The CPU3 subsystem low-power modes CSleep and CStop are entered by the CPU3 when executing WFI or WFE instructions, or when SLEEPONEXIT in Cortex-M0+ system control register is set on Return from ISR.

The D1 domain can enter in DStandby when all EXTI wake-up sources assigned to CPU1 are cleared, and the CPU1 is in CStop.

The system enters to Stop1/2, LP-Stop1/2, LPLV-Stop1/2, or Standby1 when all EXTI wake-up sources are cleared, and both CPU1 and CPU2 are in CStop.

The system enters in Standby2 when all EXTI wake-up sources are cleared, and all CPUs are in CStop.

20.6.4 PWR exiting from low-power modes

From CSleep mode, CPU1, CPU2, and CPU3 subsystems exit from low-power mode through any interrupt or event, depending on how the low-power mode was entered.

If the WFI instruction or Return from ISR was used to enter low-power mode, any peripheral interrupt acknowledged by the GIC/NVIC can wake up the system.

If the WFE instruction is used to enter low-power mode, CPU1, CPU2 and CPU3 exit from low-power mode as soon as an event occurs. The wake-up event can be generated by one of the following ways:

From CStop, when the system is in Stop1, LP-Stop1, and LPLV-Stop1 modes, CPU1 and/or CPU2 subsystems exit from low-power mode only through an enabled EXTI interrupt or event, depending on how the low-power mode was entered.

From CStop, when the system is in Run2, Stop2, LP-Stop2, and LPLV-Stop2, the CPU1 subsystem exits from low-power mode only through an enabled EXTI interrupt. The program execution restarts with a CPU1 reset. The CPU2 subsystem exits from low-power mode through an enabled EXTI interrupt or event, depending on how the low-power mode was entered.

From Standby1, CPU1 and/or CPU2 subsystems exit from low-power mode only through an application reset (such as NRST, IWDG), enabled WKUPx pins, an enabled EXTI2 interrupt.

From Standby2, CPU1 and/or CPU2 subsystems exit from low-power mode only through an application reset (such as NRST, IWDG), enabled WKUPx pins and a RTC event.

In legacy mode, the program execution restarts in the same way as after a power-on reset (such as reset vector fetched). An event, if enabled, can wake up the CPU2 and kept the D1 domain in DStandby. The CPU2 firmware is in charge to restore the secure context of the system before executing application restart.

20.6.5 PWR CSleep mode

The CSleep mode applies only to the CPU subsystems. In CSleep mode, the CPU clock is stopped. The CPU subsystem peripheral clocks operate according to the PERxLPEN bits.

PWR entering to CSleep mode

The CSleep mode is entered according to Section 20.6.3:

PWR exiting from CSleep mode

The CSleep mode is exited according to Section 20.6.4 and the tables below.

Table 98. CPU1 CSleep mode

CPU1 CSleepComments
Mode entryWFI while:
– STPREQ_P[1:0] ≠ 0b11 (see Section 21).
– CPU1 GIC interrupts and events are cleared.
WFE while CPU1 GIC interrupts and events cleared.
Mode exitIf WFI was used for entry, any interrupt enabled in GIC (see Section 33.4).
If WFE was used for entry, any interrupt event when disabled in GIC (see Section 33.4), or any event (see Section 20.6.4)
Wake-up latencyNone

Table 99. CPU2 CSleep mode

CPU2 CSleepComments
Mode entryWFI 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.
Table 99. CPU2 CSleep mode (continued)
Mode exitIf WFI or return from ISR was used for entry, any interrupt enabled in NVIC (see Section 32.3)
If WFE was used for entry and SEVONPEND = 0, any event (see Section 20.6.4)
If WFE was used for entry and SEVONPEND = 1, any interrupt event disabled in NVIC (see Section 32.3), or any event (see Section 20.6.4).
Wake-up latencyNone
Table 100. CPU3 CSleep mode
CPU3 CSleepComments
Mode entryWFI or WFE while:
– SLEEPDEEP = 0 (see the Cortex-M33 system control register).
– CPU3 NVIC interrupts and events are cleared.
On return from ISR while:
– SLEEPDEEP = 0 and SLEEPONEXIT = 1 (see the Cortex-M33 system control register).
– CPU3 NVIC interrupts and events are cleared.
Mode exitIf WFI or return from ISR was used for entry, any interrupt enabled in NVIC (see Section 32.3)
If WFE was used for entry and SEVONPEND = 0, any event (see Section 20.6.4)
If WFE was used for entry and SEVONPEND = 1, any interrupt event disabled in NVIC (see Section 32.3), or any event (see Section 20.6.4)
Wake-up latencyNone

20.6.6 PWR CStop mode

The CStop mode applies only to the CPU subsystems. In CStop mode, the CPU clock and CPU subsystem peripheral clocks are stopped.

In CStop mode, CPU subsystem peripherals having a kernel clock request are still able to request their kernel clock, when selecting a clock in the RCC, which is able to run in CStop mode.

The D3 peripherals having a kernel and bus clock requests are also able to request their kernel and bus clocks, when the PERxAMEN register bit set in RCC, and selecting MSI, LSI or LSE oscillators.

PWR entering to CStop mode

The CStop mode is entered according to Section 20.6.3:

PWR exiting from CStop mode

The CStop mode is exited according to Section 20.6.4 and the tables below.

Table 101. CPU1 CStop mode
CPU1 CStopComments
Mode entryWFI while:
– STPREQ_P[1:0] = 0b11 (see Section 21)
– CPU1 GIC interrupts and events are cleared.
– All CPU1 EXTI1-2 wake-up sources are cleared.
Mode exitEXTI1-2 interrupt is enabled in GIC (see Section 33.4) for peripherals which are not stopped.
Wake-up latencyEXTI and RCC wake-up synchronization (see Section 21)
Table 102. CPU2 CStop mode
CPU2 CStopComments
Mode entryWFI 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 exitIf WFI or return from ISR was used for entry, EXTI1-2 interrupt enabled in NVIC (see Section 32.3) for peripherals which are not stopped
If WFE was used for entry and SEVONPEND = 0, EXTI1-2 event (see Section 20.6.4) for peripherals which are not stopped.
If WFE was used for entry and SEVONPEND = 1, EXTI1-2 interrupt event when disabled in NVIC (see Section 32.3), or EXTI event (see Section 20.6.4) for peripherals which are not stopped
Wake-up latencyEXTI and RCC wake-up synchronization. (see Section 21)
Table 103. CPU3 CStop mode
CPU3 CStopComments
Mode entryWFI or WFE while:
– SLEEPDEEP = 1 (see Cortex-M0+ system control register).
– CPU3 NVIC interrupts and events are cleared.
– All CPU3 EXTI2 wake-up sources are cleared.
On return from ISR while:
– SLEEPDEEP = 1 and SLEEPONEXIT = 1 (see Cortex-M0+ system control register).
– CPU3 NVIC interrupts and events are cleared.
– All CPU3 EXTI2 wake-up sources are cleared.

Table 103. CPU3 CStop mode (continued)

CPU3 CStopComments
Mode exitIf WFI or return from ISR was used for entry, EXTI2 interrupt enabled in NVIC (see Section 32.3) for peripherals which are not stopped in D3 domain
If WFE was used for entry and SEVONPEND = 0, EXTI2 event (see Section 20.6.4) for peripherals which are not stopped in D3 domain
If WFE was used for entry and SEVONPEND = 1, EXTI2 interrupt event when disabled in NVIC (see Section 32.3) or EXTI2 event (see Section 20.6.4) for peripherals which are not stopped in D3 domain
Wake-up latencyEXTI and RCC wake-up synchronization (see Section 21)

20.6.7 PWR D1 DStop1 mode

In DStop1 mode, the domain CPU clock is stalled.

PWR entering to DStop1 mode

The DStop1 mode is entered according to Section 20.6.3 when PDDS_D1 in PWR_CPU1CR selects Stop for the D1 domain.

See Table 104 for details on how D1 domain enters DStop1.

PWR exiting DStop1 mode

The DStop1 mode is exited according to Section 20.6.4. See the table below for more details on how D1 domain exit DStop1. When exiting DStop1 mode, the CPU subsystem clock is the same as when entering DStop1.

Table 104. D1 DStop1 mode

D1 DStop1Comments
Mode entry– When CPU1 subsystem is in CStop mode.
– PDDS_D1 = 0 in PWR_CPU1CR
– LPDS_D1 = 0 in PWR_CPU1CR.
Mode exitOn an EXTI1-2 wake-up
Wake-up latencyClocks restored, and EXTI and RCC wake-up synchronization (see Section 21)

20.6.8 PWR D1 DStandby mode

Like the DStop1 mode, the DStandby mode is based on CPU subsystem CStop mode, but the domain supply is powered off.

In DStandby, the domain is powered down and the domain RAM and register contents are lost.

Entering D1 DStandby mode

The D1 DStandby mode is entered according to Section 20.6.3 when PDDS_D1 in PWR_CPU1CR selects Standby.

Refer to Table 105 for details on how D1 domain enters DStandby mode.

Exiting D1 DStandby mode

The DStandby mode is exited according to Section 20.6.4. See the table below for more details on how D1 domain exit DStandby.

When exiting D1 DStandby mode, the domain CPU and peripherals are reset. The state of the CPU subsystem clocks depends on the system mode:

Table 105. D1 DStandby mode

D1 DStandbyComments
Mode entry
  • – When CPU1 subsystem is in CStop and there is no active EXTI1/2 wake-up source assigned to CPU1
  • – PDDS_D1 = 1 in PWR_CPU1CR.
Mode exit
  • – On an EXTI1-2 wake-up when the system did not enter in Standby1/2
  • – On an EXTI2 wake-up (WKUP pins) application reset (such as NRST, IWDG) when the system did not enter in Standby2
  • – Otherwise WKUP pins, RTC alarm (Alarm A and Alarm B), RTC wake-up, tamper event, time stamp event, application reset (such as NRST, IWDG)
Wake-up latency
  • – EXTI and RCC wake-up synchronization (see Section 21)
  • – Domain power up and CPU1 reset
  • – CPU1 reboot from boot ROM

20.6.9 PWR Stop1 mode

The system enters Stop1 mode only when both CPU1 and CPU2 subsystems are in CStop, and EXTI1/2 wake-up sources are inactive. In Stop1 mode, the system clock including any PLL, and the system bus matrix clocks are stopped. The system oscillators operate according to the xxxKERON register bit.

In Stop1 mode, peripherals using the LSI or LSE clock, and peripherals having a kernel clock request, selecting a clock source in the RCC which is able to run in Stop1 mode, are still able to operate.

In system Stop1 mode, the following features can be selected to be kept active by programming individual control bits:

PWR entering to Stop1 mode

The Stop1 mode is entered according to Section 20.6.3 when PDDS_D1 in PWR_CPU1CR requests Stop, and at least one of PDDS_D2 bits in PWR_CPU1CR and PWR_CPU2CR requests Stop.

Refer to Table 106 for details on how to enter Stop1 mode.

PWR exiting from Stop1 mode

The Stop mode is exited according to Section 20.6.4. See Table 106 for more details on how to exit Stop1 mode.

When exiting Stop mode, the RCC restores the CPU subsystem and matrix clocks. STOPF flags in PWR_CPU1CR and PWR_CPU2CR indicate that the system has exit Stop.

Table 106. Stop1 mode

Stop1Comments
Mode entry
  • – When CPU1 and CPU2 subsystems are in CStop and there is no active EXTI1-2 wake-up source
  • – PDDS_D1 = 0 in PWR_CPU1CR
  • – PDDS_D2 = 0 in PWR_CPU1CR or PWR_CPU2CR
  • – LPDS_D1 = 0 in PWR_CPU1CR or LPDS_D2 = 0 in PWR_CPU2CR
Mode exitOn an EXTI1/2 wake-up
Wake-up latencyClocks restored, EXTI and RCC wake-up synchronization and PWRLP_TEMPO (see Section 21)

PWR I/O states in Stop1 mode

In Stop1 mode, all I/O pins keep their configuration.

20.6.10 PWR Stop2 mode

The Stop2 mode is used to save D1 domain power consumption. This mode is equivalent to Stop1 mode in term of available features, but with the D1 in DStandby mode.

The system enters Stop2 mode only when both CPU1 and CPU2 subsystems are in CStop and the EXTI1/2 wake-up sources are inactive.

PWR entering Stop2 mode

The Stop2 mode is entered according to Section 20.6.3 when PDDS_D1 in PWR_CPU1CR requests Standby, and at least one of PDDS_D2 bits in PWR_CPU1CR or PWR_CPU2CR requests Stop.

Refer to Table 107 for details on how to enter Stop2 mode.

PWR exiting from Stop2 mode

The Stop2 mode is exited according to Section 20.6.4. See the table below for more details on how to exit Stop2 mode.

When exiting Stop2 mode, the RCC restores the CPU subsystem and matrix clocks. SBF_D1 in PWR_CPU1CR, and STOPF in PWR_CPU1CR and PWR_CPU2CR indicate that the system has exit Stop2 mode.

Table 107. Stop2 mode

Stop2Comments
Mode entry
  • – When CPU1 and CPU2 subsystems are in CStop and there is no active EXTI1/2 wake-up source
  • – PDDS_D1 = 1 in PWR_CPU1CR
  • – PDDS_D2 = 0 in PWR_CPU1CR or PWR_CPU2CR
  • – LPDS_D2 = 0 in PWR_CPU2CR
Mode exitOn an EXTI1/2 wake-up
Wake-up latencyClocks restored, EXTI and RCC wake-up synchronization and PWRLP_TEMPO (see Section 21)
D1 Domain power up and CPU1 reset, CPU1 reboot from boot ROM

PWR I/O states in Stop2 mode

In Stop2 mode, all I/O pins keep their configuration.

20.6.11 PWR LP-Stop1 and LPLV-Stop1 modes

The LP-Stop1 mode is handled in the same way as Stop1 mode, when LP-Stop mode is selected by LPDS_D1 in PWR_CPU1CR and LPDS_D2 in PWR_CPU2CR. See the table below for more details on how to enter and exit LP-Stop1 mode.

Table 108. LP-Stop1 mode
LP-Stop1Comments
Mode entry
  • – When CPU1 and CPU2 subsystems are in CStop and there is no active EXTI1/2 wake-up source
  • – PDDS_D1 = 0 in PWR_CPU1CR
  • – PDDS_D2 = 0 in PWR_CPU1CR or PWR_CPU2CR
  • – LPDS_D1 = 1 in PWR_CPU1CR and LPDS_D2 = 1 in PWR_CPU2CR
Mode exitOn an EXTI1/2 wake-up
Wake-up latencyClock restored, LP-Stop timeout (external regulator to switch to main mode), EXTI and RCC wake-up synchronization and PWRLP_TEMPO (see Section 21)

LVDS_D1 in PWR_CPU1CR and LVDS_D2 in PWR_CPU2CR are used to select whether \(V_{DDCPU}\) and \(V_{DDCORE}\) supplies during LP-Stop1 mode are kept at Run mode level, or lowered (LP-Stop1 with low-voltage mode).

In LP-Stop1 with low-voltage mode peripherals in D2 domain that can wake up from Stop1 (such as TIM, UART, I2C, SPI), must all be disabled. The DDR retention must be enabled by DDRRETEN in PWR_CR11. The D3 domain is supplied from the internal backup regulator (SStop2) in order to operate even if the D2 domain is in low-voltage mode. See the table below for more details on how to enter and exit LP-Stop1 with low-voltage mode.

Table 109. LPLV-Stop1 mode
LPLV-Stop1Comments
Mode entry
  • – When CPU1 and CPU2 subsystems are in CStop and there is no active EXTI1/2 wake-up source
  • – PDDS_D1 = 0 in PWR_CPU1CR
  • – PDDS_D2 = 0 in PWR_CPU1CR or PWR_CPU2CR
  • – LPDS_D1 = 1 in PWR_CPU1CR and LPDS_D2 = 1 in PWR_CPU2CR
  • – LVDS_D1 = 1 in PWR_CPU1CR and LVDS_D2 = 1 in PWR_CPU2CR
Mode exitOn an EXTI1/2 wake-up
Wake-up latencyClock restored, LPLV-Stop timeout (external regulator to restore Run mode operating supply level), EXTI and RCC wake-up synchronization and PWRLP_TEMPO (see Section 21)

20.6.12 PWR LP-Stop2 and LPLV-Stop2 modes

The Lp-Stop2 mode is used to save D1 domain power consumption. This mode is equivalent to LP-Stop1 mode but with the D1 in DStandby mode.

The LP-Stop2 mode is handled in the same way as Stop2 mode, when LP-Stop mode is selected by LPDS_D2 register bit in PWR_CPU2CR.

Refer to the table below for more details on how to enter and exit LP-Stop2 mode.

Table 110. LP-Stop2 mode

LP-Stop2Comments
Mode entry
  • – When CPU1 and CPU2 subsystems are in CStop and there is no active EXTI1/2 wake-up source
  • – PDDS_D1 = 1 in PWR_CPU1CR
  • – PDDS_D2 = 0 in PWR_CPU1CR or PWR_CPU2CR
  • – LPDS_D2 = 1 in PWR_CPU2CR
Mode exitOn an EXTI1/2 wake-up
Wake-up latencyClock restored, LP-Stop timeout (external regulator to switch to main mode), EXTI and RCC wake-up synchronization and PWRLP_TEMPO (see Section 21)
D1 domain power up and CPU1 reset, CPU1 reboot from boot ROM

LVDS_D2 in PWR_CPU2CR selects whether VDDCORE supply during LP-Stop2 mode is kept at Run mode level, or lowered (LP-Stop2 with low-voltage mode).

In LP-Stop2 with low-voltage mode the peripherals in D2 domain that can wake up from Stop2 (such as TIM, UART, I2C, SPI), must all be disabled. The DDR retention must be enabled by DDRRETEN in PWR_CR11. The D3 domain is supplied from the internal backup regulator (SStop2) in order to operate even if the D2 domain is in low-voltage mode. See the table below for more details on how to enter and exit LP-Stop2 with low-voltage mode.

Table 111. LPLV-Stop2 mode

LPLV-Stop2Comments
Mode entry
  • – When CPU1 and CPU2 subsystems are in CStop and there is no active EXTI1/2 wake-up source
  • – PDDS_D1 = 1 in PWR_CPU1CR
  • – PDDS_D2 = 0 in PWR_CPU1CR or PWR_CPU2CR
  • – LPDS_D2 = 1 in PWR_CPU2CR
  • – LVDS_D2 = 1 in PWR_CPU2CR
Mode exitOn an EXTI1/2 wake-up
Wake-up latencyClock restored, LPLV-Stop timeout (external regulator to restore Run mode operating supply level), EXTI and RCC wake-up synchronization and PWRLP_TEMPO (see Section 21)
D1 domain power up and CPU1 reset, CPU1 reboot from boot ROM

20.6.13 PWR Standby1 mode

The Standby1 mode is used to achieve a lower power consumption. It is based on CPU1 and CPU2 subsystem CStop mode, as for Stop modes, but with VDDCORE and VDDCPU supply regulators powered off. The D3 domain is still powered from the internal backup regulator.

When the system enters Standby1, PWR_ON, PWR_CPU_ON and PWR_LP pins are set low. The external voltage regulators that provide VDDCORE and VDDCPU supplies, are disabled. Complete VDDCORE and VDDCPU domains are consequently powered off. PLLs, HSI and HSE oscillators are also switched off. SRAM and register contents are lost except

for \(V_{DD}\), \(V_{SW}\), backup domain, and retention domain (RTC registers, RTC backup register, LSE, backup RAM and retention RAM), Standby circuitry and D3 domain.

In system Standby1 mode, the following features can be selected by programming individual control bits:

PWR entering Standby1 mode

The Standby1 mode is entered according to Section 20.6.3 when PDDS_D1 in PWR_CPU1CR and PDDS_D2 in both PWR_CPU1CR and PWR_CPU2CR request Standby.

Refer to Table 113 for more details on how to enter Standby1 mode.

PWR exiting Standby1 mode

The Standby1 mode is exited according to Section 20.6.4. See the table below for more details on how to exit Standby1 mode.

The system exits Standby1 when an application reset (such as NRST, IWDG), a WKUP pin event, or an EXTI2 wake-up event is detected. PWR registers are reset after wake-up from Standby1, except for power control and status registers (reset condition defined for each PWR register).

Wake-up event source (EXTI2 wake-up event, WKUP pins) can be assigned independently to CPU1 and/or CPU2. The external regulators that provide \(V_{DDCPU}\) and \(V_{DDCORE}\) are enabled according to the CPU to wake up but also according to the first CPU allowed to boot. Refer to RCC Processor state after Standby exit for more details about the first CPU allowed to boot.

The selection of the CPU to wake-up is notified to the RCC through PWR CPU1_HW_BEN and CPU2_HW_BEN signals. Once the wake-up source is cleared, CPU1_HW_BEN and CPU2_HW_BEN are cleared to 0.

Table 112. CPU1_HW_BEN and CPU2_HW_BEN management

Standby exit eventFirst CPU allowed to bootCPU1_HW_BENCPU2_HW_BENPWR_CPU_ONPWR_ON
CPU1 wake-up eventCPU11011
CPU21011
CPU2 wake-up eventCPU10111
CPU20101
CPU1 and CPU2 wake-up eventCPU11111
CPU21111

SBF_D1, SBF_D2 and SBF flags in PWR_CPU1CR and PWR_CPU2CR indicate that the system has exit Standby1.

Table 113. Standby1 mode

Standby1Comments
Mode entry
  • – CPU1and CPU2 subsystems are in CStop and there is no active EXTI1/2 wake-up source
  • – All WKUPF bits in PWR_WKUPCRx are cleared.
  • – All RTC wake-up events are cleared.
  • – PDDS_D1 = 1 in PWR_CPU1CR, and PDDS_D2 = 1 in both PWR_CPU1CR and PWR_CPU2CR
  • – PDDS_D3 = 0 in PWR_D3CR
Mode exitOn an EXTI2 event, WKUP pins, application reset (such as NRST, IWDG(1))
Wake-up latencySystem reset phase (see Section 21)
or CPU1 boot from boot ROM
or CPU2 boot from RETRAM
  1. 1. The IWDG1/2/3/4 when configured to generate an application reset, and when configured to generate a system debug wake-up event, reset the system in both cases.

PWR I/O states in Standby1 mode

In Standby1 mode, all I/O pins are high impedance no pulls except for:

20.6.14 PWR Standby2 mode

The Standby2 mode is used to achieve the lowest power consumption. It is handled in the same way as Standby1, with CPU3 in CStop, and PDDS_D3 in PWR_D3CR selecting SStandby mode.

In system Standby2 mode, the following features can be selected by programming individual control bits:

PWR entering Standby2 mode

The Standby2 mode is entered according to Section 20.6.3 when all PDDS_Dn bits in PWR_CPU1CR, PWR_CPU2CR and PWR_D3CR request Standby mode.

Refer to Table 114 for more details on how to enter Standby2 mode.

PWR exiting from Standby2 mode

The Standby2 mode is exited according to Section 20.6.4. See the table below for more details on how to exit Standby2 mode.

Same exit modes are supported in Standby1 and Standby2 (legacy and wake-up event mode).

Table 114. Standby2 mode

Standby2Comments
Mode entry
  • – All CPU subsystems are in CStop and there is no active EXTI1/2 wake-up source
  • – All WKUPF bits in PWR_WKUPCRx are cleared.
  • – All RTC wake-up events are cleared.
  • – PDDS_D1=1 in PWR_CPU1CR
  • – PDDS_D2=1 in both PWR_CPU1CR and PWR_CPU2CR
  • – PDDS_D3=1 in PWR_D3CR
Mode exitWKUP pins, RTC alarm (Alarm A and Alarm B), RTC wake-up, tamper event, timestamp event, application reset (such as NRST, IWDG(1))
Wake-up latencySystem reset phase (see Section 21)
or CPU1 boot from boot ROM
or CPU2 boot from RETRAM
  1. 1. The IWDG1/2/3/4 when configured to generate an application reset, and when configured to generate a system debug wake-up event, reset the system in both cases.

PWR I/O states in Standby2 mode

In Standby2 mode, all I/O pins are high impedance no pulls except for:

20.6.15 PWR debug Stop mode

When the system enters Stop, its operation depends on the DBG_STOP configuration in DBGMCU_CR.

When the Stop mode debug is enabled, when entering Stop mode, the PWR does not signal low-power mode on PWR_ON, PWR_CPU_ON and PWR_LP signals. VDDCORE and VDDCPU domains are kept supplied by the regulator in main mode.

When exiting Stop mode, the system CPU and logic are enabled as from normal Stop mode. STOPF is set in PWR_CPU1CR.

When the Stop mode debug is enabled, when entering Run2 or Stop2 mode, the PWR does not signal power-down mode on the PWR_CPU_ON signal. VDDCPU domain is kept supplied by the regulator in main mode.

When exiting Run2 or Stop2 mode, a CPU1 reset is generated, which resets the VDDCPU logic excluding the debug logic. SBF_D1 is set in PWR_CPU1CR.

20.6.16 PWR debug Standby mode

When the system enters low-power mode Standby, its operation depends on the DBG_STANDBY configuration in DBGMCU_CR.

When the Standby mode debug is enabled, when entering Standby1/2 mode, the PWR keeps pwr_on and pwr_cpu_on active, allowing \(V_{DDCORE}\) and \(V_{DDCPU}\) domains to remain supplied. In Standby mode, \(V_{DDCORE}\) and \(V_{DDCPU}\) domains are not reset, allowing the CPU and bus clocks to be active. When entering Standby2 mode, the PWR keeps the D3 domain supplied, allowing CPU and bus clocks to be active.

When exiting Standby modes, a reset is generated, which resets \(V_{DDCORE}\) and \(V_{DDCPU}\) logic, excluding the debug logic. Waking up from debug Standby modes, the system CPUs and logic are reset, as from normal Standby modes. SBF, SBF_D1 and SBF_D2 are set. SBF_D3 flag is set as well when exiting Standby2 mode.

20.7 PWR \(V_{BAT}\) operation

The VBAT pin is used to power the \(V_{BAT}\) domain from an external battery.

The VBAT pin supplies the RTC with LSE, anti-tamper detection (TAMP), backup registers and 8-Kbyte backup SRAM. Sixteen anti-tamper detection pins are available in \(V_{BAT}\) mode.

The D3 domain may be powered up to \(V_{BAT}\) mode when TAMP_WKUPEN_D3 is set in PWR_D3WKUPENR, to allow the CPU3 to qualify a tamper detection event. The D3 domain is switched off by default (\(V_{BAT2}\) mode), and powered once a tamper event is detected (power saving).

In \(V_{BAT}\) modes, RISAL configurations are lost (RISAL control registers embedded in RISC are in a switched off domain). The default protection (non-secure, any privilege, cid = 2 or 3) is applied on LPSRAM1 and LPSRAM2 in this mode.

Table 115. \(V_{BAT}\) modes

ModeD3 domainCPU3Wake-up
\(V_{BAT1}\)SRUN3CRUN-
\(V_{BAT2}\)SStandbyCStop and TAMP_WKUPEN_D3(1) = 1On a tamper event
SStandbyCStop and TAMP_WKUPEN_D3 = 0None

1. Setting TAMP_WKUPEN_D3 in PWR_D3WKUPENR allow the wake-up of the D3 domain in \(V_{BAT}\) mode.

Figure 78. VBAT state diagram with TAMP_WKUEN_D3 = 1 Figure 78: VBAT state diagram with TAMP_WKUEN_D3 = 1. The diagram shows transitions between Run, Standby1, VBAT1, and VBAT2 modes. Run mode includes CPU1, CPU2, CPU3, D1, and D3 domains. Standby1 mode includes D1, CPU3, and D3 domains. VBAT1 mode includes CPU3 and D3 domains. VBAT2 mode includes D3 domain. Transitions are triggered by Power on, Reset, Power off, and Tamper events.

The diagram illustrates the VBAT state transitions for the system. It starts with a 'Run' mode containing CPU1, CPU2, CPU3, D1, and D3 domains. Transitions to 'Standby1' mode (containing D1, CPU3, and D3 domains) occur via 'Power off and c3_crun' or 'Power off and c3_stop'. From 'Standby1', transitions to 'VBAT1' mode (containing CPU3 and D3 domains) occur via 'Power off and c3_crun', and to 'VBAT2' mode (containing D3 domain) via 'Power off and c3_stop'. A 'Tamper event' transitions the system from 'VBAT1' to 'VBAT2'. 'Power on' transitions from 'VBAT1' or 'VBAT2' back to 'Run' mode. A 'Reset' transition returns the system to 'Run' mode from any state.

Figure 78: VBAT state diagram with TAMP_WKUEN_D3 = 1. The diagram shows transitions between Run, Standby1, VBAT1, and VBAT2 modes. Run mode includes CPU1, CPU2, CPU3, D1, and D3 domains. Standby1 mode includes D1, CPU3, and D3 domains. VBAT1 mode includes CPU3 and D3 domains. VBAT2 mode includes D3 domain. Transitions are triggered by Power on, Reset, Power off, and Tamper events.

MSv67444V1

The power control state transitions are initiated by powering down/up the VDD supply (reference to the above figure).

Table 116. VBAT modes exit flags
ModeD3 domainSBF_D3VBFComment
VBAT1SRUN3/SSTOP201Exit VBAT mode.
VBAT1SStandby11

20.8 PWR WKUP pins

The WKUP polarity must only be changed by configuring WKUPP in PWR_WKUPPCRx when the wake-up interrupt is disabled in WKUPENCPU1/2 bits. To avoid false interrupts,

WKUPF must be cleared with WKUPC in PWR_WKUPPCRx, before enabling the wake-up interrupt in WKUPENCPU1/2.

20.9 PWR_ON, PWR_CPU_ON and PWR_LP pins

\(V_{DDCORE}\) and \(V_{DDCPU}\) domains can be independently controlled using PWR_ON, PWR_CPU_ON, and PWR_LP pins.

PWR_CPU_ON signals pwr_cpu_on or pwr_cpu_onlp depending on LPCFG_D1 in PWR_DC1R.

PWR_ON signals pwr_on or pwr_onlp depending on LPCFG_D2 in PWR_D2CR.

PWR_LP signals pwr_onlp.

Figure 79. PWR_CPU_ON, PWR_ON and PWR_LP multiplexing

Block diagram showing the multiplexing logic for PWR_CPU_ON, PWR_ON, and PWR_LP pins. PWR_CPU_ON and PWR_LP are inputs. PWR_CPU_ON is multiplexed by LPCFG_D1 to produce pwr_cpu_onlp. PWR_ON and pwr_cpu_onlp are ANDed to produce pwr_cpu_on. PWR_ON is multiplexed by LPCFG_D2 to produce pwr_onlp. PWR_LP and pwr_onlp are ANDed to produce pwr_lp. pwr_cpu_on passes through a minimum pulse width block (POPL_D1) to become pwr_cpu_on. pwr_lp passes through a minimum pulse width block (POPL_D2) to become pwr_lp. pwr_onlp passes through a minimum pulse width block (POPL_D2) and an stby entry delay H block (PODH_D2) to become pwr_on.

The diagram illustrates the internal logic for multiplexing power control signals. It shows three main input paths: PWR_CPU_ON, PWR_LP, and PWR_ON. PWR_CPU_ON is selected by LPCFG_D1 to output either pwr_cpu_onlp (if LPCFG_D1=1) or pwr_cpu_on (if LPCFG_D1=0). PWR_ON and pwr_cpu_onlp are combined in an AND gate to produce pwr_cpu_on. PWR_ON is selected by LPCFG_D2 to output either pwr_onlp (if LPCFG_D2=1) or pwr_on (if LPCFG_D2=0). PWR_LP and pwr_onlp are combined in an AND gate to produce pwr_lp. The pwr_cpu_on signal passes through a 'Minimum pulse width' block (POPL_D1) to become the final pwr_cpu_on output. The pwr_lp signal passes through a 'Minimum pulse width' block (POPL_D2) to become the final pwr_lp output. The pwr_onlp signal passes through a 'Minimum pulse width' block (POPL_D2) and an 'stby entry delay H' block (PODH_D2) to become the final pwr_on output.

Block diagram showing the multiplexing logic for PWR_CPU_ON, PWR_ON, and PWR_LP pins. PWR_CPU_ON and PWR_LP are inputs. PWR_CPU_ON is multiplexed by LPCFG_D1 to produce pwr_cpu_onlp. PWR_ON and pwr_cpu_onlp are ANDed to produce pwr_cpu_on. PWR_ON is multiplexed by LPCFG_D2 to produce pwr_onlp. PWR_LP and pwr_onlp are ANDed to produce pwr_lp. pwr_cpu_on passes through a minimum pulse width block (POPL_D1) to become pwr_cpu_on. pwr_lp passes through a minimum pulse width block (POPL_D2) to become pwr_lp. pwr_onlp passes through a minimum pulse width block (POPL_D2) and an stby entry delay H block (PODH_D2) to become pwr_on.

When LPCFG_D1 selects pwr_cpu_on, PWR_CPU_ON pins are only low in DStandby.

When LPCFG_D1 selects pwr_cpu_onlp on PWR_CPU_ON, the definition (DStandby or DStop2/3) of the signal being low must be communicated to the external power management prior entering low-power mode. PWR_CPU_ON pins are low in DStandby, DStop2, and DStop3 modes.

When LPCFG_D2 selects pwr_on, PWR_ON pin is only low in Standby.

When LPCFG_D2 selects pwr_onlp on PWR_ON, the definition (Standby, LP-Stop1, LP-Stop2, LPLV-Stop1, or LPLV-Stop2) of the signal being low must be communicated to the external power management prior entering low-power mode. PWR_ON pin is low in Standby, LP-Stop1, LP-Stop2, LPLV-Stop1, and LP-Stop1 modes.

The same external regulator can be used to supply \(V_{DDCORE}\) and \(V_{DDCPU}\). Only PWR_ON and PWR_LP signaling are used to control the external regulator. Run2, Stop2, LP-Stop2, and LPLV-Stop2 modes are no more supported.

20.10 PWR interrupts

The PWR provides the following interrupts:

Other status flags associated with Stop, Standby and monitoring functions are not present on all device part numbers (see the related datasheet for more information).

Table 117. PWR status flags

Status flagDescriptionInterruptCleared through
STOPFExit StopWake-up from Stop eventsCSSF
SBFExit StandbyWake-up from Standby eventsCSSF
SBF_D1D1 exits DStandbyWake-up from DStandby eventsCSSF
SBF_D2D2 exits StandbyWake-up from Standby eventsCSSF
SBF_D3D3 exits SStandbyWake-up from SStandby eventsCSSF
VBFExit VBATNo associated interruptCSSF
WKUPF[6:1]Wake-up flagsCPU1 and CPU2 wake up from Standby and Stop events.WKUPC[6:1]
PVDOProgrammable voltage detectorInterrupt via EXTI1NA
GPVMOGlobal peripheral voltage monitorInterrupt via EXTI1NA
GPUVMO(1)GPU voltage monitorInterrupt via EXTI1NA
V08CAPL, V08CAPHV08CAP supply monitoringInterrupt via EXTI2NA
TEMPL, TEMPHTemperature monitoringInterrupt via EXTI2NA
VCOREL, VCOREHVDDCORE supply monitoringInterrupt via EXTI2NA
VCPUL, VCPUHVDDCPU supply monitoringInterrupt via EXTI2NA

1. Not present on all device part numbers (see the related datasheet for more information).

20.11 PWR resource isolation framework (RIF)

In order to be compliant with the device security definition, the PWR implements the following security/isolation requirements which apply to any defined security domain:

There are three different profiles for PWR local resources:

There are two kinds of local resources in the PWR:

20.11.1 PWR RIF configuration

After any application or system reset, the PWR does not filter any access (default configuration: no CID filtering, non-secure, any privilege) until the TDCID agent has programmed the RIF configuration and enabled the filtering. The PWR RIF configuration is based on the local and external RIF configurations.

The local RIF configuration is managed by the following registers:

The external RIF configuration is inherited from the RIF peripheral configurations and it applies to the related local resources. Table 118 shows all PWR local resource content (first column) and the RIF configuration attached to it (third column).

Secure/non-secure access filtering

To enable the filtering access based on this attribute, the authorized master agent has to set RSECx in PWR_RSECCFGR, or WIOSECx in PWR_WIOSECCFGR, for the PWR local resource x.

When the local resource is configured as secure, read/write operations are only allowed by a secure access. Non-secure read/write accesses are denied (RAZ/WI). An illegal secure access event is generated to the IAC (illegal access controller). There is no bus error generated.

When the local resource is configured as non-secure, read/write operations are allowed by both secure and non-secure accesses.

Privileged/unprivileged access filtering

To enable the filtering access based on this attribute, the authorized master agent has to set RPRIVx in PWR_RPRIVCFGR, or WIOPRIVx in PWR_WIOPRIVCFGR, for the PWR local resource x.

When the local resource is configured as privileged, read/write operations are only allowed by a privileged access. Unprivileged read/write accesses are denied (RAZ/WI). An illegal privileged access event is generated to the IAC. There is no bus error generated.

When the local resource is configured as unprivileged, read/write operations are allowed by both privileged and unprivileged accesses.

CID access filtering

The PWR_RxCIDCFGR register controls the CID filtering policy for each non-shareable local resources (without semaphore mechanism). PWR_WIOxCIDCFGR and PWR_WIOxSEMCR registers control the CID filtering policy for each local shareable resources (with semaphore mechanism).

When the compartment-based filtering is active (CFEN = 1), local non-shareable resources are individually controlled by a specific CPU. The trusted domain application sets CID in PWR_RxCIDCFGR (x = 0 to 6).

When the compartment-based filtering is active (CFEN = 1), local shareable resources can be individually controlled by a specific CPU using two techniques:

Any read access is allowed on PWR_RxCIDCFGR, PWR_WIOxCIDCFGR, and PWR_WIOxSEMCR registers.

A non-allowed CID access to a CID-filtered register is denied (RAZ/WI). An illegal CID access event is generated to the IAC. There is no bus error generated.

For debug purpose, the debug domain compartment master, defined by the DDCID compartment value, can access any resource if privileged and secure attributes allow it.

20.12 PWR registers

The PWR registers can be accessed in word, half-word, and byte format, unless explicitly specified differently. Only few registers can be accessed by the CPU3: PWR_CR2,

PWR_CR5, PWR_CR6, PWR_BDCR2, PWR_CPU3CR, PWR_CPU1D1SR, PWR_CPU2D2SR, and PWR_CPU3D3SR.

The table below gives the RIF allocation for all PWR registers.

Table 118. PWR register allocation to RIF resource and access conditions

Register namePWR RIF resource numberRIF resource configurationAccess type(1)Description
PWR_R0CIDCFGRR0Secure, privileged and TDCID/DDCIDRWResource 0 CID filtering control
PWR_CR1PWR_RSECCFGR[0]
PWR_RPRIVCFGR[0]
PWR_R0CIDCFGR
RWPeripheral voltage monitor
PWR_CR2RWV08CAP and TEMP monitor
PWR_CR3RWProgrammable voltage detector
PWR_CR5RWVDDCORE monitoring
PWR_CR6RWVDDCPU monitoring
PWR_D3WKUPENRRWD3 wake-up control
PWR_R1CIDCFGRR1Secure, privileged and TDCID/DDCIDRWResource 1 CID filtering control
PWR_CR9PWR_RSECCFGR[1]
PWR_RPRIVCFGR[1]
PWR_R1CIDCFGR
RWLPSRAM1 and BKPRAM low-power control
PWR_CR10RWRETRAM low-power control
PWR_D1CRRWVDDCPU power pin control
PWR_D2CRRWVDDCORE power pin control
PWR_R2CIDCFGRR2Secure, privileged and TDCID/DDCIDRWResource 2 CID filtering control
PWR_CPU1CRPWR_RSECCFGR[2]
PWR_RPRIVCFGR[2]
PWR_R2CIDCFGR
RWCPU1 power control
PWR_R3CIDCFGRR3Secure, privileged and TDCID/DDCIDRWResource 3 CID filtering control
PWR_CPU2CRPWR_RSECCFGR[3]
PWR_RPRIVCFGR[3]
PWR_R3CIDCFGR
RWCPU2 power control
PWR_R4CIDCFGRR4Secure, privileged and TDCID/DDCIDRWResource 4 CID filtering control
PWR_D3CRPWR_RSECCFGR[4]
PWR_RPRIVCFGR[4]
PWR_R4CIDCFGR
RWD3 power control
PWR_R5CIDCFGRR5Secure, privileged and TDCID/DDCIDRWResource 5 CID filtering control
PWR_CR7PWR_RSECCFGR[5]
PWR_RPRIVCFGR[5]
PWR_R5CIDCFGR
RWVDDIO2 peripheral voltage monitor

Table 118. PWR register allocation to RIF resource and access conditions (continued)

Register namePWR RIF
resource number
RIF resource configurationAccess type(1)Description
PWR_R6CIDCFGRR6Secure, privileged and TDCID/DDCIDRWResource 6 CID filtering control
PWR_CR8PWR_RSECCFGR[6]
PWR_RPRIVCFGR[6]
PWR_R6CIDCFGR
RWVDDIO1 peripheral voltage monitor
PWR_WIO1CIDCFGRWIO1Secure, privileged and TDCID/DDCIDRWWake-up I/O resource 1 CID
filtering control
PWR_WIO1SEMCRPWR_WIOSECCFGR[0]
PWR_WIOPRIVCFGR[0]
PWR_WIO1CIDCFGR
PWR_WIO1SEMCR
RW
PWR_WKUPCR1RWWake-up pin #1 control
PWR_WIO2CIDCFGRWIO2Secure, privileged and TDCID/DDCIDRWWake-up I/O resource 2 CID
filtering control
PWR_WIO2SEMCRPWR_WIOSECCFGR[1]
PWR_WIOPRIVCFGR[1]
PWR_WIO2CIDCFGR
PWR_WIO2SEMCR
RW
PWR_WKUPCR2RWWake-up pin #2 control
PWR_WIO3CIDCFGRWIO3Secure, privileged and TDCID/DDCIDRWWake-up /IO resource 3 CID
filtering control
PWR_WIO3SEMCRPWR_WIOSECCFGR[2]
PWR_WIOPRIVCFGR[2]
PWR_WIO3CIDCFGR
PWR_WIO3SEMCR
RW
PWR_WKUPCR3RWWake-up pin #3 control
PWR_WIO4CIDCFGRWIO4Secure, privileged and TDCID/DDCIDRWWake-up I/O resource 4 CID
filtering control
PWR_WIO4SEMCRPWR_WIOSECCFGR[3]
PWR_WIOPRIVCFGR[3]
PWR_WIO4CIDCFGR
PWR_WIO4SEMCR
RW
PWR_WKUPCR4RWWake-up pin #4 control
PWR_WIO5CIDCFGRWIO5Secure, privileged and TDCID/DDCIDRWWake-up I/O resource 5 CID
filtering control
PWR_WIO5SEMCRPWR_WIOSECCFGR[4]
PWR_WIOPRIVCFGR[4]
PWR_WIO5CIDCFGR
PWR_WIO5SEMCR
RW
PWR_WKUPCR5RWWake-up pin #5 control
PWR_WIO6CIDCFGRWIO6Secure, privileged and TDCID/DDCIDRWWake-up I/O resource 6 CID
filtering control
PWR_WIO6SEMCRPWR_WIOSECCFGR[5]
PWR_WIOPRIVCFGR[5]
PWR_WIO6CIDCFGR
PWR_WIO6SEMCR
RW
PWR_WKUPCR6RWWake-up pin #6 control

Table 118. PWR register allocation to RIF resource and access conditions (continued)

Register namePWR RIF
resource number
RIF resource configurationAccess type(1)Description
PWR_CR11NAInherited from RCC internal resource
104 RIF configuration
RCC_SECCFGR3[8]
RCC_PRIVCFGR3[8]
RCC_CIDCFG_LOCKR3[8]
RCC_R104CIDCFGR
RCC_R104SEMCR
RWDDR PHY retention control
PWR_CR12NAInherited form RISC configuration for
peripheral #79 (GPU)
RWGPU power domain control
PWR_BDCR1NASecure, privileged and TDCID/DDCIDRWBackup domain control register 1
PWR_BDCR2NANon-secure, unprivileged, CPU3RWBackup domain control register 2
PWR_CPU3CRNANon-secure, unprivileged, CPU3RWCPU3 power control
PWR_CPU1D1SRNANARPWR CPU1 and D1 domain status
register
PWR_CPU2D2SRNANARPWR CPU2 and D2 domain status
register
PWR_CPU3D3SRNANARPWR CPU3 and D3 domain status
register
PWR_VERRNANARPWR version register
PWR_IPIDRNANARPWR identification register
PWR_SIDRNANARPWR size identification register

1. RW = read or write, R = read, W = write

20.12.1 PWR control register 1 (PWR_CR1)

Address offset: 0x000

Reset value: 0x0000 0000

See individual bits for reset condition. Access 6 wait states when writing this register.

When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by RSEC0 in PWR_RSECCFGR. Privileged restriction is defined by RPRIV0 in PWR_RPRIVCFGR.

If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

31302928272625242322212019181716
GPVMORes.Res.Res.Res.VDDIO4VRSELVDDIO3VRSELVDDIOVRSELRes.Res.Res.ARDYUCPDRDYUSB33RDYVDDIO4RDYVDDIO3RDY
rrwrwrwrrrrr
1514131211109876543210
Res.Res.Res.ASVUCPDSVRes.VDDIO4SVVDDIO3SVRes.Res.Res.AVMENUCPDVMENUSB33VMENVDDIO4VMENVDDIO3VMEN
rwrwrwrwrwrwrwrwrw

Bit 31 GPVMO: Global peripheral voltage monitor output

This bit is set and cleared by hardware. It is valid only if at least one independent power supply monitor (including VDDIO1 and VDDIO2 monitors) is enabled, and the supply is valid (voltage monitor enable bit and supply valid bit must be set for the same power supply).

0: All enabled/valid independent power supplies are equal or higher than PVM threshold.

1: At least one enabled/valid independent power supply is lower than PVM threshold.

Bits 30:27 Reserved, must be kept at reset value.

Bit 26 VDDIO4VRSEL: VDDIO4 I/O voltage range selection

This bit is used to select the voltage range supported by the I/Os supplied by VDDIO4. it is not reset by wake-up from Standby, but by any application reset (such as NRST, IWDG).

0: 3.3 V voltage range selected. If VDDIO4 is in 1.8 V range with this setting, the I/Os work in degraded mode.

1: 1.8 V voltage range selected. HSLV_VDDIO4 OTP bit must be set to allow 1.8 V voltage range operation. Setting this configuration while VDDIO4 is in 3.3 V range damages the device.

Bit 25 VDDIO3VRSEL: VDDIO3 I/O voltage range selection

This bit is used to select the voltage range supported by the I/Os supplied by VDDIO3.It is not reset by wake-up from Standby, but by any application reset (such as NRST, IWDG).

0: 3.3 V voltage range selected. If VDDIO3 is in 1.8 V range with this setting, the I/Os work in degraded mode.

1: 1.8 V voltage range selected. HSLV_VDDIO3 OTP bit must be set to allow 1.8 V voltage range operation. Setting this configuration while VDDIO3 is in 3.3 V range damages the device.

20.12.2 PWR control register 2 (PWR_CR2)

Address offset: 0x004

Reset value: 0x0000 0000

Not reset by wake-up from Standby, application reset (such as NRST, IWDG) and \(V_{DD}\) POR, but reset only by \(V_{SW}\) POR and VSWRST. Access 6 wait states when writing this register.

After reset, this register is write-protected, and DBD3P in PWR_BDCR1 has to be set before this register can be written. When DBD3P is cleared, there are no bus errors generated when writing this register. This register must not be accessed when RCC_VSWRST in RCC_BDCR resets the \(V_{SW}\) domain. Secure restriction is defined by RSEC0 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV0 in PWR_RPRIVCFGR.

If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1, CPU2 and CPU3 is allowed to this register. The CPU3 cannot access in write to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.TEMPHTEMPLV08CA
PH
V08CA
PL
Res.Res.Res.Res.Res.Res.Res.MONEN
rrrrrw

Bits 31:12 Reserved, must be kept at reset value.

Bit 11 TEMPH: Monitored temperature level above high threshold

Bit 10 TEMPL: Monitored temperature level above low threshold

Bit 9 V08CAPH: Monitored \(V_{08CAP}\) level above high threshold

Bit 8 V08CAPL: Monitored \(V_{08CAP}\) level above low threshold

Bits 7:1 Reserved, must be kept at reset value.

Bit 0 MONEN: \(V_{08CAP}\) and temperature monitoring enable

20.12.3 PWR control register 3 (PWR_CR3)

Address offset: 0x008

Reset value: 0x0000 0000

Reset on any system reset.

Secure restriction is defined by RSEC0 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV0 in PWR_RPRIVCFGR.

If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.PVDORes.Res.Res.Res.Res.Res.Res.PVDEN
rrw

Bits 31:9 Reserved, must be kept at reset value.

Bit 8 PVDO: Programmable voltage detector (PVD) output

This bit is set and cleared by hardware. It is valid only if PVD is enabled by the PVDEN bit.

0: Voltage level on PVD_IN is equal or higher than the internal \(V_{REFINT}\).

1: Voltage level on PVD_IN is lower than the internal \(V_{REFINT}\).

Note: The PVD is disabled in Standby and after a system reset. This bit is then equal to 0 after Standby and system reset.

Bits 7:1 Reserved, must be kept at reset value.

Bit 0 PVDEN: PVD enable

This bit is read only when the SYSCFG register bit PVDL is set (no bus errors generated when writing this register).

0: PVD disabled

1: PVD enabled

20.12.4 PWR control register 5 (PWR_CR5)

Address offset: 0x010

Reset value: 0x0000 0000

Not reset by wake-up from Standby mode, but by any Application reset (such as NRST, IWDG). Secure restriction is defined by RSEC0 bit in PWR_RSECCFGR. Privilege restriction is defined by RPRIV0 bit in PWR_RPRIVCFGR.

If compartment filtering is enabled only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1, CPU2 and CPU3 is allowed to this register. The CPU3 cannot access in write to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.VCOR
EH
VCOR
EL
Res.Res.Res.Res.Res.Res.Res.VCOR
EMON
EN
rrrw

Bits 31:10 Reserved, must be kept at reset value.

Bit 9 VCOREH: Monitored \(V_{DDCORE}\) level above high threshold

0: \(V_{DDCORE}\) level below high threshold level, or monitor disabled

1: \(V_{DDCORE}\) level equal or above high threshold level

Bit 8 VCOREL: Monitored \(V_{DDCORE}\) level above low threshold

0: \(V_{DDCORE}\) level above low threshold level, or monitor disabled

1: \(V_{DDCORE}\) level equal or below low threshold level

Bits 7:1 Reserved, must be kept at reset value.

Bit 0 VCOREMONEN: \(V_{DDCORE}\) monitoring enable

0: \(V_{DDCORE}\) monitoring disabled

1: \(V_{DDCORE}\) monitoring enabled

20.12.5 PWR control register 6 (PWR_CR6)

Address offset: 0x014

Reset value: 0x0000 0000

Not reset by wake-up from Standby mode, but by any Application reset (such as NRST, IWDG). Secure restriction is defined by RSEC0 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV0 in PWR_RPRIVCFGR.

If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1, CPU2 and CPU3 is allowed to this register. The CPU3 cannot access in write to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.VCPUHVCPULRes.Res.Res.VCPUL
LS
Res.Res.Res.VCPU
MONE
N
rrrwrw

Bits 31:10 Reserved, must be kept at reset value.

Bit 9 VCPUH: Monitored \(V_{DDCPU}\) level above high threshold

0: \(V_{DDCPU}\) level below high threshold level, or monitor disabled

1: \(V_{DDCPU}\) level equal or above high threshold level

Bit 8 VCPUL: Monitored \(V_{DDCPU}\) level above low threshold

0: \(V_{DDCPU}\) level above low threshold level, or monitor disabled

1: \(V_{DDCPU}\) level equal or below low threshold level

Bits 7:5 Reserved, must be kept at reset value.

Bit 4 VCPULLS: \(V_{DDCPU}\) voltage detector low level selection

This bit selects the low-voltage threshold detected by the monitoring.

0: VCPU low-voltage threshold 1 selected

1: VCPU low-voltage threshold 2 selected (overdrive mode)

Note: See device datasheet for voltage levels.

Bits 3:1 Reserved, must be kept at reset value.

Bit 0 VCPUMONEN: \(V_{DDCPU}\) monitoring enable

0: \(V_{DDCPU}\) monitoring disabled

1: \(V_{DDCPU}\) monitoring enabled

20.12.6 PWR control register 7 (PWR_CR7)

Address offset: 0x018

Reset value: 0x0000 0000

See individual bits for reset condition. Access 6 wait states when writing this register.

When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by RSEC5 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV5 in PWR_RPRIVCFGR.

If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.VDDIO
2VRST
BY
VDDIO
2VRSE
L
Res.Res.Res.Res.Res.Res.Res.VDDIO
2RDY
rwrwr
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.VDDIO
2SV
Res.Res.Res.Res.Res.Res.Res.VDDIO
2VMEN
rwrw

Bits 31:26 Reserved, must be kept at reset value.

Bit 25 VDDIO2VRSTBY: \(V_{DDIO2}\) I/O voltage range Standby mode

When set, this bit is used to retain VDDIO2VRSEL configuration in Standby mode.

This bit must be written to 1 if the \(V_{DDIO2}\) is in 1.8 V range in Standby, and when exiting Standby. It must not be set when \(V_{DDIO2}\) is in 3.3 V range in Standby, or when exiting Standby. This bit is not reset by wake-up from Standby, but by any application reset (such as NRST or IWDG).

0: VDDIO2VRSEL not retained in Standby mode

1: VDDIO2VRSEL retained in Standby mode

Bit 24 VDDIO2VRSEL: \(V_{DDIO2}\) I/O voltage range selection

This bit is used to select the voltage range supported by the I/Os supplied by \(V_{DDIO2}\). It is not reset by wake-up from Standby, but by any Application reset (such as NRST, IWDG) when VDDIO2VRSTBY is set, otherwise reset on any system reset.

0: 3.3 V voltage range selected. If \(V_{DDIO2}\) is in 1.8 V range with this setting, the I/Os work in degraded mode.

1: 1.8 V voltage range selected. HSLV_VDDIO2 OTP bit must be set to allow 1.8 V voltage range operation. Setting this configuration while \(V_{DDIO2}\) is in 3.3 V range damages the device.

Bits 23:17 Reserved, must be kept at reset value.

Bit 16 VDDIO2RDY: \(V_{DDIO2}\) ready

0: \(V_{DDIO2}\) is below the threshold of the \(V_{DDIO2}\) voltage monitor.

1: \(V_{DDIO2}\) is equal or above the threshold of the \(V_{DDIO2}\) voltage monitor.

Bits 15:9 Reserved, must be kept at reset value.

Bit 8 VDDIO2SV: \(V_{DDIO2}\) Independent supply valid.

This bit is used to validate the \(V_{DDIO2}\) supply for electrical and logical isolation purpose. Setting this bit is mandatory to use PE[15:6] I/Os. If \(V_{DDIO2}\) is not always present in the application, the \(V_{DDIO2}\) voltage monitor can be used to determine whether this supply is ready or not. This bit is reset on any system reset.

0: \(V_{DDIO2}\) is not present. Logical and electrical isolation is applied to ignore this supply.
1: \(V_{DDIO2}\) is valid.

Bits 7:1 Reserved, must be kept at reset value.

Bit 0 VDDIO2VMEN: \(V_{DDIO2}\) independent voltage monitor enable

This bit is reset on any system reset.

0: \(V_{DDIO2}\) voltage monitor disabled

1: \(V_{DDIO2}\) voltage monitor enabled

20.12.7 PWR control register 8 (PWR_CR8)

Address offset: 0x01C

Reset value: 0x0000 0000

See individual bits for reset condition. Access 6 wait states when writing this register.

When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by RSEC6 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV6 in PWR_RPRIVCFGR.

If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.VDDIO1VRSTBYVDDIO1VRSELRes.Res.Res.Res.Res.Res.Res.VDDIO1RDY
rwrwr
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.VDDIO1SVRes.Res.Res.Res.Res.Res.Res.VDDIO1VMEN
rwrw

Bits 31:26 Reserved, must be kept at reset value.

Bit 25 VDDIO1VRSTBY: \(V_{DDIO1}\) I/O voltage range Standby mode

When set, this bit is used to retain VDDIO1VRSEL configuration in Standby. This bit must be written to 1 if \(V_{DDIO1}\) is in 1.8 V range in Standby, and when exiting Standby. It must not be set when \(V_{DDIO1}\) is in 3.3 V range in Standby, or when exiting Standby. This bit is not reset by wake-up from Standby, but by any Application reset (such as NRST, IWDG).

0: VDDIO1VRSEL not retained in Standby mode

1: VDDIO1VRSEL bit retained in Standby mode

Bit 24 VDDIO1VRSEL: \(V_{DDIO1}\) I/O voltage range selection

This bit is used to select the voltage range supported by the I/Os supplied by \(V_{DDIO1}\). It is not reset by wake-up from Standby, but by any application reset (such as NRST, IWDG) when VDDIO1VRSTBY is set, otherwise reset on any system reset.

0: 3.3 V voltage range selected. If \(V_{DDIO1}\) is in 1.8 V range with this setting, the I/Os work in degraded mode.

1: 1.8 V voltage range selected. HSLV_VDDIO1 OTP bit must be set to allow 1.8 V voltage range operation. Setting this configuration while \(V_{DDIO1}\) is in 3.3 V range damages the device.

Bits 23:17 Reserved, must be kept at reset value.

Bit 16 VDDIO1RDY: \(V_{DDIO1}\) ready

0: \(V_{DDIO1}\) is below the threshold of the \(V_{DDIO1}\) voltage monitor.

1: \(V_{DDIO1}\) is equal or above the threshold of the \(V_{DDIO1}\) voltage monitor.

Bits 15:9 Reserved, must be kept at reset value.

Bit 8 VDDIO1SV: \(V_{DDIO1}\) independent I/O supply valid

This bit is used to validate the \(V_{DDIO1}\) supply for electrical and logical isolation purpose. Setting this bit is mandatory to use PE[5:0] I/Os. If \(V_{DDIO1}\) is not always present in the application, the \(V_{DDIO1}\) voltage monitor can be used to determine whether this supply is ready or not. This bit is reset on any system reset.

0: \(V_{DDIO1}\) is not present. Logical and electrical isolation is applied to ignore this supply.

1: \(V_{DDIO1}\) is valid.

Bits 7:1 Reserved, must be kept at reset value.

Bit 0 VDDIO1VMEN: \(V_{DDIO1}\) independent I/O voltage monitor enable

This bit is reset on any system reset.

0: \(V_{DDIO1}\) voltage monitor disabled

1: \(V_{DDIO1}\) voltage monitor enabled

20.12.8 PWR control register 9 (PWR_CR9)

Address offset: 0x020

Reset value: 0x0000 0000

Not reset by wake-up from Standby mode, application reset (such as NRST, IWDG), and \(V_{DD}\) POR, but reset only by \(V_{SW}\) POR and \(V_{SWRST}\). Access 6 wait states when writing this register. After reset, this register is write-protected, and DBD3P in PWR_BDCR1 has to be set before it can be written. When DBD3P is cleared, there are no bus errors generated when writing this register. This register must not be accessed when RCC VSWRST in RCC_BDCR resets the \(V_{SW}\) domain. When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by RSEC1 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV1 in PWR_RPRIVCFGR.

If compartment filtering is enabled only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LPR1B
SEN
Res.Res.Res.BKPRB
SEN
rwrw

Bits 31:5 Reserved, must be kept at reset value.

Bit 4 LPR1BSEN: LPSRAM 1 backup supply enable

This bit is used to maintain LPSRAM1 RAM content in Standby and \(V_{BAT}\) modes. When it is set, the LPSRAM1 is supplied from backup regulator in Standby and \(V_{BAT}\) modes. When this bit is reset, the LPSRAM1 can still be used in Run and Stop modes, but its content is lost in Standby and \(V_{BAT}\) modes.

Bits 3:1 Reserved, must be kept at reset value.

Bit 0 BKPRBSEN: Backup RAM backup supply enable

This bit is used to maintain BKPSRAM content in Standby and \(V_{BAT}\) modes. When it is set, the BKPSRAM is supplied from backup regulator in Standby and \(V_{BAT}\) modes. When this bit is reset, the BKPSRAM can still be used in Run and Stop, but its content is lost in Standby and \(V_{BAT}\).

20.12.9 PWR control register 10 (PWR_CR10)

Address offset: 0x024

Reset value: 0x0000 0000

Not reset by wake-up from Standby, application reset (such as NRST, IWDG), and \(V_{DD}\) POR, but reset only by \(V_{SW}\) POR and \(V_{SWRST}\). Access 6 wait states when writing this register.

After reset, this register is write-protected, and DBD3P in PWR_BDCR1 has to be set before it can be written. When DBD3P is cleared, there are no bus errors generated when writing this register. This register must not be accessed when RCC VSWRST in RCC_BDCR resets the \(V_{SW}\) domain. When a system reset occurs during the register write cycle the written data is not guaranteed. Secure restriction is defined by RSEC1 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV1 in PWR_RPRIVCFGR.

If compartment filtering is enabled only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RETRBSEN[1:0]
rwrw

Bits 31:2 Reserved, must be kept at reset value.

Bits 1:0 RETRBSEN[1:0]: Retention RAM backup supply enable

This bit is used to maintain RETRAM content in Standby and \(V_{BAT}\) modes. When it is set, the RETRAM is supplied from backup regulator in Standby and \(V_{BAT}\). When this bit is reset, the RETRAM can still be used in Run and Stop, but its content is lost in Standby and \(V_{BAT}\).

00: RETRAM backup supply disabled

01: RETRAM backup supply enabled in Standby and \(V_{BAT}\)

10-11: RETRAM backup supply enabled only in Standby (memory content lost in \(V_{BAT}\) mode)

Other: Reserved

20.12.10 PWR control register 11 (PWR_CR11)

Address offset: 0x028

Reset value: 0x0000 0000

Reset on any system reset.

Compartment filtering, secure and privilege restriction inherited from RCC internal resource 104 RIF configuration (see Section 21: Reset and clock control (RCC) for details. Any read

access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

column_1column_2column_3this register.column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15RM0457
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DDRR ETDIS rw
Bit 0DDRRETDIS:DDR retention disable
for peripheral #79 (GPU) (seeSection 6.2: Resource isolation framework (RIF)for details).
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VDDG PURDY r
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.GPUSVRes.Res.Res.Res.Res.Res.GPULVGPUV
TEN TENMEN MEN
rwrwrw
Bit 16VDDGPURDY: VDDGPU ready

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 DDRRETDIS: DDR retention disable

When written 1 to this bit, the DDR PHY exits LP3/IO retention. To enable retention software must write this bit to 0.

20.12.11 PWR control register 12 (PWR_CR12)

Address offset: 0x02C

Reset value: 0x0000 0000

Reset on any system reset.

Compartment filtering, and secure/privilege restriction are inherited from RISC configuration for peripheral #79 (GPU) (see Section 6.2: Resource isolation framework (RIF) for details). Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

Bits 31:17 Reserved, must be kept at reset value.

Bit 16 VDDGPURDY: \(V_{DDGPU}\) ready

0: \(V_{DDGPU}\) is below the threshold of the \(V_{DDGPU}\) voltage monitor (or the voltage monitor is disabled).

1: \(V_{DDGPU}\) is equal or above the threshold of the \(V_{DDGPU}\) voltage monitor.

Bits 15:9 Reserved, must be kept at reset value.

Bit 8 GPUSV: \(V_{DDGPU}\) independent supply valid

This bit is used to validate the \(V_{DDGPU}\) supply for electrical and logical isolation purpose. Setting this bit is mandatory to use the GPU. This bit is set and cleared by software. It is cleared by hardware when \(V_{DDGPU}\) drops below the VDDGPUVM threshold. (VDDGPURDY = 0).

0: \(V_{DDGPU}\) is not present. Logical and electrical isolation is applied to ignore this supply.

1: \(V_{DDGPU}\) is valid.

Note: Logical and electrical isolation is always applied when the GPU and NN extension are disabled by OTP (DIS2 fused to 1).

Bits 7:2 Reserved, must be kept at reset value.

Bit 1 GPULVTEN: \(V_{DDGPU}\) low-voltage threshold enable

This bit is used to select the low-voltage threshold on the GPU voltage monitor.

0: Low-voltage threshold disabled

1: Low-voltage threshold enabled

Bit 0 GPUVMEN: \(V_{DDGPU}\) independent GPU voltage monitor enable

0: \(V_{DDGPU}\) voltage monitor disabled

1: \(V_{DDGPU}\) voltage monitor enabled

20.12.12 PWR backup domain control register 1 (PWR_BDCR1)

Address offset: 0x038

Reset value: 0x0000 0000

Reset on any system reset.

Secure privileged write access only. Write only by trusted domain CID, as defined in RIMC. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

RM0457column_2Bit 8 Bit 1 Bit 0GPUSV: to this register.GPULVTEN: GPUVMEN:column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DBD3P
Bit 0DBD3P:Disable backup and D3 domains (including LPSRAM1/2/3) write protection
RM0457 Rev 5915/5881

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 DBD3P: Disable backup and D3 domains (including LPSRAM1/2/3) write protection

In reset state, all registers in backup and D3 domains are protected against parasitic write access from D1 and D2 domains. This bit must be set to enable write access to these registers.

0: Write access to backup and D3 domains disabled

1: Write access to backup and D3 domains enabled

20.12.13 PWR backup domain control register 2 (PWR_BDCR2)

Address offset: 0x03C

Reset value: 0x0000 0000

Reset on D3 domain reset.

Non secure unprivileged write access only by CPU3. Any read access from CPU1, CPU2 and CPU3 is allowed to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DBP
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 DBP: Disable backup domain write protection

In reset state, all backup domain registers are protected against parasitic write access from D3 domain. This bit must be set to enable write access to these registers.

0: Write access to backup domain disabled

1: Write access to backup domain enabled

20.12.14 PWR CPU1 control register (PWR_CPU1CR)

Address offset: 0x040

Reset value: 0x0000 0000

See individual bits for reset condition. Access 6 wait states when writing this register. When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by RSEC2 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV2 in PWR_RPRIVCFGR.

If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LVDS_D1LPDS_D1
rwrw
1514131211109876543210
STAND
BYWFI
L2
Res.Res.Res.Res.Res.CSSFSBF_D3SBF_D1SBFSTOPFVBFRes.Res.PDDS_D1PDDS_D2
rwrwrrrrwrwrw

Bits 31:18 Reserved, must be kept at reset value.

Bits 3:2 Reserved, must be kept at reset value.

Bit 1 PDDS_D1: D1 domain power-down Deepsleep selection

This bit is reset only by a \(V_{DD}\) POR reset. It is not reset when exiting Standby. It allows CPU1 to define the Deepsleep mode for the system.

0: DStop mode kept when CPU1 enters CStop

1: DStandby mode allowed when CPU1 enters CStop

Bit 0 PDDS_D2: D2 domain/system power-down Deepsleep selection

This bit is reset only by a \(V_{DD}\) POR reset. It is not reset when exiting Standby. it allows CPU1 to define the Deepsleep mode for the D2/system.

0: Stop mode kept when CPU1 enters CStop

1: Standby mode allowed when CPU1 enters CStop

20.12.15 PWR CPU2 control register (PWR_CPU2CR)

Address offset: 0x044

Reset value: 0x0000 0000

See individual bits for reset condition. Access 6 wait states when writing this register. When a system reset occurs during the register write cycle, the written data is not guaranteed.

Secure restriction is defined by RSEC3 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV3 in PWR_RPRIVCFGR.

If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LVDS_D2LPDS_D2
rwrw
1514131211109876543210
DEEPSLEEPRes.Res.Res.Res.Res.CSSFSBF_D3SBF_D2SBFSTOPFVBFRes.Res.Res.PDDS_D2
rwrwrrrrwrw

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

20.12.16 PWR CPU3 control register (PWR_CPU3CR)

Address offset: 0x048

Reset value: 0x0000 0000

See individual bits for reset condition. Non secure unprivileged write access only by CPU3.
Any read access from CPU3 is allowed to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
DEEPS
LEEP
Res.Res.Res.Res.Res.CSSFSBF_D
3
Res.Res.Res.VBFRes.Res.Res.Res.
rwrr

Bits 31:16 Reserved, must be kept at reset value.

Bit 15 DEEPSLEEP: CPU3 system idle indication

This bit is set and reset by hardware based on the CPU3 operation mode.

0: CPU3 active

1: CPU3 idle

Bits 14:10 Reserved, must be kept at reset value.

Bit 9 CSSF: Clear CPU3 SBF_D3 and VBF flags (Always read as 0)

This bit is reset on any system reset.

0: No effect

1: Clear CPU3 SBF_D3 and VBF flags. Register bit is cleared to 0 by hardware.

Bit 8 SBF_D3: D3 SStandby flag

This bit is set by hardware, and cleared only by a \(V_{SW}\) POR reset, or by setting the CPU3 CSSF bit. It is not reset when exiting \(V_{BAT1}\) or Standby mode.

0: D3 domain has not been in SStandby mode.

1: D3 domain has been in SStandby mode.

Bits 7:5 Reserved, must be kept at reset value.

Bit 4 VBF: \(V_{BAT}\) exit flag

This bit is set by hardware, and cleared only by a \(V_{SW}\) POR reset, or by setting the CPU3 CSSF bit. It is not reset when exiting \(V_{BAT}\).

0: System has not been in \(V_{BAT}\) mode.

1: System has been in \(V_{BAT}\) mode.

Bits 3:0 Reserved, must be kept at reset value.

20.12.17 PWR D1 control register (PWR_D1CR)

Address offset: 0x04C

Reset value: 0x0000 0000

Not reset by wake-up from Standby and application reset (such as NRST, IWDG) but only reset by \(V_{DD}\) POR. Access 6 wait states when writing this register. When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction

is defined by RSEC1 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV1 in PWR_RPRIVCFGR.

If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.POPL_D1[4:0]Res.Res.Res.Res.Res.Res.Res.LPCFG_D1
rwrwrwrwrwrw

Bits 31:13 Reserved, must be kept at reset value.

Bits 12:8 POPL_D1[4:0]: pwr_cpu_on pulse low configuration

These bits are set and cleared by software. They define the minimum guaranteed duration of the pwr_cpu_on low pulse in DStandby mode (no impact on DSTOP2/3 modes). The LSI oscillator is automatically enabled when needed by the POPL_D1 pulse low configuration.

00000: No guaranteed minimum low time

00001: ~ 1 ms guaranteed minimum low time (1 x 32 LSI cycles)

00010: ~ 2 ms guaranteed minimum low time (2 x 32 LSI cycles)

...

11111: ~ 31 ms guaranteed minimum low time. (31 x 32 LSI cycles)

Note: POPL_D1 value must not be smaller than PODH_D2 value.

Bits 7:1 Reserved, must be kept at reset value.

Bit 0 LPCFG_D1: PWR_CPU_ON pin configuration

0: PWR_CPU_ON pin signals DStandby mode (PWR_CPU_ON = 1 in DRun, DStop1/2/3, and = 0 in DStandby) (pwr_cpu_on).

1: PWR_CPU_ON pin signals DStandby and DStop2/3 modes (PWR_CPU_ON = 1 in DRun, DStop1, and = 0 in DStop2/3 and DStandby) (pwr_cpu_onlp).

20.12.18 PWR D2 control register (PWR_D2CR)

Address offset: 0x050

Reset value: 0x0007 0000

See individual bits for reset condition. Access 6 wait states when writing this register. When a system reset occurs during the register write cycle, the written data is not guaranteed.

Secure restriction is defined by RSEC1 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV1 in PWR_RPRIVCFGR.

If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

31302928272625242322212019181716
Res.Res.Res.Res.PODH_D2[3:0]Res.Res.Res.Res.Res.LPLVDLY_D2[2:0]
rwrwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.POPL_D2[4:0]Res.Res.Res.Res.Res.Res.Res.Res.LPCFG_D2
rwrwrwrwrwrw

Bits 31:28 Reserved, must be kept at reset value.

Bits 27:24 PODH_D2[3:0]: pwr_on delay high configuration

These bits are set and cleared by software. They define the delay to maintain PWR_ON high when entering in Standby mode. This delay is used to switch off \(V_{DDCPU}\) before \(V_{DDCORE}\). There is no impact when exiting Standby or on LP-Stop and LPLV-Stop modes. The LSI oscillator is automatically enabled when needed by the PODH_D2 delay high configuration. These bits are not reset by wake-up from Standby and application reset (such as NRST, IWDG) but only reset by \(V_{DD}\) POR.

0000: No delay

0001: ~ 1 ms delay (1 x 32 LSI cycles)

0010: ~ 2 ms delay (2 x 32 LSI cycles)

...

1111: ~ 15 ms delay (15 x 32 LSI cycles)

Bits 23:19 Reserved, must be kept at reset value.

Bits 18:16 LPLVDLY_D2[2:0]: LPLV delay value

These bits are set and cleared by software. They define the minimum delay value to be observed before activating PLLs and interconnect clocks, after one of the LPLV system Stop. The LSI oscillator is automatically enabled when needed by the counter. These bits are reset on any system reset.

000: ~187 µs delay (1 x 6 LSI cycles)

001: ~375 µs delay (2 x 6 LSI cycles)

010: ~562 µs delay (3 x 6 LSI cycles)

...

111: ~1.5 ms delay (8 x 6 LSI cycles) (default)

Bits 15:13 Reserved, must be kept at reset value.

Bits 12:8 POPL_D2[4:0]: pwr_on pulse low configuration

These bits are set and cleared by software. They define the minimum guaranteed duration of the pwr_on low pulse in Standby (no impact on LP-Stop and LPLV-Stop modes). The LSI oscillator is automatically enabled when needed by the POPL_D2 pulse low configuration. These bits are not reset by wake-up from Standby and application reset (such as NRST, IWDG) but only reset by \(V_{DD}\) POR.

00000: No guaranteed minimum low time

00001: ~ 1 ms guaranteed minimum low time (1 x 32 LSI cycles)

00010: ~ 2 ms guaranteed minimum low time (2 x 32 LSI cycles)

...

11111: ~ 31 ms guaranteed minimum low time (31 x 32 LSI cycles)

Bits 7:1 Reserved, must be kept at reset value.

Bit 0 LPCFG_D2: PWR_ON pin configuration

This bit is not reset by wake-up from Standby and application reset (such as NRST, IWDG) but only reset by \(V_{DD}\) POR.

0: PWR_ON pin signals Standby (PWR_ON = 1 in Run, Stop1/2, LP-Stop1/2, LPLV-Stop1/2, and = 0 in Standby1/2) (pwr_on).

1: PWR_ON pin signals Standby, LP-Stop, and LPLV-Stop modes (PWR_ON = 1 in Run, Stop1/2, and = 0 in LP-Stop1/2, LPLV-Stop1/2 and Standby1/2) (pwr_onlp).

20.12.19 PWR D3 control register (PWR_D3CR)

Address offset: 0x054

Reset value: 0x0000 0000

Not reset by wake-up from Standby, application reset (such as NRST, IWDG) and \(V_{DD}\) POR, but reset only by \(V_{SW}\) POR and \(V_{SWRST}\). Access 6 wait states when writing this register. After reset, this register is write-protected, and DBD3P in PWR_BDCR1 must be set before it can be written. When DBD3P is cleared, there are no bus errors generated when writing this register. This register must not be accessed when RCC VSWRST in RCC_BDCR resets the \(V_{SW}\) domain. When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by RSEC3 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV3 in PWR_RPRIVCFGR.

If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

31302928272625242322212019181716
D3RDYRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
r
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PDDS_D3
rw

Bit 31 D3RDY: D3 domain supply ready

This bit is set when the D3 domain is accessible.

0: D3 domain not ready

1: D3 domain ready

Bits 30:1 Reserved, must be kept at reset value.

Bit 0 PDDS_D3: D3 domain power-down Deepsleep selection

0: SStop mode kept when system enters Standby

1: SStandby mode allowed when system enters Standby

20.12.20 PWR wake-up control register x (PWR_WKUPCRx)

Address offset: 0x060+0x4*(x-1) (x = 1 to 6)

Reset value: 0x0000 0000

Not reset by wake-up from Standby, but by any application reset (such as NRST, IWDG). Access 6 wait states when writing this register. When clearing a WKUPF, the AHB write access completes after WKUPF has been cleared). When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by WIOSECx in PWR_WIOSECCFGR. Privilege restriction is defined by WIOPRIVx in PWR_WIOSECCFGR.

If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Authorized compartment value depends on the value of SEM_EN in PWR_WIOxCIDCFGR, and optionally SEM_MUTEX in PWR_WIOxSEMCR. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

31302928272625242322212019181716
WKUP
F
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WKUP
ENCPU
2
WKUP
ENCPU
1
rrwrw
1514131211109876543210
Res.Res.WKUPUPD[1:0]Res.Res.Res.WKUP
P
Res.Res.Res.Res.Res.Res.Res.WKUP
C
rwrwrww

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.

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.

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.

20.12.21 PWR D3 wake-up enable register (PWR_D3WKUPENR)

Address offset: 0x098

Reset value: 0x0000 0000

Reset by VSW POR and VSWRST.

Access 6 wait states when writing this register.

After reset, this register is write-protected, and DBD3P in PWR_BDCR1 must be set before it can be written. When DBD3P is cleared, there are no bus errors generated when writing this register. This register must not be accessed when RCC VSWRST in RCC_BDCR resets the VSW domain. When a system reset occurs during the register write cycle, the written data is not guaranteed. Secure restriction is defined by RSEC1 in PWR_RSECCFGR. Privilege restriction is defined by RPRIV1 in PWR_RPRIVCFGR.

If compartment filtering is enabled, only an authorized compartment can write this register, on top of secure and privileged restrictions. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TAMP_WKUP
EN_D3
rw

Bits 31:1 Reserved, must be kept at reset value.

20.12.22 PWR resource secure configuration register (PWR_RSECCFGR)

Address offset: 0x100

Reset value: 0x0000 0000

Reset on any system reset.

Non-secure or unprivileged writes to this register are ignored, while any read access from CPU1 and CPU2 is allowed. The CPU3 cannot access to this register.

Debug domain can write to this register if the feature is activated.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.RSEC6RSEC5RSEC4RSEC3RSEC2RSEC1RSEC0
rwrwrwrwrwrwrw

Bits 31:7 Reserved, must be kept at reset value.

20.12.23 PWR resource privileged configuration register (PWR_RPRIVCFGR)

Address offset: 0x104

Reset value: 0x0000 0000

Reset on any system reset.

Unprivileged writes to this register are ignored while any read access from CPU1 and CPU2 is allowed. The CPU3 cannot access to this register.

Debug domain can write to this register if the feature is activated.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.RPRIV
6
RPRIV
5
RPRIV
4
RPRIV
3
RPRIV
2
RPRIV
1
RPRIV
0
rwrwrwrwrwrwrw

Bits 31:7 Reserved, must be kept at reset value.

Bit 6 RPRIV6: Privileged attribute reference for the local resource number 6
See RPRIV0 for details.

Bit 5 RPRIV5: Privileged attribute reference for the local resource number 5
See RPRIV0 for details.

Bit 4 RPRIV4: Privileged attribute reference for the local resource number 4)
See RPRIV0 for details.

Bit 3 RPRIV3: Privileged attribute reference for the local resource number 3
See RPRIV0 for details.

Bit 2 RPRIV2: Privileged attribute reference for the local resource number 2
See RPRIV0 for details.

Bit 1 RPRIV1: Privileged attribute reference for the local resource number 1
See RPRIV0 for details.

Bit 0 RPRIV0: Privileged attribute reference for the local resource number 0

This bit is written by software to enable the privileged mode for the local resource 0.

If corresponding SEC0 is set in PWR_RSECCFGR, this bit can only be written by a secure privileged application. If compartment filtering for this local resource is enabled (resp. disabled) by CFEN in PWR_R0CIDCFGR, only an authorized compartment (resp. any compartment) can write this bit, if privilege and security of the access is sufficient.

0: The local resource number 0 is unprivileged. Secure access is also possible.

1: The local resource number 0 is privileged only.

20.12.24 PWR resource x CID configuration register (PWR_RxCIDCFGR)

Address offset: 0x108 + 0x4 * x, (x = 0 to 6)

Reset value: 0x0000 0000

Reset on any system reset.

This register is used to configure the local resource x as belonging to a specific compartment (or not). Secure privileged write access only. Write only by trusted domain and secure privileged debug domain CID. Any read access from CPU1 and CPU2 is allowed on this register. The CPU3 cannot access to this register.

column_1column_2column_3column_4column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15RM0457
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.SCID[2:0]Res.Res.Res.CFEN
rwrwrwrw
Bits 6:4SCID[2:0]: Static compartment identifier
Bit 0CFEN:Compartment ID filter enable
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WIOSEWIOSEWIOSEWIOSEWIOSEWIOSE
C6C5C4C3C2C1
rwrwrwrwrwrw

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

20.12.25 PWR WIO secure configuration register (PWR_WIOSECCFGR)

Address offset: 0x180

Reset value: 0x0000 0000

Reset on any system reset.

Non-secure or unprivileged writes to this register are ignored, while any read access from CPU1 and CPU2 is allowed. The CPU3 cannot access to this register.

Debug domain can write to this register if the feature is activated.

Bits 31:6 Reserved, must be kept at reset value.

20.12.26 PWR WIO privileged configuration register (PWR_WIOPRIVCFGR)

Address offset: 0x184

Reset value: 0x0000 0000

Reset on any system reset.

Unprivileged writes to this register are ignored while any read access from CPU1 and CPU2 is allowed. The CPU3 cannot access to this register.

Debug domain can write to this register if the feature is activated.

RM0457column_2Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0WIOSEC6 WIOSEC5 WIOSEC4 WIOSEC3 WIOSEC2 WIOSEC1column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WIOPRWIOPRWIOPRWIOPRWIOPRWIOPR
IV6IV5IV4IV3IV2IV1
rwrwrwrwrwrw
Bit 5WIOPRIV6:Privileged attribute reference for the wake-up I/O 6
Bit 4WIOPRIV5:Privileged attribute reference for the wake-up I/O 5
Bit 3WIOPRIV4:Privileged attribute reference for the wake-up I/O 4
RM0457 Rev 5929/5881

Bits 31:6 Reserved, must be kept at reset value.

Bit 2 WIOPRIV3: Privileged attribute reference for the wake-up I/O 3
See WIOPRIV1 for details.

Bit 1 WIOPRIV2: Privileged attribute reference for the wake-up I/O 2
See WIOPRIV1 for details.

Bit 0 WIOPRIV1: Privileged attribute reference for the wake-up I/O 1
This bit is written by software to enabled the privileged mode for the wake-up I/O 1. If corresponding SEC1 bit is set in PWR_WIOSECCFGR this bit can only be written by a secure privileged application. If compartment filtering for this wake-up I/O is enabled (resp. disabled) by CFEN in PWR_WIO1CIDCFGR, only an authorized privileged compartment (resp. any compartment) can write this bit, if privileged and security of the access is sufficient. Authorized compartment is defined as SCID if SEM_EN = 0 in PWR_WIO1CIDCFGR. If SEM_EN = 1, it is equal to SEMCID, if SEM_MUTEX = 1 in PWR_WIO1SEMCR. There is no authorized compartment if SEM_EN = 1 and SEM_MUTEX = 0.
0: The wake-up I/O 1 is unprivileged. Privileged access is also possible.
1: The wake-up I/O 1 is privileged only.

20.12.27 PWR WIO x CID configuration register (PWR_WIOxCIDCFGR)

Address offset: 0x188 + 0x8 * (x - 1) (x = 1 to 6)

Reset value: 0x0000 0000

Reset on any system reset.

This register is used to configure the wake-up I/O x as belonging to a specific compartment (or not). Secure privileged write access only. Write only by trusted domain CID.

Debug domain can also access if the feature is activated. Any read access from CPU1 and CPU2 is allowed to this register. The CPU3 cannot access to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.SEMWLC7SEMWLC6SEMWLC5SEMWLC4SEMWLC3SEMWLC2SEMWLC1SEMWLC0
rwrwrwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.SCID[2:0]Res.Res.SEM_ENCFEN
rwrwrwrwrw

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 0 CFEN: CID filtering enable

Set and cleared by software. For any CFEN value, access controls to wake-up I/O x defined in PWR_WIOPRIVCFGR and PWR_WIOSECCFGR always apply. When this bit is cleared from 1 by trusted domain application, SEM_MUTEX is cleared to zero.

0: Compartment-based filtering defined in PWR_WIOxCIDCFGR and optionally PWR_WIOxSEMCR is disabled for wake-up I/O x.

1: Compartment-based filtering defined in PWR_WIOxCIDCFGR and optionally PWR_WIOxSEMCR is enabled for wake-up I/O x.

20.12.28 PWR WIO x semaphore control register (PWR_WIOxSEMCR)

Address offset: 0x18C + 0x8 * (x - 1) (x = 1 to 6)

Reset value: 0x0000 0000

Reset on any system reset.

If compartment filtering is disabled (CFEN = 0) or semaphore is disabled (SEM_EN = 0) in PWR_WIOxCIDCFGR, any write to this register is ignored. Privileged-only write if WIOPRIVx is set in PWR_WIOPRIVCFGR. Secure-only write if WIOSECx is set in PWR_WIOSECCFGR.

If compartment filtering is enabled and semaphore is enabled (CFEN and SEM_EN set in PWR_WIOxCIDCFGR), only an authorized compartment can write to this register. For this register, authorized compartment is equal to SEMCID if SEM_MUTEX = 1, else it is defined by the CID white list (SEMWLKy) in PWR_WIOxCIDCFGR. There is no authorized compartment if semaphore is disabled (SEM_EN = 0). Any read access from CPU1 and CPU2 is allowed on this register. The CPU3 cannot access to this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.SEMCID[2:0]Res.Res.Res.SEM_MUTEX
rrrrw

Bits 31:7 Reserved, must be kept at reset value.

Bits 6:4 SEMCID[2:0]: Semaphore current CID

When SEM_EN and CFEN are set in PWR_WIOxCIDCFGR, this read-only bitfield is updated with the CID value of the latest successful acquisition of PWR_WIOxSEMCR semaphore (SEM_MUTEX bit set to 1). In all other cases, SEMCID stays unchanged.

Bits 3:1 Reserved, must be kept at reset value.

Bit 0 SEM_MUTEX: Semaphore mutex

White listed application can set semaphore bit to get exclusive access to wake-up I/O x when SEM_EN is set in PWR_WIOxCIDCFGR (writes are ignored otherwise).

When SEM_MUTEX = 0, only applications belonging to white-listed compartments (defined with SEMWLCy in PWR_WIOxCIDCFGR) can acquire this semaphore.

When SEM_MUTEX = 1, only applications belonging to compartment SEMCID can release this semaphore. This bit is cleared when CFEN or SEM_EN are cleared from 1 by trusted domain application in PWR_WIOxCIDCFGR.

Read 0: Semaphore is free to take.

Read 1: Semaphore is taken.

Write 0: Release semaphore.

Write 1: Acquire semaphore.

20.12.29 PWR CPU1 status register (PWR_CPU1D1SR)

Address offset: 0x200

Reset value: 0x0000 0000

Any read access from CPU1, CPU2 and CPU3 is allowed on this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.DSTATE[2:0]Res.Res.Res.Res.CSTATE[1:0]Res.HOLD_BOOT
rrrrrr

Bits 31:11 Reserved, must be kept at reset value.

Bits 10:8 DSTATE[2:0]: D1 domain state status

Set by hardware to indicate when the D1 domain is in DRun, DStop1/2/3 or DStandby mode.

000: DRun

001: DStop1

010: DStop2

011: DStop3

100: DStandby

Bits 7:4 Reserved, must be kept at reset value.

Bits 3:2 CSTATE[1:0]: CPU1 cluster state status

Set by hardware to indicate when the CPU1 is in CRun, CSleep or CStop state.

00: CPU1 in reset

01: CPU1 in CRun

10: CPU1 in CSleep

11: CPU1 in CStop

Bit 1 Reserved, must be kept at reset value.

Bit 0 HOLD_BOOT: CPU1 HOLD_BOOT status flag.

This flag is not valid when the D1 domain is in DStandby mode. It is set by hardware to indicate when the CPU1 is in HOLD_BOOT state.

0: CPU1 allowed to boot

1: CPU1 maintained in HOLD_BOOT state by hardware

Note: Refer to Section 21 for details on HOLD_BOOT processor state.

20.12.30 PWR CPU2 status register (PWR_CPU2D2SR)

Address offset: 0x204

Reset value: 0x0000 0000

Any read access from CPU1, CPU2 and CPU3 is allowed on this register.

Bit 31Bit 30Bit 29Bit 28Bit 27Bit 26Bit 25Bit 24Bit 23Bit 22Bit 21Bit 20Bit 19Bit 18Bit 17Bit 16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.DSTATE[2:0]Res.Res.Res.Res.CSTATE[1:0]WFBE NHOLD_ BOOT
rrrrrrr
Bits 10:8DSTATE[2:0] 000: Run: System/D2 state status
Bits 3:2CSTATE[1:0]101: VBAT : CPU2 cluster state status flag 00: CPU2 in reset
Bit 1WFBEN: CPU2 wait-for-boot enable status flag
Note: Refer toSection 21for details on HOLD_BOOT processor state.

Bits 31:11 Reserved, must be kept at reset value.

Bits 10:8 DSTATE[2:0]: System/D2 state status

Set by hardware to indicate when the system/D2 domain is in Run, Stop, LP-Stop, LPLV-Stop, Standby or VBAT mode.

000: Run

001: Stop

010: LP-Stop

011: LPLV-Stop

100: Standby

101: VBAT

Bits 7:4 Reserved, must be kept at reset value.

Bits 3:2 CSTATE[1:0]: CPU2 cluster state status flag

Set by hardware to indicate when the CPU2 is in CRUN, CSleep or CStop state.

00: CPU2 in reset

01: CPU2 in CRUN

10: CPU2 in CSleep

11: CPU2 in CStop

Bit 1 WFBEN: CPU2 wait-for-boot enable status flag

Set by hardware to indicate when the CPU2 is in wait-for-boot enable state. Only applicable in wake-up event mode. This flag is not valid when the system is in Standby mode.

0: CPU2 is not in wait-for-boot enable state (bit set at 0 in legacy boot mode).

1: CPU2 is in wait-for-boot enable state. It starts once an event assign to it is raised.

Note: Refer to Section 21 for details on HOLD_BOOT processor state.

Bit 0 HOLD_BOOT: CPU2 HOLD_BOOT status flag

This flag is not valid when the system is in Standby. Set by hardware to indicate when the CPU2 is in HOLD_BOOT state.

0: CPU2 is allowed to boot.

1: CPU2 is maintained in HOLD_BOOT state by hardware.

Note: Refer to Section 21 for details on HOLD_BOOT processor state.

20.12.31 PWR CPU3 status register (PWR_CPU3D3SR)

Address offset: 0x208

Reset value: 0x0000 0000

Any read access from CPU1, CPU2 and CPU3 is allowed on this register.

RM0457column_2Bit 0column_4HOLD_BOOT Note: Refer tocolumn_6Section 21column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.DSTATE[2:0]Res.Res.Res.Res.CSTATE[1:0]Res.Res.
rrrrr
Bits 10:8DSTATE[2:0]: D3 state status. 000: SRun1
Bits 3:2CSTATE[1:0]: CPU3 cluster state status flag
RM0457 Rev 5935/5881

Bits 31:11 Reserved, must be kept at reset value.

Bits 10:8 DSTATE[2:0]: D3 state status.

Set by hardware to indicate when the D3 domain is in SRun1/2/3, SStop1/2 or SStandby.

000: SRun1

001: SRun2

010: SRun3

011: SStop1

100: SStop2

101: SStandby (only accessible in debug Standby mode)

Bits 7:4 Reserved, must be kept at reset value.

Bits 3:2 CSTATE[1:0]: CPU3 cluster state status flag

Set by hardware to indicate when the CPU3 is in CRun, CSleep or CStop state.

00: CPU3 in reset.

01: CPU3 in CRun

10: CPU3 in CSleep

11: CPU3 in CStop

Bits 1:0 Reserved, must be kept at reset value.

20.12.32 PWR VER register (PWR_VERR)

Address offset: 0x3F4

Reset value: 0x0000 0011

Any read access from CPU1 and CPU2 is allowed on this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.MAJREV[3:0]MINREV[3:0]
rrrrrrrr

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:4 MAJREV[3:0]: Major revision number

Bits 3:0 MINREV[3:0]: Minor revision number

20.12.33 PWR identifier register (PWR_IPIDR)

Address offset: 0x3F8

Reset value: 0x0001 0003

Any read access from CPU1 and CPU2 is allowed on this register.

31302928272625242322212019181716
ID[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
ID[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 ID[31:0]: Identifier of the PWR

20.12.34 PWR size identification register (PWR_SIDR)

Address offset: 0x3FC

Reset value: 0xA3C5 DD01

Any read access from CPU1 and CPU2 is allowed on this register.

31302928272625242322212019181716
SID[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
SID[15:0]
rrrrrrrrrrrrrrrr
Bits 31:0 SID[31:0] : Decoding space is 1 Kbyte.

20.12.35 PWR register map

Table 119. PWR register map and reset values

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x000PWR_CR1GPVMORes.Res.Res.Res.VDDIO4VRSELVDDIO3VRSELVDDIOVRSELRes.Res.Res.ARDYUCPDRDYUSB33RDYVDDIO4RDYVDDIO3RDYRes.Res.Res.ASVUCPDSVRes.VDDIO4SVVDDIO3SVRes.Res.Res.AVMENUCPDVMENUSB33VMENVDDIO4VMENVDDIO3VMEN
Reset value0000000000000000000
0x004PWR_CR2Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TEMPHTEMPV08CAPHV08CAPLRes.Res.Res.Res.Res.Res.MONEN
Reset value00000
0x008PWR_CR3Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PVDORes.Res.Res.Res.Res.Res.PVDEN
Reset value00
0x00CReservedReserved
0x010PWR_CR5Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VCOREHVCORELRes.Res.Res.Res.Res.Res.VCOREMONEN
Reset value000
0x014PWR_CR6Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VCPUHVCPULRes.Res.Res.VCPULLSRes.Res.VCPUMONEN
Reset value0000
0x018PWR_CR7Res.Res.Res.Res.Res.Res.VDDIO2VRSTBYVDDIO2VRSELRes.Res.Res.Res.Res.Res.VDDIO2RDYRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VDDIO2VMEN
Reset value000000
0x01CPWR_CR8Res.Res.Res.Res.Res.Res.VDDIO1VRSTBYVDDIO1VRSELRes.Res.Res.Res.Res.Res.VDDIO1RDYRes.Res.Res.Res.Res.Res.Res.Res.VDDIO1SVRes.Res.Res.Res.Res.Res.VDDIO1VMEN
Reset value00000

Table 119. PWR register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x020PWR_CR9Res.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.LPR1BSENRes.Res.Res.BKPRBSEN
Reset value00
0x024PWR_CR10Res.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 value00
0x028PWR_CR11Res.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 value0
0x02CPWR_CR12Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VDDGPURDYRes.Res.Res.Res.Res.Res.Res.GPUSVRes.Res.Res.Res.Res.Res.GPULVTENGPUVMEN
Reset value0000
0x030-0x034ReservedReserved
0x038PWR_BDCR1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DBD3P
Reset value0
0x03CPWR_BDCR2Res.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 value0
0x040PWR_CPU1CRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LVDS_D1LPDS_D1STANDBYWFIL2Res.Res.Res.Res.Res.CSSFSBF_D3SBF_D1SBFSTOPFVBFRes.Res.PDDS_D1PDDS_D2
Reset value00000000000
0x044PWR_CPU2CRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LVDS_D2LPDS_D2DEEPSLEEPRes.Res.Res.Res.Res.CSSFSBF_D3SBF_D2SBFSTOPFVBFRes.Res.Res.PDDS_D2
Reset value0000000000
0x048PWR_CPU3CRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DEEPSLEEPRes.Res.Res.Res.Res.CSSFSBF_D3Res.Res.Res.VBFRes.Res.Res.Res.
Reset value0000
ST logo
ST logo

Table 119. PWR register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x04CPWR_D1CRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.POPL_D1[4:0]Res.Res.Res.Res.Res.Res.Res.LPCFG_D1
Reset value000000
0x050PWR_D2CRRes.Res.Res.Res.PODH_D2 [3:0]Res.Res.Res.Res.Res.LPLVDLY_D2 [2:0]Res.Res.Res.Res.POPL_D2[4:0]Res.Res.Res.Res.Res.Res.Res.LPCFG_D2
Reset value0000111000000
0x054PWR_D3CRD3RDYRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PDDS_D3
Reset value00
0x058-0x05CReservedReserved
0x060 + 0x4*x (x=1 to 6)
Last address: 0x074
PWR_WKUPCRxWKUPFRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WKUPENCPU2WKUPENCPU1Res.Res.Res.WKUPPUPD [1:0]Res.Res.Res.WKUPPRes.Res.Res.Res.Res.Res.WKUPC
Reset value0000000
0x078-0x094ReservedReserved
0x098PWR_D3WKUPE NRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TAMP_WKUPEN_D3
Reset value0
0x09C-0x0FCReservedReserved
0x100PWR_RSECCFG RRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RSEC6RSEC5RSEC4RSEC3RSEC2RSEC1RSEC0
Reset value0000000
0x104PWR_RPRIVCF GRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RPRIV6RPRIV5RPRIV4RPRIV3RPRIV2RPRIV1RPRIV0
Reset value0000000
0x108 + 0x4*x (x=0 to 6)
Last address: 0x120
PWR_RxCIDCFG RRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SCID [2:0]Res.Res.Res.Res.CFEN
Reset value0000
0x124-0x17CReservedReserved

Table 119. PWR register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x180PWR_WIOSECC
FGR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WIOSEC6WIOSEC5WIOSEC4WIOSEC3WIOSEC2WIOSEC1
Reset value000000
0x184PWR_WIOPRIVC
FGR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WIOPRIV6WIOPRIV5WIOPRIV4WIOPRIV3WIOPRIV2WIOPRIV1
Reset value000000
0x188 + 0x8*x
(x=1 to 6)
Last address:
0x1B0
PWR_WIOxCIDC
FGR
Res.Res.Res.Res.Res.Res.Res.Res.SEMWLC7SEMWLC6SEMWLC5SEMWLC4SEMWLC3SEMWLC2SEMWLC1SEMWLC0Res.Res.Res.Res.Res.Res.Res.Res.Res.SCID[2:0]Res.Res.SEM_ENCFEN
Reset value0000000000000
0x18C + 0x8*x
(x=1 to 6)
Last address:
0x1B4
PWR_WIOxSEM
CR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEMCID[2:0]Res.Res.Res.SEM_MUTEX
Reset value0000
0x1B8-0x1FCReservedReserved
0x200PWR_CPU1D1S
R
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DSTATE
[2:0]
Res.Res.Res.Res.CSTATE
[1:0]
Res.HOLD_BOO
Reset value000000
0x204PWR_CPU2D2S
R
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DSTATE
[2:0]
Res.Res.Res.Res.CSTATE
[1:0]
WFBENHOLD_BOO
Reset value0000000
0x208PWR_CPU3D3S
R
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DSTATE
[2:0]
Res.Res.Res.Res.CSTATE
[1:0]
Res.Res.
Reset value00000
0x20C-0x3F0ReservedReserved
0x3F4PWR_VERRRes.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 value00010001
0x3F8PWR_IPIDRID[31:0]
Reset value00000000000000001000000000000011
0x3FCPWR_SIDRSID[31:0]
Reset value10100011110001011101110100000001

Refer to Section 2.4 for the register boundary addresses.

ST logo
ST logo