21. Reset and clock control (RCC)

The RCC manages the clock and reset generation for the complete circuit (see Section 20: Power control (PWR) for more details on operating modes).

In the whole document:

D1 domain holds CPU1 (supplied by \(V_{DDCPU}\)). D2 domain holds CPU2 and the majority of the peripherals (supplied by \(V_{DDCORE}\)). D3 domain holds CPU3 and some peripherals (supplied by \(V_{DDCORE}\) or by the internal backup regulator).

21.1 RCC main features

21.2 RCC block diagram

The figure below gives a simplified view of the RCC, and the key signals exchanged with the other peripherals. Five voltage domains are present in the RCC: VDD domain, VSW domain, VDDCPU domain called D1 domain, VDDCORE domain called D2 domain, and VSR domain called D3 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 80. RCC block diagram

A detailed block diagram of the Reset and Clock Control (RCC) unit. The diagram shows the internal structure of the RCC, including the Reset control block, Register interface and control, Clock manager unit (CMU), Flexclkgen, and Clock enable unit. It also illustrates the connections to various peripherals and system components. The Reset control block is divided into five voltage domains: VDD, VSR, VSW, VDDCORE, and VDDCPU. The Register interface and control block is connected to the AMBA 5 AHB bus and various interrupt sources (NVIC, GIC, TAMP). The Clock manager unit (CMU) is connected to the RTC and the Clock enable unit. The Flexclkgen block contains several clock generation stages: MUXSEL, GFG, XBAR, PREDIV, and FINDIV. The Clock enable unit is connected to the CPU, AXI, AHB, and APB buses. The diagram also shows the connections to the PWR block, which includes the RESET, BORHOUT, and POR_VSW signals. The diagram is labeled with 'MSv68373V5' at the bottom right.
A detailed block diagram of the Reset and Clock Control (RCC) unit. The diagram shows the internal structure of the RCC, including the Reset control block, Register interface and control, Clock manager unit (CMU), Flexclkgen, and Clock enable unit. It also illustrates the connections to various peripherals and system components. The Reset control block is divided into five voltage domains: VDD, VSR, VSW, VDDCORE, and VDDCPU. The Register interface and control block is connected to the AMBA 5 AHB bus and various interrupt sources (NVIC, GIC, TAMP). The Clock manager unit (CMU) is connected to the RTC and the Clock enable unit. The Flexclkgen block contains several clock generation stages: MUXSEL, GFG, XBAR, PREDIV, and FINDIV. The Clock enable unit is connected to the CPU, AXI, AHB, and APB buses. The diagram also shows the connections to the PWR block, which includes the RESET, BORHOUT, and POR_VSW signals. The diagram is labeled with 'MSv68373V5' at the bottom right.

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.

21.2.1 RCC pin overview

The table below lists the RCC signals connected to pins or balls.

Table 120. Pin overview

Pin nameTypeDescription
NRSTInput/outputExternal (application) reset, can be used to provide reset to external devices
OSC32_INInput32 kHz oscillator input
OSC32_OUTOutput32 kHz oscillator output
OSC_INInputSystem oscillator input
OSC_OUTOutputSystem oscillator output
MCO1OutputOutput clock 1 for external devices
MCO2OutputOutput clock 2 for external devices
NRSTC1MSOutputOutput reset flag for external mass-storage devices used by CPU1
AUDIOCLKInputExternal kernel clock input for digital audio interfaces: SPI/I2S, SAI, and MDF

21.3 RCC functional description - Reset

There are several sources able to generate a reset:

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

21.3.1 Power-on/off resets

The PWR provides the following reset signals to the RCC:

As shown in Figure 81, 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/3 can start (see Table 123 for details).

See Section 20: Power control (PWR) for details on the generation of power-on/off resets.

21.3.2 Application and system resets

An application reset (app_rstn) is generated from one of the following sources:

A system reset (sys_rstn) is generated from one of the following sources:

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 81, the NRST pin is activated by:

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 µs for each internal reset source. app_rstn and sys_rstn are also impacted by this function (see Section 21.3.11 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 81. System reset circuit

Figure 81. System reset circuit block diagram showing RCC - Reset control, power domains (VDDCORE domain, VDD domain, Vsw domain), inputs from IWDG1-5, RETRAM, PWR, DAP, outputs to NRST, BSEC, MREPAIR, and reset signals such as sys_rstn, c1ms_rstn, cpu1_rstn, cpu1_p1porrstn, cpu1_p1rstn, vsw_rstn, cpu2_rstn, gpu_rstn, dbg_rstn, PERxRSTN.
Figure 81. System reset circuit block diagram showing RCC - Reset control, power domains (VDDCORE domain, VDD domain, Vsw domain), inputs from IWDG1-5, RETRAM, PWR, DAP, outputs to NRST, BSEC, MREPAIR, and reset signals such as sys_rstn, c1ms_rstn, cpu1_rstn, cpu1_p1porrstn, cpu1_p1rstn, vsw_rstn, cpu2_rstn, gpu_rstn, dbg_rstn, PERxRSTN.

MSv68377V1

21.3.3 Local resets

The local resets are resets which 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.

21.3.4 Resets generated by CPUs

All CPUs can generate system and local resets. The RCC offers the following possibilities:

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. 1. Clear RCC_CPUBOOTCR.BOOT_CPU1.
  2. 2. Activate RCC_C1RSTCSETR.C1RST.
  3. 3. Poll RCC_C1RSTCSETR.C1RST until it is 0.
  4. 4. Set RCC_CPUBOOTCR.BOOT_CPU1.

21.3.5 Watchdog resets

The following watchdogs are provided to the application:

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 121 and Table 122 for details):


Warning: The application must set these IWDGx_SYSRSTEN bits prior enabling any watchdog.


These registers are located in \(V_{DD}\) domain and are reset by app_rstn.

Table 121. IWDG timeout event combinations when TDCID = CPU1

IWDG1_YSRSTEN(1)IWDG2_YSRSTENIWDG3_YSRSTENIWDG4_YSRSTENTimeout event description
-000System reset from IWDG1
1System reset from IWDG1 and IWDG4
10System reset from IWDG1 and IWDG2
1System reset from IWDG1, IWDG2, and IWDG4
010System reset from IWDG1 and IWDG3
1System reset from IWDG1, IWDG3, and IWDG4
10System reset from IWDG1, IWDG2, and IWDG3
1System reset from all watchdogs

1. “-” means don’t care.

Table 122. IWDG timeout event combinations when TDCID = CPU2

IWDG1_YSRSTENIWDG2_YSRSTENIWDG3_YSRSTEN(1)IWDG4_YSRSTENTimeout event description
00-0System reset from IWDG3
1System reset from IWDG3 and IWDG4
10System reset from IWDG2 and IWDG3
1System reset from IWDG2, IWDG3, and IWDG4
100System reset from IWDG1 and IWDG3
1System reset from IWDG1, IWDG3, and IWDG4
10System reset from IWDG1, IWDG2, and IWDG3
1System 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.

21.3.6 Backup domain reset

A backup domain reset (vsw_rstn) is generated when one of the following events occurs:

Note: When VSWRST is used to reset both backup and D3 domains, the application must ensure that all selected D2 kernel clocks used in D3 domain have been stopped before.

The por_rstn reset source for the VDD domain is gated by the por_vsw_rstn reset in order to secure the internal power sequence. See Section 20 for additional information.

21.3.7 D3 domain reset

Depending on the application, the following reset sources can apply for D3 domain:

Note: Refer to Section 20: Power control (PWR) for details regarding D3 power modes.

When the D3 domain is supplied by \(V_{BAT}\), it can be either fully powered or temporarily powered to qualify the tamper detection event (ePOS mode). In that latter case, an hardware reset sequence is necessary every time the D3 domain is powered-on (transition from \(V_{BAT2}\) to \(V_{BAT1}\) mode). The following sequence is applied:

  1. 1. Wait for internal D3 power switch ok flag (used as power-on reset for D3 peripherals) after any enabled tamper event detection.
  2. 2. Enable MSI and wait for its ready flag.
  3. 3. Release local reset on CPU3 resources (local interconnect, CRC, LPSRAM1, LPSRAM2, RTC, TAMP, IWDG5).

Note: All unused D3 peripherals in ePOS mode (LPSRAM3, GPIOZ, LPDMA1, ADF1, HSEM, SPI8, LPUART1, I2C8, I3C4, LPTIM3, LPTIM4, LPTIM5, WWDG2) are kept under reset.

21.3.8 CoreSight debug reset

The CoreSight debug components including the CPU1 debug part can be reset in three different ways:

21.3.9 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 7: Boot and security control (BSEC) for details):

Note: When a warm reset occurs, any NRST reset is filtered, and the bsec_srst reset is not performed.

21.3.10 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 21.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 21.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 such as the GPU, the reset process may take several clock cycles. For that purpose, the application can read back the reset bit (such as GPURST for GPU) in order to check if the reset process is ongoing or completed.

Note: When GPURST is used, the application must insure that PLL3 reference clock (ck_gpuss_pll3_fref) frequency is lower than GPU (ck_icn_p_gpu, ck_icn_m_gpu and ck_ker_gpu) and RCC (ck_icn_p_rcc) clock frequencies.

Note: DCMIPP, ETH1, ETH2, HPDMA1, HPDMA2, HPDMA3, LTDC, PCIE, SDMMC1, SDMMC2, SDMMC3, USBH, USB3DR, VDEC and VENC peripherals are also following the GPU 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.

21.3.11 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:

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 μs before having the LSI ready (\(T_{LSI\_SU}\)).

Figure 82. NRST reset pulse control

Timing diagram for NRST reset pulse control showing cmd_pad_rst, RPCTL_lsi_ck, RPCTL_cnt, and NRST signals. The diagram illustrates two scenarios: one where cmd_pad_rst is a short pulse and another where it is a long pulse. In both cases, the NRST pulse width is determined by T_LSI_SU and the MRD counter (MRD, MRD-1, MRD-2).

The diagram illustrates the timing relationship between the cmd_pad_rst, RPCTL_lsi_ck, RPCTL_cnt, and NRST signals. It shows two scenarios for the cmd_pad_rst signal:

MSv66587V1

Timing diagram for NRST reset pulse control showing cmd_pad_rst, RPCTL_lsi_ck, RPCTL_cnt, and NRST signals. The diagram illustrates two scenarios: one where cmd_pad_rst is a short pulse and another where it is a long pulse. In both cases, the NRST pulse width is determined by T_LSI_SU and the MRD counter (MRD, MRD-1, MRD-2).

NRSTC1MS I/O

The RPCTL is the same as the NRST except the following:

Figure 83. NRSTC1MS reset pulse control

Figure 83: NRSTC1MS reset pulse control. The diagram shows two timing scenarios for the NRSTC1MS reset pulse. In the top scenario, the NRSTC1MS pulse width is determined by the sys_rstn signal transition. In the bottom scenario, the NRSTC1MS pulse width is determined by the RPCTL_cnt register value, which is set to C1MSRD. The RPCTL_cnt register is shown with fields for C1MSRD, C1MSRD-1, C1MSRD-2, and C1MSRD-3. The RPCTL_LSI_ck signal is shown as a clock signal. The RPCTL_cnt register is shown as a register with a value of 0. The NRSTC1MS pulse width is labeled as T_LSI_SU + C1MSRD x 1ms. The diagram also shows the sys_rstn and c1msrst signals.

MSv66565V1

Figure 83: NRSTC1MS reset pulse control. The diagram shows two timing scenarios for the NRSTC1MS reset pulse. In the top scenario, the NRSTC1MS pulse width is determined by the sys_rstn signal transition. In the bottom scenario, the NRSTC1MS pulse width is determined by the RPCTL_cnt register value, which is set to C1MSRD. The RPCTL_cnt register is shown with fields for C1MSRD, C1MSRD-1, C1MSRD-2, and C1MSRD-3. The RPCTL_LSI_ck signal is shown as a clock signal. The RPCTL_cnt register is shown as a register with a value of 0. The NRSTC1MS pulse width is labeled as T_LSI_SU + C1MSRD x 1ms. The diagram also shows the sys_rstn and c1msrst signals.

21.3.12 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}\), \(V_{DDGPU}\) and \(V_{DDCPU}\) are not valid.

Table 123. Reset coverage summary

Reset itemsReset lines(1)
por_rstn(2)vcore_rstnsys_rstnapp_rstnvgpu_rstnvcpu_rstncpu1_rstncpu2_rstndbg_rstnperx_rstnvsw_rstn
\(V_{DD}\) domainX----------
DDR ITFXXXX-------
CPU1 (D1 domain)X-XX-XX----
CPU2 (D2 domain)XXXX---X---
D3 domainX-XX------X
AXI/AHB interconnections (D2 domain)XXXX-------
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.XXXX----X--
IWDG1X--X--X----
IWDG2X--X--X--X-
IWDG3X--X---X---
IWDG4X--X---X-X-
IWDG5X--X-----X (3)-

Table 123. Reset coverage summary (continued)

Reset itemsReset lines(1)
por_rstn(2)vcore_rstnsys_rstnapp_rstnvgpu_rstnvcpu_rstncpu1_rstncpu2_rstndbg_rstnperx_rstnvsw_rstn
Hardware system init. It includes the memory repair.xx-xxx-----
RCCRCC_LEGBOOTCR, RCC_STBYBOOTCRx--x-------
RCC_HWRSTSCLRR, RCC_C1HWRSTSCLRR,
RCC_C2HWRSTSCLRR
x----------
RCC_IWDGC1FZSETRxxxx-xx----
RCC_IWDGC2FZSETRxxxx---x---
RCC_RDCRx----------
RCC_BDCR----------x
RCC_PLL3CFGRx (x = 1 to 7)----x------
Other RCC registersxxxx-------
PWRPWR_CR2, PWR_CR9, PWR_CR10, PWR_D3WKUPENR,
PWR_D3CR
----------x
PWR_CR5, PWR_CR6, PWR_WKUPCRxx--x-------
PWR_D1CRx----------
PWR_BDCR2 (same as D3 domain)x-xx------x
PWR_CPU1CR, PWR_CPU2CR, PWR_CPU3CR, PWR_D2CR
Individual bits of these registers do not have the same reset condition
(see Section 20: Power control (PWR) for details).
xxxx-------
Other registersxxxx-------
RTC----------x
BKPSRAM, RETRAM, and LPSRAM1
After a reset of the VSW domain, BKPSRAM, RETRAM, and LPSRAM1 backup regulators are disabled. This is controlled BKPRBSEN in PWR_CR9, RETRBSEN in PWR_CR10, and LPR1BSEN in PWR_CR9 respectively.
If the vsw_rstn reset is due to a too low VSW voltage, the content of BKPSRAM, RETRAM, and LPSRAM1 is lost.
----------x
Central RIF componentsxxxx-------
Other peripheralsxxxx-----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.
  3. IWDG5 is reset whenever a CPU3 reset is executed (see C3RST in RCC_C3CFGR).

Reset of RCC registers

The table below lists registers having bits into a voltage domain different from \(V_{DDCORE}\). 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 124. RCC registers with specific reset and specific voltages

RCC register nameVoltage domainReset conditionComment
RCC_LEGBOOTCR, RCC_STBYBOOTCR,
RCC_IWDGC1CFGSETR, RCC_IWDGC1CFGCLRR,
RCC_IWDGC2CFGSETR, RCC_IWDGC2CFGCLRR,
RCC_IWDGC3CFGSETR, RCC_IWDGC3CFGCLRR,
RCC_MSICFGR, RCC_D3DCR RCC_D3DSR(1)
\(V_{DD}\)app_rstnMust be reset after a system reset, but not after Standby reset
RCC_OCENSETR, RCC_OCENCLRR,
RCC_OCRDYR, RCC_HSICFGR, RCC_MSICFGR,
RCC_D3DCR, RCC_D3DSR(2)
sys_rstn-
RCC_HWRSTSCLRR, RCC_C1HWRSTSCLRR,
RCC_C2HWRSTSCLRR, RCC_RDCR
por_rstnOnly reset when a \(V_{DD}\) is removed
RCC_BDCR, RCC_MSICFGR, RCC_D3DCR,
RCC_D3DSR(1)
\(V_{SW}\)vsw_rstnVSWRST not reset by por_vsw_rstn
RCC_LPSRAM1CFGR, RCC_LPSRAM2CFGR,
RCC_LPSRAM3CFGR, RCC_GPIOZCFGR,
RCC_LPDMACFGR, RCC_HSEMCFGR,
RCC_IPCC2CFGR, RCC_RTCCFGR,
RCC_LPTIM3CFGR, RCC_LPTIM4CFGR,
RCC_LPTIM5CFGR, RCC_SPI8CFGR,
RCC_LPUART1CFGR, RCC_I2C8CFGR,
RCC_I3C4CFGR, RCC_ADF1CFGR, RCC_C3CFGR,
RCC_IWDG5CFGR, RCC_WWDG2CFGR
\(V_{SR}\)vsw_rstn, por_rstn,
app_rstn, sys_rstn(3)
Refer to Section 21.3.7 for details
  1. 1. RCC_MSICFGR, RCC_D3DCR, and RCC_D3DSR (in D3 domain) can be supplied by either \(V_{DD}\), \(V_{SW}\), or \(V_{DDCORE}\).
  2. 2. RCC_MSICFGR, RCC_D3DCR, and RCC_D3DSR (in D3 domain) are reset by a system reset only when D3 peripherals are not configured in local clock mode.
  3. 3. These different reset conditions apply according to the D3 domain configuration.

21.3.13 Reset source identification

The RCC offers the following registers in order to identify the root cause of reset:

The first booting CPUx can access RCC_HWRSTSCLRR to identify the reset root cause. It also relies on PWR_CPUxCR content (see Section 20: 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_HWRSTSCLRR, RCC_C1HWRSTSCLRR, and RCC_C2HWRSTSCLRR.

Figure 84. Reset source registers

Figure 84. Reset source registers schematic showing Register map, RCC hardware, PWR hardware, and Physical registers interactions.

Register map

Hardware Blocks:

Physical registers:

Signal / Access Flow:

MSv66589V1

Figure 84. Reset source registers schematic showing Register map, RCC hardware, PWR hardware, and Physical registers interactions.

The table below shows the status bits in RCC_HWRSTSCLRR, RCC_C1HWRSTSCLRR, and RCC_C2HWRSTSCLRR according to the reset source.

Table 125. RCC HWRSTSCLRR, RCC_C1HWRSTSCLRR, RCC_C2HWRSTSCLRR flags(1)

#Reset sourceRETECCFAILRESTRSTFRETECCFAILCRCRSTFRETCRCERRRSTFC1P1RSTFC2RSTFC1RSTFIWDG5SYSRSTFIWDG4SYSRSTFIWDG3SYSRSTFIWDG2SYSRSTFIWDG1SYSRSTFSYSC2RSTFSYSC1RSTFVCPURSTFVCORERSTFHCSSRSTFPADRSTFBORRSTFPORRSTF
1Power-on reset (por_rstn)----11-------11-1-1
2Brownout reset (bor_rstn)----11----------11-
3Pin reset from NRST----11----------1--
4Clock failure on HSE----11---------11--
5System reset (SYSRST) by CPU1----11------1---1--
6System reset (SYSRST) by CPU2----11-----1----1--
7System reset from VCPU monitor----11-------1-----
8CPU1 reset by CPU2 (C1RST)(2)-----1-------------
9CPU2 reset by CPU1 (C2RST)(3)----1--------------
10System exits Standby in cold boot CPU2 mode without error----1---------1----
11System exits Standby in other modes(4) without error----11-------11----
12System exits Standby with RETRAM CRC error--1-11-------11-1--
13System exits Standby with RETRAM ECC failure during CRC-1--11-------11-1--
14System exits Standby with RETRAM ECC failure during system restoration1---11-------11-1--
15D1 domain exits DStandby-----1-------1-----
16IWDG1 system reset (iwdg1_out_rst)----11----1-----1--
17IWDG2 system reset (iwdg2_out_rst)----11---1------1--
18IWDG3 system reset (iwdg3_out_rst)----11--1-------1--
19IWDG4 system reset (iwdg4_out_rst)----11-1--------1--
20IWDG5 system reset (iwdg5_out_rst)----111---------1--
21CPU1 processor core 1 reset by CPU1---1---------------
  1. 1. The 1 status is highlighted in grey.
  2. 2. This bit is set when C1RST is activated in RCC_C1RSTCSETR.
  3. 3. This bit is set when C2RST is activated in RCC_C2RSTCSETR.
  4. 4. VCPURSTF is present only when D1 is not in kept in DStandby.

21.3.14 Power-on and wake-up sequences

For detailed diagrams refer to Section 20: 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 85 shows the most usual examples.

Power-on wake-up sequence

The power-on wake-up sequence of Figure 85 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.

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 85. Boot sequences versus system states

Figure 85: Boot sequences versus system states. This diagram shows seven different boot/wake-up sequences over time for various system states. 1. Power-on wakeup (with or without VBAT): Sequence is EXT REG + bandgap, HSI, OTP_LD, MEM, BR, APP. Triggered by VDD > POR. 2. PAD reset (or bor_rstn, iwdgx_out_rst, and so on): Sequence is HSI, OTP_LD, MEM, BR, APP. Triggered by NRST goes high. 3. Wakeup from system Standby in legacy mode: Sequence is VCORE/VCPU REG, HSI, MEM, BR, APP. Triggered by a wakeup event. 4. Wakeup from system Standby in wakeup mode: Sequence is VCORE/VCPU REG, HSI, MEM, CRC, BR, APP. Triggered by a wakeup event. 5. Wakeup from system Stop2: Sequence is VCPU REG, CK_RESTORE, BR, APP. Triggered by a wakeup event. 6. Restart from system Stop1: Sequence is CK_RESTORE, APP. Triggered by a wakeup event. 7. Restart from system LP-Stop: Sequence is LP_TEMPO, CK_RESTORE, APP. Triggered by a wakeup event. A legend at the bottom defines the blocks: EXT REG + bandgap (Bandgap and external regulator settling time), VCORE/VCPU REG (External VCORE and VCPU regulators settling time), CK_RESTORE (Restore previous clock config), HSI (HSI restart delay), OTP_LD (Option-byte loading), BR (Boot ROM code), MEM (Memory repair delay), CRC (RETRAM CRC), and APP (Control given to the application).
Figure 85: Boot sequences versus system states. This diagram shows seven different boot/wake-up sequences over time for various system states. 1. Power-on wakeup (with or without VBAT): Sequence is EXT REG + bandgap, HSI, OTP_LD, MEM, BR, APP. Triggered by VDD > POR. 2. PAD reset (or bor_rstn, iwdgx_out_rst, and so on): Sequence is HSI, OTP_LD, MEM, BR, APP. Triggered by NRST goes high. 3. Wakeup from system Standby in legacy mode: Sequence is VCORE/VCPU REG, HSI, MEM, BR, APP. Triggered by a wakeup event. 4. Wakeup from system Standby in wakeup mode: Sequence is VCORE/VCPU REG, HSI, MEM, CRC, BR, APP. Triggered by a wakeup event. 5. Wakeup from system Stop2: Sequence is VCPU REG, CK_RESTORE, BR, APP. Triggered by a wakeup event. 6. Restart from system Stop1: Sequence is CK_RESTORE, APP. Triggered by a wakeup event. 7. Restart from system LP-Stop: Sequence is LP_TEMPO, CK_RESTORE, APP. Triggered by a wakeup event. A legend at the bottom defines the blocks: EXT REG + bandgap (Bandgap and external regulator settling time), VCORE/VCPU REG (External VCORE and VCPU regulators settling time), CK_RESTORE (Restore previous clock config), HSI (HSI restart delay), OTP_LD (Option-byte loading), BR (Boot ROM code), MEM (Memory repair delay), CRC (RETRAM CRC), and APP (Control given to the application).

MSv66536V1

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:

There are different behaviors regarding this selection process.

Table 126. First CPUx boot selection

LEGACY_BENCOLD_CPU2CPU_BEN_SELCPU1_HW_BENCPU2_HW_BENFirst CPUx boot selection
10NA00CPU1
10
01
11

Table 126. First CPUx boot selection (continued)

LEGACY_BENCOLD_CPU2CPU_BEN_SELCPU1_HW_BENCPU2_HW_BENFirst CPUx boot selection
00NA10CPU1
01CPU2
000CPU1
1
011CPU1
1CPU2
1NANANACPU2

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

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 86 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 86. HOLD_BOOT CPUx reset

Timing diagram for HOLD_BOOT CPUx reset. It shows two scenarios: BOOT_CPU2 = 0 when the CPU2 is reset, and BOOT_CPU2 = 1 when the CPU2 is reset. In both cases, a CPU2 reset sequence (hatched bar) occurs during the CRUN mode. After the reset sequence, the CPU2 mode transitions to HOLD_BOOT, then back to CRUN, followed by CSleep, CRUN, and CStop. The BOOT_CPU2 signal is low during the reset sequence and high otherwise.

Figure 86. HOLD_BOOT CPUx reset

The diagram illustrates the reset sequence for CPU2. It shows two scenarios based on the value of BOOT_CPU2 when the CPU2 is reset:

The hatched bar indicates the CPU2 reset sequence.

Timing diagram for HOLD_BOOT CPUx reset. It shows two scenarios: BOOT_CPU2 = 0 when the CPU2 is reset, and BOOT_CPU2 = 1 when the CPU2 is reset. In both cases, a CPU2 reset sequence (hatched bar) occurs during the CRUN mode. After the reset sequence, the CPU2 mode transitions to HOLD_BOOT, then back to CRUN, followed by CSleep, CRUN, and CStop. The BOOT_CPU2 signal is low during the reset sequence and high otherwise.

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 127. HOLD_BOOT state control after system Standby exit

LEGACY_BENCPU1 HOLD_BOOT controlCPU2 HOLD_BOOT control
0CPU1_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
1NoneRCC_CPUBOOTCR.BOOT_CPU2(2)
  1. 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.
  2. 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 87. HOLD_BOOT state in legacy mode

Timing diagram for HOLD_BOOT state in legacy mode. It shows signals sys_rstn, BOOT_CPU1, BOOT_CPU2, and CPU1/CPU2 modes. A vertical bracket on the left indicates 'LEGACY_BEN = 1 when the system is reset and exits Standby'. The diagram shows the transition from Off to CRun and CStop for both CPUs, with a HOLD_BOOT state for CPU2 during its reset sequence.

LEGACY_BEN = 1 when the system is reset and exits Standby

sys_rstn

BOOT_CPU1

CPU1 mode: Off → [CPU1 reset sequence] → CRun → CStop

BOOT_CPU2

CPU2 mode: Off → [CPU2 reset sequence] → HOLD_BOOT → CRun → CStop

■ CPU1 reset sequence ■ CPU2 reset sequence

MSv66562V1

Timing diagram for HOLD_BOOT state in legacy mode. It shows signals sys_rstn, BOOT_CPU1, BOOT_CPU2, and CPU1/CPU2 modes. A vertical bracket on the left indicates 'LEGACY_BEN = 1 when the system is reset and exits Standby'. The diagram shows the transition from Off to CRun and CStop for both CPUs, with a HOLD_BOOT state for CPU2 during its reset sequence.

In wake-up event mode, the HOLD_BOOT state is dependent on CPU1_HW_BEN and CPU2_HW_BEN.

Figure 88. HOLD_BOOT state in wake-up single event mode

Two timing diagrams for HOLD_BOOT state in wake-up single event mode. The top diagram shows 'System exits from Standby with CPU1 wake-up event during HOLD_BOOT', where CPU1 transitions from HOLD_BOOT to CRun while CPU2 is in CSleep. The bottom diagram shows 'System exits from Standby with CPU1 wake-up event after HOLD_BOOT', where CPU1 transitions from HOLD_BOOT to WFBEN then CRun, while CPU2 follows a sequence of CRun, CSleep, CRun, and CStop.

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

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

■ CPU1 reset sequence ■ CPU2 reset sequence

MSv66584V1

Two timing diagrams for HOLD_BOOT state in wake-up single event mode. The top diagram shows 'System exits from Standby with CPU1 wake-up event during HOLD_BOOT', where CPU1 transitions from HOLD_BOOT to CRun while CPU2 is in CSleep. The bottom diagram shows 'System exits from Standby with CPU1 wake-up event after HOLD_BOOT', where CPU1 transitions from HOLD_BOOT to WFBEN then CRun, while CPU2 follows a sequence of CRun, CSleep, CRun, and CStop.

In this example, the CPU2 is selected first, and it can release the CPU1 HOLD_BOOT state by setting the BOOT_CPU1 bit.

Figure 89. HOLD_BOOT state in wake-up dual event mode

Timing diagram for HOLD_BOOT state in wake-up dual event mode. The diagram is divided into two sections: 'System exits Standby with CPU2_BEN_SEL = 0' and 'System exits Standby with CPU2_BEN_SEL = 1'. Each section shows signals for sys_rstn, CPU2_BEN_SEL, CPU1_HW_BEN, BOOT_CPU1, CPU1 mode, CPU2_HW_BEN, BOOT_CPU2, and CPU2 mode. CPU1 mode and CPU2 mode show states like Off, CRun, CSleep, CStop, and HOLD_BOOT. A legend indicates CPU1 reset sequence (dotted box) and CPU2 reset sequence (hatched box).

The diagram illustrates the wake-up sequence for a dual-core system in wake-up dual event mode. It shows two scenarios based on the value of CPU2_BEN_SEL.

Scenario 1: System exits Standby with CPU2_BEN_SEL = 0

Scenario 2: System exits Standby with CPU2_BEN_SEL = 1

Legend:

MSv66585V1

Timing diagram for HOLD_BOOT state in wake-up dual event mode. The diagram is divided into two sections: 'System exits Standby with CPU2_BEN_SEL = 0' and 'System exits Standby with CPU2_BEN_SEL = 1'. Each section shows signals for sys_rstn, CPU2_BEN_SEL, CPU1_HW_BEN, BOOT_CPU1, CPU1 mode, CPU2_HW_BEN, BOOT_CPU2, and CPU2 mode. CPU1 mode and CPU2 mode show states like Off, CRun, CSleep, CStop, and HOLD_BOOT. A legend indicates CPU1 reset sequence (dotted box) and CPU2 reset sequence (hatched box).

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 20: Power control (PWR) for details).

21.4 RCC functional description - Clocks

The RCC provides a high degree of flexibility to the application in the choice of the clock generators:

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:

Clocking of CPU1, GPU 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 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 90, the RCC offers two clock outputs (MCO1 and MCO2), with a great flexibility on the clock selection and frequency adjustment.

Figure 90. Top-level clock tree

Top-level clock tree diagram showing various clock sources (LSI, LSE, MSI, HSE, HSI), domains (Vsw, Vdd), and clock management units (MUXSEL, GFGs, XBAR, PREDIV, FINDIV) leading to subsystems like CA35SS, DDRSS, and GPUSS.

The diagram illustrates the top-level clock tree for the RM0457 microcontroller. It is organized into several functional blocks and domains:

Top-level clock tree diagram showing various clock sources (LSI, LSE, MSI, HSE, HSI), domains (Vsw, Vdd), and clock management units (MUXSEL, GFGs, XBAR, PREDIV, FINDIV) leading to subsystems like CA35SS, DDRSS, and GPUSS.

MSv66544V4

21.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:

Clocks provided by the RCC to peripherals (xxx as peripheral name):

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.

For CPU1, GPU and DDR, the RCC provides the following clocks:

Clocks provided to the different bridges (APB, AHB or AXI), called ck_icn_xxx, with xxx is the bus matrix island clock name

21.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 128. Oscillator states versus system modes

System modesVDD domainVSR domainVSW domain
HSEHSIRCBSECMSILSILSE
Exit from system resetOFFONONOFFAvailableAvailable
In Run1, Run2AvailableAvailableONAvailableAvailableAvailable
In LP-Stop, Stop1, Stop2Available(1)Available(2)OFFAvailable(3)AvailableAvailable
In LPLV-Stop or Standby1OFFOFFOFFAvailableAvailableAvailable
In Standby2OFFOFFOFFOFFAvailableAvailable

Table 128. Oscillator states versus system modes (continued)

System modes\(V_{DD}\) domain\(V_{SR}\) domain\(V_{SW}\) domain
HSEHSIRCBSECMSILSILSE
In \(V_{BAT1}\)OFFOFFOFFAvailableAvailableAvailable
In \(V_{BAT2}\)OFFOFFOFFOFF(4)AvailableAvailable
  1. 1. HSE can remain activated in Stop mode if HSEKERON = 1, or if the peripheral generates a kernel clock request.
  2. 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. 3. MSI can remain activated in Stop mode if MSIKERON = 1, or if the peripheral generates a kernel clock request.
  4. 4. MSI can be activated by hardware when D3 domain is powered (ePOS mode).

HSE oscillator

The HSE can generate a clock from three possible sources:

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 91. HSE clock source

Figure 91. HSE clock source diagram showing three configurations: Digital external clock, Analog external clock, and Crystal/ceramic resonators configuration.

The diagram illustrates three configurations for the HSE clock source:

MSv66577V3

Figure 91. HSE clock source diagram showing three configurations: Digital external clock, Analog external clock, and Crystal/ceramic resonators configuration.

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 92. HSE clock generation

Block diagram of HSE clock generation within the RCC. The diagram shows an external OSC_IN signal entering the RCC block. It can be connected to an HSE_OSC block or a Clock squarer block. The Clock squarer output goes to a multiplexer controlled by HSEDIGBYP. The HSE_OSC output also goes to a multiplexer controlled by HSEBYP. The outputs of these multiplexers go to Ready logic. The output of Ready logic goes to an AND gate and an HSE_CSS block. The AND gate output goes to hse_ck and an HSE_DIV2 block. The HSE_DIV2 output goes to a multiplexer controlled by HSEDIV2BYP, which outputs hse_div2_ck. The HSE_CSS block outputs hse_css_rst. The HSE_OSC block has OSC_IN and OSC_OUT pins. The HSE_DIV2 block has a 0/1 select input. The HSE_CSS block has a 0/1 select input. The HSE_DIV2BYP block has a 0/1 select input. The HSE_CSS block has a 0/1 select input. The HSE_DIV2 block has a 0/1 select input. The HSE_CSS block has a 0/1 select input. The HSE_DIV2BYP block has a 0/1 select input. The HSE_CSS block has a 0/1 select input.

MSv68376V1

Block diagram of HSE clock generation within the RCC. The diagram shows an external OSC_IN signal entering the RCC block. It can be connected to an HSE_OSC block or a Clock squarer block. The Clock squarer output goes to a multiplexer controlled by HSEDIGBYP. The HSE_OSC output also goes to a multiplexer controlled by HSEBYP. The outputs of these multiplexers go to Ready logic. The output of Ready logic goes to an AND gate and an HSE_CSS block. The AND gate output goes to hse_ck and an HSE_DIV2 block. The HSE_DIV2 output goes to a multiplexer controlled by HSEDIV2BYP, which outputs hse_div2_ck. The HSE_CSS block outputs hse_css_rst. The HSE_OSC block has OSC_IN and OSC_OUT pins. The HSE_DIV2 block has a 0/1 select input. The HSE_CSS block has a 0/1 select input. The HSE_DIV2BYP block has a 0/1 select input. The HSE_CSS block has a 0/1 select input. The HSE_DIV2 block has a 0/1 select input. The HSE_CSS block has a 0/1 select input. The HSE_DIV2BYP block has a 0/1 select input. The HSE_CSS block has a 0/1 select input.

The HSE frequency can also be measured via the clock frequency calculator module in the flexclkgen engine (see Section 21.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 21.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. 1. Disable the HSE by writing 1 to HSEON in RCC_OCENCLRR.
  2. 2. Check that the HSE is disabled (HSERDY = 0 in RCC_OCRDYR).
  3. 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. 4. Set HSEBYP bit by writing 1 to HSEBYP in RCC_OCENSETTR.
  5. 5. Enable again the HSE by writing 1 to HSEON in RCC_OCENCLRR, to activate hse_ck.
  6. 6. Check that the HSE is ready for use (HSERDY = 1 in RCC_OCRDYR).

See Figure 91 and Figure 92 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_OCENSETTR, a divide-by-two clock path (hse_div2_ck) is

available for dedicated peripherals that require the same low noise sensitivity as USB3PCIEPHY or USB2PHY. HSEDIV2BYP in RCC_OCSETR selects the hse_div2_ck clock source.

The associated hardware configuration is shown in Figure 91. 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:

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:

Note: The HSI can be kept enabled when the system is in one of LP-Stop or Stop modes (see Section 21.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 21.6.2 for additional information).

Figure 93. HSI calibration flow

Diagram of HSI calibration flow showing the interaction between BSEC, RCC, and HSI blocks.

The diagram illustrates the HSI calibration flow. A block labeled BSEC provides the bsec_hsi_cal[8:0] value to an adder (represented by a circle with a plus sign) inside the RCC block. The adder also receives the HSITRIM[6:0] value (signed) from the RCC_HSICFGR register. The output of the adder is hsi_cal[8:0], which is sent to the HSI block. The HSI block outputs CAL[8:0]. The hsi_cal[8:0] value is also used to generate HSICAL[8:0](unsigned), which is written back to the RCC_HSICFGR register. The diagram is labeled MSv66583V2.

Diagram of HSI calibration flow showing the interaction between BSEC, RCC, and HSI blocks.

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 25: 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:

Note: The MSI provides a clock frequency of either 4 MHz or 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:

Note: The MSI can be kept enabled when the system is in one of LP-Stop, Stop, or Standby modes (see Section 21.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_D3DCR.

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 \(ACC_{MSI}\) (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 21.6.2 for additional information).

Figure 94. MSI calibration flow

Block diagram of MSI calibration flow. The BSEC block provides 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 msi_cal[7:0] signal is also fed back to the RCC_MSICFGR register as MSICAL[7:0] (unsigned).
Block diagram of MSI calibration flow. The BSEC block provides 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 msi_cal[7:0] signal is also fed back to the RCC_MSICFGR register as MSICAL[7:0] (unsigned).

RCBSEC oscillator

The RCBSEC is a 64 MHz RC oscillator located inside the BSEC. It is always activated after an app_rstn reset.

When the system goes in Stop or Standby mode, the RCBSEC clock is disabled by hardware (see Section 21.4.8 for additional information).

Note: The RCBSEC is also used as the source of the RNG kernel clock. 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 95. LSE clock generation

Block diagram of LSE clock generation. The RCC block contains a Clock squarer, two multiplexers, Ready logic, and an LSE_CSS block. OSC32_IN and OSC32_OUT are external pins. OSC32_IN goes to the LSE_OSC block and the first multiplexer. OSC32_OUT goes to the Clock squarer. The Clock squarer output goes to the second multiplexer. The first multiplexer is controlled by LSEDIGBYP and outputs to the second multiplexer. The second multiplexer is controlled by LSEBYP and outputs to Ready logic. Ready logic outputs LSERDY and lse_ck. lse_ck is ANDed with LSEON to drive the LSE_CSS block. The LSE_CSS block outputs rcc_lsecs_fail.
Block diagram of LSE clock generation. The RCC block contains a Clock squarer, two multiplexers, Ready logic, and an LSE_CSS block. OSC32_IN and OSC32_OUT are external pins. OSC32_IN goes to the LSE_OSC block and the first multiplexer. OSC32_OUT goes to the Clock squarer. The Clock squarer output goes to the second multiplexer. The first multiplexer is controlled by LSEDIGBYP and outputs to the second multiplexer. The second multiplexer is controlled by LSEBYP and outputs to Ready logic. Ready logic outputs LSERDY and lse_ck. lse_ck is ANDed with LSEON to drive the LSE_CSS block. The LSE_CSS block outputs rcc_lsecs_fail.

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 91 and Figure 92 for details). Refer to the datasheet for additional information.

In order to select the external clock source, the following steps are needed:

  1. 1. Set DBD3P = 1 in PWR_BDCR1 to allow write accesses to RCC_BDCR.
  2. 2. Disable the LSE by writing 0 to LSEON.
  3. 3. Check that the LSE is disabled (LSERDY = 0).
  4. 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. 5. Set LSEBYP to 1.
  6. 6. Enable again the LSE by writing 1 to LSEON.
  7. 7. Check that the LSE is ready for use (LSERDY = 1).
  8. 8. Set DBD3P = 0 in PWR_BDCR1 to write-protect accesses to RCC_BDCR.

Note: All these bits (except DBD3P) 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:

Note: All these bits (except DBD3P) 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 the datasheet for details).

The LSI can be switched on and off using LSION in RCC_BDCR. LSIRDY in RCC_BDCR 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.

21.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 too low. 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 (hse_css_rst), the RCC generates an application reset (app_rstn). HCSSRSTF is set in order to allow the application to identify the reset root cause.

Note: Before selecting again the HSE clock after an HSE failure, HCSSRSTF must be cleared in RCC_HWRSTCLR. 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.

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:

The CSS on LSE activation must be done in the following order:

  1. 1. Set LSEGFON to 1 in RCC_BDCR to filter glitch on LSE clock.
  2. 2. Set LSEON to 1 in RCC_BDCR, and wait for LSERDY = 1 in RCC_BDCR.
  3. 3. Select the LSE clock via RTCSRC in RCC_BDCR.
  4. 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 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. 1. Disable the CSS function (mandatory).
    1. a) Clear LSECSSON to 0.
    2. b) Clear LSEON to 0 in order to disable the LSE.
    3. c) Clear LSECSSF if interrupt was enabled for this event.
  2. 2. Change the clock source for the RTC if needed:
    1. a) Clear RTCEN to 0 to disable the RTC clock.
    2. b) Enable the new clock source for the RTC.
    3. c) Select the proper clock source via RTCSRC.
    4. d) Set RTCEN to 1 to enable the RTC clock.

The software can take any other required actions to secure the application.

The figure below shows the block involved in the LSE CSS function.

Figure 96. LSE CSS function

Block diagram of the LSE CSS function showing connections between RCC, RTC (TAMP), EXTI2, PWR, GIC, NVIC, and BKPSRAM. Signals include rcc_lsecss_fail, ITAMP[3], it_tamper_sec_async, it_tamper_nonsec_async, erase, c1_wakeup, c2_wakeup, sys_wakeup, and various interrupt lines to GIC and NVIC.

The diagram illustrates the LSE CSS function architecture. The RCC block sends the rcc_lsecss_fail signal to the RTC block. Inside the RTC block, the TAMP (Tamper) module contains it_tamper_sec_async, it_tamper_nonsec_async, and ITAMP[3] signals. The ITAMP[3] signal is connected to the Backup registers and the erase signal. The it_tamper_sec_async signal is connected to EXTI2 lines 16 and 18. The it_tamper_nonsec_async signal is connected to EXTI2 lines 21 and 23. The erase signal is connected to the BKPSRAM. EXTI2 lines 16, 18, 21, and 23 are connected to the PWR block (for c1_wakeup, c2_wakeup, and sys_wakeup signals) and the GIC block (for lines 46 and 44, labeled TAMP_S and TAMP). EXTI2 lines 14 and 12 are connected to the NVIC block (for lines 14 and 12, labeled TAMP_S and TAMP). The version number MSv66541V1 is located in the bottom right corner of the diagram.

Block diagram of the LSE CSS function showing connections between RCC, RTC (TAMP), EXTI2, PWR, GIC, NVIC, and BKPSRAM. Signals include rcc_lsecss_fail, ITAMP[3], it_tamper_sec_async, it_tamper_nonsec_async, erase, c1_wakeup, c2_wakeup, sys_wakeup, and various interrupt lines to GIC and NVIC.

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.

21.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 97 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 97. MCOy clock observation

Block diagram of MCOy clock observation logic. The diagram shows the RCC_FCALCOBSxCFGR register controlling various clock sources. Inputs include external clocks (ext_ckin0-7), internal PLL outputs (ckin_pll1-8), and other system clocks (hsi_ck, hse_ck, msi_ck, hsi_ker_ck, hse_ker_ck, ck_icn_p_rcc). These are multiplexed and processed by 'Clock observation logic' which includes an OR gate and an AND gate. The output is a divider, producing the observed clock signal ck_obsx. This signal is then multiplexed by findiv[z] and controlled by MCOySEL and MCOyON to produce the final MCOy output. Registers RCC_MCOyCFGR and RCC_FCALCOBSxCFGR are also shown.

Notes: (1): x = 0 or 1
(2): y = 1 or 2
(3): z = 61 when x=0 else 62

MSv66542V2

Block diagram of MCOy clock observation logic. The diagram shows the RCC_FCALCOBSxCFGR register controlling various clock sources. Inputs include external clocks (ext_ckin0-7), internal PLL outputs (ckin_pll1-8), and other system clocks (hsi_ck, hse_ck, msi_ck, hsi_ker_ck, hse_ker_ck, ck_icn_p_rcc). These are multiplexed and processed by 'Clock observation logic' which includes an OR gate and an AND gate. The output is a divider, producing the observed clock signal ck_obsx. This signal is then multiplexed by findiv[z] and controlled by MCOySEL and MCOyON to produce the final MCOy output. Registers RCC_MCOyCFGR and RCC_FCALCOBSxCFGR are also shown.

21.4.5 PLL description

The RCC features five PLLs with the same features:

Note: The above PLL use is only a recommendation.

PLLTS16FFCLAFRAC2 main features

Figure 98. PLL block diagram

Figure 98. PLL block diagram. A detailed block diagram of PLLTS16FFCLAFRAC2 showing VDD0V8, VDDA1V8 power supplies, input FREF divided by DIV (FREFDIV[5:0]) to PFD, CP, LPF, VCO (800 to 3200 MHz), DAC, Post-dividers (÷ 1-7, ÷ 1-7) controlled by POSTDIV1[2:0] and POSTDIV2[2:0], multiplexer with BYPASS to output FOUTPOSTDIV, feedback divider (÷ 16-640 integer, ÷ 20-320 fractional), Delta-Sigma Modulator (DSM), Lock detect yielding LOCK output, and CLKSSCG output. Control signals include PLLEN, FOUTPOSTDIVEN, DSMEN, DACEN, FBDIV[11:0], and FRAC[23:0].
Figure 98. PLL block diagram. A detailed block diagram of PLLTS16FFCLAFRAC2 showing VDD0V8, VDDA1V8 power supplies, input FREF divided by DIV (FREFDIV[5:0]) to PFD, CP, LPF, VCO (800 to 3200 MHz), DAC, Post-dividers (÷ 1-7, ÷ 1-7) controlled by POSTDIV1[2:0] and POSTDIV2[2:0], multiplexer with BYPASS to output FOUTPOSTDIV, feedback divider (÷ 16-640 integer, ÷ 20-320 fractional), Delta-Sigma Modulator (DSM), Lock detect yielding LOCK output, and CLKSSCG output. Control signals include PLLEN, FOUTPOSTDIVEN, DSMEN, DACEN, FBDIV[11:0], and FRAC[23:0].

Figure 99. PLL with SSMOD (spread-spectrum modulator) configuration

Figure 99. PLL with SSMOD (spread-spectrum modulator) configuration diagram. Shows interconnects between PLL and Spread-spectrum modulator blocks: FREF, FBDIV[11:0], FRAC[23:0], CLKSSCG connected to SSMOD, with inputs INTMOD[11:0], FRACMOD[23:0], EXTWAVEVAL[7:0], INTERNAL WAVE, SEL_EXTWAVE, ÷ 1-15 divider, and external inputs DIVVAL[3:0], DOWNSPREAD, SPREAD[4:0], RESET, INTIN[11:0], FRACIN[23:0], DISABLE_SSCG.
Figure 99. PLL with SSMOD (spread-spectrum modulator) configuration diagram. Shows interconnects between PLL and Spread-spectrum modulator blocks: FREF, FBDIV[11:0], FRAC[23:0], CLKSSCG connected to SSMOD, with inputs INTMOD[11:0], FRACMOD[23:0], EXTWAVEVAL[7:0], INTERNAL WAVE, SEL_EXTWAVE, ÷ 1-15 divider, and external inputs DIVVAL[3:0], DOWNSPREAD, SPREAD[4:0], RESET, INTIN[11:0], FRACIN[23:0], DISABLE_SSCG.

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:

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.

The PLLs can work in three different modes:

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:

  1. a) Write 0 to FRAC, DSMEN, and DACEN.
  2. b) Write 1 to RESET.
  3. c) Write 1 to PLEN.

The VCO frequency (FOUT) is given by the following expression:

\[F_{FOUT} = \frac{F_{FREF} \times FBDIV}{FREFDIV}\]

The frequency at the output of the post-divider is given by:

\[F_{FOUTPOSTDIV} = \frac{F_{FOUT}}{POSTDIV1 \times POSTDIV2}\]

Caution: The 4 MHz frequency selection for the MSI oscillator cannot be used as FREF source in this 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:

  1. a) Write into FRAC the new fractional value.
  2. 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:

\[F_{FOUT} = \frac{F_{FREF} \times \left( FBDIV + \frac{FRAC}{2^{24}} \right)}{FREFDIV}\]

See FOUTPOSTDIV frequency formula above.

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:

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 = 1 (down-spread) guarantees that the PLL output frequency does not exceed the programmed frequency value when the SSCG is enabled.

Figure 100. Spread-spectrum modulation

Figure 100: Spread-spectrum modulation. The figure consists of two side-by-side graphs showing Frequency vs. Time (t). The left graph is labeled 'Center-spread' and shows a triangular wave oscillating symmetrically around a nominal frequency F_N. The peak-to-peak frequency deviation is labeled M_D. The period of the triangular wave is labeled F_MOD. The right graph is labeled 'Down-spread' and shows a triangular wave that is biased downwards from the nominal frequency F_N. The peak-to-peak frequency deviation is labeled M_D. The period of the triangular wave is labeled F_MOD. Both graphs have a horizontal dashed line representing the nominal frequency F_N. The right graph also has a solid pink line at F_N. The label 'MSv66591V2' is in the bottom right corner of the right graph.
Figure 100: Spread-spectrum modulation. The figure consists of two side-by-side graphs showing Frequency vs. Time (t). The left graph is labeled 'Center-spread' and shows a triangular wave oscillating symmetrically around a nominal frequency F_N. The peak-to-peak frequency deviation is labeled M_D. The period of the triangular wave is labeled F_MOD. The right graph is labeled 'Down-spread' and shows a triangular wave that is biased downwards from the nominal frequency F_N. The peak-to-peak frequency deviation is labeled M_D. The period of the triangular wave is labeled F_MOD. Both graphs have a horizontal dashed line representing the nominal frequency F_N. The right graph also has a solid pink line at F_N. The label 'MSv66591V2' is in the bottom right corner of the right graph.

The peak modulation depth (in percentage) is given by the following formula:

\[M_D (\%) = \pm \text{SPREAD} \times 0.1\]

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:

\[F_{MOD} = \frac{F_{CLKSSCG}}{128 \times \text{DIVVAL}}\]

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}/\text{FREFDIV}\) or 50 MHz, whichever is lower.

In order to use the spread spectrum feature, the following steps are needed:

  1. Program the PLL as detailed in Integer mode in order to adjust the nominal frequency (\(F_N\)) according to the targeted by the application.
  2. Compute DIVVAL according to the wanted modulation frequency (\(F_{MOD}\)):

\[\text{DIVVAL} = \text{ROUND}\left(\frac{F_{CLKSSCG}}{128 \times F_{MOD}}\right)\]

  1. Compute SPREAD according to the wanted modulation depth (\(M_D\)).
  2. Set DOWNSPREAD according to the wanted modulation type.
  3. Compute INTIN accordingly (FRACIN = 0):

\[\text{INTIN} = \text{ROUND}\left(\frac{F_N \times \text{FREFDIV}}{F_{FREF}}\right)\]

  1. Clear DISABLE_SSCG, DSMEN, and DACEN to 0.
  2. 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.

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:

21.4.6 PLL root clocks

The RCC handles the following PLL root clocks:

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, and MSI.

21.4.7 Root clocks

The RCC handles two types of root clocks:

Root clock generation

Figure 101 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:

Figure 101. Flexclkgen block diagram

Block diagram of the Flexclkgen showing the flow from input clocks through MUXSEL, GFG (PLLs), XBAR, PREDIV, and FINDIV stages to final outputs.

The diagram illustrates the Flexclkgen block structure. It starts with a 'REG ITF' block on the left. Input clocks enter from the left: hsi_ck, hse_ck, msi_ck, hsi_ker_ck, hse_ker_ck, msi_ker_ck, spdifrx_symb_ck, AUDIOCLK, lsi_ck, and lse_ck. These inputs feed into the 'MUXSEL' block (bits 0-2) and the 'XBAR' block (bits 0-14). The 'MUXSEL' block also receives control from 'REG ITF' and provides outputs for PLL1, PLL2, and PLL3 (bits 5-7). The 'MUXSEL' block's outputs (bits 0-4) feed into the 'GFG' block, which contains five PLLs: PLL8, PLL7, PLL6, PLL5, and PLL4. The outputs of these PLLs feed into the 'XBAR' block. The 'XBAR' block's outputs (bits 0-7) feed into the 'PREDIV' block. The 'PREDIV' block's outputs (bits 0-7) feed into the 'FINDIV' block. The 'FINDIV' block's outputs (bits 0-7) are the final clock outputs. The 'REG ITF' block also has direct connections to the 'XBAR' and 'FINDIV' blocks. The diagram is labeled 'MSv68375V5' in the bottom right corner.

Block diagram of the Flexclkgen showing the flow from input clocks through MUXSEL, GFG (PLLs), XBAR, PREDIV, and FINDIV stages to final outputs.

Figure 102. Flexclkgen programming flow

Flowchart for Flexclkgen programming flow. It starts with 'System reset' leading to 'GFG programming', then 'PLLs ready' check, 'Pre divide ratio' programming, 'Pre divide status=0' check, 'Final divide ratio' programming, 'Final divide status=0' check, 'XBAR status=0' check, 'Crossbar selection', another 'XBAR status=0' check, and finally 'Clock programmed'.
graph TD; Start([System reset]) --> GFG[GFG programming]; GFG --> PLLs{PLLs ready}; PLLs -- no --> GFG; PLLs -- yes --> PreDivStatus1{Pre divide status=0}; PreDivStatus1 -- no --> PreDivRatio[Pre divide ratio]; PreDivStatus1 -- yes --> PreDivRatio; PreDivRatio --> PreDivStatus2{Pre divide status=0}; PreDivStatus2 -- no --> PreDivRatio; PreDivStatus2 -- yes --> FinalDivStatus1{Final divide status=0}; FinalDivStatus1 -- no --> FinalDivRatio[Final divide ratio]; FinalDivStatus1 -- yes --> FinalDivRatio; FinalDivRatio --> FinalDivStatus2{Final divide status=0}; FinalDivStatus2 -- no --> FinalDivRatio; FinalDivStatus2 -- yes --> XBARStatus1{XBAR status=0}; XBARStatus1 -- no --> XBARStatus1; XBARStatus1 -- yes --> CrossbarSelection[Crossbar selection]; CrossbarSelection --> XBARStatus2{XBAR status=0}; XBARStatus2 -- no --> CrossbarSelection; XBARStatus2 -- yes --> End([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.

MSv66557V1

Flowchart for Flexclkgen programming flow. It starts with 'System reset' leading to 'GFG programming', then 'PLLs ready' check, 'Pre divide ratio' programming, 'Pre divide status=0' check, 'Final divide ratio' programming, 'Final divide status=0' check, 'XBAR status=0' check, 'Crossbar selection', another 'XBAR status=0' check, and finally 'Clock programmed'.

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 129. Root clock mapping
Flexclkgen channel numberRoot clock nameMax frequency (MHz)Bus matrixTarget peripheral bus clock
0ck_icn_hs_mcu400AXIMck_icn_s_fmc, ck_icn_s_sysram, ck_icn_s_vderam
MLAHBck_icn_hs_mlahb, ck_cpu2, ck_cpu2_icache, ck_cpu2_dcache, ck_icn_s_retram, ck_icn_s_sram1, ck_icn_s_sram2, ck_icn_s_ospi1, ck_icn_s_ospi2, ck_icn_p_otfd1, ck_icn_p_otfd2
ck_icn_ls_mcu200AXIMck_icn_m_axiap, ck_icn_s_pcie, ck_icn_s_stm
MLAHBck_icn_ls_mlahb
AHB1ck_icn_ahb1
AHB2ck_icn_ahb2, ck_icn_p_hpdma1, ck_icn_p_hpdma2, ck_icn_p_hpdma3, ck_icn_p_adc12, ck_icn_p_adc3, ck_icn_p_ipcc1, ck_icn_p_cci, ck_icn_p_crc, ck_icn_p_mdf1, ck_icn_p_ospiiom
AHB3ck_icn_ahb3, ck_icn_s_bkpsram, ck_icn_p_hash, ck_icn_p_rng, ck_icn_p_cryp1, ck_icn_p_cryp2, ck_icn_p_saes, ck_icn_p_pka, ck_icn_p_ramcfg, ck_icn_p_rifsciac, ck_icn_p_risaf1, ck_icn_p_risaf2, ck_icn_p_risaf4, ck_icn_p_risaf5, ck_icn_p_risab1, ck_icn_p_risab2, ck_icn_p_risab3, ck_icn_p_risab4, ck_icn_p_risab5, ck_icn_p_risab6
AHB4ck_icn_ahb4, ck_icn_p_rcc, ck_icn_p_pwrctrl, ck_exti1, 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, ck_icn_p_gpioj, ck_icn_p_gpiok
AHB5ck_icn_ahb5, ck_icn_p_fmc, ck_icn_p_gpu, ck_icn_p_eth1, ck_icn_p_eth2, ck_icn_p_pcie, ck_icn_p_syscpu1, ck_icn_p_ddrphyc
AHB6ck_icn_ahb6, ck_icn_p_ethsw, ck_icn_p_ethswacm, ck_icn_p_ethswacmmsg
AHBSRck_icn_ahbsr, ck_icn_p_gpioz, ck_icn_p_lpdma, ck_icn_p_adf1, ck_exti2, ck_icn_p_pwrd3, ck_icn_p_hsem, ck_icn_p_ipcc2, ck_icn_s_lpsram1, ck_icn_s_lpsram2, ck_icn_s_lpsram3, ck_cpu3h, ck_cpu3s, ck_cpu3d
APB1ck_icn_ahb_apb1
APB2ck_icn_ahb_apb2
APB3ck_icn_ahb_apb3
APB4ck_icn_ahb_apb4
APBDBGck_icn_ahb_apbdbg
APBSRck_icn_ahb_apbsr

Table 129. Root clock mapping (continued)

Flexclkgen channel numberRoot clock nameMax frequency (MHz)Bus matrixTarget peripheral bus clock
1ck_icn_sdmmc200AHB5ck_icn_p_dlybsd1, ck_icn_p_dlybsd2, ck_icn_p_dlybsd3, ck_icn_m_sdmmc1, ck_icn_m_sdmmc2, ck_icn_m_sdmmc3
2ck_icn_ddr600AXIMck_icn_s_ddr, ck_icn_m_cpu1, ck_ker_saes
3ck_icn_display400AXIMck_icn_m_ltdc, ck_icn_m_dcmipp
4ck_icn_hsl300AXIMck_icn_m_pcie, ck_icn_m_usb3dr, ck_icn_m_usb2ehci, ck_icn_m_usb2ohci, ck_icn_m_eth1, ck_icn_m_eth2
5ck_icn_nic400AXIMck_icn_s_bootrom, ck_icn_s_gic400
6ck_icn_vid600AXIMck_icn_m_vdec, ck_icn_m_venc, ck_icn_vid

The root control module shown in Figure 103 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:

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 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 103. Root control module description.

Block diagram of the Root control module showing clock sources (CKREST, flexclkgen_channel0, hsi_ck) and various divider blocks (LSMCUDIV, APB1DIV, APB2DIV, APB3DIV, APB4DIV, APBDBGDIV) leading to output clocks like ck_icn_hs_mcu, ck_icn_ls_mcu, and various APB clocks.

The diagram illustrates the Root control module's clock distribution. It starts with a multiplexer selecting between CKREST and hsi_ck (controlled by flexclkgen_channel0) to produce the main system clock. This clock is then divided by LSMCUDIV (values 1, 2) to produce ck_icn_ls_mcu. The main clock also feeds into a series of APB divider blocks (APB1DIV, APB2DIV, APB3DIV, APB4DIV, APBDBGDIV), each with division values of 1, 2, 4, 8, or 16, to generate the respective APB bus clocks (ck_icn_apb1, ck_icn_apb2, ck_icn_apb3, ck_icn_apb4, ck_icn_apbdbg). The reference ID MSv66566V1 is located at the bottom right of the diagram area.

Block diagram of the Root control module showing clock sources (CKREST, flexclkgen_channel0, hsi_ck) and various divider blocks (LSMCUDIV, APB1DIV, APB2DIV, APB3DIV, APB4DIV, APBDBGDIV) leading to output clocks like ck_icn_hs_mcu, ck_icn_ls_mcu, and various APB clocks.

The table below shows the peripheral root bus clock distribution versus peripherals.

Table 130. APB root clock mapping

Root clock nameMax frequency (MHz)Target peripheral bus clock
ck_icn_apb1200ck_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_tim10, ck_icn_p_tim11, 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_i2c3, ck_icn_p_i2c4, ck_icn_p_i2c5, ck_icn_p_i2c6, ck_icn_p_i2c7, ck_icn_p_i3c1, ck_icn_p_i3c2, ck_icn_p_i3c3
ck_icn_apb2200ck_icn_p_tim1, ck_icn_p_tim8, ck_icn_p_tim15, ck_icn_p_tim16, ck_icn_p_tim17, ck_icn_p_tim20, ck_icn_p_usart1, ck_icn_p_usart6, ck_icn_p_uart7, ck_icn_p_uart8, ck_icn_p_uart9, ck_icn_p_spi1, ck_icn_p_spi4, ck_icn_p_spi5, ck_icn_p_spi6, ck_icn_p_spi7, ck_icn_p_sai1, ck_icn_p_sai2, ck_icn_p_sai3, ck_icn_p_sai4, ck_icn_p_fdcn
ck_icn_apb3200ck_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_apbsr(1)200ck_icn_p_rtc, ck_icn_p_spi8, ck_icn_p_lpuart1, ck_icn_p_i2c8, ck_icn_p_lptim3, ck_icn_p_lptim4, ck_icn_p_lptim5, ck_icn_p_iwdg5, ck_icn_p_wwdg2, ck_icn_p_i3c4

Table 130. APB root clock mapping (continued)

Root clock nameMax frequency (MHz)Target peripheral bus clock
ck_icn_apb4200ck_icn_p_dsi, ck_icn_p_ltdc, ck_icn_p_csi, ck_icn_p_dcmipp, ck_icn_p_ddrc, ck_icn_p_ddrcfg, ck_icn_p_lvds, ck_icn_p_gicv2m, ck_icn_p_usbtc, ck_icn_p_usb3pciephy, ck_icn_p_stgen, ck_icn_p_vdec, ck_icn_p_venc
ck_icn_apbdbg200ck_icn_p_soc_romtable, ck_icn_p_dbgmcu, ck_icn_p_funnel, ck_icn_p_ett, 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_icn_p_a35_dbg1, ck_icn_p_a35_cti1, ck_icn_p_a35_pmu1, ck_icn_p_a35_etm1, ck_sys_dbg

1. It is driven by ck_icn_ls_mcu.

21.4.8 Clock generation in Stop and Standby modes

The product supports six system Stop modes (see Section 20 for details):

There are two Standby modes:

The main difference between Stop modes is the handling of D1 and D2 domain supply voltages:

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.

The difference between Standby1 and Standby2 is the state of the D3 domain supply voltage. In Standby2, the D3 domain is powered down, whereas it stays supplied in Standby1 mode (see Section 20: Power control (PWR) for details).

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 20.5.3: 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 80). Any autonomous bus clock request is postponed until the sequence to go in Stop is done.

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 21.4.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 bi (see Section 21.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 DDRC 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 on of the Stop modes may be delayed until the DDRC allows it. The RCC stops then all the clocks (subsystem and kernel clocks), and the following clock sources are disabled as well:

Caution: When MSI is selected as a kernel clock source for any D3 peripheral allocated to CPU3 (CPU3 domain is used), MSIKERON must be set to allow the system to go in one of Stop or LP-Stop modes.

Note: In LPLV-Stop1 or LPLV-Stop2 mode, HSI and HSE 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:

HSIKERON and HSEKERON are in RCC_OCENSETR and RCC_OCENCLLR.
MSIKERON is in RCC_D1DCR.

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 90):
- 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 131. HSI, MSI and HSE states versus system modes

System modeHSION
(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 Run20X1X→ONGatedON
0→OFFGated
1X→ONONON
Stop1, LP-Stop1,
Stop2 or LP-Stop2
XX10→ON(3)GatedON
00→OFFGated
1→ONON(4)
XX→ONON(5)ON(6)
Standby1,
LPLV-Stop1, or
LPLV-Stop2(7)
XX10-ONGatedON
00→OFFGated
1→ONON(4)
1XX→ONONON(6)
Standby2XXXX→OFFGatedGated
  1. 1. 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 148 for details).
  2. 2. 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 or Standby1 modes.
  3. 3. Only the oscillator selected by RCC_XBARxCFGR of the peripheral that requests the kernel clock is enabled.
  1. 4. The kernel clock is provided to the clock enabling block, and gated as long as the peripheral does not generate a kernel clock request.
  2. 5. Only HSI is supported in these modes.
  3. 6. The kernel clock selected by RCC_XBARxCFGR is enabled.
  4. 7. Only MSI is relevant in these modes.

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. 1. A peripheral sends a wake-up interrupt to the EXTI.
  2. 2. The EXTI generates an event to the PWR (sys_wakeup).
  3. 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. 4. If the PMIC was in LPLV-Stop1 or LPLV-Stop2, the PWR waits for a nominal \(V_{DDCORE}\).
  5. 5. When \(V_{DDCORE}\) reached the nominal value, the PWR asserts pwrwake_sys for the RCC.
  6. 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. 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. 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. 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. 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. 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 34: 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 104. Clock restore activation versus system mode

A state transition diagram showing clock restore activation between System Stop and System Run modes. It details the sequence of enabling/disabling CPU1 and CPU2 clock domains and PLLs during transitions.

The diagram illustrates the clock restore sequence between System Stop and System Run modes. It is divided into two main sections: System Stop (top, grey background) and System Run (bottom, yellow background). Transitions are numbered 1 through 7, and a 'CR' (Clock Restore) event is also shown.

Legend:

MSv66538V1

A state transition diagram showing clock restore activation between System Stop and System Run modes. It details the sequence of enabling/disabling CPU1 and CPU2 clock domains and PLLs during transitions.

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.

ST logo
ST logo

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 132, 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 105 and Figure 106):

  1. 1. Set CKREST = 1 in order to inform that a clock restore sequence is initiated. Registers listed on Table 132 cannot be modified during the clock restore sequence.
  2. 2. Enable the oscillators which were enabled before going to system Stop.
  3. 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. 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. 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. 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. 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 132 can then be modified by the application if needed.

Figure 105. Clock restore process activated after system Stop

Flowchart of the clock restore process after system stop. It starts with 'Wakeup from system Stop1, LP-Stop1, LPLV-Stop1', followed by 'SYSTEM_STOP_EXIT', 'Set write-protection on sensitive registers', and 'Enable HSE and/or MSI if their respective enable bit is set to 1, AND always enable HSI'. It then branches into 'PWRLP_TEMPO' and 'Enable all PLLs enabled prior Stop' based on HSI and HSE/MSI status. The process continues with 'CPU1 wakeup' and 'CPU2 wakeup' events, including waiting for PLLx ready signals and enabling clock domains for both CPUs. It concludes with 'Remove write protection on sensitive registers and set CKREST = 0' and 'END'.
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 --> EnableHSEMSI([Enable HSE and/or MSI if their respective enable bit is set to 1, AND always enable HSI]); EnableHSEMSI -- HSIRDY --> EnableHSIClock([Enable HSI clock for EXTI, RCC and PWR peripherals
Set CKREST to 1 and release pwrds_sys]); EnableHSIClock --> PWRLP_TEMPO[PWRLP_TEMPO]; EnableHSIClock -- HSERDY/MSIRDY --> EnablePLLs([Enable all PLLs enabled prior Stop]); PWRLP_TEMPO --> CPU1Wakeup([CPU1 wakeup (pwrwake_cpu1 event)]); EnablePLLs --> CPU2Wakeup([CPU2 wakeup (pwrwake_cpu2 event)]); CPU1Wakeup --> WaitPWRLP_TEMPO1([Wait for PWRLP_TEMPO]); CPU2Wakeup --> CPU2TMPSKP{CPU2TMPSKP = 1 ?}; CPU2TMPSKP -- Yes --> WaitPWRLP_TEMPO2([Wait for PWRLP_TEMPO]); CPU2TMPSKP -- No --> WaitPWRLP_TEMPO2; WaitPWRLP_TEMPO1 --> WaitPWRLP_TEMPO2; WaitPWRLP_TEMPO2 --> WaitPLLxReady([Wait for all PLLx ready signals]); WaitPLLxReady --> EnableCPU1Clock([Enable CPU1 clock domain]); WaitPLLxReady --> EnableCPU2Clock([Enable CPU2 clock domain]); WaitPLLxReady --> RemoveWriteProtection([Remove write protection on sensitive registers and set CKREST = 0]); RemoveWriteProtection --> End([END]);
Flowchart of the clock restore process after system stop. It starts with 'Wakeup from system Stop1, LP-Stop1, LPLV-Stop1', followed by 'SYSTEM_STOP_EXIT', 'Set write-protection on sensitive registers', and 'Enable HSE and/or MSI if their respective enable bit is set to 1, AND always enable HSI'. It then branches into 'PWRLP_TEMPO' and 'Enable all PLLs enabled prior Stop' based on HSI and HSE/MSI status. The process continues with 'CPU1 wakeup' and 'CPU2 wakeup' events, including waiting for PLLx ready signals and enabling clock domains for both CPUs. It concludes with 'Remove write protection on sensitive registers and set CKREST = 0' and 'END'.

MSv66540V2

Figure 106. Wake-up from CStop

Flowchart showing the wake-up sequence from CStop for CPU1 and CPU2. CPU1 wake-up involves checking D1, enabling PLL1 and PLL2, and waiting for ready signals. CPU2 wake-up involves checking for AXI peripherals and shared DDR, then enabling clocks and waiting for PLL2 ready signal.
graph TD
    subgraph CPU1_WakeUp [CPU1 Wake-up]
        C1_Event[CPU1 wakeup event] --> C1_Exit([CPU1_EXIT_FROM_CSTOP])
        C1_Exit --> D1{D1 is ON}
        D1 -- No --> WaitVCPU[Wait for vcpu_rdy]
        WaitVCPU --> D1
        D1 -- Yes --> EnablePLL1[Enable ck_pll1_ref and ck_cpu1_ext2f]
        D1 -- Yes --> DDR_Q{DDR to enable?}
        DDR_Q -- Yes --> EnablePLL2[Enable ck_pll2_ref]
        DDR_Q -- No --> WaitPLL1[Wait for PLL1 ready signal]
        EnablePLL2 --> WaitPLL2[Wait for PLL2 ready signal]
        WaitPLL2 --> WaitPLL1
        WaitPLL1 --> EnableCPU1[Enable CPU1 clock domain set prior CStop]
        EnableCPU1 --> RunCPU1[Run the CPU1]
        RunCPU1 --> C1_End([END])
    end

    subgraph CPU2_WakeUp [CPU2 Wake-up]
        C2_Event[CPU2 wakeup event] --> C2_Exit([CPU2_EXIT_FROM_CSTOP])
        C2_Exit --> AXI_Q{Peripherals on AXI?}
        C2_Exit --> DDR_Q2{DDR shared?}
        AXI_Q -- Yes --> EnableAXI[Enable AXI subsystem clocks]
        DDR_Q2 -- Yes --> EnablePLL2_2[Enable ck_pll2_ref]
        EnablePLL2_2 --> WaitPLL2_2[Wait for PLL2 ready signal]
        EnableAXI --> EnableCPU2[Enable CPU2 clock domain set prior CStop]
        WaitPLL2_2 --> EnableCPU2
        EnableCPU2 --> RunCPU2[RUN the CPU2]
        RunCPU2 --> C2_End([END])
    end
    
Flowchart showing the wake-up sequence from CStop for CPU1 and CPU2. CPU1 wake-up involves checking D1, enabling PLL1 and PLL2, and waiting for ready signals. CPU2 wake-up involves checking for AXI peripherals and shared DDR, then enabling clocks and waiting for PLL2 ready signal.

MSv66539V1

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 132, 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 132. Resources blocked during clock restore sequence

ResourceCorresponding registers write-protected during clock restore
System clock muxesRCC_XBARxCFGR (x = 0 to 63)
Table 132. Resources blocked during clock restore sequence (continued)
ResourceCorresponding registers write-protected during clock restore
System clock dividersRCC_PREDIVxCFGR, RCC_FINDIVxCFGR (x = 0 to 63), RCC_LSMCUDIVR
PLLx (x = 2 to 8) settingsRCC_PLLxCFGR1, RCC_PLLxCFGR2, RCC_PLLxCFGR3, RCC_PLLxCFGR4, RCC_PLLxCFGR5, RCC_PLLxCFGR6, RCC_PLLxCFGR7
Reference clock selectionRCC_MUXSELCFGR
Oscillator settingsRCC_OCENSETR, RCC_OCENCLRR, RCC_D3DCR, RCC_HSICFGR, RCC_MSICFGR
MiscellaneousRCC_PWRLPDLYCR

Going to Standby1 or Standby2 mode

The system can go to one of the Standby modes when both CPU1 and CPU2 are in CStop, without any pending wake-up event on the EXTI, and when both CPUx allow one of the Standby mode (see Section 20: Power control (PWR) for details).

When the complete system goes to one of the Standby modes, the RCC stops all the clocks and PLLs, with the exception of the MSI (Standby1), 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 80). 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 both Standby1 and Standby2.

Leaving Standby1 or Standby2 mode

When the circuit exits one of the Standby modes, 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_BDCR, RCC_RDCR, RCC_HWRSTSCLRR, RCC_C1HWRSTSCLRR, and RCC_C2HWRSTSCLRR).

Note: A system reset is generated when the circuit exits system Standby modes.

21.4.9 Peripheral clock distribution

Some peripherals are designed to work with two different clock domains asynchronous each other:

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 133 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 133. Kernel clock distribution overview

Peripheral clockClock property (1)Max. allowed freq. (MHz)BusFlexclkgen channel numberKernel clock source(2)
pll4_ckpll5_ckpll6_ckpll7_ckpll8_ckspdifrx_symb_ckAUDIOCLOCKlse_cklsi_ckmsi_ker_ckhsi_ker_ckhse_ker_cktimg[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
S200APB1-------------X
ck_ker_lptim1, ck_ker_lptim2A1007XXXXX--LPLP----
ck_ker_usart2, ck_ker_uart4A1008XXXXX----LPLPLP-
ck_ker_usart3, ck_ker_uart5A1009XXXXX----LPLPLP-
ck_ker_spi2, ck_ker_spi3A13310XXXXX-X--LPLPLP-
ck_ker_spdifrxA20011XXXXX-----LP--
ck_ker_i2c1, ck_ker_i2c2,
ck_ker_i3c1, ck_ker_i3c2
A20012XXXXX----LPLP--
ck_ker_i2c3, ck_ker_i2c5,
ck_ker_i3c3
A10013XXXXX----LPLP--
ck_ker_i2c4, ck_ker_i2c6A10014XXXXX----LPLP--
ck_ker_i2c7A13315XXXXX----LPLP--
ck_ker_tim1, ck_ker_tim8,
ck_ker_tim15, ck_ker_tim16,
ck_ker_tim17, ck_ker_tim20
S200APB2-------------X
ck_ker_spi1A20016XXXXX-X--LPLPLP-
ck_ker_spi4, ck_ker_spi5A13317XXXXX-X--LPLPLP-
ck_ker_spi6, ck_ker_spi7A13318XXXXX-X--LPLPLP-
ck_ker_usart1A13319XXXXX----LPLPLP-
ck_ker_usart6A10020XXXXX----LPLPLP-
ck_ker_uart7, ck_ker_uart8A10021XXXXX----LPLPLP-
ck_ker_uart9A10022XXXXX----LPLPLP-
ck_ker_sai1, ck_ker_mdf1A13323XXXXXXX--LPLPLP-
ck_ker_sai2A13324XXXXXXX--LPLPLP-
ck_ker_sai3, ck_ker_sai4A13325XXXXXXX--LPLPLP-
ck_ker_fdcanA13326XXXXX------LP-
ck_ker_iwdg1, ck_ker_iwdg2,
ck_ker_iwdg3, ck_ker_iwdg4
A1APB3---------X----
ck_ker_dts (TEMP)A64----------XXX-

Table 133. Kernel clock distribution overview (continued)

Peripheral clockClock property (1)Max. allowed freq. (MHz)BusFlexclkgen channel numberKernel clock source(2)
pll4_ckpll5_ckpll6_ckpll7_ckpll8_ckspdifrx_symb_ckAUDIOCLOCKlse_cklsi_ckmsi_ker_ckhsi_ker_ckhse_ker_cktimg[2:1]_ck
ck_ker_ltdc (DSI pixel clock or DSI IO)A314APB427XXXXX--------
ck_ker_dsiphyA2728XXXXX------X-
ck_ker_dcmipp (DCMIPP+CSI)A33329XXXXX--------
ck_ker_csitxescA2030XXXXX------X-
ck_ker_csiphyA2731XXXXX------X-
ck_ker_lvdspdyA2732XXXXX------X-
ck_ker_stgenA6433XXXXX-----XX-
ck_ker_usb3pciephyA2534XXXXX------X-
ck_ker_usbtcA64(3)35XXXXX-----LPLP-
ck_ker_i3c4A133APBSR36XXXXX----LPLP--
ck_ker_i3c4 (autonomous mode)A16---------X---
ck_ker_spi8A13337XXXXX-X--LPLPLP-
ck_ker_spi8 (autonomous mode)A16---------X---
ck_ker_i2c8A13338XXXXX----LPLP--
ck_ker_i2c8 (autonomous mode)A16---------X---
ck_ker_lpuart1A13339XXXXX----LPLPLP-
ck_ker_lpuart1 (autonomous mode)A16---------X---
ck_ker_lptim3A10040XXXXX--LPLP----
ck_ker_lptim3 (autonomous mode)A32K-------XX----
ck_ker_lptim4, ck_ker_lptim5A10041XXXXX--LPLP----
ck_ker_lptim4, ck_ker_lptim5 (autonomous mode)A32K-------XX----
ck_ker_iwdg5A1---------X----
ck_ker_rtc (RTC/AWU(4))A4--------XX--X-
ck_ker_rtc (autonomous mode)A32K--------XX----
ck_ker_adf1A133AHBSR42XXXXX----LPLPLP-
ck_ker_adf1 (autonomous mode)A16---------X---
ck_ker_tsdbgA64APBDBG43XXXXX--------
ck_ker_tpiuA20044XXXXX--------
ck_sys_atb, ck_icn_m_etrA400ATB45XXXXX--------

Table 133. Kernel clock distribution overview (continued)

Peripheral clockClock property (1)Max. allowed freq. (MHz)BusFlexclkgen channel numberKernel clock source(2)
pll4_ckpll5_ckpll6_ckpll7_ckpll8_ckspdifrx_symb_ckAUDIOCLOCKlse_cklsi_ckmsi_ker_ckhsi_ker_ckhse_ker_cktimg[2:1]_ck
ck_ker_adc12A133AHB246XXXXX----LPLPLP-
ck_ker_adc3A13347XXXXX--------
ck_ker_ospi1 (OCTOSPI1)A13348XXXXX--------
ck_ker_ospi2 (OCTOSPI2)A13349XXXXX--------
ck_ker_fmcA200AXI,AHB550XXXXX--------
ck_ker_sdmmc1A20051XXXXX-----LP--
ck_ker_sdmmc2A20052XXXXX-----LP--
ck_ker_sdmmc3A20053XXXXX-----LP--
ck_ker_eth1, ck_ker_ethswA12554XXXXX--------
ck_ker_eth2A12555XXXXX--------
ck_ker_eth1ptp, ck_ker_eth2ptpA20056XXXXX----XXX-
ck_ker_usb2phy1A2457XXXXX------X-
ck_ker_usb2phy2A2458XXXXX------X-
ck_icn_m_gpuA60059XXXXX--------
ck_ker_ethswrefA50AHB660XXXXX--------
ck_mco1A160(5)NA61XXXXXXXXXXXX-
ck_mco2A62XXXXXXXXXXXX-
ck_cpu1_ext2fA40063XXXXX----XXX-
  1. 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. 2. 'X' means supported kernel clock source. 'LP' means supported kernel clock source when the CPU that has allocated the peripheral is in CStop.
  3. 3. Must be lower than APB4 clock frequency (ck_icn_apb4).
  4. 4. 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
  5. 5. Depends on I/O capability

For CPU2, the SysTick timer clocks is pulsed every 8 cycles of ck_icn_hs_mcu root clock.

For CPU3, the SysTick timer clock is derived from either the LSI or the LSE oscillator clock (see RCC_BDCR for details).

The following sections show a more detailed view of the kernel clock and bus interface clock distribution (see Section 21.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 table below shows how to select the timer clock frequency.

Table 134. Ratio between clock timers and ck_icn_apbx

APB1DIV
APB2DIV(1)
TIMG1PRE
TIMG2PRE(2)
Fck_ker_timx
Fck_ker_timy
Fck_icn_apb1
Fck_icn_apb2
Comments
000xFck_icn_ls_mcuFck_icn_ls_mcuThe timer clock is equal to the bus clock.
001xFck_icn_ls_mcuFck_icn_ls_mcu / 2The timer clock is two times faster than the bus clock.
0100Fck_icn_ls_mcu / 2Fck_icn_ls_mcu / 4
0110Fck_icn_ls_mcu / 4Fck_icn_ls_mcu / 8
1000Fck_icn_ls_mcu / 8Fck_icn_ls_mcu / 16
0101Fck_icn_ls_mcuFck_icn_ls_mcu / 4The timer clock is four times faster than the bus clock.
0111Fck_icn_ls_mcu / 2Fck_icn_ls_mcu / 8
1001Fck_icn_ls_mcu / 4Fck_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 107. Peripheral clock distribution for TIMs

Peripheral clock distribution for TIMs block diagram showing RCC generating ck_ker_timx and ck_ker_timy via LUT and dividers (÷ 1, 2, 4, 8) with CGL gating feeding TIMx (x = 2 to 7, 10 to 14) and TIMy (y = 1, 8, 15, 16, 17, 20).

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.

MSv66563V1

Peripheral clock distribution for TIMs block diagram showing RCC generating ck_ker_timx and ck_ker_timy via LUT and dividers (÷ 1, 2, 4, 8) with CGL gating feeding TIMx (x = 2 to 7, 10 to 14) and TIMy (y = 1, 8, 15, 16, 17, 20).

Refer to Section 21.4.12 for details on the behavior of the clock gating logic (CGL).

Clock distribution for ADCs

In the document, ADC12 means ADC1 and ADC2 instances, which share common bus and clocks.

The ADC kernel clocks can be selected among the following source clocks: ck_ker_adc12, ck_ker_adc3, 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 ADC12KERSEL and ADC3KERSEL[1:0] in RCC_ADC12CFGR and RCC_ADC3CFGR. The table below shows how to select the kernel clocks source of the 3 ADCs.

Table 135. ADC kernel clock source selection

ADC12KERSELADC3KERSEL[1:0]ADC12 ck_adc sourceADC3 ck_adc sourceComments
00x0ck_ker_adc12ck_ker_adc3Asynchronous mode
0x1ck_icn_ls_mcu
0x2ck_ker_adc12Synchronous mode
0x3NA-
10x0ck_icn_ls_mcuck_ker_adc3Asynchronous mode
0x1ck_icn_ls_mcuSynchronous mode
0x2ck_ker_adc12Asynchronous mode
0x3NA-

Figure 108. Peripheral clock distribution for ADCs

Block diagram showing the peripheral clock distribution for ADCs (ADC12 and ADC3) from the RCC block, detailing ck_icn_ls_mcu, ck_ker_adc12, ck_ker_adc3, multiplexers controlled by ADC12KERSEL and ADC3KERSEL, gate controls CGL with ADC12EN, ADC12LPEN, ADC3EN, ADC3LPEN, producing ck_ahb and ck_adc for both ADC12 and ADC3.
Block diagram showing the peripheral clock distribution for ADCs (ADC12 and ADC3) from the RCC block, detailing ck_icn_ls_mcu, ck_ker_adc12, ck_ker_adc3, multiplexers controlled by ADC12KERSEL and ADC3KERSEL, gate controls CGL with ADC12EN, ADC12LPEN, ADC3EN, ADC3LPEN, producing ck_ahb and ck_adc for both ADC12 and ADC3.

Clock distribution for the DDR

Figure 109 shows a simplified view of the clock distribution for the different blocks inside the DDR subsystem (DDRC, DDRPHYC, RISAF4, PLL2).

The RCC needs to provide the following clocks:

The RCC needs to provide also the following control bits:

Figure 109. Clock distribution for the DDR subsystem

Block diagram of clock distribution for the DDR subsystem, showing the interaction between the RCC and DDRSS blocks.

The diagram illustrates the clock distribution for the DDR subsystem, divided into the RCC (Reset and Clock Control) and DDRSS (DDR Subsystem) blocks.

RCC Block:

DDRSS Block:

Interconnections:

MSv68374V1

Block diagram of clock distribution for the DDR subsystem, showing the interaction between the RCC and DDRSS blocks.

Control of APB clocks

The control of the APB/AHB clock gating is performed via the following bits:

The dedicated RCC control bits for the DDR (DDRSHR, DDRCKMOD and DDRPHYDLP) are located in RCC_DDRITFCFGR.

Table 136. Gating control of the APB clocks with ck_in_p_ddrc and ck_in_p_ddrphyc

DDRxEN(1)DDRxLPEN(1)DDRSHR(2)CPU1 stateSystem modeck_icn_p_apbx clockComments
0XXAnyRunOFFck_icn_p_apbx is gated because DDRxEN = 0.
1X0CRunRunONck_icn_p_apbx is forced ON because DDRxEN = 1, DDRSHR = 0, and CPU1 is in CRun.
100CSleepRunOFFck_icn_p_apbx is gated because DDRxLPEN = 0, and CPU1 is in CSleep.
1ONck_icn_p_apbx is forced ON because DDRxLPEN = 1, and CPU1 is in CSleep.
1X0CStopAnyOFFck_icn_p_apbx is gated because CPU1 is in CStop.
1X1AnyRunONck_icn_p_apbx is forced ON because DDRSHR = 1 and system is in Run.
1X1AnyStop or StandbyOFFck_icn_p_apbx is gated.
  1. 1. DDRxEN and DDRxLPEN are respectively the enable and low-power enable bits of any DDR APB port.
  2. 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 DDRC AXI ports. ck_icn_s_ddr clock is the source clocks of the AXI clocks.

Table 137 details the gating control of ck_icn_s_ddr clock inside the RCC.

When LPI_XPI_DISABLE is cleared to 0 (see Section 13: 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 DDRC.

Table 137. Gating control of ck_icn_s_ddr clock

DDRCPENDDRCPLPENDDRSHRCPU1 stateSystem modeck_icn_s_ddr clockComments
0XXAnyRunOFFck_icn_s_ddr is gated because DDRCPEN = 01
1X0CRunRunON(1)ck_icn_s_ddr is forced ON because DDRCPEN = 1, DDRSHR = 0, and CPU1 is in CRun.
100CSleepRunOFFck_icn_s_ddr is gated because DDRCPLPEN = 0 and CPU1 is in CSleep.
1ON(1)ck_icn_s_ddr is forced ON because DDRCPLPEN = 1
1X0CStopAnyOFFck_icn_s_ddr is gated.
1X1AnyRunON(1)ck_icn_s_ddr is forced ON because DDRSHR = 1 and system is in Run.
1X1AnyStop or StandbyOFFck_icn_s_ddr is gated.

Control of DDRC 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 DDRC and the RCC are programmed.

The table below details how ddrc_ker_ck, dphy_ker_ck, and dphy_ker_byp_ck clocks are handled according to DDRCKMOD value.

Table 138. DDRCKMOD control description

DDRCKMODMCDCG modeDPHYDCG modeComment
00NormalNormalSoftware 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.
01AutoNormalAutomatic 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
10DDRC_LPNormalHardware self-refresh mode (HSR)(2):
The gating of the ddrc_ker_ck clock is controlled by the RCC via the DDRC low-power interface. In this mode, DDRPHYCEN must be set to 1.
DDRCPEN is still used to disable/enable the DDR interface.

DDRC low-power interface

The DDRC provides a low-power interface which can be used to control the entry/exit of the DDRC and DDRPHYC into LP1 low-power mode (see Section 13 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 DDRC low-power interface (see Section 13 for details).

The table below gives details on the DDRC low-power states. The DDRC low-power interface can be used in HSR mode in order to control:

Table 139. DDRC low-power states description

DDRC low-power statesComment
RUNNormal clocked operation: MDCG and DPHYCG provide the kernel clock(s) to DDRC and DDRPHYC. csysreq_ddrc, csysack_ddrc and cactive_ddrc are all set to 1 by hardware.
LP1Low-power operation: MDCG does not provide the kernel clock to the DDRC while the DDRPHYC is kept clocked. csysreq_ddrc, csysack_ddrc and cactive_ddrc are all set to 0. The PLL2 is kept running.
LP1_RreqLow-power entry initiated by the RCC: The RCC requests the DDRC to enter into low-power by setting csysreq_ddrc to 0. The DDRC 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 DDRC (csysack_ddrc and cactive_ddrc = 0), the RCC sets MDCG_CKEN bit to disable the DDRC kernel clock. The state switches to LP1.
LP1_RexitLow-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_DexitLow-power exit initiated by the DDRC: The DDRC 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 DDRC 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 DDRC kernel clock:

There is only one way to control the DDRPHYC kernel clock:

The RCC behavior is different according to the self-refresh mode selected by the application. The application has to program DDRCKMOD in accordance with DDRC and DDRPHYC configuration.

Software self-refresh mode (SSR)

In this mode, the application has to program directly the DDRC 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 DDRC in order to switch it to self-refresh.

The piece of code performing the entry/exit of the DDRC 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 DDRC every time the DDRC must be set into self-refresh. The DDRC goes automatically into self-refresh mode when the DDRC is inactive for an amount of time defined into the DDRC.

Even when the system is in Run mode, the DDRC 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 DDRC needs to be gated, the MDCDG delays this clock gating until the DDRC switches into self-refresh mode.

The ASR mode must be used only if the DDRC 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 DDRC 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 110. Entering and exiting self-refresh in ASR mode

Timing diagram for entering and exiting self-refresh in ASR mode. The diagram shows five signals over time: CPU1 mode (CRun or CSleep), AXI port[2:1] activity (bursts of pulses), cactive_ddrc (a control signal that transitions from 0 to 1), ddrc_ker_ck (a clock signal that is active when cactive_ddrc is 1), and dphy_ker_ck (a clock signal that is active when cactive_ddrc is 1). The diagram is divided into five numbered regions: 1. AXI activity bursts. 2. DLY1 = AXI timeout delay. 3. DLY2 = DDR self-refresh entry. 4. AXI activity bursts. 5. AXI activity bursts. The diagram shows that when AXI activity is stopped for DLY1, the AXI clock (aclk_x) is gated. When no activity is detected for DLY2, the DDRC sets cactive_ddrc to 1, which re-enables the kernel clock (ddrc_ker_ck) and the external DDR is then ready to process pending transactions.

MSv66534V1

Timing diagram for entering and exiting self-refresh in ASR mode. The diagram shows five signals over time: CPU1 mode (CRun or CSleep), AXI port[2:1] activity (bursts of pulses), cactive_ddrc (a control signal that transitions from 0 to 1), ddrc_ker_ck (a clock signal that is active when cactive_ddrc is 1), and dphy_ker_ck (a clock signal that is active when cactive_ddrc is 1). The diagram is divided into five numbered regions: 1. AXI activity bursts. 2. DLY1 = AXI timeout delay. 3. DLY2 = DDR self-refresh entry. 4. AXI activity bursts. 5. AXI activity bursts. The diagram shows that when AXI activity is stopped for DLY1, the AXI clock (aclk_x) is gated. When no activity is detected for DLY2, the DDRC sets cactive_ddrc to 1, which re-enables the kernel clock (ddrc_ker_ck) and the external DDR is then ready to process pending transactions.
  1. 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. 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 13: DDR subsystem architecture (DDRSS) for details).
  3. 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. 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. 5. Few AXI clock cycles later, the DDRC 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 DDRC low-power interface (DDRC-LP) in order to request to the DDR to enter or exit LP1 low-power mode (see Section 13 for details). The HSR mode can only be used when system is in Run mode.

The DDRC-LP allows the entry of the DDR interface into self-refresh in the following cases:

The DDRC-LP allows the exit of the DDR interface from self-refresh in the following cases:

This HSR mode may be less efficient in term of power saving than the ASR mode but it prevents the DDRC to go accidentally to self-refresh when CPU1 is in CRun, increasing the system performances.

Figure 111 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 139 configuration with DDRCPEN = DDRCPLPEN = 1, DDRPHYCEN = 1, DDRPHYDLP = 0, LPI_XPI_DISABLE = 0, and DDRSHR = 0.

Figure 111. 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]).

The diagram illustrates the timing sequence for self-refresh entry and exit. It shows the following signals over time:

Numbered markers 1 through 8 indicate key events in the sequence, corresponding to the numbered list below.

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]).
  1. 1. When the CPU1 goes to CSleep, the RCC requests to the DDRC to go to self-refresh, using the DDRC 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 13 for details).
  2. 2. When all conditions in the DDRC are met (no transaction pending, DDR in self-refresh), the DDRC acknowledges the request. If the DDRC denies the request, the RCC has to generate a new request until it is accepted by the DDRC, or if the CPU1 exits from CSleep.
    When the DDRC acknowledges the low-power request, the RCC disables ddrc_ker_ck. The DDRC low-power bus is then in LP1 state.
  3. 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. 4. Few AXI clock cycles later, the DDRC requests to the RCC to re-enable the kernel clock, using the DDRC 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. 5. As the CPU1 is still in CSleep, the RCC requests to the DDRC to go to self-refresh, using the DDRC low-power interface (LP1_Rreq). The DDRC 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 DDRC. The RCC must stop performing this request if the CPU1 goes to CRun meanwhile.

  1. 6. When all conditions in the DDRC are met (no transaction pending, DDR in self-refresh), the DDRC acknowledges the request. When the DDRC acknowledges the low-power request, the RCC disables ddrc_ker_ck. The DDRC 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.

  1. 7. When the CPU1 exits from CSleep, the RCC reenables ddrc_ker_ck, and requests to the DDRC to exit the DDR from self-refresh, using the DDRC low-power bus (LP1_Rreq).
  2. 8. The DDRC acknowledges the request by setting the DDRC 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 112. Allowed transitions between SSR, ASR and HSR modes

State transition diagram for DDR modes: SSR, ASR, and HSR. SSR is the default mode after reset. Transitions are: SSR to ASR (DDRCKMOD = 01), SSR to HSR (DDRCKMOD = 10), ASR to SSR (DDRCKMOD = 00), and HSR to SSR (DDRCKMOD = 00). Direct transitions between ASR and HSR are not allowed.
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
  

MSv66588V1

State transition diagram for DDR modes: SSR, ASR, and HSR. SSR is the default mode after reset. Transitions are: SSR to ASR (DDRCKMOD = 01), SSR to HSR (DDRCKMOD = 10), ASR to SSR (DDRCKMOD = 00), and HSR to SSR (DDRCKMOD = 00). Direct transitions between ASR and HSR are not allowed.

The following direct transitions are not allowed:

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.

DDRCPEN and DDRPHYCEN bits are used to enable/disable the DDR interface.

Table 140 and Table 141 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 140. Recommended configurations when DDR is not shared (DDRSHR = 0)

Conf #DDRCMODDDRCPENDDRCPLPENDDRPHYCENDDRPHYDLPCPU1 CRunCPU1 CSleepCPU1 CStopComments
AXI clocks (1)DDRC clock (2)DDRPHYC clockAXI clocks (1)DDRC clock (2)DDRPHYC clockAXI clocks (1)DDRC clockDDRPHYC clock
1Any0x0xOFFOFFOFFOFFOFFOFFOFFOFFOFFInterface disabled
2SSR1110ONONONONONONOFFOFFONGating of DDRC 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.
31010ONONONOFFOFFONOFFOFFON
41011ONONONOFFOFFOFFOFFOFFOFF
5ASR1110ONONONONONONOFFOFFONOnly the DDRC kernel clock is controlled according to automatic mode
6HSR1010ONONONOFFDLPONOFFOFFONThe DDRC kernel clock is controlled according to DDRC-LP interface. 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.

Table 141. Recommended configurations when DDR is shared (DDRSHR = 1)

Conf #DDRCMODDDRCPENDDRCPLPENDDRPHYCENDDRPHYDLPSystem RunSystem Stop1/2Comments
AXI clocks (1)DDRC clock (2)DDRPHYC clockAXI clocks (1)DDRC clock (2)DDRPHYC clock
7SSR1x10ONONONNAGating of DDRC 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.
81x11ONONONOFFOFFOFF

Table 141. Recommended configurations when DDR is shared (DDRSHR = 1)

Conf #DDRCKMODDDRCPENDDRCPLPENDDRPHYCENDDRPHYDLPSystem RunSystem Stop1/2Comments
AXI clocks (1)DDRC clock (2)DDRPHYC clockAXI clocks (1)DDRC clock (2)DDRPHYC clock
9ASR1x10ONONONNAOnly DDRC kernel clock is controlled according to the automatic mode
10HSR1x10ONDLPONNAThe DDRC kernel clock is controlled according to DDRC-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. 1. When LPI_XPI_DISABLE = 0, the AXI clock is gated automatically according to cactive_[2:1] (DCG), except when DDRCPEN = 0.
  2. 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 142. MCDCG control bit when DDR is not shared (DDRSHR = 0)

DDRCKMODDDRCPENDDRCPLPENCPU1 statemcdcg_ckenComments
SSR0xAny0DDR not used
1xCRun1Application put the DDR in self-refresh.
10CSleep0
111
1xCStop0
ASR(1)0xAny0DDR not used
1x1Gated locally when the DDR is in self-refresh
HSR (1)0xAny0DDR not used
1xCRun1No gating
10CSleep0Gated locally once LP1 state is reached after LP1_Rreq
111No gating
1xCStop0Gated locally once LP1 state is reached after LP1_Rreq
  1. 1. Only valid when system is in Run mode

Table 143. MCDCG control bit when DDR is shared (DDRSHR = 1)

DDRCKMODDDRCPENDDRCPLPENSystem modemcdcg_ckenComments
SSR0xAny0DDR not used
1xRun1Application has put the DDR in self-refresh.
1xStop0
ASR0xRun0DDR not used
1x1Gated locally when the DDR is in self-refresh
HSR0xRun0Gated (0) once LP1 state is reached after LP1_Rreq
1x1No gating

DPHYCG control interface

The tables below detail the dphycg_cken control value in all DDR use cases.

Table 144. DPHYCG control bit when DDR is not shared (DDRSHR = 0)

DDRCKMODDDRPHYCENDDRPHYDLPCPU1 statedphycg_ckenComments
SSR0xAny0No gating
1xCRun1No gating
10CSleep1No gating
110Application manages self-refresh and PLL2 power down.
10CStop1No gating
110PLL2 is powered down by hardware.
ASR(1)0xAny0No gating
1x1No gating
HSR(1)0xAny0No gating
1x1No gating

1. Only valid when system is in Run mode.

Table 145. DPHYCG control bit when DDR is shared (DDRSHR = 1)

DDRCKMODDDRPHYCENDDRPHYDLPSystem modedphycg_ckenComments
SSR0xAny0No gating
10(1)Run1No gating
10Stop1No gating
110Application manages self-refresh. PLL2 is powered down by hardware.
ASR0xRun0No gating
1x1No gating
HSR00Run0No gating
101No gating

1. DDRPHYDLP = 1 is not applicable in Run mode.

21.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 20: Power control (PWR) for details on operating modes and Section 21.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 21.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 21.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 113 gives an example of peripheral allocation:

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 113 and Handling of memory devices for more details).

Figure 113. Peripheral allocation example Figure 113: Peripheral allocation example. A block diagram showing CPU1 subsystem, CPU2 subsystem, and AXI subsystem with bus matrix 1 and bus matrix 2 connecting various peripherals (SYSRAM, DDRC, DDRPHYC, IWDG1, BKPSRAM, I2C4, SPI6, SDMMC1, ETH1, OSPI1, IWDG2, SDMMC3, IWDG3, IWDG4, USART1, SRAM1, LPSRAM2, LPSRAM1, RETRAM, RCC, PWR, SAI4, PER...) mapped to CPU1_DOM and CPU2_DOM.
Figure 113: Peripheral allocation example. A block diagram showing CPU1 subsystem, CPU2 subsystem, and AXI subsystem with bus matrix 1 and bus matrix 2 connecting various peripherals (SYSRAM, DDRC, DDRPHYC, IWDG1, BKPSRAM, I2C4, SPI6, SDMMC1, ETH1, OSPI1, IWDG2, SDMMC3, IWDG3, IWDG4, USART1, SRAM1, LPSRAM2, LPSRAM1, RETRAM, RCC, PWR, SAI4, PER...) mapped to CPU1_DOM and CPU2_DOM.

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, OSPI1) 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:

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 21.4.11 for details).

Refer to Section 21.4.12 and Section 21.4.13 for details on clock enabling.

21.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 21.7 for details), each CPU peripheral domain is created based on the following criteria (see Table 183 for details):


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. 1. Set HPDMA1 RIF configuration in CPU1 single-access mode.
  2. 2. Set RCC HPDMA1 RIF configuration in CPU1 single-access mode (CFEN = 1, SEM_EN = 0 and SCID = CPU1 ID in RCC_R83CIDCFGR).

Table 146. Shareable peripherals list

CategoryList
PeripheralsDDR(1), RCC, PWR(2), EXTI1, SYSCFG, EXTI2, IPCC1, IPCC2, HPDMA1, HPDMA2, HPDMA3, LPDMA1, GPIOA, GPIOB, GPIOC, GPIOD, GPIOE, GPIOF, GPIOG, GPIOH, GPIOI, GPIOJ, GPIOK, GPIOZ, HSEM, FMC, BSEC, ETR
MemoriesSYSRAM, OCTOSPI1, OCTOSPI2, VDERAM, SRAM1, SRAM2, LPSRAM1, LPSRAM2, LPSRAM3, RETRAM, BKPSRAM
  1. 1. DDR can be set shareable according to DDRSHR in RCC_DDRITFCFGR.
  2. 2. D2 domain (D3 domain instance is not shareable).

When the RIF peripheral configuration is set in legacy mode (CFEN = 0):

When the RIF resource configuration is set in legacy mode (CFEN = 0):

PERxEN is used by the hardware to provide the kernel and bus clocks according to the CPU state for peripherals not listed in Table 146, whereas it is based on the system state for peripherals set as shareable in Table 146.

For D3 peripherals allocated to CPU1_DOM or CPU2_DOM, the CPU can put these peripherals in autonomous mode by setting PERxAMEN in RCC_PERxCFGR. This mode is used for peripherals that must be kept clocked when the system goes in LPLV-Stop or Standby1 mode (see Section 21.4.14 for details).

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.

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 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. 1. Enable the peripheral clocks (allocate the peripheral) by writing PERxEN = 1.
  2. 2. Read back the RCC_PERxCFGR register. This operation can be considered as a dummy read.
  3. 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.

21.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 129 (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).

For peripherals belonging to the D3 domain, the same clock gating control applies when the peripheral is allocated by one CPU, except when the peripheral is set in autonomous mode, and the system goes in LPLV-Stop or Standby mode. In that case, the CPU has to select the peripheral local clock source (ck_loc_perx) in the D3 domain prior to set related PERxAMEN. The peripheral is kept clocked even if the CPU is in CStop.

Bus interface and kernel clocks can both be gated according to several conditions detailed hereafter.

As shown in the Figure 114, the enabling of the kernel and bus interface clocks of each peripheral depends on several input signals:

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: USB3DR, USB3PCIEPHY (only kernel clock), USBH, USB2PHY1, and USB2PHY2 (see Section 21.4.11 for more details).

Figure 114. Peripheral clock enable logic details Peripheral clock enable logic details

MSv66572V2

Peripheral clock enable logic details

Table 147 and Table 148 detail the enabling logic of most peripheral clocks for peripherals allocated by CPUs.

Table 147. Peripheral bus clock enabling logic
PERxENPERxLPENPERxAMEN(1)req_ck_bus_perx(2)CPUx(3)System modeck_icn_perx_enComments
0XXXXX0No clock provided to the peripheral (PERxEN = 0)
1XXXCRunRun1Bus interface clock provided to the peripheral (CPUx in CRun, and PERxEN = 1)
10XXCSleep0No clock provided to the peripheral (CPUx in CSleep and PERxLPEN = 0)
11XX1Bus interface clock provided to the peripheral (CPUx in CSleep, and PERxLPEN = 1)

Table 147. Peripheral bus clock enabling logic (continued)

PERxENPERxLPENPERxAMEN(1)req_ck_bus_perx(2)CPUx(3)System modeck_icn_perx_enComments
10XXCStopRun, Stop or LP-Stop0No clock provided to the peripheral (CPUx in CStop and PERxLPEN = 0).
11X00No clock provided to the peripheral (CPUx in CStop, system in Run, Stop or LP-Stop mode, and req_ck_bus_perx = 0)
11X11Bus 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
1X1XCRunLPLV-Stop or Standby11Bus interface clock provided to the peripheral (CPU3 in CRun, system in LPLV-Stop or Standby1, PERxEN = PERxAMEN = 1)
10XXCSleep0No clock provided to the peripheral (CPU3 in CSleep, system in LPLV-Stop or Standby1 mode, and PERxLPEN = 0)
111X1Bus interface clock provided to the peripheral (CPU3 in CSleep, system in LPLV-Stop or Standby1 mode, and PERxLPEN = PERxAMEN = 1)
1110CStop0No clock provided to the peripheral (CPU3 in CStop, system in LPLV-Stop or Standby1, and no bus clock request pending)
11111Bus interface clock provided to the peripheral (CPU3 in CStop, system in LPLV-Stop or Standby1, and req_ck_bus_perx = 1)
  1. This bit is only meaningful for peripherals located in D3 domain (see Section 21.4.14 for details).
  2. See Section 20.5.3: 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.
  3. CPUx = CPU1, CPU2 or CPU3. The CPU3 state is only used for D3 peripherals when the CPU3 domain is active (see Section 21.4.14 for details).

As a summary, the bus interface clock is provided to the peripherals in the following conditions:

Table 148. Peripheral kernel clock enabling logic

PERxENPERxLPENPERxAMEN(1)XBARxSELreq_ck_ker_perxCPUx(2)System modeck_ker_perx_enComments
0XXXXXX0No clock provided to the peripheral (PERxEN = 0)
1XXXXCRunRun1Kernel clock provided to the peripheral (CPUx in CRun, and PERxEN = 1)
10XXXCSleep0No clock provided to the peripheral (CPUx in CSleep, and PERxLPEN = 0)
11XXX1Kernel clock provided to the peripheral (CPUx in CSleep, and PERxLPEN = 1)
11Xno lsi_ck
and no lse_ck
and no hsi_ker_ck
and no msi_ker_ck
and no hse_ker_ck
XCStopRun, Stop
or LP-Stop
0No 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)
11Xlsi_ck or lse_ckX1Kernel clock provided to the peripheral (PERxEN = PERxLPEN = 1 and lsi_ck or lse_ck selected)
The application must enable LSE or LSI if requested.
11Xhsi_ker_ck or
msi_ker_ck or
hse_ker_ck
11(3)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.
11Xhsi_ker_ck or
msi_ker_ck or
hse_ker_ck
0(4)0No clock provided to the peripheral (CPUx in CStop, and no kernel clock request pending)
1X0XXAnyLPLV-Stop
or
Standby1
0No clock provided to the peripheral (PERxAMEN = 0 and system in LPLV-Stop or Standby1 mode)
1X1lsi_ck or
lse_ck or
msi_ker_ck
XCRun1Kernel clock provided to the peripheral (CPU3 in CRun, PERxAMEN = 1, and lsi_ck or lse_ck or msi_ker_ck selected)
The application must select the local kernel clock before system goes in LPLV-Stop or Standby1.

Table 148. Peripheral kernel clock enabling logic (continued)

PERxENPERxLPENPERxAMEN(1)XBARxSELreq_ck_ker_perxCPUx(2)System modeck_ker_perx_enComments
10Xlsi_ck or
lse_ck or
msi_ker_ck
XCSleepLPLV-Stop
or
Standby1
0No clock provided to the peripheral (CPU3 in CSleep and PERxLPEN = 0)
111X1Kernel clock provided to the peripheral (CPU3 in CSleep, PERxLPEN = PERxAMEN = 1, and lsi_ck or lse_ck or msi_ker_ck selected)
1110(4)CStop0No clock provided to the peripheral (CPU3 in CStop and no kernel clock request pending)
11111Kernel clock provided to the peripheral (CPU3 in CStop, PERxLPEN = PERxAMEN = 1, lsi_ck or lse_ck or msi_ker_ck selected, and req_ck_ker_perx = 1)
  1. This bit is only meaningful for peripherals located in D3 domain. (see Section 21.4.14 for details).
  2. CPUx = CPU1, CPU2 or CPU3. The CPU3 state is used only for D3 peripherals that have been allocated to it (see Section 21.4.14 for details).
  3. The DTS does not support the kernel clock request, but the kernel clock is still delivered in CStop.
  4. For MDF1 and ADF1, the kernel clock is provided according to their bus clock request value. For LPTIM3/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:

Note: Only some peripherals are able to request the kernel clock: I2C, I3C, SPI, U(S)ART, UCPD. This feature gives to the peripheral the capability to wait for an event with an optimal power consumption.

21.4.13 CPUx and interconnect clocks gating

CPU1 clock gating

The CPU1 embeds two cores 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 one of the CPU1 cores 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 one of the CPU1 cores 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 both CPU1 cores are in WFI, the shared L2 memory system logic can also enter in WFI, and the cpu1_standbywfi_l2 signal is asserted. More precisely, when both CPU1 cores are 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_Px bits, 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 149. CPU1 mode details(1)

STPREQ_P0 AND STPREQ_P1(2)L2 memory logic in WFICPU1 mode
-NCRun
0YCSleep
1YCStop
  1. 1. "-" means don't care.
  2. 2. STPREQ_P0 AND STPREQ_P1 is a logic "AND" between STPREQ_P0 and STPREQ_P1 in RCC_C1SREQSETR and RCC_C1SREQCLRR.

The CPU1 can go in an enhanced CSleep when the ESLPREQ is set in RCC_C1SREQSETR. When this bit is set and STPREQ_Px 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. 1. Set CA35SS_SSC_CHGCLKREQ.ARM_CHGCLKREQ.
  2. 2. Poll CA35SS_SSC_CHGCLKREQ.ARM_CHGCLKACK bit until it is 1.
  3. 3. Clear CA35SS_SSC_PLL_ENABLE.NRESET_SWPLL.
  4. 4. Clear CA35SS_SSC_PLL_ENABLE.PLL_EN.
  5. 5. Poll CA35SS_SSC_PLL_ENABLE.LOCKP until it is 0.

Figure 115. CPU1 low-power interface

Block diagram of CPU1 low-power interface showing RCC and CA35-SS (CPU1) components.

The diagram illustrates the CPU1 low-power interface between the RCC and the CA35-SS (CPU1). Inside the RCC block, there is a MUXSEL and a Flexclkgen. The MUXSEL provides clock selection signals to AND gates that generate ck_pll1_ref and ck_cpu1_ext2f. The Flexclkgen provides STPREQ_P0 and STPREQ_P1 signals to the CPU1CE block. The CPU1CE block also receives ck_pll1_off_req and ck_pll1_off_ack from the CPU1 side and ck_icn_m_cpu1 from the SCU side. The CA35-SS (CPU1) block contains PLL1 and SCU. PLL1 receives ck_pll1_ref and ck_cpu1_ext2f and sends cpu1_pll_off_req and cpu1_pll_off_ack to CPU1CE. The SCU is connected to an AXISYNC block, which in turn connects to the AXI port. The SCU also sends cpu1_standbywfi_l2 to CPU1CE. The reference ID MSv66545V1 is located at the bottom right.

Block diagram of CPU1 low-power interface showing RCC and CA35-SS (CPU1) components.

Figure 116. CPU1 PLL1 stop sequence

Timing diagram for CPU1 PLL1 stop sequence showing transitions between CRun and CStop modes.

The timing diagram shows the sequence for stopping PLL1 when transitioning from CRun to CStop mode and back. The CPU1 mode transitions from CRun to CStop and then back to CRun. The cpu1_standbywfi_l2 signal transitions high at the start of CStop and low at the end. The cpu1_pll_off_req signal transitions high when PLL1 is no longer needed. The cpu1_pll_off_ack signal transitions high once PLL1 is stopped. The cpu_ck signal shows the transition from pll1_ck to ck_cpu1_ext2f and back. The ck_cpu1_ext2f and ck_pll1_ref signals are shown as low during the CStop mode. The pwrwake_cpu1 signal transitions high when the system wakes up from CStop. The reference ID MSv66546V1 is located at the bottom right.

Timing diagram for CPU1 PLL1 stop sequence showing transitions between CRun and CStop modes.

CPU2 and CPU3 clock gating

CPU2 and CPU3 main clocks (ck_cpu2, ck_cpu3h, ck_cpu3s, and ck_cpu3d) are sourced respectively from ck_icn_hs_mcu and ck_icn_ls_mcu root clocks.

Both CPUs support two low-power states: sleep (SLEEPING output set high) and deepsleep (SLEEPING and SLEEPDEEP outputs set high).

CPU2 or CPU3 sleep state is equivalent to CSleep. CPU2 or CPU3 deepsleep state is equivalent to CStop for RCC. CPU2 main clock is only gated when it is in CStop.

When CPU3 domain is not set (see Section 21.4.14 for details), the CPU3 clock is gated according to the CPU that has allocated it. Otherwise the CPU3 clock is gated when CPU3 goes 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 150 to Table 152 show in which conditions the RCC gates the bus matrix and bridge clocks (see Section 21.4.12 for information about convention naming).

Table 150. Bus clock enable details for ck_icn_ahbx with x = 2,5,6
and ck_icn_apby with y = 1,2,3,4,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_perzck_icn_ahbx
or
ck_icn_apby
Description
CRunAny1XXXXClockedThe 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)
CSleep11XXX
AnyCRunXX1XX
CSleepXX11X
CStopCStop11XX1
XX111

Table 150. Bus clock enable details for ck_icn_ahbx with x = 2,5,6
and ck_icn_apby with y = 1,2,3,4,dbg (continued)

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_perzck_icn_ahbx
or
ck_icn_apby
Description
AnyAny0X0XXGatedIn all other cases, the clock is gated.
CSleep0XX0X
CStop0XXXX
CSleepAnyX00XX
CSleepX0X0X
CStopX0XXX
CStopAnyXX0XX
CSleepXXX0X
CStop11XX0
XX11

1. 'Any' means CRun, CSleep, or CStop.

Table 151. Bus clock enable details for ck_icn_sdmmc, ck_icn_ddr, ck_icn_display,
ck_icn_hsl, ck_icn_nic, ck_icn_vid, ck_icn_ahb3, ck_icn_ahbsr, and ck_icn_ahb4

CPU1
(1)
CPU2
(1)
ck_icn_sdmmc, ck_icn_ddr(2),
ck_icn_display, ck_icn_hsl,
ck_icn_nic(3), ck_icn_vid,
ck_icn_ahb3, ck_icn_ahbsr,
ck_icn_ahb4(4)
Description
CRunAnyClockedThe clocks are generated when one of the following conditions is true:
– CPU1 is in CRun or CSleep.
– CPU2 is in CRun or CSleep.
CSleep
AnyCRun
CSleep
CStopCStopGated-

1. Any means CRun, CSleep, or CStop.

2. ck_ker_saes behaves the same as ck_icn_ddr.

  1. 3. ck_icn_s_bootrom, ck_icn_s_gic400 behave the same as ck_icn_nic.
  2. 4. ck_icn_ahb4 is the source clock for EXT1, PWR and SYSCFG.

Table 152. Bus clock enable details for ck_icn_hs_mcu, ck_icn_ls_mcu, ck_icn_hs_mlahb and ck_icn_ls_mlahb

CPU1
(1)
CPU2
(1)
req_ck_bus_perx(2)ck_icn_hs_mcu,
ck_icn_ls_mcu,
ck_icn_hs_mlahb,
ck_icn_ls_mlahb
Description
CRunAnyXClockedThe clocks are generated when one of the following conditions is true:
– CPU1 is in CRun or CSleep.
– CPU2 is in CRun or CSleep.
CSleepX
AnyCRunX
CSleepX
CStopCStop1ClockedAny autonomous peripheral bus clock request is active.
0Gated
  1. 1. Any means any mode among CRun, CSleep and CStop.
  2. 2. Any autonomous peripheral bus clock request

Note: The MLAHB and AHB4 matrix are clocked as soon as one of the CPU exit CStop. This is due to the fact that RCC and PWR are allocated to both CPU1 and CPU2.

21.4.14 D3 clocking

Depending on the D3 domain reset source, D3 peripherals may be kept running or not clocked (see Section 21.3.7 for details).

Any D3 peripheral is clocked according to the CPU state (CPU1 or CPU2) to which it is allocated (PERxEN bit set) (see Section 21.4.12 for details).

The application can also override the D3 peripheral allocation table (done by CPU1 or CPU2) in case CPU3 is used in the D3 domain. A CPU3 domain is created in which all D3 peripherals belonging to it become shared peripherals (clocked according to CPU3 state) (see Section 21.4.11 for details on shared peripherals).

When the CPU3 domain is active (at least one PERxC3EN set), each enabled D3 peripheral (PERxC3EN set) is clocked according to CPU3 state in addition to CPU1 or CPU2 state (see Section 21.4.12 for details).

Note: CPU3 is clocked like any other D3 peripheral when the CPU3 domain is not active. In addition to LPSRAM1, LPSRAM2, LPSRAM3, EXTI2 and IPCC2, the peripherals HSEM, WWDG2, and IWDG5 are also considered as shared peripherals when the CPU3 domain is active.

The following procedure is used to create the CPU3 domain before system goes in one of Stop, LP-Stop, LPLV-Stop, or Standby1 modes:

  1. 1. The trusted domain application sets the “Shared between different masters with semaphore protection” RIF configuration on the required D3 peripherals.
  2. 2. The master CPU (CPU1 or CPU2) takes the semaphore on the required D3 peripherals in order to allocate/program them. It must also set appropriate secure and privileged attributes aligned with CPU3.
  3. 3. The master CPU allocates CPU3, sets the related PERxC3EN, and download CPU3 firmware to local D3 memories.
  4. 4. The master CPU releases all semaphores on the required D3 peripherals.
  5. 5. The master CPU starts CPU3, and waits for the end of CPU3 semaphore acquisition on all required D3 peripherals.

Note: The CPU3 domain RIF configuration is only possible when the system is in Run mode, as CPU3 cannot access any RCC resource.

When the system goes in LPLV-Stop or Standby1 mode, the CPU3 domain is not clocked anymore.

Another mode, called autonomous mode, is available to keep D3 peripherals clocked when the system goes in LPLV-Stop or Standby1 mode. This applies to all D3 peripherals that belong to the CPU3 domain or not.

To activate the autonomous mode, PERxEN, PERxLPEN, and PERxAMEN bits must be set in RCC_PERxCFGR.

For the bus matrix and kernel peripheral clocks in autonomous mode, a local clock source (LSI, LSE or MSI) must be selected before the system goes in LPLV-Stop or Standby1.

The application must select the D3 local bus clock source (LSI, LSE or MSI) before enabling the autonomous mode on any D3 peripheral. D3PERCKSEL in RCC_D3DCR is used to select this local bus clock source. For local kernel clocks selection, see Table 133 for the list of supported sources.

The clock switching between flexclkgen and the selected local clock source occurs when the following conditions are met:

When the system exits LPLV-Stop or Standby1 mode, the D3 local bus clock source is switched back to the flexclkgen clock source. To change the local kernel clocks, the autonomous peripheral mode must be disabled when the D3 domain is in system state. The D3 domain state is defined by D3STATE in RCC_D3DSR.

Any D3 peripheral clocking depends on:

  1. Note: Any asynchronous event set in EXTI2 (pwrwake_d3) enables the EXTI2 clock in order to generate any programmed wake-up.
  2. In autonomous mode, any D3 peripheral bus clock request enables the bus matrix, and all D3 peripheral bus clock, if set autonomous.
  3. When the system exits LPLV-Stop or Standby1 mode, CPU1 or CPU2 must reallocate D3 peripherals prior any access.
  4. When the application configures D3 peripherals to support the ePOS mode (tamper filtering with CPU3 assistance), these peripherals manage any tamper detection event whatever the system state. The ePOS mode is ready to be used after the following steps:
  5. 1. MSI oscillator is enabled.
  6. 2. Related D3 peripherals are configured to manage tamper events.
  7. 3. TAMP_WKUPEN_D3 is set in PWR_D3WKUPENR (see Section 20: Power control (PWR) for details).
  8. 4. Run CPU3 and wait until it goes in WFI.
  9. When the system is in VBAT2 mode, the D3 domain can be powered (VBAT2 to VBAT1 transition state) whenever a tamper event is detected. An hardware reset sequence is run each time the D3 domain is powered on (VBAT2 to VBAT1 transition state), and the MSI clock is automatically enabled.
  10. The default CPU3 configuration allows CPU3 to access LPSRAM1, LPSRAM2, RTC, TAMP, and IWDG5 peripherals.
  11. Note: PERxAMEN bit of D3 ePOS peripherals must not be set.
  12. EXTI2 and IPCC2 (if enabled) can also be used in ePOS mode but their configurations are lost each time the system goes in VBAT2 mode.

The figure below shows the behavior of D3 domain according to the different system modes.

Figure 117. D3 state description

Flowchart showing the D3 state description. It starts with 'VSW reset, application reset or D3 internal power switch OFF' leading to 'RST_ST'. From 'RST_ST', it branches into 'Hardware tamper event in ePOS mode' (leading to 'MSI ON by hardware' and then 'MSI ready' check) and 'CPU1 or CPU2 uses a peripheral in D3 domain' (leading to 'ePOS mode' check). The 'MSI ready' path leads to enabling IWDG5, CRC, RTC/TAMP, and LPSRAM1/2, then checking LPSRAM1 CRC. If OK, CPU3 reset is released and CPU3 SW execution is checked. If KO, IWDG5 timeout is sent to tamper for erase. The 'ePOS mode' path leads to 'Select MSI local clock source' and 'CPU3 In CStop' check. If yes, it enters a state where D3 is clocked by MSI. The 'CPU1 or CPU2 uses a peripheral' path leads to 'SYS in LPLV-Stop or Standby1/2' check. If yes, it leads to 'Select D3 local clock source' and 'D3 clock ready' check. If yes, it checks 'IP autonomous' and 'IP clock request'. If yes to either, it enters a state where D3 is clocked by local clock. If no to 'IP clock request', it enters a state where D3 IPs are clocked by flexclkgen. If no to 'SYS in LPLV-Stop or Standby1/2', it leads to 'SYS in LP-Stop or Stop' check. If yes, it checks 'IP clock request'. If yes, it enters a state where D3 IPs are clocked by flexclkgen. If no, it enters a state where D3 is in autonomous mode. If no to 'SYS in LP-Stop or Stop', it enters a state where D3 is in SRun or Sstop. The flowchart also includes a 'D3 power off' transition from 'RST_ST' and a 'Switch D3 clocking to flexclkgen' transition from the 'D3 clock ready' path.
Flowchart showing the D3 state description. It starts with 'VSW reset, application reset or D3 internal power switch OFF' leading to 'RST_ST'. From 'RST_ST', it branches into 'Hardware tamper event in ePOS mode' (leading to 'MSI ON by hardware' and then 'MSI ready' check) and 'CPU1 or CPU2 uses a peripheral in D3 domain' (leading to 'ePOS mode' check). The 'MSI ready' path leads to enabling IWDG5, CRC, RTC/TAMP, and LPSRAM1/2, then checking LPSRAM1 CRC. If OK, CPU3 reset is released and CPU3 SW execution is checked. If KO, IWDG5 timeout is sent to tamper for erase. The 'ePOS mode' path leads to 'Select MSI local clock source' and 'CPU3 In CStop' check. If yes, it enters a state where D3 is clocked by MSI. The 'CPU1 or CPU2 uses a peripheral' path leads to 'SYS in LPLV-Stop or Standby1/2' check. If yes, it leads to 'Select D3 local clock source' and 'D3 clock ready' check. If yes, it checks 'IP autonomous' and 'IP clock request'. If yes to either, it enters a state where D3 is clocked by local clock. If no to 'IP clock request', it enters a state where D3 IPs are clocked by flexclkgen. If no to 'SYS in LPLV-Stop or Standby1/2', it leads to 'SYS in LP-Stop or Stop' check. If yes, it checks 'IP clock request'. If yes, it enters a state where D3 IPs are clocked by flexclkgen. If no, it enters a state where D3 is in autonomous mode. If no to 'SYS in LP-Stop or Stop', it enters a state where D3 is in SRun or Sstop. The flowchart also includes a 'D3 power off' transition from 'RST_ST' and a 'Switch D3 clocking to flexclkgen' transition from the 'D3 clock ready' path.

21.4.15 Low-power emulation mode

For easier debug, the RCC handles an emulation mode for Stop and Standby modes (see Section 97: Debug support (DBG) for additional information).

SLEEP emulation mode

This mode is controlled by DBG_SLEEP in DBGMCU_CR. When a CPUx goes to CSleep with DBG_SLEEP = 1, the CPUx clocks, and clocks of all allocated peripherals, debug parts, and interconnect, are maintained activated.

Stop emulation mode

This mode is controlled by DBG_STOP in DBGMCU_CR. When a CPUx goes to CStop, or when the system goes to Stop with DBG_STOP = 1, the following happens:

  1. 1. The CPUx clocks, and clocks of all allocated peripherals, debug parts, and interconnect, are maintained activated.
  2. 2. The PWR does not signal low-power mode on PWR_ON and PWR_LP pins. This keeps VDDCORE domain supplied from the regulator in main mode.
  3. 3. When a wake-up event occurs, PWR and EXTI behave normally.
  4. 4. If the system exits Stop, the RCC bypasses (or executes very fast) the clock restore sequence as the clocks are still there.

When the D1 domain goes to DStandby with DBG_STOP = 1, the following happens:

  1. 1. All CPU1 clock sources, and clocks of all allocated peripherals, debug parts, and interconnect, are maintained activated.
  2. 2. The interrupt lines connected to the GIC are immediately gated in order to prevent the CPU1 to execute an exception before it is reset.
  3. 3. The PWR does not signal low-power mode on PWR_CPU_ON and PWR_LP pins. This keeps the VDDCPU domain supplied.
  4. 4. When a wake-up event occurs, the PWR and EXTI behave normally, and the RCC generates a CPU1 reset.
  5. 5. The interrupt lines connected to the GIC are no longer gated.

Standby emulation mode

This mode is controlled by DBG_STANDBY in DBGMCU_CR. When the system goes to Standby with DBG_STANDBY = 1, the following happens:

  1. 1. The CPUx clocks, and clocks of all allocated peripherals, debug parts, and interconnect, are maintained activated.
  2. 2. The interrupt lines connected to the GIC and NVIC are immediately gated in order to prevent the CPU1 and CPU2 to execute an exception before it is reset.
  3. 3. The PWR keeps PWR_ON and PWR_CPU_ON signals active, allowing VDDCORE and VDDCPU domains to remain supplied.
  4. 4. When a wake-up event occurs, the PWR and EXTI behave normally. The RCC generates a reset of the complete VDDCORE (vcore_rstn) and VDDCPU (vcpu_rstn) domain supplies but does not reset the debug part (dbg_rstn not activated).
  5. 5. The interrupt lines are no longer gated.

Note: In Standby emulation mode, RCC_HWRSTSTCLRR, RCC_C1HWRSTSTCLRR, and RCC_C2HWRSTSTCLRR are not updated while PWR_CPU1CR and PWR_CPU2CR are updated in this mode (see Section 20: Power control (PWR) for details).

21.4.16 Mass storage interface clocking

One programmable delay (DLYB) is used for each SDMMC and each OCTOSPI interfaces. These programmable delays are used:

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 Section 25: System configuration controller (SYSCFG). More details are also provided in Section 36: Mass storage interfaces.

FMC interface - Clocking schematic

Figure 118. FMC interface clocking

Schematic diagram of FMC interface clocking showing RCC and Mass storage blocks with clock signals and frequency limits.

The diagram illustrates the clocking architecture for the FMC interface. It is divided into two main sections: the RCC (Reset and Clock Control) and Mass storage (containing the FMC controller).
In the RCC section, three clock inputs are shown:
1. ck_ker_fmc (max 200 MHz) is combined with FMCLPEN and FMEN via a CGL block and an AND gate to produce clk_ker_fmc.
2. ck_icn_s_fmc (max 400 MHz) is combined with FMCLPEN and FMEN via a CGL block and an AND gate to produce clk_icn_s_fmc.
3. ck_icn_p_fmc (max 200 MHz) is combined with FMCLPEN and FMEN via a CGL block and an AND gate to produce clk_icn_p_fmc.
These three signals are then sent to the FMC block in the Mass storage section, where they are labeled kclk, aclk, and hclk respectively. The FMC block also contains m_clk and m_fb_clk signals. The FMC_CLK_out is sent to a buffer, and FMC_CLK_in is received from it. The MSv68380V1 identifier is located in the bottom right corner of the diagram area.

Schematic diagram of FMC interface clocking showing RCC and Mass storage blocks with clock signals and frequency limits.

The FMC controller receives its kernel, AHB and AXI clocks from the RCC.

Table 153. FMC interface clocks from RCC

Subsystem clock signal namePeripheralClock signal nameClock directionRCC clock lineMax frequencyDescription
clk_ker_fmcFMCKCLKInputck_ker_fmc200 MHzkernel clock
clk_icn_s_fmcACLKInputck_icn_s_fmc400 MHzAXI clock
clk_icn_p_fmcHCLKInputck_icn_p_fmc200 MHzAHB clock

OCTOSPI interface - Clocking schematic

Figure 119. OCTOSPI interface clocking

Figure 119. OCTOSPI interface clocking schematic

The diagram illustrates the clocking architecture for the OCTOSPI interface. The RCC (Reset and Clock Control) block on the left provides various clock signals to the Mass storage block. These include:

The Mass storage block contains:

Figure 119. OCTOSPI interface clocking schematic

The RCC provides kernel and bus clocks to OCTOSPI1/2, OTFDEC1/2 and OCTOSPIIM. DLYBOS1/2 provide delayed feedback clocks, and delayed TX launch clocks to OCTOSPI1/2.

Table 154. Octo-SPI interface clocks from RCC

Subsystem clock signal namePeripheralClock signal nameClock directionRCC clock lineMax frequencyDescription
clk_icn_p_octospiiomOCTOSPIIMHCLKInputck_icn_p_ospiiom200 MHzAHB clock
clk_ker_octospi1OCTOSPI1ker_clkInputck_ker_ospi1266 MHzkernel clock
clk_icn_s_octospi1OCTOSPI1HCLKInputck_icn_s_ospi1400 MHzAHB clock
clk_icn_p_otfdec_1OTFDEC1HCLKInputck_icn_p_otfd1400 MHzAHB clock
clk_ker_octospi2OCTOSPI2ker_clkInputck_ker_ospi2266 MHzkernel clock
clk_icn_s_octospi2OCTOSPI2HCLKInputck_icn_s_ospi2400 MHzAHB clock
clk_icn_p_otfdec_2OTFDEC2HCLKInputck_icn_p_otfd2400 MHzAHB clock
Table 155. Octo-SPI interface clocks from DLYBOS1 and DLYBOS2
PeripheralClock signal nameClock directionMax frequencyDescription
DLYBOS1rx_op_clkOutput200 MHzDelayed RX sampling clock
DLYBOS1tx_op_clkOutput200 MHzDelayed TX launch clock
DLYBOS2rx_op_clkOutput200 MHzDelayed RX sampling clock
DLYBOS2tx_op_clkOutput200 MHzDelayed TX launch clock

Details of the Octo-SPI interface clocking

For Octo-SPI1/2 interfaces, the RX sampling strobe can be selected between:

For both Octo-SPI1 and Octo-SPI2 interfaces, 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:

Note: For each Octo-SPI interface, RX sampling and TX launch clock delays rely on the same DLL instance: DLYBOS1 for the OCTOSPI1 and DLYBOS2 for the OCTOSPI2.

SDMMC interface - Clocking schematic

Figure 120. SDMMC interface clocking

Figure 120: SDMMC interface clocking diagram showing RCC, SDMMC1/2/3 blocks, DLYBSD1/2/3 delay blocks, clock signals, and external pads.

The block diagram details the clock generation and distribution for three SDMMC interfaces (SDMMC1, SDMMC2, and SDMMC3). On the left side, the RCC block provides kernel clocks (ck_ker_sdmmc1, ck_ker_sdmmc2, ck_ker_sdmmc3) and interconnect bus clocks (ck_icn_m_sdmmc1, ck_icn_m_sdmmc2, ck_icn_m_sdmmc3), each with a maximum frequency of 200 MHz, gated through CGL blocks with SDMMCxEN/SDMMCxLPEN enable inputs and AND gates. The outputs clk_ker_sdmmcx drive sclk of SDMMC1, SDMMC2, and SDMMC3. The bus clock outputs clk_icn_p_sdmmcx connect to hclk of the respective SDMMC block and to rstsync_sdmmc_x blocks. Each SDMMC block interfaces to a DLYBSD block (DLYBSD1, DLYBSD2, DLYBSD3) via FB_CLK (receiving rx_op_clk, rx_ip_clk, tx_op_clk, tx_ip_clk) and ClkDll (grounded). The external interface signals on the right side include SDMMC1_CKIN, SDMMC2_CKIN, SDMMC3_CKIN, and bidirectional uSD_SDMMC1_CK, uSD_SDMMC2_CK, uSD_SDMMC3_CK pads.

Figure 120: SDMMC interface clocking diagram showing RCC, SDMMC1/2/3 blocks, DLYBSD1/2/3 delay blocks, clock signals, and external pads.

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 156. SDMMC interface clocks from RCC

Subsystem clock signal namePeripheralClock signal nameclock directionRCC clock lineMax frequencyDescription
clk_ker_sdmmc1SDMMC1SClkInputck_ker_sdmmc1200 MHzkernel clock
clk_icn_p_sdmmc1SDMMC1HCLKInputck_icn_m_sdmmc1200 MHzAHB clock
clk_ker_sdmmc2SDMMC2SClkInputck_ker_sdmmc2200 MHzkernel clock
clk_icn_p_sdmmc2SDMMC2HCLKInputck_icn_m_sdmmc2200 MHzAHB clock
clk_ker_sdmmc3SDMMC3SClkInputck_ker_sdmmc3200 MHzkernel clock
clk_icn_p_sdmmc3SDMMC3HCLKInputck_icn_m_sdmmc3200 MHzAHB clock

Table 157. SDMMC interface clocks from DLYBSD1/2/3

PeripheralClock signal nameClock directionMax frequencyDescription
DLYBSD1rx_op_clkOutput200 MHzDelayed RX sampling clock
DLYBSD2rx_op_clkOutput200 MHzDelayed RX sampling clock
DLYBSD3rx_op_clkOutput200 MHzDelayed RX sampling clock

Details of the SDMMC interface clocking

For all SDMMC1/2/3 interfaces, the RX sampling clock can be selected between:

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.

21.4.17 Ethernet interface clocking

Overview

There are two independent GMAC controllers (ETH1 and ETH2) that support MII, RMII and RGMII interfaces. There is also a 3-port Gbit Ethernet switch (ETHSW) that support RMII and RGMII. A switch accelerator (ACM) is connected across external ports 1 and 3.

ETH1 is connected to the internal (host) port of ETHSW and can also bypass ETHSW to the external port 1. ETH2 is connected directly to external port 2. The external port 3 is only connected to the ETHSW, and the signals have an ETH3 prefix.

ETH1 and ETH2 include an MDIO interface. External clock I/Os are multiplexed to support internal or external clock generation. ETH1, ETH2 and ETHSW support TSN.

Clock diagrams

Each GMAC has the same (but independent) clock management. The clocking for a single GMAC is shown in the figure below.

Figure 121. Single GMAC clocking

Figure 121: Single GMAC clocking diagram. This schematic shows the clock management for a single GMAC (ETH1). It includes inputs for external clocks (ETH1_CLK125, ETH1_TX_CLK, ETH1_REF_CLK), internal clocks (ck_ker_eth1, ck_ker_ethswref), and control signals (ETH1_DIRECT, mac_speed). The diagram illustrates the logic for selecting and dividing these clocks to generate the required signals for the GMAC block, including tx and rx clocks, clock enable signals, and PTP timestamping inputs. A feedback loop 'eth_clk_fb' is also shown.

The diagram illustrates the clocking architecture for a single GMAC (ETH1). Key components and signals include:

Figure 121: Single GMAC clocking diagram. This schematic shows the clock management for a single GMAC (ETH1). It includes inputs for external clocks (ETH1_CLK125, ETH1_TX_CLK, ETH1_REF_CLK), internal clocks (ck_ker_eth1, ck_ker_ethswref), and control signals (ETH1_DIRECT, mac_speed). The diagram illustrates the logic for selecting and dividing these clocks to generate the required signals for the GMAC block, including tx and rx clocks, clock enable signals, and PTP timestamping inputs. A feedback loop 'eth_clk_fb' is also shown.

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

When the ETHSW is required(a), the RCC provides a 50 MHz clock for RMII mode (ck_ker_ethswref).

The ETH1 PTP reference clock can be from the RCC (ck_ker_eth1ptp) or from the ETHSW.

Note: When connecting ETH2, the signals ck_ker_ethswref = 0, and ETH2_DIRECT = 1.

The ETHSW host port is connected to ETH1.

The ETHSWRAP schematic is shown in the figure below.

Figure 122. ETHSWRAP schematic

Schematic diagram of the ETHSWRAP block. It shows the internal structure including the ETHSW block with SWITCH and ACM components, and the tsn_ip_reset_control block. The diagram illustrates various clock inputs (ck_icn_p_ethsw, 200 MHz, 125 MHz, ETH1_CLK125), multiplexers for clock selection (ETHSW_CLK_SEL, ETHSW_REF_SEL), and data paths (rgmii_0, rgmii_1, rgmii_2) connected to external ports like ETH3_PPS_OUT, GTX3_CLK, and ETH1 tx/rx/ctl. A div2 block is also present for clock division.
Schematic diagram of the ETHSWRAP block. It shows the internal structure including the ETHSW block with SWITCH and ACM components, and the tsn_ip_reset_control block. The diagram illustrates various clock inputs (ck_icn_p_ethsw, 200 MHz, 125 MHz, ETH1_CLK125), multiplexers for clock selection (ETHSW_CLK_SEL, ETHSW_REF_SEL), and data paths (rgmii_0, rgmii_1, rgmii_2) connected to external ports like ETH3_PPS_OUT, GTX3_CLK, and ETH1 tx/rx/ctl. A div2 block is also present for clock division.

The main function of this wrapper is to bypass the ETHSW, but it also performs some local clock inversion, multiplexing and reset management.

a. ETH1_DIRECT must be set to zero, which means the ETHSW is not bypassed.

Clock signals

Table 158. Ethernet clocks from RCC

Subsystem clock signal namePeripheralClock signal nameClock directionRCC clockMax frequencyClock description
clk_eth1_hclkETH1 controllerhclkInputck_icn_p_eth1200 MHzAHB register access
clk_eth1_axi_masterETH1 controlleraclkInputck_icn_m_eth1300 MHzAXI data master
clk_ker_eth1ETH1 controller(multiple divided)Inputck_ker_eth1125 MHzinternal GMAC clock
clk_eth1_ptp_refETH1 controllerclk_ptp_refInputck_ker_eth1ptp200 MHzPTP reference clock
rcc_ck_icn_p_ethsw_cfgETHSW switch-Inputck_icn_p_ethsw200 MHzSwitch register access
ck_ker_ethsw_rmiiETHSW switch-Inputck_ker_ethswref50 MHzInternal RMII clock (only for ETHSW)
ck_ker_ethswETHSW switch-Inputck_ker_ethsw125 MHzInternal switch and ACM clock
rcc_ck_icn_p_ethsw_acm_cfgETHSW switch accelerator-Inputck_icn_p_ethsw_acm200 MHzACM register access
rcc_ck_icn_p_ethsw_acm_msgETHSW switch accelerator-Inputck_icn_p_ethsw_acmmsg200 MHzACM message buffer

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 159. Ethernet clocks to/from I/Os

Subsystem clock pin namePeripheralClock signal nameClock directionMax frequencyClock description
ETH1_CLK125ETH x controller-Input125 MHzOptional RGMII external reference (fixed frequency)
ETH1_TX_CLK-Input25 MHzMII external TX clock
ETH1_RX_CLK/
ETH1_REF_CLK
-Input125 MHzMII or RGMII external RX clock, RMII external reference
ETH1_CLK-Output125 MHzTo external PHY (fixed frequency)
ETH1_GTX_CLKclk_tx_iOutput125 MHzTo external PHY (dynamic frequency)
ETH1_MDCgmii_mdc_oOutputhclk/4Clock for MDIO

The ETHSW has two external ports, ETH1 and ETH3, but MII is not supported.

All RGMII I/Os must support 125 MHz dual-edge toggling. Only 1.8 V and 3.3V 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 160. Active I/O per mode (MII, RMII, RGMII)
DirectionMIIRMIIRGMIIcomments
Input/outputETH_CLKETH_CLKETH_CLK125/50/25 MHz to PHY (static)
Output--GTX_CLK125/25/2.5 MHz in RGMII (dynamic)
Input--ETH_CLK125125 MHz from PHY (static)
InputRX_CLKREF_CLKRX_CLK125/25/2.5 MHz, or 50 MHz RMII
InputRX_DVCRS_DVRX_CTL-
InputRX_ER---
InputCOL---
InputCRS---
InputRXD0RXD0RXD0DDR (except MII)
InputRXD1RXD1RXD1-
InputRXD2-RXD2-
InputRXD3-RXD3-
InputTX_CLK--25/2.5 MHz in MII
InputTX_ENTX_ENTX_CTL-
OutputTXD0TXD0TXD0DDR (except MII)
OutputTXD1TXD1TXD1-
OutputTXD2-TXD2-
OutputTXD3-TXD3-
OutputMDCMDCMDC2.5 MHz or faster
Input/outputMDIOMDIOMDIO-

Description

The two controllers (switch and accelerator) 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

ETH1_CLK125 I/O is also used for the ETHSW, but ETHSW_CLK_SEL must be used instead of ETH1_CLK_SEL (which is set to 1). The dynamic clock frequency is managed inside ETHSW.

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.

ETHSW clock configuration

The switch main clock is ck_icn_p_ethsw. However, ck_ker_ethsw is also required for the interface adapters (RGMII/RMII).

The ETH1 must be configured for the RGMII Host interface (MAC to MAC).

ck_ker_eth1 = 125MHz, ETH1_CLK_SEL = 1, ETH1_DIRECT = 0, and ETH1_SEL = 1.

If RMII ports are required, the 50MHz can be:

If RGMII ports are required, the ETH1_GTX_CLK and ETH3_GTX_CLK can be used.

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.

Note: The ETH1_GTX_CLK signal is actually passed to ETHSWRAP where it is multiplexed with the switch Tx clock, before going to the external ETH1_GTX_CLK I/O. The ETH2_GTX_CLK goes directly to the external I/O.

The ETH1 controller reports the speed of the MAC interface which may change dynamically during normal operation.

Table 161. Ethernet MAC speed encoding

mac_speed_o[1:0]MAC speed (Mbit/s)
0x1000
1010
11100

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 STM32MP23/25xx devices, but ETH1 supports up to 50 MHz (hclk/4). See Section 92: Ethernet (ETH): gigabit media access control (GMAC) with DMA controller for the available ratios. The same register can be used to add extra clock cycles at the end of an MDIO frame transmission.

The ETH1 MDIO is used to manage the ETHSW external PHYs (while the ETH1 is connected to the Host port).

PTP reference clock

ETH1_PTP_CLK_SEL in SYSCFG_ETH1CR selects the source of the PTP reference clock. The clock can be the RCC generated ck_ker_eth1ptp, or the ETHSW reference ethsw_ptp_ref (that is fixed at 200 MHz).

21.4.18 PCIE clocking

Overview

The single-lane PCIE uses the same COMBOPHY hardware resource as the USB3. The COMBOPHY PLL programming must then be made before using each standard.

Clock schematic

The PCIE clocking is shown in the figure below.

Figure 123. PCIE clock schematic

Block diagram of the Reset and Clock Control (RCC) peripheral showing the internal structure of the COMBOPHY and PCIE blocks, and their connections to various clock signals.

The diagram illustrates the Reset and Clock Control (RCC) peripheral. It shows the internal structure of the COMBOPHY and PCIE blocks, and their connections to various clock signals.

COMBOPHY Block:

PCIE Block:

Other Blocks:

Device Type:

Block diagram of the Reset and Clock Control (RCC) peripheral showing the internal structure of the COMBOPHY and PCIE blocks, and their connections to various clock signals.

The RCC provides all clocks apart from the I/O inputs (PCIE_CLKIN). The main clock for the PCIE controller (core_clk) is generated by the PLL in the COMBOPHY. The same PLL generates the I/O outputs (PCIE_CLKOUT) via PCIERefGen block.

Clock signals

Table 162. PCIE clocks from RCC

Subsystem clock signal namePeripheralClock signal nameClock directionRCC clockMax frequencyClock description
clk_pcie_dbiPCIE controllerdbi_ackInputck_icn_p_pcie200 MHzAXI register access
clk_pcie_axi_slavePCIE controllerslv_ackInputck_icn_s_pcie250 MHzAXI data slave
clk_pcie_axi_masterPCIE controllermstr_clkInputck_icn_m_pcie250 MHzAXI data master
rcc_ck_icn_p_usb3pciephyCOMBOPHYapb_clkInputck_icn_p_usb3pciephy200 MHzAPB register access
rcc_ck_ker_usb3pciephyCOMBOPHYref_alt_clk_pInputck_ker_usb3pciephy25 MHzLow jitter reference, use hse_div2_ck instead

Table 163. PCIE clocks from HSE

Subsystem clock signal namePeripheralClock signal nameClock directionRCC clockMax frequencyClock description
hse_div2_ck_cml_a, hse_div2_ck_cml_anCOMBOPHYref_alt_clk_pInputhse_div2_ck25 MHzLow jitter reference routed as CML

Table 164. PCIE clocks from I/Os

Subsystem clock signal namePeripheralClock signal nameClock directionMax frequencyClock description
PAD_PCIE_CLKIN_M,
PAD_PCIE_CLKIN_P
COMBOPHYref_pad_clk_m,
ref_pad_clk_p
Input100 MHzoptional PCIE standard reference
PAD_PCIE_CLKOUT_N,
PAD_PCIE_CLKOUT_P
PCleRefGenpcie_clk_out_n,
pcie_clk_out_p
Output100 MHzoptional PCIE standard reference

Description

The PCIE controller and COMBOPHY registers have separate programming ports clocked by ck_icn_p_pcie and ck_icn_p_usb3pciephy respectively. The controller also has a master and a slave ports for data transfers. These are clocked by ck_icn_m_pcie and ck_icn_s_pcie respectively. The RCC clock enable ck_ker_pcie_en gates all controller clocks.

The COMBOPHY input clocks are individually gated by the RCC. ck_icn_p_usb3pciephy is gated inside the RCC, and ck_ker_usb3pciephy by an enable from RCC.

Reference clock

The PCIE standard specifies exact constraints for the reference clock jitter. This reference clock can be sourced from an external clock generator (on the board) or from a high quality RCC clock. If an external clock is available, the differential pair must be connected to PCIE_CLKIN_M and PCIE_CLKIN_P, and COMBOPHY_REFUSEPAD set to 1 in SYSCFG_COMBOPHYCR1. The COMBOPHY PLL programming must match the 100 MHz frequency.

If the reference clock is generated by the RCC, ck_ker_usb3pciephy must be enabled and COMBOPHY_REFUSEPAD cleared to 0 in SYSCFG_COMBOPHYCR1. ck_ker_usb3pciephy must come directly from the main crystal oscillator (HSE(a)). The frequency is then lower than the standard 100 MHz. The COMBOPHY PLL programming must reflect the lower frequency.

In all cases, SSC (spread-spectrum clocking) is supported as specified in the PCIE standard.

When the reference is generated by the RCC, the PCleRefGen creates a differential 100 MHz reference clock for output to a companion device. This output reference clock contains SSC if it is enabled in the PLL using COMBOPHY_SSCEN in SYSCCFG_COMBOPHYCR1.

Note: COMBOPHY_REFSSPEN in SYSCFG_COMBOPHYCR1 is ‘internally controlled’ in PCIE mode, and the Sysconf setting is ignored.

a. There is a direct path from HSE which must be selected by programming USB3PCIEPHYCKREFSEL in RCC_USB3PCIEPHYCFGR.

Each reference clock frequency requires a specific COMBOPHY register programming, detailed in the table below.

Table 165. COMBOPHY register programming - Reference clock

Reference clockTarget multiplierCOMBOPHY_REFCLKDIV2(1)COMBOPHY_MPLLMULTIPLIER[6:0](1)COMBOPHY_SSCREFCLKSEL[8:0](1)PROP_CNTRL[3:0](2)
20 MHz1250111 110100000 00001110
25 MHz1000110 010000000 00001110
100 MHz250001 100100000 00001000

1. This bitfield is in SYSCFG_COMBOPHYCR1 register.

2. This bitfield is in COMBOPHY_SUP_ANA_MPLL_LOOP_CTL register.

Table 166. COMBOPHY register programming - SSC control

PPM offsetSSCRANGE[2:0] in COMBOPHYCR1
-4980000
-4492001
-4003010

L1.1 substate support

To save power, the L1.1 substate is supported. It uses an external wire (PCIE_CLKREQ_N) shared by both ends of the PCIE link. The wire is pulled low by each end to signal that the common reference clock is required. The open-drain I/O for PCIE_CLKREQ_N includes a pull-up. Only one end of the link must enable this pull-up.

The COMBOPHY and PCIE coordinate the entry and exit from L1.1 with handshake signals (mac_phy_pclkreq_n, phy_mac_pclkack_n, phy_clk_req_n).

Extra logic is included to manage two cases:

The PCIE expects a low-speed clock (aux_clk) to be used in L1.1, because the main core_clk is off when the COMBOPHY stops the PLL. The COMBOPHY internal reference clock is used for aux_clk. The pm_sel_aux_clk signal controls a glitch-free clock mux to switch to the aux_clk. The glitch-free clock mux also provides an aux_clk_active acknowledgement to the controller.

21.4.19 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 167. Cortex-A35 subsystem clocks from RCC

RCC clock lineCA35SS instanceMax frequencyDescription
ck_cpu1_ext2fCRMR400 MHzDefault clock frequency for Cortex-A35 cores
ck_pll1_refPLL164 MHzReference clock for Cortex-A35 PLL1
ck_icn_m_cpu1AXI4 bridge600 MHzAXI4 clock for master side of asynchronous bridge
ck_icn_s_gic400GIC400400 MHzInterface clock for GIC400
ck_ker_stgenSTGEN64 MHzSTGEN timer clock
clk_icn_p_stgenSTGEN200 MHzSTGEN programming interface lock
ck_icn_p_gicv2mGICv2m200 MHzInterface clock for GICv2m
ck_icn_p_syscpu1SYSCFG200 MHzInterface 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:

The others have dynamic clock gating depending on the Cortex-A35 core power states.

Clock schematic

The figure below presents the clock tree of the CA35SS.

Figure 124. CA35SS clock tree

CA35SS clock tree diagram showing the flow of various clock signals from RCC to subsystems.

The diagram illustrates the clock tree for the CA35SS. It shows the following components and their connections:

MSv68367V1

CA35SS clock tree diagram showing the flow of various clock signals from RCC to subsystems.

The following clock sources can be selected by CA35SS registers to compute the dual Cortex-A35 clock, which is the main clock to the Arm cores and their caches:

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. 1. Clear CA35SS_SSC_PLL_ENABLE.NRESET_SWPLL.
  2. 2. Configure PLL parameters in CA35SS_SSC_PLL_FREQ1 and CA35SS_SSC_PLL_FREQ2.
  3. 3. Set CA35SS_SSC_PLL_ENABLE.PLL_EN.
  4. 4. Poll CA35SS_SSC_PLL_ENABLE.LOCKP until it is 1.
  5. 5. Set CA35SS_SSC__PLL_ENABLE.NRESET_SWPLL.
  6. 6. Clear CA35SS_SSC_CHGCLKREQ.ARM_CHGCLKREQ.
  7. 7. Poll CA35SS_SSC_CHGCLKREQ.ARM_CHGCLKACK until it is 0.

21.4.20 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 168. Camera subsystem external clocks

Subsystem clock signal nameCamera instanceClock signal nameClock directionRCC clock lineMax. frequencyDescription
ck_icn_m_dcmippDCMIPPaclk
clk_axi_csi
Inputck_icn_display400 MHzDCMIPP master port interconnect clock
ck_icn_p_dcmippDCMIPPpclkInputck_icn_apb4200 MHzDCMIPP peripheral port clock
ck_ker_dcmippDCMIPP
CSI (host)
clk_proc
clk_proc_csi
Inputck_ker_dcmipp333 MHzProcessing clock for Camera subsystem
ck_icn_p_csiCSI (host)pclkInputck_icn_apb4200 MHzCSI peripheral port clock
ck_ker_csiphyCSI (phy)i_cfg_clkInputck_ker_csiphy27 MHz-
ck_ker_csi_txescCSI (phy)i_TxClkEscInputck_ker_csitxesc20 MHz-
ck_icn_p_pssiDCMI/PSSIhclk_cciInputck_icn_ls_mcu200 MHzDCMI and PSSI peripheral port clock
Table 168. Camera subsystem external clocks (continued)
Subsystem clock signal nameCamera instanceClock signal nameClock directionRCC clock lineMax. frequencyDescription
pixck_pdck_cciDCMI/PSSI
DCMIPP
pixck_pdck_cci
clk_pix
InputNA80 MHzExternal
DCMI_PIXCLK
clock lane
cn_rx_dphyCSI (phy)io_CnInput/outputNA1250 MHzExternal CSI_CK_N
clock lane
(2500 Mbps/lane)
cp_rx_dphyCSI (phy)io_CpInput/outputNA1250 MHzExternal CSI_CK_P
clock lane
(2500 Mbps/lane)

The table below presents the list of the camera subsystem internal clocks.

Table 169. Camera subsystem internal clocks
Functional blockClock signal nameClock directionMax frequencyDescription
CSI (phy)o_RxByteClkHSOutput312.5 MHz-

Clocking schematic

The clocking tree for the camera part is depicted in the figure below.

Figure 125. Camera part clocking schematic

Figure 125. Camera part clocking schematic. The schematic illustrates clock routing among DCMI + PSSI, DCMIPP, and CSI (host) / CSI (phy) blocks with multiple input clock signals (ck_ker_csitxesc, ck_icn_p_pssi, ck_icn_p_csi, ck_icn_p_dcmipp, ck_icn_m_dcmipp, ck_ker_dcmipp, ck_ker_csiphy) and outputs (dcmi_pixclk / pssi_pdck / dcmipp_pixclk, cn_rx_dphy, cp_rx_dphy).
Figure 125. Camera part clocking schematic. The schematic illustrates clock routing among DCMI + PSSI, DCMIPP, and CSI (host) / CSI (phy) blocks with multiple input clock signals (ck_ker_csitxesc, ck_icn_p_pssi, ck_icn_p_csi, ck_icn_p_dcmipp, ck_icn_m_dcmipp, ck_ker_dcmipp, ck_ker_csiphy) and outputs (dcmi_pixclk / pssi_pdck / dcmipp_pixclk, cn_rx_dphy, cp_rx_dphy).

21.4.21 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 DSI interface uses a block (DPHY_PL_X4TX) which instantiates a PLL. According to the selected power mode (for some low-power consideration), the PLL can be switched off.

The LVDS interface uses a block (OLDI_DUAL_TX_4L) composed of two identical parts (one configured as master, the other as slave). In each of this part, a PLL is instantiated. For the master part, the PLL is used whereas for the slave part, the PLL is switched off. The master generates all the necessary system clocks which are needed to both master/slave parts.

The table below presents the list of display subsystem external clocks.

Table 170. Display subsystem external clocks

Subsystem clock signal nameFunctional blockClock signal nameClock directionRCC clock lineMax. frequencyDescription
ck_icn_m_ltdcLTDC
LTDC (rimu)
ltdc_aclk
ACLK
Inputck_icn_display400 MHzMaster port clock
ck_icn_p_ltdcLTDC
LTDC (risad)
pclk
PCLK
Inputck_icn_apb4200 MHzPeripheral clock
ck_ker_ltdcLTDC
DSI (host)
DSI (host)
pixel_clk
pixel_clk
lanebyteclk
Inputck_ker_ltdc314 MHzPixel clock
Pixel clock
LaneByte clock
ck_icn_s_ltdcsramLTDChclk_ramInputck_icn_hs_mcu400 MHzRotation RAM clock when shared by the device
LCD_CLKLTDCLCD_CLKOutputNA150 MHzExternal pixel interface clock

Table 170. Display subsystem external clocks (continued)

Subsystem clock signal nameFunctional blockClock signal nameClock directionRCC clock lineMax. frequencyDescription
ck_icn_p_dsiDSI (host)
DSI (risad)
pclk
PCLK
Inputck_icn_apb4200 MHzPeripheral clock
ck_ker_dsiphyDSI (phy)
DSI (phy)
i_clkext (a)
i_refclk (a)
Inputck_ker_dsiphy27 MHzConfig clock,
PLL reference clock
DSI_CK_NDSI (phy)o_CnOutputNA1250 MHzExternal clocklane
(2500 Mbps/lane)
DSI_CK_PDSI (phy)o_CpOutputNA1250 MHzExternal clocklane
(2500 Mbps/lane)
ck_icn_p_lvdsLVDS (host)pclkInputck_icn_apb4200 MHzPeripheral clock
ck_ker_lvdsphyLVDS (wrap)
LVDS (phy)
clk_pix (a)
pll_clkin_ref (a)
Inputck_ker_lvdsphy27 MHzConfig clock,
PLL reference clock
ck_hse_oscDSI (phy)
DSI (phy)
LVDS (wrap)
LVDS (phy)
i_clkext (b)
i_refclk (b)
clk_pix (b)
pll_clkin_ref (b)
InputNA20 MHzConfig clock,
PLL reference clock,
Config clock
PLL reference clock

The table presents the list of the display subsystem internal clocks.

Table 171. Display subsystem internal clocks

Functional blockClock signal nameClock directionMax. frequencyDescription
Mux4Ltdcclk_pix_ltdc-314 MHzTo LTDC.pixel_clk, to DSI(host).pixel_clk, and to LVDS(host).pixel_clk
Mux2Dsiclk_dsiphy-27 MHzTo DSI(phy).i_cfg_clk, and to DSI(phy).i_ref_clk
DSI (phy)o_TxByteClk-312.5 MHzTo PixelClockMux.b and to ByteLaneClockMux.a
o_RxClkEsc_lane0-20 MHzTo DSI(host).rxclkesc
DSI (host)txclkesc-20 MHzTo DSI(phy).i_Tx_ClkEsc
Mux2Lvdsclk_lvdsphy-27 MHzTo LVDS(phy).i_lvds_pll_clkin_ref
LVDS (phy-m)o_lvds_pll_dp_clk_out_mst-314 MHzMaster LVDS PHY DP clock, to MUX(clk_hs_lvds)
o_lvds_pll_dp_clk_out_slv-314 MHzSlave LVDS PHY DP clock, to MUX(clk_hs_lvds)
i_lvds_pll_ls_clk_in_sync_mst-157 MHzMaster LVDS PHY LS clock input
o i_lvds_gen_pix_clk.o_lvds_ls_clk
LVDS (phy-s)i_lvds_pll_ls_clk_in_sync_slv-157 MHzSlave LVDS PHY LS clock input
to i_lvds_gen_pix_clk.o_lvds_ls_clk

Table 171. Display subsystem internal clocks (continued)

Functional blockClock signal nameClock directionMax. frequencyDescription
LVDS (phy)clk_hs_lvds-314 MHzTo Div2Lvds, then to LVDS(phy) as clk_ls_lvds
to Mux2Lvds, then as clk_pix_ltdc
clk_ls_lvds-157 MHzTo LVDS(phy) as LS clocks
clk_pix_lvds-314 MHzTo Mux4Ltdc, then as clk_pix_ltdc
to LVDS(host).clk_pix

Clocking schematic

The clocking tree for the display subsystem (DSI and LVDS) is described in the figure below.

Figure 126. Display subsystem clocking schematic

Display subsystem clocking schematic diagram showing clock inputs (ck_testclk, ck_ker_dsiphy, ck_hse_osc, ck_ker_lvdsphy, ck_ker_ltdc, ck_icn_p_ltdc, ck_icn_m_ltdc, ck_icn_s_ltdcsram, ck_icn_p_dsi, ck_icn_p_lvds) multiplexing into RCC_DSICFGR, RCC_LVDSCFGR, LTDC, DSI (wrap and host), LVDS (host and wrap), and LVDS (phy), providing outputs like LCD_CLK, cn_tx_dphy, cp_tx_dphy, and test clock outputs.
Display subsystem clocking schematic diagram showing clock inputs (ck_testclk, ck_ker_dsiphy, ck_hse_osc, ck_ker_lvdsphy, ck_ker_ltdc, ck_icn_p_ltdc, ck_icn_m_ltdc, ck_icn_s_ltdcsram, ck_icn_p_dsi, ck_icn_p_lvds) multiplexing into RCC_DSICFGR, RCC_LVDSCFGR, LTDC, DSI (wrap and host), LVDS (host and wrap), and LVDS (phy), providing outputs like LCD_CLK, cn_tx_dphy, cp_tx_dphy, and test clock outputs.

Reset and clock control (RCC)

Details of display subsystem clocking

Two units of the display embeds a PLL: DPHY_PLL_X4TX and OLDI_DUAL_TX_4L.

The figure below shows the DPHY PLL connection inside DPHY_PLL_X4TX unit.

Figure 127. DPHY_PLL_X4TX details

Figure 127. DPHY_PLL_X4TX details block diagram

The diagram illustrates the DPHY_PLL_X4TX unit structure. External inputs on the left include i_ref_clk, i_cfg_clk, i_clkext, i_TxClkEsc, TxByteClkHS, tst_scanclk, and testclk. The internal PLL block takes clkin and clkext inputs, and outputs clkout_gp, clkout0, clkout90, clkout180, and clkout270. The clkout_gp output is routed to o_clkout_gp. The DPHY-TX sub-block receives cfg_clk (from i_cfg_clk), refclk and pll_refclk (from i_ref_clk), pll_clkout0/90/180/270 (from the PLL block), txclkesc (from i_TxClkEsc), txbyteclkhs (from TxByteClkHS), scanclk (from tst_scanclk), and testclk (from testclk). DPHY-TX generates outputs clkn (routed to o_Cn), clkp (routed to o_Cp), txbyteclksrc (routed to o_TxByteClk), and rxclkesc_0 (routed to o_RxClkEsc_lane0).

Figure 127. DPHY_PLL_X4TX details block diagram

Table 172. DPHY_PLL_X4TX internal clocks

Functional blockClock signal nameClock directionMax frequencyDescription
PLLclkout0
clkout90
clkout180
clkout270
Output1250 MHzFour phases for the PLL output clock
clkout_gp625 MHzGeneral purpose clock whose frequency is half of FVCO

1050/5881 RM0457 Rev 5

The figure below shows the LVDS PLL connections inside the OLDI unit.

Figure 128. Open LVDS display interface (OLDI) clock details

Block diagram of the OLDI PLL clock details. The diagram shows an OLDI PLL block containing Ndiv, PFD+CP, LPF, VCO, and a Multi-phase feedback div. The input i_lvds_pll_clk_in_ref is connected to the Ndiv. The output of the VCO goes to a multiplexer controlled by i_lvds_pll_clk_bypass_2g2, which also takes o_lvds_pll_test_clk as input. The multiplexer output goes to a BIT div, which produces o_pll_bit_clk_out and o_pll_bit_clk_out_sync. The BIT div output also goes to a DP div, producing o_pll_dp_clk_out. The DP div output goes to an LS div, producing o_pll_ls_clk_out. The LS div output goes to a multiplexer controlled by i_lvds_pll_ls_clk_in_sync and i_lvds_pll_ls_clk_dft. The output of this multiplexer is o_pll_ls_clk_out. The output of the VCO also goes to a feedback path through a multiplexer controlled by o_lvds_pll_fb_clk, which feeds back to the PFD+CP. The output of the feedback path is o_lvds_pll_hs_clk_2g2.
Block diagram of the OLDI PLL clock details. The diagram shows an OLDI PLL block containing Ndiv, PFD+CP, LPF, VCO, and a Multi-phase feedback div. The input i_lvds_pll_clk_in_ref is connected to the Ndiv. The output of the VCO goes to a multiplexer controlled by i_lvds_pll_clk_bypass_2g2, which also takes o_lvds_pll_test_clk as input. The multiplexer output goes to a BIT div, which produces o_pll_bit_clk_out and o_pll_bit_clk_out_sync. The BIT div output also goes to a DP div, producing o_pll_dp_clk_out. The DP div output goes to an LS div, producing o_pll_ls_clk_out. The LS div output goes to a multiplexer controlled by i_lvds_pll_ls_clk_in_sync and i_lvds_pll_ls_clk_dft. The output of this multiplexer is o_pll_ls_clk_out. The output of the VCO also goes to a feedback path through a multiplexer controlled by o_lvds_pll_fb_clk, which feeds back to the PFD+CP. The output of the feedback path is o_lvds_pll_hs_clk_2g2.

MSv68372V1

For STM32MP23/25xx devices, two OLDI units are required: one master where the PLL is controlled by registers detailed in Section 54.6: LVDS PHY and LVDS Wrapper register, and one slave where the PLL is never used (except for debug purpose). Generated clocks (bit_clk, dp_clk and ls_clk) of the master unit can be used in the slave unit.

The figure below shows the connections between the master and slave units. Each of the master and slave generated clocks have its own enable control mapped to registers (ls_clk_out_mst_enable, ls_clk_out_slv_enable, dp_clk_out_mst_enable, dp_clk_out_slv_enable, bit_clk_out_mst_enable, bit_clk_out_slv_enable).

Figure 129. OLDI_DUAL_TX_4L details

Block diagram of the OLDI_DUAL_TX_4L details showing connections between an OLDI MST (Master) and an OLDI SLV (Slave). The OLDI MST contains the PLL and generates clocks: o_lvds_pll_test_clk, o_pll_bit_clk_out, o_pll_bit_clk_out_sync, o_pll_dp_clk_out, and o_pll_ls_clk_out. The OLDI SLV contains the same clock generation logic but does not use the PLL. The connections between the units are: i_lvds_pll_clk_in_ref (MST to SLV), o_lvds_pll_test_clk (MST to SLV), o_pll_bit_clk_out (MST to SLV), o_pll_bit_clk_out_sync (MST to SLV), o_pll_dp_clk_out (MST to SLV), and o_pll_ls_clk_out (MST to SLV). The SLV also has its own inputs for i_lvds_pll_clk_in_ref, o_lvds_pll_test_clk, o_pll_bit_clk_out, o_pll_bit_clk_out_sync, o_pll_dp_clk_out, and o_pll_ls_clk_out. The SLV also has its own outputs for o_lvds_pll_test_clk_slv, o_pll_bit_clk_out_slv, o_pll_bit_clk_out_sync_slv, o_pll_dp_clk_out_slv, and o_pll_ls_clk_out_slv. The connections between the units are labeled with enable signals: o_lvds_pll_test_clk_mst, o_pll_bit_clk_out_mst, o_pll_bit_clk_out_sync_mst, o_pll_dp_clk_out_mst, o_pll_ls_clk_out_mst, o_lvds_pll_test_clk_slv, o_pll_bit_clk_out_slv, o_pll_bit_clk_out_sync_slv, o_pll_dp_clk_out_slv, and o_pll_ls_clk_out_slv.
Block diagram of the OLDI_DUAL_TX_4L details showing connections between an OLDI MST (Master) and an OLDI SLV (Slave). The OLDI MST contains the PLL and generates clocks: o_lvds_pll_test_clk, o_pll_bit_clk_out, o_pll_bit_clk_out_sync, o_pll_dp_clk_out, and o_pll_ls_clk_out. The OLDI SLV contains the same clock generation logic but does not use the PLL. The connections between the units are: i_lvds_pll_clk_in_ref (MST to SLV), o_lvds_pll_test_clk (MST to SLV), o_pll_bit_clk_out (MST to SLV), o_pll_bit_clk_out_sync (MST to SLV), o_pll_dp_clk_out (MST to SLV), and o_pll_ls_clk_out (MST to SLV). The SLV also has its own inputs for i_lvds_pll_clk_in_ref, o_lvds_pll_test_clk, o_pll_bit_clk_out, o_pll_bit_clk_out_sync, o_pll_dp_clk_out, and o_pll_ls_clk_out. The SLV also has its own outputs for o_lvds_pll_test_clk_slv, o_pll_bit_clk_out_slv, o_pll_bit_clk_out_sync_slv, o_pll_dp_clk_out_slv, and o_pll_ls_clk_out_slv. The connections between the units are labeled with enable signals: o_lvds_pll_test_clk_mst, o_pll_bit_clk_out_mst, o_pll_bit_clk_out_sync_mst, o_pll_dp_clk_out_mst, o_pll_ls_clk_out_mst, o_lvds_pll_test_clk_slv, o_pll_bit_clk_out_slv, o_pll_bit_clk_out_sync_slv, o_pll_dp_clk_out_slv, and o_pll_ls_clk_out_slv.

MSv68371V1

21.4.22 VENC and VDEC video subsystem clocking

The video subsystem contains a video encoder (VENC), a video decoder (VDEC), and a slave memory controller (VDERAM). When both the encoder and decoder are disabled, their memory can be accessed via the VDERAM AXI slave memory controller.

The VENC requires the following clocks to run:

Note: ck_icn_vid, that is not part of the subsystem, is also required to clock the AXI interconnect leading to the VENC.

The VDEC requires the following clocks to run:

Note: ck_icn_vid, that is not part of the subsystem, is also required to clock the AXI interconnect leading to the VDEC.

The VDERAM AXI slave memory controller requires the following clock to run:

The table below lists the five mentioned clocks and their characteristics

Table 173. VENC and VDEC subsystem clocks

Subsystem clock signal nameFunctional blockClock signal nameClock directionRCC clock lineMax frequencyDescription
ck_icn_m_vencVENCaclkInputck_icn_m_venc600 MHzAXI master and core clock
ck_icn_p_vencVENCpclkck_icn_p_venc200 MHzExternal peripheral slave clock
-VENCvenc_aclk_div4NA150 MHzInternal peripheral slave clock
ck_icn_m_vdecVDECaclkck_icn_m_vdec600 MHzAXI master and core clock
ck_icn_p_vdecVDECpclkck_icn_p_vdec200 MHzExternal peripheral slave clock
-VDECvdec_aclk_div4NA150 MHzInternal peripheral slave clock
ck_icn_s_vderamVDERAM AXI bus (AXI slave)aclkck_icn_s_vderam400 MHzAsynchronous versus anything

Clocking schematic

The clocking tree for the VENC and VDEC subsystems is depicted in the figure below.

Figure 130. VENC and VDEC clocking schematic

Block diagram showing the VENC and VDEC clocking schematic inside the VENC VDEC subsystem, with inputs ck_icn_m_vdec, ck_icn_p_vdec, ck_icn_m_venc, ck_icn_p_venc, ck_icn_s_vderam, and g1h1_sram_enable connected to dividers, APB-to-APB bridges, VDEC, VENC, VDERAM (AXI-Slave), G1 / H1 SRAM MUX, G1H1 / AXI, and Shared RAMs (sram-0 to sram-31).

MSv68384V3

Block diagram showing the VENC and VDEC clocking schematic inside the VENC VDEC subsystem, with inputs ck_icn_m_vdec, ck_icn_p_vdec, ck_icn_m_venc, ck_icn_p_venc, ck_icn_s_vderam, and g1h1_sram_enable connected to dividers, APB-to-APB bridges, VDEC, VENC, VDERAM (AXI-Slave), G1 / H1 SRAM MUX, G1H1 / AXI, and Shared RAMs (sram-0 to sram-31).

21.4.23 GPU and NPU subsystem clocking

The GPU and NPU subsystems contain the grouped logic of the graphic and neural hardware accelerators. The GPU and NPU hardware accelerators require the following clocks to run:

Note: ck_icn_ddr, that is not part of the subsystem, is also required to clock the AXI interconnect leading to the GPU and NPU.

The table below lists the five mentioned clocks and their characteristics.

Table 174. GPU and NPU subsystem clocks

Subsystem clock signal nameFunctional blockClock signal nameClock directionRCC clock lineMax frequencyDescription
ck_icn_ddrGPUck_icn_ddrInputck_icn_ddr600 MHzExternal AXI master clock
ck_icn_m_gpuGPUck_icn_m_gpuInputck_icn_m_gpu600 MHzInternal AXI master clock

Table 174. GPU and NPU subsystem clocks (continued)

Subsystem clock signal nameFunctional blockClock signal nameClock directionRCC clock lineMax frequencyDescription
ck_icn_p_gpuGPUck_icn_p_gpuInputck_icn_p_gpu200 MHzExternal peripheral slave clock
-GPUck_icn_p_gpu_invInput-200 MHzInternal peripheral slave clock
ck_pll3_refGPUck_gpuss_pll3_frefInputck_pll3_ref64 MHzPLL3 reference clock
-GPUck_ker_gpuInput-_(1)Internal GPU NPU core clock

1. Refer to the datasheet.

Clocking schematic

The clocking tree for the GPU and NPU subsystem is depicted in the figure below.

Figure 131. GPU and NPU subsystem clocking schematic

GPU and NPU subsystem clocking schematic diagram

The diagram illustrates the clocking architecture for the GPU and NPU subsystem. It shows the following components and connections:

The diagram is labeled with the reference MSv69041V1 in the bottom right corner.

GPU and NPU subsystem clocking schematic diagram

21.4.24 USB clocking

USB2 host port - clocking schematic

Figure 132. USB2 host port clocking Figure 132. USB2 host port clocking schematic showing RCC, USB2PHY1, and USBH block connections with clock gates, multiplexers, and dividers.

Notes:
1. 000: 19.2 MHz, 001: 20 MHz, 010: 24MHz.
2. 0: USB2PHY PLL remains powered even in suspend or Sleep mode. 1: USB2PHY PLL is powered down in suspend or Sleep mode.
3: chci_0_pll_clock_0 is generated from the USBH bitstream.
4: 19.2, 20, or 24 MHz (functional). 50 MHz (test).

MSv70425V4

Figure 132. USB2 host port clocking schematic showing RCC, USB2PHY1, and USBH block connections with clock gates, multiplexers, and dividers.

The USBH controller receives AHB clocks from the RCC, and processes clocks from USB2PHY1.

Table 175. USB2 host port clocks from RCC and oscillator
Subsystem clock signal nameFunctional blockClock signal nameClock directionRCC clock lineMax frequencyDescription
clk_usb2_ehci_hclkUSBHehci_hclk_iInputck_icn_m_usb2ehci300 MHzEHCI AHB clock
clk_usb2_ohci_hclkUSBHohci_hclk_iInputck_icn_m_usb2ohci300 MHzOHCI AHB clock
rcc_ck_ker_usb2phy1USB2PHY1CLKCOREInputck_ker_usb2phy124 MHzOne of the possible sources of USB2PHY1 refer. clock
hse_div2_ckUSB2PHY1CLKCOREInputhse_div2_ck19.2, 20 or 24 MHzClock from HSE oscillator: one of the possible sources of USB2PHY1 reference clock

Table 176. USB2 host port clocks from USB2PHY1

Functional blockClock signal nameClock directionMax frequencyDescription
USB2PHY1CLK12MOHCIOutput12 MHz12 MHz reference clock for OHCI controller
USB2PHY1CLK48MOHCIOutput48 MHz48 MHz reference clock for EHCI controller
USB2PHY1PHYCLOCK0Output60 MHzUTMI+ clock

Details of USB2 host port clocking

The USB2PHY1 PHY receives its reference clock from the RCC or directly from the HSE. This is controlled by USB2PHY1CKREFSEL in RCC_USB2PHY1CFGR. If the USB2PHY1 reference clock is received from the RCC, it can be sourced from the HSE, or regenerated by one of the PLLs and dividers located in the RCC.

The USB2PHY1 reference clock frequency can be selected among 19.2, 20 or 24 MHz (50 MHz is reserved for test purpose). This selection is controlled by USB2PHY1SEL[2:0] in SYSCFG_USB2PHY1CR. These bits must be set to the desired value before USB2PHY1 reset is released.

The clocks provided by USB2PHY1 to the USBH controller are divisions of a 480 MHz clock, that is generated by a PLL inside the PHY (fixed frequency PLL which cannot be programmed).

The USB2PHY1 PLL can be powered down during Suspend and Sleep modes. This is controlled by USB2PHY1CMN in SYSCFG_USB2PHY1CR.

The clocks provided by the RCC are controlled by enable bits in RCC_USBHCFGR and RCC_USB2PHY1CFGR.

USB3 DRD port - Clocking schematic

Figure 133. USB3 DRD port clocking

USB3 DRD port clocking diagram showing clock inputs, internal dividers, PLL, and outputs to USB3DR
USB3 DRD port clocking diagram showing clock inputs, internal dividers, PLL, and outputs to USB3DR

MSv70426V2

The USB3 DRD controller receives clocks from the RCC, from USB2PHY2 and from the USB3 PCIE COMBOPHY.

Table 177. USB3 DRD port clocks from RCC and oscillator

Subsystem clock signal nameFunctional blockClock signal nameClock directionRCC clock lineMax frequencyDescription
rcc_ck_icn_m_usb3drUSB3DRbus_clk_earlyInputck_icn_m_usb3dr300 MHzAXI and AHB clock
clk_ker_usb2phy2USB2PHY2,
USB3DR
USB2PHY2: CLKCORE
USB3DR: suspend_clk,
ref_clk
Inputck_ker_usb2phy219.2, 20,
or 24 MHz
One of the possible sources of USB2PHY2 reference clock, also used as suspend and reference clock by USB3 DRD
Table 177. USB3 DRD port clocks from RCC and oscillator (continued)
Subsystem clock signal nameFunctional blockClock signal nameClock directionRCC clock lineMax frequencyDescription
rcc_ck_ker_usb3pcie2phyCOMBOPHYref_alt_clk_pInputck_ker_usb3pciephy19.2, 20, or 24 MHzone of the possible sources of USB3 PCIE COMBOPHY reference clock
rcc_ck_icn_p_usb3pcie2phyCOMBOPHYapb_clkInputck_icn_p_usb3pciephy200 MHzAPB clock of USB3 PCIE COMBOPHY
hse_div2_ckUSB2PHY2, COMBOPHYUSB2PHY2: CLKCORE, USB3 PCIE COMBOPHY: ref_alt_clk_pInputhse_div2_ck19.2, 20, or 24 MHzClock from HSE: one of the possible sources of USB2PHY2 reference clock, one of the possible sources of USB3 PCIE COMBOPHY reference clock
Table 178. USB3 DRD port clocks from USB2PHY2 and USB3 PCIE COMBOPHY
Functional blockClock signal nameClock directionMax frequencyDescription
USB2PHY2FREECLKOutput30 or 60 MHzutmi_clk, pipe3_rx_pclk and pipe3_tx_pclk of USB3 DRD. The frequency depends on the PHY operation mode: in 8-bit (60 MHz) or 16-bit (30 MHz).
COMBOPHYpipe0_pclkOutput250 MHzRx and Tx PIPE clocks of USB3 DRD

Details of the USB3 DRD port clocking

The USB2PHY2 receives its reference clock either from the RCC or directly from the HSE. This is controlled by USB2PHY2CKREFSEL in RCC_USB2PHY2CFGR. The direct path from HSE is optimized for jitter. If the USB2PHY2 reference clock is received from the RCC, it can be sourced from the HSE, or regenerated by one of the PLLs and dividers located in the RCC.

The USB2PHY2 reference clock frequency can be selected among 19.2, 20 or 24 MHz (50 MHz is reserved for test purpose). This selection is controlled by USB2PHY2SEL[2:0] in SYSCFG_USB2PHY2CR. These bits must be set to the desired value before USB2PHY2 reset is released.

The UTMI + clock provided by USB2PHY2 to the USB3 DRD is a division of a 480 MHz clock, that is generated by a PLL inside the PHY (fixed frequency PLL which cannot be programmed). The FREECLK frequency depends on the UTMI+ bus data width between USB2PHY2, and the USB3 DRD: 30 MHz for a 16-bit width, 60 MHz for an 8-bit width. This is controlled by PHYF in USB3DR_GBL_GUSB2PHYCFG.

The USB2PHY2 PLL can be powered down during Suspend and Sleep modes. This is controlled by USB2PHY2CMN in SYSCFG_USB2PHY2CR.

When used in USB3 mode, the USB3 PCIE COMBOPHY receives its reference clock through ref_alt_clk_p signal from the RCC, or directly from the HSE.

This requires COMBOPHY_REFUSEPAD to be cleared to 0 in SYSCFG_COMBOPHYCR1, and to select the desired source with USB3PCIEPHYCKREFSEL in RCC_USB3PCIEPHYCFGR. The direct path from HSE is optimized for jitter. If the reference clock is received from the RCC, it can be sourced from the HSE, or regenerated by one of the PLLs and dividers located in the RCC.

Note: Another reference clock path exists for the USB3 PCIE COMBOPHY through ref_pad_clk_p signal. This path is typically used in PCIE mode with an external 100 MHz clock and requires to set to 1 COMBOPHY_REFUSEPAD in SYSCFG_COMBOPHYCR1.

There is an internal reference clock buffer in USB3 PCIE COMBOPHY. This clock buffer must be enabled for the reference clock to propagate inside the PHY. This is controlled by COMBOPHY_REFSSPEN in SYSCFG_COMBOPHYCR1.

The USB3 PCIE COMBOPHY reference clock frequency can be selected among 19.2, 20, or 24 MHz. The control bits of the COMBOPHY PLL must be defined accordingly in order to generate an internal 2.5 GHz clock. This is described in the table below.

Table 179. USB3 PCIE COMBOPHY PLL control bits according to reference clock frequency

Reference clockRequired multiplicationCOMBOPHY_REFCLKDIV2(1)COMBOPHY_MPLLMULTIPLIER[6:0](1)COMBOPHY_SSCREFCLKSEL[8:0](1)
19.2 MHz13000000010100001000
20 MHz12501111101000000000
24 MHz10401101000100001000

1. This bitfield is in SYSCFG_COMBOPHYCR1 register.

The PLL inside the USB3 PCIE COMBOPHY can generate spread-spectrum clocks. This feature must be enabled when operating in USB3 mode. This is controlled by COMBOPHY_SSCEN in SYSCFG_COMBOPHYCR1. The spread-spectrum modulation range is controlled by COMBOPHY_SSCRANGE in SYSCFG_COMBOPHYCR1. Allowed values for USB3 are described in the table below.

Table 180. Spread-spectrum range

COMBOPHY_SSCRANGE[2:0] in SYSCFG_COMBOPHYCR1PPM offset
000-4980
001-4492
010-4003

The USB3 PCIE COMBOPHY provides one RX and one TX pipe clocks to the USB3 DRD. These clocks operate at 250 MHz which corresponds to a 16-bit bus data width between the COMBOPHY and the USB3 DRD. This bus width is defined by PIPE in GUSB3PIPECTL0.

When the USB3 DRD operates in USB2-only mode, either USB3DR_USB2ONLYH or USB3DR_USB2ONLYD must be set to 1 in SYSCFG_USB3DRCR, depending on whether USB3DR is Host or Device. This allows pipe3_tx_pclk and pipe3_rx_pclk clock inputs of USB3DR to be driven by the FREECLK clock from USB2PHY2.

The clocks provided by the RCC are controlled by enable bits in RCC_USB3DRCFGR, RCC_USB2PHY2CFGR and RCC_USB3PCIEPHYCFGR.

USB Type-C and power delivery interface (UCPD) - Clocking schematic

Figure 134. USB Type-C and power delivery clocking

Figure 134. USB Type-C and power delivery clocking schematic. The diagram shows the RCC block on the left and the UCPD block on the right. Inside the RCC block, there are two clock generation paths. The top path takes 'ck_ker_usbtc (64 MHz)' and 'UCPDEN/UCPDLPEN' signals through a CGL block and an AND gate to produce 'clk_usbpdclock'. The bottom path takes 'ck_icn_p_usbtc (200 MHz)' and 'UCPDEN/UCPDLPEN' signals through a CGL block and an AND gate to produce 'clk_usbpdclock'. The UCPD block receives 'clk_usbpdclock' as 'usbpdclock' and 'clkreq' as 'clkreq'. The UCPD block also outputs 'clkreq' back to the RCC block. The UCPD block is labeled 'MSv69042V2'.
Figure 134. USB Type-C and power delivery clocking schematic. The diagram shows the RCC block on the left and the UCPD block on the right. Inside the RCC block, there are two clock generation paths. The top path takes 'ck_ker_usbtc (64 MHz)' and 'UCPDEN/UCPDLPEN' signals through a CGL block and an AND gate to produce 'clk_usbpdclock'. The bottom path takes 'ck_icn_p_usbtc (200 MHz)' and 'UCPDEN/UCPDLPEN' signals through a CGL block and an AND gate to produce 'clk_usbpdclock'. The UCPD block receives 'clk_usbpdclock' as 'usbpdclock' and 'clkreq' as 'clkreq'. The UCPD block also outputs 'clkreq' back to the RCC block. The UCPD block is labeled 'MSv69042V2'.

The UCPD receives clocks from the RCC.

Table 181. UCPD clocks from RCC

Subsystem clock signal nameFunctional blockClock signal nameClock directionRCC clock lineMax frequencyDescription
clk_usbpdclockUCPDusbpdclockInputck_ker_usbtc64 MHzUCPD kernel clock
clk_usbpdclockpclkInputck_icn_p_usbtc200 MHzUCPD APB clock

Details of UCPD clocking

The UCPD provides a request signal (clkreq) to drive the generation of its kernel clock. This signal is used when the system is in Stop mode, and an event on the CC lines is detected asynchronously by the UCPD. After clkreq is asserted and the RCC has enabled ck_ker_usbtc, the UCPD generates an event (IrqAsyn) towards the EXTI that wakes up the system from Stop mode. The APB clock clk_usbpdclock resumes.

21.5 RCC interrupts

The RCC provides two independent interrupt interfaces, and an interrupt line for HSI frequency monitoring:

Each interrupt interface provides two interrupt lines:

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.

Figure 135. Interrupt block diagram

A detailed block diagram of the Reset and Clock Control (RCC) interrupt logic. The diagram shows a central 'RCC' block containing 16 pairs of edge detectors for various events: LSIRDY, LSERDY, MSIRDY, HSIRDY, HSERDY, PLL1RDY, PLL2RDY, PLL3RDY, PLL4RDY, PLL5RDY, PLL6RDY, PLL7RDY, PLL8RDY, LSECSSF, and ISE_FAILURE. Each pair consists of a rising edge detector (e.g., LSIRDYF) and a falling edge detector (e.g., LSIRDYIE). These detectors are connected to a central bus system with 'read' and 'write' lines. At the bottom, there are two wakeup event detectors for 'cpu2_wakeup_event' and 'cpu1_wakeup_event', each with a rising edge detector (WKUPF) and a level detector (WKUPIE). The outputs of the edge detectors are grouped into two OR gates, one for 'rcc_cpu2_it' and one for 'rcc_cpu1_it'. Control registers 'RCC_C2CIESETR', 'RCC_C2CIFCLRR', 'RCC_C1CIESETR', and 'RCC_C1CIFCLRR' are shown at the bottom, with 'clear' signals connected to the edge detectors. The diagram is labeled 'MSv66574V2' in the bottom right corner.
A detailed block diagram of the Reset and Clock Control (RCC) interrupt logic. The diagram shows a central 'RCC' block containing 16 pairs of edge detectors for various events: LSIRDY, LSERDY, MSIRDY, HSIRDY, HSERDY, PLL1RDY, PLL2RDY, PLL3RDY, PLL4RDY, PLL5RDY, PLL6RDY, PLL7RDY, PLL8RDY, LSECSSF, and ISE_FAILURE. Each pair consists of a rising edge detector (e.g., LSIRDYF) and a falling edge detector (e.g., LSIRDYIE). These detectors are connected to a central bus system with 'read' and 'write' lines. At the bottom, there are two wakeup event detectors for 'cpu2_wakeup_event' and 'cpu1_wakeup_event', each with a rising edge detector (WKUPF) and a level detector (WKUPIE). The outputs of the edge detectors are grouped into two OR gates, one for 'rcc_cpu2_it' and one for 'rcc_cpu1_it'. Control registers 'RCC_C2CIESETR', 'RCC_C2CIFCLRR', 'RCC_C1CIESETR', and 'RCC_C1CIFCLRR' are shown at the bottom, with 'clear' signals connected to the edge detectors. The diagram is labeled 'MSv66574V2' in the bottom right corner.

See Section 21.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 182. Interrupt sources and control

Interrupt event flagDescriptionInterrupt enableAction to clear the interrupt(1)Interrupt lines
LSIRDYFLSI readyLSIRDYIESet LSIRDYF to 1.rcc_cpu1_it, rcc_cpu2_it
LSERDYFLSE readyLSERDYIESet LSERDYF to 1.
HSIDRYFHSI readyHSIDRYIESet HSIRDYF to 1.
HSERDYFHSE readyHSERDYIESet HSERDYF to 1.
MSIRDYFMSI readyMSIRDYIESet MSIRDYF to 1.
PLL1RDYFPLL1 readyPLL1RDYIESet PLL1RDYF to 1.
PLL2RDYFPLL2 readyPLL2RDYIESet PLL2RDYF to 1.
PLL3RDYFPLL3 readyPLL3RDYIESet PLL3RDYF to 1.
PLL4RDYFPLL4 readyPLL4RDYIESet PLL4RDYF to 1.
PLL5RDYFPLL5 readyPLL5RDYIESet PLL5RDYF to 1.
PLL6RDYFPLL6 readyPLL6RDYIESet PLL6RDYF to 1.
PLL7RDYFPLL7 readyPLL7RDYIESet PLL7RDYF to 1.
PLL8RDYFPLL8 readyPLL8RDYIESet PLL8RDYF to 1.
LSECSSFLSE CSS failureLSECSSIE (2)Set LSECSSF to 1.
WKUPFWake-up from CStop eventWKUPIESet WKUPF to 1.rcc_cpu1_wkup_it,
rcc_cpu2_wkup_it
HSIMONFHSI frequency monitor flag(3)HSIMONIE(4)Set HSIMONF to 1.rcc_hsifmon_it,
rcc_cpu1_hsifmon_it,
rcc_cpu2_hsifmon_it
  1. 1. In RCC_CxCIFCLRR registers.
  2. 2. The security system feature must also be enabled (LSECSSON = 1) in order to generate interrupts.
  3. 3. Refer to Section 21.6.3 for details.
  4. 4. In RCC_HSIFMONCR register.

21.6 RCC application information

21.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. 1. Set FCALCRSTN in RCC_FCALCOBS1CFGR to enable the clock frequency calculator.
  2. 2. Set CKINTSEL (or CKEXTSEL if FCALCCKEXTSEL = 1) in RCC_FCALCOBS0CFGR to select the clock frequency calculator input clock (ckin).
  1. 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. 1. Set FCALCREFCKSEL in RCC_FCALCREFCFGR to select the reference clock (ckref).

3rd step - Run the clock frequency calculation as follows:

  1. 1. Set FCALCTYP = 0x0C in RCC_FCALCCR2 to select the frequency value type.
  2. 2. Select the application mode with FCALCMD in RCC_FCALCCR2.
  3. 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:
    1. a) Set FCALCTWC biggest value.
    2. b) Set FCALCRUN in RCC_FCALCCR1.
    3. c) Poll RCC_FCALCSR until the calculation is valid (FCALCSTS = 1 and FVAL[15:0] ≠ 0)
    4. d) Reset FCALCRUN in RCC_FCALCCR1.
    5. e) Check FVAL[16]. If FVAL[16] = 0, exit the loop (FVAL[15:0] is the optimal calculated value). Otherwise continue.
    6. f) Reset FCALCRSTN in RCC_FCALCOBS1CFGR.
    7. g) Poll RCC_FCALCSR until it is cleared.
    8. h) Set FCALCRSTN in RCC_FCALCOBS1CFGR before trying next FCALCTWC value.

Last step - Calculate \(F_{ckin}\) clock frequency as follows:

\[TWVAL = ((2^{(FCALCTWC + 1)} + 5) \times CKREFPER\]

with FCALCTWC > 0, and CKREFPER = reference clock period

\[F_{ckin} = \frac{1}{TWVAL / (FVAL - 16)}\]

with \(F_{ckin}\) = frequency input clock, TWVAL = clock frequency time window value, and FVAL[15:0] = decimal value

21.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 21.6.1: Clock frequency calculation.

21.6.3 Clock monitoring

Monitoring HSI with LSE

The purpose is to assist the software calibration procedure when the HSI 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 is used. When enabled, the number of HSI 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 or rcc_cpu1_hsifmon_it), or a wake-up event (rcc_hsifmon_it) is triggered to allow the application to trim the HSI source accordingly.

HSI monitoring control is based on RCC_HSIFMONCR and RCC_HSIFVALR. The following steps can be used to enable monitoring:

  1. 1. Enable LSE signal:
    1. a) Write 1 to DB3D3P in PWR_BDCR1.
    2. b) Write 1 to in LSEON in RCC_BDCR.
    3. c) Wait for LSERDY = 1 in RCC_BDCR.
    4. d) Write 0 to DB3D3P in PWR_BDCR1.
  2. 2. Setup HSI clock period monitoring:
    1. 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).
    2. 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).
    3. c) Write 1 to HSIMONIE in RCC_HSIFMONCR to enable interrupt for application.
    4. d) Write 1 in HSIMONEN in RCC_HSIFMONCR to start monitoring.

The interrupt occurs when the below condition is met:

\[HSIREF + HSIDEV < HSIVAL < HSIREF - HSIDEV\]

21.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 6.2: Resource isolation framework (RIF)):

There are four possible profiles for any resource:

21.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:

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 183 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 6.2: 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 6.2: 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):

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 6.2: 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 136. RCC RIF description

Block diagram of the Reset and Clock Control (RCC) RIF description showing RIF CTRL, RCC block with RCC RIF filter and RCC resources, AHB interface, peripheral RIF configurations (tim1rifcfg, tim2rifcfg, i3c3rifcfg, i3c4rifcfg, rcc_r0..r113), ddrssrifcfg, and RISUP output connections (RISUP_TIM1, RISUP_TIM2, RISUP_I3C3, RISUP_I3C4, RISUP_DDRCFG, RISUP_DDRC, 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

MSv66567V1

Block diagram of the Reset and Clock Control (RCC) RIF description showing RIF CTRL, RCC block with RCC RIF filter and RCC resources, AHB interface, peripheral RIF configurations (tim1rifcfg, tim2rifcfg, i3c3rifcfg, i3c4rifcfg, rcc_r0..r113), ddrssrifcfg, and RISUP output connections (RISUP_TIM1, RISUP_TIM2, RISUP_I3C3, RISUP_I3C4, RISUP_DDRCFG, RISUP_DDRC, RISUP_DDRPHYC).

21.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 9: 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 183 gives the RIF local resource allocation for all RCC registers:

For example, following steps are needed to set the RIF configuration of the RCC RIF resource number 64:

  1. 1. A trusted domain agent (with secure, privileged, and TDCID) must program RCC_R64CIDCFGR.
  2. 2. A secure agent can set the secure attribute (RCC_SECCFGR2[0] = 1).
  3. 3. A privileged agent can set the privileged attribute (RCC_PRIVCFGR2[0] = 1).
  4. 4. A secure and privileged agent can lock the RIF configuration (RCC_RCFGLOCKR2[0] = 1).

Table 183. RCC register allocation to RIF resource and access conditions

Register nameRCC RIF resource numberRIF resource configurationAccess type(1)Description
RCC_R0CIDCFGR0Secure, privileged and TDCID/DDCIDRWResource 0 CID filtering control
RCC_R0SEMCRRCC_SECCFGR0[0]
RCC_PRIVCFGR0[0]
RCC_RCFGLOCKR0[0]
RCC_R0CIDCFGR
RCC_R0SEMCR
RCC_XBAR0CFGRFlexclkgen xbar channel 0
RCC_PREDIV0CFGRFlexclkgen prediv channel 0
RCC_FINDIV0CFGRFlexclkgen findiv channel 0
RCC_R1CIDCFGR1Secure, Privileged and TDCID/DDCIDResource 1 CID filtering control
RCC_R1SEMCRRCC_SECCFGR0[1]
RCC_PRIVCFGR0[1]
RCC_RCFGLOCKR0[1]
RCC_R1CIDCFGR
RCC_R1SEMCR
RCC_XBAR1CFGRFlexclkgen xbar channel 1
RCC_PREDIV1CFGRFlexclkgen prediv channel 1
RCC_FINDIV1CFGRFlexclkgen findiv channel 1
...

Table 183. RCC register allocation to RIF resource and access conditions (continued)

Register nameRCC RIF resource numberRIF resource configurationAccess type(1)Description
RCC_R63CIDCFGR63Secure, privileged and TDCID/DDCIDRWResource 63 CID filtering control
RCC_R63SEMCRRCC_SECCFGR1[31]
RCC_PRIVCFGR1[31]
RCC_RCFGLOCKR1[31]
RCC_R63CIDCFGR
RCC_R63SEMCR
Flexclkgen xbar channel 63
RCC_XBAR63CFGRFlexclkgen prediv channel 63
RCC_PREDIV63CFGRFlexclkgen findiv channel 63
RCC_FINDIV63CFGR
RCC_R64CIDCFGR64Secure, privileged and TDCID/DDCIDResource 64 CID filtering control
RCC_R64SEMCRRCC_SECCFGR2[0]
RCC_PRIVCFGR2[0]
RCC_RCFGLOCKR2[0]
RCC_R64CIDCFGR
RCC_R64SEMCR
Flexclkgen reference selection
RCC_MUXSELCFGRFlexclkgen PLL4 config (x = 1 to 7)
RCC_PLL4CFGRxFlexclkgen PLL5 config (x = 1 to 7)
RCC_PLL5CFGRxFlexclkgen PLL6 config (x = 1 to 7)
RCC_PLL6CFGRxFlexclkgen PLL7 config (x = 1 to 7)
RCC_PLL7CFGRxFlexclkgen PLL8 config (x = 1 to 7)
RCC_PLL8CFGRx
RCC_R65CIDCFGR65Secure, privileged, and TDCID/DDCIDResource 65 CID filtering control
RCC_R65SEMCRRCC_SECCFGR2[1]
RCC_PRIVCFGR2[1]
RCC_RCFGLOCKR2[1]
RCC_R65CIDCFGR
RCC_R65SEMCR
Clock frequency calculator and observation 0 clock control
RCC_FCALCOBS0CFGRClock frequency calculator and observation 1 clock control
RCC_FCALCOBS1CFGRClock frequency calculator reference clock configuration
RCC_FCALCREFCFGRClock frequency calculator control 1
RCC_FCALCCR1Clock frequency calculator control 2
RCC_FCALCCR2
RCC_R66CIDCFGR66Secure, privileged and TDCID/DDCIDResource 66 CID filtering control
RCC_R66SEMCRRCC_SECCFGR2[2]
RCC_PRIVCFGR2[2]
RCC_RCFGLOCKR2[2]
RCC_R66CIDCFGR
RCC_R66SEMCR
SRSystem reset set
RCC_GRSTCSETRCPU1 reset set
RCC_C1RSTCSETRCPU2 reset set
RCC_C2RSTCSETR
RCC_HWRSTSCCLRCWHardware reset status cleared

Table 183. RCC register allocation to RIF resource and access conditions (continued)

Register nameRCC RIF resource numberRIF resource configurationAccess type(1)Description
RCC_R67CIDCFGR67Secure, privileged and TDCID/DDCIDRWResource 67 CID filtering control
RCC_R67SEMCRRCC_SECCFGR2[3]
RCC_PRIVCFGR2[3]
RCC_RCFGLOCKR2[3]
RCC_R67CIDCFGR
RCC_R67SEMCR
CPUs boot control
RCC_CPUBOOTCRSystem Standby exit control
RCC_STBYBOOTCRLegacy boot control
RCC_LEGBOOTCRSystem Standby exit tempo control
RCC_PWRLPDLYCRSecure, privileged and TDCID/DDCIDResource 68 CID filtering control
RCC_R68CIDCFGR68Application reset duration control
RCC_R68SEMCRRCC_SECCFGR2[4]
RCC_PRIVCFGR2[4]
RCC_RCFGLOCKR2[4]
RCC_R68CIDCFGR
RCC_R68SEMCR
RCC_RDCRResource 69 CID filtering control
RCC_R69CIDCFGR69Secure, privileged and TDCID/DDCIDOscillator control set
RCC_R69SEMCRRCC_SECCFGR2[5]
RCC_PRIVCFGR2[5]
RCC_RCFGLOCKR2[5]
RCC_R69CIDCFGR
RCC_R69SEMCR
Oscillator control clear
RCC_OCENSETRHSI oscillator configuration
RCC_OCENCLRRMSI oscillator configuration
RCC_HSICFGRVSW domain control
RCC_MSICFGRD3 domain control
RCC_BDCRRTC clock divider control
RCC_D3DCRAPB1 clock divider control
RCC_RTCDIVRAPB2 clock divider control
RCC_APB1DIVRAPB3 clock divider control
RCC_APB2DIVRAPB4 clock divider control
RCC_APB3DIVRAPBDBG clock divider control
RCC_APB4DIVRTimer group1 prescaler control
RCC_APBDBGDIVRTimer group2 prescaler control
RCC_TIMG1PRERLow-speed MCU clock divider control
RCC_TIMG2PRER
RCC_LSMCUDIVR
Table 183. RCC register allocation to RIF resource and access conditions (continued)
Register nameRCC RIF resource numberRIF resource configurationAccess type(1)Description
RCC_R70CIDCFGR70Secure, privileged and
TDCID/DDCID
RWResource 70 CID filtering control
RCC_R70SEMCR
RCC_C1SREQSETRRCC_SECCFGR2[6]
RCC_PRIVCFGR2[6]
RCC_RCFGLOCKR2[6]
RCC_R70CIDCFGR
RCC_R70SEMCR
SRCPU1 low-power mode control
RCC_C1SREQCLRRCW
RCC_C1CIESETRSRCPU1 interrupt enable
RCC_C1CIFCLRRCWCPU1 interrupt status
RCC_IWDGC1FZSETRSRCPU1 IWDG freeze set
RCC_IWDGC1FZCLRRCRCPU1 IWDG freeze clear
RCC_IWDGC1CFGSETRSRCPU1 IWDG configuration set
RCC_IWDGC1CFGCLRRCRCPU1 IWDG configuration cleared
RCC_C1MSRDCRRWNRSTC1MS reset delay control
RCC_C1P1RSTCSETRSRCPU1 processor core 1 reset set
RCC_C1BOOTRSTSSETRSRCPU1 boot reset status set
RCC_C1BOOTRSTSCLRRCWCPU1 boot reset status cleared
RCC_C1HWRSTSCLRRCPU1 hardware reset status cleared
RCC_R71CIDCFGR71Secure, privileged and
TDCID/DDCID
RWResource 71 CID filtering control
RCC_R71SEMCR
RCC_C2CIESETRRCC_SECCFGR2[7]
RCC_PRIVCFGR2[7]
RCC_RCFGLOCKR2[7]
RCC_R71CIDCFGR
RCC_R71SEMCR
SRCPU2 interrupt enable
RCC_C2CIFCLRRCWCPU2 interrupt status
RCC_IWDGC2FZSETRSRCPU2 IWDG freeze set
RCC_IWDGC2FZCLRRCRCPU2 IWDG freeze clear
RCC_IWDGC2CFGSETRSRCPU2 IWDG configuration set
RCC_IWDGC2CFGCLRRCRCPU2 IWDG configuration cleared
RCC_C2BOOTRSTSSETRSRCPU2 boot reset status set
RCC_C2BOOTRSTSCLRRCWCPU2 boot reset status cleared
RCC_C2HWRSTSCLRRCPU2 hardware reset status cleared

Table 183. RCC register allocation to RIF resource and access conditions (continued)

Register nameRCC RIF resource numberRIF resource configurationAccess type(1)Description
RCC_R72CIDCFGR72Secure, privileged and TDCID/DDCIDRWResource 72 CID filtering control
RCC_R72SEMCRRCC_SECCFGR2[8]
RCC_PRIVCFGR2[8]
RCC_RCFGLOCKR2[8]
RCC_R72CIDCFGR
RCC_R72SEMCR
RW
RCC_IWDGC3CFGSETRSRCPU3 IWDG configuration set
RCC_IWDGC3CFGCLRRCRCPU3 IWDG configuration cleared
RCC_C3CFGRRWCPU3 configuration
RCC_R73CIDCFGR73Secure, privileged and TDCID/DDCIDResource 73 CID filtering control
RCC_R73SEMCRRCC_SECCFGR2[9]
RCC_PRIVCFGR2[9]
RCC_RCFGLOCKR2[9]
RCC_R73CIDCFGR
RCC_R73SEMCR
RCC_DBGCFGRDebug control
RCC_STMCFGRSTM control
RCC_ETRCFGRETR control
RCC_R74CIDCFGR74Secure, privileged and TDCID/DDCIDResource 74 CID filtering control
RCC_R74SEMCRRCC_SECCFGR2[10]
RCC_PRIVCFGR2[10]
RCC_RCFGLOCKR2[10]
RCC_R74CIDCFGR
RCC_R74SEMCR
RCC_SYSRAMCFGRSYSRAM clock control
RCC_R75CIDCFGR75Secure, privileged and TDCID/DDCIDResource 75 CID filtering control
RCC_R75SEMCRRCC_SECCFGR2[11]
RCC_PRIVCFGR2[11]
RCC_RCFGLOCKR2[11]
RCC_R75CIDCFGR
RCC_R75SEMCR
RCC_VDERAMCFGRVideo decoder/encoder RAM clock control
RCC_R76CIDCFGR76Secure, privileged and TDCID/DDCIDResource 76 CID filtering control
RCC_R76SEMCRRCC_SECCFGR2[12]
RCC_PRIVCFGR2[12]
RCC_RCFGLOCKR2[12]
RCC_R76CIDCFGR
RCC_R76SEMCR
RCC_RETRAMCFGRRetention RAM clock control
RCC_R77CIDCFGR77Secure, privileged and TDCID/DDCIDResource 77 CID filtering control
RCC_R77SEMCRRCC_SECCFGR2[13]
RCC_PRIVCFGR2[13]
RCC_RCFGLOCKR2[13]
RCC_R77CIDCFGR
RCC_R77SEMCR
RCC_BKPSRAMCFGRBackup SRAM clock control

Table 183. RCC register allocation to RIF resource and access conditions (continued)

Register nameRCC RIF resource numberRIF resource configurationAccess type(1)Description
RCC_R78CIDCFGR78Secure, privileged and TDCID/DDCIDRWResource 78 CID filtering control
RCC_R78SEMCRRCC_SECCFGR2[14]
RCC_PRIVCFGR2[14]
RCC_RCFGLOCKR2[14]
RCC_R78CIDCFGR
RCC_R78SEMCR
SRAM1 clock control
RCC_SRAM1CFGR
RCC_R79CIDCFGR79Secure, privileged and TDCID/DDCIDResource 79 CID filtering control
RCC_R79SEMCRRCC_SECCFGR2[15]
RCC_PRIVCFGR2[15]
RCC_RCFGLOCKR2[15]
RCC_R79CIDCFGR
RCC_R79SEMCR
SRAM2 clock control
RCC_SRAM2CFGR
RCC_R80CIDCFGR80Secure, privileged and TDCID/DDCIDResource 80 CID filtering control
RCC_R80SEMCRRCC_SECCFGR2[16]
RCC_PRIVCFGR2[16]
RCC_RCFGLOCKR2[16]
RCC_R80CIDCFGR
RCC_R80SEMCR
LPSRAM1 clock control
RCC_LPSRAM1CFGR
RCC_R81CIDCFGR81Secure, privileged and TDCID/DDCIDResource 81 CID filtering control
RCC_R81SEMCRRCC_SECCFGR2[17]
RCC_PRIVCFGR2[17]
RCC_RCFGLOCKR2[17]
RCC_R81CIDCFGR
RCC_R81SEMCR
LPSRAM2 clock control
RCC_LPSRAM2CFGR
RCC_R82CIDCFGR82Secure, privileged and TDCID/DDCIDResource 82 CID filtering control
RCC_R82SEMCRRCC_SECCFGR2[18]
RCC_PRIVCFGR2[18]
RCC_RCFGLOCKR2[18]
RCC_R82CIDCFGR
RCC_R82SEMCR
LPSRAM3 clock control
RCC_LPSRAM3CFGR
RCC_R83CIDCFGR83Secure, privileged and TDCID/DDCIDResource 83 CID filtering control
RCC_R83SEMCRRCC_SECCFGR2[19]
RCC_PRIVCFGR2[19]
RCC_RCFGLOCKR2[19]
RCC_R83CIDCFGR
RCC_R83SEMCR
HPDMA1 clock control
RCC_HPDMA1CFGR

Table 183. RCC register allocation to RIF resource and access conditions (continued)

Register nameRCC RIF resource numberRIF resource configurationAccess type(1)Description
RCC_R84CIDCFGR84Secure, privileged and TDCID/DDCIDRWResource 84 CID filtering control
RCC_R84SEMCRRCC_SECCFGR2[20]
RCC_PRIVCFGR2[20]
RCC_RCFGLOCKR2[20]
RCC_R84CIDCFGR
RCC_R84SEMCR
HPDMA2 clock control
RCC_HPDMA2CFGR
RCC_R85CIDCFGR85Secure, privileged and TDCID/DDCIDResource 85 CID filtering control
RCC_R85SEMCRRCC_SECCFGR2[21]
RCC_PRIVCFGR2[21]
RCC_RCFGLOCKR2[21]
RCC_R85CIDCFGR
RCC_R85SEMCR
HPDMA3 clock control
RCC_HPDMA3CFGR
RCC_R86CIDCFGR86Secure, privileged and TDCID/DDCIDResource 86 CID filtering control
RCC_R86SEMCRRCC_SECCFGR2[22]
RCC_PRIVCFGR2[22]
RCC_RCFGLOCKR2[22]
RCC_R86CIDCFGR
RCC_R86SEMCR
LPDMA1 clock control
RCC_LPDMACFGR
RCC_R87CIDCFGR87Secure, privileged and TDCID/DDCIDResource 87 CID filtering control
RCC_R87SEMCRRCC_SECCFGR2[23]
RCC_PRIVCFGR2[23]
RCC_RCFGLOCKR2[23]
RCC_R87CIDCFGR
RCC_R87SEMCR
IPCC1 clock control
RCC_IPCC1CFGR
RCC_R88CIDCFGR88Secure, privileged and TDCID/DDCIDResource 88 CID filtering control
RCC_R88SEMCRRCC_SECCFGR2[24]
RCC_PRIVCFGR2[24]
RCC_RCFGLOCKR2[24]
RCC_R88CIDCFGR
RCC_R88SEMCR
IPCC2 clock control
RCC_IPCC2CFGR
RCC_R89CIDCFGR89Secure, privileged and TDCID/DDCIDResource 89 CID filtering control
RCC_R89SEMCRRCC_SECCFGR2[25]
RCC_PRIVCFGR2[25]
RCC_RCFGLOCKR2[25]
RCC_R89CIDCFGR
RCC_R89SEMCR
HSEM clock control
RCC_HSEMCFGFR

Table 183. RCC register allocation to RIF resource and access conditions (continued)

Register nameRCC RIF resource numberRIF resource configurationAccess type(1)Description
RCC_R90CIDCFGR90Secure, privileged and TDCID/DDCIDRWResource 90 CID filtering control
RCC_R90SEMCRRCC_SECCFGR2[26]
RCC_PRIVCFGR2[26]
RCC_RCFGLOCKR2[26]
RCC_R90CIDCFGR
RCC_R90SEMCR
GPIOA clock control
RCC_GPIOACFGR
RCC_R91CIDCFGR91Secure, privileged and TDCID/DDCIDResource 91 CID filtering control
RCC_R91SEMCRRCC_SECCFGR2[27]
RCC_PRIVCFGR2[27]
RCC_RCFGLOCKR2[27]
RCC_R91CIDCFGR
RCC_R91SEMCR
GPIOB clock control
RCC_GPIOBCFGR
RCC_R92CIDCFGR92Secure, privileged and TDCID/DDCIDResource 92 CID filtering control
RCC_R92SEMCRRCC_SECCFGR2[28]
RCC_PRIVCFGR2[28]
RCC_RCFGLOCKR2[28]
RCC_R92CIDCFGR
RCC_R92SEMCR
GPIOC clock control
RCC_GPIOCCFGR
RCC_R93CIDCFGR93Secure, privileged and TDCID/DDCIDResource 93 CID filtering control
RCC_R93SEMCRRCC_SECCFGR2[29]
RCC_PRIVCFGR2[29]
RCC_RCFGLOCKR2[29]
RCC_R93CIDCFGR
RCC_R93SEMCR
GPIOD clock control
RCC_GPIODCFGR
RCC_R94CIDCFGR94Secure, privileged and TDCID/DDCIDResource 94 CID filtering control
RCC_R94SEMCRRCC_SECCFGR2[30]
RCC_PRIVCFGR2[30]
RCC_RCFGLOCKR2[30]
RCC_R94CIDCFGR
RCC_R94SEMCR
GPIOE clock control
RCC_GPIOECFGR
RCC_R95CIDCFGR95Secure, privileged and TDCID/DDCIDResource 95 CID filtering control
RCC_R95SEMCRRCC_SECCFGR2[31]
RCC_PRIVCFGR2[31]
RCC_RCFGLOCKR2[31]
RCC_R95CIDCFGR
RCC_R95SEMCR
GPIOF clock control
RCC_GPIOFCFGR

Table 183. RCC register allocation to RIF resource and access conditions (continued)

Register nameRCC RIF resource numberRIF resource configurationAccess type(1)Description
RCC_R96CIDCFGR96Secure, privileged and TDCID/DDCIDRWResource 96 CID filtering control
RCC_R96SEMCRRCC_SECCFGR3[0]
RCC_PRIVCFGR3[0]
RCC_RCFGLOCKR3[0]
RCC_R96CIDCFGR
RCC_R96SEMCR
GPIOG clock control
RCC_GPIOGCFGR
RCC_R97CIDCFGR97Secure, privileged and TDCID/DDCIDResource 97 CID filtering control
RCC_R97SEMCRRCC_SECCFGR3[1]
RCC_PRIVCFGR3[1]
RCC_RCFGLOCKR3[1]
RCC_R97CIDCFGR
RCC_R97SEMCR
GPIOH clock control
RCC_GPIOHCFGR
RCC_R98CIDCFGR98Secure, privileged and TDCID/DDCIDResource 98 CID filtering control
RCC_R98SEMCRRCC_SECCFGR3[2]
RCC_PRIVCFGR3[2]
RCC_RCFGLOCKR3[2]
RCC_R98CIDCFGR
RCC_R98SEMCR
GPIOI clock control
RCC_GPIOICFGR
RCC_R99CIDCFGR99Secure, privileged and TDCID/DDCIDResource 99 CID filtering control
RCC_R99SEMCRRCC_SECCFGR3[3]
RCC_PRIVCFGR3[3]
RCC_RCFGLOCKR3[3]
RCC_R99CIDCFGR
RCC_R99SEMCR
GPIOJ clock control
RCC_GPIOJCFGR
RCC_R100CIDCFGR100Secure, privileged and TDCID/DDCIDResource 100 CID filtering control
RCC_R100SEMCRRCC_SECCFGR3[4]
RCC_PRIVCFGR3[4]
RCC_RCFGLOCKR3[4]
RCC_R100CIDCFGR
RCC_R100SEMCR
GPIOK clock control
RCC_GPIOKCFGR
RCC_R101CIDCFGR101Secure, privileged and TDCID/DDCIDResource 101 CID filtering control
RCC_R101SEMCRRCC_SECCFGR3[5]
RCC_PRIVCFGR3[5]
RCC_RCFGLOCKR3[5]
RCC_R101CIDCFGR
RCC_R101SEMCR
GPIOZ clock control
RCC_GPIOZCFGR

Table 183. RCC register allocation to RIF resource and access conditions (continued)

Register nameRCC RIF resource numberRIF resource configurationAccess type(1)Description
RCC_R102CIDCFGR102Secure, privileged and TDCID/DDCIDRWResource 102 CID filtering control
RCC_R102SEMCRRCC_SECCFGR3[6]
RCC_PRIVCFGR3[6]
RCC_RCFGLOCKR3[6]
RCC_R102CIDCFGR
RCC_R102SEMCR
RTC clock control
RCC_RTCCFGR
RCC_R103CIDCFGR103Secure, privileged and TDCID/DDCIDResource 103 CID filtering control
RCC_R103SEMCRRCC_SECCFGR3[7]
RCC_PRIVCFGR3[7]
RCC_RCFGLOCKR3[7]
RCC_R103CIDCFGR
RCC_R103SEMCR
BSEC clock control
RCC_BSECCFGR
RCC_R104CIDCFGR104(2)Secure, privileged and TDCID/DDCIDResource 104 CID filtering control
RCC_R104SEMCRRCC_SECCFGR3[8]
RCC_PRIVCFGR3[8]
RCC_RCFGLOCKR3[8]
RCC_R104CIDCFGR
RCC_R104SEMCR
DDR PLL2 control (x=1 to 7)
RCC_PLL2CFGRxDDR controller AXI ports clock control
RCC_DDRCPFCFGRDDR controller APB clock control
RCC_DDRCAPBCFGRDDR controller APB clock control
RCC_DDRPHYCAPBCFGRDDR PHY APB clock control
RCC_DDRITFCFGRDDR interface configuration
RCC_DDRPHYCCFGRDDRPHY controller configuration
RCC_DDRCFGRDDR configuration
RCC_R105CIDCFGR105Secure, privileged and TDCID/DDCIDResource 105 CID filtering control
RCC_R105SEMCRRCC_SECCFGR3[9]
RCC_PRIVCFGR3[9]
RCC_RCFGLOCKR3[9]
RCC_R105CIDCFGR
RCC_R105SEMCR
GPU PLL3 control (x=1 to 7)
RCC_PLL3CFGRx
RCC_R106CIDCFGR106Secure, privileged and TDCID/DDCIDResource 106 CID filtering control
RCC_R106SEMCRRCC_SECCFGR3[10]
RCC_PRIVCFGR3[10]
RCC_RCFGLOCKR3[10]
RCC_R106CIDCFGR
RCC_R106SEMCR
SYSCPU1 clock control
RCC_SYSCPU1CFGR
Reserved107---

Table 183. RCC register allocation to RIF resource and access conditions (continued)

Register nameRCC RIF resource numberRIF resource configurationAccess type(1)Description
RCC_R108CIDCFGR108Secure, privileged and TDCID/DDCIDRWResource 108 CID filtering control
RCC_R108SEMCRRCC_SECCFGR3[12]
RCC_PRIVCFGR3[12]
RCC_RCFGLOCKR3[12]
RCC_R108CIDCFGR
RCC_R108SEMCR
MCO1 clock configuration control
RCC_MCO1CFGR
RCC_R109CIDCFGR109Secure, privileged and TDCID/DDCIDResource 109 CID filtering control
RCC_R109SEMCRRCC_SECCFGR3[13]
RCC_PRIVCFGR3[13]
RCC_RCFGLOCKR3[13]
RCC_R109CIDCFGR
RCC_R109SEMCR
MCO2 clock configuration control
RCC_MCO2CFGR
RCC_R110CIDCFGR110Secure, privileged and TDCID/DDCIDResource 110 CID filtering control
RCC_R110SEMCRRCC_SECCFGR3[14]
RCC_PRIVCFGR3[14]
RCC_RCFGLOCKR3[14]
RCC_R110CIDCFGR
RCC_R110SEMCR
OCTOSPI1 clock configuration control
RCC_OSPI1CFGR
RCC_R111CIDCFGR111Secure, privileged and TDCID/DDCIDResource 111 CID filtering control
RCC_R111SEMCRRCC_SECCFGR3[15]
RCC_PRIVCFGR3[15]
RCC_RCFGLOCKR3[15]
RCC_R111CIDCFGR
RCC_R111SEMCR
OCTOSPI2 clock configuration control
RCC_OSPI2CFGR
RCC_R112CIDCFGR112Secure, privileged and TDCID/DDCIDResource 112 CID filtering control
RCC_R112SEMCRRCC_SECCFGR3[16]
RCC_PRIVCFGR3[16]
RCC_RCFGLOCKR3[16]
RCC_R112CIDCFGR
RCC_R112SEMCR
FMC clock configuration control
RCC_FMCCFGR
RCC_R113CIDCFGR113Secure, privileged and TDCID/DDCIDResource 113 CID filtering control
RCC_R113SEMCRRCC_SECCFGR3[17]
RCC_PRIVCFGR3[17]
RCC_RCFGLOCKR3[17]
RCC_R113CIDCFGR
RCC_R113SEMCR
HSI clock period monitor control
RCC_HSIFMONCR
Reserved114 to 127---
Table 183. RCC register allocation to RIF resource and access conditions (continued)
Register nameRCC RIF
resource
number
RIF resource
configuration
Access
type(1)
Description
RCC_PREDIVSR1NANARFlexclkgen pre divider status flag
RCC_PREDIVSR2
RCC_FINDIVSR1Flexclkgen final divider status flag
RCC_FINDIVSR2
RCC_D3SRD3 domain status flag
RCC_OCRDYROscillator status clear
RCC_HSIFVALRHSI clock cycle count
RCC_FCALCSRClock frequency calculator status
RCC_VERR-
RCC_IDR-
RCC_SIDR-
  1. 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. 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.

21.8.1 RCC secure configuration register 0 (RCC_SECCFGR0)

Address offset: 0x0000

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

31302928272625242322212019181716
SEC[31:16]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
SEC[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

21.8.2 RCC secure configuration register 1 (RCC_SECCFGR1)

Address offset: 0x0004

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

31302928272625242322212019181716
SEC[63:48]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
SEC[47:32]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 SEC[63:32]: Secure attribute reference for the local resource number x (x = 63 to 32)
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: 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

21.8.3 RCC secure configuration register 2 (RCC_SECCFGR2)

Address offset: 0x0008

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

31302928272625242322212019181716
SEC[95:80]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
SEC[79:64]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 SEC[95:64]: Secure attribute reference for the local resource number x (x = 95 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: Non-secure write access is allowed.

1: Only secure write access is allowed.

21.8.4 RCC secure configuration register 3 (RCC_SECCFGR3)

Address offset: 0x000C

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEC[113:112]
rwrw
1514131211109876543210
SEC[111:96]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

Bits 17:0 SEC[113:96]: Secure attribute reference for the local resource number x (x = 113 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_RxSEMCr. 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.

21.8.5 RCC privileged configuration register 0 (RCC_PRIVCFGR0)

Address offset: 0x0010

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 183 for RCC local resource mapping). Unprivileged writes to this register are ignored, and illegal access event is generated. Any read is allowed.

31302928272625242322212019181716
PRIV[31:16]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
PRIV[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

21.8.6 RCC privileged configuration register 1 (RCC_PRIVCFGR1)

Address offset: 0x0014

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 183 for RCC local resource mapping). Unprivileged writes to this register are ignored, and illegal access event is generated. Any read is allowed.

31302928272625242322212019181716
PRIV[63:48]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
PRIV[47:32]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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.

21.8.7 RCC privileged configuration register 2 (RCC_PRIVCFGR2)

Address offset: 0x0018

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 183 for RCC local resource mapping). Unprivileged writes to this register are ignored, and illegal access event is generated. Any read is allowed.

31302928272625242322212019181716
PRIV[95:80]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
PRIV[79:64]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

21.8.8 RCC privileged configuration register 3 (RCC_PRIVCFGR3)

Address offset: 0x001C

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 183 for RCC local resource mapping). Unprivileged writes to this register are ignored, and illegal access event is generated. Any read is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PRIV[113:112]
rwrw
1514131211109876543210
PRIV[111:96]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

21.8.9 RCC resource configuration lock register 0 (RCC_RCFGLOCKR0)

Address offset: 0x0020

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.

31302928272625242322212019181716
RLOCK[31:16]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
RLOCK[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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.

21.8.10 RCC resource configuration lock register 1 (RCC_RCFGLOCKR1)

Address offset: 0x0024

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.

31302928272625242322212019181716
RLOCK[63:48]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
RLOCK[47:32]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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.

21.8.11 RCC resource configuration lock register 2
(RCC_RCFGLOCKR2)

Address offset: 0x0028

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.

31302928272625242322212019181716
RLOCK[95:80]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
RLOCK[79:64]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 RLOCK[95:64]: RCC local resource number x lock (x = 95 to 64)

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.

21.8.12 RCC resource configuration lock register 3
(RCC_RCFGLOCKR3)

Address offset: 0x002C

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.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RLOCK[113:112]
rwrw
1514131211109876543210
RLOCK[111:96]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

Bits 17:0 RLOCK[113:96]: RCC local resource number x lock (x = 113 to 96)

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.

21.8.13 RCC resource x CID configuration register (RCC_RxCIDCFGR)

Address offset: 0x0030 + 0x8 * x, (x = 0 to 113)

Reset value: 0x0000 0000

This register is used to configure the CID filtering policy for the RCC local resource x (see Table 183 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.

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

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

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 bitfield to statically define which compartment has access to local resource x when SEM_EN = 0.

Note: This bitfield 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 x is granted only if CID of the access equals to SCID.

1: Access to local resource x is granted only if SEM_Mutex = 1, and CID of the access equals to SEMCID.

Note: This bit is ignored 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.

21.8.14 RCC resource x semaphore control register (RCC_RxSEMCR)

Address offset: 0x0034 + 0x8 * x, (x = 0 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.

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

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

Bits 6:4 SEMCID[2:0]: Semaphore 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_RxSEMCR 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.

21.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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SYSRST
T
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 81).

21.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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.C1RST
T
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 81).

21.8.17 RCC CPU1 processor core 1 reset control set register (RCC_C1P1RSTCSETR)

Address offset: 0x408

Reset value: 0x0000 0000

This register is used to generate the CPU1 processor core 1 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 70 configuration (see Table 183 for details). Any read access is allowed.

RM0457column_2(seeTable 183column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.C1P1R ST rsC1P1P
Bit 1C1P1RST: CPU1 processor core 1 reset
Bit 0C1P1PORRST: CPU1 processor core 1 power-on reset
RM0457 Rev 51091/5881

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

Bit 1 C1P1RST: CPU1 processor core 1 reset

Set by software and cleared by hardware when the reset command is completed. Resets all registers in the processor core 1, excluding debug and ETM ones.

0: Writing 0 has no effect. Reading 0 means that the CPU1 processor core 1 reset is released.

1: Writing 1 generates a CPU1 processor core 1 reset. Reading 1 means that the reset is asserted.

Bit 0 C1P1PORRST: CPU1 processor core 1 power-on reset

Set by software and cleared by hardware when the reset command is completed. Resets all registers in the processor core 1 including debug and ETM ones.

0: Writing 0 has no effect. Reading 0 means that the CPU1 processor core 1 power-on reset is released.

1: Writing 1 generates a CPU1 processor core 1 power-on reset. Reading 1 means that the reset is asserted.

21.8.18 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.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 81).

21.8.19 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.RETEC
CFAILR
ESTRSTF
RETEC
CFAILC
RCRSTF
RETCR
CERR
RSTF
IWDG5
SYSRSTF
IWDG4
SYSRSTF
IWDG3
SYSRSTF
IWDG2
SYSRSTF
IWDG1
SYSRSTF
SYSC2
RSTF
SYSC1
RSTF
VCOR
ERSTF
HCSSR
STF
PADRS
TF
BORR
STF
PORR
STF
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

21.8.20 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 VDD domain, and is reset by por_rstn reset except the C1P1RSTF flag. This flag is located in the VDDCORE domain, and is reset by sys_rstn reset. Write accesses are defined according to the RCC local resource number 70 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.C1P1RSTFC1RSTFVCPURSTF
rc_w1rc_w1rc_w1

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

Bit 2 C1P1RSTF: CPU1 processor core 1 reset flag

Cleared by software and set by hardware when a CPU1 processor core 1 reset occurs.

0: Writing 0 has no effect. Reading 0 means that no CPU1 processor core 1 reset occurred (default after sys_rstn reset).

1: Writing 1 clears the C1P1RSTF flag. Reading 1 means that a CPU1 processor core 1 reset occurred.

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: VDDCPU reset flag

Cleared by software and set by hardware when a reset occurs because VDDCPU is lower than the expected value.

0: Writing 0 has no effect. Reading 0 means that VDDCPU is not the origin of the reset.

1: Writing 1 clears the VCPURSTF flag. Reading 1 means that VDDCPU is the origin of the reset (default after por_rstn reset).

21.8.21 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 183 for details).Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.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).

21.8.22 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 21.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 183 for details).Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.D2STBYRSTFD1STBYRSTFRes.STBYC1RSTFRETECFAILRESTRSTFRETECFAILRCRSTFRETCRCERRRSTFC1P1RSTF
rsrsrsrsrsrsrs
1514131211109876543210
Res.Res.C1RSTFIWDG5SYSRSTFIWDG4SYSRSTFIWDG3SYSRSTFIWDG2SYSRSTFIWDG1SYSRSTFSYSC2RSTFSYSC1RSTFVCPURSTFVCORERSTFHCSSRSTFPADRSTFBORRSTFPORRSTF
rsrsrsrsrsrsrsrsrsrsrsrsrsrs

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

21.8.23 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 21.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 183 for details).Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.D2STBY
YRSTF
D1STB
YRSTF
Res.STBYC
1RSTF
RETEC
CFAILR
ESTRS
TF
RETEC
CFAILC
RCRST
F
RETCR
CERR
RSTF
C1P1R
STF
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.Res.C1RST
F
IWDG5
SYSRS
TF
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
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_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 RETECCFAILRCRSTF: 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 RETECCFAILRCRSTF bit.

21.8.24 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 21.3.13 for details). The register is located in the \(V_{DDCORE}\) domain. Write accesses are defined according to the RCC local resource number 71 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.D2STBYRSTFRes.STBYC2RSTFRes.RETECFAILRESTRSTFRETECFAILRCRSTFRETECRERRRSTFRes.
rsrsrsrsrs
1514131211109876543210
Res.C2RSTFRes.IWDG5SYSRSTFIWDG4SYSRSTFIWDG3SYSRSTFIWDG2SYSRSTFIWDG1SYSRSTFSYSC2RSTFSYSC1RSTFRes.VCORERSTFHCSSRSTFPADRSTFBORRSTFPORRSTF
rsrsrsrsrsrsrsrsrsrsrsrsrs

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.

Bit 13 Reserved, must be kept at reset value.

Bit 12 IWDG5SYSRSTF: IWDG5 system reset flag

Set by software. Indicates that a system reset occurred due to an IWDG5 timeout.

0: No effect

1: Set the IWDG5SYSRSTF bit.

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.

21.8.25 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 21.3.13 for details). The register is located in the \(V_{DDCORE}\) domain. Write accesses are defined according to the RCC local resource number 71 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.D2STBYRSTFRes.STBYC2RSTFRes.RETECCFAILRESTRSTFRETECCFAILRCRSTFRETCRCERRRSTFRes.
rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.C2RSTFRes.IWDG5SYSRSTFIWDG4SYSRSTFIWDG3SYSRSTFIWDG2SYSRSTFIWDG1SYSRSTFSYSC2RSTFSYSC1RSTFRes.VCORERSTFHCSSRSTFPADRSTFBORRSTFPORRSTF
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_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 RETECCFAILRCRSTF: 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 RETECCFAILRCRSTF 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.

Bit 13 Reserved, must be kept at reset value.

Bit 12 IWDG5SYSRSTF: IWDG5 reset flag

Cleared by software. Indicates that a system reset occurred due to an IWDG5 timeout.

0: No effect

1: Clear the IWDG5SYSRSTF bit.

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

21.8.26 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ESLPR
EQ
rs
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STPRE
Q_P1
STPRE
Q_P0
rsrs

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

Bit 16 ESLREQ: 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 ESLREQ bit. Reading 1 means that enhanced CSleep for CPU1 subsystem is requested.

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

Bit 1 STPREQ_P1: Stop request for CPU1 processor core 1

Set by software. In Single-core CPU1, this bit is reserved. Indicates if the CPU1 processor core 1 allows the entry in Stop mode for CPU1 subsystem, when complete CPU1 is in WFI.

0: Writing 0 has no effect. Reading 0 means that the CPU1 processor 1 does not allow the CPU1 subsystem to go to CStop.

1: Writing 1 sets the STPREQ_P1 bit. Reading 1 means that the CPU1 processor core 1 allows the CPU1 subsystem to go to CStop.

Bit 0 STPREQ_P0: Stop request for CPU1 processor core 0

Set by software. Indicates if the CPU1 processor 0 allows the entry in Stop mode for CPU1 subsystem, when the complete CPU1 is in WFI.

0: Writing 0 has no effect. Reading 0 means that the CPU1 processor core 0 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 core 0 allows the CPU1 subsystem to go to CStop.

21.8.27 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ESLPR
EQ
rc_w1
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STPRE
Q_P1
STPRE
Q_P0
rc_w1rc_w1

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

Bit 16 ESLREQ: 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 ESLREQ bit. Reading 1 means that enhanced CSleep for the CPU1 subsystem is requested.

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

Bit 1 STPREQ_P1: Stop request for CPU1 processor core 1

Cleared by software. Indicates if the CPU1 processor core 1 allows the entry in Stop mode for the CPU1 subsystem, when the complete CPU1 is in WFI.

0: Writing 0 has no effect. Reading 0 means that the CPU1 processor core 1 does not allow the CPU1 subsystem to go to CStop.

1: Writing 1 clears the STPREQ_P1 bit. Reading 1 means that the CPU1 processor core 1 allows the CPU1 subsystem to go to CStop.

Bit 0 STPREQ_P0: Stop request for CPU1 processor core 0

Cleared by software. Indicates if the CPU1 processor core 0 allows the entry in Stop mode for CPU1 subsystem, when the complete CPU1 is in WFI.

0: Writing 0 has no effect. Reading 0 means that the CPU1 processor core 0 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 core 0 allows the CPU1 subsystem to go to CStop.

21.8.28 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BOOT_CPU1BOOT_CPU2
rwrw

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.

21.8.29 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 21.3.14 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.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.
rwrrrworw

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.

21.8.30 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 21.3.14 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LEGACY_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.

21.8.31 RCC backup domain control register (RCC_BDCR)

Address offset: 0x440

Reset value: 0x0000 0020

This register is used to control LSE and LSI 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, DBD3P in PWR_BDCR1 must be set to 1. This register is only reset after a backup domain reset (vsw_rstn, see Section 21.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 183 for details). Any read access is allowed.

31302928272625242322212019181716
VSWRSTRes.Res.Res.Res.Res.C3SYSTICKSELMSIFREQSELRes.Res.Res.RTCCKENRes.Res.RTCSRC[1:0]
rwrwrwrwrworwo
1514131211109876543210
Res.Res.Res.Res.Res.LSIRDYLSIONLSECSSDLSEGFONLSECSSONLSEDRV[1:0]LSEDIGBYPLSERDYLSEBYPLSEON
rrwrrwrwrwrwrwrrwrw

21.8.32 RCC D3 domain control register (RCC_D3DCR)

Address offset: 0x444

Reset value: 0x0000 0000

This register is used to control the D3 domain 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. Write access to this register is not allowed during the clock restore sequence (see Clock restore sequence for details). This register is located in the D3 domain. Write accesses are defined according to the RCC local resource number 69 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.D3PERCKSEL[1:0]
rwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MSIRDYMSIKERONMSION
rrwrw

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

Bits 17:16 D3PERCKSEL[1:0]: D3 peripheral local bus clock select
Set and cleared by software.
0x0: MSI kernel clock used as D3 peripheral bus clock interface (default after backup domain reset)
0x1: LSI clock used as D3 peripheral bus clock interface
0x2: LSE clock used as D3 peripheral bus clock interface
Others: Reserved

Bits 15: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 is not ready (default after reset)
1: MSI clock is ready

Bit 1 MSIKERON:
Set by software to force the MSI on, even in Stop mode, in order to be quickly available as kernel clock for some peripherals. This bit has no effect on the MSION value.
0: No effect
1: Set the MSIKERON bit.

Bit 0 MSION: MSI oscillator enable
Set and cleared by software.
0: MSI oscillator off (default after reset)
1: MSI oscillator on

21.8.33 RCC D3 domain status register (RCC_D3DSR)

Address offset: 0x448

Reset value: 0x0000 0000

This is a read-only access register that contains the D3 domain status flags. Writing has no effect. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.D3STATE[1:0]
rr

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

Bits 1:0 D3STATE[1:0]: D3 domain state

Set by hardware to indicate the D3 domain state.

0x0: D3 domain in reset state (default after reset)

0x1: D3 domain in system state (flexclkgen clocking)

0x2: D3 domain in clock switching state

0x3: D3 domain in local state (D3 local clocking)

21.8.34 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.EADLY[3:0]Res.Res.Res.MRD[4:0]
rwrwrwrwrwrwrwrwrw
1514131211109876543210
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 µs

0x2: 200 µs

0x3: 500 µs

0x4: 1 ms

0x5: 2 ms

0x6: 5 ms (default after reset)

0x7: 10 ms

0x8: 20 ms

0x9: 50 ms

0xA: 100 ms

0xB: 200 ms

0xC: 500 ms

0xD: 1 s

0xE: 2 s

0xF: 5 s

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.

21.8.35 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 183 for details). Any read access is allowed.

RM0457column_2Bits 27:24 Bits 20:16EADLY[3:0] 0xD: 1 s 0xE: 2 s 0xF: 5 s MRD[4:0] ...0x1: 100 μ s 0x2: 200 μ s 0x3: 500 μ s 0x4: 1 ms 0x5: 2 ms 0x7: 10 ms 0x8: 20 ms 0x9: 50 ms 0xA: 100 ms 0xB: 200 ms 0xC: 500 mscolumn_6Table 183column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.C1MSR
STRes.Res.Res.C1MSRD[4:0]
rsrwrwrwrwrw
RM0457 Rev 51115/5881

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

21.8.36 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.CPU2T
MPSKP
Res.Res.PWRLP_DLY[21:16]
rwrwrwrwrwrwrw
1514131211109876543210
PWRLP_DLY[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

Bit 24 CPU2TMPSKP: 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] / f_{HSI}\) or \(PWRLP\_DLY[21:0] / f_{HSI} / 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.

21.8.37 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 21.5 for details). Write accesses are defined according to the RCC local resource number 70 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WKUPI
E
Res.Res.Res.LSECS
SIE
rwrw
1514131211109876543210
Res.Res.Res.PLL8R
DYIE
PLL7R
DYIE
PLL6R
DYIE
PLL5R
DYIE
PLL4R
DYIE
PLL3R
DYIE
PLL2R
DYIE
PLL1R
DYIE
MSIRD
YIE
HSERD
YIE
HSIRD
YIE
LSERD
YIE
LSIRD
YIE
rwrwrwrwrwrwrwrwrwrwrwrwrw

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

21.8.38 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 21.5 for details). Write accesses are defined according to the RCC local resource number 70 configuration (see Table 183 for details). Any read access is allowed.

Bit 31Bit 30Bit 29Bit 28Bit 27Bit 26Bit 25Bit 24Bit 23Bit 22Bit 21Bit 20Bit 19Bit 18Bit 17Bit 16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WKUP
F rc_w1Res.Res.Res.LSECS SF rc_w1
1514131211109876543210
Res.Res.Res.PLL8RPLL7RPLL6RPLL5RPLL4RPLL3RPLL2RPLL1RMSIRDHSERDHSIRDLSERDLSIRD
DYFDYFDYFDYFDYFDYFDYFDYFYFYFYFYFYF
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
Bit 20WKUPF: CPU1 wake-up from CStop interrupt flag
Bit 16LSECSSF: LSE CSS interrupt flag
Bit 12PLL8RDYF: PLL8 ready interrupt flag
RM0457 Rev 51119/5881

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

21.8.39 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 21.5 for more details). Write accesses are defined according to the RCC local resource number 71 configuration (see Table 183 for details). Any read access is allowed.

Bit 31Bit 30Bit 29Bit 28Bit 27Bit 26Bit 25Bit 24Bit 23Bit 22Bit 21Bit 20Bit 19Bit 18Bit 17Bit 16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WKUPI
E rwRes.Res.Res.LSECS SIE rw
1514131211109876543210
Res.Res.Res.PLL8RPLL7RPLL6RPLL5RPLL4RPLL3RPLL2RPLL1RMSIRDHSERDHSIRDLSERDLSIRD
DYIEDYIEDYIEDYIEDYIEDYIEDYIEDYIEYIEYIEYIEYIEYIE
rwrwrwrwrwrwrwrwrwrwrwrwrw
Bit 20WKUPIE: CPU2 wake-up from CStop Interrupt Enable
Bit 16LSECSSIE: LSE CSS interrupt enable 32 kHz oscillator.
Bit 12PLL8RDYIE: PLL8 ready interrupt enable
Bit 11PLL7RDYIE: PLL7 ready interrupt enable
RM0457 Rev 51121/5881

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 LSECSIE: 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

21.8.40 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 21.5 for more details). Write accesses are defined according to the RCC local resource number 71 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WKUP
F
Res.Res.Res.LSECS
SF
rc_w1rc_w1
1514131211109876543210
Res.Res.Res.PLL8R
DYF
PLL7R
DYF
PLL6R
DYF
PLL5R
DYF
PLL4R
DYF
PLL3R
DYF
PLL2R
DYF
PLL1R
DYF
MSIRD
YF
HSERD
YF
HSIRD
YF
LSERD
YF
LSIRD
YF
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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.

21.8.41 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FZ_IWDG2FZ_IWDG1
rsrs

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.

21.8.42 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FZ_IWDG2FZ_IWDG1
rc_w1rc_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.

21.8.43 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG2_KERRSTRes.Res.
rs
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG2_SYSRSTENRes.IWDG1_SYSRSTEN
rsrs

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.

21.8.44 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG2_KERRSTRes.Res.
rc_w1
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG2_SYSRSTENRes.IWDG1_SYSRSTEN
rc_w1rc_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.

ST logo
ST logo

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.

21.8.45 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 183 for details). Any read access is allowed.

column_1column_2Bit 0column_4Set by software.column_6column_7Table 183column_9column_10column_11column_12column_13column_14column_15RM0457
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FZ_IW DG4 rsFZ_IW DG3 rs
Bit 1FZ_IWDG4: Freeze of IWDG4 clock
Bit 0FZ_IWDG3: Freeze of IWDG3 clock

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.

ST logo
ST logo

21.8.46 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 183 for details). Any read access is allowed.

RM0457column_2column_3column_4column_5column_6column_7Table 183column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FZ_IW DG4 rc_w1FZ_IW
Bit 1FZ_IWDG4: Unfreeze of IWDG4 clock
Bit 0FZ_IWDG3: Unfreeze of IWDG3 clock
RM0457 Rev 51129/5881

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.

21.8.47 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG4_KERRSTRes.Res.
rs
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG4_SYSRSTENRes.IWDG3_SYSRSTEN
rsrs

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.

21.8.48 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG4_KERRSTRes.Res.
rc_w1
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG4_SYSRSTENRes.IWDG3_SYSRSTEN
rc_w1rc_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.

21.8.49 RCC IWDG CPU3 configuration set register (RCC_IWDGC3CFGSETR)

Address offset: 0x488

Reset value: 0x0000 0000

This register is used to enable IWDG5 timeout event reset behavior. 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 this register. The number of wait states may be up to 7 cycles of the RCC clock. This register is reset by app_rstn reset, and it is located in the VDD domain. Write accesses are defined according to the RCC local resource number 72 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG5
SYSR
STEN
rs

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

Bit 0 IWDG5_SYSRSTEN: Enable of IWDG5 timeout event to reset the application

Set by software.

0: Writing 0 has no effect. Reading 0 means that IWDG5 timeout event cannot trigger an application reset.

1: Writing 1 enables IWDG5 timeout event to reset the application. Reading 1 means that IWDG5 timeout event is enabled.

21.8.50 RCC IWDG CPU3 configuration clear register (RCC_IWDGC3CFGCLRR)

Address offset: 0x48C

Reset value: 0x0000 0000

This register is used to disable IWDG5 timeout event reset behavior. 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 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 72 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG5
SYSR
STEN
rc_w1

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

21.8.51 RCC CPU3 configuration register (RCC_C3CFGR)

Address offset: 0x490

Reset value: 0x0000 0005

This register is used to control the reset, clock gating, low-power, and autonomous clock mode behavior of the CPU3. It is also used to control some D3 peripheral allocation to CPU3 (see Section 21.4.14 for details). To apply software reset, the peripheral must be clocked (C3EN = 1). Wait states are inserted in case of successive write accesses to this register, except on C3RST. 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 72 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.I3C4C3ENRTCC3ENLPDMA3ENGPIOZ3ENADF1C3ENRes.I2C8C3ENLPUART1C3ENSPI8C3ENLPTIM5C3ENLPTIM4C3ENLPTIM3C3EN
rwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.C3AMENC3LPEENC3ENC3RST
rwrwrwrw

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

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

Bit 3 C3AMEN: CPU3 autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables autonomous clock mode. Reading 1 means that autonomous clock mode is enabled.

Bit 2 C3LPEN: CPU3 peripheral clock enable during CSleep

Set and cleared by software.

0: Writing 0 disables the peripheral clocks in CSleep. Reading 0 means that peripheral clocks are disabled in CSleep.

1: Writing 1 enables the peripheral clocks in CSleep. Reading 1 means that peripheral clocks are enabled in CSleep.

Bit 1 C3EN: CPU3 peripheral clocks enable

Set and cleared by software.

0: Writing 0 disables the peripheral clocks. Reading 0 means that peripheral clocks are disabled.

1: Writing 1 enables the peripheral clocks. Reading 1 means that peripheral clocks are enabled

Bit 0 C3RST: CPU3 reset

Set and cleared by software.

0: Writing 0 releases the block reset. Reading 0 means that the block reset is released.

1: Writing 1 asserts the block reset. Reading 1 means that the block reset is asserted (default after reset).

21.8.52 RCC MCO1 configuration register (RCC_MCO1CFGR)

Address offset: 0x494

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 183 for details). Any read access is allowed.

RM0457column_2Bit 3 Bit 2 Bit 1 Bit 0C3AMEN C3LPEN C3EN C3RSTmode is disabled. mode is enabled. are disabled. are enabled : CPU3 resetcolumn_6column_7column_8column_9column_10column_11column_12column_13column_14Table 183for
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.MCO1
ON rwRes.Res.Res.Res.Res.Res.Res.MCO1
Bit 8MCO1ON: Control of MCO1 output
RM0457 Rev 51135/5881

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.

ST logo
ST logo

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

21.8.53 RCC MCO2 configuration register (RCC_MCO2CFGR)

Address offset: 0x498

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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.MCO2
ON
Res.Res.Res.Res.Res.Res.Res.MCO2
SEL
rwrw

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

21.8.54 RCC oscillator clock enable set register (RCC_OCENSETR)

Address offset: 0x49C

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 183 for details). Any read access is allowed.

RM0457Bits 5:3 Bits 2:0column_3POSTDIV2[2:0] POSTDIV1[2:0]column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.HSECSHSEBYHSEKEHSEOHSEDIHSEDIHSEDI
V2ONRes.Res.Res.HSIKE
SONPRONNGBYPV2BYPRONHSION
rsrsrsrsrsrsrsrsrs
Bit 11HSECSSON: HSECSSON bit set
Bit 10HSEBYP: HSEBYP bit set 0: No effect
Bit 9HSEKERON: HSEKERON bit set 0: No effect
Bit 8HSEON: HSEON bit set 0: No effect
Bit 7HSEDIGBYP: HSEDIGBYP bit set 0: No effect
Bit 6HSEDIV2BYP: HSEDIV2BYP bit set 0: No effect
RM0457 Rev 51137/5881

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.

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

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.

21.8.55 RCC oscillator clock enable clear register (RCC_OCENCLRR)

Address offset: 0x4A0

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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.HSEBYPHSEKERONHSEONHSEGBYPHSEDIV2BYPHSEDIV2ONRes.Res.Res.HSIKERONHSION
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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.

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

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.

21.8.56 RCC oscillator clock ready register (RCC_OCRDYR)

Address offset: 0x4A4

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.

RM0457column_2Bit 8 Bit 7 Bit 6 Bit 5 Bit 1 Bit 0HSEON HSEDIGBYP HSEDIV2ON HSIKERON HSION0: No effect 0: No effect HSEDIV2BYP 0: No effect 0: No effect on HSION value. 0: No effect 0: No effect: HSEON bit clear : HSION bit clearcolumn_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.CKRES
T rRes.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.HSERD
YRes.Res.Res.Res.Res.Res.Res.HSIRD
RM0457 Rev 51139/5881

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: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

21.8.57 RCC HSI configuration register (RCC_HSICFGR)

Address offset: 0x4A8

Reset value: 0x0000 0000

This register is used to configure the HSI. 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 183 for details). Any read access is allowed.

Bit 31Bit 30Bit 29Bit 28Bit 27Bit 26Bit 25Bit 24Bit 23Bit 22Bit 21Bit 20Bit 19Bit 18Bit 17Bit 16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.HSICAL[8:0]
rrrrrrrrr
1514131211109876543210
Res.HSITRIM[6:0]Res.Res.Res.Res.Res.Res.Res.Res.
rwrwrwrwrwrwrw
Bits 24:16HSICAL[8:0]: HSI clock calibration

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.

21.8.58 RCC MSI configuration register (RCC_MSICFGR)

Address offset: 0x4AC

Reset value: 0x0000 1000

This register is used to finetune the MSI frequency. Write access is not allowed during the clock restore sequence (see Clock restore sequence for details).

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 located into D3 domain. Write accesses are defined according to the RCC local resource number 69 configuration (see Table 183 for details). Any read access is allowed.

Bit 31Bit 30Bit 29Bit 28Bit 27Bit 26Bit 25Bit 24Bit 23Bit 22Bit 21Bit 20Bit 19Bit 18Bit 17Bit 16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.MSICAL[7:0]
rrrrrrrr
1514131211109876543210
Res.Res.Res.MSITRIM[4:0]Res.Res.Res.Res.Res.Res.Res.Res.
rwrwrwrwrw
Bits 23:16MSICAL[7:0]: MSI clock calibration
Bits 12:8MSITRIM[4:0]: MSI clock trimming
RM0457 Rev 51141/5881

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

21.8.59 RCC RTC clock divider register (RCC_RTCDIVR)

Address offset: 0x4B0

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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RTCDIV[5:0]
rwrwrwrwrwrw

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 RTC_SRC ≠ 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

21.8.60 RCC APB1 clock divider register (RCC_APB1DIVR)

Address offset: 0x4B4

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 183 for details). Any read access is allowed.

31302928272625242322212019181716
APB1DIVRDYRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
r
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.APB1DIV[2:0]
rwrwrw

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

21.8.61 RCC APB2 clock divider register (RCC_APB2DIVR)

Address offset: 0x4B8

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 183 for details). Any read access is allowed.

RM0457column_2Bit 31 Bits 2:0column_4APB1DIVRDY APB1DIV[2:0] Others: ReservedTable 183column_7column_8column_9column_10column_11column_12column_13column_14column_15for
31 APB2D302928272625242322212019181716
IVRDY rRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.APB2DIV[2:0]
rwrwrw
Bit 31APB2DIVRDY: APB2 clock prescaler status
RM0457 Rev 51143/5881

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

21.8.62 RCC APB3 clock divider register (RCC_APB3DIVR)

Address offset: 0x4BC

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 183 for details). Any read access is allowed.

31302928272625242322212019181716
APB3DIVRDYRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
r
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.APB3DIV[2:0]
rwrwrw

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

21.8.63 RCC APB4 clock divider register (RCC_APB4DIVR)

Address offset: 0x4C0

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 183 for details). Any read access is allowed.

31302928272625242322212019181716
APB4DIVRDYRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
r
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.APB4DIV[2:0]
rwrwrw

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

21.8.64 RCC APBDBG clock divider register (RCC_APBDBGDIVR)

Address offset: 0x4C4

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 183 for details). Any read access is allowed.

column_1column_2column_3column_4column_5Table 183column_7column_8column_9column_10column_11column_12column_13column_14column_15RM0457 for
31 APBDB302928272625242322212019181716
GDIVR DY rRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.APBDBGDIV[2:0]
rwrwrw
Bit 31APBDBGDIVRDY: APBDBG clock divider status
Bits 2:0APBDBGDIV[2:0]: APBDBG clock divider

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

21.8.65 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
TIMG1
PRERD
Y
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
r
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.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 134).

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

21.8.66 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, TIM20 (see Root clock generation for details). Write accesses are defined according to the RCC local resource number 69 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
TIMG2
PRERD
Y
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
r
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.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 134).

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 × 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 × Fck_icn_apb2.

21.8.67 RCC LSMCU 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
LSMCU
DIVRDY
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
r
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LSMCU
DIV
rw

Bit 31 LSMCUDIVRDY: LSMCU 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: LSMCU 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

21.8.68 RCC DDRC 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 DDRC AXI ports. Write accesses are defined according to the RCC local resource number 104 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DDRC
PLPEN
DDRC
PEN
DDRC
PRST
rwrwrw

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

Bit 2 DDRCPLPEN: DDRC 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: DDRC 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: DDRC AXI port reset

Set and cleared by software.

0: Writing 0 releases DDRC AXI port interface reset. Reading 0 means that DDRC AXI port interface is not under reset (default after reset).

1: Writing 1 sets DDRC AXI port interface under reset. Reading 1 means that DDRC AXI port interface is under reset.

21.8.69 RCC DDRC 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 DDRC APB. Write accesses are defined according to the RCC local resource number 104 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DDRC
APBLP
EN
DDRC
APBEN
DDRC
APBRS
T
rwrwrw

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

Bit 2 DDRCAPBLPEN: DDRC 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: DDRC 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: DDRC APB reset

Set and cleared by software.

0: Writing 0 releases DDRC APB interface reset. Reading 0 means that DDRC APB interface is not under reset (default after reset).

1: Writing 1 sets DDRC APB interface under reset. Reading 1 means that DDRC APB interface is under reset.

21.8.70 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DDRP
HYCAP
BLPEN
DDRP
HYCAP
BEN
DDRP
HYCAP
BRST
rwrwrw

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.

21.8.71 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 183 for details). Any read access is allowed.

column_1column_2column_3column_4column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14Table 183RM0457 for
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DDRP HYCEN rw
Bit 1DDRPHYCEN: DDRPHYC kernel clock enable
resource number 104 configuration (seeTable 183for details). Any read access is allowed.
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DDRCFDDRCFDDRCF
GLPENGENGRST
rwrwrw
Bit 2DDRCFGLPEN: DDR APB configuration clock enable during CSleep

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.

21.8.72 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 183 for details). Any read access is allowed.

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.

21.8.73 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DDRP
HYDLP
rw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.DDRS
HR
Res.Res.DDRCCKMOD[1:0]Res.Res.Res.DDRR
ST
rwrwrwrw

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 DDRSRHR: 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 DDRC 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. Te 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).

21.8.74 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SYSRAMLPENSYSRAMENRes.
rwrw

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.

21.8.75 RCC VDERAM configuration register (RCC_VDERAMCFGR)

Address offset: 0x4F4

Reset value: 0x0000 0004

This register is used to control clock gating and low-power behavior of the VDERAM.
Write accesses are defined according to the RCC local resource number 75 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VDERA
MLPEN
VDERA
MEN
Res.
rwrw

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

Bit 2 VDERAMLPEN: VDERAM 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 VDERAMEN: VDERAM 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.

21.8.76 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SRAM1
LPEN
SRAM1
EN
Res.
rwrw

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.

21.8.77 RCC SRAM2 configuration register (RCC_SRAM2CFGR)

Address offset: 0x4FC

Reset value: 0x0000 0004

This register is used to control clock gating and low-power behavior of the SRAM2.

Write accesses are defined according to the RCC local resource number 79 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SRAM2
LPEN
SRAM2
EN
Res.
rwrw

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

Bit 2 SRAM2LPEN: SRAM2 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 SRAM2EN: SRAM2 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.

21.8.78 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 183 for details). Any read access is allowed.

RM0457column_2(seeTable 183column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RETRARETRA
MLPEN rwMEN rwRes.
Bit 2RETRAMLPEN: RETRAM clock enable during CSleep
Bit 1RETRAMEN: RETRAM clock enable
(see Table 183for details). Any read access is allowed.
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
15141312111098765432 BKPSR1 BKPSR0
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.AMLPE N rwAMEN rwRes.
RM0457 Rev 51157/5881

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.

21.8.79 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 183 for details). Any read access is allowed.

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.

21.8.80 RCC LPSRAM1 configuration register (RCC_LPSRAM1CFGR)

Address offset: 0x508

Reset value: 0x0000 0004

This register is used to control clock gating, low-power, and autonomous clock mode behavior of the LPSRAM1. 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 80 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LPSRAM1AMENLPSRAM1LPENLPSRAM1ENRes.
rwrwrw

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

Bit 3 LPSRAM1AMEN: LPSRAM1 autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables autonomous clock mode. Reading 1 means that autonomous clock mode is enabled.

Bit 2 LPSRAM1LPEN: LPSRAM1 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 LPSRAM1EN: LPSRAM1 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.

21.8.81 RCC LPSRAM2 configuration register (RCC_LPSRAM2CFGR)

Address offset: 0x50C

Reset value: 0x0000 0004

This register is used to control clock gating, low-power, and autonomous clock mode behavior of the LPSRAM2. 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 81 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LPSRAM2AMENLPSRAM2LPENLPSRAM2ENRes.
rwrwrw

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

Bit 3 LPSRAM2AMEN: LPSRAM2 autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables the autonomous clock mode. Reading 1 means that the autonomous clock mode is enabled

Bit 2 LPSRAM2LPEN: LPSRAM2 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 LPSRAM2EN: LPSRAM2 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.

21.8.82 RCC LPSRAM3 configuration register (RCC_LPSRAM3CFGR)

Address offset: 0x510

Reset value: 0x0000 0004

This register is used to control clock gating, low-power, and autonomous clock mode behavior of the LPSRAM3. 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 82 configuration (see Table 183 for details). Any read access is allowed.

column_1column_2(seeTable 183column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15RM0457
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543 LPSRA2 LPSRA1 LPSRA0
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.M3AM ENM3LPE NM3ENRes.
rwrwrw
Bit 3LPSRAM3AMEN: LPSRAM3 autonomous clock mode enable
Bit 2LPSRAM3LPEN: LPSRAM3 clock enable during CSleep
Bit 1LPSRAM3EN: LPSRAM3 clock enable

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

Bit 3 LPSRAM3AMEN: LPSRAM3 autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables the autonomous clock mode. Reading 1 means that the autonomous clock mode is enabled

Bit 2 LPSRAM3LPEN: LPSRAM3 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 LPSRAM3EN: LPSRAM3 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.

21.8.83 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.OSPI1
DLLRST
rw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.OTFDEC1RSTRes.Res.Res.Res.Res.OSPI1LPENOSPI1ENOSPI1RST
rwrwrwrw

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.

21.8.84 RCC OCTOSPI2 configuration register (RCC_OSPI2CFGR)

Address offset: 0x518

Reset value: 0x0000 0004

This register is used to control the reset, clock gating, and low-power behavior of the OCTOSPI2 and the OTFDEC2. Write accesses are defined according to the RCC local resource number 111 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.OSPI2
DLLRST
rw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.OTFDE
C2RST
Res.Res.Res.Res.Res.OSPI2L
PEN
OSPI2
EN
OSPI2
RST
rwrwrwrw

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

Bit 16 OSPI2DLLRST: OCTOSPI2 DLL reset

Set and cleared by software.

0: Writing 0 releases OCTOSPI2 DLL reset. Reading 0 means that OCTOSPI2 DLL reset is released.

1: Writing 1 asserts OCTOSPI2 DLL reset. Reading 1 means that OCTOSPI2 DLL reset is asserted.

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

Bit 8 OTFDEC2RST: OTFDEC2 reset

Set and cleared by software.

0: Writing 0 releases OTFDEC2 reset. Reading 0 means that OTFDEC2 reset is released.

1: Writing 1 asserts OTFDEC2 reset. Reading 1 means that OTFDEC2 reset is asserted.

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

Bit 2 OSPI2LPEN: OCTOSPI2 and OTFDEC2 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 OSPI2EN: OCTOSPI2 and OTFDEC2 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 OSPI2RST: OCTOSPI2 reset

Set and cleared by software.

0: Writing 0 releases OCTOSPI2 reset. Reading 0 means that OCTOSPI2 reset is released.

1: Writing 1 asserts OCTOSPI2 reset. Reading 1 means that OCTOSPI2 reset is asserted.

21.8.85 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FMCLP
EN
FMCE
N
FMCR
ST
rwrwrw

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.

21.8.86 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.DBG
RST
Res.Res.TRACE
EN
DBG
EN
Res.Res.Res.Res.Res.Res.Res.Res.
rwrwrw

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

Bit 12 DBGST: 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.

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

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 DBGEN: 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.

21.8.87 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 183 for details). Any read access is allowed.

column_1column_2Bit 12 Bit 9 Bit 8 (seeDBGRST TRACEEN DBGEN Table 183column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15RM0457
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STMLP
EN rwSTMEN rwRes.
Bit 2STMLPEN: STM clock enable during CSleep
Bit 1STMEN: STM clock enable

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.

21.8.88 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ETRLP
EN
ETRENRes.
rwrw

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.

21.8.89 RCC GPIOx configuration register (RCC_GPIOxCFGR) (x = A to K)

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

Address offset: Block J: 0x550

Address offset: Block K: 0x554

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 100 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.GPIOx LPENGPIOx ENGPIOx RST
rwrwrw

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

Bit 2 GPIOxLPEN: GPIO x 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 GPIOxEN: GPIO x 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 GPIOxRST: GPIO x reset

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

21.8.90 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 GPIOZRS. 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.GPIOZ
AMEN
GPIOZ
LPEN
GPIOZ
EN
GPIOZ
RST
rwrwrwrw

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

Bit 3 GPIOZAMEN: GPIOZ autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables the autonomous clock mode. Reading 0 means that the autonomous clock mode is disabled.

1: Writing 1 enables the autonomous clock mode. Reading 1 means that the autonomous clock mode is enabled.

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.

21.8.91 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HPDM
A1LPE
N
HPDM
A1EN
HPDM
A1RST
rwrwrw

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.

21.8.92 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HPDM
A2LPE
N
HPDM
A2EN
HPDM
A2RST
rwrwrw

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.

21.8.93 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HPDM
A3LPE
N
HPDM
A3EN
HPDM
A3RST
rwrwrw

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.

21.8.94 RCC LPDMA1 configuration register (RCC_LPDMACFGR)

Address offset: 0x568

Reset value: 0x0000 0004

This register is used to control reset, clock gating, low-power, and autonomous clock mode behavior of the LPDMA1. Wait states are inserted in case of successive write accesses to this register except on LPDMARST. 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 86 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LPDMA
AMEN
LPDMA
LPEN
LPDMA
EN
LPDMA
RST
rwrwrwrw

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

Bit 3 LPDMAAMEN: LPDMA1 autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables autonomous clock mode. Reading 1 means that autonomous clock mode is enabled.

Bit 2 LPDMALPEN: LPDMA1 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 LPDMAEN: LPDMA1 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 LPDMARST: LPDMA1 reset

Set and cleared by software.

0: Writing 0 releases LPDMA1 reset. Reading 0 means that LPDMA1 reset is released.

1: Writing 1 asserts LPDMA1 reset. Reading 1 means that LPDMA1 reset is asserted.

21.8.95 RCC HSEM configuration register (RCC_HSEMCFG)

Address offset: 0x56C

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the HSEM. Wait states are inserted in case of successive write accesses to this register except on HSEMRST. 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 89 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HSEM
AMEN
HSEML
PEN
HSEM
EN
HSEM
RST
rwrwrwrw

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

Bit 3 HSEAMEN: HSEM autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables autonomous clock mode. Reading 1 means that autonomous clock mode is enabled.

Bit 2 HSEMLPEN: HSEM 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 HSEMEN: HSEM 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 HSEMRST: HSEM reset

Set and cleared by software.

0: Writing 0 releases HSEM reset. Reading 0 means that HSEM reset is released.

1: Writing 1 asserts HSEM reset. Reading 1 means that HSEM reset is asserted.

21.8.96 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IPCC1LPENIPCC1ENIPCC1RST
rwrwrw

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

ST logo
ST logo

21.8.97 RCC IPCC2 configuration register (RCC_IPCC2CFGR)

Address offset: 0x574

Reset value: 0x0000 0004

This register is used to control reset, clock gating, low-power, and autonomous clock mode behavior of the IPCC2. Wait states are inserted in case of successive write accesses to this register except on IPCC2RST. 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 88 configuration (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IPCC2
AMEN
IPCC2L
PEN
IPCC2
EN
IPCC2
RST
rwrwrwrw

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

Bit 3 IPCC2AMEN: IPCC2 autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables autonomous clock mode. Reading 1 means that autonomous clock mode is enabled.

Bit 2 IPCC2LPEN: IPCC2 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 IPCC2EN: IPCC2 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 IPCC2RST: IPCC2 reset

Set and cleared by software.

0: Writing 0 releases IPCC2 reset. Reading 0 means that IPCC2 reset is released.

1: Writing 1 asserts IPCC2 reset. Reading 1 means that IPCC2 reset is asserted.

21.8.98 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RTCAM
EN
RTCLP
EN
RTCENRes.
rwrwrw

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

Bit 3 RTCAMEN: RTC autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables autonomous clock mode. Reading 1 means that autonomous clock mode is enabled.

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.

21.8.99 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 183 for details). Any read access is allowed.

RM0457column_2column_3column_4column_5Table 183column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
15141312111098765432 SYSCP1 SYSCP0
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.U1LPE NU1ENRes.
rw rwrw rw
Bit 2SYSCPU1LPEN: CPU1 system configuration clock enable during CSleep
Bit 1SYSCPU1EN: CPU1 system configuration clock enable
(see Table 183for details). Any read access is allowed.
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BSECLBSECE
PENNRes.
rw rwrw rw
RM0457 Rev 51175/5881

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.

21.8.100 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 183 for details). Any read access is allowed.

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.

21.8.101 RCC PLLx configuration register 1 (RCC_PLLxCFGR1)

Address offset: 0x590 + 0x28 * (x - 2), (x = 2 to 3)

Reset value: 0x0000 0001

This register is used to configure PLLx in the device. Write accesses are defined according to the RCC local resource number 104 configuration for PLL2, and to the RCC local resource number 105 configuration for PLL3 (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.CKREFSTRes.Res.Res.PLLRDYRes.Res.Res.Res.Res.Res.Res.Res.
rc_wr
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.PLLENRes.Res.Res.Res.Res.Res.Res.SSMO DRST
rwrw

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

Bit 28 CKREFST: PLLx reference clock state

Set by hardware and cleared by software. Indicates if PLLx 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 PLLx reference clock is not running. Writing 0 resets the reference clock running detector.

1: Reading 1 means that PLLx 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: PLLx clock ready flag

Set by hardware to indicate when the PLLx is locked

0: PLLx unlocked (default after reset)

1: PLLx locked

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

Bit 8 PLLEN: PLLx enable

Set and cleared by software to enable PLLx.

0: PLLx off (default after reset)

1: PLLx on

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

Bit 0 SSMODRST: PLLx spread-spectrum modulator reset

Set and cleared by software.

0: PLLx spread-spectrum modulator reset module is released.

1: PLLx spread-spectrum modulator reset module is asserted (default after reset).

21.8.102 RCC PLLx configuration register 2 (RCC_PLLxCFGR2)

Address offset: 0x594+0x28*(x-2), (x = 2 to 3)

Reset value: 0x0000 0000

This register is used to configure PLLx in the device. Write accesses are defined according to the RCC local resource number 104 configuration for PLL2 and to the RCC local resource number 105 configuration for PLL3 (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.FBDIV[11:0]
rwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FREFDIV[5:0]
rwrwrwrwrwrw

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

Bits 27:16 FBDIV[11:0]: PLLx 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]: PLLx reference input clock divide frequency ratio

Set and cleared by software.

0x0: Not applicable when PLLx 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

21.8.103 RCC PLLx configuration register 3 (RCC_PLLxCFGR3)

Address offset: 0x598 + 0x28 * (x - 2), (x = 2 to 3)

Reset value: 0x0400 0000

This register is used to configure the PLLx in the device. Write accesses are defined according to the RCC local resource number 104 configuration for PLL2 and to the RCC local resource number 105 configuration for PLL3 (see Table 183 for details). Any read access is allowed.

RM0457 Bit 18 Bit 17 Bit 16 Bit 6 Bit 5 Bit 4DEDF DISTURBF PROGFAIL OTPSEC OTPERR OTPNVIR: Disturb flag : Programming failed : OTP with error : OTP not virgin
31 30 292827 26 25 24 23 22 21 20 19 18 17 16 DOWN
Res. Res. Res.Res.Res. SSCG SPREA FRACIN[23:16] DIS DACEN D
rw rw rw rw rw rw rw rw rw rw rw
15 14 131211 10 9 8 7 6 5 4 3 2 1 0 FRACIN[15:0]
rw rw rwrwrw rw rw rw rw rw rw rw rw rw rw rw
Bit 26SSCGDIS: PLLx spread-spectrum modulator enable
Bit 25DACEN: PLLx noise canceling DAC enable in fractional mode 1: DAC active
Bit 24DOWNSPREAD: PLLx VCO frequency modulation mode
Bits 23:0FRACIN[23:0]: Fractional part of PLLx VCO multiplication factor

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

Bit 26 SSCGDIS: PLLx spread-spectrum modulator enable

Set and cleared by software to enable the PLLx clock spreading generator.

0: PLLx spread-spectrum modulator enabled

1: PLLx spread-spectrum modulator disabled (default after reset)

Bit 25 DACEN: PLLx 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: PLLx VCO frequency modulation mode

Set and cleared by software to select the PLLx 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 PLLx VCO multiplication factor

Set and cleared by software to control the VCO fractional multiplication factor.

VCO output frequency = FREF*(FBDIV+FRAC/2²⁴)/FREFDIV

21.8.104 RCC PLLx configuration register 4 (RCC_PLLxCFGR4)

Address offset: 0x59C+0x28*(x-2), (x = 2 to 3)

Reset value: 0x0000 0000, 0x0000 0600

This register is used to configure PLLx in the device. Write accesses are defined according to the RCC local resource number 104 configuration for PLL2 and to the RCC local resource number 105 configuration for PLL3 (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.BYPAS
S
FOUTP
OSTDI
VEN
DSME
N
Res.Res.Res.Res.Res.Res.Res.Res.
rwrwrw

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

Bit 10 BYPASS: PLLx 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: PLLx output and post divider enable

Set and cleared by software to enable PLLx 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: PLLx 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.

21.8.105 RCC PLLx configuration register 5 (RCC_PLLxCFGR5)

Address offset: 0x5A0+0x28*(x-2), (x = 2 to 3)

Reset value: 0x0000 0000

This register is used to configure PLLx in the device. Write accesses are defined according to the RCC local resource number 104 configuration for PLL2 and to the RCC local resource number 105 configuration for PLL3 (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SPREAD[4:0]
rwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DIVVAL[3:0]
rwrwrwrw

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

Bits 20:16 SPREAD[4:0]: Modulation depth adjustment for PLLx

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 PLLx

Set and cleared by software to adjust the modulation frequency of clock spreading generator.

21.8.106 RCC PLLx configuration register 6 (RCC_PLLxCFGR6)

Address offset: 0x5A8+0x28*(x-2), (x = 2 to 3)

Reset value: 0x0000 0000

This register is used to configure PLLx in the product. Write accesses are defined according to the RCC local resource number 104 configuration for PLL2 and to the RCC local resource number 105 configuration for PLL3 (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.POSTDIV1[2:0]
rwrwrw

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

Bits 2:0 POSTDIV1[2:0]: PLLx 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

21.8.107 RCC PLLx configuration register 7 (RCC_PLLxCFGR7)

Address offset: 0x5AC+0x28*(x-2), (x = 2 to 3)

Reset value: 0x0000 0000

This register is used to configure PLLx in the product. Write accesses are defined according to the RCC local resource number 104 configuration for PLL2 and to the RCC local resource number 105 configuration for PLL3 (see Table 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.POSTDIV2[2:0]
rwrwrw

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

Bits 2:0 POSTDIV2[2:0]: PLLx 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\)

21.8.108 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
HSIMONFHSIMONIERes.Res.Res.Res.Res.Res.Res.Res.HSIDEV[5:0]
rc_w1rwrwrwrwrwrwrw
1514131211109876543210
HSIMONENRes.Res.Res.Res.HSIREF[10:0]
rwrwrwrwrwrwrwrwrwrwrwrw

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.

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

column_1column_2Bits 10:0column_4HSIREF[10:0]column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15RM0457
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.HSIVAL[10:0]
rrrrrrrrrrr
Bits 10:0HSIVAL[10:0]: HSI clock-cycle counter value
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM1LPTIM1ETIM1R
ENNST
rwrwrw
Bit 2TIM1LPEN: TIM1 clock enable during CSleep

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

Bits 10:0 HSIVAL[10:0]: HSI clock-cycle counter value
Set by hardware.

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

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM2LP
EN
TIM2E
N
TIM2R
ST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM3LP
EN
TIM3E
N
TIM3R
ST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM4LP
EN
TIM4E
N
TIM4R
ST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM5LPENTIM5ENTIM5RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM6LP
EN
TIM6E
N
TIM6R
ST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM7LP
EN
TIM7E
N
TIM7R
ST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM8LPENTIM8ENTIM8RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM10L
PEN
TIM10E
N
TIM10
RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM11L
PEN
TIM11E
N
TIM11R
ST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM12LPENTIM12ENTIM12RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM13L
PEN
TIM13E
N
TIM13
RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM14L
PEN
TIM14E
N
TIM14
RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM15LPENTIM15ENTIM15RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM16L
PEN
TIM16E
N
TIM16
RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM17L
PEN
TIM17E
N
TIM17
RST
rwrwrw

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.

21.8.126 RCC TIM20 configuration register (RCC_TIM20CFGR)

Address offset: 0x740

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the TIM20. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM20LPENTIM20ENTIM20RST
rwrwrw

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

Bit 2 TIM20LPEN: TIM20 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 TIM20EN: TIM20 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 TIM20RST: TIM20 reset

Set and cleared by software.

0: Writing 0 releases TIM20 reset. Reading 0 means that TIM20 reset is released.

1: Writing 1 asserts TIM20 reset. Reading 1 means that TIM20 reset is asserted.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LPTIM1
LPEN
LPTIM1
EN
LPTIM1
RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LPTIM2
LPEN
LPTIM2
EN
LPTIM2
RST
rwrwrw

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

21.8.129 RCC LPTIM3 configuration register (RCC_LPTIM3CFGR)

Address offset: 0x74C

Reset value: 0x0000 0004

This register is used to control reset, clock gating, low-power, and autonomous clock mode behavior of the LPTIM3. Wait states are inserted in case of successive write accesses to this register except on LPTIM3RST. The number of wait states may be up to 7 cycles of the RCC clock. Any read access is allowed.

RM0457column_2Bit 2 Bit 1 Bit 0LPTIM2EN LPTIM2RSTLPTIM2LPEN: LPTIM2 resetcolumn_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LPTIM3LPTIM3LPTIM3LPTIM3
AMENLPENENRST
rwrwrwrw
Bit 3LPTIM3AMEN: LPTIM3 autonomous clock mode enable
Bit 2LPTIM3LPEN: LPTIM3 clock enable during CSleep
RM0457 Rev 51195/5881

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

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.

21.8.130 RCC LPTIM4 configuration register (RCC_LPTIM4CFGR)

Address offset: 0x750

Reset value: 0x0000 0004

This register is used to control reset, clock gating, low-power, and autonomous clock mode behavior of the LPTIM4. Wait states are inserted in case of successive write accesses to this register except on LPTIM4RST. The number of wait states may be up to 7 cycles of the RCC clock. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LPTIM4
AMEN
LPTIM4
LPEN
LPTIM4
EN
LPTIM4
RST
rwrwrwrw

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

Bit 3 LPTIM4AMEN: LPTIM4 autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables autonomous clock mode. Reading 1 means that autonomous clock mode is enabled.

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.

21.8.131 RCC LPTIM5 configuration register (RCC_LPTIM5CFGR)

Address offset: 0x754

Reset value: 0x0000 0004

This register is used to control reset, clock gating, low-power, and autonomous clock mode behavior of the LPTIM5. Wait states are inserted in case of successive write accesses to this register except on LPTIM5RST. The number of wait states may be up to 7 cycles of the RCC clock. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LPTIM5
AMEN
LPTIM5
LPEN
LPTIM5
EN
LPTIM5
RST
rwrwrwrw

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

Bit 3 LPTIM5AMEN: LPTIM5 autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables autonomous clock mode. Reading 1 means that autonomous clock mode is enabled.

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SPI1LP
EN
SPI1E
N
SPI1R
ST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SPI2LP
EN
SPI2E
N
SPI2R
ST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SPI3LPENSPI3ENSPI3RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SPI4LP
EN
SPI4E
N
SPI4R
ST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SPI5LP
EN
SPI5E
N
SPI5R
ST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SPI6LPENSPI6ENSPI6RST
rwrwrw

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.

21.8.138 RCC SPI7 configuration register (RCC_SPI7CFGR)

Address offset: 0x770

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the SPI7. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SPI7LP
EN
SPI7E
N
SPI7R
ST
rwrwrw

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

Bit 2 SPI7LPEN: SPI7 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 SPI7EN: SPI7 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 SPI7RST: SPI7 reset

Set and cleared by software.

0: Writing 0 releases SPI7 reset. Reading 0 means that SPI7 reset is released.

1: Writing 1 asserts SPI7 reset. Reading 1 means that SPI7 reset is asserted.

21.8.139 RCC SPI8 configuration register (RCC_SPI8CFGR)

Address offset: 0x774

Reset value: 0x0000 0004

This register is used to control reset, clock gating, low-power, and autonomous clock mode behavior of the SPI8. Wait states are inserted in case of successive write accesses to this register except on SPI8RST. The number of wait states may be up to 7 cycles of the RCC clock. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SPI8AMENSPI8LPENSPI8ENSPI8RST
rwrwrwrw

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

Bit 3 SPI8AMEN: SPI8 autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables autonomous clock mode. Reading 1 means that autonomous clock mode is enabled.

Bit 2 SPI8LPEN: SPI8 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 SPI8EN: SPI8 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 SPI8RST: SPI8 reset

Set and cleared by software.

0: Writing 0 releases SPI8 reset. Reading 0 means that SPI8 reset is released.

1: Writing 1 asserts SPI8 reset. Reading 1 means that SPI8 reset is asserted.

21.8.140 RCC SPDIFRX configuration register (RCC_SPDIFRXCGR)

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.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SPDIF
RXLPEN
SPDIF
RXEN
SPDIF
RXRST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USART
1LPEN
USART
1EN
USART
1RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USART
2LPEN
USART
2EN
USART
2RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USART
3LPEN
USART
3EN
USART
3RST
rwrwrw
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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UART4
LPEN
UART4
EN
UART4
RST
rwrwrw
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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UART5
LPEN
UART5
EN
UART5
RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USART
6LPEN
USART
6EN
USART
6RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UART7
LPEN
UART7
EN
UART7
RST
rwrwrw

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.

21.8.148 RCC UART8 configuration register (RCC_UART8CFGR)

Address offset: 0x798

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the UART8. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UART8
LPEN
UART8
EN
UART8
RST
rwrwrw

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

Bit 2 UART8LPEN: UART8 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 UART8EN: UART8 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 UART8RST: UART8 reset

Set and cleared by software.

0: Writing 0 releases UART8 reset. Reading 0 means that UART8 reset is released.

1: Writing 1 asserts UART8 reset. Reading 1 means that UART8 reset is asserted.

21.8.149 RCC UART9 configuration register (RCC_UART9CFGR)

Address offset: 0x79C

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the UART9.
Any read access is allowed.

column_1column_2column_3column_4column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15RM0457
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UART9UART9UART9
LPENENRST
rwrwrw
Bit 2UART9LPEN: UART9 clock enable during CSleep
Bit 1UART9EN: UART9 clock enable
Bit 0UART9RST: UART9 reset
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543 LPUAR2 LPUAR1 LPUAR0 LPUAR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.T1AMET1LPE
N NN N
rwrwrwrw

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

Bit 2 UART9LPEN: UART9 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 UART9EN: UART9 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 UART9RST: UART9 reset

Set and cleared by software.

0: Writing 0 releases UART9 reset. Reading 0 means that UART9 reset is released.

1: Writing 1 asserts UART9 reset. Reading 1 means that UART9 reset is asserted.

21.8.150 RCC LPUART1 configuration register (RCC_LPUART1CFGR)

Address offset: 0x7A0

Reset value: 0x0000 0004

This register is used to control reset, clock gating, low-power, and autonomous clock mode behavior of the LPUART1. Wait states are inserted in case of successive write accesses to this register except on LPUART1RST. The number of wait states may be up to 7 cycles of the RCC clock. Any read access is allowed.

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

Bit 3 LPUART1AMEN: LPUART1 autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables autonomous clock mode. Reading 1 means that autonomous clock mode is enabled.

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.I2C1LPENI2C1ENI2C1RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.I2C2LPENI2C2ENI2C2RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.I2C3LPENI2C3ENI2C3RST
rwrwrw

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.

21.8.154 RCC I2C4 configuration register (RCC_I2C4CFGR)

Address offset: 0x7B0

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the I2C4. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.I2C4LPENI2C4ENI2C4RST
rwrwrw

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

Bit 2 I2C4LPEN: I2C4 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 I2C4EN: I2C4 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 I2C4RST: I2C4 reset

Set and cleared by software.

0: Writing 0 releases I2C4 reset. Reading 0 means that I2C4 reset is released.

1: Writing 1 asserts I2C4 reset. Reading 1 means that I2C4 reset is asserted.

21.8.155 RCC I2C5 configuration register (RCC_I2C5CFGR)

Address offset: 0x7B4

Reset value: 0x0000 0004

This register is used to control reset, clock gating and low-power behavior of I2C5. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.I2C5LPENI2C5ENI2C5RST
rwrwrw

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

Bit 2 I2C5LPEN: I2C5 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 I2C5EN: I2C5 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 I2C5RST: I2C5 reset

Set and cleared by software.

0: Writing 0 releases I2C5 reset. Reading 0 means that I2C5 reset is released.

1: Writing 1 asserts I2C5 reset. Reading 1 means that I2C5 reset is asserted.

21.8.156 RCC I2C6 configuration register (RCC_I2C6CFGR)

Address offset: 0x7B8

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the I2C6. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.I2C6LPENI2C6ENI2C6RST
rwrwrw

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

Bit 2 I2C6LPEN: I2C6 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 I2C6EN: I2C6 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 I2C6RST: I2C6 reset

Set and cleared by software.

0: Writing 0 releases I2C6 reset. Reading 0 means that I2C6 reset is released.

1: Writing 1 asserts I2C6 reset. Reading 1 means that I2C6 reset is asserted.

21.8.157 RCC I2C7 configuration register (RCC_I2C7CFGR)

Address offset: 0x7BC

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the I2C7. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.I2C7LPENI2C7ENI2C7RST
rwrwrw

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

Bit 2 I2C7LPEN: I2C7 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 I2C7EN: I2C7 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 I2C7RST: I2C7 reset

Set and cleared by software.

0: Writing 0 releases I2C7 reset. Reading 0 means that I2C7 reset is released.

1: Writing 1 asserts I2C7 reset. Reading 1 means that I2C7 reset is asserted.

21.8.158 RCC I2C8 configuration register (RCC_I2C8CFGR)

Address offset: 0x7C0

Reset value: 0x0000 0004

This register is used to control reset, clock gating, low-power, and autonomous clock mode behavior of the I2C8. Wait states are inserted in case of successive write accesses to this register except on I2C8RST. The number of wait states may be up to 7 cycles of the RCC clock. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.I2C8AMENI2C8LPENI2C8ENI2C8RST
rwrwrwrw

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

Bit 3 I2C8AMEN: I2C8 autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables autonomous clock mode. Reading 1 means that autonomous clock mode is enabled.

Bit 2 I2C8LPEN: I2C8 peripheral clocks enable during CSleep mode

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SAI1LPENSAI1ENSAI1RST
rwrwrw

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

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SAI2LP
EN
SAI2E
N
SAI2R
ST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SAI3LP
EN
SAI3E
N
SAI3R
ST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SAI4LPENSAI4ENSAI4RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MDF1L
PEN
MDF1E
N
MDF1R
ST
rwrwrw

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.

21.8.164 RCC ADF1 configuration register (RCC_ADF1CFGR)

Address offset: 0x7DC

Reset value: 0x0000 0004

This register is used to control reset, clock gating, low-power, and autonomous clock mode behavior of the ADF1. Wait states are inserted in case of successive write accesses to this register except on ADF1RST bitfield. The number of wait states may be up to 7 cycles of the RCC clock. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ADF1A
MEN
ADF1L
PEN
ADF1E
N
ADF1R
ST
rwrwrwrw

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

Bit 3 ADF1AMEN: ADF1 autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables autonomous clock mode. Reading 1 means that autonomous clock mode is enabled.

Bit 2 ADF1LPEN: ADF1 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 ADF1EN: ADF1 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 ADF1RST: ADF1 reset

Set and cleared by software.

0: Writing 0 releases ADF1 reset. Reading 0 means that ADF1 reset is released.

1: Writing 1 asserts ADF1 reset. Reading 1 means that ADF1 reset is asserted.

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

RM0457column_2Bit 3 Bit 2 Bit 1 Bit 0ADF1AMEN ADF1LPEN ADF1EN ADF1RSTmode is disabled. mode is enabled.: ADF1 resetcolumn_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FDCANFDCANFDCAN
LPENENRST
rwrwrw
Bit 2FDCANLPEN: FDCAN clock enable during CSleep
RM0457 Rev 51221/5881

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.

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

column_1column_2Bit 1 Bit 0 is allowed.FDCANEN FDCANRSTcolumn_5: FDCAN resetcolumn_7column_8column_9column_10column_11column_12column_13column_14column_15RM0457
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HDPEN rwHDPRS T rw
Bit 1HDPEN: HDP clock enable
Bit 0HDPRST: HDP reset

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.

ST logo
ST logo

21.8.167 RCC ADC12 configuration register (RCC_ADC12CFGR)

Address offset: 0x7E8

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the ADC12.
Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.ADC12
KERSE
L
Res.Res.Res.Res.Res.Res.Res.Res.Res.ADC12
LPEN
ADC12
EN
ADC12
RST
rwrwrwrw

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

Bit 12 ADC12KERSEL: ADC12 kernel clock source selection

Set and cleared by software.

0: Kernel clock source is ck_ker_adc12.

1: Kernel clock source is ck_icn_ls_mcu.

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

Bit 2 ADC12LPEN: ADC12 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 ADC12EN: ADC12 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 ADC12RST: ADC12 reset

Set and cleared by software.

0: Writing 0 releases ADC12 reset. Reading 0 means that ADC12 reset is released.

1: Writing 1 asserts ADC12 reset. Reading 1 means that ADC12 reset is asserted.

21.8.168 RCC ADC3 configuration register (RCC_ADC3CFGR)

Address offset: 0x7EC

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the ADC3.
Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.ADC3KERSEL[1:0]Res.Res.Res.Res.Res.Res.Res.Res.Res.ADC3LPENADC3ENADC3RST
rwrwrwrwrw

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

Bits 13:12 ADC3KERSEL[1:0]: ADC3 kernel clock source select

Set and cleared by software.

0x0: Kernel source clock is ck_ker_adc3.

0x1: Kernel source clock is ck_icn_ls_mcu.

0x2: Kernel source clock is ck_ker_adc12.

0x3: Reserved

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

Bit 2 ADC3LPEN: ADC3 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 ADC3EN: ADC3 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 ADC3RST: ADC3 reset

Set and cleared by software.

0: Writing 0 releases ADC3 reset. Reading 0 means that ADC3 reset is released.

1: Writing 1 asserts ADC3 reset. Reading 1 means that ADC3 reset is asserted.

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

RM0457Bits 5:3 Bits 2:0column_3POSTDIV2[2:0] POSTDIV1[2:0]column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
15141312111098765432 ETH1M10
Res.Res.Res.Res.ETH1RETH1RETH1TETH1TETH1EETH1SACLPEETH1METH1R
XENRes.ETH1L
XLPENXENXLPENPENNTPENRes.ACENST
rwrwrwrwrwrwrwrwrwrw
Bit 11ETH1RXLPEN: Ethernet 1 reception clock enable during CSleep
Bit 10ETH1RXEN: Ethernet 1 reception clock enable
Bit 9 ETH1TXLPEN: Ethernet 1 transmission clock enable during CSleep
Bit 8 ETH1TXEN: Ethernet 1 transmission clock enable
Bit 6 ETH1LPEN: Ethernet 1 kernel clock enable during CSleep
Bit 5 ETH1EN: Ethernet 1 kernel clock enable
RM0457 Rev 51225/5881

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.

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

column_1column_2Bit 4 Bit 2 Bit 1 Bit 0ETH1STPEN ETH1MACEN ETH1RSTETH1MACLPEN: Ethernet 1 resetcolumn_7column_8column_9column_10column_11column_12column_13column_14column_15RM0457
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
15141312111098765432 ETH2M10
Res.Res.Res.Res.ETH2RETH2RETH2TETH2TETH2EETH2SETH2METH2R
XENRes.ETH2L
XLPENXENXLPENPENNTPENRes.ACLPE NACENST
rwrwrwrwrwrwrwrwrwrw
Bit 11ETH2RXLPEN: Ethernet 2 reception clock enable during CSleep

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USBHSTPENRes.USBHLPENUSBHENUSBHRST
rwrwrwrw

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

ST logo
ST logo

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
USB2PHY1CKREFSELRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.USB2PHY1STPENRes.USB2PHY1LPENUSB2PHY1ENUSB2PHY1RST
rwrwrwrwrw

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

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

Bit 4 USB2PHY1STPEN: USB2PHY1 reference clock enable during CStop

Set and cleared by software.

0: Writing 0 disables reference clock in CStop. Reading 0 means that reference clock is disabled in CStop.

1: Writing 1 enables reference clock in CStop. Reading 1 means that reference clock is enabled in CStop.

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

21.8.173 RCC USB2PHY2 configuration register (RCC_USB2PHY2CFGR)

Address offset: 0x804

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.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
USB2PHY2CKREFSELRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.USB2PHY2STPENRes.USB2PHY2LPENUSB2PHY2ENUSB2PHY2RST
rwrwrwrwrw

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

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

Bit 4 USB2PHY2STPEN: USB2PHY2 reference clock enable during CStop

Set and cleared by software.

0: Writing 0 disables reference clock in CStop. Reading 0 means that reference clock is disabled in CStop.

1: Writing 1 enables reference clock in CStop. Reading 1 means that reference clock is enabled in CStop.

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

21.8.174 RCC USB3DR configuration register (RCC_USB3DRCFGR)

Address offset: 0x808

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the USB3DR. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USB3D
RSTPE
N
Res.USB3D
RLPEN
USB3D
REN
USB3D
RRST
rwrwrwrw

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

Bit 4 USB3DRSTPEN: USB3DR clock enable during CStop

Set and cleared by software.

0: Writing 0 disables reference clock in CStop. Reading 0 means that reference clock is disabled in CStop.

1: Writing 1 enables reference clock in CStop. Reading 1 means that reference clock is enabled in CStop.

Bit 3 Reserved, must be kept at reset value.

Bit 2 USB3DRLPEN: USB3DR 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 USB3DREN: USB3DR peripheral 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 USB3DRRST: USB3DR reset

Set and cleared by software.

0: Writing 0 releases USB3DR reset. Reading 0 means that USB3DR reset is released.

1: Writing 1 asserts USB3DR reset. Reading 1 means that USB3DR reset is asserted.

21.8.175 RCC USB3PCIEPHY configuration register (RCC_USB3PCIEPHYCFGR)

Address offset: 0x80C

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the USB3PCIEPHY. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
USB3P
CIEPH
YCKRE
FSEL
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USB3P
CIEPH
YSTPE
N
Res.USB3P
CIEPH
YLPEN
USB3P
CIEPH
YEN
USB3P
CIEPH
YRST
rwrwrwrwrw

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

Bit 15 USB3PCIEPHYCKREFSEL: USB3PCIEPHY reference clock selection

Set and cleared by software.

0: USB3PCIEPHY reference clock is channel 34 (ck_ker_usb3pciephy) of the flexclkgen (default after reset).

1: USB3PCIEPHY reference clock is the HSE oscillator (hse_ker_ck).

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

Bit 4 USB3PCIEPHYSTPEN: USB3PCIEPHY reference clock enable during CStop

Set and cleared by software.

0: Writing 0 disables reference clock in CStop. Reading 0 means that reference clock is disabled in CStop.

1: Writing 1 enables reference clock in CStop. Reading 1 means that reference clock is enabled in CStop.

Bit 3 Reserved, must be kept at reset value.

Bit 2 USB3PCIEPHYLPEN: USB3PCIEPHY 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 USB3PCIEPHYEN: USB3PCIEPHY 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 USB3PCIEPHYRST: USB3PCIEPHY reset

Set and cleared by software.

0: Writing 0 releases USB3PCIEPHY reset. Reading 0 means that USB3PCIEPHY reset is released.

1: Writing 1 asserts USB3PCIEPHY reset. Reading 1 means that USB3PCIEPHY reset is asserted.

21.8.176 RCC PCIE configuration register (RCC_PCIECFGR)

Address offset: 0x810

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the PCIE. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PCIES
TPEN
Res.PCIEL
PEN
PCIEE
N
PCIER
ST
rwrwrwrw

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

Bit 4 PCIRSTPEN: PCIE clock enable during CStop

Set and cleared by software.

0: Writing 0 disables peripheral clocks in CStop. Reading 0 means that peripheral clocks are disabled in CStop.

1: Writing 1 enables peripheral clocks in CStop. Reading 1 means that peripheral clocks are enabled in CStop.

Bit 3 Reserved, must be kept at reset value.

Bit 2 PCIELPEN: PCIE 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 PCIEEN: PCIE 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 PCIERST: PCIE reset

Set and cleared by software.

0: Writing 0 releases PCIE reset. Reading 0 means that PCIE reset is released.

1: Writing 1 asserts PCIE reset. Reading 1 means that PCIE reset is asserted.

21.8.177 RCC UCPD configuration register (RCC_UCPDCFGR)

Address offset: 0x814

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the UCPD.
Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UCPDLPENUCPDENUCPDRST
rwrwrw

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

Bit 2 UCPDLPEN: UCPD 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 UCPDEN: UCPD 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 UCPDRST: UCPD reset

Set and cleared by software.

0: Writing 0 releases UCPD reset. Reading 0 means that UCPD reset is released.

1: Writing 1 asserts UCPD reset. Reading 1 means that UCPD reset is asserted.

21.8.178 RCC Ethernet switch configuration register (RCC_ETHSWCFGR)

Address offset: 0x818

Reset value: 0x0040 0044

This register is used to control reset, clock gating, and low-power behavior of the ETHSW.
Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.ETHSWREFLPENETHSWREFENRes.Res.Res.Res.Res.
rwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.ETHSWLPENETHSWENRes.Res.ETHSWMACLPENETHSWMACENETHSWRST
rwrwrwrwrw

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

Bit 22 ETHSWREFLPEN: ETHSW ck_ker_ethswref kernel clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables ck_ker_ethswref in CSleep. Reading 0 means that ck_ker_ethswref is disabled in CSleep.
1: Writing 1 enables ck_ker_ethswref in CSleep. Reading 1 means that ck_ker_ethswref is enabled in CSleep.

Bit 21 ETHSWREFEN: ETHSW ck_ker_ethswref kernel clock enable
Set and cleared by software.
0: Writing 0 disables ck_ker_ethswref. Reading 0 means that ck_ker_ethswref is disabled.
1: Writing 1 enables ck_ker_ethswref. Reading 1 means that ck_ker_ethswref is enabled.

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

Bit 6 ETHSWLPEN: ETHSW ck_ker_ethsw kernel clock enable during CSleep
Set and cleared by software.
0: Writing 0 disables ck_ker_ethsw in CSleep. Reading 0 means that ck_ker_ethsw is disabled in CSleep.
1: Writing 1 enables ck_ker_ethsw in CSleep. Reading 1 means that ck_ker_ethsw is enabled in CSleep.

Bit 5 ETHSWEN: ETHSW ck_ker_ethsw kernel clock enable
Set and cleared by software.
0: Writing 0 disables ck_ker_ethsw. Reading 0 means that ck_ker_ethsw is disabled.
1: Writing 1 enables ck_ker_ethsw. Reading 1 means that ck_ker_ethsw is enabled.

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

Bit 2 ETHSWMACLPEN: ETHSW 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 ETHSWMACEN: ETHSW 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 ETHSWRST: ETHSW reset
Set and cleared by software.
0: Writing 0 releases ETHSW reset. Reading 0 means that ETHSW reset is released.
1: Writing 1 asserts ETHSW reset. Reading 1 means that ETHSW reset is asserted.

21.8.179 RCC Ethernet switch ACM configuration register (RCC_ETHSWACMCFGR)

Address offset: 0x81C

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the ETHSW_ACM. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ETHS
WACM
LPEN
ETHS
WACM
EN
Res.
rwrw

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

Bit 2 ETHSWACMLPEN: ETHSW_ACM 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 ETHSWACMEN: ETHSW_ACM 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.

21.8.180 RCC Ethernet switch ACM message configuration register (RCC_ETHSWACMMSGCFGR)

Address offset: 0x820

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the ETHSW_ACM message buffer in the Ethernet switch. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ETHS
WACM
MSGLP
EN
ETHS
WACM
MSGEN
Res.
rwrw

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

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGEN
STPEN
Res.STGEN
LPEN
STGEN
EN
Res.
rwrwrw

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

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SDMMC1DLLRST
rw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SDMMC1LPENSDMMC1ENSDMMC1RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SDMMC2DLLRST
rw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SDMMC2LPENSDMMC2ENSDMMC2RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SDMMC3DLLRST
rw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SDMMC3LPENSDMMC3ENSDMMC3RST
rwrwrw

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

Bit 16 SDMMC3DLLRST: SDMMC3 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 SDMMC3LPEN: SDMMC3 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 SDMMC3EN: SDMMC3 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 SDMMC3RST: SDMMC3 block reset

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

21.8.185 RCC GPU configuration register (RCC_GPUCFGR)

Address offset: 0x83C

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the GPU. Any read access is allowed.

RM0457column_2column_3column_4column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.GPULPGPUEGPUR
ENNST
rwrwrs
Bit 2GPULPEN: GPU clock enable during CSleep
Bit 1GPUEN: GPU clock enable
Bit 0GPURST: GPU reset
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LTDCLLTDCELTDCR
PENNST
rwrwrw
RM0457 Rev 51241/5881

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

Bit 2 GPULPEN: GPU 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 GPUEN: GPU 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 GPURST: GPU reset

Set and cleared by software. In order to reset the GPU, the user has to write this bit to 1, and read until it is read to 0. GPU

0: Writing 0 has no effect. Reading 0 means that GPU reset is released.

1: Writing 1 asserts GPU reset. Reading 1 means that GPU reset is ongoing.

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

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.

21.8.187 RCC DSI configuration register (RCC_DSICFGR)

Address offset: 0x844

Reset value: 0x0000 0004

This register is used to control the reset, clock gating, and low-power behavior of the DSI and DSIPHY. Any read access is allowed.

Note: Changing the DSI byte lane clock source on-the-fly is allowed, and does not generate any timing violation. However the user has to ensure that both previous and new clock sources are present during the switching, and for the whole transition time.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
DSIPHYCKREFSELRes.Res.DSIBLSELRes.Res.Res.Res.Res.Res.Res.Res.Res.DSILPENDSIENDSIRST
rwrwrwrwrw

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

Bit 15 DSIPHYCKREFSEL: DSIPHY reference clock selection

Set and cleared by software.

0: DSIPHY reference clock is channel 28 (ck_ker_dsiphy) of the flexclkgen (default after reset).

1: DSIPHY reference clock is the HSE oscillator (hse_ck).

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

Bit 12 DSIBLSEL: DSI byte lane clock source selection

Set and cleared by software.

0: DSIPHY clock is selected as DSI byte lane clock source (default after reset).

1: Clock channel 27 (ck_ker_ltdc) of flexclkgen is selected as DSI byte lane clock source.

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

Bit 2 DSILPEN: DSI 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 DSIEN: DSI 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 DSIRST: DSI 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.

21.8.188 RCC LVDS configuration register (RCC_LVDSCFGR)

Address offset: 0x850

Reset value: 0x0000 0004

This register is used to control reset, clock gating, and low-power behavior of the LVDS and LVDSPHY. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
LVDSPHYCKREFSELRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LVDSL
PEN
LVDSE
N
LVDSR
ST
rwrwrwrw

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

Bit 15 LVDSPHYCKREFSEL: LVDSPHY reference clock select

Set and cleared by software.

0: LVDSPHY reference clock is channel 32 (ck_ker_lvdsp) of the flexclkgen (default after reset).

1: LVDSPHY reference clock is the HSE oscillator (hse_ker_ck).

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

Bit 2 LVDSLPEN: LVDSPHY 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 LVDSEN: LVDSPHY 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 LVDSRST: LVDS reset
Set and cleared by software.
0: Writing 0 releases LVDS reset. Reading 0 means that LVDS reset is released.
1: Writing 1 asserts LVDS reset. Reading 1 means that LVDS reset is asserted.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CSILP
EN
CSIENCSIRS
T
rwrwrw

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.

ST logo
ST logo

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DCMIP
PLPEN
DCMIP
PEN
DCMIP
PRST
rwrwrw

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.

21.8.191 RCC CCI configuration register (RCC_CCICFGR)

Address offset: 0x860

Reset value: 0x0000 0004

This register is used to control reset, clock gating and low-power behavior of CCI (DCMI and PSSI). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CCILP
EN
CCIENCCIRS
T
rwrwrw

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

Bit 2 CCILPEN: CCI 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 CCIEN: CCI 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 CCIRST: CCI reset

Set and cleared by software.

0: Writing 0 releases CCI reset. Reading 0 means that CCI reset is released.

1: Writing 1 asserts CCI reset. Reading 1 means that CCI reset is asserted.

21.8.192 RCC VDEC configuration register (RCC_VDECCFGR)

Address offset: 0x864

Reset value: 0x0000 0004

This register is used to control reset, clock gating and low-power behavior of VDEC. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VDECL
PEN
VDECE
N
VDECR
ST
rwrwrw

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

Bit 2 VDECLPEN: VDEC 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 VDECEN: VDEC 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 VDECRST: VDEC reset

Set and cleared by software.

0: Writing 0 releases VDEC reset. Reading 0 means that VDEC reset is released.

1: Writing 1 asserts VDEC reset. Reading 1 means that VDEC reset is asserted.

21.8.193 RCC VENC configuration register (RCC_VENCCFGR)

Address offset: 0x868

Reset value: 0x0000 0004

This register is used to control reset, clock gating and low-power behavior of VENC. Any read access is allowed.

RM0457column_2column_3column_4column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VENCLVENCEVENCR
PENNST
rwrwrw
Bit 2VENCLPEN: VENC clock enable during CSleep
Bit 1VENCEN: VENC clock enable
Bit 0VENCRST: VENC reset
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RNGLPRNGERNGR
ENNST
rwrwrw
RM0457 Rev 51247/5881

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

Bit 2 VENCLPEN: VENC 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 VENCEN: VENC 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 VENCRST: VENC reset

Set and cleared by software.

0: Writing 0 releases VENC reset. Reading 0 means that VENC reset is released.

1: Writing 1 asserts VENC reset. Reading 1 means that VENC reset is asserted.

21.8.194 RCC RNG configuration register (RCC_RNGCFGR)

Address offset: 0x870

Reset value: 0x0000 0004

This register is used to control reset, clock gating and low-power behavior of RNG. Any read access is allowed.

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

Bit 2 RNGLPEN: RNG 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 RNGEN: RNG 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 RNGRST: RNG reset

Set and cleared by software.

0: Writing 0 releases RNG reset. Reading 0 means that RNG reset is released.

1: Writing 1 asserts RNG reset. Reading 1 means that RNG reset is asserted.

21.8.195 RCC PKA configuration register (RCC_PKACFGR)

Address offset: 0x874

Reset value: 0x0000 0004

This register is used to control reset, clock gating and low-power behavior of PKA. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PKALP
EN
PKAENPKARS
T
rwrwrw

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.

21.8.196 RCC SAES configuration register (RCC_SAESCFGR)

Address offset: 0x878

Reset value: 0x0000 0004

This register is used to control reset, clock gating and low-power behavior of SAES. Any read access is allowed.

RM0457column_2column_3column_4column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SAESLSAESESAESR
PENNST
rwrwrw
Bit 2SAESLPEN: SAES clock enable during CSleep
Bit 1SAESEN: SAES clock enable
Bit 0SAESRST: SAES reset
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HASHLHASHEHASHR
PENNST
rwrwrw
RM0457 Rev 51249/5881

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.

21.8.197 RCC HASH configuration register (RCC_HASHCFGR)

Address offset: 0x87C

Reset value: 0x0000 0004

This register is used to control reset, clock gating and low-power behavior of HASH. Any read access is allowed.

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

Bit 2 HASHLPEN: HASH 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 HASHEN: HASH 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 HASHRST: HASH reset

Set and cleared by software.

0: Writing 0 releases HASH reset. Reading 0 means that HASH reset is released.

1: Writing 1 asserts HASH reset. Reading 1 means that HASH reset is asserted.

21.8.198 RCC CRYP1 configuration register (RCC_CRYP1CFGR)

Address offset: 0x880

Reset value: 0x0000 0004

This register is used to control reset, clock gating and low-power behavior of CRYP1. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CRYP1
LPEN
CRYP1
EN
CRYP1
RST
rwrwrw

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

Bit 2 CRYP1LPEN: CRYP1 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 CRYP1EN: CRYP1 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 CRYP1RST: CRYP1 reset

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

21.8.199 RCC CRYP2 configuration register (RCC_CRYP2CFGR)

Address offset: 0x884

Reset value: 0x0000 0004

This register is used to control reset, clock gating and low-power behavior of CRYP2. Any read access is allowed.

RM0457column_2column_3column_4column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CRYP2CRYP2CRYP2
LPENENRST
rwrwrw
Bit 2CRYP2LPEN: CRYP2 clock enable during CSleep
Bit 1CRYP2EN: CRYP2 clock enable
Bit 0CRYP2RST: CRYP2 reset
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG1IWDG1
LPENENRes.
rw rwrw rw
RM0457 Rev 51251/5881

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.

21.8.200 RCC IWDG1 configuration register (RCC_IWDG1CFGR)

Address offset: 0x888

Reset value: 0x0000 0004

This register is used to control clock gating and low-power behavior of IWDG1. Any read access is allowed.

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.

21.8.201 RCC IWDG2 configuration register (RCC_IWDG2CFGR)

Address offset: 0x88C

Reset value: 0x0000 0004

This register is used to control clock gating and low-power behavior of IWDG2. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG2
LPEN
IWDG2
EN
Res.
rwrw

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

Bit 2 IWDG2LPEN: IWDG2 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 IWDG2EN: IWDG2 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.

21.8.202 RCC IWDG3 configuration register (RCC_IWDG3CFGR)

Address offset: 0x890

Reset value: 0x0000 0004

This register is used to control clock gating and low-power behavior of IWDG3. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG3
LPEN
IWDG3
EN
Res.
rwrw

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.

21.8.203 RCC IWDG4 configuration register (RCC_IWDG4CFGR)

Address offset: 0x894

Reset value: 0x0000 0004

This register is used to control clock gating and low-power behavior of IWDG4. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG4
LPEN
IWDG4
EN
Res.
rwrw

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.

21.8.204 RCC IWDG5 configuration register (RCC_IWDG5CFGR)

Address offset: 0x898

Reset value: 0x0000 0004

This register is used to control clock gating, low-power and autonomous clock mode behavior of IWDG5. 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.

Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG5
AMEN
IWDG5
LPEN
IWDG5
EN
Res.
rwrwrw

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

Bit 3 IWDG5AMEN: IWDG5 autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables autonomous clock mode. Reading 1 means that autonomous clock mode is enabled.

Bit 2 IWDG5LPEN: IWDG5 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 IWDG5EN: IWDG5 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.

21.8.205 RCC WWDG1 configuration register (RCC_WWDG1CFGR)

Address offset: 0x89C

Reset value: 0x0000 0004

This register is used to control the clock gating and low-power behavior of WWDG1. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WWDG1LPENWWDG1ENWWDG1RST
rwrwrw

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

Bit 2 WWDG1LPEN: WWDG1 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 WWDG1EN: WWDG1 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 WWDG1RST: WWDG1 reset

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

21.8.206 RCC WWDG2 configuration register (RCC_WWDG2CFGR)

Address offset: 0x8A0

Reset value: 0x0000 0004

This register is used to control clock gating, low-power and autonomous clock mode behavior of WWDG2. Wait states are inserted in case of successive write accesses to this register except on WWDG2RST bitfield. The number of wait states may be up to 7 cycles of the RCC clock. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WWDG2AMENWWDG2LPENWWDG2ENWWDG2RST
rwrwrwrw

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

Bit 3 WWDG2AMEN: WWDG2 autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables autonomous clock mode. Reading 1 means that autonomous clock mode is enabled.

Bit 2 WWDG2LPEN: WWDG2 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 WWDG2EN: WWDG2 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 WWDG2RST: WWDG2 block reset

Set and cleared by software.

0: Writing 0 releases WWDG2 reset. Reading 0 means that WWDG2 reset is released.

1: Writing 1 asserts WWDG2 reset. Reading 1 means that WWDG2 reset is asserted.

21.8.207 RCC VREFBUF configuration register (RCC_VREFBUF_CFGR)

Address offset: 0x8A8

Reset value: 0x0000 0004

This register is used to control reset, clock gating and low-power behavior of VREFBUF. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VREF
BUF
LPEN
VREF
BUF
EN
VREF
BUF
RST
rwrwrw

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

Bit 2 VREFBUFLPEN: 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 VREFBUFEN: 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 VREFBUFRST: 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

21.8.208 RCC DTS configuration register (RCC_DTSCFGR)

Address offset: 0x8AC

Reset value: 0x0000 0004

This register is used to control reset, clock gating and low-power behavior of DTS. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.DTSKERSEL[1:0]Res.Res.Res.Res.Res.Res.Res.Res.Res.DTSLP
EN
DTSENDTSRST
rwrwrwrwrw

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

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

column_1column_2Bits 13:12 Bit 2 Bit 1 Bit 0DTSLPEN DTSEN DTSRST0x3: Reserved: DTS resetcolumn_7column_8column_9column_10column_11column_12column_13column_14column_15RM0457
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CRCLPCRCECRCR
ENNST
rwrwrw
Bit 2CRCLPEN: CRC clock enable during CSleep

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SERCL
PEN
SERCE
N
SERCR
ST
rwrwrw

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

21.8.211 RCC OCTOSPI I/O manager configuration register (RCC_OSPIIOMCFGR)

Address offset: 0x8BC

Reset value: 0x0000 0004

This register contains the enable control of OCTOSPIM. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.OSPIIOMLPENOSPIIOMENOSPIIOMRST
rwrwrw

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

Bit 2 OSPIIOMLPEN: OCTOSPIM 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 OSPIIOMEN: OCTOSPIM 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 OSPIIOMRST: OCTOSPIM reset

Set and cleared by software.

0: Writing 0 releases OCTOSPIM reset. Reading 0 means that OCTOSPIM reset is released.

1: Writing 1 asserts OCTOSPIM reset. Reading 1 means that OCTOSPIM reset is asserted.

21.8.212 RCC GICV2M configuration register (RCC_GICV2MCFGR)

Address offset: 0x8C0

Reset value: 0x0000 0004

This register is used to control clock gating and low-power behavior of GICv2M. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.GICV2MLPENGICV2MENRes.
rwrw

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

Bit 2 GICV2MLPEN: GICV2M 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 GICV2MEN: GICV2M 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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.I3C1LPENI3C1ENI3C1RST
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.I3C2LP
EN
I3C2ENI3C2RS
T
rwrwrw

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.I3C3LP
EN
I3C3ENI3C3RS
T
rwrwrw

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.

21.8.216 RCC I3C4 configuration register (RCC_I3C4CFGR)

Address offset: 0x8D4

Reset value: 0x0000 0004

This register is used to control reset, clock gating and low-power behavior of I3C4. Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.I3C4AMENI3C4LPENI3C4ENI3C4RST
rwrwrwrw

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

Bit 3 I3C4AMEN: I3C4 autonomous clock mode enable

Set and cleared by software.

0: Writing 0 disables autonomous clock mode. Reading 0 means that autonomous clock mode is disabled.

1: Writing 1 enables autonomous clock mode. Reading 1 means that autonomous clock mode is enabled.

Bit 2 I3C4LPEN: I3C4 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 I3C4EN: I3C4 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 I3C4RST: I3C4 reset

Set and cleared by software.

0: Writing 0 releases I3C4 reset. Reading 0 means that I3C4 reset is released.

1: Writing 1 asserts I3C4 reset. Reading 1 means that I3C4 reset is asserted.

21.8.217 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.MUXSEL7[1:0]Res.Res.MUXSEL6[1:0]Res.Res.MUXSEL5[1:0]Res.Res.MUXSEL4[1:0]
rwrwrwrwrwrwrwrw
1514131211109876543210
Res.Res.MUXSEL3[1:0]Res.Res.MUXSEL2[1:0]Res.Res.MUXSEL1[1:0]Res.Res.MUXSEL0[1:0]
rwrwrwrwrwrwrwrw

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

Bits 29:28 MUXSEL7[1:0]: PLL3 reference clock selection (ck_pll3_ref)

Set and cleared by software.

0x0: hsi_ck

0x1: hse_ck

0x2: msi_ck

Other: Reserved

Bits 27: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

Other: 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

Other: Reserved

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

Bits 17:16 MUXSEL4[1:0]: PLL8 reference clock selection

Set and cleared by software.

0x0: hsi_ck

0x1: hse_ck

0x2: msi_ck

Others: Reserved

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

Bits 13:12 MUXSEL3[1:0]: PLL7 reference clock selection

Set and cleared by software.

0x0: hsi_ck

0x1: hse_ck

0x2: msi_ck

Others: Reserved

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

Bits 9:8 MUXSEL2[1:0]: PLL6 reference clock selection

Set and cleared by software.

0x0: hsi_ck

0x1: hse_ck

0x2: msi_ck

Others: Reserved

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

Bits 5:4 MUXSEL1[1:0]: PLL5 reference clock selection

Set and cleared by software.

0x0: hsi_ck

0x1: hse_ck

0x2: msi_ck

Others: Reserved

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

Bits 1:0 MUXSEL0[1:0]: PLL4 reference clock selection

Set and cleared by software.

0x0: hsi_ck

0x1: hse_ck

0x2: msi_ck

Others: Reserved

21.8.218 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.XBARxSTSXBARxENRes.Res.XBARxSEL[3:0]
rrwrwrwrwrw

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: i2s_ck selected (AUDIOCLK pin)

0xD: lsi_ck selected

0xE: lse_ck selected

Other: Reserved

21.8.219 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 pre divider (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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.PREDIVx[9:0]
rwrwrwrwrwrwrwrwrwrw

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

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

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

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.

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

31302928272625242322212019181716
PREDIVSTS[63:48]
rrrrrrrrrrrrrrrr
1514131211109876543210
PREDIVSTS[47:32]
rrrrrrrrrrrrrrrr

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.

21.8.222 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.FINDIV
xEN
FINDIVx[5:0]
rwrwrwrwrwrwrw

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.

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

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

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.

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

31302928272625242322212019181716
FINDIVSTS[63:48]
rrrrrrrrrrrrrrrr
1514131211109876543210
FINDIVSTS[47:32]
rrrrrrrrrrrrrrrr

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.

21.8.225 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.CKOBS
EN
FCALC
CKEN
CKOBSDIV[2:0]Res.Res.Res.CKOBS
INV
FCALC
CKINV
CKOBS
EXTSE
L
rwrwrwrwrwrwrwrw
1514131211109876543210
FCALC
CKEXT
SEL
Res.Res.Res.Res.CKEXTSEL[2:0]CKINTSEL[7:0]
rwrwrwrwrwrwrwrwrwrwrwrw

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 CKOBSDIV[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

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.

21.8.226 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.FCALCRSTNCKOBS ENRes.CKOBS DIV[2:0]Res.Res.Res.CKOBS INVRes.CKOBS EXTSEL
rwrwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.CKEXTSEL[2:0]CKINTSEL[7:0]
rwrwrwrwrwrwrwrwrwrwrw

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 CKOBS EN: 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 CKOBS DIV[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 CKOBS INV: 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.

21.8.227 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FCALCREFCSEL[2:0]
rwrwrw

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

21.8.228 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FCALC RUN
rw

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

21.8.229 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FCALCTYP[4:0]Res.
rwrwrwrwrw
1514131211109876543210
Res.FCALCTWC[3:0]Res.Res.Res.Res.Res.Res.FCALCMD[1:0]Res.Res.Res.
rwrwrwrwrwrw

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

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

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.

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

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FCALC
STS
Res.Res.FVAL[1
6]
rr
1514131211109876543210
FVAL[15:0]
rrrrrrrrrrrrrrrr

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.

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.

21.8.231 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.CKREF
ST
Res.Res.Res.PLLRD
Y
Res.Res.Res.Res.Res.Res.Res.Res.
rc_wr
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.PLLENRes.Res.Res.Res.Res.Res.Res.SSMO
DRST
rwrw

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 PLLEN: 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)

21.8.232 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.FBDIV[11:0]
rwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FREFDIV[5:0]
rwrwrwrwrwrw

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

21.8.233 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 183 for details). Any read access is allowed.

RM0457 Bit 18 Bit 17 Bit 16 Bit 6 Bit 5 Bit 4DEDF DISTURBF PROGFAIL OTPSEC OTPERR OTPNVIR: Disturb flag : Programming failed : OTP with error : OTP not virgin
31 30 292827 26 25 24 23 22 21 20 19 18 17 16 DOWN
Res. Res. Res.Res.Res. SSCG SPREA FRACIN[23:16] DIS DACEN D
rw rw rw rw rw rw rw rw rw rw rw
15 14 131211 10 9 8 7 6 5 4 3 2 1 0 FRACIN[15:0]
rw rw rwrwrw rw rw rw rw rw rw rw rw rw rw rw
Bit 26SSCGDIS: PLLy spread-spectrum modulator disable
Bit 25DACEN: PLLy noise canceling DAC enable in fractional mode. 1: DAC active
Bit 24DOWNSPREAD: PLLy VCO frequency modulation mode
Bits 23:0FRACIN[23:0]: Fractional part of PLLy VCO multiplication factor

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.

\(\text{VCO output frequency} = \text{FREF} * (\text{FBDIV} + \text{FRAC} / 2^{24}) / \text{FREFDIV}\)

21.8.234 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.BYPAS
S
FOUTP
OSTDI
VEN
DSME
N
Res.Res.Res.Res.Res.Res.Res.Res.
rwrwrw

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.

21.8.235 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SPREAD[4:0]
rwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DIVVAL[3:0]
rwrwrwrw

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.

21.8.236 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.POSTDIV1[2:0]
rwrwrw

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)

...

0x6: FOUTVCO divided by 6

0x7: FOUTVCO divided by 7

21.8.237 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 183 for details). Any read access is allowed.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.POSTDIV2[2:0]
rwrwrw

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)

...

0x6: FOUTVCO/POSTDIV1 divided by 6

0x7: FOUTVCO/POSTDIV1 divided by 7

Note: \(FOUTPOSTDIV = FOUTVCO / POSTDIV1 \times POSTDIV2\).

21.8.238 RCC version register (RCC_VERR)

Address offset: 0xFFF4

Reset value: 0x0000 0011

Any read access is allowed.

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

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

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

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

21.8.239 RCC identifier register (RCC_IDR)

Address offset: 0xFFF8

Reset value: 0x0000 0003

Any read access is allowed.

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

Bits 31:0 ID[31:0]: RCC identifier

21.8.240 RCC size identification register (RCC_SIDR)

Address offset: 0xFFFC

Reset value: 0xA3C5 DD40

Any read access is allowed.

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

Bits 31:0 SID[31:0]: RCC decoding space (64 Kbytes)

21.8.241 RCC register map

Table 184. RCC register map and reset values

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x0000
+ 0x4 * x
(x=0 to 2)
RCC_SECCFGRxSEC[31:0]
Reset value00000000000000000000000000000000
0x000CRCC_SECCFGR3ResResResResResResResResResResResResResResSEC[17:0]
Reset value000000000000000000
0x0010
+ 0x4 * x
(x=0 to 2)
RCC_PRIVCFGRxPRIV[31:0]
Reset value00000000000000000000000000000000

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x001CRCC_PRIVCFGR3Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PRIV[17:0]
Reset value000000000000000000
0x0020
+ 0x4 * x
(x=0 to 2)
RCC_RCFGLOCKRxRLOCK[31:0]
Reset value00000000000000000000000000000000
0x002CRCC_RCFGLOCKR3Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RLOCK[17:0]
Reset value000000000000000000
0x0030
+ 0x8 * x
(x=0 to 113)
Last address:
0x3B8
RCC_RxCIDCFGRRes.Res.Res.Res.Res.Res.Res.Res.SEMWLC[7:0]Res.Res.Res.Res.Res.Res.Res.Res.Res.SCID
[2:0]
Res.Res.SEM_ENCFEN
Reset value0000000000000
0x0034
+ 0x8 * x
(x=0 to 113)
Last address:
0x3BC
RCC_RxSEMCRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEMCID
[2:0]
Res.Res.Res.SEM_MUTEX
Reset value0000
0x03C0-
0x03FC
ReservedReserved
0x0400RCC_GRSTCSETRRes.Res.Res.Res.Res.Res.Res.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 value0
0x0404RCC_C1RSTCSETRRes.Res.Res.Res.Res.Res.Res.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 value0
0x0408RCC_C1P1RSTCSETRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.C1P1RSTC1P1PORRST
Reset value00
0x040CRCC_C2RSTCSETRRes.Res.Res.Res.Res.Res.Res.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 value0
0x0410RCC_HWRSTSCLRRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RETECCFAILRESTRSTFRETECCFAILCRCRSTFRETCRCERRRSTFIWDG5SYSRSTFIWDG4SYSRSTFIWDG3SYSRSTFIWDG2SYSRSTFIWDG1SYSRSTFSYSC2RSTFSYSC1RSTFVCORERSTFHCSSRSTFPADRSTFBORRSTFRes.PORRSTF
Reset value000000000010101

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x0414RCC_C1HWRSTS
CLRR
ResResResResResResResResResResResResResResResResResResResResResResResResResResResResResResC1P1RSTFC1RSTFVCPURSTF
Reset value011
0x0418RCC_C2HWRSTS
CLRR
ResResResResResResResResResResResResResResResResResResResResResResResResResResResResResResResC2RSTF
Reset value1
0x041CRCC_C1BOOTRSTS
SETR
ResResResResResResResResD2STBYRSTFD1STBYRSTFSTBYC1RSTFRETECCFAILRESTRSTFRETECCFAILCRCRSTFRETCRCERRSTFC1P1RSTFC1RSTFIWDG5SYSRSTFIWDG4SYSRSTFIWDG3SYSRSTFIWDG2SYSRSTFIWDG1SYSRSTFSYSC2RSTFSYSC1RSTFVCPURSTFVCORERSTFHCSSRSTFPADRSTFBORRSTFPORRSTF
Reset value000000000000000000000
0x0420RCC_C1BOOTRSTS
CLRR
ResResResResResResResResD2STBYRSTFD1STBYRSTFResSTBYC1RSTFRETECCFAILRESTRSTFRETECCFAILCRCRSTFRETCRCERRSTFC1P1RSTFC1RSTFIWDG5SYSRSTFIWDG4SYSRSTFIWDG3SYSRSTFIWDG2SYSRSTFIWDG1SYSRSTFSYSC2RSTFSYSC1RSTFVCPURSTFVCORERSTFHCSSRSTFPADRSTFBORRSTFPORRSTF
Reset value000000000000000000000
0x0424RCC_C2BOOTRSTS
SETR
ResResResResResResResResD2STBYRSTFSTBYC2RSTFResRETECCFAILRESTRSTFRETECCFAILCRCRSTFRETCRCERRSTFResC2RSTFIWDG5SYSRSTFIWDG4SYSRSTFIWDG3SYSRSTFIWDG2SYSRSTFIWDG1SYSRSTFSYSC2RSTFSYSC1RSTFResVCORERSTFHCSSRSTFPADRSTFBORRSTFPORRSTF
Reset value0000000000000000000
0x0428RCC_C2BOOTRSTS
CLRR
ResResResResResResResResD2STBYRSTFSTBYC2RSTFResRETECCFAILRESTRSTFRETECCFAILCRCRSTFRETCRCERRSTFResC2RSTFIWDG5SYSRSTFIWDG4SYSRSTFIWDG3SYSRSTFIWDG2SYSRSTFIWDG1SYSRSTFSYSC2RSTFSYSC1RSTFResVCORERSTFHCSSRSTFPADRSTFBORRSTFPORRSTF
Reset value0000000000000000000
0x042CRCC_C1SREQSET
R
ResResResResResResResResResResResResResResESLPREQResSTPREQ_P1
Reset value00STPREQ_P0

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x0430RCC_C1SREQCLR
R
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ESLPREQRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STPREQ_P1STPREQ_P0
Reset value000
0x0434RCC_CPUBOOTC
R
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BOOT_CPU1BOOT_CPU2
Reset value00
0x0438RCC_STBYBOOTC
R
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_RSTENRes.Res.CPU1_HW_BENCPU2_HW_BENRes.COLD_CPU2CPU_BEN_SELRes.
Reset value00000
0x043CRCC_LEGBOOTC
R
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LEGACY_BEN
Reset value0
0x0440RCC_BDCRVSWRSTRes.Res.Res.Res.Res.C3SYSTICKSEMSIFREQSELRes.Res.Res.RTCCKENRes.Res.RTCSRC[1:0]Res.Res.Res.Res.Res.LSIRDYLSIONLSECSSDLSEGFONLSECSSONLSEDRV[1:0]LSEDIGBYPLSERDYLSEBYPLSEON
Reset value00000000000100000
0x0444RCC_D3DCRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.D3PERCKSELRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MSIRDYMSIKERONMSION
Reset value00000
0x0448RCC_D3DSRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.D3STATE[1:0]
Reset value00
0x044CRCC_RDCRRes.Res.Res.EADLY[3:0]Res.Res.Res.Res.MRD[4:0]Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
Reset value011000000
0x0450RCC_C1MSRDCRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.C1MSRSTRes.Res.Res.Res.C1MSRD[4:0]
Reset value000000

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x0454RCC_PWRLPDLYCRRes.Res.Res.Res.Res.Res.Res.CPU2TMPSKPRes.Res.PWRLP_DLY[21:0]
Reset value00000000000000000000000
0x0458RCC_C1CIESETRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WKUPIERes.Res.Res.LSECSSIERes.Res.Res.PLL8RDYIEPLL7RDYIEPLL6RDYIEPLL5RDYIEPLL4RDYIEPLL3RDYIEPLL2RDYIEPLL1RDYIEMSIRDYIEHSERDYIEHSIRDYIELSERDYIELSIRDYIE
Reset value000000000000000
0x045CRCC_C1CIFCLRRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WKUPFRes.Res.Res.LSECSSFRes.Res.Res.PLL8RDYFPLL7RDYFPLL6RDYFPLL5RDYFPLL4RDYFPLL3RDYFPLL2RDYFPLL1RDYFMSIRDYFHSERDYFHSIRDYFLSERDYFLSIRDYF
Reset value000000000000100
0x0460RCC_C2CIESETRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WKUPIERes.Res.Res.LSECSSIERes.Res.Res.PLL8RDYIEPLL7RDYIEPLL6RDYIEPLL5RDYIEPLL4RDYIEPLL3RDYIEPLL2RDYIEPLL1RDYIEMSIRDYIEHSERDYIEHSIRDYIELSERDYIELSIRDYIE
Reset value000000000000000
0x0464RCC_C2CIFCLRRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WKUPFRes.Res.Res.LSECSSFRes.Res.Res.PLL8RDYFPLL7RDYFPLL6RDYFPLL5RDYFPLL4RDYFPLL3RDYFPLL2RDYFPLL1RDYFMSIRDYFHSERDYFHSIRDYFLSERDYFLSIRDYF
Reset value000000000000100
0x0468RCC_IWDGC1FZSETRRes.Res.Res.Res.Res.Res.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_IWDG2FZ_IWDG1
Reset value00
0x046CRCC_IWDGC1FZCLRRRes.Res.Res.Res.Res.Res.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_IWDG2FZ_IWDG1
Reset value00
0x0470RCC_IWDGC1CFGSETRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG2_KERRSTRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG2_SYSRSTENRes.IWDG1_SYSRSTEN
Reset value000
0x0474RCC_IWDGC1CFGCLRRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG2_KERRSTRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDG2_SYSRSTENRes.IWDG1_SYSRSTEN
Reset value000
ST logo
ST logo

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x0478RCC_IWDGC2FZS
ETR
ResResResResResResResResResResResResResResResResResResResResResResResResResResResResResResFZ_IWDG4FZ_IWDG3
Reset value00
0x047CRCC_IWDGC2FZC
LRR
ResResResResResResResResResResResResResResResResResResResResResResResResResResResResResResFZ_IWDG4FZ_IWDG3
Reset value00
0x0480RCC_IWDGC2CFG
SETR
ResResResResResResResResResResResResResIWDG4_KRRSTIWDG4_SYSRSTENIWDG3_SYSRSTEN
Reset value000
0x0484RCC_IWDGC2CFG
CLRR
ResResResResResResResResResResResResResIWDG4_KRRSTIWDG4_SYSRSTENIWDG3_SYSRSTEN
Reset value000
0x0488RCC_IWDGC3CFG
SETR
ResResResResResResResResResResResResResResResResResResResResResResResResResResResResResResResIWDG5_SYSRSTEN
Reset value0
0x048CRCC_IWDGC3CFG
CLRR
ResResResResResResResResResResResResResResResResResResResResResResResResResResResResResResIWDG5_SYSRSTEN
Reset value0
0x0490RCC_C3CFGRResResResResResResResResResResResResResResResResResResResResResResResResResResResResResResRes
Reset value000000000001
0x0494RCC_MCO1CFGRResResResResResResResResResResResResResResResResResResResResResResResResResResResResResResRes
Reset value0

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x0498RCC_MCO2CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MCO2ONRes.Res.Res.Res.Res.Res.Res.MCO2SEL
Reset value00
0x049CRCC_OCENSETRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HSECSSONHSEBYPHSEKERONHSEONHSEDIGBYPHSEDIV2BYPHSEDIV2ONRes.Res.Res.HSIKERONHSION
Reset value000000001
0x04A0RCC_OCENCLRRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HSEBYPHSEKERONHSEONHSEDIGBYPHSEDIV2BYPHSEDIV2ONRes.Res.Res.HSIKERONHSION
Reset value00000001
0x04A4RCC_OCRDYRRes.Res.Res.Res.Res.Res.CKRESTRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HSERDRes.Res.Res.Res.Res.Res.Res.HSIRDY
Reset value001
0x04A8RCC_HSICFGRRes.Res.Res.Res.Res.Res.Res.HSICAL[8:0]Res.HSITRIM[6:0]Res.Res.Res.Res.Res.Res.Res.Res.
Reset value0000000000000000
0x04ACRCC_MSICFGRRes.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 value0000000010000
0x04B0RCC_RTCDIVRRes.Res.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 value000000
0x04B4
+0x4 * (x-1)
(x=1 to 4)
Last addr:
0x04C0
RCC_APBxDIVRAPBxDIVRDYRes.Res.Res.Res.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 value1000
0x04C4RCC_APBDBGDIVRAPBDBGDIVRDYRes.Res.Res.Res.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 value1000
0x04C8RCC_TIMG1PRERTIMG1PRERDYRes.Res.Res.Res.Res.Res.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 value10
Table 184. RCC register map and reset values (continued)
OffsetRegister name313029282726252423222120191817161514131211109876543210
0x4CCRCC_TIMG2PRERTIMG2PRERDYRes.Res.Res.Res.Res.Res.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 value10
0x4D0RCC_LSMCUDIVRLSMCUDIVRDYRes.Res.Res.Res.Res.Res.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 value10
0x4D4RCC_DDRCPCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DDRCPLPENDDRCPENDDRCPRST
Reset value101
0x4D8RCC_DDRCAPBCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DDRCAPBLPENDDRCAPBENDDRCAPBRST
Reset value101
0x4DCRCC_DDRPHYCAPBCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DDRPHYCAPBLPENDDRPHYCAPBENDDRPHYCAPBRST
Reset value101
0x4E0RCC_DDRPHYCCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DDRPHYCCENRes.
Reset value0
0x4E4RCC_DDRCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DDRCFGLPENDDRCFGENDDRCFGRST
Reset value101
0x4E8RCC_DDRITFCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DDRPHYDLRes.Res.Res.Res.Res.Res.Res.DDRSHRRes.Res.DDRCKMOD
[1:0]
Res.Res.Res.DDRRST
Reset value00001
0x4ECReservedReserved

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x04F0RCC_SYSRAMCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SYSRAMLPENSYSRAMENRes.
Reset value10
0x04F4RCC_VDERAMCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VDERAMLPENVDERAMENRes.
Reset value10
0x04F8RCC_SRAM1CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SRAM1LPENSRAM1ENRes.
Reset value10
0x04FCRCC_SRAM2CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SRAM2LPENSRAM2ENRes.
Reset value10
0x0500RCC_RETRAMCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RETRAMLPENRETRAMENRes.
Reset value11
0x0504RCC_BKPSRAMCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BKPSRAMLPENBKPSRAMENRes.
Reset value10
0x0508
+0x4*(x-1)
(x=1 to 3)
RCC_LPSRAMxCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LPSRAMxAMENLPSRAMxLPENLPSRAMxENRes.
Reset value010
0x0514RCC_OSPI1CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.OSPI1DLLRSTRes.Res.Res.Res.Res.Res.Res.OTFDEC1RSTRes.Res.Res.Res.Res.OSPI1LPENOSPI1ENOSPI1RST
Reset value00100
ST logo
ST logo

Reset and clock control (RCC) RM0457

1292/5881 RM0457 Rev 5

Table 184. RCC register map and reset values (continued)
OffsetRegister name313029282726252423222120191817161514131211109876543210
0x0518RCC_OSPI2CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.OSPI2DLLRSTRes.Res.Res.Res.Res.Res.Res.OTFDEC2RSTRes.Res.Res.Res.Res.OSPI2LPENOSPI2ENOSPI2RST
Reset value00100
0x051CRCC_FMCCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FMCLPENFMCMENFMCRST
Reset value100
0x0520RCC_DBGCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DBGRSTRes.Res.TRACEENDBGENRes.Res.Res.Res.Res.Res.Res.Res.
Reset value000
0x0524RCC_STMCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STMLPENSTMENRes.
Reset value10
0x0528RCC_ETRCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ETRLPENETRENRes.
Reset value10
0x052C
+ 0x4 * x
(x= 0 to 10)
Last addr:
0x0554
RCC_GPIOyCFGR
(y = A to K)
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.GPIOyLPENGPIOyENGPIOyRST
Reset value100
0x0558RCC_GPIOZCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.GPIOZAMENGPIOZLPENGPIOZENGPIOZRST
Reset value0100
0x055C
+0x4*(x-1)
(x= 1 to 3)
RCC_HPDMAxCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HPDMAxLPENHPDMAxENHPDMAxRST
Reset value100
0x0568RCC_LPDMACFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LPDMAAMENLPDMALPENLPDMAENLPDMARST
Reset value0100

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x56CRCC_HSEMCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HSEMAMENHSEMLPENHSEMENHSEMRST
Reset value0100
0x0570RCC_IPCC1CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IPCC1LPENIPCC1ENIPCC1RST
Reset value100
0x0574RCC_IPCC2CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IPCC2AMENIPCC2LPENIPCC2ENIPCC2RST
Reset value0100
0x0578RCC_RTCCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RTCAMENRTCLPENRTCENRes.
Reset value010
0x057CReservedReserved
0x0580RCC_SYSCPU1CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SYSCPU1LPENSYSCPU1ENRes.
Reset value10
0x0584RCC_BSECCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BSECLPENBSECENRes.
Reset value10
0x0588-0x058CReservedReserved
0x0590RCC_PLL2CFGR1Res.Res.Res.CKREFSTRes.Res.Res.PLLRDYRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLLENRes.Res.Res.Res.Res.Res.Res.SSMODRST
Reset value0001
0x0594RCC_PLL2CFGR2Res.Res.Res.Res.FBDIV[11:0]Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FREFDIV[5:0]
Reset value000000000000000000
0x0598RCC_PLL2CFGR3Res.Res.Res.Res.Res.SSCGDISDACENDOWNSPREADFRACIN[23:0]
Reset value100000000000000000000000000
ST logo
ST logo

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x059CRCC_PLL2CFGR4ResResResResResResResResResResResResResResResResResResResResResBYPASSFOUTPOSTDIVENDSMENResResResResResResResRes
Reset value000
0x05A0RCC_PLL2CFGR5ResResResResResResResResResResResSPREAD[4:0]ResResResResResResResResResResResResResDIVVAL[3:0]
Reset value000000000
0x05A4ReservedReserved
0x05A8RCC_PLL2CFGR6ResResResResResResResResResResResResResResResResResResResResResResResResResResResResResPOSTDIV1[2:0]
Reset value000
0x05ACRCC_PLL2CFGR7ResResResResResResResResResResResResResResResResResResResResResResResResResResResResResPOSTDIV2[2:0]
Reset value000
0x05B0-0x05B4ReservedReserved
0x05B8RCC_PLL3CFGR1ResResResCKREFSTResResResPLLRDYResResResResResResResResResResResResResResResPLLENResResResResResResSSMODRST
Reset value0001
0x05BCRCC_PLL3CFGR2ResResResResFBDIV[11:0]ResResResResResResResResResResFREFDIV[5:0]
Reset value0000000000000000000
0x05C0RCC_PLL3CFGR3ResResResResResSSCGDISDACENDOWNSPREADFRACIN[23:0]
Reset value100000000000000000000000000
0x05C4RCC_PLL3CFGR4ResResResResResResResResResResResResResResResResResResResResResBYPASSFOUTPOSTDIVENDSMENResResResResResResResRes
Reset value110
0x05C8RCC_PLL3CFGR5ResResResResResResResResResResResSPREAD[4:0]ResResResResResResResResResResResResResDIVVAL[3:0]
Reset value000000000
0x05CCReservedReserved

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x05D0RCC_PLL3CFGR6Res.Res.Res.Res.Res.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 value000
0x05D4RCC_PLL3CFGR7Res.Res.Res.Res.Res.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 value000
0x05D8-
0x05DC
ReservedReserved
0x05E0RCC_HSIFMONCRHSIMONFHSIMONIERes.Res.Res.Res.Res.Res.Res.Res.HSIDEV[5:0]HSIMONENRes.Res.Res.Res.HSIREF[10:0]
Reset value00011111011110100001
0x05E4RCC_HSIFVALRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HSIVAL[10:0]
Reset value00000000000
0x05E8-
0x06FC
ReservedReserved
0x0700
+0x4*(x-1)
(x= 1 to 8,
10 to 17)
Last addr:
0x073C
RCC_TIMxCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIMxLPENTIMxENTIMxRST
Reset value100
0x0740RCC_TIM20CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM20LPENTIM20ENTIM20RST
Reset value100
0x0744
+0x4 * x
(x=1 to 2)
RCC_LPTIMxCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LPTIMxLPENLPTIMxENLPTIMxRST
Reset value100
0x074C
+0x4*(x-3)
(x=3 to 5)
RCC_LPTIMxCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LPTIMxAMENLPTIMxLPENLPTIMxENLPTIMxRST
Reset value0100
0x0758
+0x4*(x-1)
(x=1 to 8)
Last add:
0x0774
RCC_SPIxCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SPIxLPENSPx1ENSPIxRST
Reset value100
ST logo
ST logo

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x0778RCC_SPDIFRXCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SPDIFRXLPENSPDIFRXENSPDIFRXRST
Reset value100
0x077C
+0x4*(x-1)
(x=1 to 3)
Last add:
0x0774
RCC_USARTxCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USARTxLPENUSARTxENUSARTxRST
Reset value100
0x0788
+0x4*(x-4)
(x=4 to 5)
RCC_UARTxCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UARTxLPENUARTxENUARTxRST
Reset value100
0x0790RCC_USART6CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USART6LPENUSART6ENUSART6RST
Reset value100
0x0794
+0x4*(x-7)
(x=7 to 9)
RCC_UARTxCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UARTxLPENUARTxENUARTxRST
Reset value100
0x07A0RCC_LPUART1CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LPUART1AMENLPUART1LPENLPUART1ENLPUART1RST
Reset value0100
0x07A4
+0x4*(x-1)
(x=1 to 8)
RCC_I2CxCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.I2CxLPENI2CxENI2CxRST
Reset value100
0x07C4
+0x4*(x-1)
(x=1 to 4)
RCC_SAIxCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SAIxLPENSAIxENSAIxRST
Reset value100
0x07D4ReservedReserved
0x07D8RCC_MDF1CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MDF1LPENMDF1ENMDF1RST
Reset value100

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x07DCRCC_ADF1CFGRResResResResResResResResResResResResResResResResResResResResResResResResResResResResResADF1AMENADF1LPENADF1ENADF1RST
Reset value0100
0x07E0RCC_FDCANCFGRResResResResResResResResResResResResResResResResResResResResResResResResResResResResResFDCANLPENFDCANENFDCANRST
Reset value1000
0x07E4RCC_HDPCFGRResResResResResResResResResResResResResResResResResResResResResResResResResResResResResResHDPENHDPRST
Reset value000
0x07E8RCC_ADC12CFGRResResResResResResResResResResResResResResResResResResResADC12KERSEADC12LPENResResResResResResResResADC12LPENADC12ENADC12RST
Reset value01100
0x07ECRCC_ADC3CFGRResResResResResResResResResResResResResResResResResResADC3KERSEADC3LPENResResResResResResResResResADC3LPENADC3ENADC3RST
Reset value001000
0x07F0RCC_ETH1CFGRResResResResResResResResResResResResResResResResResResResResETH1RXLPENETH1RXENETH1TXLPENETH1TXENResETH1LPENETH1ENETH1STPENResETH1MACLPENETH1MACENETH1RST
Reset value1010100100
0x07F4RCC_ETH2CFGRResResResResResResResResResResResResResResResResResResResResETH2RXLPENETH2RXENETH2TXLPENETH2TXENResETH2LPENETH2ENETH2STPENResETH2MACLPENETH2MACENETH2RST
Reset value000000000000000000001010100100
0x07F8ReservedReserved
0x07FCRCC_USBHCFGRResResResResResResResResResResResResResResResResResResResResResResResResResResResUSBHSTPENResUSBHLPENUSBHENUSBHRST
Reset value0100

RM0457

Reset and clock control (RCC)


Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x0800RCC_USB2PHY1C
FGR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USB2PHY1CKREFSELRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USB2PHY1STPENRes.USB2PHY1LPENUSB2PHY1ENUSB2PHY1RST
Reset value00100
0x0804RCC_USB2PHY2C
FGR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USB2PHY2CKREFSELRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USB2PHY2STPENRes.USB2PHY2LPENUSB2PHY2ENUSB2PHY2RST
Reset value00100
0x0808RCC_USB3DRCFG
R
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USB3DRSTPENRes.USB3DRLPENUSB3DRENUSB3DRRST
Reset value0100
0x080CRCC_USB3PCIEPHY
CFGR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USB3PCIEPHYCKREFSELRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USB3PCIEPHYSTPENRes.USB3PCIEPHYPENUSB3PCIEPHYRST
Reset value00100
0x0810RCC_PCIECFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PCIESTPENRes.PCIELPENPCIEENPCIERST
Reset value0100
0x0814RCC_UCPDCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UCPDLPENRes.UCPDENUCPDRST
Reset value1000
0x0818RCC_ETHSWCFG
R
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ETHSWREFLPENRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ETHSWMACLPENRes.ETHSWMACENETHSWRST
1100
Reset value0000
ST logo

The ST logo, consisting of the letters 'S' and 'T' in a stylized, italicized font, is positioned in the top left corner.

ST logo

RM0457 Rev 5

1299/5881


Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x081CRCC_ETHSWACMCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ETHSWACMLPENETHSWACMENRes.
Reset value10
0x0820RCC_ETHSWACMMSGCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ETHSWACMMSGLPENETHSWACMMSGENRes.
Reset value10
0x0824RCC_STGENCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENSTPENRes.STGENLPENSTGENENRes.
Reset value010
0x0828-
0x082C
ReservedReserved
0x0830
+0x4*(x-1)
(x=1 to 3)
RCC_SDMMCxCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SDMMCxDLLRSTRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SDMMCxLPENSDMMCxENSDMMCxRST
Reset value0100
0x083CRCC_GPUCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.GPULPENGPUENGPURST
Reset value100
0x0840RCC_LTDCCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LTDCLPENLTDCENLTDCRST
Reset value100
0x0844RCC_DSICFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DSIPHYCKREFSELRes.Res.DSIBLSELRes.Res.Res.Res.Res.Res.Res.Res.Res.DSILPENDSIENDSIRST
Reset value00100
0x0848-
0x084C
ReservedReserved
ST logo
ST logo
Table 184. RCC register map and reset values (continued)
OffsetRegister name313029282726252423222120191817161514131211109876543210
0x0850RCC_LVDSCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LVDSPHYCKREFSELRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LVDSLPENLVDSENLVDSRST
Reset value0100
0x0854ReservedReserved
0x0858RCC_CSICFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CSILPENCSIENCSIRST
Reset value100
0x085CRCC_DCMIPPCFG
R
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DCMIPLPENDCMIPPENDCMIPPRST
Reset value100
0x0860RCC_CCICFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CCILPENCCIENCCIRST
Reset value100
0x0864RCC_VDECCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VDECLPENVDECENVDECRST
Reset value100
0x0868RCC_VENCCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VENCLPENVENCENVENCRST
Reset value100
0x086CReservedReserved
0x0870RCC_RNGCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RNGLPENRNGENRNGRST
Reset value100
0x0874RCC_PKACFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PKALPENPKAENPKARST
Reset value100
0x0878RCC_SAESCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SAESLPENSAESENSAESRST
Reset value100

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x087CRCC_HASHCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HASHLPENHASHENHASHRST
Reset value100
0x0880RCC_CRYP1CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CRYP1LPENCRYP1ENCRYP1RST
Reset value100
0x0884RCC_CRYP2CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CRYP2LPENCRYP2ENCRYP2RST
Reset value100
0x0888
+0x4*(x-1)
(x=1 to 5)
RCC_IWDGxCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IWDGxLPENIWDGxENRes.
Reset value10
0x89CRCC_WWDG1CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WWDG1LPENWWDG1ENWWDG1RST
Reset value100
0x8A0RCC_WWDG2CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WWDG2AMENWWDG2LPENWWDG2ENWWDG2RST
Reset value0100
0x08A8RCC_VREFBUFCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VREFBUFLPENVREFBUFENVREFBUFRST
Reset value100
0x08ACRCC_DTSCFGRRes.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.DTSLPENDTSENDTSRST
Reset value00100
0x08B0ReservedReserved
0x08B4RCC_CRCCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CRCLPENCRCENCRCRST
Reset value100
ST logo
ST logo

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x08B8RCC_SERCCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SERCLPENSERCENSERCRST
Reset value100
0x08BCRCC_OSPIOMCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.OSPIOMLPENOSPIOMENOSPIOMRST
Reset value100
0x08C0RCC_GICV2MCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.GICV2MLPENGICV2MENRes.
Reset value10
0x08C4ReservedReserved
0x08C8
+0x4*(x-1)
(x=1 to 4)
RCC_I3CxCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.I3CxLPENI3CxENI3CxRST
Reset value100
0x08D8-
0xFFC
ReservedReserved
0x1000RCC_
MUXSELCFGR
Res.MUXSEL7
[1:0]
Res.Res.MUXSEL6
[1:0]
Res.Res.Res.MUXSEL5
[1:0]
Res.Res.MUXSEL4
[1:0]
Res.Res.MUXSEL3
[1:0]
Res.Res.Res.MUXSEL2
[1:0]
Res.Res.MUXSEL1
[1:0]
Res.MUXSEL0
[1:0]
Reset value0000000000000000
0x1004-
0x1014
ReservedReserved
0x1018
+0x4 *x
(x=1 to 63)
Last add:
0x1114
RCC_XBARxCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.XBARxSTSXBARxENRes.XBARxSEL
[3:0]
Reset value010101
0x1118
+ 0x4 * x
(x=1 to 63)
Last add:
0x1214
RCC_PREDIVxCF
GR
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 value0000000000
0x1218RCC_PREDIVSR1PREDIVSTS[31:0]
Reset value00000000000000000000000000000000
0x121CRCC_PREDIVSR2PREDIVSTS[31:0]
Reset value00000000000000000000000000000000
0x1220ReservedReserved
0x1224
+ 0x4 * x
(x=1 to 63)
Last add:
0x1320
RCC_FINDIVxCFG
R
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FINDIVxENFINDIVx[5:0]
Reset value1000000

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x1324RCC_FINDIVSR1FINDIVSTS[31:0]
Reset value00000000000000000000000000000000
0x1328RCC_FINDIVSR2FINDIVSTS[31:0]
Reset value00000000000000000000000000000000
0x132C-0x133CReservedReserved
0x1340RCC_FCALCOBS0CFGRResResResResResCKOBSENFCALCCKENCKOBSDIV[2:0]ResResResCKOBSINVFCALCCKINVCKOBSEXTSELFCALCCKEXTSELResResResResResCKEXTSEL[2:0]CKINTSEL[7:0]
Reset value11000000000010000111
0x1344RCC_FCALCOBS1CFGRResResResResFCALCRSTNCKOBSENResCKOBSDIV[2:0]ResResResCKOBSINVResCKOBSEXTSELResResResResResResCKEXTSEL[2:0]CKINTSEL[7:0]
Reset value010000000010000111
0x1348RCC_FCALCREFCFGRResResResResResResResResResResResResResResResResResResResResResResResResResResResResResFCALCREFCSEL[2:0]
Reset value000
0x134CRCC_FCALCCR1ResResResResResResResResResResResResResResResResResResResResResResResResResResResResResResFCALCRUN
Reset value0
0x1350ReservedReserved
0x1354RCC_FCALCCR2ResResResResResResResResResResFCALCTYP[4:0]ResResFCALCTWC[3:0]ResResResResResResFCALCMD[1:0]ResResResRes
Reset value00000000000
0x1358RCC_FCALCSRResResResResResResResResResResResResFCALCSTSResResFVAL[16:0]
Reset value000000000000000000
0x135CReservedReserved
0x1360+0x28*(y-4) (y=4 to 8)
Last addr: 0x1400
RCC_PLLyCFGR1ResResResCKREFSTResResResPLLRDYResResResResResResResResResResResResResResResResResResResResResResSSMODRST
Reset value101
ST logo
ST logo

Table 184. RCC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x1364
+0x28*(y-4)
(y=4 to 8)
Last addr:
0x1404
RCC_PLLyCFGR2ResResResResFBDIV[11:0]Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FREFDIV[5:0]
Reset value00000000000000000
0x1368
+0x28*(y-4)
(y=4 to 8)
Last addr:
0x1408
RCC_PLLyCFGR3ResResResResRes.SSCGDISDACENDOWNSPREADFRACIN[23:0]
Reset value1000000000000000000000000
0x136C
+0x28*(y-4)
(y=4 to 8)
Last addr:
0x140C
RCC_PLLyCFGR4ResResResResRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BYPASSFOUTPOSTDIVENDSMENRes.Res.Res.Res.Res.Res.Res.
Reset value000
0x1370
+0x28*(y-4)
(y=4 to 8)
Last addr:
0x1410
RCC_PLLyCFGR5ResResResResRes.Res.Res.Res.Res.Res.Res.SPREAD[4:0]Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DIVVAL[3:0]
Reset value000000000
0x1374ReservedReserved
0x1378
+0x28*(y-4)
(y=4 to 8)
Last addr:
0x1418
RCC_PLLyCFGR6ResResResResRes.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 value000
0x137C
+0x28*(y-4)
(y=4 to 8)
Last addr:
0x141C
RCC_PLLyCFGR7ResResResResRes.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 value000
0x141C - 0x1FFF0ReservedReserved
0xFFF4RCC_VERRResResResResRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MAJREV[3:0]MINREV[3:0]
Reset value00010001
0xFFF8RCC_IDRID[31:0]
Reset value0000000000000000000000000000011
0xFFFCRCC_SIDRSID[31:0]
Reset value1010001111000101110111010100000
Refer to Section 2.4 for the register boundary addresses.