20. Reset and clock control (RCC)
The RCC manages the clock and reset generation for the complete circuit (see Section 19: Power control (PWR) for more details on operating modes).
In the whole document:
- • The Cortex-A35 is also called CPU1 or MPU.
- • The Cortex-M33 is also called CPU2 or MCU.
D1 domain holds CPU1 (supplied by \(V_{DDCPU}\)). D2 domain holds CPU2 and the majority of the peripherals (supplied by \(V_{DDCORE}\)).
20.1 RCC main features
- • AMBA 5 AHB bus interface
- • RIF (resource isolation framework) aware
- • Reset:
- – Generation of local and system reset
- – Bidirectional pin reset (NRST) to reset external devices, or the circuit
- – Output pin reset (NRSTC1MS) to reset external mass-storage devices used by CPU1
- • Clock generation:
- – Generation and distribution of clocks for the complete system
- – 5 separate PLLs (excluding external CPU1 and DDR ones):
- - Integer or fractional mode
- - Spread-spectrum function to reduce the amount of EMI peaks
- - Possibility to change the PLLs fractional ratios on the fly
- – Smart clock gating for reduction of power dissipation
- – 2 external oscillators:
- - HSE supporting a wide range of crystals (8 to 48 MHz)
- - LSE for the 32.768 kHz crystals
- – 3 internal oscillators:
- - HSI running around 64 MHz
- - MSI running around 16 MHz
- - LSI running around 32 kHz
- – Buffered clock outputs for external devices
- – HSI and MSI frequency monitors
- • 2 independent interrupt interfaces (one dedicated to CPU1 and one dedicated to CPU2)
- • 2 independent failure events (HSE and LSE)
- • 2 independent events to wake up CPU1 and CPU2 (one dedicated for each)
20.2 RCC block diagram
The figure below gives a simplified view of the RCC, and the key signals exchanged with the other peripherals. Four voltage domains are present in the RCC: VDD domain, VSW domain, VDDCPU domain called D1 domain and VDDCORE domain called D2 domain.
For the reset, analog comparators located into PWR provide all reset signals dependent of the power supplies: por_rstn, bor_rstn, vcore_rstn and por_vsw_rstn. One reset source comes from pins: NRST. The RCC also receives resets from various other sources (such as watchdogs, CPU2, or registers). All these resets are handled by the RCC in order to reset properly all system parts.
For the clock generation, the RCC handles the generation and the gating for all the clocks according to register settings and operating modes.
Figure 73. RCC block diagram

The diagram illustrates the internal architecture of the RCC. At the top, external reset sources like NRST and NRSTC1MS are shown. The RCC block contains several sub-blocks: a Reset control block that manages resets for different voltage domains (VDD, VSW, VDDCORE, VDDCPU); a Register interface and control block; a Clock manager unit (CMU) that handles power-down and wake-up signals; and a Flexclkgen block containing stages for clock generation (MUXSEL, GFG, XBAR, PREDIV, FINDIV). The Flexclkgen outputs various clocks (lse_ck, hse_ck, msi_ck, hsi_ck, lsi_ck) to a Clock enable unit, which then distributes them to the CPU1, CPU2, AXI, AHB5, AHB6, and APB buses. The PWR block is shown on the right, managing reset signals and power states for the CPUs. Other peripherals like IWDGx, BSEC, RETRAM, NVIC, GIC, and TAMP are also shown interacting with the RCC.
The RCC exchanges also some signals with the PWR in order to control the entry/exit of CPUx in CStop, D1 domain in DStandby mode, and system in Stop and Standby modes.
20.2.1 RCC pin overview
The table below lists the RCC signals connected to pins or balls.
Table 112. Pin overview
| Pin name | Type | Description |
|---|---|---|
| NRST | Input/output | External (application) reset, can be used to provide reset to external devices |
| OSC32_IN | Input | 32 kHz oscillator input |
| OSC32_OUT | Output | 32 kHz oscillator output |
| OSC_IN | Input | System oscillator input |
| OSC_OUT | Output | System oscillator output |
| MCO1 | Output | Output clock 1 for external devices |
| MCO2 | Output | Output clock 2 for external devices |
| NRSTC1MS | Output | Output reset flag for external mass-storage devices used by CPU1 |
| CK_IN | Input | External kernel clock input for digital audio interfaces: SPI/I2S, SAI, and MDF |
20.3 RCC functional description - Reset
There are several sources able to generate a reset:
- • supply monitors (\(V_{DD}\), \(V_{DDCORE}\), \(V_{DDCPU}\) or \(V_{SW}\)) lower than expected values
- • independent watchdogs timeout
- • D1 domain exiting DStandby
- • device exiting Standby
- • external signals driving the NRST pin
- • software commands
The scope of the resets differs according to the source initiating the reset. The following categories are defined below: power-on/off, system, and local resets
20.3.1 Power-on/off resets
The PWR provides the following reset signals to the RCC:
- • por_rstn signal, asserted when \(V_{DD}\) supply is lower than \(V_{POR}\) threshold
- • bor_rstn signal, asserted when \(V_{DD}\) supply is lower than \(V_{BOR}\) threshold
- • vcore_rstn signal, asserted when \(V_{DDCORE}\) supply is lower than \(V_{CORE}\) threshold
- • vcpu_rstn signal, asserted when \(V_{DDCPU}\) supply is lower than \(V_{CPU}\) threshold
- • por_vsw_rstn signal, asserted when \(V_{SW}\) supply is lower than the expected threshold
As shown in Figure 74, the signals provided by the PWR, indicating that \(V_{DDCORE}\) and \(V_{DDCPU}\) are valid (OKIN_VCORE_RSTN, OKIN_VCPU_RSTN), are used by the RCC in order to trigger the hardware system initialization sequence and the memory repair. When this initialization sequence is completed, vcore_rstn and vcpu_rstn signals are released, and CPU1/2 can start (see Table 115 for details).
See Section 19: Power control (PWR) for details on the generation of power-on/off resets.
20.3.2 Application and system resets
An application reset (app_rstn) is generated from one of the following sources:
- • reset from NRST pin
- • reset from por_rstn signal (generally called power-on reset)
- • reset from bor_rstn signal (generally called brownout reset)
- • reset from the independent watchdogs (iwdg1_out_rst, iwdg2_out_rst, iwdg3_out_rst, iwdg4_out_rst) if the application allows them in RCC_IWDGC1CFGSETR, RCC_IWDGC2CFGSETR
- • software reset from the RCC, when either CPU1 or CPU2 sets SYSRST in RCC_GRSTCSETR
- • failure on HSE, when the clock security system feature is activated (hse_css_rst)
- • RETRAM CRC error in wake-up event mode. After system Standby exit, when RET_CRCERR_RSTEN is set in RCC_STBYBOOTCR, and TDCID = 0x1. When TDCID = 0x2, it triggers an application reset whatever RET_CRCERR_RSTEN.
- • RETRAM ECC failure during the CRC computation in wake-up event mode. After system Standby exit, when RET_CRCERR_RSTEN is set in RCC_STBYBOOTCR and TDCID = 0x1. When TDCID = 0x2, it triggers an application reset whatever RET_CRCERR_RSTEN.
- • RETRAM ECC failure in wake-up event mode, after system Standby exit, and during system wake-up restoration phase, once CRC is done
A system reset (sys_rstn) is generated from one of the following sources:
- • reset from app_rstn signal (application reset)
- • reset from vcore_rstn signal
- • reset from vcpu_rstn signal when the D1 domain does not exit Standby
Note: When the system is in Standby, \(V_{DDCORE}\) and \(V_{DDCPU}\) are switched off, but \(V_{DD}\) is still present. When the system exits Standby, vcore_rstn is activated, generating a sys_rstn reset. vcpu_rstn may also be activated depending on the selected system Standby exit strategy.
As shown in Figure 74, the NRST pin is activated by:
- • por_rstn, bor_rstn, or hse_css_rst
- • iwdg1_out_rst, iwdg2_out_rst, iwdg3_out_rst, iwdg4_out_rst according to the application program
- • sysrst
- • retram_crc_err, or retram_ecc_fail according to the application program
- • assertion of NRST by an external source
A programmable reset pulse control (RPCTL) allows the application to define a minimum pulse width for the NRST assertion. When the RPCTL is disabled, the reset pin embeds a pulse stretcher which guarantees a minimum reset pulse duration of 20 microseconds for each internal reset source. app_rstn and sys_rstn are also impacted by this function (see Section 20.3.10 for details on RPCTL).
Note: It is not recommended to let the NRST pin unconnected. When it is not used, connect this pin to ground via a capacitor of 10 to 100 nF.
Figure 74. System reset circuit

The diagram illustrates the System reset circuit, primarily within the RCC – Reset control block. It is divided into several power/logic domains: VDDCORE domain, VDD domain, and VSW domain.
- Reset Input Modules & Signals:
- IWDG1, IWDG2, IWDG3, IWDG4: Output iwdg1_out_rst, iwdg2_out_rst, iwdg3_out_rst, and iwdg4_out_rst. Gated with iwdgX_sysrsten and tdcid signals through logic gates.
- RETRAM: Supplies hse_css_rst, retram_crc_err (gated by ret_crcerr_rsten and tdcid), and retram_ecc_fail.
- RESET (BORHOUT_V33, RESETN_V33): Provides bor_rstn and por_rstn into reset logic.
- OKIN_VCORE_RSTN, OKIN_VCPU_RSTN: Provide vcore_rstn and vcpu_rstn.
- PDDS_D1: Controls modes via cpu1_mode and cpu2_mode.
- CPU1HOLD, CPU2HOLD, CPU1WFBEN, CPU2WFBEN, CPU1STATE, CPU2STATE: Interface between logic and PWR block.
- PWR: Provides cpu1_hw_ben and cpu2_hw_ben.
- RESET (POR_VSW): Generates por_vsw_rstn in the VSW domain.
- DAP: Interfaces via cdbgrstreq, cdbgrstack, and dbgrst with RCC_DBGCFGR.
- Internal Logic and Control:
- RCC_GRSTCSETR: Generates sysrst.
- Warm Reset Logic: Generates warm_rst, interacting with cmd_pad_rst (via RPCTL) and app_rstn.
- Hardware system init control: Controls initialization synchronization (HW system init done, sync) to produce sys_rstn (system reset).
- Peripheral / Core Resets: Generates c1ms_rstn, cpu1_rstn (via c1rst from RCC_C1RSTCSETR), vsw_rstn (via VSWRST from RCC_BDCR), cpu2_rstn (via c2rst from RCC_C2RSTCSETR), dbg_rstn, and PERxRSTN (via RCC_PERxCFGR).
- Interfacing Modules:
- NRST (external reset): Connected through I/O pad circuitry with pull-up resistor (RPU), Pulse Stretcher, and Filter.
- BSEC: Receives reset controls bsec_srst, bsec_rst, and bsec_hrst.
- MREPAIR: Interfaces with hardware system initialization via repair_ack, repair_req, and fuses_ok.
MSv71449V2
20.3.3 Local resets
The local resets do not directly affect the whole system, but only one CPUx subsystem (cores and its associated peripherals, like GIC or NVIC).
Here is the most important local reset:
When the D1 domain exits DStandby, and the system was not in Standby, the CPU1 is reset by a reset named cpu1_rstn, and the external mass-storage devices used by CPU1 can be reset by the c1ms_rstn signal (NRSTC1MS pin). Refer to NRSTC1MS I/O for details.
20.3.4 Resets generated by CPUs
All CPUs can generate system and local resets. The RCC offers the following possibilities:
- • CPUx can generate a system reset by means of SYSRST in RCC_GRSTCSETR.
- • C2RST in RCC_C2RSTCSETR can reset CPU2 and its related watchdogs (IWDG3/4).
- • C1RST in RCC_C1RSTCSETR can reset CPU1 and its related watchdogs (IWDG1/2).
The CPU1 is reset whenever the D1 domain exits DStandby.
When the CPU2 uses C1RST to reset the CPU1, the following procedure must be used:
- 1. Clear RCC_CPUBOOTCR.BOOT_CPU1.
- 2. Activate RCC_C1RSTCSETR.C1RST.
- 3. Poll RCC_C1RSTCSETR.C1RST until it is 0.
- 4. Set RCC_CPUBOOTCR.BOOT_CPU1.
20.3.5 Watchdog resets
The following watchdogs are provided to the application:
- • IWDG1 (secure) and IWDG2 (non-secure) dedicated to the CPU1
- • IWDG3 (secure) and IWDG4 (non-secure) dedicated to the CPU2
All these watchdogs can generate a system reset when a timeout occurs, according to the application selection.
The system reset operation is controlled by (see Table 113 and Table 114 for details):
- • IWDG1_SYSRSTEN, IWDG2_SYSRSTEN in RCC_IWDGC1CFGSETR
- • IWDG3_SYSRSTEN, IWDG4_SYSRSTEN in RCC_IWDGC2CFGSETR
- • TCID selected trusted domain master agent
Warning: The application must set these IWDGx_SYSRSTEN bits prior enabling any watchdog.
These registers are located in VDD domain and are reset by app_rstn.
Table 113. IWDG timeout event combinations when TDCID = CPU1
| IWDG1_YSRSTEN(1) | IWDG2_YSRSTEN | IWDG3_YSRSTEN | IWDG4_YSRSTEN | Timeout event description |
|---|---|---|---|---|
| - | 0 | 0 | 0 | System reset from IWDG1 |
| 1 | System reset from IWDG1 and IWDG4 | |||
| 1 | 0 | System reset from IWDG1 and IWDG2 | ||
| 1 | System reset from IWDG1, IWDG2, and IWDG4 | |||
| 0 | 1 | 0 | System reset from IWDG1 and IWDG3 | |
| 1 | System reset from IWDG1, IWDG3, and IWDG4 | |||
| 1 | 0 | System reset from IWDG1, IWDG2, and IWDG3 | ||
| 1 | System reset from all watchdogs | |||
1. “-” means don’t care.
Table 114. IWDG timeout event combinations when TDCID = CPU2
| IWDG1_YSRSTEN | IWDG2_YSRSTEN | IWDG3_YSRSTEN(1) | IWDG4_YSRSTEN | Timeout event description |
|---|---|---|---|---|
| 0 | 0 | - | 0 | System reset from IWDG3 |
| 1 | System reset from IWDG3 and IWDG4 | |||
| 1 | 0 | System reset from IWDG2 and IWDG3 | ||
| 1 | System reset from IWDG2, IWDG3, and IWDG4 | |||
| 1 | 0 | 0 | System reset from IWDG1 and IWDG3 | |
| 1 | System reset from IWDG1, IWDG3, and IWDG4 | |||
| 1 | 0 | System reset from IWDG1, IWDG2, and IWDG3 | ||
| 1 | System reset from all watchdogs | |||
1. “-” means don’t care.
In addition, any IWDG timeout event is sent to the main EXTI to be routed to all CPUs.
20.3.6 Backup domain reset
A backup domain reset (vsw_rstn) is generated when one of the following events occurs:
- software reset, triggered by setting VSWRST in RCC_BDCR
All RTC registers and RCC_BDCR are set to their reset values. The BKPSRAM is not affected. - when \(V_{SW}\) voltage is outside the operating range (por_vsw_rstn)
All RTC registers and RCC_BDCR are set to their reset values. The BKPSRAM is no longer valid.
The por_rstn reset source for the \(V_{DD}\) domain is gated by the por_vsw_rstn reset in order to secure the internal power sequence. See Section 19: Power control (PWR) for additional information.
20.3.7 CoreSight debug reset
The CoreSight debug components including the CPU1 debug part can be reset in three different ways:
- • over the DAP by setting to 1 CDBGSTREQ in control/status register of the debug port
Setting CDBGSTREQ = 1 asserts the debug reset request signal CDBGSTREQ connected to the RCC. The RCC activates dbg_rstn. An handshake signal cdbgrstack is provided to the DAP request. dbg_rstn is active as long as the CDBGSTREQ = 1. - • by the application by setting to 1 DBGRST in RCC_DBGCFGR
When DBGRST = 1, the dbg_rstn reset is activated. dbg_rstn reset is released when DBGRST = 0. - • when VDDCORE power-on reset occurs (vcore_rstn)
This reset is activated after a power-on reset, or when the product exits Standby.
20.3.8 Option-byte loading
The boot and security register interface module (BSEC) controls an OTP (one-time programmable) array of fuse words that hold the option-byte configuration for the product.
This configuration must be set every time an app_rstn or a NRST reset is activated. The system reset is kept active until this configuration has been properly loaded (via the fuse_ok signal received from the BSEC).
The BSEC handles the following reset sources (see Section 6: Boot and security control (BSEC) for details):
- • a main reset (bsec_rst) active when an app_rstn or a NRST reset is triggered
- • a scratch reset (bsec_srst) active when a por_rstn, bor_rstn or a NRST reset is triggered
- • a hot reset (bsec_hrst) active when a CPU1 reset is triggered
Note: When a warm reset occurs, any NRST reset is filtered, and the bsec_srst reset is not performed.
20.3.9 Peripheral reset
The application can reset individually any peripheral whenever it is requested. This can be done by CPUx via RCC_PERxCFGR (with PERx = peripheral name).
Note: Access rights to these registers are inherited from the related peripheral RIF configuration (see Section 20.7.1 for details).
When a peripheral needs to be reset, it is recommended to first enable its peripheral clock by setting the corresponding peripheral enable bit to 1 (see Section 20.4.11 for details).
For peripherals having a reset process which is executed very fast, it is up to the application to assert and release the peripheral reset (in RCC_PERxCFGR, with PERx = peripheral name).
For some peripherals, the reset process may take several clock cycles. For that purpose, the application can read back the reset bit in order to check if the reset process is ongoing or completed.
Note: DCMIPP, ETH1, ETH2, HPDMA1, HPDMA2, HPDMA3, LTDC, SDMMC1, SDMMC2, SDMMC3, USBH and OTG peripherals are following this above reset behavior: when the
application releases the peripheral reset, it must read back the related PERxRST in RCC_PERxCFGR (with PERx = peripheral name) to be sure that the reset has been properly released. This applies when the CFG_ENABLE bit is set in SYSCFG_SAFERSTCR.
20.3.10 Reset pulse control (RPCTL)
The RPCTL allows the application to control the minimum activation time of NRST and NRSTC1MS pins. This feature is particularly helpful because some external devices may request a specific duration for the activation of these pins. In addition, the internal reset pulse like IWDGx may be too short for external devices.
NRST pin
The RPCTL is located into the VDD domain, and is only reset after a power-on reset. It is controlled by MRD[4:0] in RCC_RDCR as follows:
- • If MRD = 0, the RPCTL is bypassed, and the cmd_pad_rst signal directly drives the reset pin. The minimum activation time is given by the pulse stretcher embedded into the reset pin (typically 20 microseconds).
- • If MRD = 1, when the reset is activated (cmd_pad_rst rising edge), NRST is immediately driven low at least for a duration equal to the value given by MRD[4:0]. The reset duration is not affected by RPCTL when the cmd_pad_rst signal is active for a duration longer than the value programmed in MRD[4:0]. The MRD[4:0] is used to adjust the minimum activation time between 1 to 31 ms.
Note: The RPCTL uses the LSI clock in order to control the reset width. When cmd_pad_rst goes high, the RPCTL requests the LSI clock in order to control the reset duration. If the LSI was not enabled by another function, it may take some microseconds before having the LSI ready (TLSI_SU).
Figure 75. NRST reset pulse control

The diagram illustrates the NRST reset pulse control mechanism. It shows four signals over time: cmd_pad_rst, RPCTL_lsi_ck, RPCTL_cnt, and NRST.
Top Scenario (Short cmd_pad_rst pulse):
- cmd_pad_rst transitions from low to high.
- RPCTL_lsi_ck starts after a setup time \(T_{LSI\_SU}\) following the rising edge of cmd_pad_rst.
- RPCTL_cnt is loaded with the value MRD (MRD-1, MRD-2, ...).
- NRST transitions from high to low at the rising edge of cmd_pad_rst and remains low for a duration of \(T_{LSI\_SU} + MRD \times 1ms\).
- NRST transitions back to high when RPCTL_lsi_ck goes high.
Bottom Scenario (Long cmd_pad_rst pulse):
- cmd_pad_rst transitions from low to high and remains high for a longer duration.
- RPCTL_lsi_ck starts after a setup time \(T_{LSI\_SU}\) following the rising edge of cmd_pad_rst.
- RPCTL_cnt is loaded with the value MRD (MRD-1, MRD-2, ...).
- NRST transitions from high to low at the rising edge of cmd_pad_rst and remains low for a duration of \(T_{LSI\_SU} + MRD \times 1ms\).
- NRST transitions back to high when RPCTL_lsi_ck goes high, even though cmd_pad_rst is still high.
MSv71450V1
NRSTC1MS I/O
The RPCTL is the same as the NRST except the following:
- • It is located into the \(V_{DDCORE}\) domain and the NRSTC1MS pin is open drain.
- • It is reset after a system reset.
- • It is controlled by C1MSRST and C1MSRD[4:0] in RCC_C1MSRDCR.
Figure 76. NRSTC1MS reset pulse control

MSv71451V1
20.3.11 Reset coverage summary
The table below gives a detailed view of reset sources and reset domains. Each column represents a reset source.
Note: It is assumed that when \(V_{DD}\) is not valid, \(V_{DDCORE}\) and \(V_{DDCPU}\) are not valid.
Table 115. Reset coverage summary
| Reset items | Reset lines(1) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| por_rstn(2) | vcore_rstn | sys_rstn | app_rstn | vcpu_rstn | cpu1_rstn | cpu2_rstn | dbg_rstn | perx_rstn | vsw_rstn | |
| \(V_{DD}\) domain | X | - | - | - | - | - | - | - | - | - |
| DDR ITF | X | X | X | X | - | - | - | - | - | - |
| CPU1 (D1 domain) | X | - | X | X | X | X | - | - | - | - |
| CPU2 (D2 domain) | X | X | X | X | - | - | X | - | - | - |
| AXI/AHB interconnections (D2 domain) | X | X | X | X | - | - | - | - | - | - |
| CoreSight debug components: reset all the debug parts including the ones located in CPU1 except SWJ-DP function. The SWJ-DP is reset by NTRST or an app_rstn reset. | X | X | X | X | - | - | - | X | - | - |
| Reset items | Reset lines(1) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| por_rstn(2) | vcore_rstn | sys_rstn | app_rstn | vcpu_rstn | cpu1_rstn | cpu2_rstn | dbg_rstn | perx_rstn | vsw_rstn | ||
| IWDG1 | x | - | - | x | - | x | - | - | - | - | |
| IWDG2 | x | - | - | x | - | x | - | - | x | - | |
| IWDG3 | x | - | - | x | - | - | x | - | - | - | |
| IWDG4 | x | - | - | x | - | - | x | - | x | - | |
| Hardware system init. It includes the memory repair. | x | x | - | x | x | - | - | - | - | - | |
| RCC | RCC_LEGBOOTCR, RCC_STBYBOOTCR, RCC_LSICR | x | - | - | x | - | - | - | - | - | - |
| RCC_HWRSTSCLRR, RCC_C1HWRSTSCLRR, RCC_C2HWRSTSCLRR | x | - | - | - | - | - | - | - | - | - | |
| RCC_IWDGC1FZSETR | x | x | x | x | x | x | - | - | - | - | |
| RCC_IWDGC2FZSETR | x | x | x | x | - | - | x | - | - | - | |
| RCC_RDCR | x | - | - | - | - | - | - | - | - | - | |
| RCC_BDCR | - | - | - | - | - | - | - | - | - | x | |
| Other RCC registers | x | x | x | x | - | - | - | - | - | - | |
| PWR | PWR_CR2, PWR_CR9, PWR_CR10 | - | - | - | - | - | - | - | - | - | x |
| PWR_CR5, PWR_CR6, PWR_WKUPCRx | x | - | - | x | - | - | - | - | - | - | |
| PWR_D1CR | x | - | - | - | - | - | - | - | - | - | |
| PWR_CPU1CR, PWR_CPU2CR, PWR_D2CR Individual bits of these registers do not have the same reset condition (see Section 19: Power control (PWR) for details). | x | x | x | x | - | - | - | - | - | - | |
| Other registers | x | x | x | x | - | - | - | - | - | - | |
| RTC | - | - | - | - | - | - | - | - | - | x | |
| BKPSRAM and RETRAM After a reset of the VSW domain, BKPSRAM and RETRAM backup regulators are disabled. This is controlled BKPRBSEN in PWR_CR9, RETRBSEN in PWR_CR10 respectively. If the vsw_rstn reset is due to a too low VSW voltage, the content of BKPSRAM and RETRAM is lost. | - | - | - | - | - | - | - | - | - | x | |
| Central RIF components | x | x | x | x | - | - | - | - | - | - | |
| Other peripherals | x | x | x | x | - | - | - | - | x | - | |
- 1. The reset lines that correspond reset item are highlighted in gray.
- 2. When por_rstn is asserted, all resets are asserted as well except perx_rstn and vsw_rstn.
Reset of RCC registers
The table below lists registers having bits into a voltage domain different from VDDCORE. As a consequence some of these registers are not always reset by sys_rstn. The RCC registers not shown in the table below are reset by sys_rstn.
Table 116. RCC registers with specific reset and specific voltages
| RCC register name | Voltage domain | Reset condition | Comment |
|---|---|---|---|
| RCC_LEGBOOTCR, RCC_STBYBOOTCR, RCC_LSICR, RCC_IWDGC1CFGSETR, RCC_IWDGC1CFGCLRR, RCC_IWDGC2CFGSETR, RCC_IWDGC2CFGCLRR | VDD | app_rstn | Must be reset after a system reset, but not after Standby reset |
| RCC_OCENSETR, RCC_OCENCLRR, RCC_OCRDYR, RCC_HSICFGR, RCC_MSICFGR | sys_rstn | - | |
| RCC_HWRSTSCLRR, RCC_C1HWRSTSCLRR, RCC_C2HWRSTSCLRR, RCC_RDCR | por_rstn | Only reset when a VDD is removed | |
| RCC_BDCR | VSW | vsw_rstn | VSWRST not reset by por_vsw_rstn |
20.3.12 Reset source identification
The RCC offers the following registers in order to identify the root cause of reset:
- • RCC hardware reset status clear register (RCC_HWRSTSCLRR)
- • RCC CPU1 hardware reset status clear register (RCC_C1HWRSTSCLRR)
- • RCC CPU2 hardware reset status clear register (RCC_C2HWRSTSCLRR)
- • RCC CPU1 boot reset status set register (RCC_C1BOOTRSTSSETR)
- • RCC CPU1 boot reset status clear register (RCC_C1BOOTRSTSCLRR)
- • RCC CPU2 boot reset status set register (RCC_C2BOOTRSTSSETR)
- • RCC CPU2 boot reset status clear register (RCC_C2BOOTRSTSCLRR)
The first booting CPUx can access RCC_HWRSTSCLRR to identify the reset root cause. It also relies on PWR_CPUxCR content (see Section 19: Power control (PWR) for details) to set which kind of boot sequence must be performed after any kind of reset. RCC_C1HWRSTSCLRR and RCC_C2HWRSTSCLRR are respectively dedicated to CPU1 and CPU2 to identify their own root cause of reset.
When CPU1 first booting, the boot ROM uses RCC_HWRSTSCLRR, RCC_C1HWRSTSCLRR, and PWR_CPU1CR to set the boot reset reason via RCC_C1BOOTRSTSSETR after every system reset, power-on reset, or exit from Standby. The CPU1 can then check the boot reason and clear the flags via RCC_C1BOOTRSTSCLRR.
When CPU2 first booting, the CPU2 boot code uses also RCC_HWRSTSCLRR, RCC_C2HWRSTSCLRR, and PWR_CPU2CR to set the boot reset reason via RCC_C2BOOTRSTSSETR.
Note: STBYC1RSTF, STBYC2RSTF, D2STBYRSTF and D1STBYRSTF flags in RCC_C1BOOTRSTSSETR and RCC_C2BOOTRSTSSETR are copied from SBF, SBF_D2 and SBF_D1 in PWR_CPU1CR and PWR_CPU2CR.
There is not any hardware protection on bit clear inside RCC_HWRSTSCLRR, RCC_C1HWRSTSCLRR, and RCC_C2HWRSTSCLRR. Once the boot reset reason has
been set, the application (CPU1 or/and CPU2) must clear RCC_HWRSTSLRR, RCC_C1HWRSTSLRR, and RCC_C2HWRSTSLRR.
Figure 77. Reset source registers

The diagram illustrates the Reset source registers and their interaction with physical registers and hardware blocks. It is divided into three main sections: Register map, Physical registers, and hardware blocks.
- Register map:
- Write access by first CPU booting: RCC_HWRSTSLRR
- Write access by CPU1: RCC_C1HWRSTSLRR
- Write access by CPU2: RCC_C2HWRSTSLRR
- Dedicated to CPU1: RCC_C1BOOTRSTSSETR and RCC_C1BOOTRSTSLRR (grouped in a dashed box)
- Dedicated to CPU2: RCC_C2BOOTRSTSSETR and RCC_C2BOOTRSTSLRR (grouped in a dashed box)
- Physical registers:
- RCC_HWRSTS
- RCC_C1HWRSTS
- RCC_C2HWRSTS
- PWR_CPU1CR
- PWR_CPU2CR
- RCC_C1BOOTRSTS
- RCC_C2BOOTRSTS
- Hardware blocks:
- RCC hardware: Interacts with RCC_HWRSTS, RCC_C1HWRSTS, and RCC_C2HWRSTS via 'Set bits' and 'Read-back' signals.
- PWR hardware: Interacts with PWR_CPU1CR and PWR_CPU2CR via 'Set bits' and 'Reset flags' signals.
- Interactions:
- Write access from the Register map to Physical registers is labeled 'Clear bits'.
- Read-back from Physical registers to the Register map is labeled 'Read-back'.
- Set bits from hardware to physical registers are labeled 'Set bits'.
- Reset flags from physical registers to hardware are labeled 'Reset flags'.
- Interactions between the dedicated set/reset registers and their corresponding physical registers are labeled 'Set bits', 'Read-back', and 'Clear bits'.
MSv71452V1
The table below shows the status bits in RCC_HWRSTSCLRR, RCC_C1HWRSTSCLRR, and RCC_C2HWRSTSCLRR according to the reset source.
Table 117. RCC HWRSTSCLRR, RCC_C1HWRSTSCLRR, RCC_C2HWRSTSCLRR flags(1)
| # | Reset source | RETECCFAILRESTRSTF | RETECCFAILCRCRSTF | RETCRCERRSTF | C2RSTF | C1RSTF | IWDG4SYSRSTF | IWDG3SYSRSTF | IWDG2SYSRSTF | IWDG1SYSRSTF | SYSC2RSTF | SYSC1RSTF | VCPURSTF | VCORERSTF | HCSSRSTF | PADRSTF | BORRSTF | PORRSTF |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Power-on reset (por_rstn) | - | - | - | 1 | 1 | - | - | - | - | - | - | 1 | 1 | - | 1 | - | 1 |
| 2 | Brownout reset (bor_rstn) | - | - | - | 1 | 1 | - | - | - | - | - | - | - | - | - | 1 | 1 | - |
| 3 | Pin reset from NRST | - | - | - | 1 | 1 | - | - | - | - | - | - | - | - | - | 1 | - | - |
| 4 | Clock failure on HSE | - | - | - | 1 | 1 | - | - | - | - | - | - | - | - | 1 | 1 | - | - |
| 5 | System reset (SYSRST) by CPU1 | - | - | - | 1 | 1 | - | - | - | - | - | 1 | - | - | - | 1 | - | - |
| 6 | System reset (SYSRST) by CPU2 | - | - | - | 1 | 1 | - | - | - | - | 1 | - | - | - | - | 1 | - | - |
| 7 | System reset from VCPU monitor | - | - | - | 1 | 1 | - | - | - | - | - | - | 1 | - | - | - | - | - |
| 8 | CPU1 reset by CPU2 (C1RST)(2) | - | - | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - |
| 9 | CPU2 reset by CPU1 (C2RST)(3) | - | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - |
| 10 | System exits Standby in cold boot CPU2 mode without error | - | - | - | 1 | - | - | - | - | - | - | - | - | 1 | - | - | - | - |
| 11 | System exits Standby in other modes(4) without error | - | - | - | 1 | 1 | - | - | - | - | - | - | 1 | 1 | - | - | - | - |
| 12 | System exits Standby with RETRAM CRC error | - | - | 1 | 1 | 1 | - | - | - | - | - | - | 1 | 1 | - | 1 | - | - |
| 13 | System exits Standby with RETRAM ECC failure during CRC | - | 1 | - | 1 | 1 | - | - | - | - | - | - | 1 | 1 | - | 1 | - | - |
| 14 | System exits Standby with RETRAM ECC failure during system restoration | 1 | - | - | 1 | 1 | - | - | - | - | - | - | 1 | 1 | - | 1 | - | - |
| 15 | D1 domain exits DStandby | - | - | - | - | 1 | - | - | - | - | - | - | 1 | - | - | - | - | - |
| 16 | IWDG1 system reset (iwdg1_out_rst) | - | - | - | 1 | 1 | - | - | - | 1 | - | - | - | - | - | 1 | - | - |
| 17 | IWDG2 system reset (iwdg2_out_rst) | - | - | - | 1 | 1 | - | - | 1 | - | - | - | - | - | - | 1 | - | - |
| 18 | IWDG3 system reset (iwdg3_out_rst) | - | - | - | 1 | 1 | - | 1 | - | - | - | - | - | - | - | 1 | - | - |
| 19 | IWDG4 system reset (iwdg4_out_rst) | - | - | - | 1 | 1 | 1 | - | - | - | - | - | - | - | - | 1 | - | - |
- 1. The 1 status is highlighted in grey.
- 2. This bit is set when C1RST is activated in RCC_C1RSTCSETR.
- 3. This bit is set when C2RST is activated in RCC_C2RSTCSETR.
- 4. VCPURSTF is present only when D1 is not in kept in DStandby.
20.3.13 Power-on and wake-up sequences
For detailed diagrams refer to Section 19: Power control (PWR).
The time interval between the event which exits the product from a low-power mode and the moment where the CPUs are able to execute code, depends on the state of the system and its configuration. Figure 78 shows the most usual examples.
Power-on wake-up sequence
The power-on wake-up sequence of Figure 78 gives the most significant phases of the power-on sequence. It is the longest sequence as the circuit was not powered.
Note: This sequence remains unchanged if \(V_{BAT}\) was present or not.
Boot sequence from pin reset (NRST)
The pin reset gives the most important steps of the boot sequence.
Note: In this case, \(V_{DD}/V_{DDA}\) have not been removed.
- • The setting time is faster as the reference voltage is already stable.
- • The HSI restart delay may be needed if the HSI was not enabled when the NRST occurred. Otherwise this restart delay phase is skipped.
- • The option byte reloading is performed.
Boot sequence from system Standby
For a wake-up from system Standby, as the \(V_{DD}\) is not removed, the settling time is also fast as the reference voltage is already stable. As \(V_{DDCORE}\) and \(V_{DDCPU}\) were not there, the restart delay for the HSI cannot be skipped.
In the cold boot CPU2 and wake-up event modes, when the system exits Standby, the CRC is run on the RETRAM content, whatever the wake-up source. This fastens the CPU2 firmware execution in case of CPU2 wake-up event.
Restart sequence from system Stop
For a restart from system Stop1, both \(V_{DDCORE}\) and \(V_{DDCPU}\) have not been removed, so the settling time is mainly due to the restart delay of the clock. The system restarts according to the clock restore sequence (see Clock restore sequence for details).
For a restart from system Stop2, in case of CPU1 wake-up event, the boot ROM code execution time is added.
Figure 78. Boot sequences versus system states
Power-on wakeup (with or without VBAT)
VDD > POR
EXT REG + bandgap | HSI | OTP_LD | MEM | BR | APP | Time
PAD reset (or bor_rstn, iwdgx_out_rst, and so on)
NRST goes high
HSI | OTP_LD | MEM | BR | APP | Time
Wakeup from system Standby in legacy mode
Wakeup event
VCORE/VCPU REG | HSI | MEM | BR | APP | Time
Wakeup from system Standby in wakeup mode
Wakeup event
VCORE/VCPU REG | HSI | MEM | CRC | BR | APP | Time
Wakeup from system Stop2
Wakeup event
VCPU REG | CK_RESTORE | BR | APP | Time
Restart from system Stop1
Wakeup event
CK_RESTORE | APP | Time
Restart from system LP-Stop
Wakeup event
LP_TEMPO | CK_RESTORE | APP | Time
| EXT REG + bandgap | Bandgap and external regulator settling time | BR | Boot ROM code | APP | Control given to the application |
| VCORE/VCPU REG | External VCORE and VCPU regulators settling time | OTP_LD | Option-byte loading | MEM | Memory repair delay |
| CK_RESTORE | Restore previous clock config | HSI | HSI restart delay | CRC | RETRAM CRC |
MSv71453V1
CPUx state after application reset
After an application reset (from IWDG, POR, BOR, or pin), the CPU1 always starts the boot ROM code execution. The boot ROM code selects which CPU has to boot first (CPU1 or CPU2) while the other CPU is maintained on HOLD_BOOT state. The CPUx selected to boot first is called cold boot CPU.
This HOLD_BOOT state is controlled via BOOT_CPU1 and BOOT_CPU2 in RCC_CPUBOOTCR (see HOLD_BOOT CPUx state for more details).
CPUx state after Standby exit
After any system Standby exit (vcore_rstn and vcpu_rstn are low), the product can select which CPUx (CPU1 or CPU2) boots first.
The selection of the first CPUx to boot depends on the following criteria:
- • LEGACY_BEN, COLD_CPU2, and CPU_BEN_SEL in RCC_LEGBOOTCR and RCC_STBYBOOTCR
They are reset by hardware after an application reset (from IWDG, POR, BOR, or pin), but not when the product exits Standby. These bits are located in the VDD domain in order to be reset after a power-on reset. - • cpu1_hw_ben and cpu2_hw_ben from the PWR (see Section : PWR entering Standby mode)
There are different behaviors regarding this selection process.
- • Legacy mode for first CPUx selection boot
This mode is active when LEGACY_BEN is set to 1. In this mode, only CPU1 is allowed to boot, thus to execute the boot ROM code, while CPU2 is always maintained on HOLD_BOOT by the hardware.
In order to allow CPU2 to boot, CPU1 must only set BOOT_CPU2 in RCC_CPUBOOTCR. - • Cold boot CPU2 mode for first CPUx selection boot
This mode is active when LEGACY_BEN is cleared to 0 and COLD_CPU2 is set to 1. In this mode, only CPU2 can boot, while CPU1 is always maintained on HOLD_BOOT by the hardware. In case of RETRAM CRC or ECC failure, an application reset is triggered.
In order to allow CPU1 to boot, CPU2 must set BOOT_CPU1 located in RCC_CPUBOOTCR and CPU1_HW_BEN must be active. - • Wake-up event mode for first CPUx selection boot
This mode is active when LEGACY_BEN and COLD_CPU2 are cleared to 0. In this mode, the selection of the first CPUx to boot is based on CPU1_HW_BEN and CPU2_HW_BEN which are set according to the Standby exit wake-up events definition done in the PWR (see Section 19: Power control (PWR) for details about CPU1_HW_BEN and CPU2_HW_BEN).
Example: if a CPU2 wake-up event occurs, the CPU2 boots on the authenticated RETRAM (based on hardware CRC engine), and restores the product security configuration, while CPU1 is kept on HOLD_BOOT state (see HOLD_BOOT CPUx state for details).
Table 118. First CPUx boot selection
| LEGACY_BEN | COLD_CPU2 | CPU_BEN_SEL | CPU1_HW_BEN | CPU2_HW_BEN | First CPUx boot selection |
|---|---|---|---|---|---|
| 1 | 0 | NA | 0 | 0 | CPU1 |
| 1 | 0 | ||||
| 0 | 1 | ||||
| 1 | 1 |
Table 118. First CPUx boot selection (continued)
| LEGACY_BEN | COLD_CPU2 | CPU_BEN_SEL | CPU1_HW_BEN | CPU2_HW_BEN | First CPUx boot selection |
|---|---|---|---|---|---|
| 0 | 0 | NA | 1 | 0 | CPU1 |
| 0 | 1 | CPU2 | |||
| 0 | 0 | 0 | CPU1 | ||
| 1 | |||||
| 0 | 1 | 1 | CPU1 | ||
| 1 | CPU2 | ||||
| 1 | NA | NA | NA | CPU2 |
HOLD_BOOT CPUx state
The RCC is used to put either CPU1 or CPU2 on HOLD_BOOT every time the CPUx is reset by a CPU reset (cpu1_rstn or cpu2_rstn).
This function is controlled by BOOT_CPU1 and BOOT_CPU2 in Section 20.8.27.
For example, after a CPU2 reset (cpu2_rstn), if BOOT_CPU2 = 0, the CPU2 is kept on HOLD_BOOT state. Else CPU2 is allowed to boot.
Having one CPUx on HOLD_BOOT does not prevent the system to go to Stop or Standby mode. For example, when CPU2 is on HOLD_BOOT, the system is in Stop if CPU1 goes to CStop, then if CPU1 allows the Standby mode (if PDDS bits are set to 1), then the system goes to Standby. The same behavior applies for CPU2 when CPU1 is on HOLD_BOOT.
Figure 79 shows an example of CPU2 reset (cpu2_rstn).
If BOOT_CPU2 = 0, the CPU2 stays in HOLD_BOOT mode until CPU1 sets BOOT_CPU2 to 1.
If BOOT_CPU2 = 1, the CPU2 switches immediately to CRun mode as soon as the CPU2 hardware reset sequence is completed.
In that case, the HOLD_BOOT state is equivalent to CStop. This means that when the CPUx is in HOLD_BOOT, all peripherals allocated by it, are no longer clocked, except the ones able to request a kernel clock, or working with lse_ck or lsi_ck.
Note: Once CPU2 is in CRun, the BOOT_CPU2 bit can be cleared again to 0 without disturbing the CPU2 activity. In that way, the CPU2 is again set in HOLD_BOOT state the next time it is reset via cpu2_rstn. It also applies to CPU1.
Figure 79. HOLD_BOOT CPUx reset

The diagram illustrates the timing of the HOLD_BOOT CPUx reset sequence. It is divided into two main sections based on the initial state of BOOT_CPU2:
- BOOT_CPU2 = 0 when the CPU2 is reset: Shows the sequence starting with a reset (cpu2_rstn low), followed by a transition to HOLD_BOOT mode, and then back to CRun mode.
- BOOT_CPU2 = 1 when the CPU2 is reset: Shows the sequence starting with a reset (cpu2_rstn low), followed by a transition to CRun mode, and then back to CRun mode.
The diagram also shows the relationship between the CPU2 mode and the BOOT_CPU2 signal. The CPU2 mode is shown as a sequence of states: CRun, HOLD_BOOT, CSleep, CRun, CStop. The BOOT_CPU2 signal is shown as a high signal during the CRun and CSleep states, and low during the HOLD_BOOT and CStop states.
Legend: CPU2 reset sequence
MSV71454V1
HOLD_BOOT CPUx state after D1 Standby exit
In this case, the CPU1 HOLD_BOOT state is controlled by BOOT_CPU1 in RCC_CPUBOOTCR.
If BOOT_CPU1 = 1, the CPU1 reset is released to allow its boot sequence.
HOLD_BOOT CPUx state after system Standby exit
In this case, HOLD_BOOT state depends on the selection mode of the first CPUx to boot.
Table 119. HOLD_BOOT state control after system Standby exit
| LEGACY_BEN | CPU1 HOLD_BOOT control | CPU2 HOLD_BOOT control |
|---|---|---|
| 0 | CPU1_HW_BEN(1), RCC_STBYBOOTCR.COLD_CPU2, RCC_STBYBOOTCR.CPU_BEN_SEL and RCC_CPUBOOTCR.BOOT_CPU1 | CPU2_HW_BEN(1), RCC_STBYBOOTCR.COLD_CPU2, RCC_STBYBOOTCR.CPU_BEN_SEL and RCC_CPUBOOTCR.BOOT_CPU2 |
| 1 | None | RCC_CPUBOOTCR.BOOT_CPU2(2) |
- CPU1_HW_BEN and CPU2_HW_BEN mirror the wake-up events defined in the PWR to exit system Standby. They can be read in RCC_STBYBOOTCR.
- The reset value of BOOT_CPU2 applies in this case (see Legacy mode for first CPUx selection boot).
In legacy mode, the HOLD_BOOT state is controlled in the same way as the one described in HOLD_BOOT CPUx state.
Figure 80. HOLD_BOOT state in legacy mode

In wake-up event mode, the HOLD_BOOT state is dependent on CPU1_HW_BEN and CPU2_HW_BEN.
Figure 81. HOLD_BOOT state in wake-up single event mode
![Figure 81. HOLD_BOOT state in wake-up single event mode: Shows two timing sub-diagrams. Top sub-diagram: System exits from Standby with CPU1 wake-up event during HOLD_BOOT (sys_rstn, CPU1_HW_BEN, BOOT_CPU1, CPU1 mode [Off -> CPU1 reset sequence -> HOLD_BOOT -> CRun], CPU2_HW_BEN, BOOT_CPU2, CPU2 mode [Off -> CPU2 reset sequence -> CRun -> CSleep -> CRun -> CStop]). Bottom sub-diagram: System exits from Standby with CPU1 wake-up event after HOLD_BOOT (sys_rstn, CPU1_HW_BEN, BOOT_CPU1, CPU1 mode [Off -> CPU1 reset sequence -> HOLD_BOOT -> WFBEN -> CRun], CPU2_HW_BEN, BOOT_CPU2, CPU2 mode [Off -> CPU2 reset sequence -> CRun -> CSleep -> CRun -> CStop]). Legend defines CPU1 reset sequence (stippled pattern) and CPU2 reset sequence (hatched pattern). Part number MSv71456V1.](/RM0506-STM32MP21/c7926188794b1018cf9008c6cbd59cd8_img.jpg)
In this example, the CPU2 is selected first, and it can release the CPU1 HOLD_BOOT state by setting the BOOT_CPU1 bit.
Figure 82. HOLD_BOOT state in wake-up dual event mode

The diagram illustrates the wake-up sequence for a dual-core system (CPU1 and CPU2) from a standby state. It is divided into two main scenarios based on the value of the CPU2_BEN_SEL signal when exiting standby.
Scenario 1: System exits Standby with CPU2_BEN_SEL = 0
- sys_rstn: A low pulse initiates the wake-up sequence.
- CPU2_BEN_SEL: Remains low throughout the sequence.
- CPU1_HW_BEN: Transitions from low to high, then back to low.
- BOOT_CPU1: Transitions from low to high.
- CPU1 mode: Starts in 'Off', enters a 'CPU1 reset sequence' (shaded box), then transitions to 'CRun'. Later, it enters 'CSleep' and returns to 'CRun'.
- CPU2_HW_BEN: Transitions from low to high, then back to low.
- BOOT_CPU2: Transitions from low to high.
- CPU2 mode: Starts in 'Off', enters a 'CPU2 reset sequence' (shaded box), then transitions to 'HOLD_BOOT'. Later, it transitions to 'CRun' and then 'CStop'.
Scenario 2: System exits Standby with CPU2_BEN_SEL = 1
- CPU2_BEN_SEL: Transitions from low to high.
- CPU1_HW_BEN: Transitions from low to high, then back to low.
- BOOT_CPU1: Transitions from low to high.
- CPU1 mode: Starts in 'Off', enters a 'CPU1 reset sequence' (shaded box), then transitions to 'HOLD_BOOT'. Later, it transitions to 'CRun'.
- CPU2_HW_BEN: Transitions from low to high, then back to low.
- BOOT_CPU2: Transitions from low to high.
- CPU2 mode: Starts in 'Off', enters a 'CPU2 reset sequence' (shaded box), then transitions to 'CRun', then 'CSleep', then 'CRun', and finally 'CStop'.
Legend:
- Shaded box (horizontal lines): CPU1 reset sequence
- Shaded box (diagonal lines): CPU2 reset sequence
MSv71457V1
Note: Once a CPU is in CRun, BOOT_CPU1 and BOOT_CPU2 bits can be modified without disturbing the CPU activity.
HOLD_BOOT and WFBEN status for both CPUs are accessible in PWR_CPU1D1SR and PWR_CPU2D2SR (see Section 19: Power control (PWR) for details).
20.4 RCC functional description - Clocks
The RCC provides a high degree of flexibility to the application in the choice of the clock generators:
- • clock from HSI (high-speed internal) oscillator (~ 64 MHz)
- • clock from HSE (high-speed external) oscillator (8 to 48 MHz)
- • clock from LSE (low-speed external) oscillator (32 kHz)
- • clock from LSI (low-speed internal) oscillator (~ 32 kHz)
- • clock from MSI (low-power internal) oscillator (~ 16 MHz)
The RCC offers a good flexibility for the application to select the appropriate clock for CPUs and peripherals, especially for peripherals that need a specific clock (such as SPI(I2S), SAI and SDMMC).
Each clock source can be switched on or off independently in order to optimize the power consumption.
There are mainly three clock paths:
- • CPU1 bus matrix
- • CPU2 and its bus matrix
- • peripheral kernel clocks
Clocking of CPU1 and DDR interfaces are derived locally because of high frequency use. The RCC manages only the source clocks for their related local PLLs.
The RCC provides a flexible clock engine named flexclkgen based on five PLLs and HSI, HSE, MSI and CK_IN clocks to generate all root clocks.
These root clocks are used in the final clock gating stage to generate all product clocks according to the different product system modes (such as Run, Stop, or Standby).
The block named clock enable unit is used to gate the peripheral kernel clock, the bus interface, cores, and bus matrix clocks.
The block named clock manager unit is responsible of the clock stop and restore sequences according to the CPU power states.
As shown in Figure 83, the RCC offers two clock outputs (MCO1 and MCO2), with a great flexibility on the clock selection and frequency adjustment.
Figure 83. Top-level clock tree

The diagram illustrates the top-level clock tree for the Reset and Clock Control (RCC) block. It shows the flow of clock signals from various sources through different domains and generation units to various subsystems.
Inputs: OSC32_IN, OSC32_OUT, OSC_IN, OSC_OUT, CK_IN, spdifrx_symb_ck.
Domains:
- VSW domain (Backup): Contains LSE, CSS, LSEON, LSERDY, and a multiplexer for rtc_ck. It receives inputs from OSC32_IN/OUT and provides output to RTC/AWU.
- VDD domain: Contains LSI, MSI, HSE, HSI, and their respective enable and ready signals (LSION, MSION, HSEON, HSION, LSIKERON, MSIKERON, HSEKERON, HSIKERON). It provides outputs to IWDG1,2,3,4 and various internal clock signals (lsi_ck, msi_ck, hse_ck, hsi_ck).
Clock Generation and Management:
- Flexclkgen: A central block that takes hsi_ck, hse_ck, and msi_ck as inputs. It includes a MUXSEL, GFGs (PLL8, PLL7, PLL6, PLL5, PLL4), XBAR (select+enable), PREDIV (div1-div1024), and FINDIV (div1-div64+enable). It provides outputs to the CA35SS, DDRSS, AXI subsystem, MCU subsystem, and peripherals.
- CA35SS: Contains PLL1 with VCO and DIVN, receiving ext2f_ck.
- DDRSS: Contains PLL2 with VCO, DIVN, FRACN, and SSC, receiving ext2f_ck.
- Root Ctl: A dashed box indicating the root clock control source.
- Clock manager unit and Clock enable unit are also part of the clock management structure.
Other components: MSI frequency monitor, HSI frequency monitor, MCO1, MCO2, and various multiplexers and dividers (e.g., RTCDIV, /1 to 64, findiv_61, findiv_62, flexclk_obs0, flexclk_obs1).
MSv71458V3
20.4.1 Clock naming convention
The RCC provides clocks to the complete circuit. In order to avoid misunderstanding, the following terms are used in this document:
- • peripheral clocks
Clocks provided by the RCC to peripherals (xxx as peripheral name):
- – programing bus interface clocks ck_icn_p_xxx
- – master data bus interface clocks ck_icn_m_xxx
- – slave data bus interface clocks ck_icn_s_xxx
- – kernel clocks ck_ker_xxx
A peripheral receives from the RCC one or several bus interface clocks. This clock is generally the AHB, APB, or AXI clock depending on which bus the peripheral is connected to. Some peripherals only need a bus interface clock (such as GPIOx or DMAx).
Some peripheral request as well a dedicated clock in order to handle the interface function. This clock is named kernel clock. For example peripherals such as SAI, need to generate specific and accurate master clock frequencies, which request dedicated kernel clock frequencies. Another advantage of decoupling the bus interface clock from the specific need of the interface, is that the bus clock can be changed without requesting any reprogramming of the peripheral.
- • external PLL reference clocks
For CPU1 and DDR, the RCC provides the following clocks:
- – ck_pll1_ref source clock for PLL1 (CPU1)
- – ck_pll2_ref source clock for PLL2 (DDR)
- • bus matrix clocks
Clocks provided to the different bridges (APB, AHB or AXI), called ck_icn_xxx, with xxx is the bus matrix island clock name
20.4.2 Oscillator description
The table hereafter shows the oscillator states versus system modes when the oscillators are enabled via registers. The term “available” means that the resource can be used if activated via registers.
Table 120. Oscillator states versus system modes
| System modes | VDD domain | VSW domain | ||||
|---|---|---|---|---|---|---|
| HSE | HSI | RCBSEC | LSI | MSI | LSE | |
| Exit from system reset | OFF | ON | ON | Available | OFF | Available |
| In Run1, Run2 | Available | Available | ON | Available | Available | Available |
| In LP-Stop, Stop1, Stop2 | Available(1) | Available(2) | OFF | Available | Available(3) | Available |
| In LPLV-Stop | OFF | OFF | OFF | Available | OFF | Available |
| In Standby | OFF | OFF | OFF | Available | OFF | Available |
| In VBAT | OFF | OFF | OFF | OFF | OFF | Available |
1. HSE can remain activated in Stop mode if HSEKERON = 1, or if the peripheral generates a kernel clock request.
- 2. HSI can remain activated in Stop mode if HSIKERON = 1, or HSION = 1, or if the peripheral generates a kernel clock request or a bus interface clock request (autonomous peripheral).
- 3. MSI can remain activated in Stop mode if MSIKERON = 1, or if the peripheral generates a kernel clock request.
HSE oscillator
The HSE can generate a clock from three possible sources:
- • external analog clock source
- • external digital clock source
- • external crystal/ceramic resonator
In order to allow the boot ROM to detect in which configuration the HSE is used, a resistor (R₁) must be connected either to the GND or to \(V_{DD}\).
The resistor must be connected to GND when the HSE uses an external digital clock. The resistor must be connected to \(V_{DDA18AON}\) when the HSE uses an external analog clock, and removed if a crystal or ceramic resonator is used. See the datasheet for \(C_{L1}\), \(C_{L2}\) and R₁ values.
Figure 84. HSE clock source

MSv71459V1
HSERDY in RCC_OCRDYR indicates if the HSE is stable or not. When the HSE is enabled (HSEON = 1), HSERDY goes to 1 when 1024 cycles of HSE clock have been counted. The hse_ck clock is not released until HSERDY is set by hardware. An interrupt can be generated if enabled in RCC_C1CIESETR or RCC_C2CIESETR.
Figure 85. HSE clock generation

The diagram illustrates the HSE clock generation logic within the RCC. It shows the HSE_OSC block with OSC_IN and OSC_OUT pins. The OSC_IN signal is controlled by a multiplexer (controlled by HSEBYP) that can bypass the internal oscillator. The output of this multiplexer goes to a 'Ready logic' block. The 'Ready logic' block output is ANDed with the HSE_OSC output to produce hse_ck. hse_ck is also fed into an HSE_DIV2 block, which is controlled by HSEDIV2BYP to produce hse_div2_ck. The HSE_OSC output is also fed into an HSE_CSS block, which produces hse_css_rst. The HSE_OSC output is also fed into a Clock squarer block, which is controlled by HSEDIGBYP. The Clock squarer output is fed into the HSE_OSC block. The HSE_OSC output is also fed into an HSERDY block.
The HSE frequency can also be measured via the clock frequency calculator module in the flexclkgen engine (see Section 20.6.1 for details).
Note: The HSE can be kept enabled when the system is in one of LP-Stop or Stop modes (see Section 20.4.8).
The HSE clock can be driven to MCO1 and MCO2 outputs, and can be used as a clock source for other application components.
External clock configuration (HSE bypass)
The HSE accepts an external clock source on OSC_IN when the bypass mode is selected (HSEBYP = 1).
The external clock signal connected to OSC_IN pin can be digital or low-swing (analog). The low-swing clock signal is supported thanks to an internal clock squarer. The input signal must have a duty cycle close to 50%.
In order to switch the HSE in external clock mode, the following steps are needed:
- 1. Disable the HSE by writing 1 to HSEON in RCC_OCENCLRR.
- 2. Check that the HSE is disabled (HSERDY = 0 in RCC_OCRDYR).
- 3. Set HSEDIGBYP
- – to 1 if the clock provided to OSC_IN is full-swing digital signal
- – to 0 if the clock provided to OSC_IN is low-swing signal
This bit is controlled via RCC_OCENSETTR and RCC_OCENCLRR.
- 4. Set HSEBYP bit by writing 1 to HSEBYP in RCC_OCENSETTR.
- 5. Enable again the HSE by writing 1 to HSEON in RCC_OCENSETTR, to activate hse_ck.
- 6. Check that the HSE is ready for use (HSERDY = 1 in RCC_OCRDYR).
The OSC_OUT pin must be left HI-Z (see Figure 84 and Figure 85 for details). Refer to the datasheet for additional information.
External crystal/ceramic resonator configuration
The oscillator is enabled by setting HSEBYP to 0 and HSEON to 1.
The HSE can be used when the product needs a very-accurate high-speed clock. When HSEDIV2ON = 1 in RCC_OCSETR, a divide-by-two clock path (hse_div2_ck) is available for dedicated peripherals that require the same low noise sensitivity as USB2PHY1 or USB2PHY2. HSEDIV2BYP in RCC_OCSETR selects the hse_div2_ck clock source.
The associated hardware configuration is shown in Figure 84. The resonator and the load capacitors have to be placed as close as possible to the oscillator pins in order to minimize the output distortion and the startup stabilization time. The loading capacitance values must be adjusted according to the selected crystal or ceramic resonator (see the electrical characteristics of the datasheet for more details).
HSI oscillator
The HSI provides the default clock to the product. It is a high-speed internal RC oscillator which can also be used directly as clock source for CPUx, interconnects, and peripherals, or as PLL input.
Some HSI advantages are listed below:
- • no need of external crystal (low-cost clock source)
- • startup time faster than HSE (few microseconds)
- • reduced power consumption
The HSI frequency precision, even with frequency calibration, is less accurate than an external crystal oscillator or ceramic resonator.
Care must be taken when the HSI is used as kernel clock for communication peripherals: the application has to take into account the following parameters:
- • time interval between the moment where the peripheral generates a kernel clock request, and the moment where the clock is really available
- • frequency accuracy
Note: The HSI can be kept enabled when the system is in one of LP-Stop or Stop modes (see Section 20.4.8).
HSIRDY in RCC_OCRDYR indicates if the HSI is stable or not. At startup, the HSI output clock is not released until HSIRDY is set by hardware. The HSI activation can also be controlled by the application via HSION in RCC_OCSETR and RCC_OCENCLRR.
The HSI clock can be driven to MCO1 and MCO2 outputs and can be used as a clock source for other application components.
HSI calibration
RC oscillator frequencies can vary from one chip to another due to manufacturing process variations. This is why each device is factory calibrated by ST for an accuracy of \(ACC_{HSI}\) (see the product datasheet for more information).
When an app_rstn occurred, the factory calibration value is reloaded in the HSI, and is visible in HSICAL[8:0] bits. If the application is subject to voltage or temperature variations, this may affect the RC oscillator frequency. The user can trim the HSI frequency using the HSITRIM[6:0] bits. HSICAL[8:0] and HSITRIM[6:0] are in RCC_HSICFGR (see Section 20.6.2 for additional information).
Figure 86. HSI calibration flow
![Block diagram of HSI calibration flow. The BSEC block provides bsec_hsi_cal[8:0] to an adder (+) inside the RCC block. The adder also receives HSITRIM[6:0] (signed) from the RCC_HSICFGR register. The output of the adder is hsi_cal[8:0], which is sent to the HSI block (CAL[8:0]). The RCC_HSICFGR register also provides HSICAL[8:0] (unsigned) feedback from the hsi_cal[8:0] signal.](/RM0506-STM32MP21/b22ccb4efcb335d7e0e8b1274ebe6452_img.jpg)
graph LR
BSEC[BSEC] -- bsec_hsi_cal[8:0] --> Adder((+))
subgraph RCC
Adder -- hsi_cal[8:0] --> HSI[HSI CAL[8:0]]
Adder --> HSICAL[HSICAL[8:0] (unsigned)]
HSICAL --> RCC_HSICFGR[RCC_HSICFGR]
RCC_HSICFGR -- HSITRIM[6:0] (signed) --> Adder
end
MSv71461V1
Note: The HSI clock divided by 8 is also used for I/O compensation mechanism, and needs to be enabled if the I/O compensation mechanism is activated (see Section 23: System configuration controller (SYSCFG) for details).
MSI oscillator
The MSI is a low-power RC oscillator which can also be used directly as source clock for CPUx, interconnects, peripherals, or as PLL input.
The following point must be considered: If the MSI clock is currently used as kernel clock for some peripherals, the application has to ensure that the MSI frequency change does not disturb the peripherals.
Some MSI advantages are listed below:
- • no need of external crystal (low-cost clock source)
- • startup time faster than HSE (few microseconds)
- • very-low-power consumption
Note: The MSI provides a clock frequency of 16 MHz, while the HSI is able to provide a clock up to 64 MHz.
The MSI frequency precision, even with frequency calibration, is less accurate than an external crystal oscillator or ceramic resonator.
Even if the MSI settling time is faster than the HSI one, care must be taken when the MSI is used as kernel clock for communication peripherals: the application has to take into account the following parameters:
- • time interval between the moment where the peripheral generates a kernel clock request and the moment where the clock is really available
- • frequency accuracy
Note: The MSI can be kept enabled when the system is in one of LP-Stop, Stop modes (see Section 20.4.8 for additional information).
The MSI clock can be driven to MCO1 and MCO2 outputs and can be used as a clock source for other application components.
The MSI can also be controlled by the application via MSION in RCC_OCSETR and RCC_OCENCLRR.
MSI calibration
RC oscillator frequencies can vary from one chip to another due to manufacturing process variations. This is why each device is factory calibrated by ST for an accuracy of ACCMSI (see the product datasheet for more information).
When an app_rstn occurred, the factory calibration value is reloaded into the MSI, and is visible on MSICAL[7:0] bits. If the application is subject to voltage or temperature variations, this may affect the RC oscillator frequency. The user can trim the MSI frequency using the MSITRIM[4:0] bits. MSICAL[7:0] and MSITRIM[4:0] are in RCC_MSICFGR (see Section 20.6.2 for additional information).
Figure 87. MSI calibration flow
![Block diagram of MSI calibration flow. A BSEC block sends bsec_msi_cal[7:0] to an adder (+) inside the RCC block. The adder also receives MSITRIM[4:0] (unsigned) from the RCC_MSICFGR register. The output of the adder is msi_cal[7:0], which is sent to the MSI block's CAL[7:0] register. The RCC_MSICFGR register also outputs MSICAL[7:0] (unsigned) from the msi_cal[7:0] signal. The diagram is labeled MSv71462V1 in the bottom right corner.](/RM0506-STM32MP21/39dbbca31ebd8286c584a5a399e396b3_img.jpg)
RCBSEC oscillator
The RCBSEC is a 64 MHz RC oscillator dedicated to clock the BSEC. It is always activated after a vcore_rstn reset.
When the system goes in Stop or Standby mode, the RCBSEC clock is disabled by hardware (see Section 20.4.8 for additional information).
Note: The RCBSEC is also used as the source of the RNG1 and RNG2 kernel clocks. Peripheral kernel clock gating rules apply.
LSE oscillator
The LSE can generate a clock from two possible sources: external crystal/ceramic resonator, or external user clock.
The LSE offers a LSERDY flag which indicates if the LSE clock is available or not. When the LSE is enabled (LSEON = 1), LSERDY goes to 1 when 4096 cycles of LSE clock have been detected. This mechanism is also activated for an external clock source (LSEBYP = 1) with LSERDY set after the detection of 16 cycles of LSE clock. An interrupt can be generated if enabled in RCC_C1CIESETR or RCC_C2CIESETR when the LSE is ready.
Figure 88. LSE clock generation

The LSE oscillator is switched on and off using the LSEON bit. The LSE remains enabled when the system enters Stop, LP-Stop, LPLV-Stop, Standby, or VBAT mode.
The LSE clock can be driven to MCO1 and MCO2 outputs and can be used as a clock source for other application components.
External clock source (LSE bypass)
In this mode, an external clock source must be provided to OSC32_IN pin. The input clock can have a frequency up to 32.768 kHz, and be low-swing. This mode is selected by setting LSEBYP to 1.
The external clock signal can be digital or analog (square, sinus or triangle). Analog clock signal with a reduced amplitude is supported thanks to an internal clock squarer. The input signal must have a duty cycle close to 50%. The OSC32_OUT pin must be left HI-Z (see Figure 84 and Figure 85 for details). Refer to the datasheet for additional information.
In order to select the external clock source, the following steps are needed:
- 1. Set DBP = 1 in PWR_BDCR to allow write accesses to RCC_BDCR.
- 2. Disable the LSE by writing 0 to LSEON.
- 3. Check that the LSE is disabled (LSERDY = 0).
- 4. Set LSEDIGBYP
- – to 1 if the clock provided to OSC32_IN is full-swing digital signal
- – to 0 if the clock provided to OSC32_IN is low-swing signal
- 5. Set LSEBYP to 1.
- 6. Enable again the LSE by writing 1 to LSEON.
- 7. Check that the LSE is ready for use (LSERDY = 1).
- 8. Set DBP = 0 in PWR_BDCR to write-protect accesses to RCC_BDCR.
Note: All these bits (except DBP) are in RCC_BDCR.
External crystal/ceramic resonator (LSE crystal)
The LSE clock is generated from a 32.768 kHz crystal or ceramic resonator. It has the advantage of providing a low-power but highly accurate clock source to the RTC for clock/calendar or other timing functions.
In order to select the external clock source, the following steps are needed:
- • Set DBP = 1 in PWR_BDCR to allow write accesses to RCC_BDCR.
- • Disable the LSE by writing 0 to LSEON.
- • Check that the LSE is disabled (LSERDY = 0).
- • Clear LSEBYP to 0.
- • Enable again the LSE by writing 1 to LSEON.
- • Check that the LSE is ready for use (LSERDY = 1).
- • Set DBP = 0 in PWR_BDCR to write-protect accesses to RCC_BDCR.
Note: All these bits (except DBP) are in RCC_BDCR.
The LSE on MCO1 or MCO2 outputs is only available in Run, LP-Stop, or Stop. In LPLV-Stop, Standby and VBAT, LSE is not available from MCO1 or MCO2 outputs. When entering Standby or VBAT, a spike may occur on MCO1 or MCO2.
The LSE offers a programmable driving capability (LSEDRV[1:0]) of the oscillator amplifier. The driving capability must be changed before enabling the LSE oscillator.
Warning: It is not allowed to change the driving capability when the LSE is enabled. The LSE behavior is not guaranteed in that case.
LSI oscillator
The LSI acts as a low-power clock source that can be kept running when the system is in Stop or Standby mode, for the independent watchdogs (IWDGx) and auto-wake-up unit (AWU). The clock frequency is around 32 kHz (see electrical characteristics in the product datasheet for details).
The LSI can be switched on and off using LSION in RCC_LSICR. LSIRDY in RCC_LSICR indicates if the LSI oscillator is stable or not. If an independent watchdog is started by either hardware option or software access, the LSI is forced on and cannot be disabled.
At LSI startup, the clock is not provided until the hardware sets LSIRDY. An interrupt can be generated if enabled in RCC_C1CIESETR or RCC_C2CIESETR.
The LSI clock can be driven to MCO1 and MCO2 outputs and can be used as a clock source for other application components.
Note: The LSI on MCO1 or MCO2 outputs is only available in Run, LP-Stop or Stop. In LPLV-Stop and Standby, LSI is not available from MCO1 or MCO2 outputs. When entering Standby, a spike may occur on MCO1 or MCO2.
20.4.3 Clock security system (CSS)
CSS on HSE
The RCC features a clock security system allowing the application to detect if the HSE clock stops toggling due to an unexpected reason, or if the HSE frequency clock is below 8 MHz. This may be caused for example, by an hardware failure or an attack. In the case of failure detection, the CSS generates a system reset, and protects the sensitive BKPSRAM data.
The CSS can be activated by the application software via HSECSSON. This bit can be activated even when HSEON = 0. The CSS on HSE is enabled by the hardware when the HSE is enabled and ready, and HSECSSON = 1.
The CSS on HSE is disabled when the HSE is disabled (system is Stop or Standby mode).
HSECSSON cannot be cleared by software. It is cleared by hardware when a system reset occurs, or when the system enters Standby mode.
If a failure is detected on the HSE:
- • RCC generates an application reset (app_rstn) via hse_css_rst. HCSSRSTF is set in order to allow the application to identify the reset root cause.
- • A failure event (rcc_hsecss_fail) is generated. This event is connected to the TAMP block, allowing the protection of backup registers and BKPSRAM.
Figure 89 shows the blocks involved in the HSE and LSE CSS function. Refer to these blocks description for more details.
Note: Before selecting again the HSE clock after an HSE failure, HCSSRSTF must be cleared in RCC_HWRSTSCLRR. The Boot ROM performs this task by resetting HCSSRSTF after an HSE failure. The Boot ROM reboots then the circuit if the selected boot source does not require the HSE resource. Refer to Boot ROM documentation for details.
Figure 89. HSE and LSE CSS function

The diagram illustrates the HSE and LSE CSS function. It shows the following blocks and their interconnections:
- RCC: Contains signals
rcc_lsecss_failandrcc_hsecss_fail. - RTC: Contains the TAMP block and Backup registers.
- TAMP contains signals
it_tamper_sec_async,it_tamper_nonsec_async,ITAMP[3],ITAMP[4], anderase. - Backup registers are connected to
ITAMP[3],ITAMP[4], anderase.
- TAMP contains signals
- EXTI: Receives signals from
ITAMP[3],ITAMP[4], anderase. It outputsc1_wakeup,c2_wakeup, andsys_wakeupto the PWR block. - PWR: Receives
c1_wakeup,c2_wakeup, andsys_wakeupfrom EXTI. - GIC: Receives signals from EXTI and outputs
TAMP_SandTAMP. - NVIC: Receives signals from EXTI and outputs
TAMP_SandTAMP. - BKPSRAM: Receives the
erasesignal from the RTC.
MSv71464V1
CSS on LSE
The RCC features a CSS allowing the application to detect if the LSE clock stops toggling due to an unexpected reason, or if the LSE frequency clock is above 2 MHz max frequency. This may be caused for example, by an hardware failure or an attack. In case of failure detection, the CSS generates a failure event, disables the clock provided to the RTC, and protects sensitive BKPSRAM data.
The CSS on LSE can be activated by setting to 1 LSECSSON in RCC_BDCR. This bit can be disabled only by hardware in one of the following conditions:
- • after a
vsw_rstnreset (see Figure 74) - • after a failure detection on LSE
The CSS on LSE activation must be done in the following order:
- 1. Set LSEGFON to 1 in RCC_BDCR to filter glitch on LSE clock.
- 2. Set LSEON to 1 in RCC_BDCR, and wait for LSERDY = 1 in RCC_BDCR.
- 3. Select the LSE clock via RTCSRC in RCC_BDCR.
- 4. Set LSECSSON to 1 in RCC_BDCR.
The CSS on LSE works in all system modes.
If a failure is detected on the LSE:
- • The clock provided to the RTC is disabled immediately by the hardware (with RTCSRC = 0).
- • LSEGFON, LSEON and LSECSSON values are not changed by hardware.
- • A failure event is generated (rcc_lsecss_fail). This event is connected to the TAMP, allowing wake-up from Standby, and protection of backup registers and BKPSRAM.
- • LSECSSF interrupt flag is activated in order to generate an interrupt to the CPU1 or CPU2 if needed.
The CSS on LSE offers two flags in order to detect a failure: LSECSSD in RCC_BDCR, and LSECSSF in RCC_C1CIFCLRR and RCC_C2CIFCLRR.
In case of failure, the following steps are needed:
- 1. Disable the CSS function (mandatory).
- a) Clear LSECSSON to 0.
- b) Clear LSEON to 0 in order to disable the LSE.
- c) Clear LSECSSF if interrupt was enabled for this event.
- 2. Change the clock source for the RTC if needed:
- a) Clear RTCEN to 0 to disable the RTC clock.
- b) Enable the new clock source for the RTC.
- c) Select the proper clock source via RTCSRC.
- d) Set RTCEN to 1 to enable the RTC clock.
The software can take any other required actions to secure the application.
Figure 89 shows the blocks involved in the HSE and LSE CSS function.
Note: The clock security feature must not be re-enabled.
Before reusing the CSS function for LSE, a backup domain reset must be performed for example via VSWRST in RCC_BDCR.
20.4.4 Clock output generation (MCO1 and MCO2)
Two clock output (MCO) pins are available: MCO1 and MCO2. A clock source can be selected for each one. MCO1 and MCO2 outputs are provided via two channels of the flexclkgen engine (see Figure 90 for additional information).
MCO1 and MCO2 outputs are controlled via MCO1ON, MCO1SEL, MCO2ON and MCO2SEL in RCC_MCO1CFGR and RCC_MCO2CFGR.
For each MCO pin, the corresponding GPIO port has to be programmed in the right alternate function mode. When the final divider channel is used for these outputs, the duty cycle is 50%.
MCO1 and MCO2 outputs are only available in Run and Stop modes. In Stop mode, the PLL clocks are not available.
Caution: The clock provided to the MCOs outputs must not exceed the maximum I/O speed (see the product datasheet for information about the supported I/O speed).
Figure 90. MCOy clock observation

The diagram illustrates the clock observation logic for the MCOy output. It shows the following components and connections:
- RCC_FCALCOBSxCFGR(1) register with fields: ckextsel[2:0], ckintsel[5:0], ckintsel[7:6], ckobextsel, ckobsinv, ckobsen, and ckobsdiv[2:0].
- Input Clocks: ext_ckin0 to ext_ckin7, hsi_ck, hse_ck, msi_ck, ckin_pll1 to ckin_pll8, ckout_pll4, ckout_pll8, hsi_ker_ck, hse_ker_ck, ck_icn_p_rcc, findiv[0] to findiv[63].
- Clock observation logic: A multiplexer selects an input clock based on ckextsel and ckintsel. This is followed by a logic gate (OR gate) controlled by ckobextsel and ckobsinv, and an AND gate controlled by ckobsen. The output goes to a Divider controlled by ckobsdiv[2:0].
- Output: The Divider output is ck_obsx(1).
- MCOy Output: A multiplexer selects between ck_obsx(1) and findiv[z](3) based on MCOySEL(2). The output is MCOy(2), which is also controlled by MCOyON(2) from the RCC_MCOyCFGR(2) register.
Notes:
- (1): x = 0 or 1
- (2): y = 1 or 2
- (3): z = 61 when x=0 else 62
MSv71465V1
20.4.5 PLL description
The RCC features five PLLs with the same features:
- • PLL4 and PLL5 used to provide the system clocks
- • PLL6 used for the generation of kernel clocks to video peripherals.
- • PLL7 and PLL8 used for the generation of kernel clocks to audio peripherals.
Note: The above PLL use is only a recommendation.
PLLTS16FFCLAFRAC2 main features
- • VCO range between 800 and 3200 MHz
- • Input frequency range:
- – Integer mode: 5 MHz to 1200 MHz
- – Fractional mode: 10 MHz to 1200 MHz
- Note: The maximum input frequency is 64 MHz on the STM32MP21xx.
- • Working modes
- – Fractional mode, using 24-bit delta-sigma modulator. The delta-sigma modulator can be updated on-the-fly, without generating frequency overshoots on PLL outputs.
- – Integer mode
- – Spread spectrum mode in order to reduce EMI. The fully digital component (spread-spectrum modulator called SSMOD) is used in that case.
- • Up to 6 outputs:
- – 1 output without post-divider
- – 5 outputs with post-dividers
Figure 91. PLL block diagram

Figure 92. PLL with SSMOD (spread-spectrum modulator) configuration
![Figure 92: PLL with SSMOD (spread-spectrum modulator) configuration showing interface between PLL and Spread-spectrum modulator, with inputs FREF, DIVVAL[3:0], DOWNSPREAD, SPREAD[4:0], RESET, INTIN[11:0], FRACIN[23:0], DISABLE_SSCG, multiplexer between EXTWAVEVAL[7:0] and INTERNAL WAVE controlled by SEL_EXTWAVE, divider ÷ 1-15, and outputs INTMOD[11:0], FRACMOD[23:0]. Code: MSv71467V1.](/RM0506-STM32MP21/7c4992338b11a06d708ac5047f430677_img.jpg)
The FOUTPOSTDIV output is provided as a source clock on the flexclkgen crossbar stage. The PLLs are embedded in the generic frequency generator (GFG) stage of the flexclkgen component, and are controlled via RCC_PLLxCFGRy (x = 4 to 8 and y = 1 to 7).
The user must provide to each PLL, a clean reference clock (FREF) in the accepted input frequency range:
- • 5 to 1200 MHz in the integer mode
- • 10 to 1200 MHz in the fractional mode
The application has to program properly the FREFDIV dividers in order to match these conditions. The PLL loop divider (FBDIV) has to be programmed in order to get the expected frequency at VCO output. The VCO output range must be respected.
The PLLs can be disabled by setting the corresponding PLEN bit to 0. LOCK bits inform the user that the PLL is ready (locked).
When the PLLs are enabled, post-dividers (POSTDIV1, POSTDIV2) values can be changed without disabling the corresponding PLL.
PLL programming recommendations
This section provides recommendations to follow in order to guarantee a good PLL use.
- • Before enabling the PLLs, the user must ensure that the reference frequency (FREF) provided to the PLL is in the good range.
- • When the PLLs are enabled, changing FREFDIV, FBDIV, FRAC, POSTDIV1, or POSTDIV2 values conducts to an invalid output frequency, with the risk of crashing the system. There is no hardware protection. It is up to the application to avoid this situation.
- • When one or several PLL outputs are not used, the application must set the corresponding enable bit PLEN to 0.
The PLLs can work in three different modes:
- • Integer mode
The PLL works in integer mode when the delta-sigma modulator (DSM) is loaded with 0, and DISABLE_SSCG = 1.
In order to load 0 into the DSM, the user has to perform the following sequence:
- a) Write 0 to FRAC, DSMEN, and DACEN.
- b) Write 1 to RESET.
- c) Write 1 to PLEN.
The VCO frequency (FOUT) is given by the following expression:
The frequency at the output of the post-divider is given by:
- • Fractional mode
The fractional mode is activated when the value loaded into the DSM is different from 0, DISABLE_SSCG = 1, and DSMEN = 1.
The DSM value can be updated at anytime by the application by executing the following sequence:
- a) Write into FRAC the new fractional value.
- b) The new FRAC value is loaded into the DSM when CLKSSCG goes from 0 to 1.
The DSM is designed to minimize the jitter impact while allowing very small frequency steps. When the PLL is used in fractional mode, the FBDIV divider value must be initialized before enabling the PLL (FBDIV min = 20), but the FRAC value can be changed on-the-fly without disturbing the PLL output. This feature can be used either to generate a specific frequency, with a good accuracy from any crystal value, or to perform a fine tuning of the frequency on-the-fly.
The VCO frequency is given by the following expression:
See FOUTPOSTDIV frequency formula above.
- Spread-spectrum mode
This mode is activated when the DSM is loaded with 0, and when DISABLE_SSCG = 0. This feature is available on all PLLs.
The spread-spectrum technique consists of modulating the VCO frequency with a low-frequency signal (in our case a triangular signal), in order to spread the clock energy into a wider frequency band. The amount of emitted EMI peaks is then reduced.
The spread-spectrum modulation parameters are adjusted via the following fields:
- – DIVVAL[3:0] in RCC_PLLxCFGR5 used to adjust the modulation frequency
- – SPREAD[4:0] in RCC_PLLxCFGR5 used to adjust the modulation depth (or modulation index)
- – DOWNSPREAD in RCC_PLLxCFGR3 used to define if the modulation is centered around the VCO frequency (center-spread), or if it is lowered with respect to VCO frequency (down-spread)
The figure below shows the signal modulating the nominal frequency (\(F_N\)), when DOWNSPREAD = 0 (center-spread) and DOWNSPREAD = 1 (down-spread).
The nominal frequency is the frequency output by the PLL in integer mode, when no clock spreading is applied.
Setting DOWNSPREAD = (down-spread) guaranties that the PLL output frequency does not exceed the programmed frequency value when the SSCG is enabled.
Figure 93. Spread-spectrum modulation

The peak modulation depth (in percentage) is given by the following formula:
Example: SPREAD = 0b10010 means a ±1.8% modulation amplitude in center-spread mode, and -1.8% in down-spread mode.
Note: The modulation is turned off when SPREAD = 0.
The modulation frequency (\(F_{MOD}\)) is given by:
where 128 equals to the number of points in the internal wave table, and DIVVAL equals to the user defined divide value.
Note: When the PLL is locked, \(F_{CLKSSCG} = F_{PFD}\). The upper limit of the modulation frequency (\(F_{MOD}\)) is set by the PLL bandwidth.
The PLL bandwidth limits the maximum modulation to \(F_{CLKSSCG}/200\) where \(F_{CLKSSCG} = F_{FREF}/FREFDIV\) or 50 MHz, whichever is lower.
In order to use the spread spectrum feature, the following steps are needed:
- Program the PLL as detailed in Integer mode in order to adjust the nominal frequency (\(F_N\)) according to the targeted by the application.
- Compute DIVVAL according to the wanted modulation frequency (\(F_{MOD}\)):
- Compute SPREAD according to the wanted modulation depth (\(M_D\)).
- Set DOWNSPREAD according to the wanted modulation type.
- Compute INTIN accordingly (FRACIN = 0):
- \[INTIN = \text{ROUND}\left(\frac{F_N \times FREFDIV}{F_{FREF}}\right)\]
- Clear DISABLE_SSCG, DSMEN, and DACEN to 0.
- Assert RESET to 1 and PLEN to 0. PLEN must be held at 0 for 1 ?s to make sure the PLL is fully reset.
- Set PLEN, DSMEN and DACEN to 1 (see note below).
- Wait until the first CLKSSCG edge, and clear RESET to 0 ( can be done before PLL is locked, or anytime afterwards).
Note: After some time the PLL is locked and outputs a spread-spectrum clock. Since the spread-spectrum accuracy relies on the fractional-N capability of the PLL the fractional modulator must be operating. DSMEN and DACEN must be set to 1.
The user can check \(F_{MIN}\), \(F_{MAX}\) and \(F_N\) as follow:
- – If DOWNSPREAD = 0 (centered-spread)
- \(F_N\) is given by the formula in Integer mode
- \(F_{MIN} = F_N \times (1 - M_D/100)\)
- \(F_{MAX} = F_N \times (1 + M_D/100)\)
- – If DOWNSPREAD = 1 (down-spread)
- \(F_{MAX}\) is given by the formula in Integer mode
- \(F_{MIN} = F_{MAX} \times (1 - M_D/100)\)
- \(F_N = F_{MAX} \times (1 - M_D/100)\)
20.4.6 PLL root clocks
The RCC handles the following PLL root clocks:
- • ck_pll1_ref for CPU1 subsystem
- • ck_pll2_ref for DDR subsystem
PLL root clock selection
After a system reset, the HSI is selected for the complete system. All the PLLs are switched off, as well as MSI and HSE oscillators.
When the system is running, the user has the possibility to select the clock source to be used for all above subsystem clocks. It relies on the following clock sources: HSI, HSE, MSI and CK_IN.
20.4.7 Root clocks
The RCC handles two types of root clocks:
- • Bus root clocks:
- – Interconnect subsystems: ck_icn_hs_mcu, ck_icn_ls_mcu, ck_icn_sdmmc, ck_icn_ddr, ck_icn_display, ck_icn_hsl, ck_icn_nic, ck_icn_vid
- – Peripheral bridges: ck_icn_apb1, ck_icn_apb2, ck_icn_apb3, ck_icn_apb4, ck_icn_apb5, ck_icn_apbdbg
- • Kernel root clocks (see Table 125 for details)
Root clock generation
Figure 94 shows the flexclkgen engine which is used to generate all root clocks when the system is in Run mode.
After any system reset, the flexclkgen default configuration is to output the HSI reference clock (64 MHz) on all root clocks while all PLLs are disabled.
It is up to the boot code to configure the PLLs and the clock dividers with the appropriate values.
The flexclkgen is based on the following stages:
- • MUXSEL stage used to select the input clock reference for all PLLs in the GFG stage and for the external clock outputs (see RCC_MUXSELCFGR)
- • GFG stage used to control all PLLs (see RCC_PLLxCFGRy (x = 4 to 8 and y = 1 to 7))
- • XBAR (clock cross bar) stage used to select clock channels driven to divider stages (see RCC_XBARxCFGR)
- • PREDIV (pre divider) stage used for a first level of clock division (div1, div2, div4 and div1024) (see RCC_PREDIVxCFGR, RCC_PREDIVSR1, and RCC_PREDIVSR2)
- • FINDIV (final divider) stage used for the last level of clock division (div1 to div64) (see RCC_FINDIVxCFGR, RCC_FINDIVSR1, and RCC_FINDIVSR2)
Figure 94. Flexclkgen block diagram

The diagram illustrates the Flexclkgen block structure. It features a REG ITF block at the top left. Below it, various clock inputs are listed: hsi_ck, hse_ck, msi_ck, ck_in, hsi_ker_ck, hse_ker_ck, msi_ker_ck, spdifrx_symb_ck, lsi_ck, and lse_ck. These inputs feed into a MUXSEL block. The MUXSEL block has inputs 0, 1, 2, and 5, and outputs 4, 3, 2, 1, 0, 6, and 5. Outputs 6 and 5 lead to PLL2 and PLL1 respectively. The outputs 4, 3, 2, 1, and 0 of MUXSEL feed into a GFG block containing PLL8, PLL7, PLL6, PLL5, and PLL4. The outputs of these PLLs feed into an XBAR block. The XBAR block has inputs 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 63, and 0. Its outputs feed into a PREDIV block, which in turn feeds into a FINDIV block. The FINDIV block has inputs 63, 7, and 0. The final outputs of the Flexclkgen block are shown at the bottom, with a feedback path returning to the inputs.
MSv71469V3
Figure 95. Flexclkgen programming flow

graph TD; A([System reset]) --> B[GFG programming]; B --> C{PLLs ready}; C -- no --> B; C -- yes --> D{Pre divide status=0}; D -- no --> D; D -- yes --> E[Pre divide ratio]; E --> F{Pre divide status=0}; F -- no --> F; F -- yes --> G{Final divide status=0}; G -- no --> G; G -- yes --> H[Final divide ratio]; H --> I{Final divide status=0}; I -- no --> I; I -- yes --> J{XBAR status=0}; J -- no --> J; J -- yes --> K[Crossbar selection]; K --> L{XBAR status=0}; L -- no --> L; L -- yes --> M([Clock programmed]);System reset All clock channels at HSI clock frequency (XBAR and FINDIV stages enabled)
GFG programming PLL reference source clock selection via RCC_MUXSELCFGR
PLL programming based on RCC_PLLxCFGRy (x = 4 to 8 and y = 1 to 7)
PLLs ready Bit 24 of RCC_PLLxCFGR1(X = 4 to 8)
Pre divide status=0 RCC_PREDIVSR1 for channels 0 to 31
RCC_PREDIVSR2 for channels 32 to 63
Pre divide ratio PREDIV programming
Divide ratio: bits 9:0 of RCC_PREDIVxCFGR
Pre divide status=0 RCC_PREDIVSR1 for channels 0 to 31
RCC_PREDIVSR2 for channels 32 to 63
Final divide status=0 RCC_FINDIVSR1 for channels 0 to 31
RCC_FINDIVSR2 for channels 32 to 63
Final divide ratio FINDIV programming
Divide ratio: bits 5:0 of RCC_FINDIVxCFGR
Final divide status=0 RCC_FINDIVSR1 register for channel 0 to 31
RCC_FINDIVSR2 register for channel 32 to 63
XBAR status=0 XBAR programming: RCC_XBARxCFGR
(bit7 indicates the channel change status)
Crossbar selection XBAR programming: RCC_XBARxCFGR
(bits 3:0 are used to select the channel clock source (up to 16))
XBAR status=0 XBAR programming: RCC_XBARxCFGR
(bit7 indicates the channel change status)
Clock programmed Clock switching is glitch-free.
MSv71470V1
Caution: The channel clock used to generate ck_icn_hs_mcu and ck_icn_ls_mcu subsystem clocks cannot be stopped in Run mode as it is the source of the RCC main clock.
The table below shows the flexclkgen clock channel assignment for root clocks, and its distribution versus local peripheral bus clocks.
Table 121. Root clock mapping
| Flexclkgen channel number | Root clock name | Max frequency (MHz) | Bus matrix | Target peripheral bus clock |
|---|---|---|---|---|
| 0 | ck_icn_hs_mcu | 300 | AXIM | ck_icn_s_fmc, ck_icn_s_sysram |
| MLAHB | ck_icn_hs_mlahb, ck_cpu2, ck_cpu2_icache, ck_cpu2_dcache, ck_icn_s_retram, ck_icn_s_sram1, ck_icn_s_ospi1, ck_icn_p_otfd1 | |||
| ck_icn_ls_mcu | 150 | AXIM | ck_icn_m_axiap, ck_icn_s_stm | |
| MLAHB | ck_icn_ls_mlahb | |||
| AHB2 | ck_icn_ahb2, ck_icn_p_hpdma1, ck_icn_p_hpdma2, ck_icn_p_hpdma3, ck_icn_p_ipcc1, ck_icn_p_dcmipssi, ck_icn_p_crc, ck_icn_p_mdf1, ck_icn_p_adc1, ck_icn_p_adc2 | |||
| AHB3 | ck_icn_ahb3, ck_icn_s_bkpsram, ck_icn_p_ramcfg, ck_icn_p_rifsciac, ck_icn_p_risaf1, ck_icn_p_risaf2, ck_icn_p_risaf4, ck_icn_p_risab1, ck_icn_p_risab2, ck_icn_p_risab3, ck_icn_p_risab5(1) | |||
| AHB4 | ck_icn_ahb4, ck_icn_p_rcc, ck_icn_p_pwrctrl, ck_exti, ck_icn_p_syscfg, ck_icn_p_gpioa, ck_icn_p_gpiob, ck_icn_p_gpioc, ck_icn_p_gpiod, ck_icn_p_gpioe, ck_icn_p_gpiof, ck_icn_p_gpiog, ck_icn_p_gpioh, ck_icn_p_gpioi | |||
| AHB5 | ck_icn_ahb5, ck_icn_p_fmc, ck_icn_p_eth1, ck_icn_p_eth2, ck_icn_p_syscpu1, ck_icn_p_ddrphyc | |||
| AHB6 | ck_icn_ahb6, ck_icn_p_gpioz | |||
| APB1 | ck_icn_ahb_apb1 | |||
| APB2 | ck_icn_ahb_apb2 | |||
| APB3 | ck_icn_ahb_apb3 | |||
| APB4 | ck_icn_ahb_apb4 | |||
| APB5 | ck_icn_ahb_apb5 | |||
| APBDBG | ck_icn_ahb_apbdbg | |||
| 1 | ck_icn_sdmmc | 200 | AHB5 | ck_icn_p_dlybsd1, ck_icn_p_dlybsd2, ck_icn_p_dlybsd3, ck_icn_m_sdmmc1, ck_icn_m_sdmmc2, ck_icn_m_sdmmc3 |
| 2 | ck_icn_ddr | 600 | AXIM | ck_icn_s_ddr, ck_icn_m_cpu1 |
| 3 | ck_icn_display | 400 | AXIM | ck_icn_m_ltdc, ck_icn_m_dcmipp |
Table 121. Root clock mapping (continued)
| Flexclkgen channel number | Root clock name | Max frequency (MHz) | Bus matrix | Target peripheral bus clock |
|---|---|---|---|---|
| 4 | ck_icn_hsl | 300 | AXIM | ck_icn_m_usbhehci, ck_icn_m_usbhohci, ck_icn_m_otg, ck_icn_m_eth1, ck_icn_m_eth2 |
| 5 | ck_icn_nic | 400 | AXIM | ck_icn_s_bootrom, ck_icn_s_gic400 |
- 1. ck_icn_p_risaf1, ck_icn_p_risaf2, ck_icn_p_risaf4, ck_icn_p_risab1, ck_icn_p_risab2, ck_icn_p_risab3, ck_icn_p_risab5 clocks are enabled according to the related resource clock gating logic. Refer to RISAB and RISAF sections for resource assignment.
The root control module shown in Figure 96 is added between the flexclkgen engine and the clock enabling stage to generate dynamically all root clocks with synchronous relationships (interconnect, bridges and timer peripherals).
In the product, the root control module applies to the root clock ck_icn_ls_mcu, with:
- • ck_icn_apb1, ck_ker_timx (x = 2 to 7, and 10 to 14)
- • ck_icn_apb2, ck_ker_timy (y = 1, 8, 15, 16, 17)
- • ck_icn_apb3
- • ck_icn_apb4
- • ck_icn_apb5
- • ck_icn_apbdb
The APB1DIV divider in RCC_APB1DIVR can be used to adjust dynamically the clock for the APB1 bridge. Similar implementation is available for APB2, APB3, APB4, APB5 and APBDBG.
Note: Dividers having the possibility to be updated on-the-fly provide a ready bit in order to inform the application on the moment when the new division ratio is taken into account.
Figure 96. Root control module description.

The diagram illustrates the Root control module's clock distribution. It starts with a multiplexer selecting between flexclkgen_channel0 (input 0) and hsi_ck (input 1), controlled by CKREST. The output of this multiplexer is split into two paths: one goes directly to ck_icn_hs_mcu, and the other passes through a divider block labeled ÷1,2 (controlled by LSMCUDIV). The output of this divider is then distributed to several other divider blocks, each labeled ÷1,2,4,8,16 and controlled by specific divider registers: APB1DIV, APB2DIV, APB3DIV, APB4DIV, APB5DIV, and APBDBGDIV. These divider blocks produce the root clocks ck_icn_ls_mcu, ck_icn_apb1, ck_icn_apb2, ck_icn_apb3, ck_icn_apb4, ck_icn_apb5, and ck_icn_apbdbg respectively. The reference MSv71471V1 is located in the bottom right corner of the diagram area.
The table below shows the peripheral root bus clock distribution versus peripherals.
Table 122. APB root clock mapping
| Root clock name | Max frequency (MHz) | Target peripheral bus clock |
|---|---|---|
| ck_icn_apb1 | 150 | ck_icn_p_tim2, ck_icn_p_tim3, ck_icn_p_tim4, ck_icn_p_tim5, ck_icn_p_tim6, ck_icn_p_tim7, ck_icn_p_tim12, ck_icn_p_tim13, ck_icn_p_tim14, ck_icn_p_lptim1, ck_icn_p_lptim2, ck_icn_p_spi2, ck_icn_p_spi3, ck_icn_p_spdifrx, ck_icn_p_usart2, ck_icn_p_usart3, ck_icn_p_uart4, ck_icn_p_uart5, ck_icn_p_i2c1, ck_icn_p_i2c2, ck_icn_p_i3c1, ck_icn_p_i3c2, ck_icn_p_tim10, ck_icn_p_tim11 |
| ck_icn_apb2 | 150 | ck_icn_p_tim1, ck_icn_p_tim8, ck_icn_p_usart6, ck_icn_p_spi1, ck_icn_p_spi4, ck_icn_p_tim15, ck_icn_p_tim16, ck_icn_p_tim17, ck_icn_p_spi5, ck_icn_p_sai1, ck_icn_p_sai2, ck_icn_p_sai3, ck_icn_p_fdcn, ck_icn_p_usart1, ck_icn_p_sai4, ck_icn_p_uart7 |
| ck_icn_apb3 | 150 | ck_icn_p_bsec, ck_icn_p_iwdg1, ck_icn_p_iwdg2, ck_icn_p_iwdg3, ck_icn_p_iwdg4, ck_icn_p_wwdg1, ck_icn_p_vref, ck_icn_p_dts, ck_icn_p_serc, ck_icn_p_hdp, ck_icn_p_dbgmcu |
| ck_icn_apb4 | 150 | ck_icn_p_ltdc, ck_icn_p_csi, ck_icn_p_dcmipp, ck_icn_p_ddrc, ck_icn_p_ddrcfg, ck_icn_p_stgen, ck_icn_p_ddrperfm |
Table 122. APB root clock mapping (continued)
| Root clock name | Max frequency (MHz) | Target peripheral bus clock |
|---|---|---|
| ck_icn_apb5 | 150 | ck_icn_p_rtc, ck_icn_p_spi6, ck_icn_p_lpuart1, ck_icn_p_i2c3, ck_icn_p_lptimer3, ck_icn_p_lptimer4, ck_icn_p_lptimer5, ck_icn_p_i3c3 |
| ck_icn_apbdbg | 150 | ck_icn_p_soc_romtable, ck_icn_p_funnel, ck_icn_p_etf, ck_icn_p_etr, ck_icn_p_tpiu, ck_icn_p_replicator, ck_icn_p_tsgen1, ck_icn_p_stm, ck_icn_p_cti0, ck_icn_p_cti1, ck_icn_p_swo, ck_icn_p_a35_romtable, ck_icn_p_a35_dbg0, ck_icn_p_a35_cti0, ck_icn_p_a35_pmu0, ck_icn_p_a35_etm0, ck_sys_dbg |
20.4.8 Clock generation in Stop and Standby modes
The product supports six system Stop modes (see Section 19: Power control (PWR) for details):
- • Stop 1: normal system Stop mode
- • LP-Stop1: low-power system Stop mode
- • LPLV-Stop1: low-power, low-voltage system Stop mode
- • Stop2: enhanced system Stop mode
- • LP-Stop2: enhanced low-power system Stop mode
- • LPLV-Stop2: enhanced low-power, low-voltage system Stop mode
There is one low-power system Standby mode.
The main difference between Stop modes is the handling of D1 and D2 domain supply voltages:
- • In Stop1 mode, \(V_{DDCORE}\) and \(V_{DDCPU}\) supplies remain the same as in system Run mode, with the same power capability.
- • In LP-Stop1 mode, \(V_{DDCORE}\) and \(V_{DDCPU}\) supplies remain the same as in system Run mode, but with a limited power capability. This is usually achieved thanks to an external PMIC having two power modes:
- – a high power mode (HP) for nominal cases (Run and Stop1)
- – a low-power mode (LP) limiting the power capability for LP-Stop1 and LPLV-Stop1
- • In LPLV-Stop1 mode, \(V_{DDCORE}\) and \(V_{DDCPU}\) supplies are reduced, and the power capability is reduced as well.
- • For all Stop2 modes, it is the same behavior as the Stop1 ones, except that \(V_{DDCPU}\) supply is powered down.
- • Refer to Section 20.4.3 for PLL1 management in Stop modes
The amount of peripherals able to wake up the system from Stop depends on the activated Stop mode. For example, Stop1, Stop2, LP-Stop1 or LP-Stop2 mode offers a larger choice of peripherals able to wake up the system than LPLV-Stop1 or LPLV-Stop2 mode.
Entering one of the Stop modes
The system can go to one these Stop modes when both CPU1 and CPU2 are in CStop without any pending wake-up event on the EXTI. To go in one of the Stop or LP-Stop modes, any autonomous peripheral that requests a bus clock delays the system entry in the requested low-power mode (see Section 19.5.2: Low-power batch acquisition mode (LPBAM) for the list of supported autonomous peripherals).
Once the above conditions are met, the RCC informs the PWR that CPU1 and/or CPU2 subsystems are in CStop via pwrds_cpu1, pwrds_cpu2 and pwrds_sys(see Figure 73). Any autonomous bus clock request is postponed until the sequence to go in Stop is done.
- •
pwrds_cpu1is used to indicate to the PWR that the CPU1 is in CStop. - •
pwrds_cpu2is used to indicate to the PWR that the CPU2 is in CStop. - •
pwrds_sysis used to indicate to the PWR that the system is in one of the Stop modes, and no longer clocked.
Note: When only one CPUx goes to CStop, all RCC PLLs and oscillators generating the root and kernel clocks of all shared peripherals (CPU1 and CPU2) are kept activated (see Section 20.3.11 for details on these peripherals).
The PLL1 is disabled when CPU1 is in CStop. The PLL2 state is based on DDRSHR bit and the CPU1 or system state (see Clock distribution for the DDR for details).
As before going to CStop, each CPUx has to mask all the interrupts except the RCC wake-up interrupt in order to insure a safe Stop sequence entry and exit. The RCC provides two wake-up interrupts (rcc_cpu1_wkup_it and rcc_cpu2_wkup_it) which can be enabled via their corresponding WKUPIE bit (see Section 20.5 for additional information).
Note: When the D1 domain is put in DStandby mode (Stop2, LP-Stop2 or LPLV-Stop2 mode), the RCC wake-up interrupt for CPU1 is not relevant as the CPU1 reboots in case of CPU1 wake-up event.
Before switching off all the clocks, the RCC waits for the DDRCTRL to enter in self-refresh mode (SSR RCC mode is the only mode that allows the system to go in one of Stop modes). As a consequence, the effective entry in one of the Stop modes may be delayed until the DDRCTRL allows it. The RCC stops then all the clocks (subsystem and kernel clocks), and the following clock sources are disabled as well:
- • HSI (if
HSIKERON= 0) - • HSE (if
HSEKERON= 0) - • MSI (if
MSIKERON= 0) - • RCBSEC
- • PLL1(CPU1), PLL2(DDR), PLL4(RCC), PLL5(RCC), PLL6(RCC), PLL7(RCC) and PLL8(RCC)
Note: In LPLV-Stop1 or LPLV-Stop2 mode, HSI, HSE and MSI cannot be used. LSE and LSI oscillators remain active in all Stop modes if enabled.
During one of the Stop modes
As explained in the previous section, in one of the system Stop modes, all clocks, PLLs and oscillators are disabled, except LSE and LSI which are kept in their current states. There are specific cases in Stop1, Stop2, LP-Stop1 or LP-Stop2 mode, where the HSE, HSI or MSI can be enabled:
- • when a dedicated peripheral requests a kernel clock
The peripheral receives HSE, HSI, or MSI according to the kernel clock source selected for this peripheral (viaRCC_XBARxCFGR). - • when
HSEKERON,HSIKERON, orMSIKERONis set
The HSE, HSI, or MSI is kept running during Stop modes but the kernel clock is not provided to the peripherals. The clock is then available immediately when the system
exits one of the Stop modes, or when a peripheral requests the kernel clock (see Table 123 for details).
- when an autonomous peripheral requests a bus interface clock
The provided bus interface clock is always the HSI (see Section 19: Power control (PWR) for the list of autonomous peripherals).
HSIKERON, MSIKERON and HSEKERON are in RCC_OCSENTR and RCC_OCENCLLR.
The table below details the behavior of these bits with 'ON' status highlighted in grey.
Note: HSE, HSI and MSI outputs provide two clock paths (see Figure 83):
- one path for the CPUx and subsystem clocks (hse_ck, hsi_ck or msi_ck)
- one path for the peripheral kernel clocks (hse_ker_ck, hsi_ker_ck or msi_ker_ck)
These paths are available via the flexclkgen engine.
Table 123. HSI, MSI and HSE states versus system modes
| System mode | HSION (HSEON) (MSION) | HSIKERON (HSEKERON) (MSIKERON) | Kernel clock request(1) | Bus clock request(2) | - | HSI state (HSE state) (MSI state) | hsi_ck (hse_ck) (msi_ck) | hsi_ker_ck (hse_ker_ck) (msi_ker_ck) |
|---|---|---|---|---|---|---|---|---|
| Run1 or Run2 | 0 | X | 1 | X | - | ON | Gated | ON |
| 0 | - | OFF | Gated | |||||
| 1 | X | - | ON | ON | ON | |||
| Stop1, LP-Stop1, Stop2 or LP-Stop2 | X | X | 1 | 0 | - | ON(3) | Gated | ON |
| 0 | 0 | - | OFF | Gated | ||||
| 1 | - | ON | ON(4) | |||||
| X | X | - | ON | ON(5) | ON(6) | |||
| Standby | X | X | X | X | - | OFF | Gated | Gated |
- Kernel clock request is equal 1 when the peripheral requests a kernel clock, and its corresponding RCC_XBARxCFGR selects HSE, HSI or MSI, and the corresponding PERxEN and PERxLPEN are set to 1 (see Table 140 for details).
- Bus clock request is equal 1 when the peripheral requests a bus interface clock, and the corresponding PERxEN and PERxLPEN are set to 1, and the system is in one of the Stop modes.
- Only the oscillator selected by RCC_XBARxCFGR of the peripheral that requests the kernel clock is enabled.
- The kernel clock is provided to the clock enabling block, and gated as long as the peripheral does not generate a kernel clock request.
- Only HSI is supported in these modes.
- The kernel clock selected by RCC_XBARxCFGR is enabled.
Exiting one of the Stop modes
The system can leave one of the Stop modes thanks to events generated by peripherals able to work in the selected mode.
The exit from system Stop is generally done in the following way:
- 1. A peripheral sends a wake-up interrupt to the EXTI.
- 2. The EXTI generates an event to the PWR (sys_wakeup).
- 3. The PWR signals to the external PMIC or the external regulator that the main power must be restored (through PWR_LP or optionally PWR_ON/PWR_CPU_ON pins).
- 4. If the PMIC was in LPLV-Stop1 or LPLV-Stop2, the PWR waits for a nominal \(V_{DDCORE}\).
- 5. When \(V_{DDCORE}\) reached the nominal value, the PWR asserts pwrwake_sys for the RCC.
- 6. Thanks to this signal, the RCC provides the hsi_ck clock to the EXTI and PWR, and starts the clock restore sequence (see Clock restore sequence for details).
- 7. When the hsi_ck is available, the EXTI asserts the cpu1_wakeup and/or cpu2_wakeup signals, indicating to the PWR which CPUx must be activated. If the PMIC was in Stop2, LP-Stop2 or LPLV-Stop2, the PWR waits for a nominal \(V_{DDCPU}\) voltage.
- 8. The PWR asserts the pwrwake_cpu1 signal once \(V_{DDCPU}\) has reached the nominal value when leaving Stop2, LP-Stop2 or LPLV-Stop2, and/or the pwrwake_cpu2 signal for the RCC according to the CPUx to be activated.
- 9. On the RCC side:
- – If pwrwake_cpu1 is activated while leaving Stop1, LP-Stop1 or LPLV-Stop1, the RCC asserts rcc_cpu1_wkup_it, and provides the clocks to the CPU1 domain when these clocks are available.
- – If pwrwake_cpu1 is activated while leaving Stop2, LP-Stop2 or LPLV-Stop2, the RCC releases the CPU1 reset, and provides the clocks to the CPU1 domain when these clocks are available.
- – If pwrwake_cpu2 is activated, the RCC asserts rcc_cpu2_wkup_it, and provides the clocks to the CPU2 domain when these clocks are available.
- 10. The targeted CPUx exits from CStop, and reenables the interrupts of the peripherals activated during Stop mode. The peripheral which has generated the wake-up event is then able to generate an interrupt to the CPUx.
- 11. The RCC acknowledges pwrwake_cpu1 or pwrwake_cpu2 requests by releasing pwrds_cpu1 or pwrds_cpu2.
The RCC integrates a state machine able to restore the clock configuration which was used before going to one of the Stop modes.
Remarks: Exiting the system from one of the Stop modes requests that peripherals are able to generate wake-up events, even when the system clock is not available.
The EXTI is used to trigger the wake-up sequence (see Section 29: Extended interrupts and event controller (EXTI) to get the list of peripherals that can wake-up a system from Stop or a CPUx from CStop).
The RCC executes the clock restore sequence every time the system exits Stop as shown in the figure below. When the system is in Run, all oscillators and PLLs requested by the
application are activated, but each CPU clock domain is only activated according to the related CPU mode.
Figure 97. Clock restore activation versus system mode

CR Clock restore sequence triggered by pwrwake_sys event. hsi_ck is enabled for RCC, EXTI and PWR. All PLLs are reenabled if their respective PLLxEN = 1.
2 Enabling of CPU2 clock domain (pwrwake_cpu2) once all PLLs are ready except when HSI clock is selected on CPU2
3 Enabling of ck_pll1_ref, ck_cpu1_ext2f, and CPU1 clock domain (pwrwake_cpu1)
4 Disable all clocks allocated to CPU2 domain.
5 Disable all clocks, all PLLs, and oscillators if allowed.
6 Disabling of ck_pll1_ref, ck_cpu1_ext2f, and CPU1 clock domain
7 Enable all clocks allocated to CPU2 domain.
Run, CRun or CSleep
Stop, CStop
MSv71472V1
Handling the PWRLP_TEMPO
The PWRLP_TEMPO is used to wait automatically that the external PMIC switched from low-power (LP) to high-power (HP) mode, before enabling power-consuming parts. The application can control the delay value via RCC_PWRLPDLYCR.
The PWRLP_TEMPO uses the ck_icn_ls_mcu clock as reference which is sourced during the clock restore sequence by either hsi_ck (when LSMCU = 0 in RCC_LSMCUDIVR) or by hsi_ck/2 (when LSMCU = 1).
In order to allow a fast restart time when the CPU2 clock wakes up from system LP-Stop1, LP-Stop2, LPLV-Stop1 or LPLV-Stop2, ck_icn_hs_mcu and ck_icn_ls_mcu clocks may bypass the PWRLP_TEMPO delay. This is only possible when the CPU2 power consumption is low enough to be supported by the PMIC LP mode. This function is controlled by CPU2TMPSKP in RCC_PWRLPDLYCR.
Note: In this case, the PMIC still transitions from LP to HP mode.
Refer to Clock restore sequence for additional informations.
Warning: When CPU2TMPSKP is set to 1, the application must insure that the CPU2 did not allocate peripherals located into the AXI subsystem (AHB5, APB4 or APBDBG). If this rule is not respected, a system reset may be generated.
Clock restore sequence
Every time the system exits one of the Stop modes (pwrwake_sys), the RCC reenables the requested oscillators and PLLs in order to restore the subsystem clocks. These clock settings are defined by the registers listed in Table 124, that cannot be modified during the clock restore sequence.
If the system exits from one of the Stop modes due to a CPU1 wake-up event (pwrwake_cpu1), the RCC enables ck_pll1_ref and ck_cpu1_ext2f clocks. All CPU1 subsystem clocks are reenabled simultaneously once all internal and external PLL ready signals are received.
The same strategy applies in case of a CPU2 wake-up event (pwrwake_cpu2) except when the selected CPU2 clock (ck_icn_hs_mcu) is an oscillator clock (HSI, HSE or MSI) before the system goes to one of the Stop modes. In this case, the CPU2 clock domain is reenabled before waiting for all internal and external PLL ready signals. It is up to the application to take care of the PLL states prior using any peripherals clocked by PLLs.
Note: When leaving Stop2, LP-Stop2 or LPLV-Stop2, the PLL1 ready signal is not taken into account.
The PLL2 clock source (ck_pll2_ref) is always reenabled when the system exits from one of the Stop modes, if DDR is shared.
More precisely, the clock restore sequence when the system exits Stop, is split into the following main steps (see Figure 98 and Figure 99):
- 1. Set CKREST = 1 in order to inform that a clock restore sequence is initiated. Registers listed on Table 124 cannot be modified during the clock restore sequence.
- 2. Enable the oscillators which were enabled before going to system Stop.
- 3. When the HSI is ready, the RCC can trigger the PWRLP_TEMPO to allow a delay to the external PMIC to switch in HP mode, before doing power-consuming operations on VDDCORE.
- 4. When the oscillators used by PLLs are ready, the PLL analog parts can be powered. As these parts are not powered by VDDCORE, it is possible to enable the VCOs (no need to wait that PWRLP_TEMPO elapsed).
- 5. In case of CPU2 wake-up event, the CPU2 clock domain is reenabled without waiting for PLLs to be ready, if the CPU2 clock source is an oscillator.
- 6. Before enabling the PLL outputs, the RCC must wait until the PWRLP_TEMPO elapsed, and the PLLs are ready. The process generating the CPU2 clock domain may also need to wait until the PWRLP_TEMPO elapsed when CPU2TMPSKP = 0.
- 7. Depending on the wake-up event, only the related CPU clock domain is reenabled. The RCC clears CKREST to 0. Registers listed in Table 124 can then be modified by the application if needed.
Figure 98. Clock restore process activated after system Stop

graph TD; Start([Wakeup from system Stop1, LP-Stop1, LPLV-Stop1
(pwrwake_sys event)]) --> SystemStopExit([SYSTEM_STOP_EXIT]); SystemStopExit --> SetWriteProtection([Set write-protection on sensitive registers]); SetWriteProtection --> EnableClocks([Enable HSE and/or MSI if their respective enable bit is set to 1, AND always enable HSI]); EnableClocks -- HSIRDY --> EnableHSIClock([Enable HSI clock for EXTI, RCC and PWR peripherals
Set CKREST to 1 and release pwrds_sys]); EnableHSIClock --> PWRLP_TEMPO1([PWRLP_TEMPO]); EnableHSIClock -- HSERDY/MSIRDY --> EnablePLLs([Enable all PLLs enabled prior Stop]); PWRLP_TEMPO1 --> CPU1Wakeup([CPU1 wakeup (pwrwake_cpu1 event)]); PWRLP_TEMPO1 --> WaitPWRLP_TEMPO1([Wait for PWRLP_TEMPO]); CPU1Wakeup --> WaitPWRLP_TEMPO1; WaitPWRLP_TEMPO1 --> WaitAllPLLxReady([Wait for all PLLx ready signals]); WaitAllPLLxReady --> EnableCPU1ClockDomain([Enable CPU1 clock domain]); EnablePLLs --> CPU2Wakeup([CPU2 wakeup (pwrwake_cpu2 event)]); CPU2Wakeup --> CPU2TMPSKP{CPU2TMPSKP = 1?}; CPU2TMPSKP -- Yes --> WaitPWRLP_TEMPO2([Wait for PWRLP_TEMPO]); CPU2TMPSKP -- No --> WaitPWRLP_TEMPO2; WaitPWRLP_TEMPO2 --> CPU2ClockOsc{CPU2 clock = osc?}; CPU2ClockOsc -- Yes --> WaitAllPLLxReady; CPU2ClockOsc -- No --> WaitAllPLLxReady; WaitAllPLLxReady --> EnableCPU2ClockDomain([Enable CPU2 clock domain]); EnableCPU1ClockDomain --> RemoveWriteProtection([Remove write protection on sensitive registers and set CKREST = 0]); EnableCPU2ClockDomain --> RemoveWriteProtection; RemoveWriteProtection --> End([END]);
MSv71473V1
Figure 99. Wake-up from CStop

graph TD
subgraph CPU1_WakeUp [CPU1 Wake-up]
E1[CPU1 wakeup event] --> E2([CPU1_EXIT_FROM_CSTOP])
E2 --> D1{D1 is ON}
D1 -- No --> W1[Wait for vcpu_rdy]
W1 --> R1[Run the CPU1]
D1 -- Yes --> D2{DDR to enable?}
D2 -- No --> W1
D2 -- Yes --> E3[Enable ck_pll1_ref and ck_cpu1_ext2f]
E3 --> W2[Wait for PLL1 ready signal]
E4[Enable ck_pll2_ref] --> W3[Wait for PLL2 ready signal]
W3 --> W2
W2 --> E5[Enable CPU1 clock domain set prior CStop]
E5 --> R1
R1 --> E6([END])
end
subgraph CPU2_WakeUp [CPU2 Wake-up]
E7[CPU2 wakeup event] --> E8([CPU2_EXIT_FROM_CSTOP])
E8 --> D3{Peripherals on AXI?}
E8 --> D4{DDR shared?}
D3 -- Yes --> E9[Enable AXI subsystem clocks]
D4 -- Yes --> E10[Enable ck_pll2_ref]
E10 --> W4[Wait for PLL2 ready signal]
E9 --> E11[Enable CPU2 clock domain set prior CStop]
W4 --> E11
E11 --> R2[RUN the CPU2]
R2 --> E12([END])
end
MSv71474V1
Note: When the system exits from Stop due to a wake-up event for the CPU2, if the CPU2 has a peripheral using HSE as kernel clock, the CPU2 has to check that the HSE is ready before using this peripheral.
In order to avoid any unexpected behavior during the clock restore, the RCC provides a write protection to all registers having a sensitive content for the clock restore. The application must not attempt to write these registers when the clock restore sequence is running. If a CPUx attempts to write one of the registers listed in Table 124, the write operation is ignored. This situation may occur if one CPUx is already running while the other exits CStop.
Note: The RCC provides CKREST in order to inform the application if a clock restore is ongoing.
Table 124. Resources blocked during clock restore sequence
| Resource | Corresponding registers write-protected during clock restore |
|---|---|
| System clock muxes | RCC_XBARxCFGR (x = 0 to 63) |
| Resource | Corresponding registers write-protected during clock restore |
|---|---|
| System clock dividers | RCC_PREDIVxCFGR, RCC_FINDIVxCFGR (x = 0 to 63), RCC_LSMCUDIVR |
| PLLx (x = 2, 4 to 8) settings | RCC_PLLxCFGR1, RCC_PLLxCFGR2, RCC_PLLxCFGR3, RCC_PLLxCFGR4, RCC_PLLxCFGR5, RCC_PLLxCFGR6, RCC_PLLxCFGR7 |
| Reference clock selection | RCC_MUXSELCFGR |
| Oscillator settings | RCC_OCENSETR, RCC_OCENCLRR, RCC_HSICFGR, RCC_MSICFGR, RCC_LSICR |
| Miscellaneous | RCC_PWRLPDLYCR |
Going to Standby mode
The system can go to Standby mode when both CPU1 and CPU2 are in CStop, without any pending wake-up event on the EXTI, and when both CPUx allow Standby mode (see Section 19: Power control (PWR) for details).
When the complete system goes to Standby mode, the RCC stops all the clocks and PLLs, with the exception of the LSI and LSE. The RCC also informs the PWR that CPU1 and CPU2 subsystems are in CStop via pwrds_cpu1 and pwrds_cpu2 signals (see Figure 73). The PWR can then request the external PMIC to switch off VDDCORE and VDDCPU voltages.
Only parts working on VDD and VSW are kept operating in Standby.
Leaving Standby mode
When the circuit exits Standby mode, the HSI is selected as default clock for the complete system, the RCC registers are reset to their initial values (except RCC_LEGBOOTCR, RCC_STBYBOOTCR, RCC_LSICR, RCC_BDCR, RCC_RDCR, RCC_HWRSTSCLRR, RCC_C1HWRSTSCLRR, and RCC_C2HWRSTSCLRR).
Note: A system reset is generated when the circuit exits Standby mode.
20.4.9 Peripheral clock distribution
Some peripherals are designed to work with two different clock domains asynchronous each other:
- • a clock domain synchronous to the register and bus interface (ck_icn_p_perx clock)
- • a clock domain generally synchronous to the peripheral (kernel clock ck_ker_perx)
The benefit of having peripherals supporting these two clock domains is that the user has more freedom to choose optimized clock frequency for the CPUs, bus matrix, and for the kernel part of the peripheral. The user can then change the bus frequency without reprogramming the peripherals. For example, an ongoing transfer with UART is not disturbed if its APB clock is changed on-the-fly.
Table 125 displays the kernel clock that the RCC can provide to the peripherals. Each row of this table represents generally a MUX, and peripherals connected to its output. The columns starting at number 5, represent a clock source. Column 3 gives the maximum allowed frequency at each MUX output. Columns 6 up to 18 represent the possible low-power kernel clock sources (“X” means supported clock).
Table 125. Kernel clock distribution overview| Peripheral clock | Clock property (1) | Max. allowed freq. (MHz) | Bus | Flexclkgen channel number | Kernel clock source(2) | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pll4_ck | pll5_ck | pll6_ck | pll7_ck | pll8_ck | spdifrx_symb_ck | ck_in | lse_ck | lsi_ck | msi_ker_ck | hsi_ker_ck | hse_ker_ck | timg[2:1]_ck | |||||
| ck_ker_tim2, ck_ker_tim3, ck_ker_tim4, ck_ker_tim5, ck_ker_tim6, ck_ker_tim7, ck_ker_tim10, ck_ker_tim11, ck_ker_tim12, ck_ker_tim13, ck_ker_tim14 | S | 150 | APB1 | - | - | - | - | - | - | - | - | - | - | - | - | - | X |
| ck_ker_lptim1, ck_ker_lptim2 | A | 100 | 7 | X | X | X | X | X | - | - | LP | LP | - | - | - | - | |
| ck_ker_usart2, ck_ker_uart4 | A | 100 | 8 | X | X | X | X | X | - | - | - | - | LP | LP | LP | - | |
| ck_ker_usart3, ck_ker_uart5 | A | 100 | 9 | X | X | X | X | X | - | - | - | - | LP | LP | LP | - | |
| ck_ker_spi2 | A | 133 | 10 | X | X | X | X | X | - | X | - | - | LP | LP | LP | - | |
| ck_ker_spi3 | A | 133 | 11 | X | X | X | X | X | - | X | - | - | LP | LP | LP | - | |
| ck_ker_spdifrx | A | 200 | 12 | X | X | X | X | X | - | - | - | - | - | LP | - | - | |
| ck_ker_i2c1, ck_ker_i2c2 | A | 200 | 13 | X | X | X | X | X | - | - | - | - | LP | LP | - | - | |
| ck_ker_i3c1, ck_ker_i3c2 | A | 100 | 14 | X | X | X | X | X | - | - | - | - | LP | LP | - | - | |
| Reserved | A | - | 15 | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| ck_ker_tim1, ck_ker_tim8, ck_ker_tim15, ck_ker_tim16, ck_ker_tim17 | S | 150 | APB2/ AHB2 | - | - | - | - | - | - | - | - | - | - | - | - | - | X |
| ck_ker_spi1 | A | 200 | 16 | X | X | X | X | X | - | X | - | - | LP | LP | LP | - | |
| ck_ker_spi4, ck_ker_spi5 | A | 133 | 17 | X | X | X | X | X | - | - | - | - | LP | LP | LP | - | |
| ck_ker_usart1 | A | 133 | 18 | X | X | X | X | X | - | - | - | - | LP | LP | LP | - | |
| ck_ker_usart6 | A | 100 | 19 | X | X | X | X | X | - | - | - | - | LP | LP | LP | - | |
| ck_ker_uart7 | A | 100 | 20 | X | X | X | X | X | - | - | - | - | LP | LP | LP | - | |
| ck_ker_mdf1(3)(4) | A | 133 | 21 | X | X | X | X | X | X | X | - | - | LP | LP | LP | - | |
| ck_ker_sai1 | A | 133 | 22 | X | X | X | X | X | X | X | - | - | LP | LP | LP | - | |
| ck_ker_sai2 | A | 133 | 23 | X | X | X | X | X | X | X | - | - | LP | LP | LP | - | |
| ck_ker_sai3 | A | 133 | 24 | X | X | X | X | X | X | X | - | - | LP | LP | LP | - | |
| ck_ker_sai4 | A | 133 | 25 | X | X | X | X | X | X | X | - | - | LP | LP | LP | - | |
| ck_ker_fdcan | A | 133 | 26 | X | X | X | X | X | - | - | - | - | - | - | LP | - | |
| ck_ker_iwdg1, ck_ker_iwdg2, ck_ker_iwdg3, ck_ker_iwdg4 | A | 1 | APB3 | - | - | - | - | - | - | - | - | - | X | - | - | - | - |
| ck_ker_dts (TEMP) | A | 64 | - | - | - | - | - | - | - | - | - | - | X | X | X | - | |
Table 125. Kernel clock distribution overview (continued)
| Peripheral clock | Clock property (1) | Max. allowed freq. (MHz) | Bus | Flexclkgen channel number | Kernel clock source(2) | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pll4_ck | pll5_ck | pll6_ck | pll7_ck | pll8_ck | spdifrx_symb_ck | ck_in | lse_ck | lsi_ck | msi_ker_ck | hsi_ker_ck | hse_ker_ck | timg[2:1]_ck | |||||
| ck_ker_ltdc (pixel clock) | A | 314 | APB4 | 27 | X | X | X | X | X | - | - | - | - | - | - | - | - |
| Reserved | A | - | 28 | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| ck_ker_dcmipp (DCMIPP+CSI) | A | 333 | 29 | X | X | X | X | X | - | - | - | - | - | - | - | - | |
| ck_ker_csitxesc | A | 20 | 30 | X | X | X | X | X | - | - | - | - | - | - | X | - | |
| ck_ker_csiphy | A | 27 | 31 | X | X | X | X | X | - | - | - | - | - | - | X | - | |
| Reserved | A | - | 32 | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| ck_ker_stgen | A | 64 | 33 | X | X | X | X | X | - | - | - | - | - | X | X | - | |
| Reserved | A | - | 34 | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| Reserved | A | - | 35 | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| ck_ker_i3c3 | A | 100 | APB5 | 36 | X | X | X | X | X | - | - | - | - | LP | LP | - | - |
| ck_ker_spi6 | A | 133 | 37 | X | X | X | X | X | - | - | - | - | LP | LP | LP | - | |
| ck_ker_i2c3 | A | 133 | 38 | X | X | X | X | X | - | - | - | - | LP | LP | - | - | |
| ck_ker_lpuart1 | A | 133 | 39 | X | X | X | X | X | - | - | - | - | LP | LP | LP | - | |
| ck_ker_lptim3 | A | 100 | 40 | X | X | X | X | X | - | - | LP | LP | - | - | - | - | |
| ck_ker_lptim4 | A | 100 | 41 | X | X | X | X | X | - | - | LP | LP | - | - | - | - | |
| ck_ker_rtc (RTC/AWU(5)) | A | 4 | - | - | - | - | - | - | - | - | X | X | - | - | X | - | |
| ck_ker_lptim5 | A | 100 | 42 | X | X | X | X | X | - | - | LP | LP | - | - | - | - | |
| ck_ker_tsdbg | A | 64 | APBDBG | 43 | X | X | X | X | X | - | - | - | - | - | - | - | - |
| ck_ker_tpiu | A | 200 | 44 | X | X | X | X | X | - | - | - | - | - | - | - | - | |
| ck_sys_atb, ck_icn_m_etr | A | 400 | ATB | 45 | X | X | X | X | X | - | - | - | - | - | - | - | - |
| ck_ker_adc1 | A | 133 | AHB2 | 46 | X | X | X | X | X | - | - | - | - | - | - | - | - |
| ck_ker_adc2 | A | 133 | 47 | X | X | X | X | X | - | - | - | - | - | - | - | - | |
| ck_ker_ospi1 (OCTOSPI1) | A | 266 | 48 | X | X | X | X | X | - | - | - | - | - | - | - | - | |
| Reserved | A | - | 49 | - | - | - | - | - | - | - | - | - | - | - | - | - | |
Table 125. Kernel clock distribution overview (continued)
| Peripheral clock | Clock property (1) | Max. allowed freq. (MHz) | Bus | Flexclkgen channel number | Kernel clock source(2) | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pll4_ck | pll5_ck | pll6_ck | pll7_ck | pll8_ck | spdifrx_symb_ck | ck_in | lse_ck | lsi_ck | msi_ker_ck | hsi_ker_ck | hse_ker_ck | timg[2:1]_ck | |||||
| ck_ker_fmc | A | 200 | AXI,AHB5 | 50 | X | X | X | X | X | - | - | - | - | - | - | - | - |
| ck_ker_sdmmc1 | A | 200 | 51 | X | X | X | X | X | - | - | - | - | - | - | - | - | |
| ck_ker_sdmmc2 | A | 200 | 52 | X | X | X | X | X | - | - | - | - | - | - | - | - | |
| ck_ker_sdmmc3 | A | 200 | 53 | X | X | X | X | X | - | - | - | - | - | - | - | - | |
| ck_ker_eth1 | A | 125 | 54 | X | X | X | X | X | - | - | - | - | - | - | - | - | |
| ck_ker_eth2 | A | 125 | 55 | X | X | X | X | X | - | - | - | - | - | - | - | - | |
| ck_ker_eth1ptp, ck_ker_eth2ptp | A | 200 | 56 | X | X | X | X | X | - | - | - | - | X | X | X | - | |
| ck_ker_usb2phy1 | A | 24 | 57 | X | X | X | X | X | - | - | - | - | - | - | X | - | |
| ck_ker_usb2phy2 | A | 24 | 58 | X | X | X | X | X | - | - | - | - | - | - | X | - | |
| Reserved | A | - | 59 | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| Reserved | A | - | NA | 60 | - | - | - | - | - | - | - | - | - | - | - | - | - |
| ck_mco1 | A | 160(6) | 61 | X | X | X | X | X | X | X | X | X | X | X | X | - | |
| ck_mco2 | A | 62 | X | X | X | X | X | X | X | X | X | X | X | X | - | ||
| ck_cpu1_ext2f | A | 400 | 63 | X | X | X | X | X | - | - | - | - | X | X | X | - | |
- 1. 'A' means that the kernel clock is asynchronous with respect to bus interface clock. 'S' means that the kernel clock is synchronous with respect to bus interface clock.
- 2. 'X' means supported kernel clock source. 'LP' means supported kernel clock source when the CPU that has allocated the peripheral is in CStop. hsi_ck, hse_ck, and msi_ck are possible for all Flexclkgen channels.
- 3. MDF1 is on AHB2 bus.
- 4. MDF1 low power modes (LP) requires to set HSIKERON, MSIKERON or HSEKERON bit in RCC_OCENSETR register according to the selected kernel clock sources.
- 5. The RTC switch is in the VSW domain. When HSE is selected, the kernel clock is divided. By default, the RTC kernel clock is off. Refer to RCC_BDCR for details.
- 6. Depends on I/O capability.
For CPU2, the SysTick timer clock requires synchronous clock enables, SSTCLKEN and NSSTCLKEN, that are pulsed every 8 cycles of ck_icn_hs_mcu root clock.
Debug authentication is possible when system is under reset. In this case all debug components located behind AP0 (APB-AP) access port are required to be clocked. These components are belonging to the ck_dap clock domain which is only sourced with HSI clock (hsi_ck).
The following sections show a more detailed view of the kernel clock and bus interface clock distribution (see Section 20.4.12 for details).
In order to reduce the amount of switches, some peripherals share the same kernel clock source. Nevertheless, all peripherals have their dedicated enable signal.
Clock distribution for timers
The TIMs timers use kernel clocks (ck_ker_timx, ck_ker_timy) phase aligned with the bus interface clock. The frequency of the timer clocks depends on:
- the APB prescaler corresponding to the bus where the timer is connected
- TIMG[2:1]PRE bits
The table below shows how to select the timer clock frequency.
Table 126. Ratio between clock timers and ck_icn_apbx
| APB1DIV APB2DIV(1) | TIMG1PRE TIMG2PRE(2) | \(F_{\text{ck\_ker\_timx}}\) \(F_{\text{ck\_ker\_timy}}\) | \(F_{\text{ck\_icn\_apb1}}\) \(F_{\text{ck\_icn\_apb2}}\) | Comments |
|---|---|---|---|---|
| 000 | x | \(F_{\text{ck\_icn\_ls\_mcu}}\) | \(F_{\text{ck\_icn\_ls\_mcu}}\) | The timer clock is equal to the bus clock. |
| 001 | x | \(F_{\text{ck\_icn\_ls\_mcu}}\) | \(F_{\text{ck\_icn\_ls\_mcu}} / 2\) | The timer clock is two times faster than the bus clock. |
| 010 | 0 | \(F_{\text{ck\_icn\_ls\_mcu}} / 2\) | \(F_{\text{ck\_icn\_ls\_mcu}} / 4\) | |
| 011 | 0 | \(F_{\text{ck\_icn\_ls\_mcu}} / 4\) | \(F_{\text{ck\_icn\_ls\_mcu}} / 8\) | |
| 100 | 0 | \(F_{\text{ck\_icn\_ls\_mcu}} / 8\) | \(F_{\text{ck\_icn\_ls\_mcu}} / 16\) | |
| 010 | 1 | \(F_{\text{ck\_icn\_ls\_mcu}}\) | \(F_{\text{ck\_icn\_ls\_mcu}} / 4\) | The timer clock is four times faster than the bus clock. |
| 011 | 1 | \(F_{\text{ck\_icn\_ls\_mcu}} / 2\) | \(F_{\text{ck\_icn\_ls\_mcu}} / 8\) | |
| 100 | 1 | \(F_{\text{ck\_icn\_ls\_mcu}} / 4\) | \(F_{\text{ck\_icn\_ls\_mcu}} / 16\) |
1. APB1DIV and APB2DIV are in RCC_APB1DIVR and RCC_APB2DIVR.
2. TIMG1PRE and TIMG2PRE are in RCC_TIMG1PRER and RCC_TIMG2PRER.
Figure 100. Peripheral clock distribution for TIMs

Notes: (1) There is one enable bit and one low-power enable bit per timer. x represents the default divide ratio after a system reset.
(2) Can be changed on the fly.
MSv71475V2
Refer to Section 20.4.12 for details on the behavior of the clock gating logic (CGL).
Clock distribution for ADCs
The ADC kernel clocks can be selected among the following source clocks: ck_ker_adc1, ck_ker_adc2 or ck_icn_ls_mcu.
Depending on the accuracy of measured values at ADC level, their kernel clocks can be selected to be either synchronous or asynchronous, according to ADC1KERSEL and ADC2KERSEL[1:0] in RCC_ADC1CFGR and RCC_ADC2CFGR. The table below shows how to select the kernel clocks source of the 2 ADCs.
Table 127. ADC kernel clock source selection
| ADC1KERSEL | ADC2KERSEL[1:0] | ADC1 ck_adc source | ADC2 ck_adc source | Comments |
|---|---|---|---|---|
| 0 | 0x0 | ck_ker_adc1 | ck_ker_adc2 | Asynchronous mode |
| 0x1 | ck_icn_ls_mcu | |||
| 0x2 | ck_ker_adc1 | Synchronous mode | ||
| 0x3 | NA | - | ||
| 1 | 0x0 | ck_icn_ls_mcu | ck_ker_adc2 | Asynchronous mode |
| 0x1 | ck_icn_ls_mcu | Synchronous mode | ||
| 0x2 | ck_ker_adc1 | Asynchronous mode | ||
| 0x3 | NA | - |
Figure 101. Peripheral clock distribution for ADCs

Clock distribution for the DDR
Figure 102 shows a simplified view of the clock distribution for the different blocks inside the DDR subsystem (DDRCTRL, DDRPHYC, DDRPERFM, RISAF4, MCE, PLL2).
The RCC needs to provide the following clocks:
- • APB and AHB clocks for the register interface (ck_icn_p_ddrc, ck_icn_p_ddrphyc, ck_icn_p_ddrperfm, ck_icn_p_risaf4 and ck_icn_p_ddrcfg)
- • AXI clock for the three AXI ports of DDRCTRL, RISAF4 and MCE (ck_icn_s_ddr)
- • reference clock for the PLL2
The RCC needs to provide also the following control bits:
- • MCDCG control bit (mcdcg_cken). Refer to Table 134 and Table 135 for details.
- • DPHYCG control bit (dphycg_cken). Refer to Table 136 and Table 137 for details.
- • PLL2 configuration bits. Refer to Section 20.8.95 to Section 20.8.101 for details.
Figure 102. Clock distribution for the DDR subsystem

Block diagram showing the clock distribution between the RCC and DDRSS blocks for the DDR subsystem:
- RCC side: Contains clock gating logic (CGL) gates controlled by registers such as
DDRPERFMLPEN/DDRPERFMEN,DDRSHR/DDRCPLPEN/DDRCPEN,DDRSHR/DDRCAPBLPEN/DDRCAPBEN,DDRPHYDLP/PLL2EN/DDRCKMOD,DDRSHR/DDRPHYCAPBLPEN/DDRPHYCAPBEN, andDDRSHR/DDRCFGLPEN/DDRCFGEN. Input clocks includeck_icn_p_ddrperfm,ck_icn_p_risaf4,ck_icn_p_ddrc,ck_icn_s_ddr,ck_icn_p_ddrphyc, andck_icn_p_ddrcfg. PLL blocks includePLL2 FRACandPLL2 SSMODwith aCK SWmultiplexer block. - DDRSS side: Contains functional modules:
DDRPERFM,MCE,RISAF4,DDRCTRL,AXIDCG1,AXIDCG2,MCDCG,DPHYCG,DDRPHYC IO(with PLL, BYPASSON selector, and DFI4.0 interface), andDDRCFG. - Interconnect & Control Clocks: Generates and routes signals including
pclk,ahb_mce_clk,ahb_risaf_clk,aclk_1,cactive_1,aclk_2,cactive_2,csysreq_ddrc,csysack_ddrc,mcdcg_cken,cactive_ddrc,selfref_state,ddrc_ker_ck,FREF,SYS_RSTN,dphycg_cken,dphy_ker_ck,dphy_ker_byp_ck,bypasspclk_enable,lpi_xpi_disable, andlpi_ddrc_disable.
MSv71477V1
Control of APB and AHB clocks
The control of the APB/AHB clock gating is performed via the following bits:
- • DDRSHR, DDRCAPBEN, and DDRCAPBLPEN control the gating of the APB clock of the DDRCTRL interface (ck_ictn_p_ddrc).
- • DDRSHR, DDRPHYCAPBEN, and DDRPHYCAPBLPEN control the gating of the APB clock of the DDRPHYC interface (ck_ictn_p_ddrphyc).
- • DDRSHR, DDRCFGEN, and DDRCFGLPEN control the gating of the APB clock of the DDRCFG interface (ck_ictn_p_ddrcfg).
- • DDRSHR, DDRCPEN, and DDRCPLPEN control the gating of the AHB clock of the RISAF4/MCE interface (ck_ictn_p_risaf4).
- • DDRPERFMEN and DDRPERFMLPEN control the gating of the APB clock of the DDRPERFM interface (ck_ictn_p_ddrperfm).
The dedicated RCC control bits for the DDR (DDRSHR, DDRCKMOD and DDRPHYDLP) are located in RCC_DDRITFCFGR.
Table 128. Gating control of the APB clocks with ck_ictn_p_ddrc and ck_ictn_p_ddrphyc
| DDRxEN(1) | DDRxLPEN(1) | DDRSHR(2) | CPU1 state | System mode | ck_ictn_p_apbx clock | Comments |
|---|---|---|---|---|---|---|
| 0 | X | X | Any | Run | OFF | ck_ictn_p_apbx is gated because DDRxEN = 0. |
| 1 | X | 0 | CRun | Run | ON | ck_ictn_p_apbx is forced ON because DDRxEN = 1, DDRSHR = 0, and CPU1 is in CRun. |
| 1 | 0 | 0 | CSleep | Run | OFF | ck_ictn_p_apbx is gated because DDRxLPEN = 0, and CPU1 is in CSleep. |
| 1 | ON | ck_ictn_p_apbx is forced ON because DDRxLPEN = 1, and CPU1 is in CSleep. | ||||
| 1 | X | 0 | CStop | Any | OFF | ck_ictn_p_apbx is gated because CPU1 is in CStop. |
| 1 | X | 1 | Any | Run | ON | ck_ictn_p_apbx is forced ON because DDRSHR = 1 and system is in Run. |
| 1 | X | 1 | Any | Stop or Standby | OFF | ck_ictn_p_apbx is gated. |
- 1. DDRxEN and DDRxLPEN are respectively the enable and low-power enable bits of any DDR APB port.
- 2. DDRSHR = 0 means that the DDR is only used by CPU1. Otherwise, the DDR is shared by both CPU1 and CPU2.
Control of AXI clocks
AXIDCG[1:2] handle the gating of the AXI clocks (aclk_1 and aclk_2) provided to the DDRCTRL AXI ports. ck_ictn_s_ddr clock is the source clocks of the AXI clocks.
Table 129 details the gating control of ck_ictn_s_ddr clock inside the RCC.
When LPI_XPI_DISABLE is cleared to 0 (see Section 12: DDR subsystem architecture (DDRSS) for details), the AXI clocks (aclk_1 and aclk_2) are gated according to the cactive_[1:2] signals provided by the DDRCTRL.
Table 129. Gating control of ck_icn_s_ddr clock
| DDRCPEN | DDRCPLPEN | DDRSHR | CPU1 state | System mode | ck_icn_s_ddr clock | Comments |
|---|---|---|---|---|---|---|
| 0 | X | X | Any | Run | OFF | ck_icn_s_ddr is gated because DDRCPEN = 01 |
| 1 | X | 0 | CRun | Run | ON(1) | ck_icn_s_ddr is forced ON because DDRCPEN = 1, DDRSHR = 0, and CPU1 is in CRun. |
| 1 | 0 | 0 | CSleep | Run | OFF | ck_icn_s_ddr is gated because DDRCPLPEN = 0 and CPU1 is in CSleep. |
| 1 | ON(1) | ck_icn_s_ddr is forced ON because DDRCPLPEN = 1 | ||||
| 1 | X | 0 | CStop | Any | OFF | ck_icn_s_ddr is gated. |
| 1 | X | 1 | Any | Run | ON(1) | ck_icn_s_ddr is forced ON because DDRSHR = 1 and system is in Run. |
| 1 | X | 1 | Any | Stop or Standby | OFF | ck_icn_s_ddr is gated. |
- 1. When LPI_XPI_DISABLE = 0 locally in the DDR subsystem, ck_icn_s_ddr is gated dynamically according to cactive_x. This allows ASR and HSR modes to be supported.
Control of DDRCTRL and DDRPHYC kernel clocks
MCDCG and DPHYCG handle respectively the clock gating of ddrc_ker_ck, dphy_ker_ck, and dphy_ker_byp_ck. The source clocks come from the PLL2. The control bits come from the RCC, and are gated according to the way the DDRCTRL and the RCC are programmed.
Note: As some part of DDRPHYC is reset synchronously to dphy_ker_ck clock (DfiClk), PLL2 reference clock (FREF) is provided to DDRPHYC after any system reset to avoid extra power consumption.
The table below details how ddrc_ker_ck, dphy_ker_ck, and dphy_ker_byp_ck clocks are handled according to DDRCKMOD value.
Table 130. DDRCKMOD control description
| DDRCKMOD | MCDCG mode | DPHYDCG mode | Comment |
|---|---|---|---|
| 00 | Normal | Normal | Software self-refresh (SSR)(1): The gating of the ddrc_ker_ck clock depends on DDRCPEN, DDRCPLPEN, DDRSHR bits, and CPU1 or system mode. The gating of dphy_ker_ck and dphy_ker_byp_ck clocks depends on DDRPHYCEN, DDRPHYDLP bits, and CPU1 or system mode. |
| 01 | Auto | Normal | Automatic self-refresh (ASR)(2): The clock ddrc_ker_ck is gated automatically according to cactive_ddrc signal in MCDCG. In this mode, DDRPHYCEN must be set to 1. DDRCPEN is still used to disable/enable the DDR interface |
| 10 | DDRC_LP | Normal | Hardware self-refresh mode (HSR)(2): The gating of the ddrc_ker_ck clock is controlled by the RCC via the DDRCTRL low-power interface. In this mode, DDRPHYCEN must be set to 1. DDRCPEN is still used to disable/enable the DDR interface. |
- 1. This mode must be selected during DDRCTRL and DDRPHYC initialization phase, and if the application is using the software self-refresh.
- 2. This mode can be used when the application wants to maintain a clock to the DDRPHY.
DDRCTRL low-power interface
The DDRCTRL provides a low-power interface which can be used to control the entry/exit of the DDRCTRL and DDRPHYC into LP1 low-power mode (see Section 12 for details). This interface controls also the gating of ddrc_ker_ck clock. This low-power interface is compliant to AMBA3 AXI LP protocol specification. In order to simplify the drawings, this document only shows the most significant states of the DDRCTRL low-power interface (see Section 12 for details).
The table below gives details on the DDRCTRL low-power states. The DDRCTRL low-power interface can be used in HSR mode in order to control:
- • the entry/exit of the external DDR device into low-power (self-refresh)
- • the generation of the DDRCTRL kernel clock
Table 131. DDRCTRL low-power states description
| DDRCTRL low-power states | Comment |
|---|---|
| RUN | Normal clocked operation: MDCG and DPHYCG provide the kernel clock(s) to DDRCTRL and DDRPHYC. csysreq_ddrc, csysack_ddrc and cactive_ddrc are all set to 1 by hardware. |
| LP1 | Low-power operation: MDCG does not provide the kernel clock to the DDRCTRL while the DDRPHYC is kept clocked. csysreq_ddrc, csysack_ddrc and cactive_ddrc are all set to 0. The PLL2 is kept running. |
| LP1_Rreq | Low-power entry initiated by the RCC: The RCC requests the DDRCTRL to enter into low-power by setting csysreq_ddrc to 0. The DDRCTRL may accept or deny the request. If a request is denied, the interface comes back to RUN state, and the RCC retries a new low-power request entry. When the low-power request is accepted by the DDRCTRL (csysack_ddrc and cactive_ddrc = 0), the RCC sets MDCG_CKEN bit to disable the DDRCTRL kernel clock. The state switches to LP1. |
| LP1_Rexit | Low-power exit initiated by the RCC: The RCC sets csysreq_ddrc to 1, and waits for csysack_ddrc and cactive_ddrc set to 1 before going to RUN state. |
| LP1_Dexit | Low-power exit initiated by the DDRCTRL: The DDRCTRL requests the kernel clock by setting cactive_ddrc to 1. The RCC sets csysreq_ddrc to 1, and waits for csysack_ddrc set to 1 before going to RUN. |
Self-refresh mode control
Switching the external DDR device into self-refresh is important for energy saving. When the external DDR device is in self-refresh, the application can switch off DDRCTRL and DDRPHYC clocks without loosing the external DDR content. When the external DDR device is in self-refresh, the application can no longer access to the content of the external DDR device.
Exiting a DDR device from self-refresh can take several microseconds. The application has to take into account this latency that is due to the external DDR device, but also to the way the PLL located into the DDRPHYC is handled.
The RCC offers three ways to control the DDRCTRL kernel clock:
- • software self-refresh mode (SSR)
- • automatic self-refresh mode (ASR)
- • hardware self-refresh mode (HSR)
There is only one way to control the DDRPHYC kernel clock:
- • software self-refresh mode (SSR)
The RCC behavior is different according to the self-refresh mode selected by the application. The application has to program DDRCKMOD in accordance with DDRCTRL and DDRPHYC configuration.
Software self-refresh mode (SSR)
In this mode, the application has to program directly the DDRCTRL in order to switch the external DDR device immediately into self-refresh. Typically, when the CPU1 wants to go to CSleep or CStop, and the DDR is not shared with the CPU2 (DDRSHR = 0), the CPU1 must insure that the DDR resource is not longer needed, and program the DDRCTRL in order to switch it to self-refresh.
The piece of code performing the entry/exit of the DDRCTRL to self-refresh must be located into the SYSRAM because some software routines need to run when the DDR device is in self-refresh.
Automatic self-refresh mode (ASR)
In this mode, the software does not need to program the DDRCTRL every time the DDRCTRL must be set into self-refresh. The DDRCTRL goes automatically into self-refresh mode when the DDRCTRL is inactive for an amount of time defined into the DDRCTRL.
Even when the system is in Run mode, the DDRCTRL may go to self-refresh if there is no activity on its AXI ports. The automatic self-refresh mode allows the entry into self-refresh whatever CPUx mode.
When the CPU1 goes to CSleep, and the DDR is not shared with the CPU2, if the clock of the DDRCTRL needs to be gated, the MDCG delays this clock gating until the DDRCTRL switches into self-refresh mode.
The ASR mode must be used only if the DDRCTRL has been programmed in automatic self-refresh mode, otherwise the behavior of the DDR interface is not guaranteed. This mode can only be used when system is in Run mode.
The ASR mode impacts the gating of the DDRCTRL kernel clock (ddrc_ker_ck). dphy_ker_ck must be kept running in this mode.
When the ASR mode is used, DDRCPEN must be set to 1.
The figure below shows a simplified timing for the entry and exit from self-refresh. In this example, DDRCPEN = DDRCPLPEN = 1, DDRPHYCEN = 1, LPI_XPI_DISABLE = 0, and DDRSHR = 0.
Figure 103. Entering and exiting self-refresh in ASR mode
![Timing diagram for entering and exiting self-refresh in ASR mode. The diagram shows the relationship between CPU1 mode, AXI port activity, cactive_ddrc, ddrc_ker_ck, dphy_ker_ck, and aclk_[2:1] signals. CPU1 mode is in CRUN or CSLEEP. AXI port activity is shown as bursts. cactive_ddrc is a control signal that transitions from 0 to 1. ddrc_ker_ck and dphy_ker_ck are clock signals that are active during normal operation and self-refresh. aclk_[2:1] is the AXI clock, which is gated during self-refresh. DLY1 is the AXI timeout delay, and DLY2 is the DDR self-refresh entry delay. The diagram is labeled MSv71478V1.](/RM0506-STM32MP21/5d5e1e99b8f02597dcf1d9a02c400fff_img.jpg)
The diagram illustrates the timing for entering and exiting self-refresh in ASR mode. It shows the following signals and events:
- CPU1 mode: A bar indicating the system is in CRUN or CSLEEP state.
- AXI port[2:1] activity: Bursts of activity on the AXI port. Activity stops at point 1, and resumes at point 4.
- cactive_ddrc: A control signal that transitions from 0 to 1 at point 5, requesting the kernel clock.
- ddrc_ker_ck: The DDR kernel clock, which is active during normal operation and self-refresh, and gated during the timeout period.
- dphy_ker_ck: The DDR phy kernel clock, which is active during normal operation and self-refresh, and gated during the timeout period.
- aclk_[2:1]: The AXI clock, which is active during normal operation and self-refresh, and gated during the timeout period.
Key timing points and delays are marked:
- Point 1: Activity on AXI port x is stopped.
- Point 2: End of DLY1 (AXI timeout delay).
- Point 3: End of DLY2 (DDR self-refresh entry delay).
- Point 4: A transaction is performed in one of the two AXI ports, re-enabling the AXI clock.
- Point 5: cactive_ddrc transitions to 1, re-enabling the kernel clock.
DLY1 = AXI timeout delay
DLY2 = DDR self-refresh entry
MSv71478V1
- 1. The activity on AXI port x is stopped, due for example to the fact that the CPU1 goes to CSleep, but it can be also the case between two activity bursts.
- 2. When no activity is detected in the AXI port x for at least UMCTL2_AXI_LOWPWR_NOPXCNT*aclk_x cycles (DLY1), the AXI clock (aclk_x) is gated if LPI_XPI_DISABLE is cleared to 0 (see Section 12: DDR subsystem architecture (DDRSS) for details).
- 3. When the AXI interfaces are gated, if they do not switch back to active after DLY2 delay, ddrc_ker_ck is gated. The CPU1 can be in CRUN or CSleep.
- 4. If a transaction is performed in one of the two AXI ports, the AXI clock (aclk_x) is reenabled. The AXI transaction can be caused by any master using DDR resources.
- 5. Few AXI clock cycles later, the DDRCTRL sets cactive_ddrc to 1 in order to request the kernel clock. ddrc_ker_ck is reenabled. The external DDR is then ready to process the pending transactions.
Hardware self-refresh mode (HSR)
This mode uses the DDRCTRL low-power interface (DDRCTRL-LP) in order to request to the DDR to enter or exit LP1 low-power mode (see Section 12 for details). The HSR mode can only be used when system is in Run mode.
The DDRCTRL-LP allows the entry of the DDR interface into self-refresh in the following cases:
- • when the interface is disabled via DDRCPEN bit
- • when CPU1 transitions from CRUN to CSleep, and the DDR is not shared with CPU2 (DDRSR = 0)
- • when CPU1 transitions from CRUN to CStop, the DDR is not shared with CPU2 (DDRSR = 0), and the CPU2 is not in CStop.
The DDRCTRL-LP allows the exit of the DDR interface from self-refresh in the following cases:
- • when the interface is enabled via DDRCPEN bit
- • when the CPU1 exits CSleep or CStop, and the DDR is not shared with CPU2 (DDRSHR = 0)
- • when the DDRCTRL requests to exit self-refresh. This may happen if another master accesses one of the AXI ports when CPU1 is in CSleep and DDR is not shared, or when the system is in Run and DDR is shared.
This HSR mode may be less efficient in term of power saving than the ASR mode but it prevents the DDRCTRL to go accidentally to self-refresh when CPU1 is in CRun, increasing the system performances.
Figure 104 shows simplified timing for the self-refresh entry and exit. This is typically what happens when the CPU1 goes to CSleep while some masters are still enabled. This example is based on Table 131 configuration with DDRCPEN = DDRCPLPEN = 1, DDRPHYCEN = 1, DDRPHYDLP = 0, LPI_XPI_DISABLE = 0, and DDRSHR = 0.
Figure 104. Entering and exiting self-refresh in HSR mode
![Timing diagram showing the sequence of events for entering and exiting self-refresh in HSR mode. It includes signals for CPU1 state (CRun/Run, CSleep), External DDR state (ACTIVE, Self-refresh), AXI port activity, Low-power bus state (RUN, LP1_Rreq, LP1, LP1_Dexit, LP1_Rexit), and various clock signals (ddrc_ker_ck, dphy_ker_ck, aclk_[2:1]). Numbered markers 1 through 8 indicate key transitions.](/RM0506-STM32MP21/3572f54d0f3cda2dac2b9416b8c801c0_img.jpg)
The diagram illustrates the timing sequence for self-refresh entry and exit. It shows the following signals over time:
- CPU1: Transitions from CRun/Run to CSleep and back to CRun/Run.
- External DDR state: Alternates between ACTIVE and Self-refresh.
- AXI port[2:1] activity: Shows bus activity (vertical bars) during RUN states.
- Low-power bus state: Transitions between RUN, LP1_Rreq, LP1, LP1_Dexit, LP1_Rexit, and back to RUN.
- ddrc_ker_ck: Kernel clock, active during RUN and after LP1_Dexit.
- dphy_ker_ck: PHY kernel clock, active throughout the sequence.
- aclk_[2:1]: AXI clock, active during RUN and after LP1_Dexit.
- CPU1 enters CSleep.
- LP1_Rreq is asserted.
- LP1 state begins.
- LP1_Dexit is asserted.
- AXI activity occurs.
- LP1_Rreq is asserted again.
- LP1 state begins again.
- LP1_Rexit is asserted.
- CPU1 exits CSleep.
- 1. When the CPU1 goes to CSleep, the RCC requests to the DDRCTRL to go to self-refresh, using the DDRCTRL low-power interface (LP1_Rreq). The AXI clock is disabled if no transactions occur on AXI ports for a programmed DLY1 delay and LPI_XPI_DISABLE = 0 (see Section 12 for details).
- 2. When all conditions in the DDRCTRL are met (no transaction pending, DDR in self-refresh), the DDRCTRL acknowledges the request. If the DDRCTRL denies the request, the RCC has to generate a new request until it is accepted by the DDRCTRL, or if the CPU1 exits from CSleep.
When the DDRCTRL acknowledges the low-power request, the RCC disables ddrc_ker_ck. The DDRCTRL low-power bus is then in LP1 state. - 3. If a transaction is performed in one of the two AXI ports, the AXI clock (aclk_x) is reenabled. The AXI transaction can be caused by any master using DDR resources.
- 4. Few AXI clock cycles later, the DDRCTRL requests to the RCC to re-enable the kernel clock, using the DDRCTRL low-power interface (LP1_Dexit). As soon as the RCC receives the request, ddrc_ker_ck is reenabled. The external DDR is then ready to process the pending transactions.
- 5. As the CPU1 is still in CSleep, the RCC requests to the DDRCTRL to go to self-refresh, using the DDRCTRL low-power interface (LP1_Rreq). The DDRCTRL may deny the
request several times if all conditions to enter in self-refresh are not met. The RCC has to renew its request regularly until it is accepted by the DDRCTRL. The RCC must stop performing this request if the CPU1 goes to CRUN meanwhile.
- 6. When all conditions in the DDRCTRL are met (no transaction pending, DDR in self-refresh), the DDRCTRL acknowledges the request. When the DDRCTRL acknowledges the low-power request, the RCC disables ddrc_ker_ck. The DDRCTRL low-power interface is then in LP1 state.
Note: The sequence described between step 4 to step 7 may be repeated several times until the CPU1 is in CSleep.
- 7. When the CPU1 exits from CSleep, the RCC reenables ddrc_ker_ck, and requests to the DDRCTRL to exit the DDR from self-refresh, using the DDRCTRL low-power bus (LP1_Rreq).
- 8. The DDRCTRL acknowledges the request by setting the DDRCTRL low-power interface into RUN state. The external DDR is then ready to process the pending transactions.
Transitions between SSR, ASR and HSR
The application can change DDRCKMOD value without disabling the DDR interface. The figure below shows the allowed transition between SSR, ASR and HSR modes.
Figure 105. Allowed transitions between SSR, ASR and HSR modes

graph TD
SSR((SSR)) -- "DDRCKMOD = 01" --> ASR((ASR))
SSR -- "DDRCKMOD = 10" --> HSR((HSR))
ASR -- "DDRCKMOD = 00" --> SSR
HSR -- "DDRCKMOD = 00" --> SSR
SSR -- "SSR: default mode after reset" --> SSR
MSv71480V1
The following direct transitions are not allowed:
- • From ASR to HSR: the application needs first to set DDRCKMOD[1:0] to 0x0 (SSR), and then to set DDRCKMOD[1:0] to 0x2 (HSR mode).
- • From HSR to ASR: the application needs first to set DDRCKMOD[1:0] to 0x0 (SSR), and then to set DDRCKMOD[1:0] to 0x1 (ASR mode).
Control of PLL2 reference clock
In all DDR self-refresh modes (SSR, ASR or HSR) described before, the PLL2 always runs. If the application wants to set more power savings (gated dphy_ker_ck and dphy_ker_byp_ck, and powered down PLL2), it has to set the DDRPHY in deep low-power mode (LP2 or LP3 low-power mode). This is only possible in SSR mode.
DDRPHYDLP in RCC_DDRITFCFGR is used to notify deep low-power mode for the RCC.
Recommended configurations
DDRCPEN and DDRPHYCEN bits are used to enable/disable the DDR interface.
Table 132 and Table 133 show the recommended RCC configurations. The application has to select the configuration adapted to its DDR configuration.
Note: In configurations #4 and #8, the PLL2 is powered down by hardware.
Table 132. Recommended configurations when DDR is not shared (DDRSHR = 0)
| Conf # | DDRCKMOD | DDRCPEN | DDRCPLPEN | DDRPHYCEN | DDRPHYDLP | CPU1 CRun | CPU1 CSleep | CPU1 CStop | Comments | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AXI clocks (1) | DDRCTRL clock(2) | DDRPHYC clock | AXI clocks (1) | DDRCTRL clock(2) | DDRPHYC clock | AXI clocks (1) | DDRCTRL clock | DDRPHYC clock | |||||||
| 1 | Any | 0 | x | 0 | x | OFF | OFF | OFF | OFF | OFF | OFF | OFF | OFF | OFF | Interface disabled |
| 2 | SSR | 1 | 1 | 1 | 0 | ON | ON | ON | ON | ON | ON | OFF | OFF | ON | Gating of DDRCTRL and DDRPHYC clocks depends on CPU1 state, and DDRPHYDLP. The application software must switch the DDR interface into a low-power mode, before gating clocks. |
| 3 | 1 | 0 | 1 | 0 | ON | ON | ON | OFF | OFF | ON | OFF | OFF | ON | ||
| 4 | 1 | 0 | 1 | 1 | ON | ON | ON | OFF | OFF | OFF | OFF | OFF | OFF | ||
| 5 | ASR | 1 | 1 | 1 | 0 | ON | ON | ON | ON | ON | ON | OFF | OFF | ON | Only the DDRCTRL kernel clock is controlled according to automatic mode |
| 6 | HSR | 1 | 0 | 1 | 0 | ON | ON | ON | OFF | DLP | ON | OFF | OFF | ON | The DDRCTRL kernel clock is controlled according to DDRCTRL-LP interface. The DDRPHYC kernel clock must be maintained active by setting DDRPHYCEN = 1. |
- When LPI_XPI_DISABLE = 0, the AXI clock is gated automatically according to cactive_[2:1] (DCG), except when DDRCPEN = 0.
- Dynamic clock gating is supported according to cactive_ddrc and selfref_state.
Table 133. Recommended configurations when DDR is shared (DDRSHR = 1)
| Conf # | DDRCKMOD | DDRCPEN | DDRCPLPEN | DDRPHYCEN | DDRPHYDLP | System Run | System Stop1/2 | Comments | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AXI clocks (1) | DDRCTRL clock(2) | DDRPHYC clock | AXI clocks (1) | DDRCTRL clock(2) | DDRPHYC clock | |||||||
| 7 | SSR | 1 | x | 1 | 0 | ON | ON | ON | NA | Gating of DDRCTRL and DDRPHYC clocks depends on system mode and DDRPHYDLP. The application software must switch the DDR interface into a low-power mode, before gating the clocks. | ||
| 8 | 1 | x | 1 | 1 | ON | ON | ON | OFF | OFF | OFF | ||
| 9 | ASR | 1 | x | 1 | 0 | ON | ON | ON | NA | Only DDRCTRL kernel clock is controlled according to the automatic mode | ||
| 10 | HSR | 1 | x | 1 | 0 | ON | DLP | ON | NA | The DDRCTRL kernel clock is controlled according to DDRCTRL-LP interface. LP1_Rreq is only possible when DDRCPEN = 0 in this case. The DDRPHYC kernel clock must be maintained active by setting DDRPHYCEN = 1. | ||
- 1. When LPI_XPI_DISABLE = 0, the AXI clock is gated automatically according to cactive_[2:1] (DCG), except when DDRCPEN = 0.
- 2. Dynamic clock gating is supported according to cactive_ddrc and selfref_state. Only valid in SSR and ASR modes.
MCDCG control interface
The tables below detail the mcdcg_cken control value in all DDR use cases.
Table 134. MCDCG control bit when DDR is not shared (DDRSHR = 0)
| DDRCKMOD | DDRCPEN | DDRCPLPEN | CPU1 state | mcdcg_cken | Comments |
|---|---|---|---|---|---|
| SSR | 0 | x | Any | 0 | DDR not used |
| 1 | x | CRun | 1 | Application put the DDR in self-refresh. | |
| 1 | 0 | CSleep | 0 | ||
| 1 | 1 | 1 | |||
| 1 | x | CStop | 0 | ||
| ASR(1) | 0 | x | Any | 0 | DDR not used |
| 1 | x | 1 | Gated locally when the DDR is in self-refresh |
Table 134. MCDCG control bit when DDR is not shared (DDRSHR = 0) (continued)
| DDRCKMOD | DDRCPEN | DDRCPLPEN | CPU1 state | mcdcg_cken | Comments |
|---|---|---|---|---|---|
| HSR (1) | 0 | x | Any | 0 | DDR not used |
| 1 | x | CRun | 1 | No gating | |
| 1 | 0 | CSleep | 0 | Gated locally once LP1 state is reached after LP1_Rreq | |
| 1 | 1 | 1 | No gating | ||
| 1 | x | CStop | 0 | Gated locally once LP1 state is reached after LP1_Rreq |
1. Only valid when system is in Run mode.
Table 135. MCDCG control bit when DDR is shared (DDRSHR = 1)
| DDRCKMOD | DDRCPEN | DDRCPLPEN | System mode | mcdcg_cken | Comments |
|---|---|---|---|---|---|
| SSR | 0 | x | Any | 0 | DDR not used |
| 1 | x | Run | 1 | Application has put the DDR in self-refresh. | |
| 1 | x | Stop | 0 | ||
| ASR | 0 | x | Run | 0 | DDR not used |
| 1 | x | 1 | Gated locally when the DDR is in self-refresh | ||
| HSR | 0 | x | Run | 0 | Gated (0) once LP1 state is reached after LP1_Rreq |
| 1 | x | 1 | No gating |
DPHYCG control interface
The tables below detail the dphycg_cken control value in all DDR use cases.
Table 136. DPHYCG control bit when DDR is not shared (DDRSHR = 0)
| DDRCKMOD | DDRPHYCEN | DDRPHYDLP | CPU1 state | dphycg_cken | Comments |
|---|---|---|---|---|---|
| SSR | 0 | x | Any | 0 | No gating |
| 1 | x | CRun | 1 | No gating | |
| 1 | 0 | CSleep | 1 | No gating | |
| 1 | 1 | 0 | Application manages self-refresh and PLL2 power down. | ||
| 1 | 0 | CStop | 1 | No gating | |
| 1 | 1 | 0 | PLL2 is powered down by hardware. |
Table 136. DPHYCG control bit when DDR is not shared (DDRSHR = 0) (continued)
| DDRCMOD | DDRPHYCEN | DDRPHYDLP | CPU1 state | dphycg_cken | Comments |
|---|---|---|---|---|---|
| ASR(1) | 0 | x | Any | 0 | No gating |
| 1 | x | 1 | No gating | ||
| HSR(1) | 0 | x | Any | 0 | No gating |
| 1 | x | 1 | No gating |
1. Only valid when system is in Run mode.
Table 137. DPHYCG control bit when DDR is shared (DDRSHR = 1)
| DDRCMOD | DDRPHYCEN | DDRPHYDLP | System mode | dphycg_cken | Comments |
|---|---|---|---|---|---|
| SSR | 0 | x | Any | 0 | No gating |
| 1 | 0(1) | Run | 1 | No gating | |
| 1 | 0 | Stop | 1 | No gating | |
| 1 | 1 | 0 | Application manages self-refresh. PLL2 is powered down by hardware. | ||
| ASR | 0 | x | Run | 0 | No gating |
| 1 | x | 1 | No gating | ||
| HSR | 0 | 0 | Run | 0 | No gating |
| 1 | 0 | 1 | No gating |
1. DDRPHYDLP = 1 is not applicable in Run mode.
20.4.10 General clock concept overview
The RCC handles the distribution of the CPU, bus interface, and peripheral clocks for the system, according to the operating mode of each CPUx (see Section 19: Power control (PWR) for details on operating modes and Section 20.4.1 for clock definitions).
For most of the peripherals, it is possible for the application to control the activation/deactivation of their kernel and bus interface clocks.
Prior to use a peripheral, the CPU1 or CPU2 has to enable it (setting its PERxEN to 1), and to define if this peripheral remains active in CSleep (setting its PERxLPEN to 1). This operation is called 'allocate' a peripheral to a CPUx (see Section 20.4.11 for details). The peripheral allocation is used by the RCC to control automatically the clock gating according to CPU states.
For example if the CPU1 enables a peripheral and decides that the kernel clock of this peripheral must be gated when it goes to CSleep, the CPU2 state has no effect on the clock gating of this peripheral, but the clock gating obeys to CPU1 state. This is true if the peripheral is not shared (see Section 20.4.11 for details). Allocating a peripheral based on
its RIF configuration guarantees to a CPUx that this peripheral remains accessible, whatever the other CPUx mode.
Figure 106 gives an example of peripheral allocation:
- • CPU1 enabled ETH1, SDMMC3 and RETRAM. The group composed by the CPU1, bus matrix 1, bus matrix 2, and peripherals allocated via RCC_PERxCFGR form the CPU1 peripheral domain (CPU1_DOM).
- • CPU2 enabled SYSRAM, OCTOSPI1, SRAM1 and USART1. The group composed by the CPU2, bus matrix 1, bus matrix 2, and peripherals allocated via RCC_PERxCFGR form the CPU2 peripheral domain (CPU2_DOM).
Note: IWDG1 and IWDG2 are expected to be allocated only to CPU1. IWDG3 and IWDG4 are expected to be allocated only to CPU2. PWR and RCC are common resources and allocated to both CPU1 and CPU2. Memories are allocated to both CPUx (see Figure 106 and Handling of memory devices for more details).
Figure 106. Peripheral allocation example

Note: CPU1_DOM and CPU2_DOM can be spread over the two domains.
When the CPU1 goes to CStop, the RCC disables automatically the bus interface and kernel clocks of all peripherals of CPU1_DOM, as well as CPU1 clock. If CPU2 is still in CRUN, the bus matrix 1 is still clocked as CPU2_DOM contains peripherals (SYSRAM, OCTOSPI1) physically connected to this bus matrix. The PLLs, if enabled, are not disabled by the RCC as the CPU2 still runs.
If CPU2 goes to CStop, the bus matrix 1 is no longer clocked.
Note: In this scenario, the complete system can go to Stop. If both CPUs allowed Standby mode, the system goes to Standby.
The wake-up events can exit the system from Standby or Stop.
Handling of memory devices
Both CPU1 and CPU2 can access all memory devices available in the product:
- • SYSRAM
- • SRAM1, OCTOSPI1
- • RETRAM, BKPSRAM
By default, the RETRAM memory is allocated (enabled) to both CPUx to allow accesses when the system exits Standby. All others memories are not allocated by default.
According to the RCC RIF resource configuration, any internal memory can be dedicated or shared by CPUs (see Section 20.4.11 for details).
Refer to Section 20.4.12 and Section 20.4.13 for details on clock enabling.
20.4.11 Peripheral allocation inside RCC
Each CPU can allocate any peripheral and hence control its kernel and bus interface clock. A peripheral is allocated when dedicated PERxEN is set in RCC_PERxCFGR (PERx is the peripheral x).
A peripheral is deallocated when dedicated PERxEN is reset in RCC_PERxCFGR.
According to the product RIF policy (see Section 20.7 for details), each CPU peripheral domain is created based on the following criteria (see Table 115 for details):
- • RIF peripheral configuration
Filters which CPU is allowed to allocate/deallocate the peripheral. Each RIF peripheral configuration is propagated to the RCC via perxrifcfr signals. - • RCC RIF resource configuration
Concerns peripherals that can be used simultaneously by both CPUs and are mainly the RIF-aware peripherals and the internal memories (see Table 138).
The RCC RIF resource configuration must be set in “Shared between different masters with semaphore protection” to allow these peripherals to be shared by both CPUs.
Warning: Any peripheral configured in single-access mode must be deallocated to become free for any other CPU. If not, any RIF configuration change does not work for any new allocation.
Nevertheless, any peripheral listed in the table below can be allocated by one CPU when the related RCC RIF resource configuration is set in “single-access” mode. The application must program the RIF peripheral configuration accordingly.
Example: If the application wants HPDMA1 to be used only by CPU1, the following steps are needed:
- 1. Set HPDMA1 RIF configuration in CPU1 single-access mode.
- 2. Set RCC HPDMA1 RIF configuration in CPU1 single-access mode (CFEN = 1, SEM_EN = 0 and SCID = CPU1 ID in RCC_R83CIDCFGR).
Table 138. Shareable peripherals list
| Category | List |
|---|---|
| Peripherals | DDR(1), RCC, PWR, EXTI, SYSCFG, IPCC1, HPDMA1, HPDMA2, HPDMA3, GPIOA, GPIOB, GPIOC, GPIOD, GPIOE, GPIOF, GPIOG, GPIOH, GPIOI, GPIOZ, FMC, BSEC, ETR, DBGMCU, RTC |
| Memories | SYSRAM, OCTOSPI1, SRAM1, RETRAM, BKPSRAM |
- 1. DDR can be set shareable according to DDRSHR in RCC_DDRITFCFGR.
When the RIF peripheral configuration is set in legacy mode (CFEN = 0):
- • The peripheral is allocated to the first allowed CPU which has set the enable bit. The application must manage the peripheral allocation/deallocation in case of shareable peripheral.
When the RIF resource configuration is set in legacy mode (CFEN = 0):
- • The resource is allocated to the latest allowed CPU which has set the enable bit except for the ones listed in Table 138. Once the resource is allocated, it is also available for the other CPU (clocking depends on the system state).
PERxEN is used by the hardware to provide the kernel and bus clocks according to the CPU state for peripherals not listed in Table 138, whereas it is based on the system state for peripherals set as shareable in Table 138.
Clock enabling delays
In order to avoid spurs, the clock gating logic synchronizes the enable command (coming generally from a clock request or PERxEN) with the selected clock.
- • A maximum delay of 2 periods of the enabled clock may occur between the enable command and the first rising edge of the clock. The enable command can be the rising edge of PERxEN, or a clock request asserted by a peripheral.
- • A maximum delay of 1.5 periods of the disabled clock may occur between the disable command and the last falling edge of the clock. The disable command can be the falling edge of PERxEN, or a clock request released by a peripheral.
Note: Both kernel and bus interface clocks are affected by this resynchronization delay.
In addition, the clock enabling delay may increase if the application enables for the first time, a peripheral which is not located into its domain (the subsystem where the peripheral is located may not have its subsystem clock ready). The subsystem clock must be switched on before the application can use this peripheral.
For example if CPU2 is enables a peripheral located into the AXI subsystem, while the CPU1 is in CStop, the RCC has to provide a clock to the AXI subsystem.
In order to allocate properly a peripheral, the following sequence must be respected:
- 1. Enable the peripheral clocks (allocate the peripheral) by writing PERxEN = 1.
- 2. Read back the RCC_PERxCFGR register. This operation can be considered as a dummy read.
- 3. The peripheral can now be used.
Note: When the bus interface clock is not active, the read/write accesses to the peripheral registers are not supported. A read access results in reading invalid data. A write access is ignored, and do not create any bus errors.
20.4.12 Peripheral clock gating control
As mentioned previously, each peripheral requires a bus interface clock, named ck_icn_p_perx or ck_icn_s_perx (for peripheral x). This clock is an APB, AHB or AXI clock, according to which bus the peripheral is connected.
The clock source used as bus interface clock for peripherals located into the CPU1 domain can be one of the Table 121 (such as ck_icn_hs_mcu, ck_icn_ls_mcu, ck_icn_sdmmc, or ck_icn_hsl) depending on the bus connected to each peripheral.
Some peripherals (such as SAI, or UART) need also a dedicated clock for their communication interface. This clock is generally asynchronous with respect to the bus interface clock, and is named kernel clock (ck_ker_perx).
Bus interface and kernel clocks can both be gated according to several conditions detailed hereafter.
As shown in the Figure 107, the enabling of the kernel and bus interface clocks of each peripheral depends on several input signals:
- • PERxEN, PERxLPEN bits in RCC_PERxCFGR
- – PERxEN represents the peripheral enable (allocation) bit for the CPU.
- – PERxLPEN represents the peripheral low-power enable bit.
- • cpu1_mode, cpu2_mode (see Section 20.4.13 for details)
- – CPU1 state (cpu1_mode) is a logic combination of CPU states (WFI or WFE) and STPREQ_P0 bit (see Table 141 for details).
- – For CPU2 (cpu2_mode), the state depends on the low-power core setting (see CPU2 clock gating).
- • sys_mode
- – System mode (sys_mode) is used to filter the clock request of autonomous peripherals.
- • kernel clock request (req_ck_ker_perx) of the peripheral itself (when feature available)
- • bus clock request (req_ck_bus_perx) of the peripheral itself (when feature available) (autonomous peripherals).
- • flexclkgen cross bar channel selection (XBARxSEL in RCC_XBARxCFGR)
Due to jitter constraints, the final clock gating stage for bus and/or kernel clocks is not inside the RCC but at the peripheral boundary. The RCC provides only the enable signal for the following peripherals: USBH, OTG, USB2PHY1 and USB2PHY2 (see Section 20.4.11 for more details).
Figure 107. Peripheral clock enable logic details

Table 139 and Table 140 detail the enabling logic of most peripheral clocks for peripherals allocated by CPUs.
Table 139. Peripheral bus clock enabling logic
| PERxEN | PERxLPEN | req_ck_bus_perx(1) | CPUx(2) | System mode | ck_icn_perx_en | Comments |
|---|---|---|---|---|---|---|
| 0 | X | X | X | X | 0 | No clock provided to the peripheral (PERxEN = 0) |
| 1 | X | X | CRun | 1 | Bus interface clock provided to the peripheral (CPUx in CRun and PERxEN = 1) | |
| 1 | 0 | X | CSleep | Run | 0 | No clock provided to the peripheral (CPUx in CSleep and PERxLPEN = 0) |
| 1 | 1 | X | 1 | Bus interface clock provided to the peripheral (CPUx in CSleep and PERxLPEN = 1) |
Table 139. Peripheral bus clock enabling logic (continued)
| PERxEN | PERxLPEN | req_ck_bus_perx(1) | CPUx(2) | System mode | ck_icn_perx_en | Comments |
|---|---|---|---|---|---|---|
| 1 | 0 | X | CStop | Run, Stop or LP-Stop | 0 | No clock provided to the peripheral (CPUx in CStop and PERxLPEN = 0). |
| 1 | 1 | 0 | 0 | No clock provided to the peripheral (CPUx in CStop, system in Run, Stop or LP-Stop mode, and req_ck_bus_perx = 0) | ||
| 1 | 1 | 1 | 1 | Bus interface clock provided to the peripheral (CPUx in CStop, system in Run, Stop or LP-Stop mode, and PERxEN = PERxLPEN = req_ck_bus_perx = 1) In system Stop or LP-Stop, HSI is the source clock | ||
| 1 | 1 | 0 | CStop | LPLV-Stop | 0 | No clock provided to the peripheral (system in LPLV-Stop and no bus clock request pending) |
| 1 | 1 | 1 | 1 | Bus interface clock provided to the peripheral (system in LPLV-Stop and req_ck_bus_perx = 1) |
- 1. See Section 19.5.2: Low-power batch acquisition mode (LPBAM) for the list of supported autonomous peripherals. All enabled autonomous peripherals are clocked when at least one req_ck_bus_perx is active.
- 2. CPUx = CPU1, CPU2 (see Section 20.4.14 for details).
As a summary, the bus interface clock is provided to the peripherals in the following conditions:
- • when the CPU to which the peripheral is allocated is in CRun
- • when the CPU is in CSleep, with PERxLPEN = 1
- • when the CPU is in CStop, system in Run, Stop or LP-Stop mode, with PERxLPEN = 1, and the peripheral generates a bus clock request
- • when the CPU is in CStop, system in LPLV-Stop mode, with PERxLPEN = 1, and the peripheral generates a bus clock request
Table 140. Peripheral kernel clock enabling logic
| PERxEN | PERxLPEN | XBARxSEL | req_ck_ker_perx | CPUx(1) | System mode | ck_ker_perx_en | Comments |
|---|---|---|---|---|---|---|---|
| 0 | X | X | X | X | X | 0 | No clock provided to the peripheral (PERxEN = 0) |
| 1 | X | X | X | CRun | Run | 1 | Kernel clock provided to the peripheral (CPUx in CRun and PERxEN = 1) |
| 1 | 0 | X | X | CSleep | 0 | No clock provided to the peripheral (CPUx in CSleep and PERxLPEN = 0) | |
| 1 | 1 | X | X | 1 | Kernel clock provided to the peripheral (CPUx in CSleep and PERxLPEN = 1) | ||
Table 140. Peripheral kernel clock enabling logic (continued)
| PERxEN | PERxLPEN | XBARxSEL | req_ck_ker_perx | CPUx(1) | System mode | ck_ker_perx_en | Comments |
|---|---|---|---|---|---|---|---|
| 1 | 1 | no lsi_ck and no lse_ck and no hsi_ker_ck and no msi_ker_ck and no hse_ker_ck | X | CStop | Run, Stop or LP-Stop | 0 | No clock provided to the peripheral (CPUx in CStop and lse_ck, lsi_ck, hsi_ker_ck, msi_ker_ck or hse_ker_ck not selected) |
| 1 | 1 | lsi_ck or lse_ck | X | 1 | Kernel clock provided to the peripheral (PERxEN = PERxLPEN = 1 and lsi_ck or lse_ck selected) The application must enable LSE or LSI if requested. | ||
| 1 | 1 | hsi_ker_ck or msi_ker_ck or hse_ker_ck | 1 | 1(2) | Kernel clock provided to the peripheral (req_ck_ker_perx = PERxEN = PERxLPEN = 1 and hsi_ker_ck, msi_ker_ck or hse_ker_ck selected) If the oscillators are off, the RCC enables them when a kernel clock request occurs. | ||
| 1 | 1 | hsi_ker_ck or msi_ker_ck or hse_ker_ck | 0(3) | 0 | No clock provided to the peripheral (CPUx in CStop, and no kernel clock request pending) | ||
| 1 | 1 | lsi_ck or lse_ck or msi_ker_ck | 0(3) | CStop | LPLV-Stop | 0 | No clock provided to the peripheral (no kernel clock request pending) |
| 1 | 1 | 1 | 1 | Kernel clock provided to the peripheral (PERxLPEN = 1, lsi_ck or lse_ck or msi_ker_ck selected and req_ck_ker_perx = 1) |
1. CPUx = CPU1 or CPU2 (see Section 20.4.14 for details).
2. The DTS does not support the kernel clock request, but the kernel clock is still delivered in CStop.
3. For MDF1 the kernel clock is provided when PERxEN = PERxLPEN = 1 if selected from a PLL, see Table 125 footnote (4) for oscillator cases. For LPTIM1/2/3/4/5, the kernel clock is provided when lsi_ck or lse_ck is selected.
Note: The kernel clock request generated by the peripheral, enables the corresponding oscillator only if XBARxSEL[3:0] in RCC_XBARxCFGR selects an oscillator: HSI, MSI or HSE.
As a summary, the kernel clock is provided to the peripherals in the following conditions:
- • when the CPU to which the peripheral is allocated is in CRun
- • when the CPU is in CSleep, with PERxLPEN = 1
- • when the CPU is in CStop, with PERxLPEN = 1, the peripheral generates a kernel clock request, and the selected clock is hsi_ker_ck or msi_ker_ck or hse_ker_ck
- • when the CPU is in CStop, with PERxLPEN = 1, and the kernel source clock of the peripheral is lse_ck or lsi_ck
- • when the CPU is in CStop, with PERxLPEN = 1, the peripheral generates a kernel clock request, and the selected clock is lsi_ck, lse_ck or msi_ker_ck
Note: Only some peripherals are able to request the kernel clock: I2C, I3C, SPI, U(S)ART. This feature gives to the peripheral the capability to wait for an event with an optimal power consumption.
20.4.13 CPUx and interconnect clocks gating
CPU1 clock gating
The CPU1 embeds one core and its own PLL (PLL1) provides all local clocks. The RCC provides only the PLL1 source reference clock (ck_pll1_ref), and the PLL1 bypass reference clock (ck_cpu1_ext2f).
When the CPU1 core goes to WFI, it is set in low-power state by gating its clocks, except for the functions used to wake up the core from WFI.
When the CPU1 core goes to WFE, it is set in low-power state by gating its clocks, except for the functions used to wake up the core from WFE.
When the CPU1 core is in WFI, the L2 memory system logic can also enter in WFI, and the cpu1_standbywfi_l2 signal is asserted. More precisely, when the CPU1 core is in WFI, the L2 memory system completes the pending transactions, enters in WFI, and cpu1_standbywfi_l2 is asserted. If CStop has been requested via STPREQ_P0 bit, the RCC disables ck_pll1_ref, ck_cpu1_ext2f clocks, and the AXI interface clock (ck_icn_m_cpu1).
The table below details the CPU1 modes according to the L2 memory system logic state (WFI), and RCC register values.
Table 141. CPU1 mode details(1)
| STPREQ_P0 | L2 memory logic in WFI | CPU1 mode |
|---|---|---|
| - | N | CRun |
| 0 | Y | CSleep |
| 1 | Y | CStop |
1. “-” means don't care.
The CPU1 can go in an enhanced CSleep when the ESLPREQ is set in RCC_C1SREQSETR. When this bit is set and STPREQ_P0 bits combination is 0, PLL1 is powered down and bypassed (ck_pll1_ref is also disabled) each time cpu1_standbywfi_l2 is asserted. ck_cpu1_ext2f clock must be used to be able to leave this mode.
When CPU1 is in CStop, PLL1 is also powered down when the system goes in one of Stop1 modes without any software assistance. If the system goes in one of Stop2 modes, the application software is required to disable PLL1 first, before putting the core in WFI state.
PLL1 disable application software procedure is the following:
- 1. Set CA35SS_SSC_CHGCLKREQ.ARM_CHGCLKREQ.
- 2. Poll CA35SS_SSC_CHGCLKREQ.ARM_CHGCLKACK bit until it is 1.
- 3. Clear CA35SS_SSC_PLL_ENABLE.NRESET_SWPLL.
- 4. Clear CA35SS_SSC_PLL_ENABLE.PLL_EN.
- 5. Poll CA35SS_SSC_PLL_ENABLE.LOCKP until it is 0.
Figure 108. CPU1 low-power interface

The diagram illustrates the CPU1 low-power interface. The RCC (Reset and Clock Control) block contains a MUXSEL, Flexclkgen, and CPU1CE. The CA35-SS (CPU1) block contains PLL1, SCU, and AXISYNC. The interface signals are as follows:
- ck_pll1_ref: Output from MUXSEL to PLL1.
- ck_cpu1_ext2f: Output from MUXSEL to PLL1.
- cpu1_pll_off_req: Output from CPU1CE to PLL1.
- cpu1_pll_off_ack: Output from PLL1 to CPU1CE.
- cpu1_standbywfi_l2: Output from SCU to CPU1CE.
- ck_icn_m_cpu1: Output from MUXSEL to AXISYNC.
- STPREQ_P0: Input to CPU1CE.
- AXISYNC: Interface between SCU and To AXI port.
MSv71483V2
Figure 109. CPU1 PLL1 stop sequence

The timing diagram shows the sequence of events during a CPU1 PLL1 stop. The CPU1 mode transitions from CRun to CStop and back to CRun. The signals involved are:
- cpu1_standbywfi_l2: Transitions high at the start of CStop and low at the end.
- cpu1_pll_off_req: Transitions high at the start of CStop and low at the end.
- cpu1_pll_off_ack: Transitions high at the end of CStop and low at the start of CRun.
- cpu_ck: Shows the transition from pll1_ck to ck_cpu1_ext2f during CStop, and back to pll1_ck during CRun.
- ck_cpu1_ext2f: Transitions high at the start of CStop and low at the end.
- ck_pll1_ref: Transitions high at the start of CStop and low at the end.
- pwrwake_cpu1: Transitions high at the end of CStop and low at the start of CRun.
MSv71484V1
CPU2 clock gating
CPU2 main clock (ck_cpu2) is sourced from ck_icn_hs_mcu clock.
CPU2 support two low-power states: sleep (SLEEPING output set high) and deepsleep (SLEEPING and SLEEPDEEP outputs set high).
CPU2 sleep state is equivalent to CSleep. CPU2 deepsleep state is equivalent to CStop for RCC. CPU2 main clock is only gated when it is in CStop.
Bus matrix and bridge clock gating
Bridge and bus matrix clocks are gated according to CPUx mode, and to the peripheral allocated to these CPUx. Table 142 shows in which conditions the RCC gates the bus matrix and bridge clocks (see Section 20.4.12 for information about convention naming).
Table 142. Bus clock enable details for ck_icn_ahbx with x = 2,5,6
and ck_icn_apby with y = 1,2,3,4,5,dbg
| CPU1(1) | CPU2(1) | cpu1_peren_ahbx(apby)(2) | cpu1_perlpen_ahbx(apby)(2) | cpu2_peren_ahbx(apby)(2) | cpu2_perlpen_ahbx(apby)(2) | req_ck_bus_perz | ck_icn_ahbx or ck_icn_apby | Description |
|---|---|---|---|---|---|---|---|---|
| CRun | Any | 1 | X | X | X | X | Clocked | The clock is generated when one of the following conditions is true: – CPU1 in CRun with at least one peripheral on AHBx (APBy) allocated (at least one PERxEN = 1) – CPU1 in CSleep with at least one peripheral on AHBx (APBy) allocated, and with PERxEN = PERxLPEN = 1 – CPU2 in CRun with at least one peripheral on AHBx (APBy) allocated (at least one PERxEN = 1) – CPU2 in CSleep with at least one peripheral on AHBx (APBy) allocated, and with PERxEN = PERxLPEN = 1 – both CPU1 and CPU2 in CStop with at least one autonomous peripheral on AHBx (APBy) allocated, with PERxEN = PERxLPEN = 1, and with its bus clock request active (req_ck_bus_perz = 1) |
| CSleep | 1 | 1 | X | X | X | |||
| Any | CRun | X | X | 1 | X | X | ||
| CSleep | X | X | 1 | 1 | X | |||
| CStop | CStop | 1 | 1 | X | X | 1 | ||
| X | X | 1 | 1 | 1 | ||||
| Any | Any | 0 | X | 0 | X | X | Gated | In all other cases, the clock is gated. |
| CSleep | 0 | X | X | 0 | X | |||
| CStop | 0 | X | X | X | X | |||
| CSleep | Any | X | 0 | 0 | X | X | ||
| CSleep | X | 0 | X | 0 | X | |||
| CStop | X | 0 | X | X | X | |||
| CStop | Any | X | X | 0 | X | X | ||
| CSleep | X | X | X | 0 | X | |||
| CStop | 1 | 1 | X | X | 0 | |||
| X | X | 1 | 1 | |||||
1. 'Any' means CRun, CSleep, or CStop.
2. cpu1_peren_ahbx(apby) is set to 1 when at least one peripheral connected to AHBx (APBy) is allocated to CPU1.
cpu1_perlpen_ahbx(apby) is set to 1 when at least one peripheral connected to AHBx (APBy) is allocated to CPU1, with its PERxLPEN set to 1.
cpu2_peren_ahbx(apby) is set to 1 when at least one peripheral connected to AHBx (APBy) is allocated to CPU2.
cpu2_perlpen_ahbx(apby) is set to 1 when at least one peripheral connected to AHBx (APBy) is allocated to CPU2, with its PERxLPEN set to 1.
20.4.14 Mass storage interface clocking
One programmable delay (DLYB) is used for each SDMMC and the OCTOSPI interface.
These programmable delays are used:
- • to tune the RX sampling clock phase for SDMMC1/2/3, OCTOSPI1 controllers
- • to tune the TX launch clock phase for OCTOSPI1, and thus to meet setup/hold constraints of TX signals versus the OCTOSPI memory clocks
These programmable delays are based on a DLL that compensates voltage and temperature variations. This DLL features 32 taps and covers the frequency range from 50 MHz to 208 MHz. The clock on which the DLL locks is provided by SDMMC or OCTOSPI controllers. This clock is at the same frequency as the memory clock, and it is free running. The programmable delays control bits are described in system configuration controller (SYSCFG) section. More details in Mass storage interfaces section.
FMC interface - Clocking schematic
Figure 110. FMC interface clocking

The FMC controller receives its kernel, AHB and AXI clocks from the RCC.
Table 143. FMC interface clocks from RCC
| Subsystem clock signal name | Peripheral | Clock signal name | Clock direction | RCC clock line | Max frequency | Description |
|---|---|---|---|---|---|---|
| clk_ker_fmc | FMC | KCLK | Input | ck_ker_fmc | 200 MHz | kernel clock |
| clk_icn_s_fmc | ACLK | Input | ck_icn_s_fmc | 400 MHz | AXI clock | |
| clk_icn_p_fmc | HCLK | Input | ck_icn_p_fmc | 200 MHz | AHB clock |
OCTOSPI interface - Clocking schematic
Figure 111. OCTOSPI interface clocking
The RCC provides kernel and bus clocks to OCTOSPI1 and OTFDEC1. DLYBOS1 provide delayed feedback clocks, and delayed TX launch clocks to OCTOSPI1.
Table 144. OCTOSPI clocks from RCC| Subsystem clock signal name | Peripheral | Clock signal name | Clock direction | RCC clock line | Max frequency | Description |
|---|---|---|---|---|---|---|
| clk_ker_octspi1 | OCTOSPI1 | ker_clk | Input | ck_ker_ospi1 | 266 MHz | kernel clock |
| clk_icn_s_octspi1 | OCTOSPI1 | HCLK | Input | ck_icn_s_ospi1 | 300 MHz | AHB clock |
| clk_icn_p_otfdec_1 | OTFDEC1 | HCLK | Input | ck_icn_p_otfd1 | 300 MHz | AHB clock |
| Peripheral | Clock signal name | Clock direction | Max frequency | Description |
|---|---|---|---|---|
| DLYBOS1 | rx_op_clk | Output | 200 MHz | Delayed RX sampling clock |
| DLYBOS1 | tx_op_clk | Output | 200 MHz | Delayed TX launch clock |
Details of the OCTOSPI interface clocking
For OCTOSPI1 interface, the RX sampling strobe can be selected between:
- • the memory clock after loopback at pin level (OCTOSPI ospi_clk_fb_io_i input)
- • a delayed version of this loopback clock (OCTOSPI ospi_clk_fb_dly_i input)
- • the DQS signal provided by the memory device (OCTOSPI afi_dqs input)
- • a delayed version of DQS (OCTOSPI ospi_clk_fb_dly_i input)
For OCTOSPI1 interface, the delay on loopback clock or DQS relies on a DLL. This DLL is used to tune the phase of the RX sampling strobe, so that it is positioned in the middle of the
data valid window, and guarantees that this phase remains constant even if voltage or temperature conditions vary.
Using this DLL is mandatory at all frequencies for protocols where a DQS is provided by the memory device to qualify read data. This DQS is edge-aligned with data at the output of the memory device, and must be shifted to enable data safe sampling. For memory frequencies above 50 MHz, the DLL is used in lock mode. For memory frequencies below 50 MHz, the DLL is used in bypass mode (pure delay).
For non DQS based protocols, using the DLL is recommended when memory frequency is greater than 100 MHz (STR), or 66 MHz (DTR). This is optional for lower speeds where using the loopback clock is sufficient. The DLL must not be used in lock mode for speed modes below 50 MHz.
A delay relying on a DLL is also implemented for the TX path, with the following delay use cases:
- • If operating in STR mode, data are generated by the OCTOSPI on the falling edge of the memory clock. This ensures by construction an optimal setup and hold timing versus the rising edge of the memory clock. The TX delay is not used.
- • If operating in DTR mode with a kernel clock that is a multiple of the memory clock, DHQC in OCTOSPI_TCR must be set to 1. This bit is used to shift the data versus memory clock edges (shift by T/4 if kernel clock frequency is twice the memory clock frequency). The TX delay is not used.
- • If operating in DTR mode with a kernel clock frequency equal to the memory clock frequency, the TX delay is required to shift the data versus the memory clock edges. This delay is used to shift the TX launch clock (OCTOSPI ospi_clk_ddrohold_dly_i input).
SDMMC interface - Clocking schematic
Figure 112. SDMMC interface clocking

The diagram illustrates the clocking architecture for three SDMMC interfaces (SDMMC1, SDMMC2, and SDMMC3). On the left, the RCC (Reset and Clock Control) block generates kernel and bus clocks. For each interface, two clock signals are derived: a kernel clock (sclk) and a bus clock (hclk). These are generated by AND gates combining enable signals (SDMMC1EN, SDMMC2EN, SDMMC3EN) with CGL (Clock Gating Logic) and the respective input clock signals (ck_ker_sdmmc1/2/3 and ck_icn_m_sdmmc1/2/3). The maximum frequency for these clocks is 200 MHz. The hclk signals pass through rstsync_sdmmc_1/2/3 blocks before reaching the SDMMC blocks. Each SDMMC block (SDMMC1, SDMMC2, SDMMC3) has several clock inputs: CKin (SDMMC1/2/3_CKIN), ClkOut (uSD_SDMMC1/2/3_CK_out), CKio (uSD_SDMMC1/2/3_CK_in), FB_CLK (connected to DLYBSD1/2/3), and ClkDll (connected to DLYBSD1/2/3). The DLYBSD1/2/3 blocks provide delayed feedback clocks for RX sampling, with inputs for rx_op_clk, rx_ip_clk, tx_op_clk, and tx_ip_clk, and outputs for rx_ip_clk and tx_ip_clk. The diagram also shows the connection of these clocks to external components like SDMMC1_CKIN, uSD_SDMMC1_CK, SDMMC2_CKIN, uSD_SDMMC2_CK, SDMMC3_CKIN, and uSD_SDMMC3_CK.
MSv71487V1
The RCC provides the kernel and bus clocks to the SDMMC1/2/3. DLYBSD1/2/3 provide delayed feedback clocks for RX sampling to the SDMMC1/2/3.
Table 146. SDMMC clocks from RCC
| Subsystem clock signal name | Functional block | Clock signal name | Clock direction | RCC clock line | Max frequency | Description |
|---|---|---|---|---|---|---|
| clk_ker_sdmmc1 | SDMMC1 | SClk | Input | ck_ker_sdmmc1 | 200 MHz | kernel clock |
| clk_icn_p_sdmmc1 | SDMMC1 | HCLK | Input | ck_icn_m_sdmmc1 | 200 MHz | AHB clock |
| clk_ker_sdmmc2 | SDMMC2 | SClk | Input | ck_ker_sdmmc2 | 200 MHz | kernel clock |
| clk_icn_p_sdmmc2 | SDMMC2 | HCLK | Input | ck_icn_m_sdmmc2 | 200 MHz | AHB clock |
| clk_ker_sdmmc3 | SDMMC3 | SClk | Input | ck_ker_sdmmc3 | 200 MHz | kernel clock |
| clk_icn_p_sdmmc3 | SDMMC3 | HCLK | Input | ck_icn_m_sdmmc3 | 200 MHz | AHB clock |
| Peripheral | Clock signal name | Clock direction | Max frequency | Description |
|---|---|---|---|---|
| DLYBSD1 | rx_op_clk | Output | 200 MHz | Delayed RX sampling clock |
| DLYBSD2 | rx_op_clk | Output | 200 MHz | Delayed RX sampling clock |
| DLYBSD3 | rx_op_clk | Output | 200 MHz | Delayed RX sampling clock |
Details of the SDMMC interface clocking
For all SDMMC1/2/3 interfaces, the RX sampling clock can be selected between:
- • the memory clock after loopback at pin level (SDMMC CKio input)
- • a delayed version of this loopback clock (SDMMC FB_CLK input)
- • the memory clock after loopback in an external level shifter (SDMMC CKin input)
For each SDMMC interface, the delayed loopback clock relies on a DLL. This DLL is used to tune the phase of the RX sampling clock so that it is positioned in the middle of the data valid window (also valid for Cmd), and guarantees that this phase remains constant even if voltage or temperature conditions vary. Using this DLL is mandatory for speed modes where the phase of the data (respectively Cmd) valid window is not guaranteed by the memory device (SDR104, HS200 modes). This is optional for other speed modes where using the loopback clock is sufficient. The DLL must not be used in lock mode for speed modes below 50 MHz.
There is no programmable delay nor DLL implemented for the TX paths of the SDMMC. The SDMMC generates data (respectively Cmd) with the maximum setup/hold timings versus the active edge of the clock sent to the memory device.
20.4.15 Ethernet interface clocking
There are two independent GMAC controllers (ETH1 and ETH2) that support MII, RMII and RGMII interfaces.
ETH1 and ETH2 include an MDIO interface. External clock I/Os are multiplexed to support internal or external clock generation. ETH1 and ETH2 support TSN.
Clocking schematic
Each GMAC has the same (but independent) clock management. The clocking for a single GMAC is shown in the figure below.
Figure 113. Single GMAC clocks

MSv71488v2
The RCC provides all the clocks except from the I/O inputs (ETH1_CLK125, ETH1_TX_CLK, ETH1_RX_CLK). the Ethernet clocks are also available as outputs (ETH1_CLK, ETH1_GTX_CLK) when the device is the clock master.
The main clock for the Ethernet is generated by the RCC (ck_ker_eth1) or externally (ETH1_CLK125 or ETH1_REF_CLK).
Clock signals
Table 148. Ethernet clocks from RCC
| Subsystem clock signal name | Peripheral | Clock signal name | Clock direction | RCC clock | Max frequency | Clock description |
|---|---|---|---|---|---|---|
| clk_eth1_hclk | ETH1 controller | hclk | Input | ck_icn_p_eth1 | 150 MHz | AHB register access |
| clk_eth1_axi_master | ETH1 controller | aclk | Input | ck_icn_m_eth1 | 300 MHz | AXI data master |
| clk_ker_eth1 | ETH1 controller | (multiple divided) | Input | ck_ker_eth1 | 125 MHz | Internal GMAC clock |
| clk_eth1_ptp_ref | ETH1 controller | clk_ptp_ref | Input | ck_ker_eth1ptp | 200 MHz | PTP reference clock |
In the table below, signals and I/Os for ETH2 are not shown, but repeat these called “_eth1” or “ETH1” with “_eth2” or “ETH2”.
Table 149. Ethernet clocks to/from I/Os
| Subsystem clock pin name | Peripheral | Clock signal name | Clock direction | Max frequency | Clock description |
|---|---|---|---|---|---|
| ETH1_CLK125 | ETH x controller | - | Input | 125 MHz | Optional RGMII external reference (fixed frequency) |
| ETH1_TX_CLK | - | Input | 25 MHz | MII external TX clock | |
| ETH1_RX_CLK/ ETH1_REF_CLK | - | Input | 125 MHz | MII or RGMII external RX clock, RMII external reference | |
| ETH1_CLK | - | Output | 125 MHz | To external PHY (fixed frequency) | |
| ETH1_GTX_CLK | clk_tx_i | Output | 125 MHz | To external PHY (dynamic frequency) | |
| ETH1_MDC | gmii_mdc_o | Output | hclk/4 | Clock for MDIO |
All RGMII I/Os must support 125 MHz dual-edge toggling. Only 1.8 V and 3.3 V I/O signaling is supported (\(V_{DD}\) common to other GPIOs). 1.5 V support is not required as most PHYs also support 1.8 V. This means that the RGMII v2.0 is supported except for HSTL 1.5 V.
Ethernet I/O use
Table 150. Active I/O per mode (MII, RMII, RGMII)
| Direction | MII | RMII | RGMII | Comments |
|---|---|---|---|---|
| Input/output | ETH_CLK | ETH_CLK | ETH_CLK | 125/50/25 MHz to PHY (static) |
| Output | - | - | GTX_CLK | 125/25/2.5 MHz in RGMII (dynamic) |
| Input | - | - | ETH_CLK125 | 125 MHz from PHY (static) |
| Input | RX_CLK | REF_CLK | RX_CLK | 125/25/2.5 MHz, or 50 MHz RMII |
| Input | RX_DV | CRS_DV | RX_CTL | - |
Table 150. Active I/O per mode (MII, RMII, RGMII) (continued)
| Direction | MII | RMII | RGMII | Comments |
|---|---|---|---|---|
| Input | RX_ER | - | - | - |
| Input | COL | - | - | - |
| Input | CRS | - | - | - |
| Input | RXD0 | RXD0 | RXD0 | DDR (except MII) |
| Input | RXD1 | RXD1 | RXD1 | - |
| Input | RXD2 | - | RXD2 | - |
| Input | RXD3 | - | RXD3 | - |
| Input | TX_CLK | - | - | 25/2.5 MHz in MII |
| Input | TX_EN | TX_EN | TX_CTL | - |
| Output | TXD0 | TXD0 | TXD0 | DDR (except MII) |
| Output | TXD1 | TXD1 | TXD1 | - |
| Output | TXD2 | - | TXD2 | - |
| Output | TXD3 | - | TXD3 | - |
| Output | MDC | MDC | MDC | 2.5 MHz or faster |
| Input/output | MDIO | MDIO | MDIO | - |
Description
The two controllers have separate register programming ports with independent clocks. Each controller also has a master port for data transfers, clocked by ck_icn_m_eth1 or ck_icn_m_eth2.
The RCC clock enable ck_ker_eth1_en gates the main Ethernet clock. There are also RCC clock enable for transmit (ck_eth1_tx_en) and receive (ck_eth1_rx_en) clocks, and an interconnect clock enable (ck_icn_eth1_en) for aclk and hclk.
The application can control the gating according to the CPUx modes (CRun, CSleep). It can also control the gating of clocks coming from ETH1_RX_CLK and ETH1_TX_CLK I/Os in CStop and Stop modes (see ETH1STPEN in RCC_ETH1CFGR).
The main Ethernet clock provided by the RCC is available on ETH1_CLK I/O. The clock selection for the RX and TX paths is controlled via the SYSCFG.
ETH1_SEL[2:0] in RCC_ETH1CFGR must be set to match the interface type used.
MII mode
The transmit clock is received from the external PHY via ETH1_TX_CLK I/O. The clock frequency is 2.5 or 25 MHz. The receive clock is received from the external PHY via ETH1_RX_CLK I/O. The clock frequency is 2.5 or 25 MHz. The ETH1_CLK output can be used to provide a reference clock (25 MHz) to the external PHY.
RGMII mode
The transmit clock can be selected between an internal clock provided by the RCC, or the clock received on the ETH1_CLK125 I/O. This selection is controlled via ETH1_CLK_SEL
in SYSCFG_ETH1CR. The clock frequency can be adjusted dynamically to 2.5, 25 or 125 MHz according to the mac_speed_o[1:0] signal provided by the ETH1 controller
The receive clock is coming directly from ETH1_RX_CLK I/O. The clock frequency is 2.5, 25, or 125 MHz. The dynamic transmit clock is provided to the PHY via ETH1_GTX_CLK I/O.
A constant reference clock of 125 MHz (50% duty cycle ± 5%) can also be provided to the external PHY via ETH1_CLK I/O.
Note: When the internal clock is provided externally, ck_ker_eth1 must not be gated.
RMII mode
The continuous reference clock (50 MHz) can be internally generated (ck_ker_eth1), or can come from ETH1_REF_CLK I/O. This selection is controlled via ETH1_REF_CLK_SEL in SYSCFG_ETH1CR.
The transmit and receive clock frequency can be adjusted dynamically to 2.5 or 25 MHz according to the mac_speed_o[0] signal provided by the ETH1 controller.
A continuous reference clock (50 MHz) can also be provided to the external PHY via ETH1_CLK I/O. To track the skew on the board when the internal clock is selected, the RMII clock (eth_clk_fb) is actually driven from the ETH1_CLK I/O buffer.
Note: To be continuous, ck_ker_eth1 must not be gated in Stop mode.
Dynamic clock generation
Internal transmit and receive clocks vary dynamically according to the MAC interface speed. The internal transmit clock is also available on ETH1_GTX_CLK I/O.
The ETH1 controller reports the speed of the MAC interface which may change dynamically during normal operation.
Table 151. Ethernet MAC speed encoding
| mac_speed_o[1:0] | MAC speed (Mbit/s) |
|---|---|
| 0x | 1000 |
| 10 | 10 |
| 11 | 100 |
Clock multiplexers controlled by mac_speed_o produce a glitch-free output.
Station management clock
ETH1_MDC is the output clock for the station management interface. The MDC clock is a divided version of ck_icn_p_eth1 ("CSR clock"). The clock range (CR) setting in ETH1_MACMDIOAR selects the division ratio.
IEEE 802.3 specifies a maximum MDC frequency of 2.5 MHz, but higher frequencies can be selected if required. 12 MHz is supported by STM32MP21xx devices, but ETH1 supports up to 50 MHz (hclk/4). See Section 77: Ethernet (ETH): gigabit media access control (GMAC) with DMA controller section for the available ratios. The same register can be used to add extra clock cycles at the end of an MDIO frame transmission.
20.4.16 CA35SS clocking
Clocks definition
All clocks provided to the CA35SS are controlled from the RCC, and related information to the clocks gating are described in the RCC specification. The table below lists clocks from the RCC and their usage in the CA35SS.
Table 152. Cortex-A35 interface clocks from RCC
| RCC clock line | CA35SS instance | Max frequency | Description |
|---|---|---|---|
| ck_cpu1_ext2f | CRMR | 400 MHz | Default clock frequency for Cortex-A35 core |
| ck_pll1_ref | PLL1 | 64 MHz | Reference clock for Cortex-A35 PLL1 |
| ck_icn_m_cpu1 | AXI4 bridge | 600 MHz | AXI4 clock for master side of asynchronous bridge |
| ck_icn_s_gic400 | GIC400 | 400 MHz | Interface clock for GIC400 |
| ck_ker_stgen | STGEN | 64 MHz | STGEN timer clock |
| clk_icn_p_stgen | STGEN | 150 MHz | STGEN programming interface clock |
| ck_icn_p_syscpu1 | SYSCFG | 150 MHz | Interface clock for system configuration registers |
The reference clock for the PLL1 can be selected among three sources (HSI, HSE, MSI) through RCC_MUXSELCFGR register. Four of these clocks have explicit clock gating controlled from RCC registers as follows:
- • ck_ker_stgen and clk_icn_p_stgen from RCC_STGENCFGR
- • ck_icn_p_syscpu1 from RCC_SYSCPU1CFGR
The others have dynamic clock gating depending on the Cortex-A35 core power states.
Clocking schematic
Figure 114. CA35SS interface clocks

MSv71489V2
The following clock sources can be selected by CA35SS registers to compute the Cortex-A35 clock, which is the main clock to the Arm core and its caches:
- • clkext2f
- • clkext2f divided by 2
- • PLL1 output clock
The CRMR handles this selection by providing appropriate clocks in a “glitch free” manner.
Note: After initial power-up reset, the dual Cortex-A35 clock is driven from clkext2f (not divided).
PLL1 enable procedure is the following:
- 1. Clear CA35SS_SSC_PLL_ENABLE.NRESET_SWPLL.
- 2. Configure PLL parameters in CA35SS_SSC_PLL_FREQ1 and CA35SS_SSC_PLL_FREQ2.
- 3. Set CA35SS_SSC_PLL_ENABLE.PLL_EN.
- 4. Poll CA35SS_SSC_PLL_ENABLE.LOCKP until it is 1.
- 5. Set CA35SS_SSC_PLL_ENABLE.NRESET_SWPLL.
- 6. Clear CA35SS_SSC_CHGCLKREQ.ARM_CHGCLKREQ.
- 7. Poll CA35SS_SSC_CHGCLKREQ.ARM_CHGCLKACK until it is 0.
20.4.17 Debug and trace clocking
Main debug and trace clocks are provided according to:
- • DAP CDBGPWRUPREQ request.
- • RCC_DBGCFGR register (DBGGEN, DBGMCUEN, TRACEEN).
- • RCC_ETRCFGR and RCC_STMCFGR registers.
The table below presents the list of the debug and trace external clocks.
Table 153. Debug and Trace subsystem external clocks
| RCC clock line | Debug and Trace instance | Instance signal name | Max. frequency | Description |
|---|---|---|---|---|
| ck_dap | DEBUG | clk_dap | 64 MHz | DAP clock domain (DBGMCU included) |
| ck_sys_dbg | DEBUG | ck_icn_apbdebug | 150 MHz | Debug clock domain |
| ck_sys_atb | DEBUG | ck_sys_atb | 400 MHz | ATB clock domain |
| ck_icn_m_etr | TRACE | ck_icn_etr | 400 MHz | ETR AXI master port clock |
| ck_icn_s_stm | TRACE | ck_icn_stm | 150 MHz | STM AXI slave port clock |
| ck_ker_tpiu | TRACE | ck_trace | 200 MHz | Processing clock for trace |
Clocking schematic
Figure 115. Debug and Trace external clocks

MSv71490V1
20.4.18 Camera subsystem clocking
The DCMI and the PSSI have a slow input parallel interface that receives a clock when this interface is used. Both share a clock for their slave interface.
The DCMIPP has a fast input parallel interface that receives a clock when this interface is used. It also has a clock for its internal pixel processing, and its master and slave interface.
The CSI interface requires a hard macrocell which retrieves the clock. This clock is then used for processing.
The table below presents the list of the camera subsystem external clocks.
Table 154. Camera subsystem external clocks
| Subsystem clock signal name | Camera instance | Clock signal name | Clock direction | RCC clock line | Max. frequency | Description |
|---|---|---|---|---|---|---|
| ck_icn_m_dcmipp | DCMIPP | aclk clk_axi_csi | Input | ck_icn_display | 400 MHz | DCMIPP master port interconnect clock |
| ck_icn_p_dcmipp | DCMIPP | pclk | Input | ck_icn_apb4 | 150 MHz | DCMIPP peripheral port clock |
| ck_ker_dcmipp | DCMIPP CSI (host) | clk_proc clk_proc_csi | Input | ck_ker_dcmipp | 333 MHz | Processing clock for Camera subsystem |
| ck_icn_p_csi | CSI (host) | pclk | Input | ck_icn_apb4 | 150 MHz | CSI peripheral port clock |
| Subsystem clock signal name | Camera instance | Clock signal name | Clock direction | RCC clock line | Max. frequency | Description |
|---|---|---|---|---|---|---|
| ck_ker_csiphy | CSI (phy) | i_cfg_clk | Input | ck_ker_csiphy | 27 MHz | - |
| ck_ker_csitxesc | CSI (phy) | i_TxClkEsc | Input | ck_ker_csitxesc | 20 MHz | - |
| ck_icn_p_dcmipssi | DCMI/PSSI | hclk_cci | Input | ck_icn_ls_mcu | 150 MHz | DCMI and PSSI peripheral port clock |
| pixck_pdck_cci | DCMI/PSSI DCMIPP | pixck_pdck_cci clk_pix | Input | NA | 80 MHz | External DCMI_PIXCLK clock lane |
| cn_rx_dphy | CSI (phy) | io_Cn | Input/output | NA | 1250 MHz | External CSI_CK_N clock lane (2500 Mbps/lane) |
| cp_rx_dphy | CSI (phy) | io_Cp | Input/output | NA | 1250 MHz | External CSI_CK_P clock lane (2500 Mbps/lane) |
The table below presents the list of the camera subsystem internal clocks.
Table 155. Camera subsystem internal clocks| Functional block | Clock signal name | Clock direction | Max frequency | Description |
|---|---|---|---|---|
| CSI (phy) | o_RxByteClkHS | Output | 312.5 MHz | - |
Clocking schematic
Figure 116. Camera interface clocks
The diagram illustrates the clocking architecture for the camera interface. It features four main functional blocks: DCMIPP, DCMI + PSSI, CSI (host), and CSI (phy). External clock inputs include ck_ker_csitxesc, ck_icn_p_dcmipssi, and pixck_pdck_cci. The DCMIPP block receives pclk and aclk inputs and outputs clk_pix. The DCMI + PSSI block receives hclk and outputs dcmi_pixclk / pssi_pdck. The CSI (host) block receives pclk and outputs clk_byte. The CSI (phy) block receives i_TxClkEsc and outputs o_RxByteClkHS. It also has inputs for io_Cn and io_Cp, which are connected to external dphy clocks (cn_rx_dphy and cp_rx_dphy). The CSI (phy) block also outputs i_cfg_clk. The diagram shows the flow of clock signals between these blocks, with some signals being shared or derived from others.
20.4.19 Display subsystem clocking
The LTDC uses a clock for its internal pixel processing, which is used to drive its output parallel interface. It also needs clock for its bus master and its bus slave interface.
The table below presents the list of display subsystem external clocks.
Table 156. Display subsystem external clocks
| Subsystem clock signal name | Functional block | Clock signal name | Clock direction | RCC clock line | Max. frequency | Description |
|---|---|---|---|---|---|---|
| ck_icn_m_ltdc | LTDC LTDC (rimu) | aclk ACLK | Input | ck_icn_display | 400 MHz | Master port clock |
| ck_icn_p_ltdc | LTDC LTDC (risad) | pclk PCLK | Input | ck_icn_apb4 | 150 MHz | Peripheral clock |
| ck_ker_ltdc | LTDC | pixel_clk | Input | ck_ker_ltdc | 314 MHz | Pixel clock Pixel clock LaneByte clock |
| LCD_CLK | LTDC | pixel_clk_ltdc | Output | NA | 150 MHz | External pixel interface clock |
Clocking schematic
The clocking tree for the display subsystem is described in the figure below.
Figure 117. Display subsystem clocking

The diagram illustrates the clocking architecture for the LTDC (LCD Timing Controller) subsystem. Three external clock signals are shown as inputs: ck_ker_ltdc, ck_icn_p_ltdc, and ck_icn_m_ltdc. ck_ker_ltdc is connected to the pixel_clk input of the LTDC block. ck_icn_p_ltdc is connected to the pclk input, and ck_icn_m_ltdc is connected to the aclk input of the LTDC block. The LTDC block also has an output signal pixel_clk_ltdc which is connected to an external output block labeled LCD_CLK. Additionally, the ck_icn_p_ltdc and ck_icn_m_ltdc signals are branched off and connected to two separate functional blocks: RIMU (ltdc) which receives the ACLK signal, and RISAD (ltdc) which receives the PCLK signal. The diagram is labeled with the identifier MSv71492V2 in the bottom right corner.
20.4.20 USB clocking
USB2 Host-only (USBH) and OTG clocking schematic
Figure 118. USBH and OTG ports clocking

USB2 Host-only high speed port
The USB2 Host-only controller (USBH) receives AHB clocks from the RCC, and processes clocks from USB2PHY1.
Table 157. USBH port clocks
| Functional block | Clock signal name | Clock direction | RCC clock line | Max frequency | Description |
|---|---|---|---|---|---|
| USBH | ehci_hclk_i | Input | ck_icn_m_usbhehci | 300 MHz | EHCI AHB clock |
| USBH | ohci_hclk_i | Input | ck_icn_m_usbhohci | 300 MHz | OHCI AHB clock |
| USBH | ohci_0_clk48_i | Input | - | 48 MHz | 48 MHz reference clock for EHCI controller |
Table 157. USBH port clocks (continued)
| Functional block | Clock signal name | Clock direction | RCC clock line | Max frequency | Description |
|---|---|---|---|---|---|
| USBH | ohci_0_clk12_i | Input | - | 12 MHz | 12 MHz reference clock for OHCI controller |
| USB2PHY1 | CLKCORE | Input | ck_ker_usb2phy1 | 24 MHz | One of the possible sources of USB2PHY1 reference clock |
| USB2PHY1 | CLKCORE | Input | - | 19.2, 20 or 24 MHz | Clock from HSE oscillator: one of the possible sources of USB2PHY1 reference clock |
Details of the USB2 Host-only high speed port clocking
The USB2PHY1 PHY receives its reference clock from the RCC or directly from the HSE oscillator (hse_div2_ck clock). This is controlled by the bit USB2PHY1CKREFSEL in RCC_USB2PHY1CFGR register. If the USB2PHY1 reference clock is received from the RCC, it can be sourced from the HSE or re-generated by one of the PLLs and dividers located in the RCC.
The frequency of the USB2PHY1 reference clock can be selected among 19.2, 20 or 24 MHz (50 MHz is reserved for test purpose). This selection is controlled by the USB2PHY1SEL[2:0] bit-field in SYSCFG_USB2PHY1CR register. These bits must be set to the desired value before USB2PHY1 reset is released.
The clocks provided by USB2PHY1 to the USB2 Host Controller are divisions of a 480 MHz clock that is generated by a PLL inside the PHY (this is a fixed frequency PLL which cannot be programmed).
The USB2PHY1 PLL can be powered down during Suspend and Sleep modes. This is controlled by the USB2PHY1CMN bit in SYSCFG_USB2PHY1CR register. If the OHCI controller is used (FS and LS mode of operation), the USB2PHY1 PLL clock must remain ON during Suspend and Sleep modes to be able to access the OHCI registers.
The clocks provided to the USB2 Host-only port are controlled by enable bits in RCC_USBHCFGR and RCC_USB2PHY1CFGR registers.
USB2 OTG high speed port
The USB2 OTG controller (OTG) receives an AHB clock from the RCC and a processing clock from USB2PHY2.
Table 158. USB2 OTG high speed clocks from RCC and oscillator
| Functional block | Clock signal name | Clock direction | RCC clock line | Max frequency | Description |
|---|---|---|---|---|---|
| OTG | hclk | Input | ck_icn_m_uotg | 300 MHz | AHB clock |
| OTG | utmi_clk | Input | - | 60 MHz | Processing clock |
Table 158. USB2 OTG high speed clocks from RCC and oscillator (continued)
| Functional block | Clock signal name | Clock direction | RCC clock line | Max frequency | Description |
|---|---|---|---|---|---|
| USB2PHY2 | CLKCORE | Input | ck_ker_usb2phy2 | 24 MHz | One of the possible sources of USB2PHY1 reference clock |
| USB2PHY2 | CLKCORE | Input | - | 19.2, 20 or 24 MHz | Clock from HSE oscillator: one of the possible sources of USB2PHY1 reference clock |
| USB2PHY2 | phyclock0 | Output | - | 60 MHz | UTMI 60 MHz clock (data bus width is 8-bit) |
Details of the USB2 Dual Role high speed port clocking
The USB2PHY2 receives its reference clock from the RCC or directly from the HSE oscillator (hse_div2_ck clock). This is controlled by the bit USB2PHY2CKREFSEL in RCC_USB2PHY2CFGR register. If the USB2PHY2 reference clock is received from the RCC, it can be sourced from the HSE or re-generated by one of the PLLs and dividers located in the RCC.
The frequency of the USB2PHY2 reference clock can be selected among 19.2, 20 or 24 MHz (50 MHz is reserved for test purpose). This selection is controlled by the USB2PHY2FSEL[2:0] bit-field in SYSCFG_USB2PHY2CR register. These bits must be set to the desired value before USB2PHY2 reset is released.
The 60 MHz processing clock provided by USB2PHY2 to OTG is obtained by division of the 480 MHz clock which is generated by a PLL inside the PHY (this is a fixed frequency PLL which cannot be programmed).
The USB2PHY2 PLL can be powered down during USB Suspend and Sleep modes. This is controlled by the USB2PHY2CMN bit in SYSCFG_USB2PHY2CR register.
The clocks provided by the RCC are controlled by enable bits in RCC_OTGCFGR and RCC_USB2PHY2CFGR registers.
20.4.21 Security clocking
Security interface - Clocking schematic
Figure 119. Security clocking

The diagram illustrates the security clocking architecture. The RCC block on the left contains various clock gating logic (CGL) and clock enable logic (CKEL) blocks along with AND gates that control security clock outputs. Inputs to the RCC include BSECEN, BSECLPEN, ck_icn_ls_mcu (150 MHz), system state, ck_rcbsec_osc (64 MHz), CPU1 state, D1 Dstandby, ck_icn_nic (400 MHz), RNG2EN, RNG2LPEN, HASH2EN, HASH2LPEN, CRYP2EN, CRYP2LPEN, ck_sec_en, crypto_all_ips_dis, tamp_erase_req, potential_tamper, PKAEN, PKALPEN, RNG1EN, RNG1LPEN, SAESEN, SAESLPEN, HASH1EN, HASH1LPEN, CRYP1EN, and CRYP1LPEN. The outputs feed into the APB bridge (generating pclks and pclkm for BSEC), BSEC (receiving clk_rc64_bsec_osc and outputting clk_xtal), BOOTROM (clocked by clk_icn_s_rom to produce aclk), RNG2 (receiving clk_ker_rng2, rng_clk_kernel_req, and clock gated hclk), HASH2, CRYP2, and the CRYPTO peripheral cluster which provides S_HCLK via clk_icn_sec and clock gating (CG) to internal submodules: PKA, RNG1 (with clk_ker_rng1), SAES (with dclk), HASH1, and CRYP1.
MSv74171V1
Note: The peripheral clocks of the following cryptographic peripherals: PKA, RNG1, SAES, HASH1, CRYP1, must all be disabled before issuing a reset request to any of them.
The software should ensure that no cryptographic peripheral is busy (refer to the respective BUSY bit flag of each peripheral (PKA, RNG1, SAES, HASH1, CRYP1) before disabling the peripheral clock.
| Subsystem clock signal name | Functional block | Clock signal name | Clock direction | RCC clock line | Max frequency | Description |
|---|---|---|---|---|---|---|
| ck_icn_s_crypto | CRYPTO | clk_icn_sec | Input | ck_icn_sec | 150 MHz | AHB clock |
| ck_icn_p_cryp2 | CRYP2 | Input | ||||
| ck_icn_p_hash2 | HASH2 | Input | ||||
| ck_icn_p_rng2 | RNG2 | Input | ||||
| clk_rc64_rng2 | clk_ker_rng2 | Input | ck_ker_rng2 | 64 MHz | kernel clock | |
| clk_rc64_rng1 | RNG1 | clk_ker_rng1 | Input | ck_ker_rng1 | 64 MHz | kernel clock |
| clk_icn_s_rom | BOOTROM | aclk | Input | ck_icn_s_bootrom | 400 MHz | AXI clock |
| clk_icn_p_bsec | BSEC | pclks | Input | ck_icn_p_bsec | 150 MHz | APB slv clock |
| clk_rc64_bsec_osc | pclkm | Input | ck_rcbsec | 64 MHz | APB mst clock | |
| clk_rc64_bsec_osc | clk_xtal | Input | ck_rcbsec | 64 MHz | kernel clock | |
20.5 RCC interrupts
The RCC provides two independent interrupt interfaces, and interrupt lines for HSI and MSI frequency monitoring:
- • an interrupt interface dedicated to the CPU1
- • an interrupt interface dedicated to the CPU2
Each interrupt interface provides two interrupt lines:
- • a general interrupt line (rcc_cpu1_it or rcc_cpu2_it) that provides events when the PLLs are ready, or when the oscillators are ready
- • an interrupt line dedicated to the wake-up of the CPUx when they are in CStop (rcc_cpu1_wkup_it or rcc_cpu2_wkup_it)
All interrupt lines are active high and level triggered.
rcc_cpu1_it and rcc_cpu1_wkup_it interrupts are enabled in RCC_C1CIESETR.
rcc_cpu2_it and rcc_cpu2_wkup_it interrupts are enabled in RCC_C2CIESETR.
rcc_cpu1_it (or rcc_cpu2_it) line is activated when an event flag is set to 1, and its corresponding enable bit is set to 1. In order to release the rcc_cpu1_it (or rcc_cpu2_it) line, all the event flags which have been enabled must be cleared.
rcc_cpu1_wkup_it (or rcc_cpu2_wkup_it) line is activated when the RCC has to exit the CPU1 (or CPU2) from CStop, and if WKUPIE = 1. In order to release the rcc_cpu1_wkup_it (or rcc_cpu2_wkup_it) line, the CPU1 (or CPU2) must write 1 to WKUPF in the corresponding register.
The interrupt flags can be checked and cleared in RCC_C1CIFCLRR or RCC_C2CIFCLRR.
The event flags goes to 1 on rising edge of the corresponding ready bit (xxxRDY).
rcc_hsifmon_it interrupt line is used to provide an event to wake up the system when the HSI clock frequency deviates from its defined window while rcc_cpu1_hsifmon_it and rcc_cpu2_hsifmon_it interrupts are used to notify each related CPU.
rcc_hsifmon_it, rcc_cpu1_hsifmon_it, and rcc_cpu2_hsifmon_it interrupts are controlled via RCC_HSIFMONCR.
rcc_msifmon_it interrupt line is used to provide an event to wake up the system when the MSI clock frequency deviates from its defined window while rcc_cpu1_msifmon_it and rcc_cpu2_msifmon_it interrupts are used to notify each related CPU.
rcc_msifmon_it, rcc_cpu1_msifmon_it, and rcc_cpu2_msifmon_it interrupts are controlled via RCC_MSIFMONCR.
Figure 120. Interrupt block diagram

MSv73101V2
See Section 20.6.1 for information on CSS for LSE.
Note: The interrupt flags are relevant even if the corresponding interrupt enable bit is not set.
The table below summarizes the interrupt sources, and the way to control them.
Table 160. Interrupt sources and control
| Interrupt event flag | Description | Interrupt enable | Action to clear the interrupt(1) | Interrupt lines |
|---|---|---|---|---|
| LSIRDYF | LSI ready | LSIRDYIE | Set LSIRDYF to 1. | rcc_cpu1_it, rcc_cpu2_it |
| LSERDYF | LSE ready | LSERDYIE | Set LSERDYF to 1. | |
| HSIDRYF | HSI ready | HSIDRYIE | Set HSIRDYF to 1. | |
| HSERDYF | HSE ready | HSERDYIE | Set HSERDYF to 1. | |
| MSIRDYF | MSI ready | MSIRDYIE | Set MSIRDYF to 1. | |
| PLL1RDYF | PLL1 ready | PLL1RDYIE | Set PLL1RDYF to 1. | |
| PLL2RDYF | PLL2 ready | PLL2RDYIE | Set PLL2RDYF to 1. | |
| PLL4RDYF | PLL4 ready | PLL4RDYIE | Set PLL4RDYF to 1. | |
| PLL5RDYF | PLL5 ready | PLL5RDYIE | Set PLL5RDYF to 1. | |
| PLL6RDYF | PLL6 ready | PLL6RDYIE | Set PLL6RDYF to 1. | |
| PLL7RDYF | PLL7 ready | PLL7RDYIE | Set PLL7RDYF to 1. | |
| PLL8RDYF | PLL8 ready | PLL8RDYIE | Set PLL8RDYF to 1. | |
| LSECSSF | LSE CSS failure | LSECSSIE(2) | Set LSECSSF to 1. | |
| WKUPF | Wake-up from CStop event | WKUPIE | Set WKUPF to 1. | rcc_cpu1_wkup_it, rcc_cpu2_wkup_it |
| HSIMONF | HSI frequency monitor flag(3) | HSIMONIE(4) | Set HSIMONF to 1. | rcc_hsifmon_it, rcc_cpu1_hsifmon_it, rcc_cpu2_hsifmon_it |
| MSIMONF | MSI frequency monitor flag(3) | MSIMONIE(5) | Set MSIMONF to 1. | rcc_msifmon_it, rcc_cpu1_msifmon_it, rcc_cpu2_msifmon_it |
- 1. In RCC_CxCIFCLRR registers.
- 2. The security system feature must also be enabled (LSECSSON = 1) in order to generate interrupts.
- 3. Refer to Section 20.6.3 for details.
- 4. In RCC_HSIMONCR register.
- 5. In RCC_MSIFMONCR register.
20.6 RCC application information
20.6.1 Clock frequency calculation
The flexclkgen engine offers the capability to calculate the frequency of any internal clock via an internal module called clock frequency calculator. For any clock frequency calculation (ckin), the clock frequency calculator requires a reference clock (ckref).
First step - Select the input clock as follows:
- 1. Set FCALCRSTN in RCC_FCALCOBS1CFGR to enable the clock frequency calculator.
- 2. Set CKINTSEL (or CKEXTSEL if FCALCCKEXTSEL = 1) in RCC_FCALCOBS0CFGR to select the clock frequency calculator input clock (ckin).
- 3. Set FCALCCKEN in RCC_FCALCOBS0CFGR to enable the selected input clock at the input of clock frequency calculator.
2nd step - Select the reference clock as follows:
- 1. Set FCALCREFCKSEL in RCC_FCALCREFCFGR to select the reference clock (ckref).
3rd step - Run the clock frequency calculation as follows:
- 1. Set FCALCTYP = 0x0C in RCC_FCALCCR2 to select the frequency value type.
- 2. Select the application mode with FCALCMD in RCC_FCALCCR2.
- 3. For optimal calculation, loop on the clock frequency time window value with FCALCTWC in RCC_FCALCCR2, from its biggest value (0xF) to its minimum value (0x1) as described below:
- a) Set FCALCTWC biggest value.
- b) Set FCALCRUN in RCC_FCALCCR1.
- c) Poll RCC_FCALCSR until the calculation is valid (FCALCSTS = 1 and FVAL[15:0] not equal to 0)
- d) Reset FCALCRUN in RCC_FCALCCR1.
- e) Check FVAL[16]. If FVAL[16] = 0, exit the loop (FVAL[15:0] is the optimal calculated value). Otherwise continue.
- f) Reset FCALCRSTN in RCC_FCALCOBS1CFGR.
- g) Poll RCC_FCALCSR until it is cleared.
- h) Set FCALCRSTN in RCC_FCALCOBS1CFGR before trying next FCALCTWC value.
Last step - Calculate \(F_{ckin}\) clock frequency as follows:
with FCALCTWC > 0, and CKREFPER = reference clock period
with \(F_{ckin}\) = frequency input clock, TWVAL = clock frequency time window value, and FVAL[15:0] = decimal value
20.6.2 Clock calibration
Frequencies of most of clock source generators can be measured by means of the TIMx input capture, or the clock frequency calculator module.
Calibrating HSI or MSI with the LSE and TIMx
The primary purpose of having the LSE connected to a TIMx input capture is to be able to precisely measure the HSI or MSI. This requires to have the HSI or MSI used as interconnect clock source, via channel 0 the flexclkgen, either directly or via a PLL. The number of interconnect clock counts between consecutive edges of the LSE provides a calculation of the internal clock period. Taking advantage of the LSE crystal high precision (typically a few tens of ppm), the user can determine the internal clock frequency with the same resolution, and can trim the source to compensate for manufacturing-process, temperature, and/or voltage-related frequency deviations.
The basic concept consists in providing a relative calculation (HSI/LSE ratio): the precision is tightly linked to the ratio between the two clock sources. The greater the ratio is, the more accurate the calculation is.
The HSI and MSI have dedicated user-accessible calibration bits in RCC_HSICFGR and RCC_MSICFGR. When HSI or MSI are used via the PLLx, the interconnect clock can be fine-tuned using the calibration fractional divider.
Calibrating HSI or MSI with the clock frequency calculator
Refer to Section 20.6.1: Clock frequency calculation.
20.6.3 Clock monitoring
Monitoring HSI or MSI with LSE
The purpose is to assist the software calibration procedure when the HSI or MSI frequency drifts out of a predefined range because of environmental variation (such as temperature).
This monitoring can be enabled in all system modes except Standby and VBAT, when HSI or MSI is used. When enabled, the number of HSI/MSI kernel clock counts between consecutive edges of the LSE signal provides a calculation of the internal clock period which is checked according to a defined threshold. If the internal clock period is above this threshold, a CPU interrupt (rcc_cpu1_hsifmon_it/rcc_cpu1_msifmon_it or rcc_cpu2_hsifmon_it/rcc_cpu2_msifmon_it), or a wake-up event (rcc_hsifmon_it/rcc_msifmon_it) is triggered to allow the application to trim the HSI/MSI source accordingly.
HSI monitoring control is based on RCC_HSIFMONCR and RCC_HSIFVALR (respectively RCC_MSIFMONCR and RCC_MSIFVALR for MSI). The following steps can be used to enable HSI frequency monitoring (same procedure applies for MSI):
- 1. Enable LSE signal:
- a) Write 1 to DBP in PWR_BDCR.
- b) Write 1 to in LSEON in RCC_BDCR.
- c) Wait for LSERDY = 1 in RCC_BDCR.
- d) Write 0 to DBP in PWR_BDCR.
- 2. Setup HSI clock period monitoring:
- a) Write HSIREF in RCC_HSIFMONCR to define the reference period if the default value not suitable (default value = 64 MHz/32.767 kHz = 1953).
- b) Write HSIDEV in RCC_HSIFMONCR to define the threshold if the default value is not suitable (default value = 31, around 1.6% of the reference value).
- c) Write 1 to HSIMONIE in RCC_HSIFMONCR to enable interrupt for application.
- d) Write 1 in HSIMONEN in RCC_HSIFMONCR to start monitoring.
The interrupt occurs when the below condition is met:
Note: MSIREF default value is 488 and MSIDEV default value is 15
20.7 RCC RIF function
To be compliant with the product security definition, the RCC implements the following security/isolation requirements which apply to any defined security domain (see Section 5.4: Resource isolation framework (RIF)):
- • filtering of secure/non-secure accesses
- • filtering of privileged/unprivileged accesses
- • filtering of hardware execution compartments (CIDs) such as
- – up to eight CIDs including trusted domain compartment ID (TDCID)
- – dynamic compartment ID (semaphore),
- – debug domain compartment ID (DDCID)
There are four possible profiles for any resource:
- • single access (only one master can access)
- • shared between different masters with semaphore protection
- • shared between different masters without semaphore protection (legacy mode)
- • no access
20.7.1 RCC RIF configuration
After any application reset or system reset, all RCC resources are accessible until the trusted domain master agent programs the RCC RIF configuration. This configuration is based on the local and external RIF configurations.
The local RIF configuration is managed by the following registers:
- • RCC_SECCFGR0/1/2/3 used to set secure/non-secure attribute per local RCC resource
- • RCC_PRIVCFGR0/1/2/3 used to set privileged/unprivileged attribute per local RCC resource
- • RCC_RxCIDCFGR and RCC_RxSEMCR used to set the CID filtering policy per local RCC resource
- • RCC_SRCFGLOCKR0/1/2/3 are used to lock the local RCC resource configuration.
The external RIF configuration is inherited from the RIF peripheral configuration and it applies to the related RCC_PERxCFGR local resource. This external RIF configuration is used to filter any write access to the related RCC_PERxCFGR register.
The RIF peripheral configuration is driven to the RCC through perxrifcfg signals (with PERx as peripheral x).
Table 161 shows all RCC local resource content (first column) and the RIF configuration attached to it (third column).
Secure/non-secure access filtering
In AMBA5 AHB protocol, the secure/non-secure attribute is propagated via the HNONSEC signal. To enable the filtering access based on this attribute, the authorized master agent has to set SECx in RCC_SECCFGRx related to the RCC resource x.
Any register access with a not-allowed secure attribute is denied (RAZ, WI). An illegal secure access event is generated to the IAC (see Section 5.4: Resource isolation framework (RIF) for details). There is no bus error generated.
Privileged/unprivileged access filtering
In AMBA5 AHB protocol, the privileged/unprivileged attribute is propagated via the HPROT[1] signal. To enable the filtering access based on this attribute, the authorized master agent has to set PRIVx in RCC_PRIVCFGRx related to the RCC resource x.
Any register access with a not-allowed privileged attribute is denied (RAZ, WI). An illegal privileged access event is generated to the IAC (see Section 5.4: Resource isolation framework (RIF) for details). There is no bus error generated.
CID access filtering
In AMBA5 AHB protocol, the CID attribute is propagated via the HAUSER signals. RCC_RxCIDCFGR controls the CID filtering policy for each non-shareable local resources (without semaphore mechanism). RCC_RxCIDCFGR and RCC_RxSEMCR 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 can be individually controlled by a specific CPU. The trusted domain application sets the authorized compartment with SCID in RCC_RxCIDCFGR.
- • local shareable resources can be individually controlled by a specific CPU. The trusted domain application sets the compartment values that are authorized to take the local resource, by setting SEMWLCy in RCC_RxCIDCFGR, and sets SEM_EN bit. Each white-listed agent is authorized to take SEM_MUTEX in RCC_RxSEMCR to get the ownership on the resource, until this agent releases the mutex.
A not-allowed CID access to a CID-filtered register is denied (RAZ/WI). An illegal CID access event is generated to the IAC (see Section 5.4: Resource isolation framework (RIF) for details). There is no bus error generated.
For debug purpose, the debug domain compartment master, defined by DDCID, can access any resource if secure and privileged attributes are enough.
Note: The RIF configuration (secure and privileged attributes, CID filtering mode) of any RCC local resource can be locked via RCC_RCFGLOCKRx registers.
Figure 121. RCC RIF description

The diagram illustrates the Reset and Clock Control (RCC) Reset Interrupt Filter (RIF) architecture. At the top, the RIF CTRL block is connected to the RCC RIF filter and RCC resources blocks. The RCC RIF filter contains registers for timers (tim1rifcfg, tim2rifcfg), I3C (i3c1rifcfg, i3c2rifcfg), and general RCC resources (rcc_r0 to rcc_r113). The RCC resources block contains configuration registers for timers (RCC_TIM1CFGR, RCC_TIM2CFGR), I3C (RCC_I3C1CFGR, RCC_I3C2CFGR), XBAR (RCC_XBAR0CFGR, RCC_XBAR1CFGR), PLL2 (RCC_PLL2CFGRx), FMCC (RCC_FMCCCFGR), and HSIFMON (RCC_HSIFMONCFGR). A ddrssrifcfg register is also shown. The AHB bus connects the filter and resources to external RISUP registers: RISUP_TIM1, RISUP_TIM2, RISUP_I3C1, RISUP_I3C2, RISUP_DDRCFG, RISUP_DDRC, and RISUP_DDRPHYC.
rcc_rx filter is based on following registers: RCC_SECCFGRy, RCC_PRIVCFGRy, RCC_RCFGLOCKRy, RCC_RxCIDCFGR, RCC_RxSEMCR
perxrifcfg is 6-bit signal, such as: perxrifcfg[5:4] = cid filter, perxrifcfg[3] = sec, perxrifcfg[2] = priv, perxrifcfg[1:0] = cid
MSv73102V1
20.8 RCC registers
Some registers can be accessed by all bus masters. Some others can only be accessed by the trusted domain master (see Section 8: Resource isolation framework security controller (RIFSC) for details on register accesses).
Note: Any bus transaction initiated by the trusted domain master is secure and privileged.
Table 161 gives the RIF local resource allocation for all RCC registers:
- • First column lists all RCC registers defined as a RCC RIF resource number (see second column).
- • Second column lists all RCC RIF resources.
- • Third column lists RCC registers used to define the RIF configuration of the RCC resource number.
For example, following steps are needed to set the RIF configuration of the RCC RIF resource number 64:
- 1. A trusted domain agent (with secure, privileged, and TDCID) must program RCC_R64CIDCFGR.
- 2. A secure agent can set the secure attribute (RCC_SECCFGR2[0] = 1).
- 3. A privileged agent can set the privileged attribute (RCC_PRIVCFGR2[0] = 1).
- 4. A secure and privileged agent can lock the RIF configuration (RCC_RCFGLOCKR2[0] = 1).
Table 161. RCC register allocation to RIF resource and access conditions
| Register name | RCC RIF resource number | RIF resource configuration | Access type(1) | Description |
|---|---|---|---|---|
| RCC_R0CIDCFGR | 0 | Secure, privileged and TDCID/DDCID | RW | Resource 0 CID filtering control |
| RCC_R0SEMCR | RCC_SECCFGR0[0] RCC_PRIVCFGR0[0] RCC_RCFGLOCKR0[0] RCC_R0CIDCFGR RCC_R0SEMCR | |||
| RCC_XBAR0CFGR | Flexclkgen xbar channel 0 | |||
| RCC_PREDIV0CFGR | Flexclkgen prediv channel 0 | |||
| RCC_FINDIV0CFGR | Flexclkgen findiv channel 0 | |||
| RCC_R1CIDCFGR | 1 | Secure, Privileged and TDCID/DDCID | Resource 1 CID filtering control | |
| RCC_R1SEMCR | RCC_SECCFGR0[1] RCC_PRIVCFGR0[1] RCC_RCFGLOCKR0[1] RCC_R1CIDCFGR RCC_R1SEMCR | |||
| RCC_XBAR1CFGR | Flexclkgen xbar channel 1 | |||
| RCC_PREDIV1CFGR | Flexclkgen prediv channel 1 | |||
| RCC_FINDIV1CFGR | Flexclkgen findiv channel 1 | |||
| ... | ||||
Table 161. RCC register allocation to RIF resource and access conditions (continued)
| Register name | RCC RIF resource number | RIF resource configuration | Access type(1) | Description |
|---|---|---|---|---|
| RCC_R63CIDCFGR | 63 | Secure, privileged and TDCID/DDCID | RW | Resource 63 CID filtering control |
| RCC_R63SEMCR | RCC_SECCFGR1[31] RCC_PRIVCFGR1[31] RCC_RCFGLOCKR1[31] RCC_R63CIDCFGR RCC_R63SEMCR | Flexclkgen xbar channel 63 | ||
| RCC_XBAR63CFGR | Flexclkgen prediv channel 63 | |||
| RCC_PREDIV63CFGR | Flexclkgen findiv channel 63 | |||
| RCC_FINDIV63CFGR | ||||
| RCC_R64CIDCFGR | 64 | Secure, privileged and TDCID/DDCID | Resource 64 CID filtering control | |
| RCC_R64SEMCR | RCC_SECCFGR2[0] RCC_PRIVCFGR2[0] RCC_RCFGLOCKR2[0] RCC_R64CIDCFGR RCC_R64SEMCR | Flexclkgen reference selection | ||
| RCC_MUXSELCFGR | Flexclkgen PLL4 config (x = 1 to 7) | |||
| RCC_PLL4CFGRx | Flexclkgen PLL5 config (x = 1 to 7) | |||
| RCC_PLL5CFGRx | Flexclkgen PLL6 config (x = 1 to 7) | |||
| RCC_PLL6CFGRx | Flexclkgen PLL7 config (x = 1 to 7) | |||
| RCC_PLL7CFGRx | Flexclkgen PLL8 config (x = 1 to 7) | |||
| RCC_PLL8CFGRx | ||||
| RCC_R65CIDCFGR | 65 | Secure, privileged, and TDCID/DDCID | Resource 65 CID filtering control | |
| RCC_R65SEMCR | RCC_SECCFGR2[1] RCC_PRIVCFGR2[1] RCC_RCFGLOCKR2[1] RCC_R65CIDCFGR RCC_R65SEMCR | Clock frequency calculator and observation 0 clock control | ||
| RCC_FCALCOBS0CFGR | Clock frequency calculator and observation 1 clock control | |||
| RCC_FCALCOBS1CFGR | Clock frequency calculator reference clock configuration | |||
| RCC_FCALCREFCFGR | Clock frequency calculator control 1 | |||
| RCC_FCALCCR1 | Clock frequency calculator control 2 | |||
| RCC_FCALCCR2 | ||||
| RCC_R66CIDCFGR | 66 | Secure, privileged and TDCID/DDCID | Resource 66 CID filtering control | |
| RCC_R66SEMCR | RCC_SECCFGR2[2] RCC_PRIVCFGR2[2] RCC_RCFGLOCKR2[2] RCC_R66CIDCFGR RCC_R66SEMCR | SR | System reset set | |
| RCC_GRSTCSETR | CPU1 reset set | |||
| RCC_C1RSTCSETR | CPU2 reset set | |||
| RCC_C2RSTCSETR | CW | Hardware reset status cleared | ||
| RCC_HWRSTSCCLR | ||||
Table 161. RCC register allocation to RIF resource and access conditions (continued)
| Register name | RCC RIF resource number | RIF resource configuration | Access type(1) | Description |
|---|---|---|---|---|
| RCC_R67CIDCFGR | 67 | Secure, privileged and TDCID/DDCID | RW | Resource 67 CID filtering control |
| RCC_R67SEMCR | RCC_SECCFGR2[3] RCC_PRIVCFGR2[3] RCC_RCFGLOCKR2[3] RCC_R67CIDCFGR RCC_R67SEMCR | CPU's boot control | ||
| RCC_CPUBOOTCR | System Standby exit control | |||
| RCC_STBYBOOTCR | Legacy boot control | |||
| RCC_LEGBOOTCR | System Standby exit tempo control | |||
| RCC_PWRLPDLYCR | Secure, privileged and TDCID/DDCID | Resource 68 CID filtering control | ||
| RCC_R68CIDCFGR | 68 | Application reset duration control | ||
| RCC_R68SEMCR | RCC_SECCFGR2[4] RCC_PRIVCFGR2[4] RCC_RCFGLOCKR2[4] RCC_R68CIDCFGR RCC_R68SEMCR | |||
| RCC_RDCR | Resource 69 CID filtering control | |||
| RCC_R69CIDCFGR | 69 | Secure, privileged and TDCID/DDCID | Oscillator control set | |
| RCC_R69SEMCR | RCC_SECCFGR2[5] RCC_PRIVCFGR2[5] RCC_RCFGLOCKR2[5] RCC_R69CIDCFGR RCC_R69SEMCR | Oscillator control clear | ||
| RCC_OCENSETR | HSI oscillator configuration | |||
| RCC_OCENCLRR | MSI oscillator configuration | |||
| RCC_HSICFGR | VSW domain control | |||
| RCC_MSICFGR | LSI oscillator control | |||
| RCC_BDCR | RTC clock divider control | |||
| RCC_LSICR | APB1 clock divider control | |||
| RCC_RTCDIVR | APB2 clock divider control | |||
| RCC_APB1DIVR | APB3 clock divider control | |||
| RCC_APB2DIVR | APB4 clock divider control | |||
| RCC_APB3DIVR | APB5 clock divider control | |||
| RCC_APB4DIVR | APBDBG clock divider control | |||
| RCC_APB5DIVR | Timer group1 prescaler control | |||
| RCC_APBDBGDIVR | Timer group2 prescaler control | |||
| RCC_TIMG1PRER | Low-speed MCU clock divider control | |||
| RCC_TIMG2PRER | ||||
| RCC_LSMCUDIVR | ||||
| Register name | RCC RIF resource number | RIF resource configuration | Access type(1) | Description |
|---|---|---|---|---|
| RCC_R70CIDCFGR | 70 | Secure, privileged and TDCID/DDCID | RW | Resource 70 CID filtering control |
| RCC_R70SEMCR | RCC_SECCFGR2[6] RCC_PRIVCFGR2[6] RCC_RCFGLOCKR2[6] RCC_R70CIDCFGR RCC_R70SEMCR | |||
| RCC_C1SREQSETR | SR | CPU1 low-power mode control | ||
| RCC_C1SREQCLRR | CW | |||
| RCC_C1CIESETR | SR | CPU1 interrupt enable | ||
| RCC_C1CIFCLRR | CW | CPU1 interrupt status | ||
| RCC_IWDGC1FZSETR | SR | CPU1 IWDG freeze set | ||
| RCC_IWDGC1FZCLRR | CR | CPU1 IWDG freeze clear | ||
| RCC_IWDGC1CFGSETR | SR | CPU1 IWDG configuration set | ||
| RCC_IWDGC1CFGCLRR | CR | CPU1 IWDG configuration cleared | ||
| RCC_C1MSRDCR | RW | NRSTC1MS reset delay control | ||
| RCC_C1BOOTRSTSSETR | SR | CPU1 boot reset status set | ||
| RCC_C1BOOTRSTSCLRR | CW | CPU1 boot reset status cleared | ||
| RCC_C1HWRSTSCLRR | CPU1 hardware reset status cleared | |||
| RCC_R71CIDCFGR | 71 | Secure, privileged and TDCID/DDCID | RW | Resource 71 CID filtering control |
| RCC_R71SEMCR | RCC_SECCFGR2[7] RCC_PRIVCFGR2[7] RCC_RCFGLOCKR2[7] RCC_R71CIDCFGR RCC_R71SEMCR | |||
| RCC_C2CIESETR | SR | CPU2 interrupt enable | ||
| RCC_C2CIFCLRR | CW | CPU2 interrupt status | ||
| RCC_IWDGC2FZSETR | SR | CPU2 IWDG freeze set | ||
| RCC_IWDGC2FZCLRR | CR | CPU2 IWDG freeze clear | ||
| RCC_IWDGC2CFGSETR | SR | CPU2 IWDG configuration set | ||
| RCC_IWDGC2CFGCLRR | CR | CPU2 IWDG configuration cleared | ||
| RCC_C2BOOTRSTSSETR | SR | CPU2 boot reset status set | ||
| RCC_C2BOOTRSTSCLRR | CW | CPU2 boot reset status cleared | ||
| RCC_C2HWRSTSCLRR | CPU2 hardware reset status cleared | |||
| Reserved | 72 | - | - |
Table 161. RCC register allocation to RIF resource and access conditions (continued)
| Register name | RCC RIF resource number | RIF resource configuration | Access type(1) | Description |
|---|---|---|---|---|
| RCC_R73CIDCFGR | 73 | Secure, privileged and TDCID/DDCID | RW | Resource 73 CID filtering control |
| RCC_R73SEMCR | RCC_SECCFGR2[9] RCC_PRIVCFGR2[9] RCC_RCFGLOCKR2[9] RCC_R73CIDCFGR RCC_R73SEMCR | Debug control | ||
| RCC_DBGCFGR | STM control | |||
| RCC_STMCFGR | ETR control | |||
| RCC_ETRCFGR | ||||
| RCC_R74CIDCFGR | 74 | Secure, privileged and TDCID/DDCID | Resource 74 CID filtering control | |
| RCC_R74SEMCR | RCC_SECCFGR2[10] RCC_PRIVCFGR2[10] RCC_RCFGLOCKR2[10] RCC_R74CIDCFGR RCC_R74SEMCR | SYSRAM clock control | ||
| RCC_SYSRAMCFGR | ||||
| Reserved | 75 | - | - | - |
| RCC_R76CIDCFGR | 76 | Secure, privileged and TDCID/DDCID | RW | Resource 76 CID filtering control |
| RCC_R76SEMCR | RCC_SECCFGR2[12] RCC_PRIVCFGR2[12] RCC_RCFGLOCKR2[12] RCC_R76CIDCFGR RCC_R76SEMCR | Retention RAM clock control | ||
| RCC_RETRAMCFGR | ||||
| RCC_R77CIDCFGR | 77 | Secure, privileged and TDCID/DDCID | Resource 77 CID filtering control | |
| RCC_R77SEMCR | RCC_SECCFGR2[13] RCC_PRIVCFGR2[13] RCC_RCFGLOCKR2[13] RCC_R77CIDCFGR RCC_R77SEMCR | Backup SRAM clock control | ||
| RCC_BKPSRAMCFGR | ||||
| RCC_R78CIDCFGR | 78 | Secure, privileged and TDCID/DDCID | Resource 78 CID filtering control | |
| RCC_R78SEMCR | RCC_SECCFGR2[14] RCC_PRIVCFGR2[14] RCC_RCFGLOCKR2[14] RCC_R78CIDCFGR RCC_R78SEMCR | SRAM1 clock control | ||
| RCC_SRAM1CFGR | ||||
| Reserved | 79 | - | - | - |
| Reserved | 80 | - | - | - |
| Reserved | 81 | - | - | - |
| Reserved | 82 | - | - | - |
Table 161. RCC register allocation to RIF resource and access conditions (continued)
| Register name | RCC RIF resource number | RIF resource configuration | Access type(1) | Description |
|---|---|---|---|---|
| RCC_R83CIDCFGR | 83 | Secure, privileged and TDCID/DDCID | RW | Resource 83 CID filtering control |
| RCC_R83SEMCR | RCC_SECCFGR2[19] RCC_PRIVCFGR2[19] RCC_RCFGLOCKR2[19] RCC_R83CIDCFGR RCC_R83SEMCR | HPDMA1 clock control | ||
| RCC_HPDMA1CFGR | ||||
| RCC_R84CIDCFGR | 84 | Secure, privileged and TDCID/DDCID | Resource 84 CID filtering control | |
| RCC_R84SEMCR | RCC_SECCFGR2[20] RCC_PRIVCFGR2[20] RCC_RCFGLOCKR2[20] RCC_R84CIDCFGR RCC_R84SEMCR | HPDMA2 clock control | ||
| RCC_HPDMA2CFGR | ||||
| RCC_R85CIDCFGR | 85 | Secure, privileged and TDCID/DDCID | Resource 85 CID filtering control | |
| RCC_R85SEMCR | RCC_SECCFGR2[21] RCC_PRIVCFGR2[21] RCC_RCFGLOCKR2[21] RCC_R85CIDCFGR RCC_R85SEMCR | HPDMA3 clock control | ||
| RCC_HPDMA3CFGR | ||||
| RCC_R87CIDCFGR | 87 | Secure, privileged and TDCID/DDCID | Resource 87 CID filtering control | |
| RCC_R87SEMCR | RCC_SECCFGR2[23] RCC_PRIVCFGR2[23] RCC_RCFGLOCKR2[23] RCC_R87CIDCFGR RCC_R87SEMCR | IPCC1 clock control | ||
| RCC_IPCC1CFGR | ||||
| RCC_R88CIDCFGR | 88 | Secure, privileged and TDCID/DDCID | Resource 88 CID filtering control | |
| RCC_R88SEMCR | RCC_SECCFGR2[24] RCC_PRIVCFGR2[24] RCC_RCFGLOCKR2[24] RCC_R88CIDCFGR RCC_R88SEMCR | MSI clock period monitor control | ||
| RCC_MSIFMONCR | ||||
| Reserved | 89 | - | - | - |
Table 161. RCC register allocation to RIF resource and access conditions (continued)
| Register name | RCC RIF resource number | RIF resource configuration | Access type(1) | Description |
|---|---|---|---|---|
| RCC_R90CIDCFGR | 90 | Secure, privileged and TDCID/DDCID | RW | Resource 90 CID filtering control |
| RCC_R90SEMCR | RCC_SECCFGR2[26] RCC_PRIVCFGR2[26] RCC_RCFGLOCKR2[26] RCC_R90CIDCFGR RCC_R90SEMCR | GPIOA clock control | ||
| RCC_GPIOACFGR | ||||
| RCC_R91CIDCFGR | 91 | Secure, privileged and TDCID/DDCID | Resource 91 CID filtering control | |
| RCC_R91SEMCR | RCC_SECCFGR2[27] RCC_PRIVCFGR2[27] RCC_RCFGLOCKR2[27] RCC_R91CIDCFGR RCC_R91SEMCR | GPIOB clock control | ||
| RCC_GPIOBCFGR | ||||
| RCC_R92CIDCFGR | 92 | Secure, privileged and TDCID/DDCID | Resource 92 CID filtering control | |
| RCC_R92SEMCR | RCC_SECCFGR2[28] RCC_PRIVCFGR2[28] RCC_RCFGLOCKR2[28] RCC_R92CIDCFGR RCC_R92SEMCR | GPIOC clock control | ||
| RCC_GPIOCCFGR | ||||
| RCC_R93CIDCFGR | 93 | Secure, privileged and TDCID/DDCID | Resource 93 CID filtering control | |
| RCC_R93SEMCR | RCC_SECCFGR2[29] RCC_PRIVCFGR2[29] RCC_RCFGLOCKR2[29] RCC_R93CIDCFGR RCC_R93SEMCR | GPIOD clock control | ||
| RCC_GPIODCFGR | ||||
| RCC_R94CIDCFGR | 94 | Secure, privileged and TDCID/DDCID | Resource 94 CID filtering control | |
| RCC_R94SEMCR | RCC_SECCFGR2[30] RCC_PRIVCFGR2[30] RCC_RCFGLOCKR2[30] RCC_R94CIDCFGR RCC_R94SEMCR | GPIOE clock control | ||
| RCC_GPIOECFGR | ||||
| RCC_R95CIDCFGR | 95 | Secure, privileged and TDCID/DDCID | Resource 95 CID filtering control | |
| RCC_R95SEMCR | RCC_SECCFGR2[31] RCC_PRIVCFGR2[31] RCC_RCFGLOCKR2[31] RCC_R95CIDCFGR RCC_R95SEMCR | GPIOF clock control | ||
| RCC_GPIOFCFGR |
Table 161. RCC register allocation to RIF resource and access conditions (continued)
| Register name | RCC RIF resource number | RIF resource configuration | Access type(1) | Description |
|---|---|---|---|---|
| RCC_R96CIDCFGR | 96 | Secure, privileged and TDCID/DDCID | RW | Resource 96 CID filtering control |
| RCC_R96SEMCR | RCC_SECCFGR3[0] RCC_PRIVCFGR3[0] RCC_RCFGLOCKR3[0] RCC_R96CIDCFGR RCC_R96SEMCR | GPIOG clock control | ||
| RCC_GPIOGCFGR | ||||
| RCC_R97CIDCFGR | 97 | Secure, privileged and TDCID/DDCID | Resource 97 CID filtering control | |
| RCC_R97SEMCR | RCC_SECCFGR3[1] RCC_PRIVCFGR3[1] RCC_RCFGLOCKR3[1] RCC_R97CIDCFGR RCC_R97SEMCR | GPIOH clock control | ||
| RCC_GPIOHCFGR | ||||
| RCC_R98CIDCFGR | 98 | Secure, privileged and TDCID/DDCID | Resource 98 CID filtering control | |
| RCC_R98SEMCR | RCC_SECCFGR3[2] RCC_PRIVCFGR3[2] RCC_RCFGLOCKR3[2] RCC_R98CIDCFGR RCC_R98SEMCR | GPIOI clock control | ||
| RCC_GPIOICFGR | ||||
| Reserved | 99 | - | - | - |
| Reserved | 100 | - | - | - |
| RCC_R101CIDCFGR | 101 | Secure, privileged and TDCID/DDCID | RW | Resource 101 CID filtering control |
| RCC_R101SEMCR | RCC_SECCFGR3[5] RCC_PRIVCFGR3[5] RCC_RCFGLOCKR3[5] RCC_R101CIDCFGR RCC_R101SEMCR | GPIOZ clock control | ||
| RCC_GPIOZCFGR | ||||
| RCC_R102CIDCFGR | 102 | Secure, privileged and TDCID/DDCID | Resource 102 CID filtering control | |
| RCC_R102SEMCR | RCC_SECCFGR3[6] RCC_PRIVCFGR3[6] RCC_RCFGLOCKR3[6] RCC_R102CIDCFGR RCC_R102SEMCR | RTC clock control | ||
| RCC_RTCCFGR | ||||
| RCC_R103CIDCFGR | 103 | Secure, privileged and TDCID/DDCID | Resource 103 CID filtering control | |
| RCC_R103SEMCR | RCC_SECCFGR3[7] RCC_PRIVCFGR3[7] RCC_RCFGLOCKR3[7] RCC_R103CIDCFGR RCC_R103SEMCR | BSEC clock control | ||
| RCC_BSECCFGR |
Table 161. RCC register allocation to RIF resource and access conditions (continued)
| Register name | RCC RIF resource number | RIF resource configuration | Access type(1) | Description |
|---|---|---|---|---|
| RCC_R104CIDCFGR | 104(2) | Secure, privileged and TDCID/DDCID | RW | Resource 104 CID filtering control |
| RCC_R104SEMCR | RCC_SECCFGR3[8] RCC_PRIVCFGR3[8] RCC_RCFGLOCKR3[8] RCC_R104CIDCFGR RCC_R104SEMCR | DDR PLL2 control (x=1 to 7) | ||
| RCC_PLL2CFGRx | DDR controller AXI ports clock control | |||
| RCC_DDRCPFCFGR | DDR controller APB clock control | |||
| RCC_DDRCAPBCFGR | DDR PHY APB clock control | |||
| RCC_DDRPHYCAPBCFGR | DDR interface configuration | |||
| RCC_DDRITFCFGR | DDRPHY controller configuration | |||
| RCC_DDRPHYCCFGR | DDR configuration | |||
| RCC_DDRCFGR | ||||
| Reserved | 105 | - | - | - |
| RCC_R106CIDCFGR | 106 | Secure, privileged and TDCID/DDCID | RW | Resource 106 CID filtering control |
| RCC_R106SEMCR | RCC_SECCFGR3[10] RCC_PRIVCFGR3[10] RCC_RCFGLOCKR3[10] RCC_R106CIDCFGR RCC_R106SEMCR | SYSCPU1 clock control | ||
| RCC_SYSCPU1CFGR | ||||
| Reserved | 107 | - | - | - |
| RCC_R108CIDCFGR | 108 | Secure, privileged and TDCID/DDCID | RW | Resource 108 CID filtering control |
| RCC_R108SEMCR | RCC_SECCFGR3[12] RCC_PRIVCFGR3[12] RCC_RCFGLOCKR3[12] RCC_R108CIDCFGR RCC_R108SEMCR | MCO1 clock configuration control | ||
| RCC_MCO1CFGR | ||||
| RCC_R109CIDCFGR | 109 | Secure, privileged and TDCID/DDCID | Resource 109 CID filtering control | |
| RCC_R109SEMCR | RCC_SECCFGR3[13] RCC_PRIVCFGR3[13] RCC_RCFGLOCKR3[13] RCC_R109CIDCFGR RCC_R109SEMCR | MCO2 clock configuration control | ||
| RCC_MCO2CFGR | ||||
| RCC_R110CIDCFGR | 110 | Secure, privileged and TDCID/DDCID | Resource 110 CID filtering control | |
| RCC_R110SEMCR | RCC_SECCFGR3[14] RCC_PRIVCFGR3[14] RCC_RCFGLOCKR3[14] RCC_R110CIDCFGR RCC_R110SEMCR | OCTOSPI1 clock configuration control | ||
| RCC_OSPI1CFGR | ||||
Table 161. RCC register allocation to RIF resource and access conditions (continued)
| Register name | RCC RIF resource number | RIF resource configuration | Access type(1) | Description |
|---|---|---|---|---|
| Reserved | 111 | - | - | - |
| RCC_R112CIDCFGR | 112 | Secure, privileged and TDCID/DDCID | RW | Resource 112 CID filtering control |
| RCC_R112SEMCR | RCC_SECCFGR3[16] RCC_PRIVCFGR3[16] RCC_RCFGLOCKR3[16] | FMC clock configuration control | ||
| RCC_FMCCFGR | RCC_R112CIDCFGR RCC_R112SEMCR | |||
| RCC_R113CIDCFGR | 113 | Secure, privileged and TDCID/DDCID | Resource 113 CID filtering control | |
| RCC_R113SEMCR | RCC_SECCFGR3[17] RCC_PRIVCFGR3[17] RCC_RCFGLOCKR3[17] | HSI clock period monitor control | ||
| RCC_HSIFMONCR | RCC_R113CIDCFGR RCC_R113SEMCR | |||
| Reserved | 114 to 127 | - | - | - |
| RCC_PREDIVSR1 | NA | NA | R | Flexclkgen pre divider status flag |
| RCC_PREDIVSR2 | Flexclkgen final divider status flag | |||
| RCC_FINDIVSR1 | Oscillator status clear | |||
| RCC_FINDIVSR2 | HSI clock cycle count | |||
| RCC_OCRDYR | MSI clock cycle count | |||
| RCC_HSIFVALR | Clock frequency calculator status | |||
| RCC_MSIFVALR | - | |||
| RCC_FCALCSR | - | |||
| RCC_VERR | - | |||
| RCC_IDR | - | |||
| RCC_SIDR | - |
- 1. RW = read or write, SR = set or read (noted RWS1 in the register description), CR = clear or read (noted rwc1 in the register description), R = read, and W = write.
- 2. DDR RIF configuration (resource number 104) is exported to the DDR subsystem to filter any DDR programming ports.
All RCC registers can be accessed in word, half-word and byte format, unless explicitly specified differently. All RCC registers are reset by the sys_rstn signal, unless explicitly specified differently.
Note: The burst access mode is not supported; and any opcode fetch transfer generates a bus error.
20.8.1 RCC secure configuration register 0 (RCC_SECCFGR0)
Address offset: 0x000
Reset value: 0x0000 0000
This register is used to set the secure attribute that filters any write access to the RCC local resource number 0 to 31 (see Table 161 for RCC local resource mapping). Non-secure or unprivileged writes to this register are ignored, and illegal access related events are generated. Any read is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| SEC[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SEC[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 SEC[31:0]: Secure attribute reference for local resource number x (x = 31 to 0)
If compartment filtering for local resource number x is enabled (resp. disabled) using CFEN in RCC_RxCIDCFGR, only an authorized compartment (resp. any compartment) can write this bit, if access privilege and security are sufficient. Writes are ignored if RLOCKx = 1 in RCC_RCFGLOCKR0.
Authorized compartment is defined as SCID if SEM_EN = 0 in RCC_RxCIDCFGR.
If SEM_EN = 1, it is equal to SEMCID if SEM_MUTEX = 1 in RCC_RxSEMCRCR. There is no authorized compartment if SEM_EN = 1 and SEM_MUTEX = 0.
0: Secure and non-secure data accesses are granted to local resource number x.
1: Only secure data access is granted to local resource number x.
20.8.2 RCC secure configuration register 1 (RCC_SECCFGR1)
Address offset: 0x004
Reset value: 0x0000 0000
This register is used to set the secure attribute value used to filter any write access to the RCC local resources number 32 to 63 (see Table 161 for RCC local resource mapping). Non-secure or unprivileged writes to this register are ignored, and illegal access related events are generated. Any read is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| SEC[63:48] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SEC[47:32] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 SEC[63:32]: Secure attribute reference for the local resource number x (x = 32 to 63)
If compartment filtering for local resource number x is enabled (resp. disabled) using CFEN in RCC_RxCIDCFGR, only an authorized compartment (resp. any compartment) can write this bit, if access privilege and security are sufficient. Writes are ignored if RLOCK(x - 32) = 1 in RCC_RCFGLOCKR1.
Authorized compartment is defined as SCID if SEM_EN = 0 in RCC_RxCIDCFGR.
If SEM_EN = 1, it is equal to SEMCID if SEM_MUTEX = 1 in RCC_RxSEMCR. There is no authorized compartment if SEM_EN = 1 and SEM_MUTEX = 0.
0: Secure and non-secure data accesses are granted to local resource number x
1: Only secure data access is granted to local resource number x
20.8.3 RCC secure configuration register 2 (RCC_SECCFGR2)
Address offset: 0x008
Reset value: 0x0000 0000
This register is used to set the secure attribute value used to filter any write access to the RCC local resources number 64 to 95 (see Table 161 for RCC local resource mapping). Non-secure or unprivileged writes to this register are ignored, and illegal access related events are generated. Any read is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| SEC95 | SEC94 | SEC93 | SEC92 | SEC91 | SEC90 | Res. | SEC88 | SEC87 | SEC86 | SEC85 | SEC84 | SEC83 | Res. | Res. | Res. |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SEC79 | SEC78 | SEC77 | SEC76 | SEC75 | SEC74 | SEC73 | Res. | SEC71 | SEC70 | SEC69 | SEC68 | SEC67 | SEC66 | SEC65 | SEC64 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 25, 18:16, 8 Reserved, must be kept at reset value.
Bits 31:26, 24:19, SECx: Secure attribute reference for the local resource number x (x = 95 to 90, 88 to 83, 79 to 73, 71 to 64)
If compartment filtering for local resource number x is enabled (resp. disabled) using CFEN in RCC_RxCIDCFGR, only an authorized compartment (resp. any compartment) can write this bit, if access privilege and security are sufficient. Writes are ignored if RLOCK(x - 64) = 1 in RCC_RCFGLOCKR2.
Authorized compartment is defined as SCID if SEM_EN = 0 in RCC_RxCIDCFGR.
If SEM_EN = 1 it is equal to SEMCID if SEM_MUTEX = 1 in RCC_RxSEMCR. There is no authorized compartment if SEM_EN = 1 and SEM_MUTEX = 0.
0: Secure and non-secure data accesses are granted to local resource number x
1: Only secure data access is granted to local resource number x
20.8.4 RCC secure configuration register 3 (RCC_SECCFGR3)
Address offset: 0x00C
Reset value: 0x0000 0000
This register is used to set the secure attribute value used to filter any write access to the RCC local resources number 96 to 113 (see Table 161 for RCC local resource
mapping). Non-secure or unprivileged writes to this register are ignored, and illegal access related events are generated. Any read is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEC 113 | SEC 112 |
| rw | rw | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SEC 111 | SEC 110 | SEC 109 | SEC 108 | Res. | SEC 106 | SEC 105 | SEC 104 | SEC 103 | SEC 102 | SEC 101 | Res. | Res. | SEC 98 | SEC 97 | SEC 96 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:18, 11, 4:3 Reserved, must be kept at reset value.
Bits 17:12, 10:5, SECx: Secure attribute reference for the local resource number x (x = 113 to 108, 106 to 101, 2:0 98 to 96)
If compartment filtering for local resource number x is enabled (resp. disabled) using CFEN in RCC_RxCIDCFGR, only an authorized compartment (resp. any compartment) can write this bit, if access privilege and security are sufficient. Writes are ignored if RLOCK(x - 96) = 1 in RCC_RCFGLOCKR3.
Authorized compartment is defined as SCID if SEM_EN = 0 in RCC_RxCIDCFGR.
If SEM_EN = 1, it is equal to SEMCID if SEM_MUTEX = 1 in RCC_RxSEMCRCR. There is no authorized compartment if SEM_EN = 1 and SEM_MUTEX = 0.
0: Non-secure write access is allowed.
1: Secure write access is allowed.
20.8.5 RCC privileged configuration register 0 (RCC_PRIVCFGR0)
Address offset: 0x010
Reset value: 0x0000 0000
This register is used to set the privileged attribute value used to filter any write access to the RCC local resource number 0 to 31 (see Table 161 for RCC local resource mapping). Unprivileged writes to this register are ignored, and illegal access event is generated. Any read is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| PRIV[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PRIV[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 PRIV[31:0]: Privileged attribute reference for local resource number x (x = 31 to 0)
If corresponding SECx is set in RCC_SECCFGR0, each bit can only be written by a secure privileged application.
If compartment filtering for local resource number x is enabled (resp. disabled) using CFEN in RCC_RxCIDCFGR, only an authorized compartment (resp. any compartment) can write this bit, if access privilege and security are sufficient. Writes are ignored if RLOCKx = 1 in RCC_RCFGLOCKR0.
Authorized compartment is defined as SCID if SEM_EN = 0 in RCC_RxCIDCFGR.
If SEM_EN = 1, it is equal to SEMCID if SEM_MUTEX = 1 in RCC_RxSEMC. There is no authorized compartment if SEM_EN = 1 and SEM_MUTEX = 0.
0: Privileged and unprivileged data accesses are granted to local resource number x.
1: Only privileged data access is granted to local resource number x.
20.8.6 RCC privileged configuration register 1 (RCC_PRIVCFGR1)
Address offset: 0x014
Reset value: 0x0000 0000
This register is used to set the privileged attribute value used to filter any write access to the RCC local resources number 32 to 63 (see Table 161 for RCC local resource mapping). Unprivileged writes to this register are ignored, and illegal access event is generated. Any read is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| PRIV[63:48] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PRIV[47:32] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 PRIV[63:32]: Privileged attribute reference for the local resource number x (x = 63 to 32)
If corresponding SEC(x - 32) is set in RCC_SECCFGR1, this bit can only be written by a secure privileged application.
If compartment filtering for local resource number x is enabled (resp. disabled) using CFEN in RCC_RxCIDCFGR, only an authorized compartment (resp. any compartment) can write this bit, if access privilege and security are sufficient. Writes are ignored if RLOCK(x - 32) = 1 in RCC_RCFGLOCKR1.
Authorized compartment is defined as SCID if SEM_EN = 0 in RCC_RxCIDCFGR.
If SEM_EN = 1, it is equal to SEMCID if SEM_MUTEX = 1 in RCC_RxSEMC. There is no authorized compartment if SEM_EN = 1 and SEM_MUTEX = 0.
0: Privileged and unprivileged data accesses are granted to local resource number x.
1: Only privileged data access is granted to local resource number x.
20.8.7 RCC privileged configuration register 2 (RCC_PRIVCFGR2)
Address offset: 0x018
Reset value: 0x0000 0000
This register is used to set the privileged attribute value used to filter any write access to the RCC local resources number 64 to 95 (see Table 161 for RCC local resource mapping).

Unprivileged writes to this register are ignored, and illegal access event is generated. Any read is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| PRIV95 | PRIV94 | PRIV93 | PRIV92 | PRIV91 | PRIV90 | Res. | PRIV88 | PRIV87 | PRIV86 | PRIV85 | PRIV84 | PRIV83 | Res. | Res. | Res. |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PRIV79 | PRIV78 | PRIV77 | PRIV76 | PRIV75 | PRIV74 | PRIV73 | Res. | PRIV71 | PRIV70 | PRIV69 | PRIV68 | PRIV67 | PRIV66 | PRIV65 | PRIV64 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 25, 18:16, 8 Reserved, must be kept at reset value.
Bits 31:26, 24:19, PRIVx: Privileged attribute reference for the local resource number x (x = 95 to 90, 88 to 83, 79 15:9, 7:0 to 73, 71 to 64)
If corresponding SEC(x - 64) is set in RCC_SECCFGR2, each bit can only be written by a secure privileged application.
If compartment filtering for local resource number x is enabled (resp. disabled) using CFEN in RCC_RxCIDCFGR, only an authorized compartment (resp. any compartment) can write this bit, if access privilege and security are sufficient. Writes are ignored if RLOCK(x - 64) = 1 in RCC_RCFGLOCKR2.
Authorized compartment is defined as SCID if SEM_EN = 0 in RCC_RxCIDCFGR.
If SEM_EN = 1, it is equal to SEMCID if SEM_Mutex = 1 in RCC_RxSEMC. There is no authorized compartment if SEM_EN = 1 and SEM_Mutex = 0.
0: Privileged and unprivileged data accesses are granted to local resource number x.
1: Only privileged data access is granted to local resource number x.
20.8.8 RCC privileged configuration register 3 (RCC_PRIVCFGR3)
Address offset: 0x01C
Reset value: 0x0000 0000
This register is used to set the privileged attribute value used to filter any write access to the RCC local resources number 96 to 113 (see Table 161 for RCC local resource mapping). Unprivileged writes to this register are ignored, and illegal access event is generated. Any read is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PRIV 113 | PRIV 112 |
| rw | rw | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PRIV 111 | PRIV 110 | PRIV 109 | PRIV 108 | Res. | PRIV 106 | PRIV 105 | PRIV 104 | PRIV 103 | PRIV 102 | PRIV 101 | Res. | Res. | PRIV 98 | PRIV 97 | PRIV 96 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:18, 11, 4:3 Reserved, must be kept at reset value.
Bits 17:12, 10:5, PRIVx: Secure attribute reference for the local resource number x (x = 113 to 108, 106 to 101, 2:0 98 to 96)
If corresponding SEC(x - 96) is set in RCC_SECCFGR3, each bit can only be written by a secure privileged application.
If compartment filtering for local resource number x is enabled (resp. disabled) using CFEN in RCC_RxCIDCFGR, only an authorized compartment (resp. any compartment) can write this bit, if access privilege and security are sufficient. Writes are ignored if RLOCK(x - 96) = 1 in RCC_RCFGLOCKR3.
Authorized compartment is defined as SCID if SEM_EN = 0 in RCC_RxCIDCFGR.
If SEM_EN = 1, it is equal to SEMCID if SEM_MUTEX = 1 in RCC_RxSEMCRCR. There is no authorized compartment if SEM_EN = 1 and SEM_MUTEX = 0.
0: Privileged and unprivileged data accesses are granted to local resource number x.
1: Only privileged data access is granted to local resource number x.
20.8.9 RCC resource configuration lock register 0 (RCC_RCFGLOCKR0)
Address offset: 0x020
Reset value: 0x0000 0000
Secure privileged write access only. Write only by trusted domain. Debug domain can write this register if the feature is activated. Otherwise, illegal access events are generated. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RLOCK[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RLOCK[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 RLOCK[31:0]: RCC local resource number x lock (x = 31 to 0)
Each bit is set to lock the RCC local resource x. It is cleared by default, and once set. It cannot be reset until the RCC is reset.
0: SECx in RCC_SECCFGR0 and PRIVx in RCC_PRIVCFGR0 are writable.
RCC_RxCIDCFGR is writable.
1: Writes to SECx in RCC_SECCFGR0 and PRIVx in RCC_PRIVCFGR0 are ignored.
Writes to RCC_RxCIDCFGR are ignored.
20.8.10 RCC resource configuration lock register 1 (RCC_RCFGLOCKR1)
Address offset: 0x024
Reset value: 0x0000 0000
Secure privileged write access only. Write only by trusted domain. Debug domain can write to this register if the feature is activated. Otherwise, illegal access events are generated. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RLOCK[63:48] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RLOCK[47:32] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 RLOCK[63:32]: RCC local resource number x lock (x = 63 to 32)
Each bit is set to lock the RCC local resource x. It is cleared by default, and once set, it cannot be reset until RCC is reset.
0: SEC(x - 32) in RCC_SECCFGR1 and PRIV(x - 32) in RCC_PRIVCFGR1 are writable. RCC_RxCIDCFGR is writable.
1: Writes to SEC(x - 32) in RCC_SECCFGR1 and PRIV(x - 32) in RCC_PRIVCFGR1 are ignored. Writes to RCC_RxCIDCFGR are ignored.
20.8.11 RCC resource configuration lock register 2 (RCC_RCFGLOCKR2)
Address offset: 0x028
Reset value: 0x0000 0000
Secure privileged write access only. Write only by trusted domain. Debug domain can write to this register if the feature is activated. Otherwise, illegal access events are generated. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RLOCK 95 | RLOCK 94 | RLOCK 93 | RLOCK 92 | RLOCK 91 | RLOCK 90 | Res. | RLOCK 88 | RLOCK 87 | RLOCK 86 | RLOCK 85 | RLOCK 84 | RLOCK 83 | Res. | Res. | Res. |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RLOCK 79 | RLOCK 78 | RLOCK 77 | RLOCK 76 | RLOCK 75 | RLOCK 74 | RLOCK 73 | Res. | RLOCK 71 | RLOCK 70 | RLOCK 69 | RLOCK 68 | RLOCK 67 | RLOCK 66 | RLOCK 65 | RLOCK 64 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 25, 18:16, 8 Reserved, must be kept at reset value.
Bits 31:26, 24:19, RLOCKx: RCC local resource number x lock (x = 95 to 90, 88 to 83, 79 to 73, 71 to 64)
15:9, 7:0 Each bit is set to lock the RCC local resource x. It is cleared by default, and once set, it cannot be reset until the RCC is reset.
0: SEC(x - 64) in RCC_SECCFGR2 and PRIV(x - 64) in RCC_PRIVCFGR2 are writable. RCC_RxCIDCFGR is writable.
1: Writes to SEC(x - 64) in RCC_SECCFGR2 and PRIV(x - 64) in RCC_PRIVCFGR2 are ignored. Writes to RCC_RxCIDCFGR are ignored.
20.8.12 RCC resource configuration lock register 3 (RCC_RCFGLOCKR3)
Address offset: 0x02C
Reset value: 0x0000 0000
Secure privileged write access only. Write only by trusted domain.Debug domain can write to this register if the feature is activated.Otherwise, illegal access events are generated. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RLOCK 113 | RLOCK 112 |
| rw | rw | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RLOCK 111 | RLOCK 110 | RLOCK 109 | RLOCK 108 | Res. | RLOCK 106 | RLOCK 105 | RLOCK 104 | RLOCK 103 | RLOCK 102 | RLOCK 101 | Res. | Res. | RLOCK 98 | RLOCK 97 | RLOCK 96 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:18, 11, 4:3 Reserved, must be kept at reset value.
Bits 17:12, 10:5, RLOCKx: RCC local resource number x lock (x = 113 to 108, 106 to 101, 98 to 96)
- 2:0 Each bit is set to lock the RCC local resource x. It is cleared by default, and once set. It cannot be reset until the RCC is reset.
- 0: SEC(x-96) in RCC_SECCFGR3 and PRIV(x-96) in RCC_PRIVCFGR3 are writable. RCC_RxCIDCFGR is writable.
- 1: Writes to SEC(x-96) in RCC_SECCFGR3 and PRIV(x-96) in RCC_PRIVCFGR3 are ignored. Writes to RCC_RxCIDCFGR are ignored.
20.8.13 RCC resource x CID configuration register (RCC_RxCIDCFGR)
Address offset: 0x030+0x8*x, (x = 0 to 71, 73 to 79, 83 to 88, 90 to 98, 101 to 106, 108 to 113)
Reset value: 0x0000 0000
This register is used to configure the CID filtering policy for the RCC local resource x (see Table 161 for RCC local resource mapping). Secure privileged write access only. Write only by trusted domain. Debug domain can write to this register if the feature is activated.
Any write is ignored if the local resource x is locked (RLOCK(x-32*z) = 1 in RCC_RCFGLOCKRz, with z = 0 to 3).Otherwise, illegal access events are generated. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEMWLC[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SCID[2:0] | Res. | Res. | SEM_E_N | CFEN | ||
| rw | rw | rw | rw | rw | |||||||||||
Bits 31:24 Reserved, must be kept at reset value.
Bits 23:16 SEMWLC[7:0]: Semaphore white-list for compartment y (y = 7 to 0)
Set and cleared by software.
0: Application running in compartment y cannot get access to local resource x through semaphore SEM_MUTEX.
1: Application running in compartment y can get access to local resource x through semaphore SEM_MUTEX.
Note: This bit is ignored if SEM_EN = 0 or CFEN = 0
Bits 15:7 Reserved, must be kept at reset value.
Bits 6:4 SCID[2:0]: Static compartment ID
Set by software.
Trusted domain application uses this bit-field to statically define which compartment has access to local resource number x when SEM_EN = 0.
This bit-field is ignored if SEM_EN = 1 or CFEN = 0.
Bits 3:2 Reserved, must be kept at reset value.
Bit 1 SEM_EN: Semaphore enable
Set and cleared by software.
0: Access to local resource number x is only granted if the CID of the access is equal to SCID.
1: Access to local resource number x is only granted if SEM_MUTEX = 1 and the CID of the access is equal to SEMCID.
This bit is not taken into account if CFEN = 0. When this bit is cleared, SEM_MUTEX is cleared.
Bit 0 CFEN: Static CID filter enable
Set and cleared by software. Additional access controls to local resource x apply, as defined in RCC_PRIVCFGRz and RCC_SECCFGRz with z = 0 to 3.
0: Compartment-based filtering is defined in RCC_RxCIDCFGR, and optionally RCC_RxSEMCR is disabled for local resource x.
1: Compartment-based filtering is defined in RCC_RxCIDCFGR, and optionally RCC_RxSEMCR is enabled for local resource x.
Note: When this bit is cleared, SEM_MUTEX is cleared.
20.8.14 RCC resource x semaphore control register (RCC_RxSEMCR)
Address offset: 0x034+0x8*x, (x = 0 to 71, 73 to 79, 83 to 88, 90 to 98, 101 to 106, 108 to 113)
Reset value: 0x0000 0000
This register is used to control the semaphore access for the RCC local resource x.
If compartment filtering is disabled (CFEN = 0 in RCC_RxCIDCFGR), or semaphore is disabled (SEM_EN = 0 in RCC_RxCIDCFGR), any write to this register is ignored. Illegal access event generation is disabled in this case.
Secure-only write access if SEC(x - 32 * z) is set in RCC_SECCFGRz (with z = 0 to 3).
Privileged-only write access if PRIV(x - 32 * z) is set in RCC_PRIVCFGRz (with z = 0 to 3).
If compartment filtering is enabled and semaphore is enabled (CFEN and SEM_EN set in RCC_RxCIDCFGR), only an authorized compartment can write this register. Authorized compartment is defined by SEMCID if SEM_MUTEX = 1. Otherwise, it is defined by the CID white list (SEMWLCy with y = 0 to 7) in RCC_RxCIDCFGR. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEMCID[2:0] | Res. | Res. | Res. | SEM_MUTEX | ||
| r | r | r | rw | ||||||||||||
Bits 31:7 Reserved, must be kept at reset value.
Bits 6:4 SEMCID[2:0]: Semaphore compartment ID
Set by hardware. When SEM_EN and CFEN are set in RCC_RxCIDCFGR, this bitfield is updated with the CID value of the latest successful acquisition of RCC_RxSEMC semaphore (SEM_MUTEX = 1).
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 SEM_MUTEX: Semaphore mutex
Set and cleared by software. White-listed application can set this bit to get exclusive access to local resource x, when SEM_EN = 1 in RCC_RxCIDCFGR (writes ignored otherwise).
When SEM_MUTEX = 0, only applications belonging to the white-listed compartments (defined by SEMWLCy in RCC_RxCIDCFGR) can acquire this semaphore.
When SEM_MUTEX = 1, only applications belonging to the SEMCID compartment can release this semaphore.
0: Reading 0 means that the semaphore is free. Writing 0 means that the semaphore is going to be released.
1: Reading 1 means that the semaphore is taken. Writing 1 means that the semaphore is going to be acquired.
Note: This bit is cleared when CFEN or SEM_EN are cleared in RCC_RxCIDCFGR.
20.8.15 RCC global reset control set register (RCC_GRSTCSETR)
Address offset: 0x400
Reset value: 0x0000 0000
This register is used to generate a system reset. Writing 0 has no effect, reading returns the effective values of the corresponding bits. Writing 1 activates a system reset. Write accesses are defined according to the RCC local resource number 66 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SYSRST |
| rs |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 SYSRST: System reset
Set by software, cleared by hardware.
0: Writing 0 has no effect. Reading 0 means that the system reset is released.
1: Writing 1 generates a system reset (see Figure 74).
20.8.16 RCC CPU1 reset control set register (RCC_C1RSTCSETR)
Address offset: 0x404
Reset value: 0x0000 0000
This register is used to generate the CPU1 reset, and IWDG1/2 kernel resets. Writing 0 has no effect. Reading returns the effective values of the corresponding bits. Writing 1 activates the bit. Write accesses are defined according to the RCC local resource number 66 configuration (see Table 161 for details).Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | C1RST |
| rs |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 C1RST: CPU1 reset
Set by software, cleared by hardware when the reset command is completed. Resets the CPU1 subsystem, and IWDG1/2 kernel clocks.
0: Writing 0 has no effect. Reading 0 means that the CPU1 reset is released.
1: Writing 1 generates a CPU1 reset. Reading 1 means that the reset is asserted (see Figure 74).
20.8.17 RCC CPU2 reset control set register (RCC_C2RSTCSETR)
Address offset: 0x40C
Reset value: 0x0000 0000
This register is used to generate a CPU2 reset, and IWDG3/4 kernel resets. Writing 0 has no effect. Reading returns the effective values of the corresponding bits. Writing 1 activates the reset of the corresponding peripheral. Write accesses are defined according to the RCC local resource number 66 configuration (see Table 161 for details).Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | C2RST |
| rs |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 C2RST: CPU2 reset
Set by software and cleared by hardware when the reset command is completed.
Resets the CPU2 subsystem, and IWDG3/4 kernel clocks.
0: Writing 0 has no effect. Reading 0 means that the CPU2 reset is released.
1: Writing 1 generates a CPU2 reset. Reading 1 means that the reset is asserted (see Figure 74).
20.8.18 RCC hardware reset status clear register (RCC_HWRSTSCLRR)
Address offset: 0x410
Reset value: 0x0000 0015
This register is used by the trusted application to check the reset source. Writing 0 has no effect. Reading returns the effective values of the corresponding bits. Writing 1 clears the corresponding bit to 0. This register is located in VDD domain, and is reset by por_rstn reset. Write accesses are defined according to the RCC local resource number 66 configuration (see Table 161 for details).Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | RETEC CFAILR ESTRS TF | RETEC CFAILC RCRST F | RETCR CERR RSTF | Res. | IWDG4 SYSRS TF | IWDG3 SYSRS TF | IWDG2 SYSRS TF | IWDG1 SYSRS TF | SYSC2 RSTF | SYSC1 RSTF | VCOR ERSTF | HCSSR STF | PADRS TF | BORR STF | PORR STF |
| rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 |
Bits 31:15 Reserved, must be kept at reset value.
Bit 14 RETECCFAILRESTRSTF: RETRAM ECC failure reset flag during system restoration phase
Cleared by software and set by hardware when a reset due to an ECC failure on RETRAM during the system restoration phase occurs.
0: Writing 0 has no effect. Reading 0 means that no reset due to an ECC failure on RETRAM during the system restoration phase occurred (default after por_rstn reset).
1: Writing 1 clears the RETECCFAILRESTRSTF flag. Reading 1 means that a reset due to an ECC failure on RETRAM during the system restoration phase occurred.
Bit 13 RETECCFAILCRCRSTF: RETRAM ECC failure reset flag during the CRC computation phase
Cleared by software and set by hardware when a reset due to an ECC failure on RETRAM during CRC computation phase occurs.
0: Writing 0 has no effect. Reading 0 means that no reset due to an ECC failure on RETRAM during CRC computation phase occurred (default after por_rstn reset).
1: Writing 1 clears the RETECCFAILCRCRSTF flag. Reading 1 means that a reset due to an ECC failure on RETRAM during CRC computation phase occurred.
Bit 12 RETCRCERRRSTF: RETRAM CRC error reset flag
Cleared by software and set by hardware when a reset due to a CRC error on RETRAM content occurs.
0: Writing 0 has no effect. Reading 0 means that no reset due to a CRC error on RETRAM content occurred (default after por_rstn reset).
1: Writing 1 clears the RETCRCERRRSTF flag. Reading 1 means that a reset due to a CRC error on RETRAM content occurred.
Bit 11 Reserved, must be kept at reset value.
- Bit 10 IWDG4SYSRSTF: IWDG4 system reset flag
Cleared by software and set by hardware when an IWDG4 system reset occurs.
0: Writing 0 has no effect. Reading 0 means that no IWDG4 system reset occurred (default after por_rstn reset).
1: Writing 1 clears the IWDG4SYSRSTF flag. Reading 1 means that an IWDG4 system reset occurred. - Bit 9 IWDG3SYSRSTF: IWDG3 system reset flag
Cleared by software and set by hardware when an IWDG3 system reset occurs.
0: Writing 0 has no effect. Reading 0 means that no IWDG3 system reset occurred (default after por_rstn reset).
1: Writing 1 clears the IWDG3SYSRSTF flag. Reading 1 means that an IWDG3 system reset occurred. - Bit 8 IWDG2SYSRSTF: IWDG2 system reset flag
Cleared by software and set by hardware when an IWDG2 system reset occurs.
0: Writing 0 has no effect. Reading 0 means that no IWDG2 system reset occurred (default after por_rstn reset).
1: Writing 1 clears the IWDG2SYSRSTF flag. Reading 1 means that an IWDG2 system reset occurred. - Bit 7 IWDG1SYSRSTF: IWDG1 system reset flag
Cleared by software and set by hardware when an IWDG1 system reset occurs.
0: Writing 0 has no effect. Reading 0 means that no IWDG1 system reset occurred (default after por_rstn reset).
1: Writing 1 clears the IWDG1SYSRSTF flag. Reading 1 means that an IWDG1 system reset occurred. - Bit 6 SYSC2RSTF: CPU2 system reset flag
Cleared by software and set by hardware when a CPU2 system reset occurs.
0: Writing 0 has no effect. Reading 0 means that no system reset generated by the CPU2 occurred (default after por_rstn reset).
1: Writing 1 clears the SYSC2RSTF flag. Reading 1 means that a system reset generated by the CPU2 occurred. - Bit 5 SYSC1RSTF: CPU1 system reset flag
Cleared by software and set by hardware when a CPU1 system reset occurs.
0: Writing 0 has no effect. Reading 0 means that no system reset generated by the CPU1 occurred (default after por_rstn reset).
1: Writing 1 clears the SYSC1RSTF flag. Reading 1 means that a system reset generated by the CPU1 occurred. - Bit 4 VCORERSTF: \(V_{DDCORE}\) reset flag
Cleared by software and set by hardware when a reset occurs because \(V_{DDCORE}\) is lower than the expected value.
0: Writing 0 has no effect. Reading 0 means that \(V_{DDCORE}\) is not the origin of the reset.
1: Writing 1 clears the VCORERSTF flag. Reading 1 means that \(V_{DDCORE}\) is the origin of the reset (default after por_rstn reset). - Bit 3 HCSSRSTF: HSE CSS reset flag
Cleared by software and set by hardware when a failure is detected on HSE.
0: Writing 0 has no effect. Reading 0 means that no HSE CSS reset occurred (default after por_rstn reset).
1: Writing 1 clears the HCSSRSTF flag. Reading 1 means that a HSE CSS reset occurred.
Bit 2 PADRSTF: NRST reset flag
Cleared by software and set by hardware when a PAD reset occurs.
0: Writing 0 has no effect. Reading 0 means that no PAD reset occurred.
1: Writing 1 clears the PADRSTF flag. Reading 1 means that a PAD reset occurred (default after por_rstn reset).
Bit 1 BORRSTF: BOR reset flag
Cleared by software and set by hardware when a BOR occurs.
0: Writing 0 has no effect. Reading 0 means that no BOR occurred (default after por_rstn reset).
1: Writing 1 clears the BORRSTF flag. Reading 1 means that a BOR occurred.
Bit 0 PORRSTF: POR/PDR reset flag
Cleared by software and set by hardware when a POR/PDR occurs.
0: Writing 0 has no effect. Reading 0 means that no POR/PDR occurred.
1: Writing 1 clears the PORRSTF flag. Reading 1 means that a POR/PDR occurred (default after por_rstn reset).
20.8.19 RCC CPU1 hardware reset status clear register (RCC_C1HWRSTSCLRR)
Address offset: 0x414
Reset value: 0x0000 0003
This register is used by the CPU1 to check the reset source. Writing 0 has no effect. Reading returns the effective values of the corresponding bits. Writing 1 clears the corresponding bit to 0. This register is located in \(V_{DD}\) domain, and is reset by por_rstn reset. This flag is located in the \(V_{DDCORE}\) domain, and is reset by sys_rstn reset. Write accesses are defined according to the RCC local resource number 70 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | C1RST F | VCPUR STF |
| rc_w1 | rc_w1 |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 C1RSTF: CPU1 reset flag
Cleared by software and set by hardware when a CPU1 reset occurs.
0: Writing 0 has no effect. Reading 0 means that no CPU1 reset occurred.
1: Writing 1 clears the C1RSTF flag. Reading 1 means that a CPU1 reset occurred (default after por_rstn reset).
Bit 0 VCPURSTF: \(V_{DDCPU}\) reset flag
Cleared by software and set by hardware when a reset occurs because \(V_{DDCPU}\) is lower than the expected value.0: Writing 0 has no effect. Reading 0 means that \(V_{DDCPU}\) is not the origin of the reset.1: Writing 1 clears the VCPURSTF flag. Reading 1 means that \(V_{DDCPU}\) is the origin of the reset (default after por_rstn reset).20.8.20 RCC CPU2 hardware reset status clear register (RCC_C2HWRSTSCLRR)
Address offset: 0x418
Reset value: 0x0000 0001
This register is used by the CPU2 to check the reset source. Writing 0 has no effect. Reading returns the effective values of the corresponding bits. Writing 1 clears the corresponding bit to 0. This register is located in the VDD domain, and is reset by por_rstn reset. Write accesses are defined according to the RCC local resource number 71 configuration (see Table 161 for details).Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | C2RSTF |
| rc_w1 |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 C2RSTF: CPU2 reset flag
Cleared by software and set by hardware when a CPU2 reset occurs.
0: Writing 0 has no effect. Reading 0 means that no CPU2 reset occurred.
1: Writing 1 clears the C2RSTF flag. Reading 1 means that a CPU2 reset occurred (default after por_rstn reset).
20.8.21 RCC CPU1 boot reset status set register (RCC_C1BOOTRSTSSETR)
Address offset: 0x41C
Reset value: 0x0000 0000
This register is used by the CPU1 to set the boot reset source. This register is updated by the boot ROM code after any reset source. Writing 0 to this register has no effect. Writing 1 sets the corresponding bits (see Section 20.3.13 for details). The register is located in the VDDCORE domain. Write accesses are defined according to the RCC local resource number 70 configuration (see Table 161 for details).Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | D2STBYRSTF | D1STBYRSTF | Res. | STBYC1RSTF | RETEC CFAILR ESTRS TF | RETEC CFAILC RCRST F | RETCR CERR RSTF | Res. |
| rs | rs | rs | rs | rs | rs | ||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | C1RSTF | Res. | IWDG4 SYSRS TF | IWDG3 SYSRS TF | IWDG2 SYSRS TF | IWDG1 SYSRS TF | SYSC2 RSTF | SYSC1 RSTF | VCPUR STF | VCOR ERSTF | HCSSR STF | PADRS TF | BORR STF | PORR STF |
| rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs |
Bits 31:24 Reserved, must be kept at reset value.
- Bit 23 D2STBYRSTF: D2 DStandby reset flag
Set by software. Indicates that the D2 domain has been in DStandby mode.
0: No effect
1: Set the D2STBYRSTF bit - Bit 22 D1STBYRSTF: D1 DStandby reset flag
Set by software. Indicates that the D1 domain has been in DStandby mode.
0: No effect
1: Set the D1STBYRSTF bit. - Bit 21 Reserved, must be kept at reset value.
- Bit 20 STBYC1RSTF: CPU1 system Standby reset flag
Set by software. Indicates that the system has been in Standby mode for CPU1.
0: No effect
1: Set the STBYC1RSTF bit. - Bit 19 RETECCFAILRESTRSTF: RETRAM ECC failure reset flag during system restoration phase
Set by software. Indicates that a reset due to an ECC failure on RETRAM during the system restoration phase occurred.
0: No effect
1: Set the RETECCFAILRESTRSTF bit. - Bit 18 RETECCFAILCRCRSTF: RETRAM ECC failure reset flag during the CRC computation phase
Set by software. Indicates that a reset due to an ECC failure on RETRAM during CRC computation phase occurred.
0: No effect
1: Set the RETECCFAILCRCRSTF bit. - Bit 17 RETCRCERRRSTF: RETRAM CRC error reset flag
Set by software. Indicates that a reset due to a CRC error on RETRAM content occurred.
0: No effect
1: Set the RETCRCERRRSTF bit. - Bits 16:14 Reserved, must be kept at reset value.
- Bit 13 C1RSTF: CPU1 reset flag
Set by software. Indicates that a CPU1 reset occurred.
0: No effect
1: Set the C1RSTF bit. - Bit 12 Reserved, must be kept at reset value.
- Bit 11 IWDG4SYSRSTF: IWDG4 system reset flag
Set by software. Indicates that a system reset occurred due to an IWDG4 timeout.
0: No effect
1: Set the IWDG4SYSRSTF bit. - Bit 10 IWDG3SYSRSTF: IWDG3 system reset flag
Set by software. Indicates that a system reset occurred due to an IWDG3 timeout.
0: No effect
1: Set the IWDG3SYSRSTF bit. - Bit 9 IWDG2SYSRSTF: IWDG2 system reset flag
Set by software. Indicates that a system reset occurred due to an IWDG2 timeout.
0: No effect
1: Set the IWDG2SYSRSTF bit.
- Bit 8 IWDG1SYSRSTF: IWDG1 system reset flag
Set by software. Indicates that a system reset occurred due to an IWDG1 timeout.
0: No effect
1: Set the IWDG1SYSRSTF bit. - Bit 7 SYSC2RSTF: CPU2 system reset flag
Set by software. Indicates that a system reset generated by the CPU2 occurred.
0: No effect
1: Set the SYSC2RSTF bit. - Bit 6 SYSC1RSTF: CPU1 system reset flag
Set by software. Indicates that a system reset generated by the CPU1 occurred.
0: No effect
1: Set the SYSC1RSTF bit. - Bit 5 VCPURSTF: \(V_{DDCPU}\) reset flag
Set by software. Indicates that a reset occurred because \(V_{DDCPU}\) is lower than the expected value.
0: No effect
1: Set the VCPURSTF bit. - Bit 4 VCORERSTF: \(V_{DDCORE}\) reset flag
Set by software. Indicates that a reset occurred because \(V_{DDCORE}\) is lower than the expected value.
0: No effect
1: Set the VCORERSTF bit. - Bit 3 HCSSRSTF: HSE CSS reset flag
Set by software. Indicates that a reset occurred due to a failure detection on HSE.
0: No effect
1: Set the HCSSRSTF bit. - Bit 2 PADRSTF: NRST reset flag
Set by software. Indicates that a pad reset occurred.
0: No effect
1: Set the PADRSTF bit. - Bit 1 BORRSTF: BOR reset flag
Set by software. Indicates that a BOR reset occurred.
0: No effect
1: Set the BORRSTF bit. - Bit 0 PORRSTF: POR/PDR reset flag
Set by software. Indicates that a POR/PDR reset occurred.
0: No effect
1: Set the PORRSTF bit.
20.8.22 RCC CPU1 boot reset status clear register (RCC_C1BOOTRSTSCLRR)
Address offset: 0x420
Reset value: 0x0000 0000
This register is used by the CPU1 to check the boot reset source. This register is updated by the boot ROM code after any reset source. Writing 0 to this register has no effect. Writing 1
clears the corresponding bits (see Section 20.3.13 for details). The register is located in the VDDCORE domain. Write accesses are defined according to the RCC local resource number 70 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | D2STBYRSTF | D1STBYRSTF | Res. | STBYC1RSTF | RETECCFAILRESTRSTF | RETECCFAILCRSTF | RETCRCERRRSTF | Res. |
| rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | ||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | C1RSTF | Res. | IWDG4SYSRSTF | IWDG3SYSRSTF | IWDG2SYSRSTF | IWDG1SYSRSTF | SYSC2RSTF | SYSC1RSTF | VCPURSTF | VCORERSTF | HCSSRSTF | PADRSTF | BORRSTF | PORRSTF |
| rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 |
Bits 31:24 Reserved, must be kept at reset value.
Bit 23 D2STBYRSTF: D2 DStandby reset flag
Cleared by software. Indicates that the D2 domain has been in DStandby mode.
0: No effect
1: Clear the D2STBYRSTF bit.
Bit 22 D1STBYRSTF: D1 DStandby reset flag
Cleared by software. Indicates that the D1 domain has been in DStandby mode.
0: No effect
1: Clear the D1STBYRSTF bit.
Bit 21 Reserved, must be kept at reset value.
Bit 20 STBYC1RSTF: CPU1 system Standby reset flag
Cleared by software. Indicates that the system has been in Standby mode for CPU1.
0: No effect
1: Clear the STBYC1RSTF bit.
Bit 19 RETECCFAILRESTRSTF: RETRAM ECC failure reset flag during system restoration phase
Cleared by software. Indicates that a reset due to an ECC failure on RETRAM during the system restoration phase occurred.
0: No effect
1: Clear the RETECCFAILRESTRSTF bit.
Bit 18 RETECCFAILCRSTF: RETRAM ECC failure reset flag during the CRC computation phase
Cleared by software. Indicates that a reset due to an ECC failure on RETRAM during CRC computation phase occurred.
0: No effect
1: Clear the RETECCFAILCRSTF bit.
Bit 17 RETCRCERRRSTF: RETRAM CRC error reset flag
Cleared by software. Indicates that a reset due to a CRC error on RETRAM content occurred.
0: No effect
1: Clear the RETCRCERRRSTF bit.
Bits 16:14 Reserved, must be kept at reset value.
- Bit 13 C1RSTF: CPU1 reset flag
Cleared by software. Indicates that a CPU1 reset occurred.
0: No effect
1: Clear the C1RSTF bit. - Bit 12 Reserved, must be kept at reset value.
- Bit 11 IWDG4SYSRSTF: IWDG4 system reset flag
Cleared by software. Indicates that a system reset occurred due to an IWDG4 timeout.
0: No effect
1: Clear the IWDG4SYSRSTF bit. - Bit 10 IWDG3SYSRSTF: IWDG3 system reset flag
Cleared by software. Indicates that a system reset occurred due to an IWDG3 timeout.
0: No effect
1: Clear the IWDG3SYSRSTF bit. - Bit 9 IWDG2SYSRSTF: IWDG2 system reset flag
Cleared by software. Indicates that a system reset occurred due to an IWDG2 timeout.
0: No effect
1: Clear the IWDG2SYSRSTF bit. - Bit 8 IWDG1SYSRSTF: IWDG1 system reset flag
Cleared by software. Indicates that a system reset occurred due to an IWDG1 timeout.
0: No effect
1: Clear the IWDG1SYSRSTF bit. - Bit 7 SYSC2RSTF: CPU2 system reset flag
Cleared by software. Indicates that a system reset generated by the CPU2 occurred.
0: No effect
1: Clear the SYSC2RSTF bit. - Bit 6 SYSC1RSTF: CPU1 system reset flag
Cleared by software. Indicates that a system reset generated by the CPU1 occurred.
0: No effect
1: Clear the SYSC1RSTF bit. - Bit 5 VCPURSTF: \(V_{DDCPU}\) reset flag
Cleared by software. Indicates that a reset occurred because \(V_{DDCPU}\) is lower than the expected value.
0: No effect
1: Clear the VCPURSTF bit. - Bit 4 VCORERSTF: \(V_{DDCORE}\) reset flag
Cleared by software. Indicates that a reset occurred because \(V_{DDCORE}\) is lower than the expected value.
0: No effect
1: Clear the VCORERSTF bit. - Bit 3 HCSSRSTF: HSE CSS reset flag
Cleared by software. Indicates that a reset occurred due to a failure detection on HSE.
0: No effect
1: Clear the HCSSRSTF bit.
Bit 2 PADRSTF: NRST reset flag
Cleared by software. Indicates that a pad reset occurred.
0: No effect
1: Clear the PADRSTF bit.
Bit 1 BORRSTF: BOR reset flag
Cleared by software. Indicates that a BOR reset occurred.
0: No effect
1: Clear the BORRSTF bit.
Bit 0 PORRSTF: POR/PDR reset flag
Cleared by software. Indicates that a POR/PDR reset occurred.
0: No effect
1: Clear the PORRSTF bit.
20.8.23 RCC CPU2 boot reset status set register (RCC_C2BOOTRSTSSETR)
Address offset: 0x424
Reset value: 0x0000 0000
This register is used by the CPU2 to set the boot reset source. This register is updated by the CPU2 wake-up firmware after any reset source. Writing 0 to this register has no effect. Writing 1 sets the corresponding bits (see Section 20.3.13 for details). The register is located in the VDDCORE domain. Write accesses are defined according to the RCC local resource number 71 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | D2STBYRSTF | Res. | STBYC2RSTF | Res. | RETECFAILRESTRSTF | RETECFAILRCRSTF | RETECERRRSTF | Res. |
| rs | rs | rs | rs | rs | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | C2RSTF | Res. | Res. | IWDG4SYSRSTF | IWDG3SYSRSTF | IWDG2SYSRSTF | IWDG1SYSRSTF | SYSC2RSTF | SYSC1RSTF | Res. | VCORERSTF | HCSSRSTF | PADRSTF | BORRSTF | PORRSTF |
| rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs |
Bits 31:24 Reserved, must be kept at reset value.
Bit 23 D2STBYRSTF: D2 DStandby reset flag
Set by software. Indicates that the D2 domain has been in DStandby mode.
0: No effect
1: Set the D2STBYRSTF bit.
Bit 22 Reserved, must be kept at reset value.
Bit 21 STBYC2RSTF: CPU2 system Standby reset flag
Set by software. Indicates that the system has been in Standby mode for CPU2.
0: No effect
1: Set the STBYC2RSTF bit.
Bit 20 Reserved, must be kept at reset value.
- Bit 19 RETECCFAILRESTRSTF: RETRAM ECC failure reset flag during system restoration phase
Set by software. Indicates that a reset due to an ECC failure on RETRAM during the system restoration phase occurred.
0: No effect
1: Set the RETECCFAILRESTRSTF bit. - Bit 18 RETECCFAILCRCRSTF: RETRAM ECC failure reset flag during the CRC computation phase
Set by software. Indicates that a reset due to an ECC failure on RETRAM during CRC computation phase occurred.
0: No effect
1: Set the RETECCFAILCRCRSTF bit. - Bit 17 RETCRCERRRSTF: RETRAM CRC error reset flag
Set by software. Indicates that a reset due to a CRC error on RETRAM content occurred.
0: No effect
1: Set the RETCRCERRRSTF bit. - Bits 16:15 Reserved, must be kept at reset value.
- Bit 14 C2RSTF: CPU2 reset flag
Set by software. Indicates that a CPU2 reset occurred.
0: No effect
1: Set the C2RSTF bit. - Bits 13:12 Reserved, must be kept at reset value.
- Bit 11 IWDG4SYSRSTF: IWDG4 system reset flag
Set by software. Indicates that a system reset occurred due to an IWDG4 timeout.
0: No effect
1: Set the IWDG4SYSRSTF bit. - Bit 10 IWDG3SYSRSTF: IWDG3 system reset flag
Set by software. Indicates that a system reset occurred due to an IWDG3 timeout.
0: No effect
1: Set the IWDG3SYSRSTF bit. - Bit 9 IWDG2SYSRSTF: IWDG2 system reset flag
Set by software. Indicates that a system reset occurred due to an IWDG2 timeout.
0: No effect
1: Set the IWDG2SYSRSTF bit. - Bit 8 IWDG1SYSRSTF: IWDG1 system reset flag
Set by software. Indicates that a system reset occurred due to an IWDG1 timeout.
0: No effect
1: Set the IWDG1SYSRSTF bit. - Bit 7 SYSC2RSTF: CPU2 system reset flag
Set by software. Indicates that a system reset generated by the CPU2 occurred.
0: No effect
1: Set the SYSC2RSTF bit. - Bit 6 SYSC1RSTF: CPU1 system reset flag
Set by software. Indicates that a system reset generated by the CPU1 occurred.
0: No effect
1: Set the SYSC1RSTF bit. - Bit 5 Reserved, must be kept at reset value.
- Bit 4 VCORERSTF: VDDCORE reset flag
Set by software. Indicates that a reset occurred because VDDCORE is lower than the expected value.
0: No effect
1: Set the VCORERSTF bit. - Bit 3 HCSSRSTF: HSE CSS reset flag
Set by software. Indicates that a reset occurred due to a failure detection on HSE.
0: No effect
1: Set the HCSSRSTF bit. - Bit 2 PADRSTF: NRST reset flag
Set by software. Indicates that a pad reset occurred.
0: No effect
1: Set the PADRSTF bit. - Bit 1 BORRSTF: BOR reset flag
Set by software. Indicates that a BOR reset occurred.
0: No effect
1: Set the BORRSTF bit. - Bit 0 PORRSTF: POR/PDR reset flag
Set by software. Indicates that a POR/PDR reset occurred.
0: No effect
1: Set the PORRSTF bit.
20.8.24 RCC CPU2 boot reset status clear register (RCC_C2BOOTRSTSCLRR)
Address offset: 0x428
Reset value: 0x0000 0000
This register is used by the CPU2 to check the boot reset source. This register is updated by the CPU2 wake-up firmware after any reset source. Writing 0 to this register has no effect. Writing 1 clears the corresponding bits (see Section 20.3.13 for details). The register is located in the VDDCORE domain. Write accesses are defined according to the RCC local resource number 71 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | D2STB YRSTF | Res. | STBYC 2RSTF | Res. | RETEC CFAILR ESTRSTF | RETEC CFAILC RCRSTF | RETCR CERR RSTF | Res. |
| rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | C2RSTF | Res. | Res. | IWDG4 SYSRSTF | IWDG3 SYSRSTF | IWDG2 SYSRSTF | IWDG1 SYSRSTF | SYSC2 RSTF | SYSC1 RSTF | Res. | VCORERSTF | HCSSRSTF | PADRSTF | BORRSTF | PORRSTF |
| rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 |
Bits 31:24 Reserved, must be kept at reset value.
- Bit 23 D2STBYRSTF: D2 DStandby reset flag
Cleared by software. Indicates that the D2 domain has been in DStandby mode.
0: No effect
1: Clear the D2STBYRSTF bit. - Bit 22 Reserved, must be kept at reset value.
- Bit 21 STBYC2RSTF: CPU2 system Standby reset flag
Cleared by software. Indicates that the system has been in Standby mode for CPU2.
0: No effect
1: Clear the STBYC2RSTF bit. - Bit 20 Reserved, must be kept at reset value.
- Bit 19 RETECCFAILRESTRSTF: RETRAM ECC failure reset flag during system restoration phase
Cleared by software. Indicates that a reset due to an ECC failure on RETRAM during the system restoration phase occurred.
0: No effect
1: Clear the RETECCFAILRESTRSTF bit. - Bit 18 RETECCFAILCRCRSTF: RETRAM ECC failure reset flag during the CRC computation phase
Cleared by software. Indicates that a reset due to an ECC failure on RETRAM during CRC computation phase occurred.
0: No effect
1: Clear the RETECCFAILCRCRSTF bit. - Bit 17 RETCRCERRRSTF: RETRAM CRC error reset flag
Cleared by software. Indicates that a reset due to a CRC error on RETRAM content occurred.
0: No effect
1: Clear the RETCRCERRRSTF bit. - Bits 16:15 Reserved, must be kept at reset value.
- Bit 14 C2RSTF: CPU2 reset flag
Cleared by software. Indicates that a CPU2 reset occurred.
0: No effect
1: Clear the C2RSTF bit. - Bits 13:12 Reserved, must be kept at reset value.
- Bit 11 IWDG4SYSRSTF: IWDG4 reset flag
Cleared by software. Indicates that a system reset occurred due to an IWDG4 timeout.
0: No effect
1: Clear the IWDG4SYSRSTF bit. - Bit 10 IWDG3SYSRSTF: IWDG3 reset flag
Cleared by software. Indicates that a system reset occurred due to an IWDG3 timeout.
0: No effect
1: Clear the IWDG3SYSRSTF bit. - Bit 9 IWDG2SYSRSTF: IWDG2 reset flag
Cleared by software. Indicates that a system reset occurred due to an IWDG2 timeout.
0: No effect
1: Clear the IWDG2SYSRSTF bit.
- Bit 8 IWDG1SYSRSTF: IWDG1 system reset flag
Cleared by software. Indicates that a system reset occurred due to an IWDG1 timeout.
0: No effect
1: Clear the IWDG1SYSRSTF bit. - Bit 7 SYSC2RSTF: CPU2 system reset flag
Cleared by software. Indicates that a system reset generated by the CPU2 occurred.
0: No effect
1: Clear the SYSC2RSTF bit. - Bit 6 SYSC1RSTF: CPU1 system reset flag
Cleared by software. Indicates that a system reset generated by the CPU1 occurred.
0: No effect
1: Clear the SYSC1RSTF bit. - Bit 5 Reserved, must be kept at reset value.
- Bit 4 VCORERSTF: \(V_{DDCORE}\) reset flag
Cleared by software. Indicates that a reset occurred because \(V_{DDCORE}\) is lower than the expected value.
0: No effect
1: Clear the VCORERSTF bit. - Bit 3 HCSRSTF: HSE CSS reset flag
Cleared by software. Indicates that a reset occurred due to a failure detection on HSE.
0: No effect
1: Clear the HCSRSTF bit. - Bit 2 PADRSTF: NRST reset flag
Cleared by software. Indicates that a pad reset occurred.
0: No effect
1: Clear the PADRSTF bit. - Bit 1 BORRSTF: BOR reset flag
Cleared by software. Indicates that a BOR reset occurred.
0: No effect
1: Clear the BORRSTF bit. - Bit 0 PORRSTF: POR/PDR reset flag
Cleared by software. Indicates that a POR/PDR reset occurred.
0: No effect
1: Clear the PORRSTF bit.
20.8.25 RCC CPU1 stop request set register (RCC_C1SREQSETR)
Address offset: 0x42C
Reset value: 0x0000 0000
Writing 0 has no effect. Reading returns the values of the bits. Writing 1 sets the corresponding bit to 1. Write accesses are defined according to the RCC local resource number 70 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ESLPR EQ |
| rs | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | STPRE Q_P0 |
| rs |
Bits 31:17 Reserved, must be kept at reset value.
Bit 16 ESLPREQ: Enhanced CSleep request for CPU1 subsystem
Set by software. Allows the entry in enhanced CSleep for CPU1 sub-system, when the complete CPU1 is in WFI.
0: Writing 0 has no effect. Reading 0 means that enhanced CSleep for CPU1 subsystem is not requested.
1: Writing 1 sets the ESLPREQ bit. Reading 1 means that enhanced CSleep for CPU1 subsystem is requested.
Bits 15:1 Reserved, must be kept at reset value.
Bit 0 STPREQ_P0: Stop request for CPU1 processor
Set by software. Indicates if the CPU1 processor allows the entry in Stop mode for CPU1 subsystem, when the CPU1 is in WFI.
0: Writing 0 has no effect. Reading 0 means that the CPU1 processor does not allow the CPU1 subsystem to go to CStop.
1: Writing 1 sets the STPREQ_P0 bit. Reading 1 means that the CPU1 processor allows the CPU1 subsystem to go to CStop.
20.8.26 RCC CPU1 stop request clear register (RCC_C1SREQCLRR)
Address offset: 0x430
Reset value: 0x0000 0000
Writing 0 has no effect. Reading returns the effective values of the bits. Writing 1 clears the corresponding bit to 0. Write accesses are defined according to the RCC local resource number 70 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ESLPR EQ |
| rc_w1 | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | STPRE Q_P0 |
| rc_w1 |
Bits 31:17 Reserved, must be kept at reset value.
Bit 16 ESLPREQ: Enhanced CSleep request for CPU1 subsystem
Cleared by software. Allows the entry in enhanced CSleep for CPU1 subsystem, when the complete CPU1 is in WFI.
0: Writing 0 has no effect. Reading 0 means that enhanced CSleep for CPU1 subsystem is not requested.
1: Writing 1 clears the ESLPREQ bit. Reading 1 means that enhanced CSleep for the CPU1 subsystem is requested.
Bits 15:1 Reserved, must be kept at reset value.
Bit 0 STPREQ_P0: Stop request for CPU1 processor
Cleared by software. Indicates if the CPU1 processor allows the entry in Stop mode for CPU1 subsystem, when the CPU1 is in WFI.
0: Writing 0 has no effect. Reading 0 means that the CPU1 processor does not allow the CPU1 subsystem to go to CStop.
1: Writing 1 clears the STPREQ_P0 bit. Reading 1 means that the CPU1 processor allows the CPU1 subsystem to go to CStop.
20.8.27 RCC CPU boot control register (RCC_CPUBOOTCR)
Address offset: 0x434
Reset value: 0x0000 0000
The register is used to control the HOLD_BOOT state of the CPUs after reset (see HOLD_BOOT CPUx state for details). Write accesses are defined according to the
RCC local resource number 67 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BOOT_CPU1 | BOOT_CPU2 |
| rw | rw |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 BOOT_CPU1: CPU1 boot
- Set and cleared by software to set the CPU1 in HOLD_BOOT after a reset of the CPU1.
- If the CPU1 was in HOLD_BOOT, it causes the CPU1 to boot.
- 0: The CPU1 is set in HOLD_BOOT when the next CPU1 reset occurs.
- 1: The CPU1 is not in HOLD_BOOT mode when the next CPU1 reset occurs.
Bit 0 BOOT_CPU2: CPU2 to boot
- Set and cleared by software to set the CPU2 in HOLD_BOOT after a reset of the CPU2 core.
- If the CPU2 was in HOLD_BOOT, it causes the CPU2 to boot.
- 0: The CPU2 is set in HOLD_BOOT when the next CPU2 core reset occurs.
- 1: The CPU2 is not in HOLD_BOOT mode when the next CPU2 core reset occurs.
20.8.28 RCC standby boot control register (RCC_STBYBOOTCR)
Address offset: 0x438
Reset value: 0x0000 0000
This register is used to control the boot sequence when the system exits Standby (see Section 20.3.13 for details). This register is reset when a system reset occurs (app_rstn), but not when the circuit exits from Standby. Wait states are inserted in case of successive write accesses to this register. The number of wait states can be up to 7 cycles of the RCC clock. Write accesses are defined according to the RCC local resource number 67 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | RET_C RCER R_RST EN | Res. | Res. | CPU1_ HW_B EN | CPU2_ HW_B EN | Res. | COLD_ CPU2 | CPU_B EN_SE L | Res. |
| rw | r | r | rwo | rw |
Bits 31:9 Reserved, must be kept at reset value.
Bit 8 RET_CRCERR_RSTEN: RETRAM CRC error system reset enable
Set and cleared by software to select whether a RETRAM CRC error triggers a system reset or not.
0: RETRAM CRC error does not trigger a system reset (default after reset).
1: RETRAM CRC error triggers a system reset.
Bits 7:6 Reserved, must be kept at reset value.
Bit 5 CPU1_HW_BEN: CPU1 hardware boot enable
Set and cleared by hardware to indicate whether the CPU1 is enabled to restart after the system exits Standby.
0: CPU1 remains in HOLD_BOOT state.
1: CPU1 is allowed to restart.
Bit 4 CPU2_HW_BEN: CPU2 hardware boot enable
Set and cleared by hardware to indicate whether the CPU2 is enabled to restart after the system exits Standby.
0: CPU2 remains in HOLD_BOOT state.
1: CPU2 is allowed to restart.
Bit 3 Reserved, must be kept at reset value.
Bit 2 COLD_CPU2: CPU2 cold boot
Set by software to indicate that CPU2 started first after POR. This bit can be written only one time after system reset.
0: CPU1 is the cold boot CPU.
1: CPU2 is the cold boot CPU.
Bit 1 CPU_BEN_SEL: CPU boot select
Set and cleared by software to select the CPU to restart first after the system exits Standby, in wake-up event mode in case of simultaneous CPU events.
0: CPU1 restarts first (default after reset).
1: CPU2 restarts first.
Bit 0 Reserved, must be kept at reset value.
20.8.29 RCC legacy boot control register (RCC_LEGBOOTCR)
Address offset: 0x43C
Reset value: 0x0000 0000
This register is used to control the first CPUx to boot (see Section 20.3.13 for details). This register is reset when a system reset (app_rstn) occurs but not when the circuit exits Standby. Wait states are inserted in case of successive write accesses to this register. The number of wait states can be up to 7 cycles of the RCC clock. Write accesses are defined according to the RCC local resource number 67 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LEGAC Y_BEN |
| rwo |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 LEGACY_BEN: Enable of the legacy selection mode to choose the first CPU to boot
Set by software to indicate that the CPU1 boots first. This bit can be written only one time after system reset.
0: The legacy selection mode is disabled (default after reset).
1: The legacy selection mode is enabled.
20.8.30 RCC backup domain control register (RCC_BDCR)
Address offset: 0x440
Reset value: 0x0000 0020
This register is used to control LSE functions. Wait states are inserted in case of successive write accesses to this register. The number of wait states may be up to 7 cycles of the RCC clock. After a system reset, this register is write-protected. In order to modify this register, DBP in PWR_BDCR must be set to 1. This register is only reset after a backup domain reset (vsw_rstn, see Section 20.3.6). Any other internal or external reset does not have any effect on these bits. This register is located in the VSW domain.
Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ST VSWR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RTCCK | ||||
| EN | Res. | Res. | RTCSRC[1:0] | ||||||||||||
| rw | rw | rwo | rwo | ||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | LSECS | LSEGF | LSECS | LSERD | LSEBY | ||||
| SON | LSEDRV[1:0] | LSEDI | |||||||||||||
| SD | ON | GBYP | Y | P | LSEON | ||||||||||
| r | rw | rw | rw | rw | rw | r | rw | rw | |||||||
| Bit 31 | VSWRST | : VSW domain software reset | |||||||||||||
| Bit 20 | RTCCKEN | : RTC clock enable | |||||||||||||
| Bits 17:16 | RTCSRC[1:0] | : RTC clock source selection | |||||||||||||
| (see | CSS on LSE | for details). |
Bit 31 VSWRST: VSW domain software reset
Set and cleared by software.
0: Reset not activated (default after backup domain reset)
1: Resets the entire VSW domain.
Bits 30:21 Reserved, must be kept at reset value.
Bit 20 RTCCKEN: RTC clock enable
Set and cleared by software.
0: rtc_ck clock disabled (default after backup domain reset)
1: rtc_ck clock enabled
Bits 19:18 Reserved, must be kept at reset value.
Bits 17:16 RTCSRC[1:0]: RTC clock source selection
Set by software to select the clock source for the RTC. This field can be written only one time after backup domain reset. When an LSE failure occurs, this field is cleared to 0, and the software can write it again once. This field must be written before LSECSSON is enabled (see CSS on LSE for details).
0x0: No clock (default after backup domain reset)
0x1: LSE clock used as RTC clock
0x2: LSI clock used as RTC clock
0x3: HSE clock divided by RTCDIV value used as RTC clock
Bits 15:9 Reserved, must be kept at reset value.
Bit 8 LSECSSD: LSE CSS failure detection
Set by hardware to indicate when a failure has been detected by the CSS on the external 32 kHz oscillator.
0: No failure detected on 32 kHz oscillator (default after backup domain reset)
1: Failure detected on 32 kHz oscillator
Bit 7 LSEGFON: LSE clock glitch filter enable
Set and cleared by software to enable the LSE clock glitch filter. This bit can be written only when LSE is disabled (LSEON = 0).
0: LSE clock glitch filter disabled
1: LSE clock glitch filter enabled
Bit 6 LSECSSON: LSE CSS enable
Set by software to enable the CSS on 32 kHz oscillator (see LSE oscillator for details on the activation and deactivation sequences). Once this bit is set, it cannot be cleared, except after a LSE failure detection (LSECSSD = 1).
0: CSS on 32 kHz oscillator off (default after backup domain reset)
1: CSS on 32 kHz oscillator on
Bits 5:4 LSEDRV[1:0]: LSE oscillator driving capability
Set by software to select the driving capability of the LSE oscillator.
0x0: Lowest drive
0x1: Medium-high drive
0x2: Medium-low drive (default after backup domain reset)
0x3: Highest drive
Caution: The low drive to high drive programming values are not in increasing order of LSEDRV[1:0].
Bit 3 LSEDIGBYP: LSE digital bypass
Set and cleared by software to select the analog or digital bypass mode
0: LSE in analog bypass mode (default after backup domain reset)
1: LSE in digital bypass mode
Bit 2 LSERDY: LSE oscillator ready
Set and cleared by hardware to indicate when the LSE is stable. This bit needs 6 cycles of lse_ck to fall down after LSEON has been cleared to 0.
0: LSE oscillator not ready (default after backup domain reset)
1: LSE oscillator ready
Bit 1 LSEBYP: LSE oscillator bypass
Set and cleared by software to bypass oscillator in debug mode. This bit must not be written when the LSE is enabled (LSEON = 1) (see LSE oscillator for details).
0: LSE oscillator not bypassed (default after backup domain reset)
1: LSE oscillator bypassed
Bit 0 LSEON: LSE oscillator enable
Set and cleared by software.
0: LSE oscillator off (default after backup domain reset)
1: LSE oscillator on
20.8.31 RCC reset duration control register (RCC_RDCR)
Address offset: 0x44C
Reset value: 0x0600 0000
This register is used to control the minimum NRST active duration. Wait states are inserted in case of successive write accesses to this register. The number of wait states may be up to 7 cycles of the RCC clock. This register is reset by por_rstn reset, and it is located in the VDD domain. Write accesses are defined according to the RCC local resource number 68 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | EADLY[3:0] | Res. | Res. | Res. | MRD[4:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:24 EADLY[3:0]: External access delays
Set and cleared by software. Time to wait before boot ROM performs any external access (for peripherals like UART, USB, OCTOSPI, FMC, or SDMMC).
0x0: No extra delay added by boot ROM
0x1: 100 microseconds
0x2: 200 microseconds
0x3: 500 microseconds
0x4: 1 milliseconds
0x5: 2 milliseconds
0x6: 5 milliseconds (default after reset)
0x7: 10 milliseconds
0x8: 20 milliseconds
0x9: 50 milliseconds
0xA: 100 milliseconds
0xB: 200 milliseconds
0xC: 500 milliseconds
0xD: 1 second
0xE: 2 seconds
0xF: 5 seconds
Bits 23:21 Reserved, must be kept at reset value.
Bits 20:16 MRD[4:0]: Minimum reset duration
Set and cleared by software. This field defines the minimum guaranteed duration of the NRST low pulse. The LSI oscillator is automatically enabled when needed by the RPCTL.
0x0: NRST low-pulse duration is guaranteed by the pulse stretcher of the pin. The RPCTL is bypassed (default after reset).
0x1: The guaranteed NRST low-pulse duration is about 1 ms (1 x 32 lsi_ck cycles).
0x2: The guaranteed NRST low-pulse duration is about 2 ms (2 x 32 lsi_ck cycles).
...
0x1F: The guaranteed NRST low-pulse duration is about 31 ms (31 x 32 lsi_ck cycles).
Bits 15:0 Reserved, must be kept at reset value.
20.8.32 RCC C1MS reset delay control register (RCC_C1MSRDCR)
Address offset: 0x450
Reset value: 0x0000 0000
This register is used to control the minimum NRSTC1MS active duration after any D1 Standby exit. Write accesses are defined according to the RCC local resource number 70 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | C1MSRST | Res. | Res. | Res. | C1MSRD[4:0] | ||||
| rs | rw | rw | rw | rw | rw | ||||||||||
Bits 31:9 Reserved, must be kept at reset value.
Bit 8 C1MSRST: Trigger low-level pulse on NRSTC1MS pin
Set by software and cleared by hardware.
0: Reading 0 means that the NRSTC1MS level is high (inactive) (default after reset).
1: Writing 1 triggers a low-level pulse on NRSTC1MS according to C1MSRD value.
Reading 1 means that the NRSTC1MS level is low (active).
Bits 7:5 Reserved, must be kept at reset value.
Bits 4:0 C1MSRD[4:0]: Minimum Standby reset duration
Set and cleared by software. This field defines the minimum duration of the low-level pulse on NRSTC1MS when C1MSRST is high. The LSI is automatically enabled after any D1 DStandby exit.
0x0: 'No pulse on NRSTC1MS (default after reset)
0x1: The guaranteed NRSTC1MS low-pulse duration is about 1 ms (1 x 32 lsi_ck cycles).
0x2: The guaranteed NRSTC1MS low-pulse duration is about 2 ms (2 x 32 lsi_ck cycles).
...
0x1F: The guaranteed NRSTC1MS low-pulse duration is about 31 ms (31 x 32 lsi_ck cycles).
20.8.33 RCC PWR_LP delay control register (RCC_PWRLPDLYCR)
Address offset: 0x454
Reset value: 0x0000 0000
This register is used to program the delay between the moment where the system exits Stop mode, and the moment where it is allowed to enable the PLLs and to provide a clock to bridges and CPUx. Write access to this register is not allowed during the clock restore sequence (see Clock restore sequence for details). Write accesses are defined according to the RCC local resource number 67 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | CPU2T MPSKP | Res. | Res. | PWRLP_DLY[21:16] | |||||
| rw | rw | rw | rw | rw | rw | rw | |||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PWRLP_DLY[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:25 Reserved, must be kept at reset value.
Bit 24 CPU2T MPSKP: Skip of PWR_LP delay for CPU2
Set and cleared by software. This bit is used by the clock restore sequence to skip the PWR_LP delay for the CPU2 clock restore when the system exits Stop mode.
0: The CPU2 clock restore sequence waits for the PWR_LP delay before activating power consuming elements (default after reset).
1: The CPU2 clock restore sequence runs the PWR_LP delay, but did not wait for the delay to elapse before activating power consuming elements
Bits 23:22 Reserved, must be kept at reset value.
Bits 21:0 PWRLP_DLY[21:0]: PWR_LP delay value
Set and cleared by software. This register contains the delay value to be observed before activating the PLL and interconnect clocks, after one of the system Stop modes. The delay is counted with the HSI, or HSI/2 clock.
When LSMCU = 0 in RCC_LSMCUDIVR, the delay value is given by the formula:
PWRLP_DLY[21:0]/FHSI or PWRLP_DLY[21:0]/FHSI/2
0x0: PWR_LP delay bypassed (default after reset)
0x1: PWR_LP delay of one 64 MHz HSI period (LSMCU = 0) or two HSI periods (LSMCU = 1) is observed.
...
0x3FFFFF: PWR_LP delay of about 65.5 ms (LSMCU = 0) or 131 ms (LSMCU = 1) is observed.
20.8.34 RCC CPU1 clock source interrupt enable set register (RCC_C1CIESETR)
Address offset: 0x458
Reset value: 0x0000 0000
This register is used by the CPU1 to control the interrupt source enable (see Section 20.5 for details). Write accesses are defined according to the RCC local resource number 70 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WKUPI E | Res. | Res. | Res. | LSECS SIE |
| rw | rw | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | PLL8R DYIE | PLL7R DYIE | PLL6R DYIE | PLL5R DYIE | PLL4R DYIE | Res. | PLL2R DYIE | PLL1R DYIE | MSIRD YIE | HSERD YIE | HSIRD YIE | LSERD YIE | LSIRD YIE |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:21 Reserved, must be kept at reset value.
Bit 20 WKUPIE: CPU1 wake-up from CStop interrupt enable
Set and cleared by software to enable/disable the generation of the interrupt used to wake up the CPU1 from CStop.
0: Wake-up interrupt disabled (default after reset)
1: Wake-up interrupt enabled
Bits 19:17 Reserved, must be kept at reset value.
Bit 16 LSECSSIE: LSE clock security system interrupt enable
Set and cleared by software to enable/disable interrupt caused by the CSS on the external 32 kHz oscillator.
0: LSE CSS interrupt disabled (default after reset)
1: LSE CSS interrupt enabled
Bits 15:13 Reserved, must be kept at reset value.
Bit 12 PLL8RDYIE: PLL8 ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by PLL8 lock.
0: PLL8 lock interrupt disabled (default after reset)
1: PLL8 lock interrupt enabled
Bit 11 PLL7RDYIE: PLL7 ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by PLL7 lock.
0: PLL7 lock interrupt disabled (default after reset)
1: PLL7 lock interrupt enabled
Bit 10 PLL6RDYIE: PLL6 ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by PLL6 lock.
0: PLL6 lock interrupt disabled (default after reset)
1: PLL6 lock interrupt enabled
Bit 9 PLL5RDYIE: PLL5 ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by PLL5 lock.
0: PLL5 lock interrupt disabled (default after reset)
1: PLL5 lock interrupt enabled
- Bit 8 PLL4RDYIE: PLL4 ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by PLL4 lock.
0: PLL4 lock interrupt disabled (default after reset)
1: PLL4 lock interrupt enabled - Bit 7 Reserved, must be kept at reset value.
- Bit 6 PLL2RDYIE: PLL2 ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by PLL2 lock.
0: PLL2 lock interrupt disabled (default after reset)
1: PLL2 lock interrupt enabled - Bit 5 PLL1RDYIE: PLL1 ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by PLL1 lock.
0: PLL1 lock interrupt disabled (default after reset)
1: PLL1 lock interrupt enabled - Bit 4 MSIRDYIE: MSI ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by the MSI oscillator stabilization.
0: MSI ready interrupt disabled (default after reset)
1: MSI ready interrupt enabled - Bit 3 HSERDYIE: HSE ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by the HSE oscillator stabilization.
0: HSE ready interrupt disabled (default after reset)
1: HSE ready interrupt enabled - Bit 2 HSIRDYIE: HSI ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by the HSI oscillator stabilization.
0: HSI ready interrupt disabled (default after reset)
1: HSI ready interrupt enabled - Bit 1 LSERDYIE: LSE ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by the LSE oscillator stabilization.
0: LSE ready interrupt disabled (default after reset)
1: LSE ready interrupt enabled - Bit 0 LSIRDYIE: LSI ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by the LSI oscillator stabilization.
0: LSI ready interrupt disabled (default after reset)
1: LSI ready interrupt enabled
20.8.35 RCC CPU1 clock source interrupt flag clear register (RCC_C1CIFCLRR)
Address offset: 0x45C
Reset value: 0x0000 0004
This register is used by the CPU1 to read and clear the interrupt flags. Writing 0 has no effect. Writing 1 clears the corresponding flag (see Section 20.5 for details). Write accesses
are defined according to the RCC local resource number 70 configuration (see Table 161 for details). Any read access is allowed.
| Bit 0 | GDPEN | RM0506 |
|---|---|---|
| 31 30 29 | 28 | 27 26 25 24 23 22 21 20 19 18 17 16 |
| Res. Res. Res. | Res. | Res. Res. Res. Res. Res. Res. Res. WKUP |
| F Res. Res. Res. LSECS SF rc_w1 rc_w1 | ||
| 15 14 13 | 12 | 11 10 9 8 7 6 5 4 3 2 1 0 |
| Res. Res. Res. | PLL8R | PLL7R PLL6R PLL5R PLL4R PLL1R MSIRD HSERD HSIRD LSERD LSIRD |
| DYF Res. PLL2R | ||
| DYF | DYF DYF DYF DYF DYF YF YF YF YF YF | |
| rc_w1 | rc_w1 rc_w1 rc_w1 rc_w1 rc_w1 rc_w1 rc_w1 rc_w1 rc_w1 rc_w1 rc_w1 | |
| Bit 20 | WKUPF | : CPU1 wake-up from CStop interrupt flag |
| Bit 16 | LSECSSF | : LSE CSS interrupt flag |
| Bit 12 | PLL8RDYF | : PLL8 ready interrupt flag |
| Bit 11 | PLL7RDYF | : PLL7 ready interrupt flag |
| Bit 10 | PLL6RDYF | : PLL6 ready interrupt flag |
| Bit 9 | PLL5RDYF | : PLL5 ready interrupt flag |
| Bit 8 | PLL4RDYF | : PLL4 ready interrupt flag |
Bits 31:21 Reserved, must be kept at reset value.
Bit 20 WKUPF: CPU1 wake-up from CStop interrupt flag
Reset by software by writing this flag to 1. Set by hardware when CPU1 needs to exit CStop.
0: No wake-up interrupt pending (default after reset)
1: Wake-up interrupt pending. Writing 1 clears this flag.
Bits 19:17 Reserved, must be kept at reset value.
Bit 16 LSECSSF: LSE CSS interrupt flag
Reset by software by writing this flag to 1. Set by hardware when a failure is detected on the external 32 kHz oscillator.
0: No failure detected on the external 32 kHz oscillator (default after reset)
1: A failure is detected on the external 32 kHz oscillator. Writing 1 clears this flag.
Bits 15:13 Reserved, must be kept at reset value.
Bit 12 PLL8RDYF: PLL8 ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when the PLL8 locks.
0: No clock ready interrupt caused by PLL8 lock (default after reset)
1: Clock ready interrupt caused by PLL8 lock. Writing 1 clears this flag.
Bit 11 PLL7RDYF: PLL7 ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when the PLL7 locks.
0: No clock ready interrupt caused by PLL7 lock (default after reset)
1: Clock ready interrupt caused by PLL7 lock. Writing 1 clears this flag.
Bit 10 PLL6RDYF: PLL6 ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when the PLL6 locks.
0: No clock ready interrupt caused by PLL6 lock (default after reset)
1: Clock ready interrupt caused by PLL6 lock. Writing 1 clears this flag.
Bit 9 PLL5RDYF: PLL5 ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when the PLL5 locks.
0: No clock ready interrupt caused by PLL5 lock (default after reset)
1: Clock ready interrupt caused by PLL5 lock. Writing 1 clears this flag.
Bit 8 PLL4RDYF: PLL4 ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when the PLL4 locks.
0: No clock ready interrupt caused by PLL4 lock (default after reset)
1: Clock ready interrupt caused by PLL4 lock. Writing 1 clears this flag.
Bit 7 Reserved, must be kept at reset value.
Bit 6 PLL2RDYF: PLL2 ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when the PLL2 locks.
0: No clock ready interrupt caused by PLL2 lock (default after reset)
1: Clock ready interrupt caused by PLL2 lock. Writing 1 clears this flag.
Bit 5 PLL1RDYF: PLL1 ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when the PLL1 locks.
0: No clock ready interrupt caused by PLL1 lock (default after reset)
1: Clock ready interrupt caused by PLL1 lock. Writing 1 clears this flag.
Bit 4 MSIRDYF: MSI ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when MSI clock becomes stable.
0: No clock ready interrupt caused by the MSI (default after reset)
1: Clock ready interrupt caused by the MSI. Writing 1 clears this flag.
Bit 3 HSERDYF: HSE ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when HSE clock becomes stable.
0: No clock ready interrupt caused by the HSE (default after reset)
1: Clock ready interrupt caused by the HSE. Writing 1 clears this flag.
Bit 2 HSIRDYF: HSI ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when HSI clock becomes stable.
0: No clock ready interrupt caused by the HSI (default after reset)
1: Clock ready interrupt caused by the HSI. Writing 1 clears this flag.
Bit 1 LSERDYF: LSE ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when LSE clock becomes stable.
0: No clock ready interrupt caused by the LSE (default after reset)
1: Clock ready interrupt caused by the LSE. Writing 1 clears this flag.
Bit 0 LSIRDYF: LSI ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when LSI clock becomes stable.
0: No clock ready interrupt caused by the LSI (default after reset)
1: Clock ready interrupt caused by the LSI. Writing 1 clears this flag.
20.8.36 RCC CPU2 clock source interrupt enable set register (RCC_C2CIESETR)
Address offset: 0x460
Reset value: 0x0000 0000
This register is used by the CPU2 to control the interrupt source enable (see Section 20.5 for more details). Write accesses are defined according to the RCC local resource number 71 configuration (see Table 161 for details). Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Bit 0 | LSIRDYF | : LSI ready interrupt flag | |||||||||||||
| 71 configuration (see | Table 161 | for details). Any read access is allowed. | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WKUPI | ||||
| E | Res. | Res. | Res. | LSECS SIE | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | rw 4 | 3 | 2 | 1 | rw 0 |
| Res. | Res. | Res. | PLL8R | PLL7R | PLL6R | PLL5R | PLL4R | PLL1R | MSIRD | HSERD | HSIRD | LSERD | LSIRD | ||
| DYIE | Res. | PLL2R | |||||||||||||
| DYIE | DYIE | DYIE | DYIE | DYIE | DYIE | YIE | YIE | YIE | YIE | YIE | |||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:21 Reserved, must be kept at reset value.
Bit 20 WKUPIE: CPU2 wake-up from CStop Interrupt Enable
Set and cleared by software to enable/disable the generation of the interrupt used to wake up the CPU2 from CStop.
0: Wake-up interrupt disabled (default after reset)
1: Wake-up interrupt enabled
Bits 19:17 Reserved, must be kept at reset value.
Bit 16 LSECSSIE: LSE CSS interrupt enable
Set and cleared by software to enable/disable interrupt caused by the CSS on external 32 kHz oscillator.
0: LSE CSS interrupt disabled (default after reset)
1: LSE CSS interrupt enabled
Bits 15:13 Reserved, must be kept at reset value.
Bit 12 PLL8RDYIE: PLL8 ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by PLL8 lock.
0: PLL8 lock interrupt disabled (default after reset)
1: PLL8 lock interrupt enabled
Bit 11 PLL7RDYIE: PLL7 ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by PLL7 lock.
0: PLL7 lock interrupt disabled (default after reset)
1: PLL7 lock interrupt enabled
Bit 10 PLL6RDYIE: PLL6 ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by PLL6 lock.
0: PLL6 lock interrupt disabled (default after reset)
1: PLL6 lock interrupt enabled
Bit 9 PLL5RDYIE: PLL5 ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by PLL5 lock.
0: PLL5 lock interrupt disabled (default after reset)
1: PLL5 lock interrupt enabled
Bit 8 PLL4RDYIE: PLL4 ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by PLL4 lock.
0: PLL4 lock interrupt disabled (default after reset)
1: PLL4 lock interrupt enabled
Bit 7 Reserved, must be kept at reset value.
Bit 6 PLL2RDYIE: PLL2 ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by PLL2 lock.
0: PLL2 lock interrupt disabled (default after reset)
1: PLL2 lock interrupt enabled
Bit 5 PLL1RDYIE: PLL1 ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by PLL1 lock.
0: PLL1 lock interrupt disabled (default after reset)
1: PLL1 lock interrupt enabled
- Bit 4 MSIRDYIE: MSI ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by MSI stabilization.
0: MSI ready interrupt disabled (default after reset)
1: MSI ready interrupt enabled - Bit 3 HSERDYIE: HSE ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by HSE stabilization.
0: HSE ready interrupt disabled (default after reset)
1: HSE ready interrupt enabled - Bit 2 HSIRDYIE: HSI ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by HSI stabilization.
0: HSI ready interrupt disabled (default after reset)
1: HSI ready interrupt enabled - Bit 1 LSERDYIE: LSE ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by LSE stabilization.
0: LSE ready interrupt disabled (default after reset)
1: LSE ready interrupt enabled - Bit 0 LSIRDYIE: LSI ready interrupt enable
Set and cleared by software to enable/disable interrupt caused by LSI stabilization.
0: LSI ready interrupt disabled (default after reset)
1: LSI ready interrupt enabled
20.8.37 RCC CPU2 clock source interrupt flag clear register (RCC_C2CIFCLRR)
Address offset: 0x464
Reset value: 0x0000 0004
This register is used by the CPU2 to read and clear the interrupt flags. Writing 0 has no effect. Writing 1 clears the corresponding flag (see Section 20.5 for more details). Write accesses are defined according to the RCC local resource number 71 configuration (see Table 161 for details). Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| (see Table 161 | for details). Any read access is allowed. | ||||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WKUP | ||||
| F | Res. | Res. | Res. | LSECS SF | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | rc_w1 4 | 3 | 2 | 1 | rc_w1 0 |
| Res. | Res. | Res. | PLL8R | PLL7R | PLL6R | PLL5R | PLL4R | PLL1R | MSIRD | HSERD | HSIRD | LSERD | LSIRD | ||
| DYF | Res. | PLL2R | |||||||||||||
| DYF | DYF | DYF | DYF | DYF | DYF | YF | YF | YF | YF | YF | |||||
| rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | ||||
| Bit 20 | WKUPF | : CPU2 wake-up from CStop interrupt flag |
Bits 31:21 Reserved, must be kept at reset value.
- Bit 20 WKUPF: CPU2 wake-up from CStop interrupt flag
Reset by software by writing this flag to 1. Set by hardware when CPU2 needs to exit CStop.
0: No wake-up interrupt pending (default after reset)
1: Wake-up interrupt pending. Writing 1 clears this flag.
Bits 19:17 Reserved, must be kept at reset value.
Bit 16 LSECSSF: LSE clock security system interrupt flag
Reset by software by writing this flag to 1. Set by hardware when a failure is detected on the external 32 kHz oscillator.
0: No failure detected on the external 32 kHz oscillator (default after reset)
1: A failure is detected on the external 32 kHz oscillator. Writing 1 clears this flag.
Bits 15:13 Reserved, must be kept at reset value.
Bit 12 PLL8RDYF: PLL8 ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when the PLL8 locks.
0: No clock ready interrupt caused by PLL8 lock (default after reset)
1: Clock ready interrupt caused by PLL8 lock. Writing 1 clears this flag.
Bit 11 PLL7RDYF: PLL7 ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when the PLL7 locks.
0: No clock ready interrupt caused by PLL7 lock (default after reset)
1: Clock ready interrupt caused by PLL7 lock. Writing 1 clears this flag.
Bit 10 PLL6RDYF: PLL6 ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when the PLL6 locks.
0: No clock ready interrupt caused by PLL6 lock (default after reset)
1: Clock ready interrupt caused by PLL6 lock. Writing 1 clears this flag.
Bit 9 PLL5RDYF: PLL5 ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when the PLL5 locks.
0: No clock ready interrupt caused by PLL5 lock (default after reset)
1: Clock ready interrupt caused by PLL5 lock. Writing 1 clears this flag.
Bit 8 PLL4RDYF: PLL4 ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when the PLL4 locks.
0: No clock ready interrupt caused by PLL4 lock (default after reset)
1: Clock ready interrupt caused by PLL4 lock. Writing 1 clears this flag.
Bit 7 Reserved, must be kept at reset value.
Bit 6 PLL2RDYF: PLL2 ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when the PLL2 locks.
0: No clock ready interrupt caused by PLL2 lock (default after reset)
1: Clock ready interrupt caused by PLL2 lock. Writing 1 clears this flag.
Bit 5 PLL1RDYF: PLL1 ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when the PLL1 locks.
0: No clock ready interrupt caused by PLL1 lock (default after reset)
1: Clock ready interrupt caused by PLL1 lock. Writing 1 clears this flag.
Bit 4 MSIRDYF: MSI ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when MSI clock becomes stable.
0: No clock ready interrupt caused by the MSI (default after reset)
1: Clock ready interrupt caused by the MSI. Writing 1 clears this flag.
Bit 3 HSERDYF: HSE ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when HSE clock becomes stable.
0: No clock ready interrupt caused by the HSE (default after reset)
1: Clock ready interrupt caused by the HSE. Writing 1 clears this flag.
Bit 2 HSIRDYF: HSI ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when HSI clock becomes stable.
0: No clock ready interrupt caused by the HSI (default after reset)
1: Clock ready interrupt caused by the HSI. Writing 1 clears this flag.
Bit 1 LSERDYF: LSE ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when LSE clock becomes stable.
0: No clock ready interrupt caused by the LSE (default after reset)
1: Clock ready interrupt caused by the LSE. Writing 1 clears this flag.
Bit 0 LSIRDYF: LSI ready interrupt flag
Reset by software by writing this flag to 1. Set by hardware when LSI clock becomes stable.
0: No clock ready interrupt caused by the LSI (default after reset)
1: Clock ready interrupt caused by the LSI. Writing 1 clears this flag.
20.8.38 RCC IWDG CPU1 clock freeze set register (RCC_IWDGC1FZSETR)
Address offset: 0x468
Reset value: 0x0000 0000
This register is used by to freeze IWDG1 and IWDG2 clocks. After a system reset, a Standby reset (sys_rstn), or a D1 DStandby reset (vcpu_rstn), the CPU1 can write this register once. Writing 0 has no effect. Reading returns the effective values of the corresponding bits. Writing 1 sets the corresponding bit to 1. Write accesses are defined according to the RCC local resource number 70 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FZ_IWDG2 | FZ_IWDG1 |
| rs | rs |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 FZ_IWDG2: Freeze of IWDG2 clock
Set once by software after a system, Standby, or D1 DStandby reset, to freeze IWDG2 clock.
0: Writing 0 has no effect. Reading 0 means IWDG2 clock is not frozen (default after reset).
1: Writing 1 freezes IWDG2 clock. Reading 1 means that the IWDG2 clock is frozen.
Bit 0 FZ_IWDG1: Freeze of IWDG1 clock
Set once by software after a system, Standby, or D1 DStandby reset, to freeze IWDG1 clock.
0: Writing 0 has no effect. Reading 0 means IWDG1 clock is not frozen (default after reset).
1: Writing 1 freezes IWDG1 clock. Reading 1 means that IWDG1 clock is frozen.
20.8.39 RCC IWDG CPU1 clock freeze clear register (RCC_IWDGC1FZCLRR)
Address offset: 0x46C
Reset value: 0x0000 0000
This register is used to unfreeze IWDG1 and IWDG2 clocks. Writing 0 has no effect. Reading returns the effective values of the corresponding bits. Writing 1 clears the corresponding bit to 0. Write accesses are defined according to the RCC local resource number 70 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FZ_IWDG2 | FZ_IWDG1 |
| rc_w1 | rc_w1 |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 FZ_IWDG2: Unfreeze IWDG2 clock
Cleared by software to unfreeze IWDG2 clock.
0: Writing 0 has no effect. Reading 0 means IWDG2 clock is not frozen (default after reset).
1: Writing 1 unfreezes IWDG2 clock. Reading 1 means that IWDG2 clock is frozen.
Bit 0 FZ_IWDG1: Unfreeze IWDG1 clock
Cleared by software to unfreeze the IWDG1 clock.
0: Writing 0 has no effect. Reading 0 means IWDG1 clock is not frozen (default after reset).
1: Writing 1 unfreezes IWDG1 clock. Reading 1 means that IWDG1 clock is frozen.
20.8.40 RCC IWDG CPU1 configuration set register (RCC_IWDGC1CFGSETR)
Address offset: 0x470
Reset value: 0x0000 0000
This register is used to enable IWDG1 and IWDG2 timeout event reset behavior, and to activate IWDG2 kernel reset. Writing 0 has no effect. Reading returns the effective values of the corresponding bits. Writing 1 sets the corresponding bit to 1. Wait states are inserted in case of successive write accesses to IWDG1_SYSRSTEN and IWDG2_SYSRSTEN.
The number of wait states may be up to 7 cycles of the RCC clock. IWDG1_SYSRSTEN
and IWDG2_SYSRSTEN are reset by app_rstn reset, and are located in VDD domain.
IWDG2_KERRST is reset by sys_rstn reset. Write accesses are defined according to the RCC local resource number 70 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IWDG2_KERRST | Res. | Res. |
| rs | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IWDG2_SYSRSTEN | Res. | IWDG1_SYSRSTEN |
| rs | rs |
Bits 31:19 Reserved, must be kept at reset value.
Bit 18 IWDG2_KERRST: IWDG2 kernel reset
Set by software.
0: Writing 0 has no effect. Reading 0 means that the IWDG2 kernel reset is not active.
1: Writing 1 activates IWDG2 kernel reset Reading 1 means IWDG2 kernel reset is active.
Bits 17:3 Reserved, must be kept at reset value.
Bit 2 IWDG2_SYSRSTEN: Enable of IWDG2 timeout event to reset the application
Set by software.
0: Writing 0 has no effect. Reading 0 means that IWDG2 timeout event cannot trigger an application reset.
1: Writing 1 enables IWDG2 timeout event to reset the application. Reading 1 means that IWDG2 timeout event triggers an application reset.
Bit 1 Reserved, must be kept at reset value.
Bit 0 IWDG1_SYSRSTEN: Enable of IWDG1 timeout event to reset the application
Set by software.
0: Writing 0 has no effect. Reading 0 means that IWDG1 timeout event does not trigger an application reset when CPU1 is not the trusted agent.
1: Writing 1 enables IWDG1 timeout event to reset the application when CPU1 is not the trusted agent. Reading 1 means that IWDG1 timeout event triggers an application reset when CPU1 is not the trusted agent.
20.8.41 RCC IWDG CPU1 configuration clear register (RCC_IWDGC1CFGCLRR)
Address offset: 0x474
Reset value: 0x0000 0000
This register is used to disable IWDG1 and IWDG2 timeout event reset behavior, and to deactivate IWDG2 kernel reset. Writing 0 has no effect. Reading returns the effective values of the corresponding bits. Writing 1 clears the corresponding bit to 0. Wait states are inserted in case of successive write accesses to IWDG1_SYSRSTEN and IWDG2_SYSRSTEN. The number of wait states may be up to 7 cycles of RCC clock. Write accesses are defined according to the RCC local resource number 70 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IWDG2_KERRST | Res. | Res. |
| rc_w1 | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IWDG2_SYSRSTEN | Res. | IWDG1_SYSRSTEN |
| rc_w1 | rc_w1 |
Bits 31:19 Reserved, must be kept at reset value.
Bit 18 IWDG2_KERRST: IWDG2 kernel reset
Set by software.
0: Writing 0 has no effect. Reading 0 means that IWDG2 kernel reset is not active
1: Writing 1 deactivates IWDG2 kernel reset. Reading 1 means IWDG2 kernel reset is active.
Bits 17:3 Reserved, must be kept at reset value.
Bit 2 IWDG2_SYSRSTEN: Clear of IWDG2 timeout event to reset the application
Set by software.
0: Writing 0 has no effect. Reading 0 means that IWDG2 timeout event cannot trigger an application reset.
1: Writing 1 clears IWDG2 timeout event to reset the application. Reading 1 means that IWDG2 timeout event is enabled.
Bit 1 Reserved, must be kept at reset value.
Bit 0 IWDG1_SYSRSTEN: Clear of IWDG1 timeout event to reset the application
Set by software.
0: Writing 0 has no effect. Reading 0 means that IWDG1 timeout event cannot trigger an application reset when CPU1 is not the trusted agent.
1: Writing 1 clears IWDG1 timeout event to reset the application when CPU1 is not the trusted agent. Reading 1 means that IWDG1 timeout event triggers an application reset when CPU1 is not the trusted agent.
20.8.42 RCC IWDG CPU2 clock freeze set register (RCC_IWDGC2FZSETR)
Address offset: 0x478
Reset value: 0x0000 0000
This register is used by to freeze IWDG3 and IWDG4 clocks. After a system reset, or a Standby reset (sys_rstn), the CPU2 can write this register once. Writing 0 has no effect. Reading returns the effective values of the corresponding bits. Writing 1 sets the corresponding bit to 1. Write accesses are defined according to the RCC local resource number 71 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FZ_IW DG4 | FZ_IW DG3 |
| rs | rs |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 FZ_IWDG4: Freeze of IWDG4 clock
Set once by software after a system or Standby reset to freeze IWDG4 clock.
0: Writing 0 has no effect. Reading 0 means IWDG4 clock is not frozen (default after reset).
1: Writing 1 freezes IWDG4 clock. Reading 1 means that IWDG4 clock is frozen.
Bit 0 FZ_IWDG3: Freeze of IWDG3 clock
Set once by software after a system or Standby reset to freeze IWDG3 clock.
0: Writing 0 has no effect. Reading 0 means IWDG3 clock is not frozen (default after reset).
1: Writing 1 freezes IWDG3 clock. Reading 1 means that IWDG3 clock is frozen.
20.8.43 RCC IWDG CPU2 clock freeze clear register (RCC_IWDGC2FZCLRR)
Address offset: 0x47C
Reset value: 0x0000 0000
This register is used to unfreeze IWDG3 and IWDG4 clocks. Writing 0 has no effect. Reading returns the effective values of the corresponding bits. Writing 1 clears the corresponding bit to 0. Write accesses are defined according to the RCC local resource number 71 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FZ_IW DG4 | FZ_IW DG3 |
| rc_w1 | rc_w1 |
Bits 31:2 Reserved, must be kept at reset value.
- Bit 1 FZ_IWDG4: Unfreeze of IWDG4 clock
- Cleared by software to unfreeze IWDG4 clock.
- 0: Writing 0 has no effect. Reading 0 means that the IWDG4 clock is not frozen (default after reset).
- 1: Writing 1 unfreezes the IWDG4 clock. Reading 1 means that the IWDG4 clock is frozen.
- Bit 0 FZ_IWDG3: Unfreeze of IWDG3 clock
- Cleared by software to unfreeze IWDG3 clock.
- 0: Writing 0 has no effect. Reading 0 means IWDG3 clock is not frozen (default after reset).
- 1: Writing 1 unfreezes IWDG3 clock. Reading 1 means that IWDG3 clock is frozen.
20.8.44 RCC IWDG CPU2 configuration set register (RCC_IWDGC2CFGSETR)
Address offset: 0x480
Reset value: 0x0000 0000
This register is used to enable IWDG3 and IWDG4 timeout event reset behavior, and to activate IWDG4 kernel reset. Writing 0 has no effect. Reading returns the effective values of the corresponding bits. Writing 1 sets the corresponding bit to 1. Wait states are inserted in case of successive write accesses to IWDG3_SYSRSTEN and IWDG4_SYSRSTEN. The number of wait states may be up to 7 cycles of the RCC clock. IWDG3_SYSRSTEN and IWDG4_SYSRSTEN are reset by app_rstn reset, and are located in the VDD domain. IWDG4_KERRST is reset by sys_rstn reset. Write accesses are defined according to the RCC local resource number 71 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IWDG4_KERRST | Res. | Res. |
| rs | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IWDG4_SYSRSTEN | Res. | IWDG3_SYSRSTEN |
| rs | rs |
Bits 31:19 Reserved, must be kept at reset value.
- Bit 18 IWDG4_KERRST: IWDG4 kernel reset
- Set by software.
- 0: Writing 0 has no effect. Reading 0 means that IWDG4 kernel reset is not active.
- 1: Writing 1 activates IWDG4 kernel reset. Reading 1 means IWDG4 kernel reset is active.
Bits 17:3 Reserved, must be kept at reset value.
- Bit 2 IWDG4_SYSRSTEN: Enable of IWDG4 timeout event to reset the application
- Set by software.
- 0: Writing 0 has no effect. Reading 0 means that IWDG4 timeout event cannot trigger an application reset.
- 1: Writing 1 enables IWDG4 timeout event to reset the application. Reading 1 means that IWDG4 timeout event triggers an application reset.
Bit 1 Reserved, must be kept at reset value.

Bit 0 IWDG3_SYSRSTEN: Enable of IWDG3 timeout event to reset the application
Set by software.
0: Writing 0 has no effect. Reading 0 means that IWDG3 timeout event does not trigger an application reset when CPU1 is not the trusted agent.
1: Writing 1 enables IWDG3 timeout event to reset the application when CPU1 is not the trusted agent. Reading 1 means that IWDG3 timeout event triggers an application reset when CPU1 is not the trusted agent.
20.8.45 RCC IWDG CPU2 configuration clear register (RCC_IWDGC2CFGCLRR)
Address offset: 0x484
Reset value: 0x0000 0000
This register is used to disable IWDG3 and IWDG4 timeout event reset behavior, and to deactivate IWDG4 kernel reset. Writing 0 has no effect. Reading returns the effective values of the corresponding bits. Writing 1 clears the corresponding bit to 0. Wait states are inserted in case of successive write accesses to IWDG3_SYSRSTEN and IWDG4_SYSRSTEN. The number of wait states may be up to 7 cycles of the RCC clock. Write accesses are defined according to the RCC local resource number 71 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IWDG4_KERRST | Res. | Res. |
| rc_w1 | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IWDG4_SYSRSTEN | Res. | IWDG3_SYSRSTEN |
| rc_w1 | rc_w1 |
Bits 31:19 Reserved, must be kept at reset value.
Bit 18 IWDG4_KERRST: IWDG4 kernel reset
Set by software.
0: Writing 0 has no effect. Reading 0 means that IWDG4 kernel reset is not active.
1: Writing 1 deactivates IWDG4 kernel reset. Reading 1 means IWDG4 kernel reset is active.
Bits 17:3 Reserved, must be kept at reset value.
Bit 2 IWDG4_SYSRSTEN: Clear of IWDG4 timeout event to reset the application
Set by software.
0: Writing 0 has no effect. Reading 0 means that IWDG4 timeout event cannot trigger an application reset.
1: Writing 1 clears IWDG4 timeout event to reset the application. Reading 1 means that IWDG4 timeout event is enabled.
Bit 1 Reserved, must be kept at reset value.
Bit 0 IWDG3_SYSRSTEN: Clear of IWDG3 timeout event to reset the application
Set by software.
0: Writing 0 has no effect. Reading 0 means that IWDG3 timeout event cannot trigger an application reset when CPU1 is not the trusted agent.
1: Writing 1 clears IWDG3 timeout event to reset the application when CPU1 is not the trusted agent. Reading 1 means that IWDG3 timeout event triggers an application reset when CPU1 is not the trusted agent.
20.8.46 RCC MCO1 configuration register (RCC_MCO1CFGR)
Address offset: 0x488
Reset value: 0x0000 0000
This register is used to select the clock generated on the MCO1 output. Write accesses are defined according to the RCC local resource number 108 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | MCO1 ON | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MCO1 SEL |
| rw | rw |
Bits 31:9 Reserved, must be kept at reset value.
Bit 8 MCO1ON: Control of MCO1 output
Set and cleared by software.
0: MCO1 output disabled (default after reset)
1: MCO1 output enabled
Bits 7:1 Reserved, must be kept at reset value.
Bit 0 MCO1SEL: MCO1 clock output selection
Set and cleared by the software. Clock source selection may generate glitches on MCO1. It is highly recommended to configure this bit only after reset, before enabling the external oscillators and the PLLs.
0: Channel 61 output of the flexclkgen engine (default after reset)
1: Clock observation 0 of the flexclkgen engine
20.8.47 RCC MCO2 configuration register (RCC_MCO2CFGR)
Address offset: 0x48C
Reset value: 0x0000 0000
This register is used to select the clock generated on the MCO2 output. Write accesses are defined according to the RCC local resource number 109 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | MCO2 ON | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MCO2 SEL |
| rw | rw |
Bits 31:9 Reserved, must be kept at reset value.
Bit 8 MCO2ON: Control of the MCO2 output
Set and cleared by software.
0: MCO2 output disabled (default after reset)
1: MCO2 output enabled
Bits 7:1 Reserved, must be kept at reset value.
Bit 0 MCO2SEL: MCO2 clock output selection
Set and cleared by software. Clock source selection may generate glitches on MCO2. It is highly recommended to configure this bit only after reset, before enabling the external oscillators and the PLLs.
0: Channel 62 output of the flexclkgen engine (default after reset)
1: Clock observation 1 of the flexclkgen engine
20.8.48 RCC oscillator clock enable set register (RCC_OCENSETR)
Address offset: 0x490
Reset value: 0x0000 0001
This register is used to control the oscillators. Writing 0 has no effect. Writing 1 sets the corresponding bits. Reading gives the effective values of each bit. Write access to this register is not allowed during the clock restore sequence (see Clock restore sequence for details). Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | HSECS SON | HSEBY P | HSEKE RON | HSEO N | HSEDI GBYP | HSEDI V2BYP | HSEDI V2ON | Res. | MSIKE RON | MSION | HSIKE RON | HSION |
| rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs |
Bits 31:12 Reserved, must be kept at reset value.
- Bit 11 HSECSSON: HSECSSON bit set
Set CSS on HSE. This bit is set-only (disabled by system reset, or when the system enters Standby). When this bit is set, the clock detector is enabled by hardware when HSE is ready.
0: Reading 0 means that CSS on HSE is off (default after reset).
1: Writing 1 enables CSS on HSE. Reading 1 means that CSS on HSE is on. - Bit 10 HSEBYP: HSEBYP bit set
Set by software in order to enable the HSE bypass mode.
0: No effect
1: Set the HSEBYP bit. - Bit 9 HSEKERON: HSEKERON bit set
Set by software to force HSE on even in Stop mode, to be quickly available as kernel clock for some peripherals. This bit has no effect on HSEON value.
0: No effect
1: Set the HSEKERON bit. - Bit 8 HSEON: HSEON bit set
Set by software to enable HSE.
0: No effect
1: Set HSEON bit. - Bit 7 HSEDIGBYP: HSEDIGBYP bit set
Set by software when the external clock connected to OSC_IN is a full-swing digital signal.
0: No effect
1: Set HSEDIGBYP bit (digital bypass). - Bit 6 HSEDIV2BYP: HSEDIV2BYP bit set
Set by software to bypass the HSE divide-by-2 clock.
0: No effect
1: Set HSEDIV2BYP bit. - Bit 5 HSEDIV2ON: HSEDIV2ON bit set
Set by software to enable the HSE divide-by-2 clock.
0: No effect
1: Set HSEDIV2ON bit. - Bit 4 Reserved, must be kept at reset value.
- Bit 3 MSIKERON: MSIKERON bit set
Set by software to force MSI on even in Stop mode, to be quickly available as kernel clock for peripherals. This bit has no effect on MSION value.
0: No effect
1: Set the MSIKERON bit. - Bit 2 MSION: MSION bit set
Set by software to enable MSI.
0: No effect
1: Set the MSION bit. - Bit 1 HSIKERON: HSIKERON bit set
Set by software to force HSI on even in Stop mode, to be quickly available as kernel clock for peripherals. This bit has no effect on HSION value.
0: No effect
1: Set the HSIKERON bit.
Bit 0 HSION: HSION bit set
Set by software to enable HSI. This bit is also set by hardware to force HSI on when the product exits Standby or Stop, or in case of a failure of HSE which is used as the system clock source.
0: No effect
1: Set the HSION bit.
20.8.49 RCC oscillator clock enable clear register (RCC_OCENCLRR)
Address offset: 0x494
Reset value: 0x0000 0001
This register is used to control the oscillators. Writing 0 has no effect. Writing 1 clears the corresponding bits. Reading gives the effective values of the enable bits. Write access to this register is not allowed during the clock restore sequence (see Clock restore sequence for details). Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | HSEBY | HSEKE | HSEO | HSEDI | HSEDI | HSEDI | |||||
| V2ON | Res. | MSIKE | |||||||||||||
| RON | MSION | HSIKE | |||||||||||||
| P | RON | N | GBYP | V2BYP | RON | HSION | |||||||||
| rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | rc_w1 | ||||||
| Bit 10 | HSEBYP | : HSEBYP bit clear 0: No effect | |||||||||||||
| Bit 9 | HSEKERON | : HSEKERON bit clear 0: No effect | |||||||||||||
| Bit 8 | HSEON | : HSEON bit clear 0: No effect | |||||||||||||
| Bit 7 | HSEDIGBYP | : HSEDIGBYP bit clear 0: No effect | |||||||||||||
| Bit 6 | HSEDIV2BYP | : HSEDIV2BYP bit clear 0: No effect |
Bits 31:11 Reserved, must be kept at reset value.
Bit 10 HSEBYP: HSEBYP bit clear
Cleared by software in order to disable the bypass mode.
0: No effect
1: Clear the HSEBYP bit.
Bit 9 HSEKERON: HSEKERON bit clear
Cleared by software to allow the HSE to be switched off in Stop mode.
0: No effect
1: Clear the HSEKERON bit.
Bit 8 HSEON: HSEON bit clear
Cleared by software to disable the HSE clock.
0: No effect
1: Clear the HSEON bit.
Bit 7 HSEDIGBYP: HSEDIGBYP bit clear
Cleared by software when the external clock connected to OSC_IN is a low-swing signal.
0: No effect
1: Clear the HSEDIGBYP bit (analog bypass).
Bit 6 HSEDIV2BYP: HSEDIV2BYP bit clear
Cleared by software to use the HSE divide-by-2 clock.
0: No effect
1: Clear the HSEDIV2BYP bit.
- Bit 5 HSEDIV2ON: HSEDIV2ON bit clear
Cleared by software to disable the HSE divide-by-2 clock.
0: No effect
1: Clear HSEDIV2ON bit. - Bit 4 Reserved, must be kept at reset value.
- Bit 3 MSIKERON: MSIKERON bit clear
Cleared by software to allow the MSI to be switched off in Stop mode. This bit has no effect on MSION value.
0: No effect
1: Clear the MSIKERON bit. - Bit 2 MSION: MSION bit clear
Cleared by software to disable the MSI clock.
0: No effect
1: Clear the MSION bit. - Bit 1 HSIKERON: HSIKERON bit clear
Cleared by software to allow the HSI to be switched off in Stop mode. This bit has no effect on HSION value.
0: No effect
1: Clear the HSIKERON bit. - Bit 0 HSION: HSION bit clear
Cleared by software to disable the HSI clock.
0: No effect
1: Clear the HSION bit.
20.8.50 RCC oscillator clock ready register (RCC_OCRDYR)
Address offset: 0x498
Reset value: 0x0000 0001
This is a read-only access register that contains the status flags of the oscillators. Writing has no effect. Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | CKRES | |||||||||
| T r | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | HSERD | ||||||||
| Y | Res. | Res. | Res. | Res. | Res. | MSIRD | |||||||||
| Y | Res. | HSIRD Y | |||||||||||||
| r | r | r | |||||||||||||
| Bit 25 | CKREST | : Clock restore state machine status |
Bits 31:26 Reserved, must be kept at reset value.
- Bit 25 CKREST: Clock restore state machine status
Set by hardware to indicate if the clock restore sequence is on-going.
0: Clock restore process not ongoing (default after reset)
1: Clock restore process ongoing
Bits 24:9 Reserved, must be kept at reset value.
Bit 8 HSERDY: HSE clock ready flag
Set by hardware to indicate that the HSE oscillator is stable.
0: HSE clock not ready (default after reset)
1: HSE clock ready
Bits 7:3 Reserved, must be kept at reset value.
Bit 2 MSIRDY: MSI clock ready flag
Set by hardware to indicate that the MSI oscillator is stable.
0: MSI clock not ready (default after reset)
1: MSI clock ready
Bit 1 Reserved, must be kept at reset value.
Bit 0 HSIRDY: HSI clock ready flag
Set by hardware to indicate that the HSI oscillator is stable.
0: HSI clock not ready (default after reset)
1: HSI clock ready
20.8.51 RCC HSI configuration register (RCC_HSIConfigR)
Address offset: 0x49C
Reset value: 0x0000 0000
This register is used to fine tune the HSI frequency. Write access is not allowed during the clock restore sequence (see Clock restore sequence for details). Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | HSICAL[8:0] | ||||||||
| r | r | r | r | r | r | r | r | r | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | HSITRIM[6:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||||
| rw | rw | rw | rw | rw | rw | rw | |||||||||
Bits 31:25 Reserved, must be kept at reset value.
Bits 24:16 HSICAL[8:0]: HSI clock calibration
Set by hardware when option-byte loading during system reset. Adjusted by software through HSITRIM trimming bits.
This bitfield contains the sum of engineering option-byte calibration and HSITRIM values.
Bit 15 Reserved, must be kept at reset value.
Bits 14:8 HSITRIM[6:0]: HSI clock trimming
Set by software to adjust calibration. This bitfield represents a signed value. It is added to engineering option bytes loaded during reset phase (bsec_hsi_cal[8:0]) to form calibration trimming value: \(HSICAL[8:0] = HSITRIM[6:0] + bsec\_hsi\_cal[8:0]\).
0x40: bsec_hsi_cal[8:0] - 64
0x41: bsec_hsi_cal[8:0] - 63
...
0x0: bsec_hsi_cal[8:0] (default after reset)
...
0x3E: bsec_hsi_cal[8:0] + 62
0x3F: bsec_hsi_cal[8:0] + 63
Bits 7:0 Reserved, must be kept at reset value.
20.8.52 RCC MSI configuration register (RCC_MSICFGR)
Address offset: 0x4A0
Reset value: 0x0010 1000
This register is used to fine tune the MSI frequency. Write access is not allowed during the clock restore sequence (see Clock restore sequence for details). Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MSICAL[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | MSITRIM[4:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ||||
| rw | rw | rw | rw | rw | |||||||||||
Bits 31:24 Reserved, must be kept at reset value.
Bits 23:16 MSICAL[7:0]: MSI clock calibration
Set by hardware when option-byte loading during system reset. Adjusted by software through MSITRIM trimming bits.
This bit-field contains the sum of engineering option-byte calibration and MSITRIM values.
Bits 15:13 Reserved, must be kept at reset value.
Bits 12:8 MSITRIM[4:0]: MSI clock trimming
Set by software to adjust calibration. This bitfield is added to engineering option bytes loaded during reset phase (bsec_msi_cal[7:0]) to form the calibration trimming value.
\(MSICAL[7:0] = MSITRIM[4:0] + bsec\_msi\_cal[7:0]\).
Bits 7:0 Reserved, must be kept at reset value.
20.8.53 RCC LSI control register (RCC_LSICR)
Address offset: 0x4A4
Reset value: 0x0000 0000
This register is used to control the LSI. This register is reset when a system reset occurs (app_rstn), but not when the circuit exits from Standby. Wait states are inserted in case of successive write accesses to this register. The number of wait states can be up to 7 cycles of the RCC clock. Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LSIRD Y | LSION |
| r | rw |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 LSIRDY: LSI oscillator ready
Set and cleared by hardware to indicate when the LSI is stable. This bit needs 3 cycles of lsi_ck to fall down after LSION has been cleared to 0.
0: LSI oscillator not ready
1: LSI oscillator ready
Bit 0 LSION: LSI oscillator enabled
Set and cleared by software.
0: LSI oscillator off
1: LSI oscillator on
20.8.54 RCC RTC clock divider register (RCC_RTCDIVR)
Address offset: 0x4A8
Reset value: 0x0000 0000
This register is used to divide the HSE clock for the RTC. Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RTCDIV[5:0] | |||||
| rw | rw | rw | rw | rw | rw | ||||||||||
Bits 31:6 Reserved, must be kept at reset value.
Bits 5:0 RTCDIV[5:0]: HSE division factor for RTC clock
Set and cleared by software to divide the HSE clock for RTC.
Caution: The software must set these bits correctly to ensure that the clock supplied to the RTC is lower than 4 MHz. These bits must be configured if needed before selecting the RTC clock source.
Note: When RTCSRC not equal to 3, this divider is disabled (does not provide clock).
0x0: HSE (default after reset)
0x1: HSE/2
0x2: HSE/3
0x3: HSE/4
...
0x3E: HSE/63
0x3F: HSE/64
20.8.55 RCC APB1 clock divider register (RCC_APB1DIVR)
Address offset: 0x4AC
Reset value: 0x8000 0000
This register is used to control the APB1 clock prescaler (see Root clock generation for details). Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| APB1DIVRDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| r | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | APB1DIV[2:0] | ||
| rw | rw | rw | |||||||||||||
Bit 31 APB1DIVRDY: APB1 clock prescaler status
Set and cleared by hardware to indicate if the new division factor is taken into account.
0: The new division factor is not yet taken into account.
1: The new division factor is taken into account (default after reset).
Bits 30:3 Reserved, must be kept at reset value.
Bits 2:0 APB1DIV[2:0]: APB1 clock divider
Set and cleared by software to control the APB1 clock division factor. Changing this division ratio impacts the APB1 clock domain frequency. Clocks are divided with the new prescaler factor, from 1 to 16 \(ck_{icn\_ls\_mcu}\) cycles after APB1DIV update. The application can check if the new division factor is taken into account by reading APB1DIVRDY.
0x0: \(ck_{icn\_ls\_mcu}\) (default after reset)
0x1: \(ck_{icn\_ls\_mcu} / 2\)
0x2: \(ck_{icn\_ls\_mcu} / 4\)
0x3: \(ck_{icn\_ls\_mcu} / 8\)
0x4: \(ck_{icn\_ls\_mcu} / 16\)
Others: Reserved
20.8.56 RCC APB2 clock divider register (RCC_APB2DIVR)
Address offset: 0x4B0
Reset value: 0x8000 0000
This register is used to control the APB2 clock prescaler (see Root clock generation for details). Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| APB2DIVRDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| r | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | APB2DIV[2:0] | ||
| rw | rw | rw | |||||||||||||
Bit 31 APB2DIVRDY: APB2 clock prescaler status
Set and cleared by hardware to indicate if the new division factor is taken into account.
0: The new division factor is not yet taken into account.
1: The new division factor is taken into account (default after reset).
Bits 30:3 Reserved, must be kept at reset value.
Bits 2:0 APB2DIV[2:0]: APB2 clock divider
Set and cleared by software to control APB2 clock division factor. Changing this division ratio impacts the APB2 clock domain frequency. Clocks are divided with the new prescaler factor, from 1 to 16 \(ck_{icn\_ls\_mcu}\) cycles after APB2DIV update. The application can check if the new division factor is taken into account by reading APB2DIVRDY.
0x0: \(ck_{icn\_ls\_mcu}\) (default after reset)
0x1: \(ck_{icn\_ls\_mcu} / 2\)
0x2: \(ck_{icn\_ls\_mcu} / 4\)
0x3: \(ck_{icn\_ls\_mcu} / 8\)
0x4: \(ck_{icn\_ls\_mcu} / 16\)
Others: Reserved
20.8.57 RCC APB3 clock divider register (RCC_APB3DIVR)
Address offset: 0x4B4
Reset value: 0x8000 0000
This register is used to control the APB3 clock prescaler (see Root clock generation for details). Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| APB3DIVRDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| r | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | APB3DIV[2:0] | ||
| rw | rw | rw | |||||||||||||
Bit 31 APB3DIVRDY: APB3 clock prescaler status
Set and cleared by hardware to indicate if the new division factor is taken into account.
0: The new division factor is not yet taken into account.
1: The new division factor is taken into account. (default after reset)
Bits 30:3 Reserved, must be kept at reset value.
Bits 2:0 APB3DIV[2:0]: APB3 clock divider
Set and cleared by software to control APB3 clock division factor.
Changing this division ratio has an impact on the frequency of the APB3 clock domain.
Clocks are divided with the new prescaler factor, from 1 to 16 \(ck_{icn\_ls\_mcu}\) cycles after APB3DIV update. The application can check if the new division factor is taken into account by reading APB3DIVRDY.
0x0: \(ck_{icn\_ls\_mcu}\) (default after reset)
0x1: \(ck_{icn\_ls\_mcu} / 2\)
0x2: \(ck_{icn\_ls\_mcu} / 4\)
0x3: \(ck_{icn\_ls\_mcu} / 8\)
0x4: \(ck_{icn\_ls\_mcu} / 16\)
Others: Reserved
20.8.58 RCC APB4 clock divider register (RCC_APB4DIVR)
Address offset: 0x4B8
Reset value: 0x8000 0000
This register is used to control the APB4 clock divider (see Root clock generation for details). Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| APB4DIVRDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| r | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | APB4DIV[2:0] | ||
| rw | rw | rw | |||||||||||||
Bit 31 APB4DIVRDY: APB4 clock divider status
Set and cleared by hardware to indicate if the new division factor is taken into account.
0: The new division factor is not yet taken into account.
1: The new division factor is taken into account (default after reset).
Bits 30:3 Reserved, must be kept at reset value.
Bits 2:0 APB4DIV[2:0]: APB4 clock divider
Set and cleared by software to control APB4 clock division factor. This division ratio can be changed on-the-fly. It impacts only the APB4 clock frequency. Clocks are divided with the new prescaler factor, from 1 to 16 \(ck_{icn\_ls\_mcu}\) cycles after APB4DIV update. The application can check if the new division factor is taken into account by reading APB4DIVRDY.
0x0: \(ck_{icn\_ls\_mcu}\) (default after reset)
0x1: \(ck_{icn\_ls\_mcu} / 2\)
0x2: \(ck_{icn\_ls\_mcu} / 4\)
0x3: \(ck_{icn\_ls\_mcu} / 8\)
0x4: \(ck_{icn\_ls\_mcu} / 16\)
Others: Reserved
20.8.59 RCC APB5 clock divider register (RCC_APB5DIVR)
Address offset: 0x4BC
Reset value: 0x8000 0000
This register is used to control the APB5 clock divider (see Root clock generation for details). Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| APB5DIVRDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| r | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | APB5DIV[2:0] | ||
| rw | rw | rw | |||||||||||||
Bit 31 APB5DIVRDY: APB5 clock divider status
Set and cleared by hardware to indicate if the new division factor is taken into account.
0: The new division factor is not yet taken into account.
1: The new division factor is taken into account (default after reset).
Bits 30:3 Reserved, must be kept at reset value.
Bits 2:0 APB5DIV[2:0]: APB5 clock divider
Set and cleared by software to control APB5 clock division factor. This division ratio can be changed on-the-fly. It impacts only the APB5 clock frequency. Clocks are divided with the new prescaler factor, from 1 to 16 \(ck_{icn\_ls\_mcu}\) cycles after APB5DIV update. The application can check if the new division factor is taken into account by reading APB5DIVRDY.
0x0: \(ck_{icn\_ls\_mcu}\) (default after reset)
0x1: \(ck_{icn\_ls\_mcu} / 2\)
0x2: \(ck_{icn\_ls\_mcu} / 4\)
0x3: \(ck_{icn\_ls\_mcu} / 8\)
0x4: \(ck_{icn\_ls\_mcu} / 16\)
Others: Reserved
20.8.60 RCC APBDBG clock divider register (RCC_APBDBGDIVR)
Address offset: 0x4C0
Reset value: 0x8000 0000
This register is used to control the APBDBG clock divider (see Root clock generation for details). Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| APBDBGDIVRDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| r | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | APBDBGDIV[2:0] | ||
| rw | rw | rw | |||||||||||||
Bit 31 APBDBGDIVRDY: APBDBG clock divider status
Set and cleared by hardware to indicate if the new division factor is taken into account.
0: The new division factor is not yet taken into account.
1: The new division factor is taken into account (default after reset).
Bits 30:3 Reserved, must be kept at reset value.
Bits 2:0 APBDBGDIV[2:0]: APBDBG clock divider
Set and cleared by software to control APBDBG clock division factor. This division ratio can be changed on-the-fly. It impacts only the APBDBG clock frequency. Clocks are divided with the new prescaler factor, from 1 to 16 \(ck_{icn\_ls\_mcu}\) cycles after APBDBGDIV update.
The application can check if the new division factor is taken into account by reading APBDBGDIVRDY.
0x0: \(ck_{icn\_ls\_mcu}\) (default after reset)
0x1: \(ck_{icn\_ls\_mcu} / 2\)
0x2: \(ck_{icn\_ls\_mcu} / 4\)
0x3: \(ck_{icn\_ls\_mcu} / 8\)
0x4: \(ck_{icn\_ls\_mcu} / 16\)
Others: Reserved
20.8.61 RCC TIM group 1 prescaler register (RCC_TIMG1PRER)
Address offset: 0x4C8
Reset value: 0x8000 0000
This register is used to control the prescaler value of timers located in the APB1 domain: TIM2 to TIM7, and TIM10 to TIM14 (see Root clock generation for details). Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TIMG1 PRERDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| r | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIMG1 PRE |
| rw |
Bit 31 TIMG1PRERDY: Clock prescaler status for timers of group 1
Set and cleared by hardware to indicate if the new division factor is taken into account.
0: The new division factor is not yet taken into account.
1: The new division factor is taken into account (default after reset).
Bits 30:1 Reserved, must be kept at reset value.
Bit 0 TIMG1PRE: Clock prescaler selection for timers of group 1
This bit is set and cleared by software to control the clock frequency of all timers connected to APB1 domain (see Table 126).
0: Timer kernel clock is equal to \(ck_{icn\_ls\_mcu}\) if APB1DIV corresponds to a division by 1 or 2. Otherwise it is equal to \(2 \times Fck_{icn\_apb1}\) (default after reset).
1: Timer kernel clock is equal to \(ck_{icn\_ls\_mcu}\) if APB1DIV corresponds to a division by 1, 2, or 4. Otherwise, it is equal to \(4 \times Fck_{icn\_apb1}\).
20.8.62 RCC TIM group 2 prescaler register (RCC_TIMG2PRER)
Address offset: 0x4CC
Reset value: 0x8000 0000
This register is used to control the prescaler value of timers located in the APB2 domain: TIM1, TIM8, TIM15, TIM16, TIM17 (see Root clock generation for details). Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TIMG2 PRERDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| r | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIMG2 PRE |
| rw |
Bit 31 TIMG2PRERDY: Clock prescaler status for timers of group 2
Set and cleared by hardware to indicate if the new division factor is taken into account.
0: The new division factor is not yet taken into account.
1: The new division factor is taken into account. (default after reset)
Bits 30:1 Reserved, must be kept at reset value.
Bit 0 TIMG2PRE: Clock prescaler selection for timers of group 2
This bit is set and cleared by software to control the clock frequency of all timers connected to APB2 domain (see Table 126).
0: Timer kernel clock is equal to ck_icn_ls_mcu if APB2DIV corresponds to a division by 1 or 2. Otherwise it is equal to 2 x Fck_icn_apb2 (default after reset).
1: Timer kernel clock is equal to ck_icn_ls_mcu if APB2DIV corresponds to division by 1, 2, or 4.Otherwise it is equal to 4 x Fck_icn_apb2.
20.8.63 RCC LSMMCU clock divider register (RCC_LSMCUDIVR)
Address offset: 0x4D0
Reset value: 0x8000 0000
This register is used to control the LSMU (low-speed MCU clock divider, see Root clock generation for details). Write accesses are defined according to the RCC local resource number 69 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| LSMCU DIVRD Y | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| r | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LSMCU DIV |
| rw |
Bit 31 LSMCUDIVRDY: LSMMCU clock divider status
Set and cleared by hardware to indicate if the new division factor is taken into account.
0: The new division factor is not yet taken into account.
1: The new division factor is taken into account (default after reset).
Bits 30:1 Reserved, must be kept at reset value.
Bit 0 LSMCUDIV: LSMMCU clock divider
Set and cleared by software to control ck_icn_ls_mcu clock division factor. This division ratio can be changed on-the-fly. It impacts only the ck_icn_ls_mcu clock frequency. This clock is divided with the new prescaler factor, from 1 to 2 ck_icn_hs_mcu cycles after LSMCUDIV update. The application can check if the new division factor is taken into account by reading LSMCUDIVRDY.
0x0: ck_icn_hs_mcu (default after reset)
0x1: ck_icn_hs_mcu / 2
20.8.64 RCC DDRCTRL AXI port configuration register (RCC_DDRCPCFGR)
Address offset: 0x4D4
Reset value: 0x0000 0005
This register is used to control reset, clock gating, and low-power behavior of the DDRCTRL AXI ports. Write accesses are defined according to the RCC local resource number 104 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DDRC PLPEN | DDRC PEN | DDRC PRST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 DDRCPLPEN: DDRCTRL AXI port clock enable during CSleep
Set and cleared by software. This bit controls ck_icn_s_ddr clock gating in CSleep.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 DDRCPEN: DDRCTRL AXI port clock enable
Set and cleared by software. This bit control sck_icn_s_ddr clock gating.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 DDRCPRST: DDRCTRL AXI port reset
Set and cleared by software.
0: Writing 0 releases DDRCTRL AXI port interface reset. Reading 0 means that DDRCTRL AXI port interface is not under reset (default after reset).
1: Writing 1 sets DDRCTRL AXI port interface under reset. Reading 1 means that DDRCTRL AXI port interface is under reset.
20.8.65 RCC DDRCTRL APB configuration register (RCC_DDRCAPBCFGR)
Address offset: 0x4D8
Reset value: 0x0000 0005
This register is used to control reset, clock gating, and low-power behavior of the DDRCTRL APB. Write accesses are defined according to the RCC local resource number 104 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DDRC APBLP EN | DDRC APBEN | DDRC APBRS T |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 DDRCAPBLPEN: DDRCTRL APB clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 DDRCAPBEN: DDRCTRL APB clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 DDRCAPBRST: DDRCTRL APB reset
Set and cleared by software.
0: Writing 0 releases DDRCTRL APB interface reset. Reading 0 means that DDRCTRL APB interface is not under reset (default after reset).
1: Writing 1 sets DDRCTRL APB interface under reset. Reading 1 means that DDRCTRL APB interface is under reset.
20.8.66 RCC DDRPHYC APB configuration register (RCC_DDRPHYCAPBCFGR)
Address offset: 0x4DC
Reset value: 0x0000 0005
This register is used to control reset, clock gating, and low-power behavior of the DDRPHYC APB interface. Write accesses are defined according to the RCC local resource number 104 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DDRP HYCAP BLPEN | DDRP HYCAP BEN | DDRP HYCAP BRST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 DDRPHYCAPBLPEN: DDRPHYC APB clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 DDRPHYCAPBEN: DDRPHYC APB clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 DDRPHYCAPBRST: DDRPHYC APB reset
Set and cleared by software.
0: Writing 0 releases DDRPHYC APB interface reset. Reading 0 means that DDRPHYC APB interface is not under reset (default after reset).
1: Writing 1 sets DDRPHYC APB interface under reset. Reading 1 means that DDRPHYC APB interface is under reset.
20.8.67 RCC DDRPHYC configuration register (RCC_DDRPHYCCFGR)
Address offset: 0x4E0
Reset value: 0x0000 0000
This register is used to control clock gating behavior of the DDRPHYC. Write accesses are defined according to the RCC local resource number 104 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DDRP HYCEN | Res. |
| rw |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 DDRPHYCEN: DDRPHYC kernel clock enable
Set and cleared by software.
0: Writing 0 disables DDRPHYC kernel clock. Reading 0 means that DDRPHYC kernel clock is disabled.
1: Writing 1 enables DDRPHYC kernel clock. Reading 1 means that DDRPHYC kernel clock is enabled.
Bit 0 Reserved, must be kept at reset value.
20.8.68 RCC DDR configuration register (RCC_DDRCFGR)
Address offset: 0x4E4
Reset value: 0x0000 0005
This register is used to control reset, clock gating, and low-power behavior of the DDR APB configuration. Write accesses are defined according to the RCC local resource number 104 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DDRCF GLPEN | DDRCF GEN | DDRCF GRST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 DDRCFGLPEN: DDR APB configuration clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 DDRCFGEN: DDR APB configuration clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 DDRCFGRST: DDR APB configuration reset
Set and cleared by software.
0: Writing 0 releases DDR APB configuration interface reset. Reading 0 means that DDR APB configuration interface is not under reset (default after reset).
1: Writing 1 sets DDR APB configuration interface under reset. Reading 1 means that DDR APB configuration interface is under reset.
20.8.69 RCC DDR interface configuration register (RCC_DDRITFCFGR)
Address offset: 0x4E8
Reset value: 0x0000 0001
This register is used to control the DDR interface according to supported low-power modes. Write accesses are defined according to the RCC local resource number 104 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DDRP HYDLP |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | DDRS HR | Res. | Res. | DDRCCKMOD[1:0] | Res. | Res. | Res. | DDRR ST | |
| rw | rw | rw | rw | ||||||||||||
Bits 31:17 Reserved, must be kept at reset value.
Bit 16 DDRPHYDLP: DDRPHY deep low-power mode (LP2 or LP3)
Set and cleared by software.
0: DDRPHY not set in low-power mode (default after reset)
1: DDRPHY set in deep low-power mode
Bits 15:9 Reserved, must be kept at reset value.
Bit 8 DDRSR: DDR peripheral mode
Set and cleared by software.
0: DDR defined as single peripheral (default after reset)
1: DDR defined as shared peripheral
Bits 7:6 Reserved, must be kept at reset value.
Bits 5:4 DDRCKMOD[1:0]: RCC mode for DDR clock control
Set and cleared by software.
0x0: Normal mode: dphy_ker_ck and dphy_ker_byp_ck gating depends on DDRPHYCEN, DDRSHR, DDRPHYDLP, and CPU1 or system mode. ddrc_ker_ck gating depends on DDRCPEN, DDRCPLPEN, DDRSHR, and CPU1 or system mode. This mode must be selected during DDRCTRL and DDRPHYC initialization phase, and if the application uses SSR (software self-refresh) mode.
0x1: ASR (automatic self-refresh) mode: ddrc_ker_ck is gated automatically according to cactive_ddrc signal. dphy_ker_ck and dphy_ker_byp_ck must be kept running in this mode.
0x2: HSR (hardware self-refresh) mode: ddrc_ker_ck gating depends on DDRCPEN, DDRCPLPEN, DDRSHR, and CPU1 or system mode. The dphy_ker_ck and dphy_ker_byp_ck must be kept running in this mode.
Others: Reserved
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 DDRRST: DDR core and PHY reset
Set and cleared by software.
0: DDR core and PHY are not reset.
1: DDR core and PHY are reset (default after reset).
20.8.70 RCC SYSRAM configuration register (RCC_SYSRAMCFGR)
Address offset: 0x4F0
Reset value: 0x0000 0004
This register is used to control clock gating and low-power behavior of the SYSRAM.
Write accesses are defined according to the RCC local resource number 74 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SYSRAMLPEN | SYSRAMEN | Res. |
| rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SYSRAMLPEN: SYSRAM clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SYSRAMEN: SYSRAM clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 Reserved, must be kept at reset value.
20.8.71 RCC SRAM1 configuration register (RCC_SRAM1CFGR)
Address offset: 0x4F8
Reset value: 0x0000 0004
This register is used to control clock gating and low-power behavior of the SRAM1.
Write accesses are defined according to the RCC local resource number 78 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SRAM1 LPEN | SRAM1 EN | Res. |
| rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SRAM1LPEN: SRAM1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SRAM1EN: SRAM1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 Reserved, must be kept at reset value.
20.8.72 RCC RETRAM configuration register (RCC_RETRAMCFGR)
Address offset: 0x500
Reset value: 0x0000 0006
This register is used to control clock gating and low-power behavior of the RETRAM.
Write accesses are defined according to the RCC local resource number 76 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RETRA MLPEN | RETRA MEN | Res. |
| rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 RETRAMLPEN: RETRAM clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 RETRAMEN: RETRAM clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 Reserved, must be kept at reset value.
20.8.73 RCC BKPSRAM configuration register (RCC_BKPSRAMCFGR)
Address offset: 0x504
Reset value: 0x0000 0004
This register is used to control clock gating and low-power behavior of the BKPSRAM. Write accesses are defined according to the RCC local resource number 77 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BKPSR AMLPE N | BKPSR AMEN | Res. |
| rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 BKPSRAMLPEN: BKPSRAM clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 BKPSRAMEN: BKPSRAM clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 Reserved, must be kept at reset value.
20.8.74 RCC OCTOSPI1 configuration register (RCC_OSPI1CFGR)
Address offset: 0x514
Reset value: 0x0000 0004
This register is used to control the reset, clock gating, and low-power behavior of the OCTOSPI1 and the OTFDEC1. Write accesses are defined according to the RCC local resource number 110 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | OSPI1 DLLRST |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | OTFDEC1RST | Res. | Res. | Res. | Res. | Res. | OSPI1LPEN | OSPI1EN | OSPI1RST |
| rw | rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.
Bit 16 OSPI1DLLRST: OCTOSPI1 DLL reset
Set and cleared by software.
0: Writing 0 releases OCTOSPI1 DLL reset. Reading 0 means that OCTOSPI1 DLL reset is released.
1: Writing 1 asserts OCTOSPI1 DLL reset. Reading 1 means that OCTOSPI1 DLL reset is asserted.
Bits 15:9 Reserved, must be kept at reset value.
Bit 8 OTFDEC1RST: OTFDEC1 reset
Set and cleared by software.
0: Writing 0 releases OTFDEC1 reset. Reading 0 means that OTFDEC1 reset is released.
1: Writing 1 asserts OTFDEC1 reset. Reading 1 means that OTFDEC1 reset is asserted.
Bits 7:3 Reserved, must be kept at reset value.
Bit 2 OSPI1LPEN: OCTOSPI1, OTFDEC1 and OCTOSPI1 delay (DLYBOSPI1) clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 OSPI1EN: OCTOSPI1 and OTFDEC1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 OSPI1RST: OCTOSPI1 reset
Set and cleared by software.
0: Writing 0 releases OCTOSPI1 reset. Reading 0 means that OCTOSPI1 reset is released.
1: Writing 1 asserts OCTOSPI1 reset. Reading 1 means that OCTOSPI1 reset is asserted.
20.8.75 RCC FMC configuration register (RCC_FMCCFGR)
Address offset: 0x51C
Reset value: 0x0000 0004
This register is used to control the reset, clock gating, and low-power behavior of the FMC. Write accesses are defined according to the RCC local resource number 112 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FMCLP EN | FMCE N | FMCR ST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 FMCLPEN: FMC clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 FMCE: FMC clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 FMCRST: FMC reset
Set and cleared by software.
0: Writing 0 releases FMC reset. Reading 0 means that FMC reset is released.
1: Writing 1 asserts FMC reset. Reading 1 means that FMC reset is asserted.
20.8.76 RCC debug configuration register (RCC_DBGCFGR)
Address offset: 0x520
Reset value: 0x0000 0000
This register contains the enable control of debug and trace functions. Write accesses are defined according to the RCC local resource number 73 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | DBG RST | Res. | DBG M CUEN | TRACE EN | DBG E N | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | rw | rw | rw |
Bits 31:13 Reserved, must be kept at reset value.
Bit 12 DBGRST: Debug function reset
Set and cleared by software to control the reset generation for trace and all debug.
0: Trace and debug parts are not reset (default after reset).
1: Trace and debug parts are under reset.
Bit 11 Reserved, must be kept at reset value.
Bit 10 DBGMCUEN: Clock enable for dbgmcu
Set and cleared by software to control ck_icn_p_dbgmcu and ck_dap generation.
0: Clock for dbgmcu function disabled (default after reset)
1: Clock for dbgmcu function enabled
Bit 9 TRACEEN: Clock enable for trace port interface
Set and cleared by software to control ck_ker_tpiu generation.
0: Clock for trace function disabled (default after reset)
1: Clock for trace function enabled
Bit 8 DBGGEN: Debug function clock enable
Set and cleared by software to control ck_icn_apbdbg and ck_sys_atb generation.
0: Enabling of clocks for debug function is controlled by cdbgpwrupreq signal from DAP (default after reset).
1: Clocks for debug function are enabled.
Bits 7:0 Reserved, must be kept at reset value.
20.8.77 RCC STM configuration register (RCC_STMCFGR)
Address offset: 0x524
Reset value: 0x0000 0004
This register is used to control clock gating and low-power behavior of the STM. Write accesses are defined according to the RCC local resource number 73 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | STMLP EN | STMEN | Res. |
| rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 STMLPEN: STM clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 STMEN: STM clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 Reserved, must be kept at reset value.
20.8.78 RCC ETR configuration register (RCC_ETRCFGR)
Address offset: 0x528
Reset value: 0x0000 0004
This register is used to control clock gating and low-power behavior of the Cortex-A35 ETR interface. Write accesses are defined according to the RCC local resource number 73 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ETRLP EN | ETREN | Res. |
| rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 ETRLPEN: ETR clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 ETREN: ETR clocks enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 Reserved, must be kept at reset value.
20.8.79 RCC GPIOx configuration register (RCC_GPIOxCFGR) (x = A to I)
Address offset: Block A: 0x52C
Address offset: Block B: 0x530
Address offset: Block C: 0x534
Address offset: Block D: 0x538
Address offset: Block E: 0x53C
Address offset: Block F: 0x540
Address offset: Block G: 0x544
Address offset: Block H: 0x548
Address offset: Block I: 0x54C
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the GPIOx. Write accesses are defined according to the RCC local resource number 90 to 98 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | GPIOx LPEN | GPIOx EN | GPIOx RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 GPIOxLPEN: GPIO x clock enable during CSleepSet and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 GPIOxEN: GPIO x clock enableSet and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 GPIOxRST: GPIO x resetSet and cleared by software.
0: Writing 0 releases GPIOx reset. Reading 0 means that GPIOx reset is released.
1: Writing 1 asserts GPIOx reset. Reading 1 means that GPIOx reset is asserted.
20.8.80 RCC GPIOZ configuration register (RCC_GPIOZCFGR)
Address offset: 0x558
Reset value: 0x0000 0004
This register is used to control reset, clock gating, low-power, and autonomous clock mode behavior of the GPIOZ. Wait states are inserted in case of successive write accesses to this register, except on GPIOZRST. The number of wait states may be up to 7 cycles of the RCC clock. Write accesses are defined according to the RCC local resource number 101 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | GPIOZ LPEN | GPIOZ EN | GPIOZ RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 GPIOZLPEN: GPIOZ clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 GPIOZEN: GPIOZ clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 GPIOZRST: GPIOZ reset
Set and cleared by software.
0: Writing 0 releases GPIOZ reset. Reading 0 means that GPIOZ reset is released.
1: Writing 1 asserts GPIOZ reset. Reading 1 means that GPIOZ reset is asserted.
20.8.81 RCC HPDMA1 configuration register (RCC_HPDMA1CFGR)
Address offset: 0x55C
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the HPDMA1. Write accesses are defined according to the RCC local resource number 83 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HPDM A1LPE N | HPDM A1EN | HPDM A1RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 HPDMA1LPEN: HPDMA1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 HPDMA1EN: HPDMA1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 HPDMA1RST: HPDMA1 reset
Set and cleared by software.
0: Writing 0 releases HPDMA1 reset. Reading 0 means that HPDMA1 reset is released.
1: Writing 1 asserts HPDMA1 reset. Reading 1 means that HPDMA1 reset is asserted.
20.8.82 RCC HPDMA2 configuration register (RCC_HPDMA2CFGR)
Address offset: 0x560
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the HPDMA2. Write accesses are defined according to the RCC local resource number 84 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HPDM A2LPE N | HPDM A2EN | HPDM A2RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 HPDMA2LPEN: HPDMA2 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 HPDMA2EN: HPDMA2 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 HPDMA2RST: HPDMA2 reset
Set and cleared by software.
0: Writing 0 releases HPDMA2 reset. Reading 0 means that HPDMA2 reset is released.
1: Writing 1 asserts HPDMA2 reset. Reading 1 means that HPDMA2 reset is asserted.
20.8.83 RCC HPDMA3 configuration register (RCC_HPDMA3CFGR)
Address offset: 0x564
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the HPDMA3. Write accesses are defined according to the RCC local resource number 85 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HPDM A3LPE N | HPDM A3EN | HPDM A3RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 HPDMA3LPEN: HPDMA3 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 HPDMA3EN: HPDMA3 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 HPDMA3RST: HPDMA3 reset
Set and cleared by software.
0: Writing 0 releases HPDMA3 reset. Reading 0 means that HPDMA3 reset is released.
1: Writing 1 asserts HPDMA3 reset. Reading 1 means that HPDMA3 reset is asserted.
20.8.84 RCC IPCC1 configuration register (RCC_IPCC1CFGR)
Address offset: 0x570
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of IPCC1. Write accesses are defined according to the RCC local resource number 87 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IPCC1LPEN | IPCC1EN | IPCC1RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 IPCC1LPEN: IPCC1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 IPCC1EN: IPCC1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 IPCC1RST: IPCC1 reset
Set and cleared by software.
0: Writing 0 releases IPCC1 reset. Reading 0 means that IPCC1 reset is released.
1: Writing 1 asserts IPCC1 reset. Reading 1 means that IPCC1 reset is asserted.
20.8.85 RCC RTC configuration register (RCC_RTCCFGR)
Address offset: 0x578
Reset value: 0x0000 0004
This register is used to control clock gating, low-power, and autonomous clock mode behavior of the RTC. Wait states are inserted in case of successive write accesses to this register. The number of wait states may be up to 7 cycles of the RCC clock. Write accesses are defined according to the RCC local resource number 102 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RTCLP EN | RTCEN | Res. |
| rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 RTCLPEN: RTC bus clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables APB clock in CSleep. Reading 0 means that APB clock is disabled in CSleep.
1: Writing 1 enables APB clock in CSleep. Reading 1 means that APB clocks is enabled in CSleep.
Bit 1 RTCEN: RTC bus clock enable
Set and cleared by software.
0: Writing 0 disables APB clock. Reading 0 means that APB clock is disabled.
1: Writing 1 enables APB clock. Reading 1 means that APB clock is enabled.
Bit 0 Reserved, must be kept at reset value.
20.8.86 RCC SYSCPU1 configuration register (RCC_SYSCPU1CFGR)
Address offset: 0x580
Reset value: 0x0000 0004
This register is used to control clock gating and low-power behavior of the CPU1 system configuration. Write accesses are defined according to the RCC local resource number 106 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SYSCP U1LPE N | SYSCP U1EN | Res. |
| rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SYSCPU1LPEN: CPU1 system configuration clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables APB clock in CSleep. Reading 0 means that APB clock is disabled in CSleep.
1: Writing 1 enables APB clock in CSleep. Reading 1 means that APB clocks is enabled in CSleep.
Bit 1 SYSCPU1EN: CPU1 system configuration clock enable
Set and cleared by software.
0: Writing 0 disables APB clock. Reading 0 means that APB clock is disabled.
1: Writing 1 enables APB clock. Reading 1 means that APB clock is enabled.
Bit 0 Reserved, must be kept at reset value.
20.8.87 RCC BSEC configuration register (RCC_BSECCFGR)
Address offset: 0x584
Reset value: 0x0000 0004
This register is used to control clock gating and low-power behavior of the BSEC. Write accesses are defined according to the RCC local resource number 103 configuration (see Table 161 for details). Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BSECL | BSECE | |
| PEN rw | N rw | Res. | |||||||||||||
| Bit 2 | BSECLPEN | : BSEC clock enable during CSleep | |||||||||||||
| Bit 1 | BSECEN | : BSEC clock enable |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 BSECLPEN: BSEC clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables APB clock in CSleep. Reading 0 means that APB clock is disabled in CSleep.
1: Writing 1 enables APB clock in CSleep. Reading 1 means that APB clocks is enabled in CSleep.
Bit 1 BSECEN: BSEC clock enable
Set and cleared by software.
0: Writing 0 disables APB clock. Reading 0 means that APB clock is disabled.
1: Writing 1 enables APB clock. Reading 1 means that APB clock is enabled.
Bit 0 Reserved, must be kept at reset value.
20.8.88 RCC PLL2 configuration register 1 (RCC_PLL2CFGR1)
Address offset: 0x590
Reset value: 0x0000 0001
This register is used to configure PLL2 in the device. Write accesses are defined according to the RCC local resource number 104 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | CKREF ST | Res. | Res. | Res. | PLLRD Y | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rc_w | r | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | PLLEN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SSMO DRST |
| rw | rw |
Bits 31:29 Reserved, must be kept at reset value.
Bit 28 CKREFST: PLL2 reference clock state
Set by hardware and cleared by software. Indicates if PLL2 reference clock is running.
After any reset, this bit is updated after 5 clock cycles of the selected PLL reference clock.
0: Reading 0 means that PLL2 reference clock is not running. Writing 0 resets the reference clock running detector.
1: Reading 1 means that PLL2 reference clock is running. Writing 1 resets the reference clock running detector.
Bits 27:25 Reserved, must be kept at reset value.
Bit 24 PLLRDY: PLL2 clock ready flag
Set by hardware to indicate when the PLL2 is locked
0: PLL2 unlocked (default after reset)
1: PLL2 locked
Bits 23:9 Reserved, must be kept at reset value.
Bit 8 PLLEN: PLL2 enable
Set and cleared by software to enable PLL2.
0: PLL2 off (default after reset)
1: PLL2 on
Bits 7:1 Reserved, must be kept at reset value.
Bit 0 SSMODRST: PLL2 spread-spectrum modulator reset
Set and cleared by software.
0: PLL2 spread-spectrum modulator reset module is released.
1: PLL2 spread-spectrum modulator reset module is asserted (default after reset).
20.8.89 RCC PLL2 configuration register 2 (RCC_PLL2CFGR2)
Address offset: 0x594
Reset value: 0x0000 0000
This register is used to configure PLL2 in the device. Write accesses are defined according to the RCC local resource number 104 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | FBDIV[11:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FREFDIV[5:0] | |||||
| rw | rw | rw | rw | rw | rw | ||||||||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:16 FBDIV[11:0]: PLL2 VCO multiplication factor
Set and cleared by software to control the VCO multiplication factor.
In integer mode, this value must be set between 16 and 640.
In fractional mode, this value must be set between 20 and 320.
Bits 15:6 Reserved, must be kept at reset value.
Bits 5:0 FREFDIV[5:0]: PLL2 reference input clock divide frequency ratio
Set and cleared by software.
0x0: Not applicable when PLL2 is enabled
0x1: FREF divided by 1 (min value)
0x2: FREF divided by 2
0x3: FREF divided by 3
...
0x3C: FREF divided by 60
0x3D: FREF divided by 61
0x3E: FREF divided by 62
0x3F: FREF divided by 63

20.8.90 RCC PLL2 configuration register 3 (RCC_PLL2CFGR3)
Address offset: 0x598
Reset value: 0x0400 0000
This register is used to configure the PLL2 in the device. Write accesses are defined according to the RCC local resource number 104 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | SSCGDIS | DACEN | DOWNSPREAD | FRACIN[23:16] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FRACIN[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:27 Reserved, must be kept at reset value.
Bit 26 SSCGDIS: PLL2 spread-spectrum modulator enable
Set and cleared by software to enable the PLL2 clock spreading generator.
0: PLL2 spread-spectrum modulator enabled
1: PLL2 spread-spectrum modulator disabled (default after reset)
Bit 25 DACEN: PLL2 noise canceling DAC enable in fractional mode
Set and cleared by software to enable the noise cancellation in fractional mode.
0: DAC not active (default after reset)
1: DAC active
Bit 24 DOWNSPREAD: PLL2 VCO frequency modulation mode
Set and cleared by software to select the PLL2 clock spreading mode.
0: Center-spread modulation selected (default after reset)
1: Down-spread modulation selected
Bits 23:0 FRACIN[23:0]: Fractional part of PLL2 VCO multiplication factor
Set and cleared by software to control the VCO fractional multiplication factor.
VCO output frequency = FREF*(FBDIV+FRAC/2²⁴)/FREFDIV
20.8.91 RCC PLL2 configuration register 4 (RCC_PLL2CFGR4)
Address offset: 0x59C
Reset value: 0x0000 0000
This register is used to configure PLL2 in the device. Write accesses are defined according to the RCC local resource number 104 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | BYPAS S | FOUTP OSTDI VEN | DSME N | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | rw | rw |
Bits 31:11 Reserved, must be kept at reset value.
Bit 10 BYPASS: PLL2 FOUTPOSTDIV bypass
Set and cleared by software to bypass FOUTPOSTDIV by FREF.
0: FOUTPOSTDIV driven by POSTDIV2
1: FOUTPOSTDIV driven by FREF
Bit 9 FOUTPOSTDIVEN: PLL2 output and post divider enable
Set and cleared by software to enable PLL2 output and post dividers.
0: FOUTPOSTDIV output, POSTDIV1, and POSTDIV2 are powered down.
1: FOUTPOSTDIV output, POSTDIV1, and POSTDIV2 dividers are active.
Bit 8 DSMEN: PLL2 delta-sigma modulator enable
Set and cleared by software to enable the delta-sigma modulator (DSM).
0: DSM is powered down.
1: DSM is active.
Bits 7:0 Reserved, must be kept at reset value.
20.8.92 RCC PLL2 configuration register 5 (RCC_PLL2CFGR5)
Address offset: 0x5A0
Reset value: 0x0000 0000
This register is used to configure PLL2 in the device. Write accesses are defined according to the RCC local resource number 104 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SPREAD[4:0] | ||||
| rw | rw | rw | rw | rw | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DIVVAL[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:21 Reserved, must be kept at reset value.
Bits 20:16 SPREAD[4:0]: Modulation depth adjustment for PLL2
Set and cleared by software to adjust the modulation depth of clock spreading generator.
Bits 15:4 Reserved, must be kept at reset value.
Bits 3:0 DIVVAL[3:0]: Modulation frequency adjustment for PLL2
Set and cleared by software to adjust the modulation frequency of clock spreading generator.
20.8.93 RCC PLL2 configuration register 6 (RCC_PLL2CFGR6)
Address offset: 0x5A8
Reset value: 0x0000 0000
This register is used to configure PLL2 in the product. Write accesses are defined according to the RCC local resource number 104 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | POSTDIV1[2:0] | ||
| rw | rw | rw | |||||||||||||
Bits 31:3 Reserved, must be kept at reset value.
Bits 2:0 POSTDIV1[2:0]: PLL2 VCO frequency divide level 1
Set and cleared by software to divide the VCO frequency output.
0x0: Not applicable
0x1: FOUTVCO divided by 1 (minimum value)
...
0x6: FOUTVCO divided by 6
0x7: FOUTVCO divided by 7
20.8.94 RCC PLL2 configuration register 7 (RCC_PLL2CFGR7)
Address offset: 0x5AC
Reset value: 0x0000 0000
This register is used to configure PLL2 in the product. Write accesses are defined according to the RCC local resource number 104 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | POSTDIV2[2:0] | ||
| rw | rw | rw | |||||||||||||
Bits 31:3 Reserved, must be kept at reset value.
Bits 2:0 POSTDIV2[2:0]: PLL2 VCO frequency divide level 2
Set and cleared by software to divide the VCO frequency output.
0x0: Not applicable
0x1: FOUTVCO/POSTDIV1 divided by 1 (minimum value)
...
0x6: FOUTVCO/POSTDIV1 divided by 6
0x7: FOUTVCO/POSTDIV1 divided by 7
Note: \(FOUTPOSTDIV = FOUTVCO / POSTDIV1 * POSTDIV2\)
20.8.95 RCC HSI frequency monitoring control register (RCC_HSIFMONCR)
Address offset: 0x5E0
Reset value: 0x001F 07A1
This register is used to control the HSI frequency monitoring module. Write accesses are defined according to the RCC local resource number 113 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| HSIMO NF | HSIMO NIE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HSIDEV[5:0] | |||||
| rc_w1 | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| HSIMO NEN | Res. | Res. | Res. | Res. | HSIREF[10:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bit 31 HSIMONF: HSI clock period monitor interrupt flag
Reset by software by writing 1 to this flag. Set by hardware when a deviation is detected on HSI clock period.
0: No deviation detected on HSI clock period (default after reset)
1: Deviation detected on HSI clock period. Writing 1 clears this flag.
Bit 30 HSIMONIE: HSI clock period monitor interrupt enable
Set and cleared by software to enable/disable interrupt caused by HSI clock period monitoring.
0: HSI clock period monitoring interrupt disabled (default after reset)
1: HSI clock period monitoring interrupt enabled
Bits 29:22 Reserved, must be kept at reset value.
Bits 21:16 HSIDEV[5:0]: HSI clock count deviation value
Set and cleared by software.
Bit 15 HSIMONEN: HSI clock period monitor enable
Set and cleared by software.
0: Writing 0 disables HSI clock period monitoring. Reading 0 means that HSI clock period monitoring is disabled.
1: Writing 1 enables HSI clock period monitoring. Reading 1 means that HSI clock period monitoring is enabled.
Bits 14:11 Reserved, must be kept at reset value.
Bits 10:0 HSIREF[10:0]: HSI clock count reference value
Set and cleared by software.
20.8.96 RCC HSI frequency value register (RCC_HSIFVALR)
Address offset: 0x5E4
Reset value: 0x0000 0000
This read-only access register contains the number of HSI clock cycles measured between consecutive edges of LSE. Writing has no effect. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | HSIVAL[10:0] | ||||||||||
| r | r | r | r | r | r | r | r | r | r | r | |||||
Bits 31:11 Reserved, must be kept at reset value.
Bits 10:0 HSIVAL[10:0]: HSI clock-cycle counter value
Set by hardware.
20.8.97 RCC MSI frequency monitoring control register (RCC_MSIFMONCR)
Address offset: 0x5E8
Reset value: 0x000F 01E8
This register is used to control the MSI frequency monitoring module. Write accesses are defined according to the RCC local resource number 88 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MSIMONF | MSIMONIE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MSIDEV[4:0] | ||||
| rc_w1 | rw | rw | rw | rw | rw | rw | |||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MSIMONEN | Res. | Res. | Res. | Res. | Res. | Res. | MSIREF[8:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bit 31 MSIMONF: MSI clock period monitor interrupt flag
Reset by software by writing 1 to this flag. Set by hardware when a deviation is detected on MSI clock period.
0: No deviation detected on MSI clock period (default after reset)
1: Deviation detected on MSI clock period. Writing 1 clears this flag.
Bit 30 MSIMONIE: MSI clock period monitor interrupt enable
Set and cleared by software to enable/disable interrupt caused by MSI clock period monitoring.
0: MSI clock period monitoring interrupt disabled (default after reset)
1: MSI clock period monitoring interrupt enabled
Bits 29:21 Reserved, must be kept at reset value.
Bits 20:16 MSIDEV[4:0]: MSI clock count deviation value
Set and cleared by software.
Bit 15 MSIMONEN: MSI clock period monitor enable
Set and cleared by software.
0: Writing 0 disables MSI clock period monitoring. Reading 0 means that MSI clock period monitoring is disabled.
1: Writing 1 enables MSI clock period monitoring. Reading 1 means that MSI clock period monitoring is enabled.
Bits 14:9 Reserved, must be kept at reset value.
Bits 8:0 MSIREF[8:0]: MSI clock count reference value
Set and cleared by software.
20.8.98 RCC MSI frequency value register (RCC_MSIFVALR)
Address offset: 0x5EC
Reset value: 0x0000 0000
This read-only access register contains the number of MSI clock cycles measured between consecutive edges of LSE. Writing has no effect. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | MSIVAL[8:0] | ||||||||
| r | r | r | r | r | r | r | r | r | |||||||
Bits 31:9 Reserved, must be kept at reset value.
Bits 8:0 MSIVAL[8:0]: MSI clock-cycle counter value
Set by hardware.
20.8.99 RCC TIM1 configuration register (RCC_TIM1CFGR)
Address offset: 0x700
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM1.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM1LP | TIM1E | TIM1R |
| EN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | TIM1LPEN | : TIM1 clock enable during CSleep | |||||||||||||
| Bit 1 | TIM1EN | : TIM1 clock enable | |||||||||||||
| Bit 0 | TIM1RST | : TIM1 reset | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM2LP | TIM2E | TIM2R |
| EN | N | ST | |||||||||||||
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM1LPEN: TIM1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM1EN: TIM1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM1RST: TIM1 reset
Set and cleared by software.
0: Writing 0 releases TIM1 reset. Reading 0 means that TIM1 reset is released.
1: Writing 1 asserts TIM1 reset. Reading 1 means that TIM1 reset is asserted.
20.8.100 RCC TIM2 configuration register (RCC_TIM2CFGR)
Address offset: 0x704
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM2.
Any read access is allowed.
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM2LPEN: TIM2 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM2EN: TIM2 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM2RST: TIM2 reset
Set and cleared by software.
0: Writing 0 releases TIM2 reset. Reading 0 means that TIM2 reset is released.
1: Writing 1 asserts TIM2 reset. Reading 1 means that TIM2 reset is asserted.
20.8.101 RCC TIM3 configuration register (RCC_TIM3CFGR)
Address offset: 0x708
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM3.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM3LP | TIM3E | TIM3R |
| EN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | TIM3LPEN | : TIM3 clock enable during CSleep | |||||||||||||
| Bit 1 | TIM3EN | : TIM3 clock enable | |||||||||||||
| Bit 0 | TIM3RST | : TIM3 reset |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM3LPEN: TIM3 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM3EN: TIM3 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM3RST: TIM3 reset
Set and cleared by software.
0: Writing 0 releases TIM3 reset. Reading 0 means that TIM3 reset is released.
1: Writing 1 asserts TIM3 reset. Reading 1 means that TIM3 reset is asserted.
20.8.102 RCC TIM4 configuration register (RCC_TIM4CFGR)
Address offset: 0x70C
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM4.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM4LP | TIM4E | TIM4R |
| EN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | TIM4LPEN | : TIM4 clock enable during CSleep | |||||||||||||
| Bit 1 | TIM4EN | : TIM4 clock enable | |||||||||||||
| Bit 0 | TIM4RST | : TIM4 reset | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM5LP | TIM5E | TIM5R |
| EN | N | ST | |||||||||||||
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM4LPEN: TIM4 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM4EN: TIM4 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM4RST: TIM4 reset
Set and cleared by software.
0: Writing 0 releases TIM4 reset. Reading 0 means that TIM4 reset is released.
1: Writing 1 asserts TIM4 reset. Reading 1 means that TIM4 reset is asserted.
20.8.103 RCC TIM5 configuration register (RCC_TIM5CFGR)
Address offset: 0x710
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM5.
Any read access is allowed.
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM5LPEN: TIM5 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM5EN: TIM5 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM5RST: TIM5 reset
Set and cleared by software.
0: Writing 0 releases TIM5 reset. Reading 0 means that TIM5 reset is released.
1: Writing 1 asserts TIM5 reset. Reading 1 means that TIM5 reset is asserted.
20.8.104 RCC TIM6 configuration register (RCC_TIM6CFGR)
Address offset: 0x714
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM6.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM6LP | TIM6E | TIM6R |
| EN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | TIM6LPEN | : TIM6 clock enable during CSleep | |||||||||||||
| Bit 1 | TIM6EN | : TIM6 clock enable | |||||||||||||
| Bit 0 | TIM6RST | : TIM6 reset |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM6LPEN: TIM6 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM6EN: TIM6 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM6RST: TIM6 reset
Set and cleared by software.
0: Writing 0 releases TIM6 reset. Reading 0 means that TIM6 reset is released.
1: Writing 1 asserts TIM6 reset. Reading 1 means that TIM6 reset is asserted.
20.8.105 RCC TIM7 configuration register (RCC_TIM7CFGR)
Address offset: 0x718
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM7.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM7LP | TIM7E | TIM7R |
| EN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | TIM7LPEN | : TIM7 clock enable during CSleep | |||||||||||||
| Bit 1 | TIM7EN | : TIM7 clock enable | |||||||||||||
| Bit 0 | TIM7RST | : TIM7 reset | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM8LP | TIM8E | TIM8R |
| EN | N | ST | |||||||||||||
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM7LPEN: TIM7 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM7EN: TIM7 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM7RST: TIM7 reset
Set and cleared by software.
0: Writing 0 releases TIM7 reset. Reading 0 means that TIM7 reset is released.
1: Writing 1 asserts TIM7 reset. Reading 1 means that TIM7 reset is asserted.
20.8.106 RCC TIM8 configuration register (RCC_TIM8CFGR)
Address offset: 0x71C
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM8.
Any read access is allowed.
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM8LPEN: TIM8 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM8EN: TIM8 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM8RST: TIM8 reset
Set and cleared by software.
0: Writing 0 releases TIM8 reset. Reading 0 means that TIM8 reset is released.
1: Writing 1 asserts TIM8 reset. Reading 1 means that TIM8 reset is asserted.
20.8.107 RCC TIM10 configuration register (RCC_TIM10CFGR)
Address offset: 0x720
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM10. Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM10L | TIM10E | TIM10 |
| PEN | N | RST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | TIM10LPEN | : TIM10 clock enable during CSleep | |||||||||||||
| Bit 1 | TIM10EN | : TIM10 clock enable | |||||||||||||
| Bit 0 | TIM10RST | : TIM10 reset |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM10LPEN: TIM10 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM10EN: TIM10 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM10RST: TIM10 reset
Set and cleared by software.
0: Writing 0 releases TIM10 reset. Reading 0 means that TIM10 reset is released.
1: Writing 1 asserts TIM10 reset. Reading 1 means that TIM10 reset is asserted.
20.8.108 RCC TIM11 configuration register (RCC_TIM11CFGR)
Address offset: 0x724
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM11.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM11L | TIM11E | TIM11R |
| PEN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | TIM11LPEN | : TIM11 clock enable during CSleep | |||||||||||||
| Bit 1 | TIM11EN | : TIM11 clock enable | |||||||||||||
| Bit 0 | TIM11RST | : TIM11 reset | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM12L | TIM12E | TIM12 |
| PEN | N | RST | |||||||||||||
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM11LPEN: TIM11 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM11EN: TIM11 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM11RST: TIM11 reset
Set and cleared by software.
0: Writing 0 releases TIM11 reset. Reading 0 means that TIM11 reset is released.
1: Writing 1 asserts TIM11 reset. Reading 1 means that TIM11 reset is asserted.
20.8.109 RCC TIM12 configuration register (RCC_TIM12CFGR)
Address offset: 0x728
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM12.
Any read access is allowed.
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM12LPEN: TIM12 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM12EN: TIM12 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM12RST: TIM12 reset
Set and cleared by software.
0: Writing 0 releases TIM12 reset. Reading 0 means that TIM12 reset is released.
1: Writing 1 asserts TIM12 reset. Reading 1 means that TIM12 reset is asserted.
20.8.110 RCC TIM13 configuration register (RCC_TIM13CFGR)
Address offset: 0x72C
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM13. Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM13L | TIM13E | TIM13 |
| PEN | N | RST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | TIM13LPEN | : TIM13 clock enable during CSleep | |||||||||||||
| Bit 1 | TIM13EN | : TIM13 clock enable | |||||||||||||
| Bit 0 | TIM13RST | : TIM13 reset |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM13LPEN: TIM13 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM13EN: TIM13 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM13RST: TIM13 reset
Set and cleared by software.
0: Writing 0 releases TIM13 reset. Reading 0 means that TIM13 reset is released.
1: Writing 1 asserts TIM13 reset. Reading 1 means that TIM13 reset is asserted.
20.8.111 RCC TIM14 configuration register (RCC_TIM14CFGR)
Address offset: 0x730
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM14.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM14L | TIM14E | TIM14 |
| PEN | N | RST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | TIM14LPEN | : TIM14 clock enable during CSleep | |||||||||||||
| Bit 1 | TIM14EN | : TIM14 clock enable | |||||||||||||
| Bit 0 | TIM14RST | : TIM14 reset | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM15L | TIM15E | TIM15 |
| PEN | N | RST | |||||||||||||
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM14LPEN: TIM14 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM14EN: TIM14 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM14RST: TIM14 reset
Set and cleared by software.
0: Writing 0 releases TIM14 reset. Reading 0 means that TIM14 reset is released.
1: Writing 1 asserts TIM14 reset. Reading 1 means that TIM14 reset is asserted.
20.8.112 RCC TIM15 configuration register (RCC_TIM15CFGR)
Address offset: 0x734
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM15.
Any read access is allowed.
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM15LPEN: TIM15 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM15EN: TIM15 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM15RST: TIM15 reset
Set and cleared by software.
0: Writing 0 releases TIM15 reset. Reading 0 means that TIM15 reset is released.
1: Writing 1 asserts TIM15 reset. Reading 1 means that TIM15 reset is asserted.
20.8.113 RCC TIM16 configuration register (RCC_TIM16CFGR)
Address offset: 0x738
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM16. Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM16L | TIM16E | TIM16 |
| PEN | N | RST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | TIM16LPEN | : TIM16 clock enable during CSleep | |||||||||||||
| Bit 1 | TIM16EN | : TIM16 clock enable | |||||||||||||
| Bit 0 | TIM16RST | : TIM16 reset |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM16LPEN: TIM16 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM16EN: TIM16 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM16RST: TIM16 reset
Set and cleared by software.
0: Writing 0 releases TIM16 reset. Reading 0 means that TIM16 reset is released.
1: Writing 1 asserts TIM16 reset. Reading 1 means that TIM16 reset is asserted.
20.8.114 RCC TIM17 configuration register (RCC_TIM17CFGR)
Address offset: 0x73C
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the TIM17.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM17L | TIM17E | TIM17 |
| PEN | N | RST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | TIM17LPEN | : TIM17 clock enable during CSleep | |||||||||||||
| Bit 1 | TIM17EN | : TIM17 clock enable | |||||||||||||
| Bit 0 | TIM17RST | : TIM17 reset | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPTIM1 | LPTIM1 | LPTIM1 |
| LPEN | EN | RST | |||||||||||||
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 TIM17LPEN: TIM17 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 TIM17EN: TIM17 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 TIM17RST: TIM17 reset
Set and cleared by software.
0: Writing 0 releases TIM17 reset. Reading 0 means that TIM17 reset is released.
1: Writing 1 asserts TIM17 reset. Reading 1 means that TIM17 reset is asserted.
20.8.115 RCC LPTIM1 configuration register (RCC_LPTIM1CFGR)
Address offset: 0x744
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the LPTIM1.
Any read access is allowed.
Bits 31:3 Reserved, must be kept at reset value.
- Bit 2 LPTIM1LPEN: LPTIM1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep. - Bit 1 LPTIM1EN: LPTIM1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled. - Bit 0 LPTIM1RST: LPTIM1 reset
Set and cleared by software.
0: Writing 0 releases LPTIM1 reset. Reading 0 means that LPTIM1 reset is released.
1: Writing 1 asserts LPTIM1 reset. Reading 1 means that LPTIM1 reset is asserted.
20.8.116 RCC LPTIM2 configuration register (RCC_LPTIM2CFGR)
Address offset: 0x748
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the LPTIM2.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPTIM2 LPEN | LPTIM2 EN | LPTIM2 RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
- Bit 2 LPTIM2LPEN: LPTIM2 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep. - Bit 1 LPTIM2EN: LPTIM2 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled. - Bit 0 LPTIM2RST: LPTIM2 reset
Set and cleared by software.
0: Writing 0 releases LPTIM2 reset. Reading 0 means that LPTIM2 reset is released.
1: Writing 1 asserts LPTIM2 reset. Reading 1 means that LPTIM2 reset is asserted.
20.8.117 RCC LPTIM3 configuration register (RCC_LPTIM3CFGR)
Address offset: 0x74C
Reset value: 0x0000 0004
This register is used to control reset, clock gating, low-power behavior of the LPTIM3.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPTIM3 LPEN | LPTIM3 EN | LPTIM3 RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 LPTIM3LPEN: LPTIM3 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 LPTIM3EN: LPTIM3 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 LPTIM3RST: LPTIM3 reset
Set and cleared by software.
0: Writing 0 releases LPTIM3 reset. Reading 0 means that LPTIM3 reset is released.
1: Writing 1 asserts LPTIM3 reset. Reading 1 means that LPTIM3 reset is asserted.
20.8.118 RCC LPTIM4 configuration register (RCC_LPTIM4CFGR)
Address offset: 0x750
Reset value: 0x0000 0004
This register is used to control reset, clock gating, low-power behavior of the LPTIM4.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPTIM4 LPEN | LPTIM4 EN | LPTIM4 RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
- Bit 2 LPTIM4LPEN: LPTIM4 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep. - Bit 1 LPTIM4EN: LPTIM4 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled. - Bit 0 LPTIM4RST: LPTIM4 reset
Set and cleared by software.
0: Writing 0 releases LPTIM4 reset. Reading 0 means that LPTIM4 reset is released.
1: Writing 1 asserts LPTIM4 reset. Reading 1 means that LPTIM4 reset is asserted.
20.8.119 RCC LPTIM5 configuration register (RCC_LPTIM5CFGR)
Address offset: 0x754
Reset value: 0x0000 0004
This register is used to control reset, clock gating, low-power behavior of the LPTIM5.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPTIM5 LPEN | LPTIM5 EN | LPTIM5 RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
- Bit 2 LPTIM5LPEN: LPTIM5 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep. - Bit 1 LPTIM5EN: LPTIM5 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled. - Bit 0 LPTIM5RST: LPTIM5 reset
Set and cleared by software.
0: Writing 0 releases LPTIM5 reset. Reading 0 means that LPTIM5 reset is released.
1: Writing 1 asserts LPTIM5 reset. Reading 1 means that LPTIM5 reset is asserted.
20.8.120 RCC SPI1 configuration register (RCC_SPI1CFGR)
Address offset: 0x758
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the SPI1.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SPI1LP | SPI1E | SPI1R |
| EN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | SPI1LPEN | : SPI1 clock enable during CSleep | |||||||||||||
| Bit 1 | SPI1EN | : SPI1 clock enable | |||||||||||||
| Bit 0 | SPI1RST | : SPI1 reset | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SPI2LP | SPI2E | SPI2R |
| EN | N | ST | |||||||||||||
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SPI1LPEN: SPI1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SPI1EN: SPI1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SPI1RST: SPI1 reset
Set and cleared by software.
0: Writing 0 releases SPI1 reset. Reading 0 means that SPI1 reset is released.
1: Writing 1 asserts SPI1 reset. Reading 1 means that SPI1 reset is asserted.
20.8.121 RCC SPI2 configuration register (RCC_SPI2CFGR)
Address offset: 0x75C
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the SPI2.
Any read access is allowed.
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SPI2LPEN: SPI2 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SPI2EN: SPI2 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SPI2RST: SPI2 reset
Set and cleared by software.
0: Writing 0 releases SPI2 reset. Reading 0 means that SPI2 reset is released.
1: Writing 1 asserts SPI2 reset. Reading 1 means that SPI2 reset is asserted.
20.8.122 RCC SPI3 configuration register (RCC_SPI3CFGR)
Address offset: 0x760
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the SPI3.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SPI3LP | SPI3E | SPI3R |
| EN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | SPI3LPEN | : SPI3 clock enable during CSleep | |||||||||||||
| Bit 1 | SPI3EN | : SPI3 clock enable | |||||||||||||
| Bit 0 | SPI3RST | : SPI3 reset |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SPI3LPEN: SPI3 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SPI3EN: SPI3 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SPI3RST: SPI3 reset
Set and cleared by software.
0: Writing 0 releases SPI3 reset. Reading 0 means that SPI3 reset is released.
1: Writing 1 asserts SPI3 reset. Reading 1 means that SPI3 reset is asserted.
20.8.123 RCC SPI4 configuration register (RCC_SPI4CFGR)
Address offset: 0x764
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the SPI4. Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SPI4LP | SPI4E | SPI4R |
| EN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | SPI4LPEN | : SPI4 clock enable during CSleep | |||||||||||||
| Bit 1 | SPI4EN | : SPI4 clock enable | |||||||||||||
| Bit 0 | SPI4RST | : SPI4 reset | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SPI5LP | SPI5E | SPI5R |
| EN | N | ST | |||||||||||||
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SPI4LPEN: SPI4 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SPI4EN: SPI4 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SPI4RST: SPI4 reset
Set and cleared by software.
0: Writing 0 releases SPI4 reset. Reading 0 means that SPI4 reset is released.
1: Writing 1 asserts SPI4 reset. Reading 1 means that SPI4 reset is asserted.
20.8.124 RCC SPI5 configuration register (RCC_SPI5CFGR)
Address offset: 0x768
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the SPI5. Any read access is allowed.
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SPI5LPEN: SPI5 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SPI5EN: SPI5 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SPI5RST: SPI5 reset
Set and cleared by software.
0: Writing 0 releases SPI5 reset. Reading 0 means that SPI5 reset is released.
1: Writing 1 asserts SPI5 reset. Reading 1 means that SPI5 reset is asserted.
20.8.125 RCC SPI6 configuration register (RCC_SPI6CFGR)
Address offset: 0x76C
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the SPI6.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SPI6LP | SPI6E | SPI6R |
| EN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | SPI6LPEN | : SPI6 clock enable during CSleep | |||||||||||||
| Bit 1 | SPI6EN | : SPI6 clock enable | |||||||||||||
| Bit 0 | SPI6RST | : SPI6 reset |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SPI6LPEN: SPI6 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SPI6EN: SPI6 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SPI6RST: SPI6 reset
Set and cleared by software.
0: Writing 0 releases SPI6 reset. Reading 0 means that SPI6 reset is released.
1: Writing 1 asserts SPI6 reset. Reading 1 means that SPI6 reset is asserted.
20.8.126 RCC SPDIFRX configuration register (RCC_SPDIFRXCFGR)
Address offset: 0x778
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the SPDIFRX. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SPDIF RXLPEN | SPDIF RXEN | SPDIF RXRST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SPDIFRXLPEN: SPDIFRX clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SPDIFRXEN: SPDIFRX clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SPDIFRXRST: SPDIFRX reset
Set and cleared by software.
0: Writing 0 releases SPDIFRX reset. Reading 0 means that SPDIFRX reset is released.
1: Writing 1 asserts SPDIFRX reset. Reading 1 means that SPDIFRX reset is asserted.
20.8.127 RCC USART1 configuration register (RCC_USART1CFGR)
Address offset: 0x77C
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the USART1. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | USART 1LPEN | USART 1EN | USART 1RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 USART1LPEN: USART1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 USART1EN: USART1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 USART1RST: USART1 reset
Set and cleared by software.
0: Writing 0 releases USART1 reset. Reading 0 means that USART1 reset is released.
1: Writing 1 asserts USART1 reset. Reading 1 means that USART1 reset is asserted.
20.8.128 RCC USART2 configuration register (RCC_USART2CFGR)
Address offset: 0x780
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the USART2. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | USART 2LPEN | USART 2EN | USART 2RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 USART2LPEN: USART2 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 USART2EN: USART2 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 USART2RST: USART2 reset
Set and cleared by software.
0: Writing 0 releases USART2 reset. Reading 0 means that USART2 reset is released.
1: Writing 1 asserts USART2 reset. Reading 1 means that USART2 reset is asserted.
20.8.129 RCC USART3 configuration register (RCC_USART3CFGR)
Address offset: 0x784
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the USART3.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | USART3LPEN | USART3EN | USART3RST |
| rw | rw | rw | |||||||||||||
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 USART3LPEN: USART3 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 USART3EN: USART3 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 USART3RST: USART3 reset
Set and cleared by software.
0: Writing 0 releases USART3 reset. Reading 0 means that USART3 reset is released.
1: Writing 1 asserts USART3 reset. Reading 1 means that USART3 reset is asserted.
20.8.130 RCC UART4 configuration register (RCC_UART4CFGR)
Address offset: 0x788
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the UART4.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | UART4LPEN | UART4EN | UART4RST |
| rw | rw | rw | |||||||||||||
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 UART4LPEN: UART4 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 UART4EN: UART4 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 UART4RST: UART4 reset
Set and cleared by software.
0: Writing 0 releases UART4 reset. Reading 0 means that UART4 reset is released.
1: Writing 1 asserts UART4 reset. Reading 1 means that UART4 reset is asserted.
20.8.131 RCC UART5 configuration register (RCC_UART5CFGR)
Address offset: 0x78C
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the UART5.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | UART5 | UART5 | UART5 |
| LPEN | EN | RST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | UART5LPEN | : UART5 clock enable during CSleep | |||||||||||||
| Bit 1 | UART5EN | : UART5 clock enable | |||||||||||||
| Bit 0 | UART5RST | : UART5 reset |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 UART5LPEN: UART5 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 UART5EN: UART5 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 UART5RST: UART5 reset
Set and cleared by software.
0: Writing 0 releases UART5 reset. Reading 0 means that UART5 reset is released.
1: Writing 1 asserts UART5 reset. Reading 1 means that UART5 reset is asserted.
20.8.132 RCC USART6 configuration register (RCC_USART6CFGR)
Address offset: 0x790
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the USART6.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | USART 6LPEN | USART 6EN | USART 6RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 USART6LPEN: USART6 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 USART6EN: USART6 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 USART6RST: USART6 reset
Set and cleared by software.
0: Writing 0 releases USART6 reset. Reading 0 means that USART6 reset is released.
1: Writing 1 asserts USART6 reset. Reading 1 means that USART6 reset is asserted.
20.8.133 RCC UART7 configuration register (RCC_UART7CFGR)
Address offset: 0x794
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the UART7.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | UART7 LPEN | UART7 EN | UART7 RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 UART7LPEN: UART7 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 UART7EN: UART7 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 UART7RST: UART7 reset
Set and cleared by software.
0: Writing 0 releases UART7 reset. Reading 0 means that UART7 reset is released.
1: Writing 1 asserts UART7 reset. Reading 1 means that UART7 reset is asserted.
20.8.134 RCC LPUART1 configuration register (RCC_LPUART1CFGR)
Address offset: 0x7A0
Reset value: 0x0000 0004
This register is used to control reset, clock gating, low-power behavior of the LPUART1.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPUART1LPEN | LPUART1EN | LPUART1RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 LPUART1LPEN: LPUART1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 LPUART1EN: LPUART1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 LPUART1RST: LPUART1 reset
Set and cleared by software.
0: Writing 0 releases LPUART1 reset. Reading 0 means that LPUART1 reset is released.
1: Writing 1 asserts LPUART1 reset. Reading 1 means that LPUART1 reset is asserted.
20.8.135 RCC I2C1 configuration register (RCC_I2C1CFGR)
Address offset: 0x7A4
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the I2C1. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | I2C1LP EN | I2C1EN | I2C1RS T |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 I2C1LPEN: I2C1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 I2C1EN: I2C1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 I2C1RST: I2C1 reset
Set and cleared by software.
0: Writing 0 releases I2C1 reset. Reading 0 means that I2C1 reset is released.
1: Writing 1 asserts I2C1 reset. Reading 1 means that I2C1 reset is asserted.
20.8.136 RCC I2C2 configuration register (RCC_I2C2CFGR)
Address offset: 0x7A8
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the I2C2. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | I2C2LP EN | I2C2EN | I2C2RS T |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 I2C2LPEN: I2C2 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 I2C2EN: I2C2 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 I2C2RST: I2C2 reset
Set and cleared by software.
0: Writing 0 releases I2C2 reset. Reading 0 means that I2C2 reset is released.
1: Writing 1 asserts I2C2 reset. Reading 1 means that I2C2 reset is asserted.
20.8.137 RCC I2C3 configuration register (RCC_I2C3CFGR)
Address offset: 0x7AC
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the I2C3.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | I2C3LP | ||
| EN | I2C3EN | I2C3RS T | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | I2C3LPEN | : I2C3 clock enable during CSleep | |||||||||||||
| Bit 1 | I2C3EN | : I2C3 clock enable | |||||||||||||
| Bit 0 | I2C3RST | : I2C3 reset |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 I2C3LPEN: I2C3 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 I2C3EN: I2C3 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 I2C3RST: I2C3 reset
Set and cleared by software.
0: Writing 0 releases I2C3 reset. Reading 0 means that I2C3 reset is released.
1: Writing 1 asserts I2C3 reset. Reading 1 means that I2C3 reset is asserted.
20.8.138 RCC SAI1 configuration register (RCC_SAI1CFGR)
Address offset: 0x7C4
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the SAI1. Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SAI1LP | SAI1E | SAI1R |
| EN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | SAI1LPEN | : SAI1 clock enable during CSleep | |||||||||||||
| Bit 1 | SAI1EN | : SAI1 clock enable | |||||||||||||
| Bit 0 | SAI1RST | : SAI1 reset | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SAI2LP | SAI2E | SAI2R |
| EN | N | ST | |||||||||||||
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SAI1LPEN: SAI1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SAI1EN: SAI1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SAI1RST: SAI1 reset
Set and cleared by software.
0: Writing 0 releases SAI1 reset. Reading 0 means that SAI1 reset is released.
1: Writing 1 asserts SAI1 reset. Reading 1 means that SAI1 reset is asserted.
20.8.139 RCC SAI2 configuration register (RCC_SAI2CFGR)
Address offset: 0x7C8
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the SAI2. Any read access is allowed.
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SAI2LPEN: SAI2 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SAI2EN: SAI2 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SAI2RST: SAI2 reset
Set and cleared by software.
0: Writing 0 releases SAI2 reset. Reading 0 means that SAI2 reset is released.
1: Writing 1 asserts SAI2 reset. Reading 1 means that SAI2 reset is asserted.
20.8.140 RCC SAI3 configuration register (RCC_SAI3CFGR)
Address offset: 0x7CC
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the SAI3.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SAI3LP | SAI3E | SAI3R |
| EN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | SAI3LPEN | : SAI3 clock enable during CSleep | |||||||||||||
| Bit 1 | SAI3EN | : SAI3 clock enable | |||||||||||||
| Bit 0 | SAI3RST | : SAI3 reset |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SAI3LPEN: SAI3 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SAI3EN: SAI3 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SAI3RST: SAI3 reset
Set and cleared by software.
0: Writing 0 releases SAI3 reset. Reading 0 means that SAI3 reset is released.
1: Writing 1 asserts SAI3 reset. Reading 1 means that SAI3 reset is asserted.
20.8.141 RCC SAI4 configuration register (RCC_SAI4CFGR)
Address offset: 0x7D0
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the SAI4.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SAI4LP | SAI4E | SAI4R |
| EN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | SAI4LPEN | : SAI4 clock enable during CSleep | |||||||||||||
| Bit 1 | SAI4EN | : SAI4 clock enable | |||||||||||||
| Bit 0 | SAI4RST | : SAI4 reset | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MDF1L | MDF1E | MDF1R |
| PEN | N | ST | |||||||||||||
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SAI4LPEN: SAI4 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SAI4EN: SAI4 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SAI4RST: SAI4 reset
Set and cleared by software.
0: Writing 0 releases SAI4 reset. Reading 0 means that SAI4 reset is released.
1: Writing 1 asserts SAI4 reset. Reading 1 means that SAI4 reset is asserted.
20.8.142 RCC MDF1 configuration register (RCC_MDF1CFGR)
Address offset: 0x7D8
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the MDF1.
Any read access is allowed.
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 MDF1LPEN: MDF1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 MDF1EN: MDF1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 MDF1RST: MDF1 reset
Set and cleared by software.
0: Writing 0 releases MDF1 reset. Reading 0 means that MDF1 reset is released.
1: Writing 1 asserts MDF1 reset. Reading 1 means that MDF1 reset is asserted.
20.8.143 RCC FDCAN configuration register (RCC_FDCANCFGR)
Address offset: 0x7E0
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the FDCAN and CANRAM.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FDCAN LPEN | FDCAN EN | FDCAN RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 FDCANLPEN: FDCAN clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 FDCANEN: FDCAN clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 FDCANRST: FDCAN reset
Set and cleared by software.
0: Writing 0 releases FDCAN reset. Reading 0 means that FDCAN reset is released.
1: Writing 1 asserts FDCAN reset. Reading 1 means that FDCAN reset is asserted.
20.8.144 RCC HDP configuration register (RCC_HDPCFGR)
Address offset: 0x7E4
Reset value: 0x0000 0000
This register is used to control reset and clock gating behavior of the HDP.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HDPEN | HDPRST |
| rw | rw |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 HDPEN: HDP clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 HDPRST: HDP reset
Set and cleared by software.
0: Writing 0 releases HDP reset. Reading 0 means that HDP reset is released.
1: Writing 1 asserts HDP reset. Reading 1 means that HDP reset is asserted.
20.8.145 RCC ADC1 configuration register (RCC_ADC1CFGR)
Address offset: 0x7E8
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the ADC1.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | ADC1KERSEL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADC1LPEN | ADC1EN | ADC1RST |
| rw | rw | rw | rw |
Bits 31:13 Reserved, must be kept at reset value.
Bit 12 ADC1KERSEL: ADC1 kernel clock source select
Set and cleared by software.
0x0: Kernel source clock is ck_ker_adc1.
0x1: Kernel source clock is ck_icn_ls_mcu.
Bits 11:3 Reserved, must be kept at reset value.
Bit 2 ADC1LPEN: ADC1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 ADC1EN: ADC1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 ADC1RST: ADC1 reset
Set and cleared by software.
0: Writing 0 releases ADC1 reset. Reading 0 means that ADC1 reset is released.
1: Writing 1 asserts ADC1 reset. Reading 1 means that ADC1 reset is asserted.
20.8.146 RCC ADC2 configuration register (RCC_ADC2CFGR)
Address offset: 0x7EC
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the ADC2.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | ADC2KERSEL[1:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADC2LPEN | ADC2EN | ADC2RST | |
| rw | rw | rw | rw | rw | |||||||||||
Bits 31:14 Reserved, must be kept at reset value.
Bits 13:12 ADC2KERSEL[1:0]: ADC2 kernel clock source select
Set and cleared by software.
0x0: Kernel source clock is ck_ker_adc2.
0x1: Kernel source clock is ck_icn_ls_mcu.
0x2: Kernel source clock is ck_ker_adc1.
0x3: Reserved
Bits 11:3 Reserved, must be kept at reset value.
Bit 2 ADC2LPEN: ADC2 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 ADC2EN: ADC2 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 ADC2RST: ADC2 reset
Set and cleared by software.
0: Writing 0 releases ADC2 reset. Reading 0 means that ADC2 reset is released.
1: Writing 1 asserts ADC2 reset. Reading 1 means that ADC2 reset is asserted.
20.8.147 RCC Ethernet 1 configuration register (RCC_ETH1CFGR)
Address offset: 0x7F0
Reset value: 0x0000 0A44
This register is used to control reset, clock gating, and low-power behavior of the Ethernet 1. Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 ETH1M | 1 | 0 |
| Res. | Res. | Res. | Res. | ETH1R | ETH1R | ETH1T | ETH1T | ETH1E | ETH1S | ETH1M | ETH1R | ||||
| XEN | Res. | ETH1L | |||||||||||||
| XLPEN | XEN | XLPEN | PEN | N | TPEN | Res. | ACLPE N | ACEN | ST | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
| Bit 11 | ETH1RXLPEN | : Ethernet 1 reception clock enable during CSleep | |||||||||||||
| Bit 10 | ETH1RXEN | : Ethernet 1 reception clock enable | |||||||||||||
| Bit 9 ETH1TXLPEN | : Ethernet 1 transmission clock enable during CSleep | ||||||||||||||
| Bit 8 ETH1TXEN | : Ethernet 1 transmission clock enable |
Bits 31:12 Reserved, must be kept at reset value.
Bit 11 ETH1RXLPEN: Ethernet 1 reception clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables reception clock in CSleep. Reading 0 means that reception clock is disabled in CSleep.
1: Writing 1 enables reception clock in CSleep. Reading 1 means that reception clock is enabled in CSleep.
Bit 10 ETH1RXEN: Ethernet 1 reception clock enable
Set and cleared by software.
0: Writing 0 disables reception clock. Reading 0 means that reception clock is disabled.
1: Writing 1 enables reception clock. Reading 1 means that reception clock is enabled.
Bit 9 ETH1TXLPEN: Ethernet 1 transmission clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables transmission clock in CSleep. Reading 0 means that transmission clock is disabled in CSleep.
1: Writing 1 enables transmission clock in CSleep. Reading 1 means that transmission clock is enabled in CSleep.
Bit 8 ETH1TXEN: Ethernet 1 transmission clock enable
Set and cleared by software.
0: Writing 0 disables transmission clock. Reading 0 means that transmission clock is disabled.
1: Writing 1 enables transmission clock. Reading 1 means that transmission clock is enabled.
Bit 7 Reserved, must be kept at reset value.
- Bit 6 ETH1LPEN: Ethernet 1 kernel clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables kernel clocks in CSleep. Reading 0 means that kernel clocks are disabled in CSleep.
1: Writing 1 enables kernel clocks in CSleep. Reading 1 means that kernel clocks are enabled in CSleep. - Bit 5 ETH1EN: Ethernet 1 kernel clock enable
Set and cleared by software.
0: Writing 0 disables kernel clocks. Reading 0 means that kernel clocks are disabled.
1: Writing 1 enables kernel clocks. Reading 1 means that kernel clocks are enabled. - Bit 4 ETH1STPEN: Ethernet 1 kernel clocks enable during CStop
Set and cleared by software. This bits allows ETH1 to receive clocks coming from ETH1_TX_CLK and ETH1_RX_CLK pins during CStop.
0: Writing 0 disables ETH1 TX and RX kernel clocks in CStop. Reading 0 means that ETH1 TX and RX kernel clocks are disabled in CStop.
1: Writing 1 enables ETH1 TX and RX kernel clocks in CStop. Reading 1 means that ETH1 TX and RX kernel clocks are enabled in CStop. - Bit 3 Reserved, must be kept at reset value.
- Bit 2 ETH1MACLPEN: Ethernet 1 bus clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables bus clocks in CSleep. Reading 0 means that bus clocks are disabled in CSleep.
1: Writing 1 enables bus clocks in CSleep. Reading 1 means that bus clocks are enabled in CSleep. - Bit 1 ETH1MACEN: Ethernet 1 bus clock enable
Set and cleared by software.
0: Writing 0 disables bus clocks. Reading 0 means that bus clocks are disabled.
1: Writing 1 enables bus clocks. Reading 1 means that bus clocks are enabled. - Bit 0 ETH1RST: Ethernet 1 reset
Set and cleared by software.
0: Writing 0 releases ETH1 reset. Reading 0 means that ETH1 reset is released.
1: Writing 1 asserts ETH1 reset. Reading 1 means that ETH1 reset is asserted.
20.8.148 RCC Ethernet 2 configuration register (RCC_ETH2CFGR)
Address offset: 0x7F4
Reset value: 0x0000 0A44
This register is used to control reset, clock gating, and low-power behavior of the Ethernet 2.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | ETH2RXLPEN | ETH2RXEN | ETH2TXLPEN | ETH2TXEN | Res. | ETH2LPEN | ETH2EN | ETH2STPEN | Res. | ETH2MACLPEN | ETH2MACEN | ETH2RST |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:12 Reserved, must be kept at reset value.
Bit 11 ETH2RXLPEN: Ethernet 2 reception clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables reception clock in CSleep. Reading 0 means that reception clock is disabled in CSleep.
1: Writing 1 enables reception clock in CSleep. Reading 1 means that reception clock is enabled in CSleep.
Bit 10 ETH2RXEN: Ethernet 2 reception clock enable
Set and cleared by software.
0: Writing 0 disables reception clock. Reading 0 means that reception clock is disabled.
1: Writing 1 enables reception clock. Reading 1 means that reception clock is enabled.
Bit 9 ETH2TXLPEN: Ethernet 2 transmission clock enable during CSleep mode
Set and cleared by software.
0: Writing 0 disables transmission clock in CSleep. Reading 0 means that transmission clock is disabled in CSleep.
1: Writing 1 enables transmission clock in CSleep. Reading 1 means that transmission clock is enabled in CSleep.
Bit 8 ETH2TXEN: Ethernet 2 transmission clock enable
Set and cleared by software.
0: Writing 0 disables transmission clock. Reading 0 means that transmission clock is disabled.
1: Writing 1 enables transmission clock. Reading 1 means that transmission clock is enabled
Bit 7 Reserved, must be kept at reset value.
Bit 6 ETH2LPEN: Ethernet 2 kernel clocks enable during CSleep
Set and cleared by software.
0: Writing 0 disables kernel clocks in CSleep. Reading 0 means that kernel clocks are disabled in CSleep.
1: Writing 1 enables kernel clocks in CSleep. Reading 1 means that kernel clocks are enabled in CSleep.
Bit 5 ETH2EN: Ethernet 2 kernel clocks enable
Set and cleared by software.
0: Writing 0 disables kernel clocks. Reading 0 means that kernel clocks are disabled.
1: Writing 1 enables kernel clocks. Reading 1 means that kernel clocks are enabled.
Bit 4 ETH2STPEN: Ethernet 2 kernel clocks enable during CStop
Set and cleared by software. This bits allows ETH2 to receive clocks coming from ETH2_TX_CLK and ETH2_RX_CLK pins during CStop.
0: Writing 0 disables ETH2 TX and RX kernel clocks in CStop. Reading 0 means that ETH2 TX and RX kernel clocks are disabled in CStop.
1: Writing 1 enables ETH2 TX and RX kernel clocks in CStop. Reading 1 means that ETH2 TX and RX kernel clocks are enabled in CStop.
Bit 3 Reserved, must be kept at reset value.
Bit 2 ETH2MACLPEN: Ethernet 2 bus clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables bus clocks in CSleep. Reading 0 means that bus clocks are disabled in CSleep.
1: Writing 1 enables bus clocks in CSleep. Reading 1 means that bus clocks are enabled in CSleep.
- Bit 1 ETH2MACEN: Ethernet 2 bus clock enable
Set and cleared by software.
0: Writing 0 disables bus clocks. Reading 0 means that bus clocks are disabled.
1: Writing 1 enables bus clocks. Reading 1 means that bus clocks are enabled. - Bit 0 ETH2RST: Ethernet 2 reset
Set and cleared by software.
0: Writing 0 releases ETH2 reset. Reading 0 means that ETH2 reset is released.
1: Writing 1 asserts ETH2 reset. Reading 1 means that ETH2 reset is asserted.
20.8.149 RCC USBH configuration register (RCC_USBHCFGR)
Address offset: 0x7FC
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the USBH.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | USBHL | USBHE | USBHR |
| PEN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | USBHLPEN | : USBH clock enable during CSleep | |||||||||||||
| Bit 1 | USBHEN | : USBH peripheral clock enable | |||||||||||||
| Bit 0 | USBHRST | : USBH reset |
- Bits 31:3 Reserved, must be kept at reset value.
- Bit 2 USBHLPEN: USBH clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep. - Bit 1 USBHEN: USBH peripheral clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled. - Bit 0 USBHRST: USBH reset
Set and cleared by software.
0: Writing 0 releases USBH reset. Reading 0 means that USBH reset is released.
1: Writing 1 asserts USBH reset. Reading 1 means that USBH reset is asserted.

20.8.150 RCC USB2PHY1 configuration register (RCC_USB2PHY1CFGR)
Address offset: 0x800
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the USB2PHY1. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| USB2P HY1CK REFSE L | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | USB2P HY1LP EN | USB2P HY1EN | USB2P HY1RS T |
| rw | rw | rw | rw |
Bits 31:16 Reserved, must be kept at reset value.
Bit 15 USB2PHY1CKREFSEL: USB2PHY1 reference clock selection
Set and cleared by software.
0: USB2PHY1 reference clock is channel 57 (ck_ker_usb2phy1) of the flexclkgen (default after reset).
1: USB2PHY1 reference clock is the HSE oscillator divided by 2 (hse_div2_ck).
Bits 14:3 Reserved, must be kept at reset value.
Bit 2 USB2PHY1LPEN: USB2PHY1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 USB2PHY1EN: USB2PHY1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 USB2PHY1RST: USB2PHY1 reset
Set and cleared by software.
0: Writing 0 releases USB2PHY1 reset. Reading 0 means that USB2PHY1 reset is released.
1: Writing 1 asserts USB2PHY1 reset. Reading 1 means that USB2PHY1 reset is asserted.
20.8.151 RCC OTG configuration register (RCC_OTGCFGR)
Address offset: 0x808
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the OTG. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | OTGLP EN | OTGE N | OTGR ST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 OTGLPEN: OTG clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 OTGEN: OTG peripheral clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 OTGRST: OTG reset
Set and cleared by software.
0: Writing 0 releases OTG reset. Reading 0 means that OTG reset is released.
1: Writing 1 asserts OTG reset. Reading 1 means that OTG reset is asserted.
20.8.152 RCC USB2PHY2 configuration register (RCC_USB2PHY2CFGR)
Address offset: 0x80C
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the USB2PHY2.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| USB2P HY2CK REFSE L | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | USB2P HY2LP EN | USB2P HY2EN | USB2P HY2RS T |
| rw | rw | rw | rw |
Bits 31:16 Reserved, must be kept at reset value.
Bit 15 USB2PHY2CKREFSEL: USB2PHY2 reference clock select
Set and cleared by software.
0: USB2PHY2 reference clock is channel 58 (ck_ker_usb2phy2) of the flexclkgen (default after reset).
1: USB2PHY2 reference clock is the HSE oscillator divided by 2 (hse_div2_ck).
Bits 14:3 Reserved, must be kept at reset value.
Bit 2 USB2PHY2LPEN: USB2PHY2 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 USB2PHY2EN: USB2PHY2 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 USB2PHY2RST: USB2PHY2 reset
Set and cleared by software.
0: Writing 0 releases USB2PHY2 reset. Reading 0 means that USB2PHY2 reset is released.
1: Writing 1 asserts USB2PHY2 reset. Reading 1 means that USB2PHY2 reset is asserted.
20.8.153 RCC STGEN configuration register (RCC_STGENCFGR)
Address offset: 0x824
Reset value: 0x0000 0004
This register is used to control clock gating and low-power clock mode behavior of the STGENC and STGENR.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | STGEN STPEN | Res. | STGEN LPEN | STGEN EN | Res. |
| rw | rw | rw |
Bits 31:5 Reserved, must be kept at reset value.
Bit 4 STGENSTPEN: STGENRW and STGENRO kernel clock enable during CStop
Set and cleared by software.
0: Writing 0 disables kernel clocks in CStop. Reading 0 means that kernel clocks are disabled in CStop.
1: Writing 1 enables kernel clocks in CStop. Reading 1 means that kernel clocks are enabled in CStop.
Bit 3 Reserved, must be kept at reset value.
Bit 2 STGENLPEN: STGENRW and STGENRO clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 STGENEN: STGENRW and STGENRO clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 Reserved, must be kept at reset value.
20.8.154 RCC SDMMC1 configuration register (RCC_SDMMC1CFGR)
Address offset: 0x830
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the SDMMC1. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SDMMC1DLLRST |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SDMMC1LPEN | SDMMC1EN | SDMMC1RST |
| rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.
Bit 16 SDMMC1DLLRST: SDMMC1 DLL reset
Set and cleared by software.
0: Writing 0 releases DLL reset. Reading 0 means that DLL reset is released.
1: Writing 1 asserts DLL reset. Reading 1 means that DLL reset is asserted.
Bits 15:3 Reserved, must be kept at reset value.
Bit 2 SDMMC1LPEN: SDMMC1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SDMMC1EN: SDMMC1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SDMMC1RST: SDMMC1 reset
Set and cleared by software.
0: Writing 0 releases SDMMC1 reset. Reading 0 means that SDMMC1 reset is released.
1: Writing 1 asserts SDMMC1 reset. Reading 1 means that SDMMC1 reset is asserted.
20.8.155 RCC SDMMC2 configuration register (RCC_SDMMC2CFGR)
Address offset: 0x834
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the SDMMC2.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SDMMC2DLLRST |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SDMMC2LPEN | SDMMC2EN | SDMMC2RST |
| rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.
Bit 16 SDMMC2DLLRST: SDMMC2 DLL reset
Set and cleared by software.
0: Writing 0 releases DLL reset. Reading 0 means that DLL reset is released.
1: Writing 1 asserts DLL reset. Reading 1 means that DLL reset is asserted.
Bits 15:3 Reserved, must be kept at reset value.
Bit 2 SDMMC2LPEN: SDMMC2 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SDMMC2EN: SDMMC2 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SDMMC2RST: SDMMC2 reset
Set and cleared by software.
0: Writing 0 releases SDMMC2 reset. Reading 0 means that SDMMC2 reset is released.
1: Writing 1 asserts SDMMC2 reset. Reading 1 means that SDMMC2 reset is asserted.
20.8.156 RCC SDMMC3 configuration register (RCC_SDMMC3CFGR)
Address offset: 0x838
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the SDMMC3.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SDMMC3DLLRST |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SDMMC3LPEN | SDMMC3EN | SDMMC3RST |
| rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.
Bit 16 SDMMC3DLLRST: SDMMC3 DLL resetSet and cleared by software.
0: Writing 0 releases DLL reset. Reading 0 means that DLL reset is released.
1: Writing 1 asserts DLL reset. Reading 1 means that DLL reset is asserted.
Bits 15:3 Reserved, must be kept at reset value.
Bit 2 SDMMC3LPEN: SDMMC3 clock enable during CSleepSet and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SDMMC3EN: SDMMC3 clock enableSet and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SDMMC3RST: SDMMC3 block resetSet and cleared by software.
0: Writing 0 releases SDMMC3 reset. Reading 0 means that SDMMC3 reset is released.
1: Writing 1 asserts SDMMC3 reset. Reading 1 means that SDMMC3 reset is asserted.
20.8.157 RCC LTDC configuration register (RCC_LTDCCFGR)
Address offset: 0x840
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of LTDC.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LTDCL PEN | LTDCEN | LTDCRST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 LTDCLPEN: LTDC clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 LTDCEN: LTDC peripheral clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 LTDCRST: LTDC reset
Set and cleared by software.
0: Writing 0 releases LTDC reset. Reading 0 means that LTDC reset is released.
1: Writing 1 asserts LTDC reset. Reading 1 means that LTDC reset is asserted.
20.8.158 RCC CSI configuration register (RCC_CSICFGR)
Address offset: 0x858
Reset value: 0x0000 0004
This register is used to control reset, clock gating, and low-power behavior of the CSI.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CSILP EN | CSIEN | CSIRS T |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 CSILPEN: CSI clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 CSIEN: CSI clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 CSIRST: CSI reset
Set and cleared by software.
0: Writing 0 releases CSI reset. Reading 0 means that CSI reset is released.
1: Writing 1 asserts CSI reset. Reading 1 means that CSI reset is asserted.
20.8.159 RCC DCMIPP configuration register (RCC_DCMIPPCFGR)
Address offset: 0x85C
Reset value: 0x0000 0004
This register is used to control the reset, clock gating and low-power behavior of DCMIPP. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DCMIP LPEN | DCMIP PEN | DCMIP PRST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 DCMIPPLPEN: DCMIPP clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 DCMIPPEN: DCMIPP clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 DCMIPPRST: DCMIPP reset
Set and cleared by software.
0: Writing 0 releases DCMIPP reset. Reading 0 means that DCMIPP reset is released.
1: Writing 1 asserts DCMIPP reset. Reading 1 means that DCMIPP reset is asserted.
20.8.160 RCC DCMIPSSI configuration register (RCC_DCMIPSSICFGR)
Address offset: 0x860
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of DCMIPSSI.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DCMIP SSILPE N | DCMIP SSIEN | DCMIP SSIRS T |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 DCMIPSSILPEN: DCMIPSSI clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 DCMIPSSIEN: DCMIPSSI clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 DCMIPSSIRST: DCMIPSSI reset
Set and cleared by software.
0: Writing 0 releases DCMIPSSI reset. Reading 0 means that DCMIPSSI reset is released.
1: Writing 1 asserts DCMIPSSI reset. Reading 1 means that DCMIPSSI reset is asserted.
20.8.161 RCC RNG1 configuration register (RCC_RNG1CFGR)
Address offset: 0x870
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of RNG1.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RNG1L PEN | RNG1E N | RNG1R ST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 RNG1LPEN: RNG1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 RNG1EN: RNG1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 RNG1RST: RNG1 reset
Set and cleared by software.
0: Writing 0 releases RNG1 reset. Reading 0 means that RNG1 reset is released.
1: Writing 1 asserts RNG1 reset. Reading 1 means that RNG1 reset is asserted.
Note: The clocks of the following cryptographic peripherals must all be disabled before setting this bit: PKA, RNG1, SAES, HASH1, CRYP1.
20.8.162 RCC RNG2 configuration register (RCC_RNG2CFGR)
Address offset: 0x874
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of RNG2.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RNG2L | RNG2E | RNG2R |
| PEN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | RNG2LPEN | : RNG2 clock enable during CSleep | |||||||||||||
| Bit 1 | RNG2EN | : RNG2 clock enable | |||||||||||||
| Bit 0 | RNG2RST | : RNG2 reset |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 RNG2LPEN: RNG2 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 RNG2EN: RNG2 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 RNG2RST: RNG2 reset
Set and cleared by software.
0: Writing 0 releases RNG2 reset. Reading 0 means that RNG2 reset is released.
1: Writing 1 asserts RNG2 reset. Reading 1 means that RNG2 reset is asserted.
20.8.163 RCC PKA configuration register (RCC_PKACFGR)
Address offset: 0x878
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of PKA.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PKALP EN | PKAEN | PKARST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 PKALPEN: PKA clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 PKAEN: PKA clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 PKARST: PKA reset
Set and cleared by software.
0: Writing 0 releases PKA reset. Reading 0 means that PKA reset is released.
1: Writing 1 asserts PKA reset. Reading 1 means that PKA reset is asserted.
Note: The clocks of the following cryptographic peripherals must all be disabled before setting this bit: PKA, RNG1, SAES, HASH1, CRYP1.
20.8.164 RCC SAES configuration register (RCC_SAESCFGR)
Address offset: 0x87C
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of SAES.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SAESL PEN | SAESE N | SAESR ST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SAESLPEN: SAES clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SAESEN: SAES clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SAESRST: SAES reset
Set and cleared by software.
0: Writing 0 releases SAES reset. Reading 0 means that SAES reset is released.
1: Writing 1 asserts SAES reset. Reading 1 means that SAES reset is asserted.
Note: The clocks of the following cryptographic peripherals must all be disabled before setting this bit: PKA, RNG1, SAES, HASH1, CRYP1.
20.8.165 RCC HASH1 configuration register (RCC_HASH1CFGR)
Address offset: 0x880
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of HASH1.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HASH1 LPEN | HASH1 EN | HASH1 RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 HASH1LPEN: HASH1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 HASH1EN: HASH1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 HASH1RST: HASH1 reset
Set and cleared by software.
0: Writing 0 releases HASH1 reset. Reading 0 means that HASH1 reset is released.
1: Writing 1 asserts HASH1 reset. Reading 1 means that HASH1 reset is asserted.
Note: The clocks of the following cryptographic peripherals must all be disabled before setting this bit: PKA, RNG1, SAES, HASH1, CRYP1.
20.8.166 RCC HASH2 configuration register (RCC_HASH2CFGR)
Address offset: 0x884
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of HASH2.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HASH2 LPEN | HASH2 EN | HASH2 RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 HASH2LPEN: HASH2 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 HASH2EN: HASH2 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 HASH2RST: HASH2 reset
Set and cleared by software.
0: Writing 0 releases HASH2 reset. Reading 0 means that HASH2 reset is released.
1: Writing 1 asserts HASH2 reset. Reading 1 means that HASH2 reset is asserted.
20.8.167 RCC CRYP1 configuration register (RCC_CRYP1CFGR)
Address offset: 0x888
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of CRYP1.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CRYP1 LPEN | CRYP1 EN | CRYP1 RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 CRYP1LPEN: CRYP1 clock enable during CSleepSet and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 CRYP1EN: CRYP1 clock enableSet and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 CRYP1RST: CRYP1 resetSet and cleared by software.
0: Writing 0 releases CRYP1 reset. Reading 0 means that CRYP1 reset is released.
1: Writing 1 asserts CRYP1 reset. Reading 1 means that CRYP1 reset is asserted.
Note: The clocks of the following cryptographic peripherals must all be disabled before setting this bit: PKA, RNG1, SAES, HASH1, CRYP1.
20.8.168 RCC CRYP2 configuration register (RCC_CRYP2CFGR)
Address offset: 0x88C
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of CRYP2.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CRYP2 LPEN | CRYP2 EN | CRYP2 RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 CRYP2LPEN: CRYP2 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 CRYP2EN: CRYP2 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 CRYP2RST: CRYP2 reset
Set and cleared by software.
0: Writing 0 releases CRYP2 reset. Reading 0 means that CRYP2 reset is released.
1: Writing 1 asserts CRYP2 reset. Reading 1 means that CRYP2 reset is asserted.
20.8.169 RCC IWDG1 configuration register (RCC_IWDG1CFGR)
Address offset: 0x894
Reset value: 0x0000 0004
This register is used to control clock gating and low-power behavior of IWDG1.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IWDG1 LPEN | IWDG1 EN | Res. |
| rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 IWDG1LPEN: IWDG1 bus clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables APB clock in CSleep. Reading 0 means that APB clock is disabled in CSleep.
1: Writing 1 enables APB clock in CSleep. Reading 1 means that APB clock is enabled in CSleep.
Bit 1 IWDG1EN: IWDG1 bus clock enable
Set and cleared by software.
0: Writing 0 disables APB clock. Reading 0 means that APB clock is disabled.
1: Writing 1 enables APB clock. Reading 1 means that APB clock is enabled.
Bit 0 Reserved, must be kept at reset value.
20.8.170 RCC IWDG2 configuration register (RCC_IWDG2CFGR)
Address offset: 0x898
Reset value: 0x0000 0004
This register is used to control clock gating and low-power behavior of IWDG2.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IWDG2 LPEN | IWDG2 EN | Res. |
| rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 IWDG2LPEN: IWDG2 bus clock enable during CSleepSet and cleared by software.
0: Writing 0 disables APB clock in CSleep. Reading 0 means that APB clock is disabled in CSleep.
1: Writing 1 enables APB clock in CSleep. Reading 1 means that APB clock is enabled in CSleep.
Bit 1 IWDG2EN: IWDG2 bus clock enableSet and cleared by software.
0: Writing 0 disables APB clock. Reading 0 means that APB clock is disabled.
1: Writing 1 enables APB clock. Reading 1 means that APB clock is enabled.
Bit 0 Reserved, must be kept at reset value.
20.8.171 RCC IWDG3 configuration register (RCC_IWDG3CFGR)
Address offset: 0x89C
Reset value: 0x0000 0004
This register is used to control clock gating and low-power behavior of IWDG3.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IWDG3 LPEN | IWDG3 EN | Res. |
| rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 IWDG3LPEN: IWDG3 bus clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables APB clock in CSleep. Reading 0 means that APB clock is disabled in CSleep.
1: Writing 1 enables APB clock in CSleep. Reading 1 means that APB clock is enabled in CSleep.
Bit 1 IWDG3EN: IWDG3 bus clock enable
Set and cleared by software.
0: Writing 0 disables APB clock. Reading 0 means that APB clock is disabled.
1: Writing 1 enables APB clock. Reading 1 means that APB clock is enabled.
Bit 0 Reserved, must be kept at reset value.
20.8.172 RCC IWDG4 configuration register (RCC_IWDG4CFGR)
Address offset: 0x8A0
Reset value: 0x0000 0004
This register is used to control clock gating and low-power behavior of IWDG4.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IWDG4 LPEN | IWDG4 EN | Res. |
| rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 IWDG4LPEN: IWDG4 bus clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables APB clock in CSleep. Reading 0 means that APB clock is disabled in CSleep.
1: Writing 1 enables APB clock in CSleep. Reading 1 means that APB clock is enabled in CSleep.
Bit 1 IWDG4EN: IWDG4 bus clock enable
Set and cleared by software.
0: Writing 0 disables APB clock. Reading 0 means that APB clock is disabled.
1: Writing 1 enables APB clock. Reading 1 means that APB clock is enabled.
Bit 0 Reserved, must be kept at reset value.
20.8.173 RCC WWDG1 configuration register (RCC_WWDG1CFGR)
Address offset: 0x8A4
Reset value: 0x0000 0004
This register is used to control th clock gating and low-power behavior of WWDG1.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WWDG1LPEN | WWDG1EN | WWDG1RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 WWDG1LPEN: WWDG1 bus clock enable during CSleepSet and cleared by software.
0: ‘Writing 0 disables APB clock in CSleep. Reading 0 means that APB clock is disabled in CSleep.
1: Writing 1 enables APB clock in CSleep. Reading 1 means that APB clock is enabled in CSleep.
Bit 1 WWDG1EN: WWDG1 bus clock enableSet and cleared by software.
0: Writing 0 disables APB clock. Reading 0 means that APB clock is disabled.
1: Writing 1 enables APB clock. Reading 1 means that APB clock is enabled.
Bit 0 WWDG1RST: WWDG1 resetSet and cleared by software.
0: Writing 0 releases WWDG1 reset. Reading 0 means that WWDG1 reset is released.
1: Writing 1 asserts WWDG1 reset. Reading 1 means that WWDG1 reset is asserted.
20.8.174 RCC VREFBUF configuration register (RCC_VREFCFGR)
Address offset: 0x8AC
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of VREFBUF.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VREFLPEN | VREFEN | VREFRST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 VREFLPEN: VREFBUF clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 VREFEN: VREFBUF clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 VREFRST: VREFBUF reset
Set and cleared by software.
0: Writing 0 releases VREFBUF reset. Reading 0 means that VREFBUF reset is released.
1: Writing 1 asserts VREFBUF reset. Reading 1 means that VREFBUF reset is asserted
20.8.175 RCC DTS configuration register (RCC_DTSCFGR)
Address offset: 0x8B0
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of DTS.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | DTSKERSEL[1:0 | |||||||||||||
| ] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DTSLP | |||||
| EN | DTSEN | DTSRS T | |||||||||||||
| rw | rw | rw | rw | rw | |||||||||||
| Bits 13:12 | DTSKERSEL[1:0] | : DTS kernel clock selection | |||||||||||||
| Bit 2 | DTSLPEN | : DTS clock enable during CSleep |
Bits 31:14 Reserved, must be kept at reset value.
Bits 13:12 DTSKERSEL[1:0]: DTS kernel clock selection
Set and cleared by software.
0x0: hsi_ker_ck selected
0x1: hse_ker_ck selected
0x2: msi_ker_ck selected
0x3: Reserved
Bits 11:3 Reserved, must be kept at reset value.
Bit 2 DTSLPEN: DTS clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 DTSEN: DTS clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 DTSRST: DTS reset
Set and cleared by software.
0: Writing 0 releases DTS reset. Reading 0 means that DTS reset is released.
1: Writing 1 asserts DTS reset. Reading 1 means that DTS reset is asserted
20.8.176 RCC CRC configuration register (RCC_CRCCFGR)
Address offset: 0x8B4
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of CRC.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CRCLP | CRCE | CRCR |
| EN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | CRCLPEN | : CRC clock enable during CSleep | |||||||||||||
| Bit 1 | CRCEN | : CRC clock enable | |||||||||||||
| Bit 0 | CRCRST | : CRC reset |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 CRCLPEN: CRC clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 CRCE: CRC clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 CRCRST: CRC reset
Set and cleared by software.
0: Writing 0 releases CRC reset. Reading 0 means that CRC reset is released.
1: Writing 1 asserts CRC reset. Reading 1 means that CRC reset is asserted
20.8.177 RCC SERC configuration register (RCC_SERCCFGR)
Address offset: 0x8B8
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of SERC.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SERCL | SERCE | SERCR |
| PEN | N | ST | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | SERCLPEN | : SERC clock enable during CSleep | |||||||||||||
| Bit 1 | SERCEN | : SERC clocks enable | |||||||||||||
| Bit 0 | SERCRST | : SERC reset | |||||||||||||
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DDRPE | DDRPE | DDRPE | |||||||||||||
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RFMLP | RFME | RFMR |
| EN | N | ST | |||||||||||||
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 SERCLPEN: SERC clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 SERCEN: SERC clocks enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 SERCRST: SERC reset
Set and cleared by software.
0: Writing 0 releases SERC reset. Reading 0 means that SERC reset is released.
1: Writing 1 asserts SERC reset. Reading 1 means that SERC reset is asserted
20.8.178 RCC DDRPERFM configuration register (RCC_DDRPERFMCFGR)
Address offset: 0x8C0
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of DDRPERFM.
Any read access is allowed.
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 DDRPERFMLPEN: DDRPERFM clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 DDRPERFMEN: DDRPERFM clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 DDRPERFMRST: DDRPERFM reset
Set and cleared by software.
0: Writing 0 releases DDRPERFM reset. Reading 0 means that DDRPERFM reset is released.
1: Writing 1 asserts DDRPERFM reset. Reading 1 means that DDRPERFM reset is asserted.
20.8.179 RCC I3C1 configuration register (RCC_I3C1CFGR)
Address offset: 0x8C8
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of I3C1.
Any read access is allowed.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | I3C1LP | ||
| EN | I3C1EN | I3C1RS T | |||||||||||||
| rw | rw | rw | |||||||||||||
| Bit 2 | I3C1LPEN | : I3C1 clock enable during CSleep | |||||||||||||
| Bit 1 | I3C1EN | : I3C1 clock enable | |||||||||||||
| Bit 0 | I3C1RST | : I3C1 reset |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 I3C1LPEN: I3C1 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 I3C1EN: I3C1 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 I3C1RST: I3C1 reset
Set and cleared by software.
0: Writing 0 releases I3C1 reset. Reading 0 means that I3C1 reset is released.
1: Writing 1 asserts I3C1 reset. Reading 1 means that I3C1 reset is asserted.
20.8.180 RCC I3C2 configuration register (RCC_I3C2CFGR)
Address offset: 0x8CC
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of I3C2.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | I3C2LPEN | I3C2EN | I3C2RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 I3C2LPEN: I3C2 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 I3C2EN: I3C2 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 I3C2RST: I3C2 reset
Set and cleared by software.
0: Writing 0 releases I3C2 reset. Reading 0 means that I3C2 reset is released.
1: Writing 1 asserts I3C2 reset. Reading 1 means that I3C2 reset is asserted.
20.8.181 RCC I3C3 configuration register (RCC_I3C3CFGR)
Address offset: 0x8D0
Reset value: 0x0000 0004
This register is used to control reset, clock gating and low-power behavior of I3C3.
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | I3C3LPEN | I3C3EN | I3C3RST |
| rw | rw | rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 I3C3LPEN: I3C3 clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.
1: Writing 1 enables peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.
Bit 1 I3C3EN: I3C3 clock enable
Set and cleared by software.
0: Writing 0 disables peripheral clocks. Reading 0 means that peripheral clocks are disabled.
1: Writing 1 enables peripheral clocks. Reading 1 means that peripheral clocks are enabled.
Bit 0 I3C3RST: I3C3 reset
Set and cleared by software.
0: Writing 0 releases I3C3 reset. Reading 0 means that I3C3 reset is released.
1: Writing 1 asserts I3C3 reset. Reading 1 means that I3C3 reset is asserted.
20.8.182 RCC MUXSEL configuration register (RCC_MUXSELCFGR)
Address offset: 0x1000
Reset value: 0x0000 0000
This register is used to select reference clock for each channel in MUXSEL of flexclkgen.
Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number 64 configuration (see Table 161 for details). Any read access is allowed.
| column_1 | column_2 | column_3 | column_4 | column_5 | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | column_16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | MUXSEL6[1:0] | Res. | Res. | MUXSEL5[1:0] | Res. | MUXSEL4[2:0] | ||||
| Res. | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | MUXSEL3[2:0] | Res. | MUXSEL2[2:0] | Res. | MUXSEL1[2:0] | Res. | MUXSEL0[2:0] | ||||||||
| Res. | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
| Res. | Bits 25:24 | MUXSEL6[1:0] | : PLL2 reference clock selection (ck_pll2_ref) | ||||||||||||
| Res. | Bits 21:20 | MUXSEL5[1:0] | : PLL1 reference clock selection (ck_pll1_ref) |
Bits 31:26 Reserved, must be kept at reset value.
Bits 25:24 MUXSEL6[1:0]: PLL2 reference clock selection (ck_pll2_ref)
Set and cleared by software.
0x0: hsi_ck
0x1: hse_ck
0x2: msi_ck
0x3: Reserved
Bits 23:22 Reserved, must be kept at reset value.
Bits 21:20 MUXSEL5[1:0]: PLL1 reference clock selection (ck_pll1_ref)
Set and cleared by software.
0x0: hsi_ck
0x1: hse_ck
0x2: msi_ck
0x3: Reserved
Bit 19 Reserved, must be kept at reset value.
Bits 18:16 MUXSEL4[2:0]: PLL8 reference clock selection
Set and cleared by software.
0x0: hsi_ck
0x1: hse_ck
0x2: msi_ck
0x5: ck_in
Others: Reserved
Bit 15 Reserved, must be kept at reset value.
Bits 14:12 MUXSEL3[2:0]: PLL7 reference clock selection
Set and cleared by software.
0x0: hsi_ck
0x1: hse_ck
0x2: msi_ck
0x5: ck_in
Others: Reserved
Bit 11 Reserved, must be kept at reset value.
Bits 10:8 MUXSEL2[2:0]: PLL6 reference clock selection
Set and cleared by software.
0x0: hsi_ck
0x1: hse_ck
0x2: msi_ck
0x5: ck_in
Others: Reserved
Bit 7 Reserved, must be kept at reset value.
Bits 6:4 MUXSEL1[2:0]: PLL5 reference clock selection
Set and cleared by software.
0x0: hsi_ck
0x1: hse_ck
0x2: msi_ck
0x5: ck_in
Others: Reserved
Bit 3 Reserved, must be kept at reset value.
Bits 2:0 MUXSEL0[2:0]: PLL4 reference clock selection
Set and cleared by software.
0x0: hsi_ck
0x1: hse_ck
0x2: msi_ck
0x5: ck_in
Others: Reserved
20.8.183 RCC cross bar x configuration register (RCC_XBARxCFGR)
Address offset: 0x1018+0x4*x, (x = 0 to 63)
Reset value: 0x0000 0045
This register is used to configure channel x output of cross bar (XBAR) in flexclkgen. Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number x configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | XBARxSTS | XBARxEN | Res. | Res. | XBARxSEL[3:0] | |||
| r | rw | rw | rw | rw | rw | ||||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bit 7 XBARxSTS: Cross bar channel x output status
Set and cleared by hardware to indicate channel x output status versus setting changes.
0: Channel x is aligned to given settings.
1: Indicates change ongoing.
Bit 6 XBARxEN: Cross bar channel x clock output enable
Set and cleared by software. It is recommended to keep the channel x enabled at cross bar stage, and to use the final divider enable bit to disable the channel x output.
0: Channel x output disabled
1: Channel x output enabled
Bits 5:4 Reserved, must be kept at reset value.
Bits 3:0 XBARxSEL[3:0]: Cross bar channel x input clock selection
Set and cleared by software to select the input clock for the channel x.
0x0: PLL4 FOUTPOSTDIV clock selected
0x1: PLL5 FOUTPOSTDIV clock selected
0x2: PLL6 FOUTPOSTDIV clock selected
0x3: PLL7 FOUTPOSTDIV clock selected
0x4: PLL8 FOUTPOSTDIV clock selected
0x5: hsi_ck selected
0x6: hse_ck selected
0x7: msi_ck selected
0x8: hsi_ker_ck selected
0x9: hse_ker_ck selected
0xA: msi_ker_ck selected
0xB: spdifrx_symb_ck selected
0xC: ck_in selected
0xD: lsi_ck selected
0xE: lse_ck selected
Other: Reserved
20.8.184 RCC pre divider x configuration register (RCC_PREDIVxCFGR)
Address offset: 0x1118 + 0x4 * x, (x = 0 to 63)
Reset value: 0x0000 0000
This register is used to configure the channel x predivider (PREDIV) stage in flexclkgen. Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number x configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | PREDIVx[9:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bits 31:10 Reserved, must be kept at reset value.
Bits 9:0 PREDIVx[9:0]: Predivider channel x divider ratio
Set and cleared by software to select one div1, div2, div4 or div1024 ratio.
0x0: div1
0x1: div2
0x3: div4
0x3FF: div1024
Others: Reserved
20.8.185 RCC pre divider status register 1 (RCC_PREDIVSR1)
Address offset: 0x1218
Reset value: 0x0000 0000
This register is used to get status of first 32 channel outputs of PREDIV in flexclkgen. Word format data access only supported on this register. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| PREDIVSTS[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PREDIVSTS[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 PREDIVSTS[31:0]: Predivider channel[31:0] output status
Set by hardware to indicate the status of channel output versus divide ratio changes.
0: Channel is aligned with divide ratio change.
1: Indicates that the divider is in the process of changing.
20.8.186 RCC pre divider status register 2 (RCC_PREDIVSR2)
Address offset: 0x121C
Reset value: 0x0000 0000
This register is used to get status of last 32 channel outputs of PREDIV in flexclkgen. Word format data access only supported on this register. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| PREDIVSTS[63:48] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PREDIVSTS[47:32] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 PREDIVSTS[63:32]: Predivider channel[63:32] output status
Set by hardware to indicate the status of channel output versus divide ratio changes.
0: Channel is aligned with divide ratio change.
1: Indicates that the divider is in the process of changing.
20.8.187 RCC final divider x configuration register (RCC_FINDIVxCFGR)
Address offset: 0x1224 + 0x4 * x, (x = 0 to 63)
Reset value: 0x0000 0040
This register is used to configure channel x final divider (FINDIV) in flexclkgen. Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number x configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FINDIV xEN | FINDIVx[5:0] | |||||
| rw | rw | rw | rw | rw | rw | rw | |||||||||
Bits 31:7 Reserved, must be kept at reset value.
Bit 6 FINDIVxEN: Final divider channel x output enable
Set and cleared by software.
0: Channel x output disabled
1: Channel x output enabled
Bits 5:0 FINDIVx[5:0]: Channel x divider ratio
Set and cleared by software to select one div1 up to div64 step.
20.8.188 RCC final divider status register 1 (RCC_FINDIVSR1)
Address offset: 0x1324
Reset value: 0x0000 0000
This register is used to get status of first 32 channel outputs of FINDIV in flexclkgen. Word format access only supported on this register. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| FINDIVSTS[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FINDIVSTS[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 FINDIVSTS[31:0]: Final divider channel[31:0] output status
Set by hardware to indicate the status of the channel output vs divide ratio changes.
0: Channel is aligned with divide ratio change.
1: Indicates that the divider is in the process of changing.
20.8.189 RCC final divider status register 2 (RCC_FINDIVSR2)
Address offset: 0x1328
Reset value: 0x0000 0000
This register is used to get status of last 32 channel outputs of FINDIV in flexclkgen. Word format access only supported on this register. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| FINDIVSTS[63:48] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FINDIVSTS[47:32] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 FINDIVSTS[63:32]: Final divider channel[63:32] output status
Set by hardware to indicate the status of the channel output versus divide ratio changes.
0: Channel is aligned with divide ratio change.
1: Indicates that the divider is in the process of changing.
20.8.190 RCC clock frequency calculator and observation 0 clock configuration register (RCC_FCALCOBS0CFGR)
Address offset: 0x1340
Reset value: 0x1600 0087
This register is used to configure clock frequency calculator and observation clock 0 in flexclkgen. Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number 65 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | CKOBS EN | FCALC CKEN | CKOBS DIV[2:0] | Res. | Res. | Res. | CKOBS INV | FCALC CKINV | CKOBS EXTSE L | ||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FCALC CKEXT SEL | Res. | Res. | Res. | Res. | CKEXTSEL[2:0] | CKINTSEL[7:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:27 Reserved, must be kept at reset value.
Bit 26 CKOBSSEN: Observation clock 0 output enable
Set and cleared by software to enable the observation clock 0 output in front of the divider.
0: Observation clock 0 output disabled
1: Observation clock 0 output enabled (default after reset)
Bit 25 FCALCCKEN: Clock frequency calculator input clock enable
Set and cleared by software to enable the clock frequency calculator input clock.
0: Input clock disabled
1: Input clock enabled (default after reset)
Bits 24:22 CKOBS DIV[2:0]: Observation clock 0 divide ratio
Set and cleared by software to select the divide ratio for the observation clock 0.
000: div1 (default after reset)
001: div2
010: div4
011: div8
100: div16
101: div32
110: div64
111: div128
Bits 21:19 Reserved, must be kept at reset value.
Bit 18 CKOBSINV: Observation clock 0 inverter
Set and cleared by software to invert the observation clock 0 in front of the divider.
0: Observation clock 0 not inverted (default after reset)
1: Observation clock 0 inverted
- Bit 17 FCALCCKINV: Clock frequency calculator input clock inverter
Set and cleared by software to invert THE clock frequency calculator input clock (in front of the divider).
0: Input clock not inverted (default after reset)
1: Input clock inverted - Bit 16 CKOBSEXTSEL: External clock source for observation clock 0
Set and cleared by software to select internal or external clocks for observation clock 0.
0: Internal clock selected for observation clock 0 (default after reset)
1: External clock selected for observation clock 0 - Bit 15 FCALCCKEXTSEL: External clock source for clock frequency calculator input clock
Set and cleared by software to select an internal or external clock source for the clock frequency calculator input clock.
0: Internal clock selected for the clock frequency calculator input clock (default after reset)
1: External clock selected for the clock frequency calculator input clock - Bits 14:11 Reserved, must be kept at reset value.
- Bits 10:8 CKEXTSEL[2:0]: External clock selector for clock frequency calculator and observation clock 0
Set and cleared by software to select the external clock to be calculated or observed.
000: pll1 clock divided by 42
001: pll2 clock divided by 8
010: Reserved
011: usb2phy1 PLL clock
100: usb2phy2 PLL clock
101: Reserved
110: Reserved
111: Reserved
Bits 7:0 CKINTSEL[7:0]: Internal clock selector for clock frequency calculator and observation clock 0
Set and cleared by software to select the internal clock to be calculated or observed.
- 0000 0000: hsi_ck
- 0000 0001: hse_ck
- 0000 0010: msi_ck
- 0000 0110: PLL4 reference input clock
- 0000 0111: PLL5 reference input clock
- 0000 1000: PLL6 reference input clock
- 0000 1001: PLL7 reference input clock
- 0000 1010: PLL8 reference input clock
- 0000 1011: PLL1 reference input clock
- 0000 1100: PLL2 reference input clock
- 0100 0000: PLL4 output clock
- 0100 0001: PLL5 output clock
- 0100 0010: PLL6 output clock
- 0100 0011: PLL7 output clock
- 0100 0100: PLL8 output clock
- 1000 0000: hsi_ker_ck
- 1000 0001: hse_ker_ck
- 1000 0010: msi_ker_ck
- 1000 0011: spdifrx_symb_ck
- 1000 0100: ck_in
- 1000 0101: lsi_ck
- 1000 0110: lse_ck
- 1000 0111: ck_xbar_fsm (default after reset)
- 1000 1000: ck_icn_p_rcc
- 1100 0000: findiv[0]
- 1100 0001: findiv[1]
- ...
- 1111 1111: findiv[63]
- Other: Reserved
20.8.191 RCC clock frequency calculator and observation 1 clock configuration register (RCC_FCALCOBS1CFGR)
Address offset: 0x1344
Reset value: 0x0600 0087
This register is used to configure clock frequency calculator and observation clock 1 in flexclkgen. Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number 65 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | FCALC RSTN | CKOBS EN | Res. | CKOBSDIV[2:0] | Res. | Res. | Res. | CKOBS INV | Res. | CKOBS EXTSE L | ||
| rw | rw | rw | rw | rw | rw | rw | |||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | CKEXTSEL[2:0] | CKINTSEL[7:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
- Bits 31:28 Reserved, must be kept at reset value.
- Bit 27 FCALCRSTN: Clock frequency calculator reset
Set and cleared by software.
0: Clock frequency calculator reset module asserted (default after reset)
1: Clock frequency calculator reset module released - Bit 26 CKOBSEN: Observation clock 1 output enable
Set and cleared by software to enable observation clock 1 output in front of the divider.
0: Observation clock 1 output disabled
1: Observation clock 1 output enabled (default after reset) - Bit 25 Reserved, must be kept at reset value.
- Bits 24:22 CKOBSDIV[2:0]: Observation clock 1 divide ratio
Set and cleared by software to select the divide ratio for observation clock 1.
000: div1 (default after reset)
001: div2
010: div4
011: div8
100: div16
101: div32
110: div64
111: div128 - Bits 21:19 Reserved, must be kept at reset value.
- Bit 18 CKOBSINV: Observation clock 1 inverter
Set and cleared by software to invert observation clock 1 in front of the divider.
0: Observation clock 1 not inverted (default after reset)
1: Observation clock 1 inverted - Bit 17 Reserved, must be kept at reset value.
- Bit 16 CKOBSEXTSEL: External clock source for the observation clock 1
Set and cleared by software to select between internal or external clocks for observation clock 1.
0: Internal clock selected for observation clock 1 (default after reset)
1: External clock selected for observation clock 1 - Bits 15:11 Reserved, must be kept at reset value.
- Bits 10:8 CKEXTSEL[2:0]: External clock for observation clock 1
Set and cleared by software to select the external clock to be observed.
000: pll1 clock divided by 42
001: pll2 clock divided by 8
010: Reserved
011: usb2phy1 PLL clock
100: usb2phy2 PLL clock
101: Reserved
110: Reserved
111: Reserved
Bits 7:0 CKINTSEL[7:0]: Internal clock selector for observation clock 1
Set and cleared by software to select the internal clock to be observed.
0000 0000: hsi_ck
0000 0001: hse_ck
0000 0010: msi_ck
0000 0110: PLL4 reference input clock
0000 0111: PLL5 reference input clock
0000 1000: PLL6 reference input clock
0000 1001: PLL7 reference input clock
0000 1010: PLL8 reference input clock
0000 1011: PLL1 reference input clock
0000 1100: PLL2 reference input clock
0100 0000: PLL4 output clock
0100 0001: PLL5 output clock
0100 0010: PLL6 output clock
0100 0011: PLL7 output clock
0100 0100: PLL8 output clock
1000 0000: hsi_ker_ck
1000 0001: hse_ker_ck
1000 0010: msi_ker_ck
1000 0011: spdifrx_symb_ck
1000 0100: ck_in
1000 0101: lsi_ck
1000 0110: lse_ck
1000 0111: ck_xbar_fsm (default after reset)
1000 1000: ck_icn_p_rcc
1100 0000: findiv[0]
1100 0001: findiv[1]
...
1111 1111: findiv[63]
Others: Reserved
20.8.192 RCC clock frequency calculator reference clock configuration register (RCC_FCALCREFCFGR)
Address offset: 0x1348
Reset value: 0x0000 4000
This register is used to configure clock frequency calculator reference clock in flexclkgen. Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number 65 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCALCREFCSEL[2:0] | ||
| rw | rw | rw | |||||||||||||
Bits 31:3 Reserved, must be kept at reset value.
Bits 2:0 FCALCREFCSEL[2:0]: Reference clock selection used by clock frequency calculator
Set and cleared by software to select clock frequency calculator reference clock used for definition of clock frequency calculation time window (see RCC_FCALCCR2).
000: PLL4 reference input clock
001: PLL5 reference input clock
010: PLL6 reference input clock
011: PLL7 reference input clock
100: PLL8 reference input clock
Others: Reserved
20.8.193 RCC clock frequency calculator control register 1 (RCC_FCALCCR1)
Address offset: 0x134C
Reset value: 0x0000 0000
This register is used to control clock frequency calculator in flexclkgen block. Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number 65 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCALC RUN |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 FCALCRUN: Clock frequency calculator run
Set and cleared by software to run the measure.
0: Clock frequency calculator off (default after reset)
1: Clock frequency calculator on
20.8.194 RCC clock frequency calculator control register 2 (RCC_FCALCCR2)
Address offset: 0x1354
Reset value: 0x0000 0000
This register is used to control the clock frequency calculator in flexclkgen. Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number 65 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCALCTYP[4:0] | Res. | ||||
| rw | rw | rw | rw | rw | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | FCALCTWC[3:0] | Res. | Res. | Res. | Res. | Res. | Res. | FCALCMD[1:0] | Res. | Res. | Res. | ||||
| rw | rw | rw | rw | rw | rw | ||||||||||
Bits 31:22 Reserved, must be kept at reset value.
Bits 21:17 FCALCTYP[4:0]: Clock frequency calculation type selection
Set and cleared by software to select the clock frequency calculation type.
0x0C: Frequency value type
Other: Reserved
Bits 16:15 Reserved, must be kept at reset value.
Bits 14:11 FCALCTWC[3:0]: Time window code for clock frequency calculation
Set and cleared by software to set the number of reference clock cycles used for the clock frequency calculation in application mode (see FCALCMD).
0x0: 63 cycles
0x1: 3 cycles
0x2: 7 cycles
0x3: 15 cycles
0x4: 31 cycles
0x5: 63 cycles
0x6: 127 cycles
0x7: 255 cycles
0x8: 511 cycles
0x9: 1023 cycles
0xA: 2047 cycles
0xB: 4095 cycles
0xC: 8191 cycles
0xD: 16383 cycles
0xE: 32767 cycles
0xF: 65535 cycles
Bits 10:5 Reserved, must be kept at reset value.
Bits 4:3 FCALCMD[1:0]: Clock frequency calculation method
Set and cleared by software to set the clock frequency calculation method.
11: Application method
Other: Reserved
Bits 2:0 Reserved, must be kept at reset value.
20.8.195 RCC clock frequency calculator status register (RCC_FCALCSR)
Address offset: 0x1358
Reset value: 0x0000 0000
This register is used to get status of clock frequency calculator in flexclkgen. Word format data access only supported on this register. Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCALC STS | Res. | Res. | FVAL[16] |
| r | r | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FVAL[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:20 Reserved, must be kept at reset value.
Bit 19 FCALCSTS: Clock frequency calculation status
Set by hardware to indicate the status of the clock frequency calculation.
- – When FCALCRUN = 0, FCALCSTS = FVAL[16] (overflow of the register).
- – When FCALCRUN = 1, FCALCSTS = 1 when the clock frequency calculation is ended.
Bits 18:17 Reserved, must be kept at reset value.
Bits 16:0 FVAL[16:0]: Clock frequency calculation value
Set by hardware to indicate the clock frequency calculation value.
- – FVAL[16] = overflow flag of the frequency counter.
- – When FCALCTYP = 0x0C, FVAL[15:0] = frequency counter value.
20.8.196 RCC PLLy configuration register 1 (RCC_PLLyCFGR1)
Address offset: 0x1360 + 0x28 * (y - 4), (y = 4 to 8)
Reset value: 0x1000 0001
This register is used to configure flexclkgen PLLy. Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number 64 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | CKREF ST | Res. | Res. | Res. | PLLRD Y | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rc_w | r | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | PLLEN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SSMO DRST |
| rw | rw |
Bits 31:29 Reserved, must be kept at reset value.
Bit 28 CKREFST: PLLy reference clock state
Set by hardware and cleared by software. Indicates if PLLy reference clock is running.
After any reset, this bit is updated after 5 clock cycles of the selected PLL reference clock.
0: Reading 0 means that PLLy reference clock does not run. Writing 0 resets the reference clock running detector.
1: Reading 1 means that PLLy reference clock is running. Writing 1 resets the reference clock running detector.
Bits 27:25 Reserved, must be kept at reset value.
Bit 24 PLLRDY: PLLy clock ready flag
Set by hardware to indicate when PLLy is locked.
0: PLLy unlocked (default after reset)
1: PLLy locked
Bits 23:9 Reserved, must be kept at reset value.
Bit 8 PLEN: PLLy enable
Set and cleared by software to enable PLLy.
0: PLLy off (default after reset)
1: PLLy on
Bits 7:1 Reserved, must be kept at reset value.
Bit 0 SSMODRST: PLLy spread-spectrum modulator reset
Set and cleared by software.
0: PLLy spread-spectrum modulator reset module released
1: PLLy spread-spectrum modulator reset module asserted (default after reset)
20.8.197 RCC PLLy configuration register 2 (RCC_PLLyCFGR2)
Address offset: 0x1364+0x28*(y-4), (y = 4 to 8)
Reset value: 0x0000 0000
This register is used to configure flexclkgen PLLy. Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number 64 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | FBDIV[11:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FREFDIV[5:0] | |||||
| rw | rw | rw | rw | rw | rw | ||||||||||
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:16 FBDIV[11:0]: PLLy VCO multiplication factor
Set and cleared by software to control VCO multiplication factor.
In integer mode, this value must be set between 16 and 640.
In fractional mode, this value must be set between 20 and 320.
Bits 15:6 Reserved, must be kept at reset value.
Bits 5:0 FREFDIV[5:0]: PLLy reference input clock divide frequency ratio
Set and cleared by software.
0x0: Not applicable
0x1: FREF divided by 1 (min value)
0x2: FREF divided by 2
0x3: FREF divided by 3
...
0x3C: FREF divided by 60
0x3D: FREF divided by 61
0x3E: FREF divided by 62
0x3F: FREF divided by 63
20.8.198 RCC PLLy configuration register 3 (RCC_PLLyCFGR3)
Address offset: 0x1368 + 0x28 * (y - 4), (y = 4 to 8)
Reset value: 0x0400 0000
This register is used to configure flexclkgen PLLy. Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number 64 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | SSCGDIS | DACEN | DOWNSPREAD | FRACIN[23:16] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FRACIN[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:27 Reserved, must be kept at reset value.
Bit 26 SSCGDIS: PLLy spread-spectrum modulator disable
Set and cleared by software to enable the PLLy clock spreading generator.
0: PLLy spread-spectrum modulator enabled
1: PLLy spread-spectrum modulator disabled (default after reset)
Bit 25 DACEN: PLLy noise canceling DAC enable in fractional mode.
Set and cleared by software to enable the noise cancellation in fractional mode.
0: DAC not active (default after reset)
1: DAC active
Bit 24 DOWNSPREAD: PLLy VCO frequency modulation mode
Set and cleared by software to select the PLLy clock spreading mode.
0: Center-spread modulation selected (default after reset)
1: Down-spread modulation selected
Bits 23:0 FRACIN[23:0]: Fractional part of PLLy VCO multiplication factor
Set and cleared by software to control the VCO fractional multiplication factor.
VCO output frequency = FREF * (FBDIV + FRAC / 224) / FREFDIV
20.8.199 RCC PLLy configuration register 4 (RCC_PLLyCFGR4)
Address offset: 0x136C + 0x28 * (y - 4), (y = 4 to 8)
Reset value: 0x0000 0000
This register is used to configure flexclkgen PLLy. Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number 64 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | BYPAS S | FOUTP OSTDI VEN | DSME N | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | rw | rw |
Bits 31:11 Reserved, must be kept at reset value.
- Bit 10 BYPASS: PLLy FOUTPOSTDIV bypass
Set and cleared by software to bypass the FOUTPOSTDIV by FREF.
0: FOUTPOSTDIV driven by POSTDIV2
1: FOUTPOSTDIV driven by FREF - Bit 9 FOUTPOSTDIVEN: PLLy output and post dividers enable
Set and cleared by software to enable the PLLy output and post dividers.
0: FOUTPOSTDIV output, POSTDIV1, and POSTDIV2 are powered down.
1: FOUTPOSTDIV output, POSTDIV1, and POSTDIV2 dividers are active. - Bit 8 DSMEN: PLLy delta-sigma modulator enable
Set and cleared by software to enable the delta-sigma modulator (DSM).
0: DSM powered down
1: DSM active
Bits 7:0 Reserved, must be kept at reset value.

20.8.200 RCC PLLy configuration register 5 (RCC_PLLyCFGR5)
Address offset: 0x1370+0x28*(y-4), (y = 4 to 8)
Reset value: 0x0000 0000
This register is used to configure flexclkgen PLLy. Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number 64 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SPREAD[4:0] | ||||
| rw | rw | rw | rw | rw | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DIVVAL[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:21 Reserved, must be kept at reset value.
Bits 20:16 SPREAD[4:0]: Modulation depth adjustment for PLLy
Set and cleared by software to adjust modulation depth of the clock spreading generator.
Bits 15:4 Reserved, must be kept at reset value.
Bits 3:0 DIVVAL[3:0]: Modulation frequency adjustment for PLLy
Set and cleared by software to adjust modulation frequency of the clock spreading generator.
20.8.201 RCC PLLy configuration register 6 (RCC_PLLyCFGR6)
Address offset: 0x1378+0x28*(y-4), (y = 4 to 8)
Reset value: 0x0000 0000
This register is used to configure flexclkgen PLLy. Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number 64 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | POSTDIV1[2:0] | ||
| rw | rw | rw | |||||||||||||
Bits 31:3 Reserved, must be kept at reset value.
Bits 2:0 POSTDIV1[2:0]: PLLy VCO frequency divide level 1
Set and cleared by software to divide the VCO frequency output.
0x0: Not applicable
0x1: FOUTVCO divided by 1 (minimum value)
0x2: FOUTVCO divided by 2
0x3: FOUTVCO divided by 3
0x4: FOUTVCO divided by 4
0x5: FOUTVCO divided by 5
0x6: FOUTVCO divided by 6
0x7: FOUTVCO divided by 7
20.8.202 RCC PLLy configuration register 7 (RCC_PLLyCFGR7)
Address offset: 0x137C + 0x28 * (y - 4), (y = 4 to 8)
Reset value: 0x0000 0000
This register is used to configure flexclkgen PLLy. Word format data access only supported on this register.
Write accesses are defined according to the RCC local resource number 64 configuration (see Table 161 for details). Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | POSTDIV2[2:0] | ||
| rw | rw | rw | |||||||||||||
Bits 31:3 Reserved, must be kept at reset value.
Bits 2:0 POSTDIV2[2:0]: PLLy VCO frequency divide level 2
Set and cleared by software to divide the VCO frequency output.
0x0: Not applicable
0x1: FOUTVCO/POSTDIV1 divided by 1 (minimum value)
0x2: FOUTVCO/POSTDIV1 divided by 2
0x3: FOUTVCO/POSTDIV1 divided by 3
0x4: FOUTVCO/POSTDIV1 divided by 4
0x5: FOUTVCO/POSTDIV1 divided by 5
0x6: FOUTVCO/POSTDIV1 divided by 6
0x7: FOUTVCO/POSTDIV1 divided by 7
Note: \(FOUTPOSTDIV = FOUTVCO / POSTDIV1 \times POSTDIV2\).
20.8.203 RCC version register (RCC_VERR)
Address offset: 0xFFF4
Reset value: 0x0000 0010
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MAJREV[3:0] | MINREV[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 MAJREV[3:0]: Major RCC revision
Bits 3:0 MINREV[3:0]: Minor RCC revision
20.8.204 RCC identifier register (RCC_IDR)
Address offset: 0xFFF8
Reset value: 0x0000 0003
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ID[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ID[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 ID[31:0]: RCC identifier
20.8.205 RCC size identification register (RCC_SIDR)
Address offset: 0xFFFC
Reset value: 0xA3C5 DD40
Any read access is allowed.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| SID[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SID[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 SID[31:0]: RCC decoding space (64 Kbytes)
20.8.206 RCC register map
Table 162. RCC register map and reset values
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x000 | RCC_SECCFGR0 | SEC[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x004 | RCC_SECCFGR1 | SEC[63:32] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x008 | RCC_SECCFGR2 | SEC95 | SEC94 | SEC93 | SEC92 | SEC91 | SEC90 | Res | SEC88 | SEC87 | SEC86 | SEC85 | SEC84 | SEC83 | Res | Res | Res | SEC79 | SEC78 | SEC77 | SEC76 | SEC75 | SEC74 | SEC73 | SEC72 | SEC71 | SEC70 | SEC69 | SEC68 | SEC67 | SEC66 | SEC65 | SEC64 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| 0x00C | RCC_SECCFGR3 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | SEC113 | SEC112 | SEC111 | SEC110 | SEC109 | SEC108 | Res | SEC106 | SEC105 | SEC104 | SEC103 | SEC102 | SEC101 | Res | Res | SEC98 | SEC97 | SEC96 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||
| 0x010 | RCC_PRIVCFGR0 | PRIV[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x014 | RCC_PRIVCFGR1 | PRIV[63:32] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x018 | RCC_PRIVCFGR2 | PRIV95 | PRIV94 | PRIV93 | PRIV92 | PRIV91 | PRIV90 | Res | PRIV88 | PRIV87 | PRIV86 | PRIV85 | PRIV84 | PRIV83 | Res | Res | Res | PRIV79 | PRIV78 | PRIV77 | PRIV76 | PRIV75 | PRIV74 | PRIV73 | PRIV72 | PRIV71 | PRIV70 | PRIV69 | PRIV68 | PRIV67 | PRIV66 | PRIV65 | PRIV64 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| 0x01C | RCC_PRIVCFGR3 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | PRIV113 | PRIV112 | PRIV111 | PRIV110 | PRIV109 | PRIV108 | Res | PRIV106 | PRIV105 | PRIV104 | PRIV103 | PRIV102 | PRIV101 | Res | Res | PRIV98 | PRIV97 | PRIV96 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||
| 0x020 | RCC_RCFGLOCKR0 | RLOCK[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x024 | RCC_RCFGLOCKR1 | RLOCK[63:32] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x028 | RCC_RCFGLOCKR2 | RLOCK95 | RLOCK94 | RLOCK93 | RLOCK92 | RLOCK91 | RLOCK90 | Res | RLOCK88 | RLOCK87 | RLOCK86 | RLOCK85 | RLOCK84 | RLOCK83 | Res | Res | Res | RLOCK79 | RLOCK78 | RLOCK77 | RLOCK76 | RLOCK75 | RLOCK74 | RLOCK73 | Res | RLOCK71 | RLOCK70 | RLOCK69 | RLOCK68 | RLOCK67 | RLOCK66 | RLOCK65 | RLOCK64 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||
| 0x02C | RCC_RCFGLOCKR3 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | RLOCK113 | RLOCK112 | RLOCK111 | RLOCK110 | RLOCK109 | RLOCK108 | Res | RLOCK106 | RLOCK105 | RLOCK104 | RLOCK103 | RLOCK102 | RLOCK101 | Res | Res | RLOCK98 | RLOCK97 | RLOCK96 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||
| 0x030 + 0x8 * x (x=0 to 113) Last addr: 0x3B8 | RCC_RxCIDCFGR | Res | Res | Res | Res | Res | Res | Res | SEMWLC[7:0] | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | SCID [2:0] | Res | Res | SEM_EN | RLOCK97 | RLOCK96 | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x034 + 0x8 * x (x=0 to 113) Last addr: 0x3BC | RCC_RxSEMCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SEMCID[2:0] | Res. | Res. | Res. | SEM_MUTEX | ||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x3C0 - 0x3FC | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x400 | RCC_GRSTCSETR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SYSRST |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x404 | RCC_C1RSTCSETR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | C1RST |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x408 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x40C | RCC_C2RSTCSETR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | C2RST |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x410 | RCC_HWRSTSCLRR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RETECCFAILRESTRSTF | RETECCFAILCRCRSTF | RETCRCERRRSTF | Res. | IWDG4SYSRSTF | IWDG3SYSRSTF | IWDG2SYSRSTF | IWDG1SYSRSTF | SYSC2RSTF | SYSC1RSTF | VCORERSTF | HCSSRSTF | PADRSTF | BORRSTF | PORRSTF |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | |||||||||||||||||||
| 0x414 | RCC_ C1HWRSTSCLRR | 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. | C1RSTF | VCPURSTF |
| Reset value | 1 | 1 | |||||||||||||||||||||||||||||||
| 0x418 | RCC_ C2HWRSTSCLRR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | C2RSTF |
| Reset value | 1 | ||||||||||||||||||||||||||||||||
| 0x41C | RCC_ C1BOOTRSTSSETR | Res. | Res. | Res. | Res. | Res. | Res. | D2STBYRSTF | D1STBYRSTF | Res. | STBYC1RSTF | RETECCFAILRESTRSTF | RETECCFAILCRCRSTF | RETCRCERRRSTF | Res. | Res. | Res. | Res. | Res. | C1RSTF | Res. | IWDG4SYSRSTF | IWDG3SYSRSTF | IWDG2SYSRSTF | IWDG1SYSRSTF | SYSC2RSTF | SYSC1RSTF | VCPURSTF | VCORERSTF | HCSSRSTF | PADRSTF | BORRSTF | PORRSTF |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||
Table 162. RCC register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x420 | RCC_ C1BOOTRSTSCLRR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | D2STBYRSTF | D1STBYRSTF | Res. | STBYC1RSTF | RETECCFAILRESTRSTF | RETECCFAILCRCRSTF | RETCRCERRRSTF | Res. | Res. | Res. | C1RSTF | Res. | IWDG4SYSRSTF | IWDG3SYSRSTF | IWDG2SYSRSTF | IWDG1SYSRSTF | SYSC2RSTF | SYSC1RSTF | VCPURSTF | VCORERSTF | HCSSRSTF | PADRSTF | BORRSTF | PORRSTF |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||
| 0x424 | RCC_ C2BOOTRSTSSETR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | D2STBYRSTF | Res. | STBYC2RSTF | Res. | RETECCFAILRESTRSTF | RETECCFAILCRCRSTF | RETCRCERRRSTF | Res. | Res. | C2RSTF | Res. | Res. | IWDG4SYSRSTF | IWDG3SYSRSTF | IWDG2SYSRSTF | IWDG1SYSRSTF | SYSC2RSTF | SYSC1RSTF | Res. | VCORERSTF | HCSSRSTF | PADRSTF | BORRSTF | PORRSTF |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x428 | RCC_ C2BOOTRSTSCLRR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | D2STBYRSTF | Res. | STBYC2RSTF | Res. | RETECCFAILRESTRSTF | RETECCFAILCRCRSTF | RETCRCERRRSTF | Res. | Res. | C2RSTF | Res. | Res. | IWDG4SYSRSTF | IWDG3SYSRSTF | IWDG2SYSRSTF | IWDG1SYSRSTF | SYSC2RSTF | SYSC1RSTF | Res. | VCORERSTF | HCSSRSTF | PADRSTF | BORRSTF | PORRSTF |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x42C | RCC_C1SREQSETR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ESLPREQ | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | STPREQ_P0 |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x430 | RCC_C1SREQCLRR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ESLPREQ | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | STPREQ_P0 |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x434 | RCC_CPUBOOTCR | 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. | BOOT_CPU1 | BOOT_CPU2 |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x438 | RCC_STBYBOOTCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RET_CRCERR_RSTEN | Res. | Res. | CPU1_HW_BEN | CPU2_HW_BEN | Res. | COLD_CPU2 | CPU_BEN_SEL | Res. |
| Reset value | 0 | 0 | 0 | 0 | 0 |

Table 162. RCC register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x43C | RCC_LEGBOOTCR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | LEGACY_BEN | |
| Reset value | 0 | 0 | ||||||||||||||||||||||||||||||||
| 0x440 | RCC_BDCR | VSWRST | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | RTCCKEN | Res | Res | RTCSRC[1:0] | Res | Res | Res | Res | Res | Res | Res | Res | LSECSSD | LSEGFON | LSECSSON | LSEDRV[1:0] | LSEDIGBYP | LSERDY | LSEBYP | LSEON | 0 |
| Reset value | 0 | 0 | 0 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||
| 0x444 - 0x448 | Reserved | Res. | ||||||||||||||||||||||||||||||||
| 0x44C | RCC_RDCR | Res | Res | Res | Res | EADLY[3:0] | Res | Res | Res | MRD[4:0] | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |||||||
| Reset value | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0x450 | RCC_C1MSRDCR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | C1MSRST | Res | Res | Res | Res | C1MSRD[4:0] | ||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x454 | RCC_PWRLPDLYCR | Res | Res | Res | Res | Res | Res | Res | CPU2TMPSKP | Res | Res | Res | PWRLP_DLY[21:0] | |||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||
| 0x458 | RCC_C1CIESETR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | WKUPIE | Res | Res | Res | LSECSSIE | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| Reset value | 0 | 0 | ||||||||||||||||||||||||||||||||
| 0x45C | RCC_C1CIFCLRR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | WKUPF | Res | Res | Res | LSECSSF | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| Reset value | 0 | 0 | ||||||||||||||||||||||||||||||||
| 0x460 | RCC_C2CIESETR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | WKUPIE | Res | Res | Res | LSECSSIE | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| Reset value | 0 | 0 | ||||||||||||||||||||||||||||||||
| 0x464 | RCC_C2CIFCLRR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | WKUPF | Res | Res | Res | LSECSSF | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| Reset value | 0 | 0 | 0 | |||||||||||||||||||||||||||||||
Table 162. RCC register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x468 | RCC_IWDGC1FZSETR | 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 | FZ_IWDG2 | FZ_IWDG1 |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x46C | RCC_IWDGC1FZCLRR | 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 | FZ_IWDG2 | FZ_IWDG1 |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x470 | RCC_IWDGC1CFGSETR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | IWDG2_KERRST | IWDG2_SYSRSTEN | |||||||||||||||||
| Reset value | 0 | 0 | IWDG1_SYSRSTEN | ||||||||||||||||||||||||||||||
| 0x474 | RCC_IWDGC1CFGCLRR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | IWDG2_KERRST | IWDG2_SYSRSTEN | |||||||||||||||||
| Reset value | 0 | 0 | IWDG1_SYSRSTEN | ||||||||||||||||||||||||||||||
| 0x478 | RCC_IWDGC2FZSETR | 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 | FZ_IWDG4 | FZ_IWDG3 |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x47C | RCC_IWDGC2FZCLRR | 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 | FZ_IWDG4 | FZ_IWDG3 |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x480 | RCC_IWDGC2CFGSETR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | IWDG4_KERRST | IWDG4_SYSRSTEN | |||||||||||||||||
| Reset value | 0 | 0 | IWDG3_SYSRSTEN | ||||||||||||||||||||||||||||||
| 0x484 | RCC_IWDGC2CFGCLRR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | IWDG4_KERRST | IWDG4_SYSRSTEN | |||||||||||||||||
| Reset value | 0 | 0 | IWDG3_SYSRSTEN |
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x488 | RCC_MCO1CFGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MCO1ON | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MCO1SEL |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x48C | RCC_MCO2CFGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MCO2ON | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MCO2SEL |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x490 | RCC_OCENSETR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HSECSON | HSEBYP | HSEKERON | HSEON | HSEDIGBYP | HSEDIV2BYP | HSEDIV2ON | Res. | MSIKERON | MSION | HSIKERON | HSION |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | ||||||||||||||||||||||
| 0x494 | RCC_OCENCLRR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HSEBYP | HSEKERON | HSEON | HSEDIGBYP | HSEDIV2BYP | HSEDIV2ON | Res. | MSIKERON | MSION | HSIKERON | HSION |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||
| 0x498 | RCC_OCRDYR | Res. | Res. | Res. | Res. | Res. | Res. | CKREST | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HSERD | Res. | Res. | Res. | Res. | Res. | MSIRDY | Res. | HSIRDY |
| Reset value | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||||||
| 0x49C | RCC_HSICFGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HSICAL[8:0] | Res. | HSITRIM[6:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
| 0x4A0 | RCC_MSICFGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MSICAL[7:0] | Res. | Res. | Res. | MSITRIM[4:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||||||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x4A4 | RCC_LSICR | 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. | LSIRDY | LSION |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x4A8 | RCC_RTCDIVR | 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. | RTCDIV[5:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0x4AC + 0x4 * (x-1) (x=1 to 5) Last addr: 0x4BC | RCC_APBxDIVR | APB1DIVRDY | 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. | APBxDIV[2:0] | ||
| Reset value | 1 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x4C0 | RCC_APBDBGDIVR | APBDBGDIVRDY | 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. | APBDBGDIV[2:0] | ||
| Reset value | 1 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x4C4 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x4C8 | RCC_TIMG1PRER | TIMG1PRERDY | 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. | TIMG1PRE |
| Reset value | 1 | 0 | |||||||||||||||||||||||||||||||
| 0x4CC | RCC_TIMG2PRER | TIMG2PRERDY | 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. | TIMG2PRE |
| Reset value | 1 | 0 | |||||||||||||||||||||||||||||||
| 0x4D0 | RCC_LSMCUDIVR | LSMCUDIVRDY | 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. | LSMCUDIV |
| Reset value | 1 | 0 | |||||||||||||||||||||||||||||||
| 0x4D4 | RCC_DDRCPCFGR | 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. | DDRCPLPEN | DDRCPEN | DDRCPRST |
| Reset value | 1 | 0 | 1 | ||||||||||||||||||||||||||||||
| 0x4D8 | RCC_DDRCAPBCFGR | 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. | DDRCAPBLPEN | DDRCAPBEN | DDRCAPBRST |
| Reset value | 1 | 0 | 1 | ||||||||||||||||||||||||||||||
| 0x4DC | RCC_DDRPHYCAPBCFGR | 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. | DDRPHYCAPBLPEN | DDRPHYCAPBEN | DDRPHYCAPBRST |
| Reset value | 1 | 0 | 1 | ||||||||||||||||||||||||||||||
| 0x4E0 | RCC_DDRPHYCCFGR | 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. | DDRPHYCEN | Res. |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
Table 162. RCC register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x4E4 | RCC_DDRCFGR | 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 | DDRCFGLPEN | DDRCFGEN | DDRCFGRST | |
| Reset value | 1 | 0 | 1 | |||||||||||||||||||||||||||||||
| 0x4E8 | RCC_DDRITFCFGR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | DDRPHYDLP | Res | Res | Res | Res | Res | Res | Res | Res | DDRSRSHR | Res | Res | Res | Res | Res | Res | DDRRST | |
| Reset value | 0 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||||||
| 0x4EC | Reserved | Res. | ||||||||||||||||||||||||||||||||
| 0x4F0 | RCC_SYSRAMCFGR | 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 | SYSRAML PEN | SYSRAMEN | Res | |
| Reset value | 1 | 0 | ||||||||||||||||||||||||||||||||
| 0x4F4 | Reserved | Res. | ||||||||||||||||||||||||||||||||
| 0x4F8 | RCC_SRAM1CFGR | 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 | SRAM1LPEN | SRAM1EN | Res | |
| Reset value | 1 | 0 | ||||||||||||||||||||||||||||||||
| 0x4FC | Reserved | Res. | ||||||||||||||||||||||||||||||||
| 0x500 | RCC_RETRAMCFGR | 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 | RETRAML PEN | RETRAMEN | Res | |
| Reset value | 1 | 1 | ||||||||||||||||||||||||||||||||
| 0x504 | RCC_BKPSRAMCFGR | 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 | BKPSRAMLPEN | BKPSRAMEN | Res | |
| Reset value | 1 | 0 | ||||||||||||||||||||||||||||||||
| 0x508 - 0x510 | Reserved | Res. | ||||||||||||||||||||||||||||||||
| 0x514 | RCC_OSPI1CFGR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | OSPI1DLLRST | Res | Res | Res | Res | Res | Res | Res | Res | OTFDEC1RST | Res | Res | Res | Res | Res | OSPI1LPEN | OSPI1EN | OSPI1RST |
| Reset value | 0 | 0 | 1 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x518 | Reserved | Res. | ||||||||||||||||||||||||||||||||
Table 162. RCC register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x51C | RCC_FMCCFGR | 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. | FMCLPEN | FMCEN | FMCRST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x520 | RCC_DBGCFGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DBGRST | Res. | DBGMCUEN | TRACEEN | DBGEN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x524 | RCC_STMCFGR | 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. | STMLPEN | STMEN | Res. |
| Reset value | 1 | 0 | |||||||||||||||||||||||||||||||
| 0x528 | RCC_ETRCFGR | 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. | ETRLPEN | ETREN | Res. |
| Reset value | 1 | 0 | |||||||||||||||||||||||||||||||
| 0x52C + 0x4 * x (x=0 to 8) Last addr: 0x54C | RCC_GPIOyCFGR (y = A to I) | 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. | GPIOyLPEN | GPIOyEN | GPIOyRST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x550 - 0x554 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x558 | RCC_GPIOZCFGR | 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. | GPIOZLPEN | GPIOZEN | GPIOZRST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x55C | RCC_HPDMA1CFGR | 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. | HPDMA1LPEN | HPDMA1EN | HPDMA1RST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x560 | RCC_HPDMA2CFGR | 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. | HPDMA2LPEN | HPDMA2EN | HPDMA2RST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x564 | RCC_HPDMA3CFGR | HPDMA3LPEN | HPDMA3EN | HPDMA3RST | |||||||||||||||||||||||||||||
| Reset value | 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. | 1 | 0 | 0 | |
| 0x56C | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x570 | RCC_IPCC1CFGR | 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. | IPCC1LPEN | IPCC1EN | IPCC1RST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x574 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x578 | RCC_RTCCFGR | 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. | RTCLPEN | RTCEN | Res. |
| Reset value | 1 | 0 | |||||||||||||||||||||||||||||||
| 0x57C | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x580 | RCC_ SYSCPU1CFGR | 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. | SYSCPU1LPEN | SYSCPU1EN | Res. |
| Reset value | 1 | 0 | |||||||||||||||||||||||||||||||
| 0x584 | RCC_BSECCFGR | 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. | BSECLPEN | BSECEN | Res. |
| Reset value | 1 | 0 | |||||||||||||||||||||||||||||||
| 0x588 - 0x58C | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x590 | RCC_PLL2CFGR1 | Res. | Res. | Res. | CKREFST | Res. | Res. | Res. | PLLRDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PLLEN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SSMODRST |
| Reset value | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||||||
| 0x594 | RCC_PLL2CFGR2 | Res. | Res. | Res. | Res. | FBDIV[11:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FREFDIV[5:0] | ||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
| 0x598 | RCC_PLL2CFGR3 | Res. | Res. | Res. | Res. | Res. | SSCGDIS | DACEN | DOWNSPREAD | FRACIN[23:0] | |||||||||||||||||||||||
| Reset value | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||
Table 162. RCC register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x59C | RCC_PLL2CFGR4 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | BYPASS | FOUTPOSTDIVEN | DSMEN | Res | Res | Res | Res | Res | Res | Res |
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x5A0 | RCC_PLL2CFGR5 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | SPREAD[4:0] | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | DIVVAL [3:0] | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0x5A4 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x5A8 | RCC_PLL2CFGR6 | 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 | POSTDIV1[2:0] | ||
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x5AC | RCC_PLL2CFGR7 | 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 | POSTDIV2[2:0] | ||
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x5B0 - 0x5DC | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x5E0 | RCC_HSIFMONCR | HSIMONF | HSIMONIE | Res | Res | Res | Res | Res | Res | Res | Res | HSIDEV[5:0] | HSIMONEN | Res | Res | Res | Res | Res | HSIREF[10:0] | ||||||||||||||
| Reset value | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | ||||||||||||||
| 0x5E4 | RCC_HSIFVALR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | HSIVAL[10:0] | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||
| 0x5E8 | RCC_MSIFMONCR | MSIMONF | MSIMONIE | Res | Res | Res | Res | Res | Res | Res | Res | MSIDEV[4:0] | MSIMONEN | Res | Res | Res | Res | Res | Res | Res | MSIREF[8:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | ||||||||||||||||
| 0x5EC | RCC_MSIFVALR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MSIVAL[8:0] | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||
| 0x5F0 - 0x6FC | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x700 + 0x4 * (x-1) (x=1 to 8, 10 to 17) Last addr: 0x73C | RCC_TIMxCFGR | 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 | TIMxLPEN | TIMxEN | TIMxRST | |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||

Table 162. RCC register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x740 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x744 + 0x4 * (x-1) (x=1 to 5) Last addr: 0x754 | RCC_LPTIMxCFGR | LPTIMxLPEN | LPTIMxEN | LPTIMxRST | |||||||||||||||||||||||||||||
| Reset value | 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. | 1 | 0 | 0 | |
| 0x758 + 0x4 * (x-1) (x=1 to 6) Last addr: 0x76C | RCC_SPIxCFGR | SPIxLPEN | SPIxEN | SPIxRST | |||||||||||||||||||||||||||||
| Reset value | 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. | 1 | 0 | 0 | |
| 0x770 - 0x774 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x778 | RCC_SPDIFRXCFCGR | 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. | SPDIFRXLPEN | SPDIFRXEN | SPDIFRXRST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x77C + 0x4 * (x-1) (x=1 to 3) Last addr: 0x784 | RCC_USARTxCFGR | 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. | USARTxLPEN | USARTxEN | USARTxRST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x788 + 0x4 * (x-4) (x=4 to 5) Last addr: 0x78C | RCC_UARTxCFGR | 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. | UARTxLPEN | UARTxEN | UARTxRST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x790 | RCC_USART6CFGR | 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. | USART6LPEN | USART6EN | USART6RST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x794 | RCC_UART7CFGR | 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. | UART7LPEN | UART7EN | UART7RST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x798 - 0x79C | Reserved | Res. | |||||||||||||||||||||||||||||||
Table 162. RCC register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x7A0 | RCC_LPUART1CFGR | LPUART1LPEN | LPUART1EN | LPUART1RST | |||||||||||||||||||||||||||||
| Reset value | 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. | 1 | 0 | 0 | |
| 0x7A4 + 0x4 * (x-1) (x=1 to 3) Last addr: 0x7AC | RCC_I2CxCFGR | I2CxLPEN | I2CxEN | I2CxRST | |||||||||||||||||||||||||||||
| Reset value | 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. | 1 | 0 | 0 | |
| 0x7B0 - 0x7C0 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x7C4 + 0x4 * (x-1) (x=1 to 4) Last addr: 0x7D0 | RCC_SAIxCFGR | 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. | SAIxLPEN | SAIxEN | SAIxRST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x7D4 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x7D8 | RCC_MDF1CFGR | MDF1LPEN | MDF1EN | MDF1RST | |||||||||||||||||||||||||||||
| Reset value | 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. | 1 | 0 | 0 | |
| 0x7DC | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x7E0 | RCC_FDCANCFGR | FDCANLPEN | FDCANEN | FDCANRST | |||||||||||||||||||||||||||||
| Reset value | 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. | 1 | 0 | 0 | |
| 0x7E4 | RCC_HDPCFGR | 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. | HDPEN | HDPRST |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x7E8 | RCC_ADC1CFGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADC1KERSE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADC1LPEN | ADC1EN | ADC1RST |
| Reset value | 0 | 1 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x7EC | RCC_ADC2CFGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADC2KERSEL[1:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ADC2LPEN | ADC2EN | ADC2RST | |
| Reset value | 0 | 0 | 1 | 0 | 0 | ||||||||||||||||||||||||||||
Table 162. RCC register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x7F0 | RCC_ETH1CFGR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | ETH1RXLPEN | ETH1RXEN | ETH1TXLPEN | ETH1TXEN | Res | ETH1LPEN | ETH1EN | ETH1STPEN | Res | ETH1MACLPEN | ETH1MACEN | ETH1RST | |
| Reset value | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | ||||||||||||||||||||||||
| 0x7F4 | RCC_ETH2CFGR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | ETH2RXLPEN | ETH2RXEN | ETH2TXLPEN | ETH2TXEN | Res | ETH2LPEN | ETH2EN | ETH2STPEN | Res | ETH2MACLPEN | ETH2MACEN | ETH2RST | |
| Reset value | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | ||||||||||||||||||||||||
| 0x7F8 | Reserved | Res. | ||||||||||||||||||||||||||||||||
| 0x7FC | RCC_USBHCFGR | 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 | USBHLPEN | USBHEN | USBHRST |
| Reset value | 1 | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x800 | RCC_USB2PHY1CFGR | 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 | USB2PHY1LPEN | USB2PHY1EN | USB2PHY1RST |
| Reset value | 1 | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x804 | Reserved | Res. | ||||||||||||||||||||||||||||||||
| 0x808 | RCC_OTGCFGR | 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 | OTGLPEN | OTGEN | OTGRST |
| Reset value | 1 | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x80C | RCC_USB2PHY2CFGR | 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 | USB2PHY2LPEN | USB2PHY2EN | USB2PHY2RST |
| Reset value | 1 | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x810 - 0x820 | Reserved | Res. | ||||||||||||||||||||||||||||||||
| 0x824 | RCC_STGENCFGR | 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 | STGENSTPEN | Res | STGENLPEN | STGENEN | Res | |
| Reset value | 0 | 1 | 0 | |||||||||||||||||||||||||||||||
Table 162. RCC register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x828 - 0x82C | Reserved | Res. | ||||||||||||||||||||||||||||||||
| 0x830 + 0x4 * (x-1) (x=1 to 3) Last addr: 0x838 | RCC_SDMMCxCFGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SDMMCxDLLRST | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SDMMCxLPEN | SDMMCxEN | SDMMCxRST |
| Reset value | 0 | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x83C | Reserved | Res. | ||||||||||||||||||||||||||||||||
| 0x840 | RCC_LTDCCFGR | 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. | LTDCLPEN | LTDCEN | LTDCRST |
| Reset value | 1 | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x844 - 0x854 | Reserved | Res. | ||||||||||||||||||||||||||||||||
| 0x858 | RCC_CSICFGR | 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. | CSILPEN | CSIEN | CSIRST |
| Reset value | 1 | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x85C | RCC_DCMIPPCFGR | 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. | DCMIPPLPEN | DCMIPPEN | DCMIPPRST |
| Reset value | 1 | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x860 | RCC_DCMIPSSICFGR | 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. | DCMIPSSILPEN | DCMIPSSIEN | DCMIPSSIRST |
| Reset value | 1 | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x864 - 0x86C | Reserved | Res. | ||||||||||||||||||||||||||||||||
| 0x870 + 0x4 * (x-1) (x=1 to 2) Last addr: 0x874 | RCC_RNGxCFGR | 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. | RNGxLPEN | RNGxEN | RNGxRST |
| Reset value | 1 | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x878 | RCC_PKACFGR | 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. | PKALPEN | PKAEN | PKARST |
| Reset value | 1 | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x87C | RCC_SAESCFGR | 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. | SAESLPEN | SAESEN | SAESRST |
| Reset value | 1 | 0 | 0 | |||||||||||||||||||||||||||||||

Table 162. RCC register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x880 + 0x4 * (x-1) (x=1 to 2) Last addr: 0x884 | RCC_HASHxCFGR | 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. | HASHLPEN | HASHEN | HASHRST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x888 + 0x4 * (x-1) (x=1 to 2) Last addr: 0x88C | RCC_CRYPxCFGR | 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. | CRYPxLPEN | CRYPxEN | CRYPxRST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x890 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x894 + 0x4 * (x-1) (x=1 to 4) Last addr: 0x8A0 | RCC_IWDGxCFGR | 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. | IWDGxLPEN | IWDGxEN | Res. |
| Reset value | 1 | 0 | |||||||||||||||||||||||||||||||
| 0x8A4 | RCC_WWDG1CFGR | 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. | WWDG1LPEN | WWDG1EN | WWDG1RST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x8A8 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x8AC | RCC_VREFCFGR | 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. | VREFLPEN | VREFEN | VREFRST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x8B0 | RCC_DTSCFGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DTSKERSEL[1:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DTSLPEN | DTSEN | DTSRST | |
| Reset value | 0 | 0 | 1 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x8B4 | RCC_CRCCFGR | 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. | CRCLPEN | CRCEN | CRCRST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x8B8 | RCC_SERCCFGR | 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. | SERCLPEN | SERCEN | SERCRST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x8BC | Reserved | Res. | |||||||||||||||||||||||||||||||
Table 162. RCC register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x8C0 | RCC_DDRPERFMCFGR | 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. | DDRPERFMLPEN | DDRPERFMEN | DDRPERFMRST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x8C4 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x8C8 + 0x4 * (x-1) (x=1 to 3) Last addr: 0x8D0 | RCC_I3CxCFGR | 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. | I3CxLPEN | I3CxEN | I3CxRST |
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x8D4 - 0xFFC | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x1000 | RCC_MUXSELCFGR | Res. | Res. | Res. | Res. | Res. | Res. | MUXSEL6[1:0] | Res. | Res. | MUXSEL5[1:0] | Res. | MUXSEL4[2:0] | Res. | MUXSEL3[2:0] | Res. | MUXSEL2[2:0] | Res. | MUXSEL1[2:0] | Res. | MUXSEL0[2:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||
| 0x1004 - 0x1014 | Reserved | ||||||||||||||||||||||||||||||||
| 0x1018 + 0x4 *x (x=1 to 63) Last add: 0x1114 | RCC_XBARxCFGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | XBARxSTS | XBARxEN | Res. | Res. | XBARxSEL[3:0] | |||
| Reset value | 0 | 1 | 0 | 1 | 0 | 1 | |||||||||||||||||||||||||||
| 0x1118 + 0x4 *x (x=1 to 63) Last add: 0x1214 | RCC_PREDIVxCFGR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREDIVx[9:0] | |||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||
| 0x1218 | RCC_PREDIVSR1 | PREDIVSTS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x121C | RCC_PREDIVSR2 | PREDIVSTS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x1220 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x1224 + 0x4 *x (x=1 to 63) Last add: 0x1320 | RCC_FINDIVxCFGR | 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. | FINDIVxEN | FINDIVx[5:0] | |||||
| Reset value | 1 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
| 0x1324 | RCC_FINDIVSR1 | FINDIVSTS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x1328 | RCC_FINDIVSR2 | FINDIVSTS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |

Table 162. RCC register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x132C - 0x133C | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x1340 | RCC_ FCALCOBS0CFGR | Res. | Res. | Res. | Res. | Res. | Res. | CKOBSEN | FCALCKEN | CKOBSDIV[2:0] | Res. | Res. | CKOBSINV | FCALCCKINV | CKOBSEXTSEL | FCALCCKEXTSEL | Res. | Res. | Res. | Res. | CKEXTSEL[2:0] | CKINTSEL[7:0] | |||||||||||
| Reset value | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | |||||||||||||
| 0x1344 | RCC_ FCALCOBS1CFGR | Res. | Res. | Res. | Res. | FCALCRSTN | CKOBSEN | Res. | CKOBSDIV[2:0] | Res. | Res. | Res. | CKOBSINV | Res. | CKOBSEXTSEL | Res. | Res. | Res. | Res. | Res. | CKEXTSEL[2:0] | CKINTSEL[7:0] | |||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | |||||||||||||||
| 0x1348 | RCC_ FCALCREFCFGR | 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. | FCALCREFCKSEL[2:0] | ||
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x134C | RCC_FCALCCR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCALCRUN |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x1350 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x1354 | RCC_FCALCCR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCALCTYP[4:0] | Res. | Res. | FCALCTWC[3:0] | Res. | Res. | Res. | Res. | Res. | Res. | FCALCMD[1:0] | Res. | Res. | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||
| 0x1358 | RCC_FCALCSR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCALCSTS | Res. | FVAL[16:0] | ||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
| 0x135C | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x1360 +0x28 * (y-4) (y=4 to 8) Last addr: 0x1400 | RCC_PLLyCFGR1 | Res. | Res. | Res. | CKREFST | Res. | Res. | Res. | PLLRDY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PLLEN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SSMODRST | |
| Reset value | 1 | 0 | 0 | 1 | |||||||||||||||||||||||||||||

Table 162. RCC register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x1364 +0x28 * (y-4) (y=4 to 8) Last addr: 0x1404 | RCC_PLLyCFGR2 | Res. | Res. | Res. | Res. | FBDIV[11:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FREFDIV[5:0] | ||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
| 0x1368 +0x28 * (y-4) (y=4 to 8) Last addr: 0x1408 | RCC_PLLyCFGR3 | Res. | Res. | Res. | Res. | Res. | SSCGDIS | DACEN | DOWNSPREAD | FRACIN[23:0] | |||||||||||||||||||||||
| Reset value | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||
| 0x136C +0x28 * (y-4) (y=4 to 8) Last addr: 0x140C | RCC_PLLyCFGR4 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BYPASS | FOUTPOSTDIVEN | DSMEN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x1370 +0x28 * (y-4) (y=4 to 8) Last addr: 0x1410 | RCC_PLLyCFGR5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SPREAD[4:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DIVVAL [3:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0x1374 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x1378 +0x28 * (y-4) (y=4 to 8) Last addr: 0x1418 | RCC_PLLyCFGR6 | 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. | POSTDIV1[2:0] | ||
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x137C +0x28 * (y-4) (y=4 to 8) Last addr: 0x141C | RCC_PLLyCFGR7 | 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. | POSTDIV2[2:0] | ||
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x1420 - 0xFFF0 | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0xFFF4 | RCC_VERR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MAJREV [3:0] | MINREV [3:0] | ||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFFF8 | RCC_IDR | ID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | |
| 0xFFFC | RCC_SIDR | SID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | |
