10. Reset and clock control (RCC)

The RCC block is responsible for the management of the clock and reset generation for the complete circuit.

This section often refers to operating modes defined in Section 9.5.1: Operating modes.

10.1 RCC main features

10.2 RCC block diagram

Figure 46 gives a simplified view of the RCC, and the key signals exchanged with the other blocks. Three voltage domains are present in the RCC: the VDD domain (blue), the VSW domain (yellow), the VDDCORE domain (gray).

For the reset part, analog comparators located into the PWR block provide all reset signals dependent of the power supplies: por_rst, bor_rst, vcore_rst, vcpu_rst and vsw_rst. One reset source, NRST, comes from a pad. The RCC also receives resets from various other sources such as watchdogs and registers. All these resets are handled by the RCC in order to reset properly all the parts of the system.

For the clock generation part, the RCC handles the generation and the gating for all the clocks according to register settings and processor modes. Note that the RCC is clocked with hclk4 clock.

Figure 46. RCC block diagram

A detailed block diagram of the Reset and Clock Control (RCC) unit. The diagram is divided into three voltage domains: VDD Domain (blue), VSW Domain (yellow), and VDDCORE Domain (gray). The Reset Control block, located in the VDD domain, receives various reset signals including NRST, app_rst, nreset_vsw, nreset (system reset), PERxRST, por_rst, bor_rst, vsw_rst, vcore_rst, and vcpu_rst. It also interfaces with the PWR block for power-related resets. The Clock Manager Unit (CMU) is the central component, managing multiple clock sources and dividers. It includes PLL1 (992-2000 MHz), PLL2 (800-1600 MHz), PLL3 (400-800 MHz), and PLL4 (400-800 MHz). The CMU provides clock outputs to various system components: RTC/WUT, MPU, AXI/AHB buses (AHB1, AHB2, AHB3, AHB4, AHB5, AHB6), DCMIPP, DDR, and peripheral clocks (APB1-APB6). The diagram also shows interfaces with external blocks like IWDGx, DAP, BSEC, GIC, TAMP (RTC), LPTIM3, TIM12/15, and I2S_CKIN. Internal registers like RCC_MP_GRSTCSETR and RCC_BDCR are also indicated. The bottom right corner of the diagram is labeled MSv66202V4.
A detailed block diagram of the Reset and Clock Control (RCC) unit. The diagram is divided into three voltage domains: VDD Domain (blue), VSW Domain (yellow), and VDDCORE Domain (gray). The Reset Control block, located in the VDD domain, receives various reset signals including NRST, app_rst, nreset_vsw, nreset (system reset), PERxRST, por_rst, bor_rst, vsw_rst, vcore_rst, and vcpu_rst. It also interfaces with the PWR block for power-related resets. The Clock Manager Unit (CMU) is the central component, managing multiple clock sources and dividers. It includes PLL1 (992-2000 MHz), PLL2 (800-1600 MHz), PLL3 (400-800 MHz), and PLL4 (400-800 MHz). The CMU provides clock outputs to various system components: RTC/WUT, MPU, AXI/AHB buses (AHB1, AHB2, AHB3, AHB4, AHB5, AHB6), DCMIPP, DDR, and peripheral clocks (APB1-APB6). The diagram also shows interfaces with external blocks like IWDGx, DAP, BSEC, GIC, TAMP (RTC), LPTIM3, TIM12/15, and I2S_CKIN. Internal registers like RCC_MP_GRSTCSETR and RCC_BDCR are also indicated. The bottom right corner of the diagram is labeled MSv66202V4.

The RCC exchanges also some signals with the PWR in order to control the entry and the exit of the system in Stop and Standby modes.

10.2.1 RCC pin overview

Table 48 lists the RCC signals connected to pads or balls.

Table 48. Pin overview

Pin NameI/ODescription
NRSTI/OExternal (application) reset, can be used to provide reset to external devices
OSC32_INI32.768 kHz oscillator input or external clock input
OSC32_OUTO32.768 kHz oscillator output
OSC_INIHSE oscillator input or external clock input
OSC_OUTOHSE oscillator output
MCO1OOutput clock 1 for external devices
MCO2OOutput clock 2 for external devices
I2S_CKINIExternal kernel clock input for digital audio interfaces: SPI/I2Sx (x=1,2,3,4), SAIx (x=1,2), and DFSDM
ETH[2:1]_TX_CLKIExternal clock TX provided by the Ethernet PHY for MII
ETH[2:1]_RX_CLK/
ETH[2:1]_REF_CLK
IExternal clock RX provided by the Ethernet PHY for MII, RMII and RGMII
ETH[2:1]_CLKOClock output for external Ethernet PHY
ETH[2:1]_CLK125IExternal clock RX provided by the Ethernet PHY for RGMII
ETH[2:1]_RGMII_GTX_CLKOClock output for external Ethernet PHY for RGMII

10.3 RCC functional description - reset part

10.3.1 Reset overview

The reset terminology used in this section is summarized in the next Figure 47. This reset graph summarizes and depicts the different resets and sources, including the reset inter-dependencies, the reset dependencies from the device power mode(s) and voltage(s) transitions.

Figure 47. RCC reset graph

Figure 47: RCC reset graph flowchart showing reset hierarchy from VSW software reset/power-on reset, backup domain reset, por_rst, bor_rst, DBG reset, SWJ-DP reset, VDDCORE power-on reset, BSEC reset, system reset, VDDCPU power-on reset, application reset, and MPU reset with conditions and state transitions.

The diagram illustrates the Reset and Clock Control (RCC) reset graph. It shows the hierarchy of reset events and conditions:

Legend:

  1. Includes reset of JTAG registers BSEC_JTAGIN, BSEC_JTAGOUT, BSEC_DENABLE.
  2. Except reset of JTAG registers BSEC_JTAGIN, BSEC_JTAGOUT, BSEC_DENABLE.
Figure 47: RCC reset graph flowchart showing reset hierarchy from VSW software reset/power-on reset, backup domain reset, por_rst, bor_rst, DBG reset, SWJ-DP reset, VDDCORE power-on reset, BSEC reset, system reset, VDDCPU power-on reset, application reset, and MPU reset with conditions and state transitions.

MSv66203V4

A system reset (nreset), as shown in Figure 47: RCC reset graph, is generated following either a warm reset or a soft reset.

When the cold reset sequence is initiated by the main \(V_{DD}\) power-on reset (por_rst), the reset sequence is also known as the device startup, or Shutdown to Run power mode transition.

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

Note: A programmable reset pulse control (RPCTL) allows the application to define a minimum pulse width for the assertion of the NRST pad. When the RPCTL is disabled, the reset PAD embeds a pulse stretcher which guarantees a minimum reset pulse duration of 20 μs for each internal reset source. Application reset and system reset are also impacted by this function. For details on RPCTL refer to Section 10.3.8: Reset pulse control (RPCTL).

A system reset (nreset) is the source of the MPU reset (cstdby_rst).

A \(V_{DDCORE}\) power-on reset causes also the reset of the DBG module (dbg_rstn) and the reset of the SWJ-DP JTAG port (possibly externally reset from nJTRST pad).

When the system is in Standby mode, the \(V_{DDCORE}\) and the \(V_{DDCPU}\) are switched off, but \(V_{DD}\) is still present. When the system exits from Standby to Run mode, the cold boot sequence occurs: the \(V_{DDCORE}\) power-on reset (vcore_rst), the DBG reset (dbg_rst), the BSEC reset (bsec_rstn) and the system reset (nreset) are generated, as well as the \(V_{DDCPU}\) power-on reset (vcpu_rst) and the MPU reset (cstdby_rst). The system exits from Standby via WKUPx pin(s), or via a RTC event (time stamp, alarm, or tamper). A system exit from Standby can be also caused by an application reset resulting from a \(V_{DD}\) brownout reset, an IWDG1/2 reset, or a pin reset.

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.

When the system is in LPLV-Stop2 mode, the \(V_{DDCPU}\) is switched off, but \(V_{DD}\) and \(V_{DDCORE}\) are still present. When the system exits from LPLV-Stop2, only the \(V_{DDCPU}\) power-on reset (vcpu_rst) and the MPU reset (cstdby_rst) are generated. The system exits from LPLV-Stop2 via an enabled EXTI interrupt.

Note: On a MPU reset, the MPU processor reset is generated.

Lastly, Figure 47 introduces the backup domain reset, which is also explained in Section 10.3.4.

10.3.2 The power reset

The PWR block provides some reset signals to the RCC:

As shown in Figure 48: Reset circuit overview, the signals provided by the PWR block, indicating that the \(V_{DDCORE}\) is valid (OKIN_MR_V33out) and that the \(V_{DDCPU}\) is valid (OKIN_VDDCPU_V33) are used by the RCC in order to trigger the hardware system initialization sequence. Refer to Section 3: Boot and security and OTP control (BSEC) for details.

Refer to Table 49: Reset coverage summary for details about the scope each reset.

Refer to Section 9: Power control (PWR) for details on the generation of power-on/off reset.

Figure 48. Reset circuit overview

Reset circuit overview block diagram showing RCC - Reset Control with VDD domain, VDDCORE domain, and VSW domain blocks connected to IWDG1, IWDG2, RESET, PWR, BSEC, DAP and outputting NRST, app_rst, nreset, nreset_vsw, cstby_rst, PERxRST, and dbg_rstn.
Reset circuit overview block diagram showing RCC - Reset Control with VDD domain, VDDCORE domain, and VSW domain blocks connected to IWDG1, IWDG2, RESET, PWR, BSEC, DAP and outputting NRST, app_rst, nreset, nreset_vsw, cstby_rst, PERxRST, and dbg_rstn.

MSv66204V5

10.3.3 Watchdog reset

Two watchdogs are provided to the application, from IWDG1 and IWDG2. IWDG1 and IWDG2 generate a system reset when a timeout occurs.

10.3.4 Backup domain reset

As shown in Figure 47: RCC reset graph, a backup domain reset is generated by the RCC, following either:

the RCC register in the \(V_{SW}\) domain, i.e. the RCC_BDCR register. The BKPSRAM is not affected.

Refer to Section 1.3.3: Backup domain section of PWR block for additional information.

10.3.5 Coresight debug reset

The coresight debug components including the debug part of the MPU, can be reset in three different ways:

10.3.6 Option bytes loading

The option bytes configuration sequence is triggered every time the application reset (app_rst) or the VDDCORE power-on reset (vcore_rst) are activated.

10.3.7 Per-peripheral reset

The application can reset individually any peripheral whenever it is requested. This can be done by the application via set and clear registers respectively named as RCC_xxxxRSTSETR and RCC_xxxxRSTCLRR, where "xxxx" is the AHBx/APBx bus name, depending on the bus architecture and the peripheral mapping.

Note that when a given peripheral is secure or configured as secure, only a secure access can control the software reset of this peripheral (i.e. assert the reset by writing '1' into the corresponding bit of the RCC_xxxxRSTSETR register, and release the reset by writing '1' into the corresponding RCC_xxxxRSTSETR register).

When a peripheral needs to be reset, it is required to first enable its peripheral clock by setting the corresponding peripheral enable bit to '1'. Refer to Section 10.4.11: Peripheral clock gating control for details.

10.3.8 Reset pulse control (RPCTL)

The RPCTL allows the application to control the minimum activation time of the NRST PAD. This feature is particularly helpful when external devices request a specific duration for the activation of the NRST. And the reset pulse generated by the IWDG1/2 may be too short for external devices.

The RPCTL is located into the VDD domain, and is only reset after a power-on reset.

The RPCTL is controlled by the MRD[4:0] bits located in the RCC reset duration and LSI control register (RCC_RDLISICR).

cmd_pad_rst signal is active for a longer duration than the value programmed with MRD[4:0]. The MRD[4:0] bits allow to adjust a minimum activation time between 1 to 31 ms.

Note that the RPCTL is using the LSI clock in order to control the reset width. When the cmd_pad_rst goes HIGH, then the RPCTL requests the LSI clock in order to control the reset duration. If the LSI was not enabled by another function, it may take some microseconds before having the LSI ready (\(T_{LSI\_SU}\)). Figure 49 shows simplified timing diagrams.

Figure 49. Reset pulse control

Timing diagram for Reset pulse control showing cmd_pad_rst, RPCTL_lsi_ck, RPCTL_cnt, and NRST signals.

The diagram illustrates the timing relationship between the cmd_pad_rst, RPCTL_lsi_ck, RPCTL_cnt, and NRST signals during a reset operation. It consists of two parts, both showing the same sequence of events.

Top Part: Shows the initial state where cmd_pad_rst is LOW. When cmd_pad_rst transitions to HIGH, RPCTL_lsi_ck becomes active after a delay \(T_{LSI\_SU}\). The RPCTL_cnt register is initialized to 0, then counts down through MRD, MRD-1, and MRM-2, and finally returns to 0. The NRST signal transitions to LOW at the start of the count and returns to HIGH after the count reaches 0. The total duration of the NRST LOW pulse is \(T_{LSI\_SU} + MRD \times 1 \text{ ms}\).

Bottom Part: Shows the same sequence of events, but with a longer cmd_pad_rst HIGH pulse. The RPCTL_lsi_ck and RPCTL_cnt sequences are identical to the top part. The NRST signal transitions to LOW at the start of the count and returns to HIGH after the count reaches 0. A pink arrow indicates the transition of NRST from LOW to HIGH.

MSv66205V1

Timing diagram for Reset pulse control showing cmd_pad_rst, RPCTL_lsi_ck, RPCTL_cnt, and NRST signals.

10.3.9 Reset Delay Control (RDCTL)

The RDCTL block must be used if the external DDR device needs to be set in self-refresh before generating a system reset (nreset) to the circuit.

Figure 50. Reset delay control

Block diagram of Reset delay control (RDCTL) showing its interaction with the RCC, DDRPHYC, and PWR blocks.

The diagram illustrates the Reset Delay Control (RDCTL) block within the Reset and Clock Control (RCC) unit. The RDCTL block receives an app_rst input and outputs app_rst_hold and app_rst_dly. It also receives hsi_ck and outputs selfrefresh_req/ack to the DDRPHYC block and ret_pad_req to the PWR block. The PWR block outputs ret_pad_ctl to the DDRPHYC block. The reference ID MSv66206V1 is located in the bottom right corner of the diagram area.

Block diagram of Reset delay control (RDCTL) showing its interaction with the RCC, DDRPHYC, and PWR blocks.

When enabled, the RDCTL performs the following operations:

If an app_rst occurs:

The RDCTL can be enabled or disabled by the application via the RDCTLEN bit of RCC application reset control register (RCC_MP_APRSTCR). When the RDCTL is disabled (RDCTLEN = '0'), the signal app_rst_dly is not delayed and follows app_rst value, in addition, the DDR pads retention request is not generated.

Caution: The bit RDCTLEN must not be set to '1', at the moment where the app_rst is asserted. It is preferable to enable this function during the initialization phase.

The application can also program the timeout value via the RSTTO[6:0] field of RCC application reset control register (RCC_MP_APRSTCR).

This timeout value can be programmed using the following formula:

\[RSTTO \geq \text{round}\left(\frac{8192 \times T_{\text{ck\_ker\_dphy}}}{10^{-6}}\right)\]

Where \(T_{\text{ck\_ker\_dphy}}\) represents the period of the kernel clock provided to the DDRPHYC.

Caution: It is not allowed to change this field value when RDCTLEN = '1'.
It is not recommended to set RSTTO[6:0] to '0'.

After a system reset (nreset), the application can check if the external DDR device has been properly set in self-refresh by checking the RSTTO[6:0]. The RSTTO[6:0] gives the current value of the timeout counter. If this value is equal to '0', it means that a timeout condition occurs at the last time the RDCTL has requested to the external DDR device to self-refresh.

Note: The hsi_ck frequency depends on the HSIDIV value.

10.3.10 Reset coverage summary

Table 49 gives a detailed view of reset sources and reset domains (highlighted in gray). Each column represents a reset source.

Note: It is assumed that when \(V_{DD}\) is not valid, \(V_{DDCORE}\) and \(V_{DDCPU}\) are not valid as well. See Figure 47: RCC reset graph.

Table 49. Reset coverage summary (1)

Impacted functions by the resetReset source
por_rst (2)vcore_rst (3)app_rst (4)nresetvcpu_rstcstby_rstdbg_rstnbsec_rstnPERxRSTnreset_vsw
\(V_{DD}\) domainX----------
\(V_{DDCORE}\) domain (including in particular the AXI/AHB interconnect)XX---------
DDR interfaceXXXX-------
\(V_{DDCPU}\) domainXXXXXX-----
Debug components, including DBGMCU and the debug in the MPU core, except the SWJ-DPXX----X----
SWJ-DPXX----X----
IWDG[2:1]X-X--------
Hardware system init, including the reload of the option bytes.XXX----X---
RCCregistersRCC_BR_RSTSCLRRX---------
RCC_MP_IWDGFZSETRXXXX------
RCC_RDLSICRX---------
RCC_BDCR except VSWRST---------X
RCC_BDCR.VSWRST----------
Other RCC registersXXXX------
PWRregistersPWR_CR2---------X
PWR_CR3X---------
PWR_MPUCR
Individual bits of these registers do not have the same reset condition, refer to the PWR section for details.
XXXX------
PWR_WKUPCR, PWR_WKUPFR, PWR_MPUWKUPENRX-X-------
Other registersXXXX------
RTC---------X
BKPSRAM
After a reset of the \(V_{SW}\) domain, the backup regulator of the BKPSRAM is disabled, this function is controlled via the PWR block, BREN and RREN bits.
If the nreset_vsw reset is due to a too low \(V_{SW}\) voltage, the content of BKPSRAM is lost.
----------X
Other PeripheralsXXXX----X--
  1. The 'x' means that the function is reset by the corresponding reset source, the '-' means that the function is not reset by the corresponding reset source.
  2. When por_rst is asserted, the app_rst, the vcore_rst, the bsec_rst, the nreset, the vcpu_rst, the cstby_rst and the dbg_rst are asserted as well.
  3. When vcore_rst is asserted, the bsec_rst, the nreset, the vcpu_rst, the cstby_rst and the dbg_rst are asserted as well.
  4. When app_rst is asserted, the bsec_rst, the nreset, the vcpu_rst and the cstby_rst are asserted as well.

Reset of the RCC registers

Table 50 lists the specific registers having field(s) into a voltage domain different from the \(V_{DDCORE}\), and then which do have a specific reset condition. Others RCC registers are reset by the system reset (nreset).

Table 50. RCC registers with specific reset and specific voltages

RCC register (and field) name(s)Voltage domainReset conditionComment
RCC_RDLSICR\(V_{DD}\)por_rstReset when \(V_{DD}\) is switched ON.
RCC_BR_RSTSCLRR\(V_{DD}\) power-on reset initiates the device startup sequence which includes a system reset.
RCC_BDCR except VSWRST\(V_{SW}\)nreset_vswReset by a backup domain reset, initiated by a \(V_{SW}\) power-on reset or by a write and set RCC_BDCR.VSWRST=1
RCC_BDCR.VSWRST\(V_{SW}\)RCC_BDCR.VSWRST=0Reset by an explicit write and clear RCC_BDCR.VSWRST=0
Others\(V_{DDCORE}\)nresetSystem reset

10.3.11 Reset source identification

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

The registers RCC_BR_RSTSCLRR and RCC_MP_RSTSSETR are dedicated to the boot ROM usage, and must not be used by the application.

The register RCC_MP_RSTSCLRR is dedicated to the MPU application.

The figure hereafter is giving details on the way the reset source registers are working.

Figure 51. Reset source registers

Diagram illustrating the Reset source registers. It shows the Register Map and Physical registers. The Register Map includes RCC_BR_RSTSCLRR (Dedicated to boot ROM usage), RCC_MP_RSTSSETR, and RCC_MP_RSTSCLRR (Dedicated to MPU Application). The Physical registers include RCC_BR_RSTS and RCC_MP_RSTS. Arrows indicate the flow of bits: Set bits from RCC HW Block to RCC_BR_RSTS, Read-back from RCC_BR_RSTS to RCC_BR_RSTSCLRR, Clear bits from RCC_BR_RSTSCLRR to RCC_BR_RSTS, Set bits from RCC_MP_RSTSSETR to RCC_MP_RSTS, Read-back from RCC_MP_RSTS to RCC_MP_RSTSSETR, and Clear bits from RCC_MP_RSTSCLRR to RCC_MP_RSTS. The diagram is labeled MSv66207V2.
Diagram illustrating the Reset source registers. It shows the Register Map and Physical registers. The Register Map includes RCC_BR_RSTSCLRR (Dedicated to boot ROM usage), RCC_MP_RSTSSETR, and RCC_MP_RSTSCLRR (Dedicated to MPU Application). The Physical registers include RCC_BR_RSTS and RCC_MP_RSTS. Arrows indicate the flow of bits: Set bits from RCC HW Block to RCC_BR_RSTS, Read-back from RCC_BR_RSTS to RCC_BR_RSTSCLRR, Clear bits from RCC_BR_RSTSCLRR to RCC_BR_RSTS, Set bits from RCC_MP_RSTSSETR to RCC_MP_RSTS, Read-back from RCC_MP_RSTS to RCC_MP_RSTSSETR, and Clear bits from RCC_MP_RSTSCLRR to RCC_MP_RSTS. The diagram is labeled MSv66207V2.

The boot ROM uses the RCC_BR_RSTSCLRR register in order to identify the root cause of the reset, and to define which kind of boot sequence must be performed. In addition the boot ROM code updates the RCC_MP_RSTSCLRR register after every system reset, power-on reset, exit from Standby or LPLV-Stop2 mode. More precisely, the boot ROM copies the

content of RCC_BR_RSTSCLRR and the value of SBF and SBF_MPU flags into the RCC_MP_RSTSCLRR register, using the RCC_MP_RSTSSETR register.

Then the MPU can check and clear the reset sources by reading the RCC_MP_RSTSCLRR register.

Table 51 shows how the status bits of RCC_BR_RSTSCLRR and RCC_MP_RSTSCLRR registers behave, according to the situation generating a reset.

Table 51. Reset source identification (RCC_MP/BR_RSTSCLRR and PWR)(1)

#Situations generating a resetHCSSRSTFIWDG2RSTFIWDG1RSTFCSTDBYRSTF (2)STDBYRSTF (2)STP2RSTF (2)VCPURSTFMPSYSRSTFPORRSTFBORRSTFVCORERSTFPADRSTF
1\(V_{DD}\) power-on reset (por_rst)000000101011
2Brownout reset (bor_rst)000000000101
3Pad reset from NRST000000000001
4System reset generated by MPU (MPSYSRST)000000010001
5System exits from Standby000110000000
6System exits from LPLV-Stop2000101000000
8MPU processor 0 reset generated by the MPU000000000000
9IWDG1 reset (iwdg1_out_rst)001000000001
10IWDG2 reset (iwdg2_out_rst)010000000001
11Reset due to a failure of \(V_{DDCORE}\)000000000010
12Reset due to a clock failure on HSE100000000001
13\(V_{DDCPU}\) power-on reset000000100000
  1. 1. The bit status at ‘1’ is highlighted in gray.
  2. 2. Those bits are located into the RCC_MP_RSTSCLRR and RCC_MP_RSTSSETR registers. The boot ROM copies the SBF bit into STDBYRSTF and the SBF_MPU bit into CSTDBYRSTF. The SBF and SBF_MPU are described into Section 1.9.5: PWR MPU control register (PWR_MPUCR).

10.3.12 Startup, cold/warm reset and wakeup sequences

The device startup sequence, the cold reset sequence (boot sequence from Standby), the warm reset (boot sequence from application reset out of the \(V_{DD}\) power-on reset), and the wakeup from any Stop mode, are illustrated in the Figure 47: RCC reset graph.

For detailed timing diagrams refer to Section 9.6: PWR low-power operating modes.

The time interval between the event which exits the product from a low-power mode and the moment where the MPU is able to execute code, depends on the state of the system and its configuration. Figure 52 shows the most usual examples.

Device startup sequence (boot sequence from power-on)

The device startup sequence of Figure 52 gives the most significant phases of the power-on sequence. It is the longest sequence as the circuit was not powered. Note that this sequence remains unchanged if VBAT was present or not.

Cold reset sequence (boot sequence from system Standby)

For a wakeup from system Standby, as the \(V_{DD}\) is not switched-off, the settling time is faster as the reference voltage is already stable. As the \(V_{DDCORE}\) was switched-off, the restart delay for the HSI, and the option byte reloading cannot be skipped.

Warm reset (boot sequence from application reset out of the \(V_{DD}\) power-on reset)

The warm reset sequence of Figure 52 gives the most important steps of this boot sequence. Note that in this case, \(V_{DD}/V_{DDA}\) have not been switched-off as well as the \(V_{DDCORE}\). The setting time is faster as the reference voltage is already stable. The HSI restart delay may be needed if the HSI is not enabled when the application reset occurs, otherwise this restart delay phase is skipped. The option byte reloading is performed.

Wakeup sequence from a system Stop mode: Stop, LP-Stop, LPLV-Stop, and LPLV-Stop2

For a restart from one of the system Stop modes, the automatic clock restore sequence is performed to restore the clocking as it is defined for the Run mode, before giving back the control to the application. And with the following specificities:

Figure 52. Startup, cold/warm reset and wakeup from any Stop mode sequences

Startup, cold/warm reset and wakeup from any Stop mode sequences timing diagram

Device startup
(power-on)
VDD > POR → EXT REG + BandGap → HSI → OTP_LD → BR → APP → Time

Cold reset
(wakeup from system Standby)
WKUPx pins or RTC event → VDDCORE REG → HSI → OTP_LD → BR → APP → Time

Warm reset (wakeup from an application reset out of the VDD power-on reset)
(pad reset or bor_rst or iwdg[2:1]_out_rst or software reset or detected HSE clock failure)
NRST goes HIGH → HSI → OTP_LD → BR → APP → Time

Wakeup from system LPLV-Stop2
Wakeup event → TSEL_VDDCORETEMPO → HSI(*) → BR → CK_RESTORE → APP → Time

Wakeup from system LPLV-Stop
Wakeup event → TSEL_VDDCORETEMPO → HSI → CK_RESTORE → APP → Time

Wakeup from system LP-Stop
Wakeup event → HSI → PWRLP_TEMPO → CK_RESTORE → APP → Time

Wakeup from system Stop
Wakeup event → HSI → CK_RESTORE → APP → Time

EXT REG + BandGapBandgap and external regulator settling timeBRBoot ROM codeAPPControl given to the application
VDDCORE REGExternal VDDCORE regulator setting time (up to the tVDDCORE_TEMPO elapsed once VDDCORE > VTH_VDDCORE )OTP_LDOption bytes loadingHSIHSI restart delay
TSEL_VDDCORETEMPOInternal delay for the VDDCORE to be raised after a LPLV-Stop or LPLV-Stop2CK_RESTORERestore previous clock configurationHSI (*)HSI restart delay including VDDCPU settling time (up to vddcpu_ok)
PWRLP_TEMPOProgrammable delay for external regulator to switch from low-power to main mode (c.f. RCC_PWRLPDLYCR)

MSv66208V3

Startup, cold/warm reset and wakeup from any Stop mode sequences timing diagram

10.4 RCC functional description - clock part

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

It offers a good flexibility for the application to select the appropriate clock for MPU and peripherals.

Each clock source can be switched on or off independently in order to optimize the power consumption.

There are mainly 4 clock paths:

The RCC provides up to 4 PLLs, each of them can be configured with integer or fractional ratios.

The blocks named AXISSCD, and MLAHBSSCD contain several prescalers used to configure the processor and bus matrix clock frequencies.

The blocks named AXISSCE, MLAHBSSCE and PCKE are responsible for the gating of the peripheral kernel clock, the bus interface, the core & bus matrix clocks.

The block named PKCS (peripheral kernel clock selection) provides several dynamic switches allowing a large choice for the kernel clock distribution to peripherals.

As shown in Figure 53, the RCC offers 2 clock outputs (MCO1 and MCO2), with a large flexibility on the clock selection and frequency adjustment.

Figure 53. Top-level clock tree

Figure 53. Top-level clock tree: A detailed block diagram of the top-level clock tree for the RCC peripheral in RM0475. It illustrates clock sources (LSI, LSE, HSE, HSI, CSI), domains (VDD Domain, VSW Backup Domain, PLL1-4 blocks), multiplexers (RTCCKEN, MCO1SEL, MCO2SEL, CKPERSRC, MPUSRC, AXISSRC, MLAHBSSRC, PKCS, PKCE), dividers, and target outputs (IWDG[2:1], RTC/WUT, MCO1, MCO2, MPU, AXI, MLAHB Sub-System, peripherals, ETH clocks, I2S_CKIN).
Figure 53. Top-level clock tree: A detailed block diagram of the top-level clock tree for the RCC peripheral in RM0475. It illustrates clock sources (LSI, LSE, HSE, HSI, CSI), domains (VDD Domain, VSW Backup Domain, PLL1-4 blocks), multiplexers (RTCCKEN, MCO1SEL, MCO2SEL, CKPERSRC, MPUSRC, AXISSRC, MLAHBSSRC, PKCS, PKCE), dividers, and target outputs (IWDG[2:1], RTC/WUT, MCO1, MCO2, MPU, AXI, MLAHB Sub-System, peripherals, ETH clocks, I2S_CKIN).

3. X represents the selected MUX input after a system reset.

10.4.1 Clock naming convention

The RCC is providing clocks to the complete circuit. In order to avoid misunderstanding, the following terms are used in this document:

10.4.2 Oscillators 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 52. Oscillator states versus system modes

System modesVDD domainVSW domain
HSEHSICSILSILSE
Exit from system resetOFFONOFFAvailableAvailable
In RunAvailableAvailableAvailableAvailableAvailable
In Stop, LP-Stop, LPLV-Stop and LPLV-Stop2Available (1)Available (2)Available (3)AvailableAvailable
In StandbyOFFOFFOFFAvailableAvailable
In VBATOFFOFFOFFOFFAvailable
  1. 1. HSE can remain activated in any Stop mode if HSEKERON = '1', or if the peripheral generates a kernel clock request.
  2. 2. HSI can remain activated in any Stop mode if HSIKERON = '1', or if the peripheral generates a kernel clock request.
  3. 3. CSI can remain activated in any Stop mode if CSIKERON = '1', or if the peripheral generates a kernel clock request.

The HSE oscillator

The high speed external block can generate a clock from two possible sources:

In order to allow the boot ROM to detect in which configuration the HSE is used, a resistor (R1) must be connected either to the GND or to VDD.

The resistor must be connected to the GND in the case where the HSE is using an external digital clock. The resistor must be connected to the VDD in the case where the HSE is using an external analog clock, and removed if a crystal or ceramic resonator is used.

Refer to the datasheet for the values of CL1, CL2 and R1.

Figure 54. HSE clock source

Figure 54: HSE clock source configurations. The diagram shows three ways to connect the HSE oscillator: 1. Digital external clock: OSC_IN is connected to an external digital clock source, and OSC_OUT is connected to ground through resistor R1. 2. Analog external clock: OSC_IN is connected to an external analog clock source, and OSC_OUT is connected to VDD through resistor R1. 3. Crystal/ceramic resonators configuration: OSC_IN and OSC_OUT are connected to a crystal or ceramic resonator with load capacitors CL1 and CL2 between them and ground. Reference: MSv66210V1.
Figure 54: HSE clock source configurations. The diagram shows three ways to connect the HSE oscillator: 1. Digital external clock: OSC_IN is connected to an external digital clock source, and OSC_OUT is connected to ground through resistor R1. 2. Analog external clock: OSC_IN is connected to an external analog clock source, and OSC_OUT is connected to VDD through resistor R1. 3. Crystal/ceramic resonators configuration: OSC_IN and OSC_OUT are connected to a crystal or ceramic resonator with load capacitors CL1 and CL2 between them and ground. Reference: MSv66210V1.

The HSERDY flag of the RCC oscillators and MPU and AXI clock ready register (RCC_OCRDYR) indicates whether the HSE oscillator is stable or not. When the HSE is enabled (HSEON set to '1'), the HSERDY flag goes to '1' when 512 cycles of HSE clock have been counted. The hse_ck clock is not released until the HSERDY bit is set by hardware. An interrupt can be generated if enabled in the RCC clock source interrupt enable register (RCC_MP_CIER).

Figure 55 shows a simplified view of the HSE clock generation.

Figure 55. HSE clock generation

Figure 55: HSE clock generation block diagram. The diagram shows the internal logic of the RCC for HSE clock generation. It includes a clock squarer, a multiplexer controlled by DIGBYP, another multiplexer controlled by HSEBYP, and a Ready Logic block. The HSE_OSC block provides the clock signal to OSC_IN and OSC_OUT. The HSE_CSS block monitors the clock and outputs rcc_hsecss_fail. The final outputs are HSERDY and hse_ck. Reference: MSv66211V1.
Figure 55: HSE clock generation block diagram. The diagram shows the internal logic of the RCC for HSE clock generation. It includes a clock squarer, a multiplexer controlled by DIGBYP, another multiplexer controlled by HSEBYP, and a Ready Logic block. The HSE_OSC block provides the clock signal to OSC_IN and OSC_OUT. The HSE_CSS block monitors the clock and outputs rcc_hsecss_fail. The final outputs are HSERDY and hse_ck. Reference: MSv66211V1.

Note as well that it is possible to keep the HSE enabled, when the system is in any Stop mode, see Section 10.4.7: Clock generation in Stop and Standby modes for additional information.

In addition, it is possible to drive the HSE clock to the MCO1 and MCO2 outputs and use it as a clock source for other application components.

External clock configuration (HSE bypass)

The HSE can accept 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 user must do the following:

See Figure 54 and Figure 55 for details. Refer to the datasheet for additional information.

External crystal/ceramic resonator configuration

The oscillator is enabled by setting the HSEBYP bit to '0', and HSEON to '1'.

The HSE can be used when the product needs a very accurate high speed clock.

In order to select the external crystal/ceramic resonator, the application must follow the sequence hereafter:

The associated hardware configuration is shown in Figure 54. 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 start-up stabilization time. The loading capacitance values must be adjusted according to the selected crystal or ceramic resonator. Refer to the electrical characteristics section of the datasheet for more details.

The HSI oscillator

The HSI provides the default clock to the product.

The HSI is a High Speed Internal RC oscillator which can also be used directly as a source for processor and interconnects clocks, peripheral clock, or as PLL input.

A pre-divider allows the user to select a HSI output frequency of 8, 16, 32 or 64 MHz. This pre-divider is controlled by HSIDIV located into the RCC HSI configuration register (RCC_HSIConfig). A flag (HSIDIVRDY) is also available into the RCC oscillators and MPU and AXI clock ready register (RCC_OCRDYR) in order to check when the new division ratio is taken into account by the hardware.

Note that the HSIDIV value can be changed on-the-fly, and the HSI block takes into account the new division ratio without generating any spurs on the HSI clock.

However the following points must be considered:

The HSI has some advantages:

The HSI precision, even with the 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 as well that it is possible to keep the HSI enabled, when the system is in any Stop mode, see Section 10.4.7: Clock generation in Stop and Standby modes for additional information.

The HSIRDY flag of RCC_OCRDYR register indicates whether the HSI is stable or not. At startup, the HSI output clock is not released until the HSIRDY bit is set by hardware. The HSI activation can also be controlled by the application via HSION bit located into the RCC stop request set register (RCC_MP_SREQSETR) and RCC oscillator clock enable clear register (RCC_OCENCLRR).

In addition, it is possible to drive the HSI clock to the MCO1 and MCO2 outputs and use it as a clock source for other application components.

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}\). Refer to the datasheet of the product for more information.

When a app_rst or vcore_rst occurred, the factory calibration value is reloaded in the HSI, and is visible on HSICAL[11: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.

Bits HSICAL[11:0] and HSITRIM[6:0] are located into the RCC HSI configuration register (RCC_HSICFGR).

Figure 56. HSI calibration flow

Figure 56: HSI calibration flow diagram. The diagram shows the calibration process within the RCC block. A BSEC block provides a constant value bsec_hsi_cal[11:0] to an adder (+). The adder also receives HSITRIM[6:0] (signed) from the RCC_HSICFGR register. The output of the adder is hsi_cal[11:0], which is sent to the HSI block's CAL[11:0] register. The RCC_HSICFGR register also provides HSICAL[11:0] (unsigned) as a feedback path from the hsi_cal[11:0] signal.

MSv66212V1

Figure 56: HSI calibration flow diagram. The diagram shows the calibration process within the RCC block. A BSEC block provides a constant value bsec_hsi_cal[11:0] to an adder (+). The adder also receives HSITRIM[6:0] (signed) from the RCC_HSICFGR register. The output of the adder is hsi_cal[11:0], which is sent to the HSI block's CAL[11:0] register. The RCC_HSICFGR register also provides HSICAL[11:0] (unsigned) as a feedback path from the hsi_cal[11:0] signal.

In addition the RCC provides a signal named hsi_cal_ck dedicated to the calibration of the HSI. This signal is connected to TIM15 and TIM12, refer to Section 10.7.4: The clock calibration using TIMx for additional information.

Note as well that the signal hsi_cal_ck is gated when the system goes to Stop.

The CSI oscillator

The CSI is a Low Power RC oscillator which can also be used directly as a source for the MLAHBSS clock, peripheral clock, or as PLL input for PLL3 and PLL4.

The CSI has some advantages:

Note that the CSI provides a clock frequency of about 4 MHz, while the HSI is able to provide a clock up to 64 MHz.

The CSI frequency precision, even with calibration of the frequency, is less accurate than an external crystal oscillator or ceramic resonator.

Even if the settling time of the CSI is faster than the one of the HSI, care must be taken when the CSI is used as kernel clock for communication peripherals: the application has to take into account the following parameters:

Note as well that it is possible to keep the CSI enabled, when the system is in any Stop mode, see Section 10.4.7: Clock generation in Stop and Standby modes for additional information.

In addition, it is possible to drive the CSI clock to the MCO1 output and use it as a clock source for other application components.

The CSI can also be controlled by the application via CSION bit located into the RCC stop request set register (RCC_MP_SREQSETR) and RCC oscillator clock enable clear register (RCC_OCENCLRR).

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_{CSI}\). Refer to the datasheet of the product for more information.

When a app_rst or vcore_rst occurred, the factory calibration value is reloaded into the CSI, and is visible on CSICAL[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 CSI frequency using the CSITRIM[4:0] bits.

Bits CSICAL[7:0] and CSITRIM[4:0] are located into the RCC CSI configuration register (RCC_CSICFGR).

Figure 57. CSI calibration flow

Figure 57. CSI calibration flow diagram. The diagram shows the flow of calibration data from BSEC to the CSI register. BSEC provides bsec_csi_cal[7:0] to an adder (+) in the RCC. The adder also receives CSITRIM[4:0] (unsigned) from the RCC_CSICFGR register. The output of the adder is csi_cal[7:0], which is then loaded into the CSI CAL[7:0] register. The RCC_CSICFGR register also provides CSICAL[7:0] (unsigned) to the CSI register.

MSv66213V1

Figure 57. CSI calibration flow diagram. The diagram shows the flow of calibration data from BSEC to the CSI register. BSEC provides bsec_csi_cal[7:0] to an adder (+) in the RCC. The adder also receives CSITRIM[4:0] (unsigned) from the RCC_CSICFGR register. The output of the adder is csi_cal[7:0], which is then loaded into the CSI CAL[7:0] register. The RCC_CSICFGR register also provides CSICAL[7:0] (unsigned) to the CSI register.

In addition the RCC provides a signal named csi_cal_ck dedicated to the calibration of the CSI. This signal is connected to TIM15 and TIM12, refer to Section 10.7.4: The clock calibration using TIMx for additional information.

Note as well that the signal csi_cal_ck is gated when the system goes to Stop.

The LSE oscillator

The Low Speed External block can generate a clock from two possible sources:

The LSE function offers a LSERDY flag which indicates whether the LSE clock is available or not.

Figure 58. LSE clock generation

Figure 58. LSE clock generation diagram. The diagram shows the internal logic of the LSE oscillator within the RCC. It includes a clock squarer, a multiplexer (MUX) controlled by DIGBYP, another MUX controlled by LSEBYP, and a Ready Logic block. The LSE OSC block is controlled by LSEDRV[1:0]. The output of the Ready Logic block is LSE_ck, which is also connected to the LSE_CSS block. The LSE_CSS block outputs rcc_lsecss_fail. The OSC32_IN and OSC32_OUT pins are also shown.

MSv66214V2

Figure 58. LSE clock generation diagram. The diagram shows the internal logic of the LSE oscillator within the RCC. It includes a clock squarer, a multiplexer (MUX) controlled by DIGBYP, another MUX controlled by LSEBYP, and a Ready Logic block. The LSE OSC block is controlled by LSEDRV[1:0]. The output of the Ready Logic block is LSE_ck, which is also connected to the LSE_CSS block. The LSE_CSS block outputs rcc_lsecss_fail. The OSC32_IN and OSC32_OUT pins are also shown.

The LSE oscillator is switched on and off using the LSEON bit. The LSE remains enabled when the system enters in Stop, LP-Stop, LPLV-Stop, LPLV-Stop2, Standby or VBAT mode.

In addition, it is possible to drive the LSE clock to the MCO1 output and use it 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 the LSEBYP and LSEON bits to '1'. In bypass mode, when the LSE is enabled (LSEON set to '1'), the LSERDY flag goes immediately to '1'.

The external clock signal can be digital or analog (square, sinus or triangle). An 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 should be left HI-Z. Refer to the datasheet for additional information.

In order to select the external clock source, the application must follow the sequence hereafter:

Note that those bits except DBP, are all located into the RCC backup domain control register (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 real-time clock peripheral (RTC) for clock/calendar or other timing functions.

In order to select the external crystal/ceramic resonator, the application must follow the sequence hereafter:

Note that those bits are all located into the RCC backup domain control register (RCC_BDCR).

When the LSE is enabled (LSEON set to '1'), the LSERDY flag goes to '1' when 4096 cycles of LSE clock have been detected. This mechanism is also activated for an external clock source (LSEBYP = '1'). An interrupt can be generated if enabled in the RCC clock source interrupt enable register (RCC_MP_CIER) when the LSE is ready.

Note: The LSE on MCO1 output is only available in Run and any Stop mode. In Standby and VBAT mode, LSE is not available from MCO1 output. When entering Standby or VBAT mode a spike may occur on MCO1.

The LSE offers a programmable driving capability (LSEDRV[1:0]) of the oscillator amplifier. It allows the application to adapt the oscillator to the characteristics of the external components. 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.


The LSI oscillator

The LSI acts as a low-power clock source that can be kept running when the System is in Stop, LP-Stop, LPLV-Stop, LPLV-Stop2 or Standby mode for the independent watchdogs (IWDG) and wakeup timer (WUT). The clock frequency is around 32 kHz. For more details, refer to the electrical characteristics section of the datasheet.

The LSI can be switched on and off using the LSION bit, and the LSIRDY flag indicates whether 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 the LSIRDY bit. An interrupt can be generated if enabled in the RCC clock source interrupt enable register (RCC_MP_CIER).

In addition, it is possible to drive the LSI clock to the MCO1 output and use it as a clock source for other application components.

Note: Note that the LSI on MCO1 output is only available in Run and any Stop mode. In Standby mode, the LSI is not available from MCO1 output. When entering Standby mode a spike may occur on MCO1.

Bits LSION and LSIRDY are located into the RCC reset duration and LSI control register (RCC_RDLSICR).

10.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. This could be caused for example, by a hardware failure or an attack. In the case failure detection the CSS generates a system reset, and protect sensitive data of the BKPSRAM.

The clock security system can be activated by the application software via HSECSSON bit. The HSECSSON bit can be activated even when the HSEON is set to '0'. The CSS on HSE is enabled by the hardware when the HSE is enabled and ready, and HSECSSON is set to '1'.

When the HSE clock is automatically disabled by hardware (for example when the system enters Stop or Standby mode), the CSS on HSE is also automatically disabled by hardware.

It is not possible to clear the bit HSECSSON by software.

The bit HSECSSON is cleared by the hardware when a system reset occurs or when the system enters in Standby mode. The bits HSEON and HSECSSON are located into the RCC oscillator clock enable set register (RCC_OCENSETR).

If a failure is detected on the HSE:

Figure 59 shows the block involved in the HSE and LSE CSS function. Refer to the description of those blocks to get more details.

Note: Note that before selecting again the HSE clock, after an HSE failure, the HCSSRSTF flag located into RCC boot ROM reset status clear register (RCC_BR_RSTSCLRR) must be cleared. The boot ROM performs this task by resetting the HCSSRSTF flag of the RCC_BR_RSTSCLRR register, after an HSE failure. Then the boot ROM reboots the circuit if the selected boot source does not require the HSE resource. Refer to boot ROM documentation for details.

Additionally, HSE clock monitoring can be performed to protect the system against over-frequency attacks via LPTIM3, that can compare HSE clock to the divided HSI clock and generate a tamper event in case HSE clock becomes faster than expected.

Figure 59. LSE and HSE CSS function

Block diagram of LSE and HSE CSS function showing connections between RCC, RTC (TAMP), EXTI, PWR, GIC, and BKPSRAM.

The diagram illustrates the LSE and HSE CSS function. The RCC block outputs rcc_lsecss_fail and rcc_hsecss_fail signals to the TAMP block within the RTC. The TAMP block contains it_tamper_async, it_tamper_sec_sync, it_tamper_nonsec_sync, and erase signals. it_tamper_async connects to EXTI line 18, which then connects to the PWR block via c1_wakeup and sys_wakeup signals. it_tamper_sec_sync connects to EXTI line 197, which connects to the GIC TAMP_SERR_S. it_tamper_nonsec_sync connects to EXTI line 2, which connects to the GIC TAMP. The erase signal connects to the BKPSRAM block. A Backup Regs. block is also shown within the RTC, connected to the erase signal.

Block diagram of LSE and HSE CSS function showing connections between RCC, RTC (TAMP), EXTI, PWR, GIC, and BKPSRAM.

CSS on LSE

The RCC features a clock security system to detect if there is a LSE clock failure: if the clock stops toggling due to an unexpected reason, or if there is an over-frequency situation, for example due to an attack. In case of failure detection the CSS generates a failure event and protect sensitive data of the BKPSRAM.

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

  1. 1. Set the LSEON to '1', and wait for LSERDY = '1',
  2. 2. Select the LSE clock via the RTCSRC field,
  3. 3. Set the LSECSSON to '1',

The LSECSSON bit can only be disabled by a backup domain reset (refer to Section 10.3.4: Backup domain reset).

LSEON and RTCSRC are located into the RCC backup domain control register (RCC_BDCR).

The CSS on LSE is functional in all system modes: Run, Stop, Standby and VBAT.

If a failure is detected on the LSE:

The CSS on LSE offers two flags in order to detect a failure: the flag LSECSSD located into the RCC_BDCR register, and the LSECSSF located into the RCC clock source interrupt flag register (RCC_MP_CIFR).

In case of failure, the software has to do the following:

For sure, the software can take any other required actions to secure the application.

Figure 59 shows the block involved in the HSE and LSE CSS function.

10.4.4 Clock output generation (MCO1 & MCO2)

Two micro-controller clock output (MCO) pins are available: MCO1 and MCO2. For each output, it is possible to select a clock source. The selected clock can be divided thanks to configurable prescaler. Refer to Figure 3 for additional information on signal selection.

The MCO1 and MCO2 outputs are controlled via MCO1DIV[3:0], MCO1SEL[2:0], MCO2DIV[2:0] and MCO2SEL[2:0] located into the RCC MCO1 configuration register (RCC_MCO1CFGR) and RCC MCO2 configuration register (RCC_MCO2CFGR).

For the different MCO pins, the corresponding GPIO port has to be programmed in alternate function mode.

The dividers MCODIV1 and MCODIV2, provide a clock with a duty cycle of 50% for divisions with even values. More generally the duty cycle is given by the following formula:

\[DC(\%) = \frac{\text{FLOOR}\left(\frac{\text{MCODIVx} + 1}{2}\right)}{(\text{MCODIVx} + 1)} \times 100\]

For MCODIVx = 0, the duty cycle is also 50%.

Note that the MCO1 and MCO2 outputs are only available in Run and any Stop mode.

Caution: The clock provided to the MCOs outputs must not exceed the maximum PAD speed, Refer to the product datasheet for information about the supported PAD speed.

10.4.5 PLLs description

The RCC features four PLLs:

One PLL (PLL1) having a VCO frequency of up to 2 GHz (PLL_2000), exclusively used to provide the clock to the Cortex-A7 MPU sub-system (CA7-SS).

One PLL (PLL2) having a VCO frequency of up to 1.6 GHz (PLL_1600), used to the clock generation for the AXI-SS. Some outputs of this PLL are also used to generate a kernel clock to peripherals.

Two PLLs having a VCO frequency of up to 800 MHz (PLL_800):

PLL_2000 main features:

PLL_1600 main features:

PLL_800 main features:

Figure 60. PLL1 block diagram

Figure 60. PLL1 block diagram showing PLL_2000 structure with ANALOG PART (LDO 1.1 V, PFD + CP, LPF, VCO 992 to 2000 MHz, ÷ 2 giving foutx_ck with 50% duty cycle) and digital control (SSCG with TWG, QTZ, ΣΔ Modulator (SDM), ÷ 31...75...125 feedback, and post-dividers DIVPx, DIVQ, DIVR enabled by DIVPEN, DIVQEN, DIVREN producing pllx_p_ck, pllx_q_ck, pllx_r_ck).

(1) It is recommended to use the values 1,2,4,6...128 for DIVP of PLL1

MSv66216V1

Figure 60. PLL1 block diagram showing PLL_2000 structure with ANALOG PART (LDO 1.1 V, PFD + CP, LPF, VCO 992 to 2000 MHz, ÷ 2 giving foutx_ck with 50% duty cycle) and digital control (SSCG with TWG, QTZ, ΣΔ Modulator (SDM), ÷ 31...75...125 feedback, and post-dividers DIVPx, DIVQ, DIVR enabled by DIVPEN, DIVQEN, DIVREN producing pllx_p_ck, pllx_q_ck, pllx_r_ck).

Figure 61. PLL2 block diagram

Figure 61. PLL2 block diagram showing PLL_1600 structure with ANALOG PART (LDO 1.1 V, PFD + CP, LPF, VCO 800 to 1600 MHz, ÷ 2 giving foutx_ck with 50% duty cycle) and digital control (SSCG with TWG, QTZ, ΣΔ Modulator (SDM), ÷ 25...75...100 feedback, and post-dividers DIVPx, DIVQ, DIVR enabled by DIVPEN, DIVQEN, DIVREN producing pllx_p_ck, pllx_q_ck, pllx_r_ck).

(1) It is recommended to use the values 1,2,4,6...128 for DIVP of PLL2

MSv66217V1

Figure 61. PLL2 block diagram showing PLL_1600 structure with ANALOG PART (LDO 1.1 V, PFD + CP, LPF, VCO 800 to 1600 MHz, ÷ 2 giving foutx_ck with 50% duty cycle) and digital control (SSCG with TWG, QTZ, ΣΔ Modulator (SDM), ÷ 25...75...100 feedback, and post-dividers DIVPx, DIVQ, DIVR enabled by DIVPEN, DIVQEN, DIVREN producing pllx_p_ck, pllx_q_ck, pllx_r_ck).

The PLL1 and PLL2 analog parts provide a dedicated outputs delivering a clean clock signal (foutx_ck) with a duty cycle of 50%. The foutx_ck clock has a frequency of FVCO / 2, and is available on pllx_p_ck, pllx_q_ck and, pllx_r_ck outputs when the post-dividers are bypassed.

The MPU and DDRC are very sensitive to clock jitter and duty cycle degradation, the application must use directly foutx_ck when possible.

Figure 62. PLL3 and PLL4 block diagram

Figure 62: PLL3 and PLL4 block diagram showing PLL_800 architecture with reference clock refx_ck (4 to 16 MHz), VDD_PLL, LDO to 1.1 V, PFD + CP, LPF, VCO (400 to 800 MHz) yielding vcox_ck, DIVP, DIVQ, and DIVR output dividers, and an SSCG with Sigma-Delta Modulator (SDM) loop feedback.

(1) It is recommended to use the values 1,2,4,6...128 for DIVP of PLL3

MSv66218V2

Figure 62: PLL3 and PLL4 block diagram showing PLL_800 architecture with reference clock refx_ck (4 to 16 MHz), VDD_PLL, LDO to 1.1 V, PFD + CP, LPF, VCO (400 to 800 MHz) yielding vcox_ck, DIVP, DIVQ, and DIVR output dividers, and an SSCG with Sigma-Delta Modulator (SDM) loop feedback.

The PLLs are controlled via RCC_PLLxCR, RCC_PLLxCFGR1, RCC_PLLxCFGR2 and RCC_PLLxFRACR registers.

The user must provide to each PLL, a clean reference clock (refx_ck) in the accepted input frequency range, which is:

The application has to program properly the DIVM1, DIVM2, DIVM3 and DIVM4 dividers in order to match these conditions.

In addition, the IFRGE field must be set according to the reference input frequency: it guarantees an optimal performance of the PLL3 and PLL4.

The loop divider DIVN 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 enabled by setting the corresponding PLLON bit to ‘1’. The PLLxRDY bits inform the user that the PLL is ready (for example locked).

Warning: For the DIVP outputs of PLL1 and PLL2, only the bypass (division by 1) and even divisions are allowed.
For the DIVP output of PLL3, only the even divisions are allowed.
If those conditions are not respected the behavior of the circuit is not guaranteed.

More generally, in order to get PLLs output frequencies with a duty cycle close to 50%, DIVP, DIVQ, DIVR must select an even division.

RM0475 Reset and clock control (RCC)

RM0475 Rev 5 527/3742

PLL programming recommendations

This section is providing a list of recommendations to follow in order to guarantee a good usage of the PLLs. Note that programming examples are given in Section 10.7.2: PLL programming.

Note: The refx_ck clock is provided to the PLLx when the corresponding PLLON bit is set to '1'.

The PLLs can work in 3 different modes:

Using the PLLs in integer mode

The PLL is working in integer mode when the sigma-delta modulator (SDM) is loaded with a '0', and the bit SSCG_CTRL = '0' where available.

In order to load '0' into the SDM, the user has to perform the following sequence:

The bits FRACV[12:0] and FRACLE are located in the RCC PLLx Fractional Register (RCC_PLLxFRACR) with x = 1, 2, 3 or 4.

For the PLL1 and PLL2, the VCO frequency (\(F_{VCO}\)) is given by the following expression:

\[F_{VCO} = F_{ref\_ck} \times 2 \times (DIVN + 1)\]

And the frequency at the output of the post-dividers is given by:

\[F_{pll\_y\_ck} = \frac{F_{VCO}}{2 \times (DIVy + 1)}\]

with y = P, Q or R

For the PLL3 and PLL4, the VCO frequency (\(F_{VCO}\)) is given by the following expression:

\[F_{VCO} = F_{ref\_ck} \times (DIVN + 1)\]

And the frequency at the output of the post-dividers is given by
with y = P,Q or R

\[F_{\text{pll}_y\text{\_ck}} = \frac{F_{\text{VCO}}}{\text{DIV}_y + 1}\]

Using the PLLs in fractional mode

The fractional mode is activated when the value loaded into the SDM is different from 0, and the bit SSCG_CTRL = '0' where available.

The SDM value can be updated at anytime by the application by executing the following sequence:

The sigma delta modulator is designed in order to minimize the jitter impact while allowing very small frequency steps.

When the PLL is used in fractional mode, the DIVN divider must be initialized before enabling the PLL, but it is then possible to change the value of FRACV 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.

For the PLL1 and PLL2, the VCO frequency is given by the following expression:

\[F_{\text{VCO}} = 2 \times F_{\text{ref\_ck}} \times \left( (\text{DIVN} + 1) + \frac{\text{FRACV}}{2^{13}} \right)\]

\(F_{\text{pll}_x\text{\_ck}}\) can be computed using formula of Section : Using the PLLs in integer mode.

For the PLL3 and PLL4, the VCO frequency is given by the following expression:

\[F_{\text{VCO}} = F_{\text{ref\_ck}} \times \left( (\text{DIVN} + 1) + \frac{\text{FRACV}}{2^{13}} \right)\]

\(F_{\text{pll}_x\text{\_ck}}\) can be computed using formula of Section : Using the PLLs in integer mode.

Using the PLLs in spread spectrum mode

The spread spectrum mode is activated when the SDM loaded with 0, and the bit SSCG_CTRL = '1'. This feature is available on PLL1, PLL2, PLL3, and PLL4.

The spread spectrum technique consist 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. As a consequence, the amount of emitted EMI peaks is reduced.

The parameters of the spread spectrum modulation are adjusted via the following fields:

Note: Note that the modulation frequency is generally in the range of 20 to 50 kHz.

The bits MOD_PER[12:0], INC_STEP[14:0] and SSCG_MODE are located in RCC PLLx clock spreading generator register (RCC_PLLxCSGR) with x = 1 or 2.

Figure 63 shows the signal modulating the nominal frequency (\(F_N\)), when SSCG_MODE = 0 (center-spread) and SSCG_MODE = '1' (down-spread). The nominal frequency is the frequency output by the PLL in integer mode, when no clock spreading is applied.

Setting the SSCG_MODE bit to '1' (down-spread) guarantees that the PLL output frequency does not exceed the programmed frequency value when the SSCG is enabled.

Figure 63. Spread spectrum modulation

Figure 63: Spread spectrum modulation. Two graphs show frequency vs. time. The left graph, labeled 'center-spread', shows a triangular wave centered on a nominal frequency F_N. The peak-to-peak frequency deviation is M_D, and the period of the modulation is F_MOD. The right graph, labeled 'down-spread', shows a triangular wave where the frequency is always less than or equal to F_N. The peak-to-peak frequency deviation is M_D, and the period of the modulation is F_MOD. Both graphs have a horizontal axis labeled 't' and a vertical axis labeled 'Frequency'.
Figure 63: Spread spectrum modulation. Two graphs show frequency vs. time. The left graph, labeled 'center-spread', shows a triangular wave centered on a nominal frequency F_N. The peak-to-peak frequency deviation is M_D, and the period of the modulation is F_MOD. The right graph, labeled 'down-spread', shows a triangular wave where the frequency is always less than or equal to F_N. The peak-to-peak frequency deviation is M_D, and the period of the modulation is F_MOD. Both graphs have a horizontal axis labeled 't' and a vertical axis labeled 'Frequency'.

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

\[M_D (\%) = \frac{\text{MOD\_PER} \times \text{INC\_STEP} \times 100 \times 5}{(2^{15} - 1) \times (\text{DIVN} + 1)}\]

Note that MOD_PER x INC_STEP must not exceed (2¹⁵-1).

The modulation frequency (\(F_{\text{mod}}\)) is given by:

\[F_{\text{mod}} = \frac{F_{\text{ck\_ref}}}{4 \times \text{MOD\_PER}}\]

In order to use the spread spectrum feature, the user has to do the following:

\[MOD\_PER = ROUND\left(\frac{F_{ck\_ref}}{4 \times F_{mod}}\right)\]

\[INC\_STEP = ROUND\left(\frac{(2^{15} - 1) \times M_D \times (DIVN + 1)}{100 \times 5 \times MOD\_PER}\right)\]

Check that MOD_PER × INC_STEP does not exceed (2¹⁵-1).

The user can check \(F_{MIN}\), \(F_{MAX}\) and \(F_C\) as follow:

Figure 64 shows the digital signal generated by triangular waveform generator (TWG block), and the way of MOD_PER and INC_STEP are changing the triangular waveform.

Figure 64. Triangular waveform generator

Figure 64: Triangular waveform generator diagram. The diagram shows a triangular waveform (TWG output) oscillating between F_MAX and F_MIN. The peak value is labeled (2^15-1) and the trough value is labeled -2^15. The center frequency is F_C = F_N. The period of the waveform is labeled F_mod = F_ref_ck / (4 x MOD_PER). The waveform is divided into segments of MOD_PER steps. A detailed view of the counter shows it increments from 0 to 1, then to 2, with a step size labeled INC_STEP. The counter period is T_ref_ck. A 'center-spread' label is shown at the bottom right of the waveform.
Figure 64: Triangular waveform generator diagram. The diagram shows a triangular waveform (TWG output) oscillating between F_MAX and F_MIN. The peak value is labeled (2^15-1) and the trough value is labeled -2^15. The center frequency is F_C = F_N. The period of the waveform is labeled F_mod = F_ref_ck / (4 x MOD_PER). The waveform is divided into segments of MOD_PER steps. A detailed view of the counter shows it increments from 0 to 1, then to 2, with a step size labeled INC_STEP. The counter period is T_ref_ck. A 'center-spread' label is shown at the bottom right of the waveform.

Refer to Section : Reprogramming post-dividers and Section : PLL initialization procedure for additional information on the PLL programming.

10.4.6 Sub-system clocks

The RCC handles three sub-system clocks: mpuss_ck, axiss_ck and mlahbss_ck.

Sub-system clock selection

After a system reset, the HSI is selected as the main clock for the complete system. So the HSI is used to provide the clocks:

After a system reset, all PLLs are switched off, as well as CSI and HSE.

When the system is running, the user has the possibility to select the clock to be used for the MPU (mpuss_ck), for the interconnect (axiss_ck), and for the MLAHB (mlahbss_ck).

For mpuss_ck, the application can select between the following sources:

For axiss_ck, the application can select between the following sources:

For mlahbss_ck, the application can select between the following sources:

The clock source for mpuss_ck is controlled by MPUSRC located into the RCC MPU clock selection register (RCC_MPCKSELR), the clock source for axiss_ck is controlled by AXISSRC located into the RCC AXI sub-system clock selection register (RCC_ASSCKSELR), and the clock source for mlahbss_ck is controlled by MLAHBSSRC located into the RCC MLAHB sub-system clock selection register (RCC_MSSCKSELR).

Dynamic clock switches

The clock selectors shown with a square D on Figure 65 permits to reconfigure the selected input on the fly without spurs or timing violation. This allows dynamic clock switching.

As a consequence, the switching from the original to the new can only be performed if a clock is present on both inputs. If it is not the case, no clock is provided. In order to recover from this situation the user has to provide a valid clock to both inputs.

During the transition from one input to the other, the clock output is gated, in the worst case, during 3 clock cycles of the previously selected clock and 3 clock cycles of the new selected clock. As shown in Figure 65, both input clocks must be present during transition time.

Note that some dynamic switches such as the ones controlled by PLL12SRC, PLL3SRC, PLL4SRC, MPUSRC, AXISSRC and MLAHBSSRC provide a ready signal (xxxSRCRDY in Figure 65). This ready signal goes immediately to '0', when the clock source is changed (xxxSRC), and goes to '1' when the switch is able to provide the new selected clock. This signal can be used to check that the switch transition has been properly done.

When those switches are placed in position where no input clock is selected (position 2,3 in the example of Figure 65), no clock is generated to their outputs, and the xxxSRCRDY flag is set to '0'.

Note: Note however that the xxxSRCRDY flag cannot be used to detect if a clock is generated at the switch output. For example, if the switch is already selecting the in0_ck, and the xxxSRCRDY flag is set to '1', if the in0_ck is disabled, the xxxSRCRDY flag does not go to '0', but stays to '1' because last switch transition has been properly performed. For sure if the application changes the xxxSRC value, if the in0_ck is disabled the switch is not able to select the new one, and the xxxSRCRDY flag remains at '0'.

Figure 65. Dynamic clock switching

Figure 65: Dynamic clock switching diagram. The diagram shows a timing diagram and a logic schematic. The timing diagram illustrates the transition of the xxxSRC register from 0 to 1. During the 'Transition time', both input clocks (in0_ck and in1_ck) must be present. The xxxSRCRDY signal goes low during this transition and returns high once the new clock (selected_ck) is stable. A note indicates that in0_ck can be disabled during the transition. The logic schematic shows a multiplexer selecting between in0_ck and in1_ck based on xxxSRC, with a D flip-flop and a ready signal (xxxSRCRDY) indicating the status of the switch.

The diagram illustrates the dynamic clock switching process. It consists of a timing diagram on the left and a logic schematic on the right.

Timing Diagram:

Logic Schematic:

MSv66221V1

Figure 65: Dynamic clock switching diagram. The diagram shows a timing diagram and a logic schematic. The timing diagram illustrates the transition of the xxxSRC register from 0 to 1. During the 'Transition time', both input clocks (in0_ck and in1_ck) must be present. The xxxSRCRDY signal goes low during this transition and returns high once the new clock (selected_ck) is stable. A note indicates that in0_ck can be disabled during the transition. The logic schematic shows a multiplexer selecting between in0_ck and in1_ck based on xxxSRC, with a D flip-flop and a ready signal (xxxSRCRDY) indicating the status of the switch.

Hardware protection for switch transition

The switching from one clock source to another occurs only if the target clock source is ready (clock stable after startup delay or PLL locked). If a clock source that is not yet ready is selected, the switching occurs when the clock source is ready.

The status bits in the RCC oscillators and MPU and AXI clock ready register (RCC_OCRDYR) indicate which clock(s) is (are) ready.

Sub-system clock generation

Figure 66 shows a simplified view of the clock distribution for the CPUs and busses. All the dividers presented in the block diagram can be changed on-the-fly without generating timing violations. This feature allows the user to adapt in a very simple way, the busses frequencies to the application needs, and thus optimize the power consumption.

The MPUDIV divider located into RCC MPU clock divider register (RCC_MPCKDIVR) can be used to adjust dynamically the clock for the MPU.

The AXIDIV divider located into RCC AXI clock divider register (RCC_AXIDIVR) can be used to adjust dynamically the clock for the AXI matrix. The value of this divider also impacts the clock frequency of AHB5, AHB6, APB4 and APB5.

The APB4DIV divider located into RCC APB4 clock divider register (RCC_APB4DIVR) can be used to adjust dynamically the clock for the APB4 bridge. In the same way, the APB5DIV divider located into RCC APB5 clock divider register (RCC_APB5DIVR), can be used to adjust dynamically the clock for the APB5 bridge.

In the MLAHB clock tree, the MLAHBDIV divider located into RCC MLAHB clock divider register (RCC_MLAHBDIVR), can be used to adjust dynamically the clock for the MLAHB. The value of this divider also impacts the clock frequency of AHB1, AHB2 and AHB4 bridges, APB1, APB2, APB3 and APB6.

The APB1DIV divider located into RCC APB1 clock divider register (RCC_APB1DIVR), can be used to adjust dynamically the clock for the APB1 bridge. Similar implementation is available for APB2 via the RCC APB2 clock divider register (RCC_APB2DIVR), APB3 via the RCC APB3 clock divider register (RCC_APB3DIVR), and APB6 via the RCC APB6 clock divider register (RCC_APB6DIVR).

Note that 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 66. Core and busses clock generation

Block diagram of core and bus clock generation within the RCC. It shows three main clock sources: MPUSRC, AXISSRC, and MLAHBSSRC. MPUSRC feeds into a MUX (0: hsi_ck, 1: hse_ck, 2: pll1_p_ck, 3: MPUSRCRDY) and a divider (+2,3,4,...,16) to produce mpuss_ck (650/1000 MHz Max) for the CA7_SS. AXISSRC feeds into a MUX (0: hsi_ck, 1: hse_ck, 2: pll2_p_ck, 3: 0) and a divider (+1,2,3,4) to produce axiss_ck (266 MHz Max, 50% duty c) for the AXI-SS. MLAHBSSRC feeds into a MUX (0: hsi_ck, 1: hse_ck, 2: csi_ck, 3: pll3_p_ck) and a divider (+1,2,4,8,...,512) to produce mlahbss_ck (209 MHz Max) for the MLAHB-SS. The AXI-SS and MLAHB-SS also have internal clock dividers (APB4DIV, APB5DIV, APB1DIV, APB2DIV, APB3DIV, APB6DIV) to generate various peripheral clocks (pclk4, pclk5, pclk1, pclk2, pclk3, pclk6) with 50% duty cycle. The diagram also shows the SYSCE and MLAHBCE clock enabling blocks.

The diagram illustrates the clock generation logic within the Reset and Clock Control (RCC) block. It shows three primary clock sources and their distribution to various system components:

Additional features include clock enabling blocks (SYSCE and MLAHBCE) and a note indicating that selected inputs can be changed on-the-fly without spurs on the output signal.

Block diagram of core and bus clock generation within the RCC. It shows three main clock sources: MPUSRC, AXISSRC, and MLAHBSSRC. MPUSRC feeds into a MUX (0: hsi_ck, 1: hse_ck, 2: pll1_p_ck, 3: MPUSRCRDY) and a divider (+2,3,4,...,16) to produce mpuss_ck (650/1000 MHz Max) for the CA7_SS. AXISSRC feeds into a MUX (0: hsi_ck, 1: hse_ck, 2: pll2_p_ck, 3: 0) and a divider (+1,2,3,4) to produce axiss_ck (266 MHz Max, 50% duty c) for the AXI-SS. MLAHBSSRC feeds into a MUX (0: hsi_ck, 1: hse_ck, 2: csi_ck, 3: pll3_p_ck) and a divider (+1,2,4,8,...,512) to produce mlahbss_ck (209 MHz Max) for the MLAHB-SS. The AXI-SS and MLAHB-SS also have internal clock dividers (APB4DIV, APB5DIV, APB1DIV, APB2DIV, APB3DIV, APB6DIV) to generate various peripheral clocks (pclk4, pclk5, pclk1, pclk2, pclk3, pclk6) with 50% duty cycle. The diagram also shows the SYSCE and MLAHBCE clock enabling blocks.
  1. 1. Can be changed on the fly.
  2. 2. Keeps a duty-cycle of 50% even for division by 3.
  3. 3. X represents the selected MUX input after a system reset.

10.4.7 Clock generation in Stop and Standby modes

The product supports four kinds of system Stop modes:

The main differences between those stop modes is the handling of the \(V_{DDCORE}\) and \(V_{DDCPU}\) supply voltages:

Going to Stop, LP-Stop, LPLV-Stop or LPLV-Stop2 mode

The system can go to Stop, LP-Stop or LPLV-Stop mode, when the MPU is in CStop. The system can go to LPLV-Stop2 mode, when the MPU is in CStandby. Refer to Section 9.5.1: Operating modes.

Before going to CStop, processor has to mask all the interrupts except the RCC wakeup interrupt in order to ensure a safe Stop sequence entry and exit. The RCC provides the secure and non-secure wakeup interrupt: rcc_sec_mpu_wkup_it and rcc_nonsec_mpu_wkup_it which can be enabled via the RCC_MP_CIER.WKUPIE bit. Refer to Section 10.6: RCC interrupts for additional information.

Before gating all the clocks, the RCC waits that the DDRC enters into self-refresh mode. As a consequence, the effective entry into Stop, LP-Stop, LPLV-Stop mode or LPLV-Stop2, may be delayed until the DDRC allows it. Then the RCC stops all the clocks (sub-systems and kernel clocks) and the following clock sources are disabled as well:

Note: In any Stop mode, HSE, HSI and CSI cannot be used as a sub-system clock source. In any Stop mode, HSE, HSI and CSI may remain active to source a kernel clock provided that respectively HSEKERON='1', HSIKERON='1', and CSIKERON='1' of the RCC oscillator clock enable set register (RCC_OCENSETR), in order to avoid the oscillator settling time when a wakeup-capable peripheral requests the kernel clock.

Note: LSE and LSI oscillators remain active in any Stop mode if enabled, respectively via the LSEON control bit of the RCC backup domain control register (RCC_BDCR) and the LSION control bit of the RCC reset duration and LSI control register (RCC_RDLISCR).

Figure 67. Key signals controlling low-power modes

Block diagram showing the interaction between EXTI, PWR, RCC, and GIC for low-power mode control. EXTI receives wake-up events and outputs sys_wakeup and mpu_wakeup to PWR. PWR outputs pwrwake_sys and pwrwake_mpu to RCC, and receives pwrds_sys and pwrds_mpu from RCC. RCC outputs rcc_sec_mpu_wkup_it and rcc_nonsec_mpu_wkup_it to GIC. A shared hclk4 signal is connected to EXTI, PWR, and RCC.
graph LR
    WakeUp[Wake-up events] --> EXTI
    EXTI -- sys_wakeup --> PWR
    EXTI -- mpu_wakeup --> PWR
    PWR -- pwrwake_sys --> RCC
    PWR -- pwrwake_mpu --> RCC
    RCC -- pwrds_sys --> PWR
    RCC -- pwrds_mpu --> PWR
    RCC -- rcc_sec_mpu_wkup_it --> GIC
    RCC -- rcc_nonsec_mpu_wkup_it --> GIC
    hclk4((hclk4)) --> EXTI
    hclk4 --> PWR
    hclk4 --> RCC
  

MSv66223V1

Block diagram showing the interaction between EXTI, PWR, RCC, and GIC for low-power mode control. EXTI receives wake-up events and outputs sys_wakeup and mpu_wakeup to PWR. PWR outputs pwrwake_sys and pwrwake_mpu to RCC, and receives pwrds_sys and pwrds_mpu from RCC. RCC outputs rcc_sec_mpu_wkup_it and rcc_nonsec_mpu_wkup_it to GIC. A shared hclk4 signal is connected to EXTI, PWR, and RCC.

In addition, the RCC informs the PWR block that the MPU sub-system is in CStop via signals pwrds_mpu, and pwrds_sys (see Figure 46).

During Stop, LP-Stop, LPLV-Stop or LPLV-Stop2 mode

As explained in the previous section, in system Stop, LP-Stop, LPLV-Stop mode or LPLV-Stop2 mode, all clocks, PLLs and oscillators are disabled, except LSE and LSI which are kept in their current states. However there are two specific cases in any Stop mode where the HSE, HSI or CSI can be enabled:

The HSEKERON, HSIKERON and CSIKERON bits are located into the RCC oscillator clock enable set register (RCC_OCENSETR) and RCC oscillator clock enable clear register (RCC_OCENCLRR). Table 53 gives details on the behavior of those bits.

Note as well that the HSE, HSI and CSI outputs provide two clock paths (see Figure 3):

In any system Stop mode, when a peripheral requests the kernel clock, only the path providing the peripheral kernel clock is activated, the processor and interconnects clock paths remain inactive.

Table 53. HSI, CSI and HSE states versus system modes(1)
System modesHSION (CSION) (HSEON)HSIKERON (CSIKERON) (HSEKERON)Kernel clock request (2)-HSI State (CSI State) (HSE State)hsi_ck (csi_ck) (hse_ck)hsi_ker_ck (csi_ker_ck) (hse_ker_ck)
Run0X1→ONGatedON
0→OFFGated
1X→ONONON
Table 53. HSI, CSI and HSE states versus system modes(1) (continued)
System modesHSION (CSION) (HSEON)HSIKERON (CSIKERON) (HSEKERON)Kernel clock request (2)-HSI State (CSI State) (HSE State)hsi_ck (csi_ck) (hse_ck)hsi_ker_ck (csi_ker_ck) (hse_ker_ck)
Stop, LP-Stop, LPLV-Stop, LPLV-Stop2XX1→ON (3)GatedON
00→OFFGated
10→ONON (4)
StandbyXXX→OFFGatedGated
  1. 1. 'ON' state highlighted in gray.
  2. 2. Kernel clock request is equal '1' when the peripheral is requesting a kernel clock AND its corresponding PERxSRC is selecting the HSE, HSI or CSI oscillator, AND if its PERxEN and PERxLPEN are set to '1'. Refer to Table 63: Peripheral clock enable details for MPU for details.
  3. 3. Only the oscillator selected by the PERxSRC of the peripheral requesting the kernel clock is enabled.
  4. 4. The kernel clock is provided to the PCKE block, and gated as long as the peripheral does not generate a kernel clock request.

Leaving Stop, LP-Stop, LPLV-Stop or LPLV-Stop2 mode

The system can leave Stop, LP-Stop, LPLV-Stop or LPLV-Stop2 mode thanks to events generated by peripherals able to work in the selected Stop mode. The exit from any system Stop is generally done in the following way (see also Figure 67):

Caution: The RCC integrates a hardware state machine able to restore the clock configuration which was used before going to one of the Stop modes. The PLL3 and PLL4 are not handled by this mechanism.

When exiting from one of the system Stop modes, the MLAHB always uses the hsi_ck as sub-system clock and the PLL3 and PLL4 are disabled. As a consequence, after any system Stop, the following bits are set to their reset value:

The RCC executes the clock restore sequence every time the system exits from Stop, LP-Stop, LPLV-Stop or LPLV-Stop2 as shown in Figure 67. When the system is in Run, all oscillators and PLLs requested by the application are activated.

Figure 68. Clock restore activation versus system mode

Diagram showing clock restore activation versus system mode. It illustrates the transition between System Stop and System Run modes. In System Stop, the MPU is in CStop/CStandby. A 'CR' (Clock Restore) event triggers a sequence: 1. Enabling of mpuss_ck, mlahbss_ck, and axiss_ck clocks (if not already enabled) via pwrwake_mpu. 2. Disabling of all sub-system clocks, all PLLs, and oscillators if allowed. The diagram shows a flow from System Stop to System Run and back.

System Stop

MPU CStop/CStandby

CR

2

3

System Run

MPU CRun/CSleep

CR Clock restore sequence triggered by pwrwake_sys event. hsi_ck is enabled in order to generate hclk4. PLL1 and PLL2 are re-enabled if their respective PLLxON bit was set to '1'.

2 Enabling of mpuss_ck, mlahbss_ck and axiss_ck clocks, if not already enabled (pwrwake_mpu)

3 Disabling of all sub-system clocks, all PLLs, and oscillators if allowed

Run, Crun, or Csleep Stop, Cstop, or CStandby

MSv66224V1

Diagram showing clock restore activation versus system mode. It illustrates the transition between System Stop and System Run modes. In System Stop, the MPU is in CStop/CStandby. A 'CR' (Clock Restore) event triggers a sequence: 1. Enabling of mpuss_ck, mlahbss_ck, and axiss_ck clocks (if not already enabled) via pwrwake_mpu. 2. Disabling of all sub-system clocks, all PLLs, and oscillators if allowed. The diagram shows a flow from System Stop to System Run and back.

Handling the PWRLP_TEMPO

The PWRLP_TEMPO is used to wait automatically that the external PMIC switches from low-power (LP) mode to high-power (HP), before enabling power-consuming parts. The application can control the delay value via RCC low-power Stop modes delay control register (RCC_PWRLPDLYCR). The PWRLP_TEMPO is using the hsi_ck clock as reference.

In order to allow a fast restart time, it is possible for the activation of the mlahbss_ck clock to minimize the PWRLP_TEMPO delay (i.e. RCC_PWRLPDLYCR.PWRLP_DLY[21:0]=4, same than after reset). This is only possible when the power consumption of the MLAHB sub-system is low enough to be supported by the external power regulator in LP mode. Note that in this case, the external power regulator still has to transit from LP to HP mode.


Warning: RCC_PWRLPDLYCR.PWRLP_DLY[21:0]=4 is the reset value and is the minimum value of the PWRLP_TEMPO for a functional wakeup from any Stop mode.


Refer to Section 10.7.5: Clock restore sequence examples for additional information.

The clock restore sequence description

Every time the system exits from one of the Stop modes (pwrwake_sys), the RCC re-enables the requested oscillators and PLLs in order to restore the mpuss_ck, axiss_ck and mlahbss_ck clocks.

When the system exits from one of the Stop modes due to a wakeup event for the MPU (pwrwake_mpu), then the mpuss_ck, mlahbss_ck and axiss_ck clocks are re-enabled simultaneously only when both mpuss_ck, mlahbss_ck and axiss_ck are ready.

More precisely, the clock restore sequence is split into the following main steps (see also Figure 69 and Figure 70):

Refer to Section 10.7.5: Clock restore sequence examples for additional information.

Figure 69. Clock restore process activated after any system Stop mode

Flowchart of the clock restore process after system stop modes.
graph TD; Start[Wakeup from system Stop, LP-Stop, LPLV-Stop or LPLV-Stop2
(pwrwake_sys event)] --> SystemStopExit([SYSTEM_STOP_EXIT]); SystemStopExit --> SetAXICKRDY[Set AXICKRDY = 0]; SetAXICKRDY --> EnableClocks[Enable HSE and/or CSI if their respective enable bit is set to 1, and always enable HSI]; EnableClocks --> HSIDRYHSERDY1{HSIDRY/HSERDY}; EnableClocks --> HSIDRYHSERDY2{HSIDRY/HSERDY}; EnableClocks --> HSIDR{HSIDR Y}; EnableClocks --> CSIRD{CSIRD Y}; HSIDRYHSERDY1 -- No --> PLL1Check{PLL1 to be enabled?}; HSIDRYHSERDY1 -- Yes --> PLL1Wait[- Wait for ref1_ck ready
- Disable DIVP,Q,R,
- Enable the PLL1 VCO
- Wait for PLL1 ready]; PLL1Check -- No --> PLL1Wait; PLL1Check -- Yes --> PLL1Wait; HSIDRYHSERDY2 -- No --> PLL2Check{PLL2 to be enabled?}; HSIDRYHSERDY2 -- Yes --> PLL2Wait[- Wait for ref2_ck ready
- Disable DIVP,Q,R,
- Enable the PLL2 VCO
- Wait for PLL2 ready]; PLL2Check -- No --> PLL2Wait; PLL2Check -- Yes --> PLL2Wait; HSIDR --> WaitPWRLP_TEMPO[Wait for PWRLP_TEMPO if needed (e.g. if exit from LP-Stop)]; CSIRD --> WaitPWRLP_TEMPO; PLL1Wait --> WaitPWRLP_TEMPO; PLL2Wait --> WaitPWRLP_TEMPO; WaitPWRLP_TEMPO --> ReenablePLL1[Re-enable PLL1 DIVP,Q,R if enabled by the application]; WaitPWRLP_TEMPO --> ReenablePLL2[Re-enable PLL2 DIVP,Q,R if enabled by the application]; WaitPWRLP_TEMPO --> SelectHSICSI[- Select HSI/CSI for mlahbss_ck
- Wait for mlahbssck_rdy]; ReenablePLL1 --> WaitClocksReady[Wait that clocks selected by MPUSRC and AXISSRC are ready (i.e. mpuck_rdy and axissck_rdy)]; ReenablePLL2 --> WaitClocksReady; SelectHSICSI --> WaitClocksReady; WaitClocksReady --> End([END]);

MSv66225V1

Flowchart of the clock restore process after system stop modes.

Figure 70. Wake up from CStop process

Flowchart of the Wake up from CStop process. The process starts with an 'MPU wakeup event' (grey box), followed by 'MPU_EXIT_FROM_CStop' (rounded rectangle), then a box to 'Enable mlahbss_ck', 'Enable axiss_ck', and 'Enable mpuss_ck'. Next is a box to 'Set AXICKRDY to 1' and 'Set MPUCKRDY to 1'. This is followed by 'RUN the MPU' (rounded rectangle), and finally 'END' (rounded rectangle).
graph TD
    A[MPU wakeup event] --> B(MPU_EXIT_FROM_CStop)
    B --> C["- Enable mlahbss_ck
- Enable axiss_ck
- Enable mpuss_ck"] C --> D["- Set AXICKRDY to 1
- Set MPUCKRDY to 1"] D --> E(RUN the MPU) E --> F(END)

MSv66226V1

Flowchart of the Wake up from CStop process. The process starts with an 'MPU wakeup event' (grey box), followed by 'MPU_EXIT_FROM_CStop' (rounded rectangle), then a box to 'Enable mlahbss_ck', 'Enable axiss_ck', and 'Enable mpuss_ck'. Next is a box to 'Set AXICKRDY to 1' and 'Set MPUCKRDY to 1'. This is followed by 'RUN the MPU' (rounded rectangle), and finally 'END' (rounded rectangle).

Table 54. Resources potentially reconfigured during clock restore sequence

Resources-Corresponding registers during clock restore
Sub-system clock switches→RCC_MPCKSELR, RCC_ASSCKSELR, RCC_MSSCKSELR
PLL1 & 2 settings→RCC_PLL1CR, RCC_PLL1CFGR1, RCC_PLL1CFGR2, RCC_PLL1FRACR,
RCC_PLL1CSGR
RCC_PLL2CR, RCC_PLL2CFGR1, RCC_PLL2CFGR2, RCC_PLL2FRACR,
RCC_PLL2CSGR
Reference clocks selection→RCC_RCK12SELR
Oscillator settings→RCC_OCENSETTR, RCC_OCENCLRR, RCC_HSICFGR, RCC_CSICFGR
Miscs→RCC_PWRLPDLYCR

Going to Standby mode

The system can go to Standby mode when MPU is in CStandby. Refer to Section 9.6: PWR low-power operating modes for details.

When the complete system goes to Standby mode, the RCC stops all the clocks and PLLs, with the exception of the LSI and LSE.

In addition, the RCC informs the PWR block that the MPU is in CStandby via pwrds_mpu.

Then the PWR block can request to the external power regulators to switch off the \(V_{DDCORE}\) and \(V_{DDCPU}\) voltages. Only parts working on \(V_{DD}\) and \(V_{SW}\) are kept operating in this mode.

Leaving Standby mode

When the circuit leaves the system Standby mode, the HSI is selected as default clock for mpuss_ck, axiss_ck, mlahbss_ck, the RCC registers are reset to their initial values except the RCC_BDCR, RCC_RDLSICR and RCC_BR_RSTSCLRR registers.

Note that a system reset is generated when the circuit exits from Standby.

10.4.8 Peripheral clock distribution

Some peripherals are designed to work with two different clock domains asynchronous each other: a clock domain synchronous to the register and bus interface (ckg_bus_perx clock), and a clock domain generally synchronous to the peripheral (kernel clock).

The benefit of having peripherals supporting those 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.

As a consequence, the user can change the bus frequency without reprogramming the peripherals. For example an on-going transfer with UART is not disturbed if its APB clock is changed on-the-fly.

For most of the peripherals, Table 55 displays the peripheral clocks under RCC control. Note that clocks controlled by the peripherals themselves are not shown (for examples clocks from an external interfaces and the peripherals).

Table 55 shows clearly (gray shaded cells) the kernel clocks provided by the RCC, and the bit field controlling the kernel clock selector. The maximum allowed frequency is given for the output of each MUX and for each bus clock.

It is up to the user to respect those requirements.

Table 55. Peripheral clock distribution overview

PeripheralsClock typesType (1)Max. freq. [MHz]Clock MUXMUX Pos.Clock sources
ADC1, ADC2Kernel←A133 (2)ADC1SRC, ADC2SRC0pll4_r_ck
1per_ck
2pll3_q_ck
Bus←-209--hclk2
BSECBus←-67--pclk5
CRC1Bus←-266--hclk6
CRYP1Bus←-266--hclk5
DCMIPPKernel←A266DCMIPPSRC0aclk
1pll2_q_ck
2pll4_p_ck
3per_ck
Bus←A133--pclk4
Bus←-266--aclk
DDRCKernel←A533--ker_ddrc_ck
Bus←-133--pclk4
266--aclk
DDRPERFMKernel←A533--ker_ddrc_ckg
Bus←-133--pclk4
DDRPHYCKernel←A533--pll2_r_ck
Bus←-133--pclk4
DFSDMKernel←A133SAI1SRC0pll4_q_ck
1pll3_q_ck
2I2S_CKIN
3per_ck
4pll3_r_ck
←S209--mlhclk
Bus←-104.5--pclk2
DLYBSD1, DLYBSD2Bus←-266--hclk6
DLYBSD3Bus←-209--hclk2
DLYBQSBus←-266--hclk6
DMA1, DMA2Bus←-209--mlhclk
hclk1
hclk2
DMA3Bus←-209--mlhclk
hclk2
DMAMUX1, DMAMUX2Bus←-209--hclk2
DTSKernel←A10--lse_ck
Bus←-104.5--pclk3

Table 55. Peripheral clock distribution overview (continued)

PeripheralsClock typesType(1)Max. freq. [MHz]Clock MUXMUX Pos.Clock sources
ETH1, ETH2Kernel←A125ETH1SRC, ETH2SRC0pll4_p_ck
1pll3_q_ck
Bus←-266--hclk6
aclk
ETZPCBus←-133--pclk5
EXTIBus←-209--hclk4
FDCANKernel←A100FDCANSRC0hse_ker_ck
1pll3_q_ck
2pll4_q_ck
3pll4_r_ck
Bus←-104.5--pclk2
FMCKernel←A266FMCSRC0aclk
1pll3_r_ck
2pll4_p_ck
3per_ck
Bus←-266--hclk6
aclk
GPIOA-IBus←-209--hclk4
HASH1Bus←-266--hclk5
HDPBus←-104.5--pclk3
I2C1, I2C2Kernel←A104.5I2C12SRC0pclk1
1pll4_r_ck
2hsi_ker_ck
3csi_ker_ck
Bus←-104.5--pclk1
I2C3, I2C4, I2C5Kernel←A104.5I2C3SRC, I2C4SRC, I2C5SRC0pclk6
1pll4_r_ck
2hsi_ker_ck
3csi_ker_ck
Bus←-104.5--pclk6
IWDG1Kernel←A1--lsi_ck
Bus←-133--pclk5
IWDG2Kernel←A1--lsi_ck
Bus←-133--pclk4

Table 55. Peripheral clock distribution overview (continued)

PeripheralsClock typesType (1)Max. freq. [MHz]Clock MUXMUX Pos.Clock sources
LPTIM1Kernel←A104.5LPTIM1SRC0pclk1
1pll4_p_ck
2pll3_q_ck
3lse_ck
4lsi_ck
5per_ck
Bus←-104.5--pclk1
LPTIM2, LPTIM3Kernel←A104.5LPTIM2SRC, LPTIM3SRC0pclk3
1pll4_q_ck
2per_ck
3lse_ck
4lsi_ck
5per_ck
Bus←-104.5--pclk3
LPTIM4, LPTIM5Kernel←A104.5LPTIM45SRC0pclk3
1pll4_p_ck
2pll3_q_ck
3lse_ck
4lsi_ck
5per_ck
Bus←-104.5--pclk3
LTDCKernel←A90--pll4_q_ck
Bus←-133--pclk4
266--aclk
DDRMCEBus←-266--hclk6
266--aclk
PKABus←-266--hclk5
PWRBus←-209--hclk4
QUADSPIKernel←A266QSPISRC0aclk
1pll3_r_ck
2pll4_p_ck
3per_ck
Bus←-266--hclk6
-aclk
RNG1Kernel←A360RNG1SRC0csi_ker_ck
1pll4_r_ck
2Reserved
3lsi_ck
Bus←-266--hclk5
-hclk5

Table 55. Peripheral clock distribution overview (continued)

PeripheralsClock typesType(1)Max. freq. [MHz]Clock MUXMUX Pos.Clock sources
RTC/WUT(3)Kernel←A4RTCSRC1lse_ck
2lsi_ck
3hse_ker_ck / (RTCDIV+1)
Bus←-133--pclk5
SAESKernel←A360SAESSRC0axiss_ck
1per_ck
2pll4_r_ck
3lsi_ck
Bus←-266--hclk5
SAI1Kernel←A133SAI1SRC0pll4_q_ck
1pll3_q_ck
2I2S_CKIN
3per_ck
4pll3_r_ck
Bus←-104.5--pclk2
SAI2Kernel←A133SAI2SRC0pll4_q_ck
1pll3_q_ck
2I2S_CKIN
3per_ck
4spdif_ck_symb
5pll3_r_ck
Bus←-104.5--pclk2
SDMMC1, SDMMC2Kernel←A266SDMMC1SRC, SDMMC2SRC0hclk6
1pll3_r_ck
2pll4_p_ck
3hsi_ker_ck
Bus←-266--hclk6
SPDIFRXKernel←A200SPDIFSRC0pll4_p_ck
1pll3_q_ck
2hsi_ker_ck
Bus←-104.5--pclk1
SPI/I2S1Kernel←A200SPI1SRC0pll4_p_ck
1pll3_q_ck
2I2S_CKIN
3per_ck
4pll3_r_ck
Bus←-104.5--pclk2

Table 55. Peripheral clock distribution overview (continued)

PeripheralsClock typesType (1)Max. freq.
[MHz]
Clock MUXMUX Pos.Clock sources
SPI/I2S4Kernel←A104.5SPI4SRC0pclk6
1pll4_q_ck
2hsi_ker_ck
3csi_ker_ck
4hse_ker_ck
5I2S_CKIN
Bus←-104.5--pclk6
SPI5Kernel←A104.5SPI5SRC0pclk6
1pll4_q_ck
2hsi_ker_ck
3csi_ker_ck
4hse_ker_ck
Bus←-104.5--pclk6
SPI/I2S3, SPI/I2S2Kernel←A200SPI23SRC0pll4_p_ck
1pll3_q_ck
2I2S_CKIN
3per_ck
4pll3_r_ck
Bus←-104.5--pclk1
STGENKernel←A64STGENSRC0hsi_ker_ck
1hse_ker_ck
Bus←-133--pclk4
pclk5
SYSCFGBus←-104.5--pclk3
TIM1,TIM8Kernel←S209--timg2_ck
Bus←-104.5--pclk2
TIM[7:2]Kernel←S209--timg1_ck
Bus←-104.5--pclk1
TIM[17:12]Kernel←S209--timg3_ck
Bus←-104.5--pclk6
USART1, USART2Kernel←A104.5UART1SRC,
UART2SRC
0pclk6
1pll3_q_ck
2hsi_ker_ck
3csi_ker_ck
4pll4_q_ck
5hse_ker_ck
Bus←-104.5--pclk6

Table 55. Peripheral clock distribution overview (continued)

PeripheralsClock typesType (1)Max. freq. [MHz]Clock MUXMUX Pos.Clock sources
USART3, UART4, UART5
USART7, UART8
Kernel←A104.5UART35SRC,
UART4SRC,
UART78SRC
0pclk1
1pll4_q_ck
2hsi_ker_ck
3csi_ker_ck
4hse_ker_ck
Bus←-104.5--pclk1
USART6Kernel←A104.5UART6SRC0pclk2
1pll4_q_ck
2hsi_ker_ck
3csi_ker_ck
4hse_ker_ck
Bus←-104.5--pclk2
USBHKernel←A60--rcc_ck_usbh_free
60rcc_ck_usbh_60m
48rcc_ck_usbh_48m
12rcc_ck_usbh_12m
Bus←-266--hclk6
USBPHYKernel←A38.4USBPHYSRC0hse_ker_ck
1pll4_r_ck
2hse_ker_ck / 2
Bus←-133--pclk4
USBOKernel←A50USBOSRC0pll4_r_ck
1rcc_ck_usbo_48m
Kernel←A60--rcc_ck_usbo_60m
Bus←-209--hclk2
VREFBUFBus←-104.5--pclk3
  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. For the ADC1 and ADC2, if a clock with a duty cycle of 50% is needed then the max frequency is limited to 75 MHz. In order to get a duty cycle 50%, the DIVQ value must be odd or a prescaler inside the ADC must be used. Refer to Section : Clock distribution for STGEN and ADCs for details. When both ADCs are used, the kernel clock should be the same for both ADCs and the embedded ADC prescalers cannot be used.
    For the SDMMCx, a duty cycle of 50% is needed when supporting DDR, if the RCC cannot provide a clock with such a duty cycle, the application must use SDMMCx internal dividers.
  3. 3. The RTC switch is in the VSW voltage domain.

For each clock source, next Table 56 lists the peripherals whose the kernel clock is or can be driven by this clock source, depending on the programmed selection, if any.

Table 56. Kernel clock distribution versus peripherals

Kernel clock sourceConnected peripherals
hse_ker_ckFDCAN, RTC/WUT, SPI4, SPI5, STGEN, USART1, USART2, USART3, UART4, UART5, USART6, USART7, UART8, USB-PHY (1),
and via per_ck: ADC1(2), ADC2(2), DCMIPP, DFSDM, FMC, LPTIM1, LPTIM2, LPTIM3, LPTIM4, LPTIM5, QUADSPI, SAES, SAI1, SAI2, SPI/I2S1, SPI/I2S2, SPI/I2S3
hsi_ker_ckI2C1, I2C2, I2C3, I2C4, I2C5, I2C6, SDMMC1, SDMMC2, SPDIFRX, SPI/I2S4, SPI5, STGEN, USART1, USART2, USART3, UART4, UART5, USART6, USART7, UART8
and via per_ck: ADC1(2), ADC2(2), DCMIPP, DFSDM, FMC, LPTIM1, LPTIM2, LPTIM3, LPTIM4, LPTIM5, QUADSPI, SAES, SAI1, SAI2, SPI/I2S1, SPI/I2S2, SPI/I2S3
csi_ker_ckDTS, I2C1, I2C2, I2C3, I2C4, I2C5, I2C6, SPI/I2S4, SPI5, RNG1, RTC/WUT, USART1, USART2, USART3, UART4, UART5, USART6, UART7, UART8
and via per_ck: ADC1(2), ADC2(2), DCMIPP, DFSDM, FMC, LPTIM1, LPTIM2, LPTIM3, LPTIM4, LPTIM5, QUADSPI, SAES, SAI1, SAI2, SPI/I2S1, SPI/I2S2, SPI/I2S3
lse_ckDTS, LPTIM1, LPTIM2, LPTIM3, LPTIM4, LPTIM5, RTC/WUT
lsi_ckIWDG1, IWDG2, LPTIM1, LPTIM2, LPTIM3, LPTIM4, LPTIM5, RNG1, RNG2, SAES
spdif_ck_symbSAI2
per_ckADC1(2), ADC2(2), DCMIPP, DFSDM, FMC, LPTIM1, LPTIM2, LPTIM3, LPTIM4, LPTIM5, QUADSPI, SAES, SAI1, SAI2, SPI/I2S1, SPI/I2S2, SPI/I2S3
I2S_CKINDFSDM, SPI/I2S1, SPI/I2S2, SPI/I2S3, SPI/I2S4, SAI1, SAI2
pll2_q_ckDCMIPP
pll2_r_ckDDRPHYC
pll3_q_ckADC1(2), ADC2(2), DFSDM, ETH1, ETH2, FDCAN, LPTIM1, LPTIM4, LPTIM5, SAI1, SAI2, SPDIFRX, SPI/I2S1, SPI/I2S2, SPI/I2S3, I2C4, I2C6, USART1, USART2
pll3_r_ckDFSM, FMC, QUADSPI, SAI1, SAI2, SDMMC1, SDMMC2, SPI/I2S1, SPI/I2S2, SPI/I2S3,
pll4_p_ckET1, ETH2, FMC, LPTIM1, LPTIM4, LPTIM5, QUADSPI, SDMMC1, SDMMC2, SPDIFRX, SPI/I2S1, SPI/I2S2, SPI/I2S3
pll4_q_ckDCMIPP, DFSDM, FDCAN, LPTIM2, LPTIM3, LTDC, SAI1, SAI2, SPI/I2S4, SPI5, USART1, USART2, USART3, UART4, UART5, USART6, USART7, UART8
pll4_r_ckADC1, ADC2, FDCAN, I2C1, I2C2, I2C3, I2C4, I2C5, RNG1, SAES, USBPHY, USBO
pclk1I2C1, I2C2, LPTIM1, USART3, UART4, UART5, UART7, UART8
pclk2USART6
pclk3LPTIM2, LPTIM3, LPTIM4, LPTIM5
pclk4
pclk5
pclk6I2C3, I2C4, I2C5, SPI/I2S4, SPI5, USART1, USART2
hclk1
hclk2
hclk4
hclk5
hclk6SDMMC1, SDMMC2
mlhclk (APB1)TIM2, TIM3, TIM4, TIM5, TIM6, TIM7
mlhclk (APB2)DFSDM, TIM1, TIM8
mlhclk (APB6)TIM12, TIM13, TIM14, TIM15, TIM16, TIM17
aclkDCMIPP, FMC, QUADSPI
  1. 1. The USBPHY receives the hse_ker_ck, and hse_ker_ck/2 clocks.
  2. 2. When both ADCs are used, the kernel clock should be the same for both ADCs and the embedded ADC prescalers cannot be used.

The following sections show a more detailed view of the kernel clock and bus interface clock distribution. Refer to Section 10.4.11: Peripheral clock gating control for details.

In order to reduce the amount of switches, some peripherals are sharing the same kernel clock source. Nevertheless, all peripherals have their dedicated enable signal.

Clock distribution for SAIs, SPI/I2Ss, SPDIFRX and DFSDM

The audio peripherals generally need specific accurate frequencies, except for SPDIFRX. As shown in Figure 72 and Figure 73, the kernel clock of the SAIs or SPI(I2S)s can be generated by:

To work properly, the DFSDM always needs dfsdm_clk and dfsdm_pclk clocks.

The clock dfsdm_Aclk can be used as clock source for DFSDM_CKOUT. The clock DFSDM_CKOUT can be generated either from dfsdm_clk (default) or dfsdm_Aclk.

See Section 29: Digital filter for sigma delta modulators (DFSDM) for details.

Clock settings examples for PLL3

The table hereafter is showing programming examples of kernel clock generation using the PLL3. Audio frequencies with good accuracy (grey cells) can be obtained with the PLL3 in fractional or integer mode. The PLL3 is also used to provide a clock to the MLAHB (PLL3P output).

Table 57. Kernel clock settings examples for audio applications

ConfFHSEFref3_ckFvcoDIVM+1DIVN+1FRACVDIVP+1DIVQ+1DIVR+1PLL3P outputPLL3Q outputPLL3R output
Freq.Error for 48 kHzFreq.Error for 44.1 kHz
#12412417.71234663221737208.924.5715-18511.2896-1
#22412417.79234668521737208.924.5760111.2917185
#32412417.75234665921737208.924.5738-9011.290794
#4244.8614.4051280425-153.624.5760--
#5244.8609.6512704-27152.4--22.5778-63
MHzMHzMHzMHzMHzppmMHzppm

Figure 71. Peripheral clock distribution for SAIs and DFSDM

Block diagram showing peripheral clock distribution for SAIs and DFSDM. It includes RCC, PKCS, and PKCE sections. PKCS contains dynamic switches for SAI2SRC and SAI1SRC. PKCE contains CGL blocks for SAI2, SAI1, and DFSDM. Outputs include sai_pclk, SAI_CK_A, SAI_CK_B, dfsdm_Aclk, dfsdm_clk (Clk), and dfsdm_pclk. Frequency limits of 133 MHz Max and 209 MHz Max are indicated.

The diagram illustrates the clock distribution logic within the Reset and Clock Control (RCC) block. It is divided into three main sections: PKCS (Peripheral Clock Selection), PKCE (Peripheral Clock Enable), and the output peripherals (SAI2, SAI1, DFSDM).

Legend:

MSv66227V1

Block diagram showing peripheral clock distribution for SAIs and DFSDM. It includes RCC, PKCS, and PKCE sections. PKCS contains dynamic switches for SAI2SRC and SAI1SRC. PKCE contains CGL blocks for SAI2, SAI1, and DFSDM. Outputs include sai_pclk, SAI_CK_A, SAI_CK_B, dfsdm_Aclk, dfsdm_clk (Clk), and dfsdm_pclk. Frequency limits of 133 MHz Max and 209 MHz Max are indicated.
  1. 1. There is one enable bit and one low-power enable bit for MPU.
    X Represents the selected MUX input after a system reset

Note: The SPDIFRX does not need a specific frequency, but just a kernel clock frequency high enough to make the peripheral working properly. Refer to the description of the SPDIFRX for details.

Figure 72. Peripheral clock distribution for SPI/I2Ss and SPDIFRX

Block diagram showing peripheral clock distribution for SPDIFRX, SPI/I2S4, SPI/I2S[3:2], and SPI/I2S1. It details the RCC, PKCS, and PKCE sections with various clock sources and gating logic.

The diagram illustrates the clock distribution architecture for the SPDIFRX and SPI/I2S peripherals. It is divided into three main sections: RCC (Reset and Clock Control), PKCS (Peripheral Clock Selection), and PKCE (Peripheral Clock Enable).

Legend:

MSv66228V1

Block diagram showing peripheral clock distribution for SPDIFRX, SPI/I2S4, SPI/I2S[3:2], and SPI/I2S1. It details the RCC, PKCS, and PKCE sections with various clock sources and gating logic.

1. There is one enable bit and one low-power enable bit for MPU.
X Represents the selected MUX input after a system reset.

Refer to Table 63 for details concerning the behavior of the clock gating logic (CGL).

Clock distribution for SPIs

In general, SPIs (or SPI/I2Ss used in SPI mode) do not need specific kernel clock frequencies but a clock fast enough to generate the correct data rate. For that purpose it is generally possible to select a source from:

Figure 73. Peripheral clock distribution for SPIs

Block diagram of peripheral clock distribution for SPIs. The RCC block contains a PKCS (Peripheral Clock Selector) with inputs: SPI5SRC, pclk6 (input 0), pll4_q_ck (input 1), hsi_ker_ck (input 2), csi_ker_ck (input 3), and hse_ker_ck (input 4). The output of PKCS goes to the PCKE (Peripheral Clock Gating Logic) block. PCKE has inputs pclk6, SPI5EN (1), and SPI5LPEN (1). It outputs spi_pclk and spi_ker_ck to the SPI5 block. A note indicates the switch is dynamic and glitch-free. A legend shows thick lines for bus interface clocks and thin lines for kernel clocks. The reference ID MSv66229V1 is at the bottom right.
Block diagram of peripheral clock distribution for SPIs. The RCC block contains a PKCS (Peripheral Clock Selector) with inputs: SPI5SRC, pclk6 (input 0), pll4_q_ck (input 1), hsi_ker_ck (input 2), csi_ker_ck (input 3), and hse_ker_ck (input 4). The output of PKCS goes to the PCKE (Peripheral Clock Gating Logic) block. PCKE has inputs pclk6, SPI5EN (1), and SPI5LPEN (1). It outputs spi_pclk and spi_ker_ck to the SPI5 block. A note indicates the switch is dynamic and glitch-free. A legend shows thick lines for bus interface clocks and thin lines for kernel clocks. The reference ID MSv66229V1 is at the bottom right.

1. There is one enable bit and one low-power enable bit for MPU.
X Represents the selected MUX input after a system reset.

Refer to Table 63 for details concerning the behavior of the clock gating logic (CGL).

Clock distribution for I2Cs, UARTs and USARTs

As explained for the SPI, I2Cs and UARTs do not need a specific kernel clock frequency but a clock fast enough to generate the correct baud rate, or the wanted bit clock on the serial link. For that purpose it is generally possible to select a source from:

Note that UARTs also receive the LSE clock, for use-cases which do not request high baud rates.

As shown in Figure 74 and Figure 75 the I2Cs and UARTs provide kernel clock requests signals (I2CCLK_REQ and UCLK_REQ). These signals can be used when the system is in a Stop mode, in order to request the selected kernel clock to the RCC. This function only works when the hsi_ker_ck or csi_ker_ck or hse_ker_ck are selected. Refer to Section 10.4.11: Peripheral clock gating control for details.

Figure 74. Peripheral clock distribution for I2Cs

Block diagram of peripheral clock distribution for I2Cs. It shows the RCC block containing PKCS and PCKE sections. PKCS has two dynamic switches (D) selecting between various clock sources (pclk1, pll4_r_ck, hsi_ker_ck, csi_ker_ck) based on I2C12SRC and I2C[5:3]SRC. The outputs are limited to 104.5 MHz Max and fed into the PCKE section. PCKE contains CGL blocks and logic gates that generate i2c_clk and i2c_clk_req signals for I2C[2:1] and I2C[5:3] peripheral blocks. Legend: D = dynamic switch, thick line = bus interface clock, thin line = kernel clock.

RCC

PKCS

I2C12SRC → [Switch 0: pclk1, 1: pll4_r_ck, 2: hsi_ker_ck, 3: csi_ker_ck] → 104.5 MHz Max

I2C[5:3]SRC → [Switch 0: pclk6, 1: pll4_r_ck, 2: hsi_ker_ck, 3: csi_ker_ck] → 104.5 MHz Max

PCKE

I2C[2:1]EN(1), I2C[2:1]LPEN(1) → CGL → i2c_clk, i2c_clk_req

I2C[5:3]EN(1), I2C[5:3]LPEN(1) → CGL → i2c_clk, i2c_clk_req

I2C[2:1]: i2c_clk, I2CCLK_REQ, I2CCLK

I2C[5:3]: i2c_clk, I2CCLK_REQ, I2CCLK

Legend

MSv66230V1

Block diagram of peripheral clock distribution for I2Cs. It shows the RCC block containing PKCS and PCKE sections. PKCS has two dynamic switches (D) selecting between various clock sources (pclk1, pll4_r_ck, hsi_ker_ck, csi_ker_ck) based on I2C12SRC and I2C[5:3]SRC. The outputs are limited to 104.5 MHz Max and fed into the PCKE section. PCKE contains CGL blocks and logic gates that generate i2c_clk and i2c_clk_req signals for I2C[2:1] and I2C[5:3] peripheral blocks. Legend: D = dynamic switch, thick line = bus interface clock, thin line = kernel clock.
  1. 1. There is one enable bit and one low-power enable bit for MPU.
    X Represents the selected MUX input after a system reset.

Figure 75. Peripheral clock distribution for UARTs, and USARTs

Figure 75. Peripheral clock distribution for UARTs, and USARTs block diagram

The diagram illustrates the clock distribution for UARTs and USARTs within the Reset and Clock Control (RCC) block. It shows eight parallel paths for USART1, USART2, UART4, USART3, UART5, USART6, UART7, and UART8. Each path starts with a multiplexer (MUX) that selects a kernel clock based on the UARTxSRC register. The selected kernel clock is then passed through a CGL (Clock Gating Logic) block, which is controlled by USARTxEN(1) and USARTxLPEN(1) signals. The output of the CGL block provides the peripheral clock (uart_pclk) and the UCLK_REQ signal. The UCLK signal is derived from the uart_pclk and UCLK_REQ signals. A maximum frequency of 104.5 MHz is indicated for the clock paths. The diagram is divided into two main sections: PKCS (Peripheral Kernel Clock Selection) and PKCE (Peripheral Clock Enable).

Legend:

MSv66231V1

Figure 75. Peripheral clock distribution for UARTs, and USARTs block diagram
  1. There is one enable bit and one low-power enable bit for MPU.
    X Represents the selected MUX input after a system reset.

Note: In order to allow the I2Cs or U(S)ARTs to work in a Stop mode, the user must select an oscillator as kernel clock: hse_ker_ck, hsi_ker_ck or csi_ker_ck. The HSEKERON, HSIKERON and CSIKERON bits must be programmed according to application requirements.

Refer to Table 63 for details concerning the behavior of the clock gating logic (CGL).

Clock distribution for TIMs and LPTIMs

The TIMs timers are using kernel clocks (timg[3:1]_ck) phase aligned with the bus interface clock.

The frequency of the timers clock depends on:

The next table shows how to select the timer clock frequency.

Table 58. Ratio between clock timers and pclk

APB1DIV
APB2DIV
APB6DIV (1)
TIMG1PRE
TIMG2PRE
TIMG3PRE (2)
-Ftimg1_ck
Ftimg2_ck
Ftimg3_ck
Fpclk1
Fpclk2
Fpclk6
Comments
'000'x→FmlhclkFmlhclkThe timer clock is equal to the bus clock.
'001'x→FmlhclkFmlhclk / 2The timer clock is 2 times faster than the bus clock.
'010''0'→Fmlhclk / 2Fmlhclk / 4
'011''0'→Fmlhclk / 4Fmlhclk / 8
'100''0'→Fmlhclk / 8Fmlhclk / 16The timer clock is 4 times faster than the bus clock.
'010''1'→FmlhclkFmlhclk / 4
'011''1'→Fmlhclk / 2Fmlhclk / 8
'100''1'→Fmlhclk / 4Fmlhclk / 16
  1. APB1DIV, APB2DIV and APB6DIV are located into RCC APB1 clock divider register (RCC_APB1DIVR), RCC APB2 clock divider register (RCC_APB2DIVR) and RCC APB6 clock divider register (RCC_APB6DIVR).
  2. TIMG1PRE, TIMG2PRE and TIMG3PRE are located into RCC APB1 timers group1 prescaler register (RCC_TIMG1PRER), RCC APB2 timers group2 prescaler register (RCC_TIMG2PRER) and RCC APB6 timers group3 prescaler register (RCC_TIMG3PRER).

The LPTIM timers have a kernel clock fully asynchronous with respect to their bus interface clock.

In addition, the LPTIMs can also use as reference clock lse_ck and lsi_ck, allowing them to work even when the system is in a Stop mode.

Figure 76. Peripheral clock distribution for TIMs and LPTIMs

Figure 76. Peripheral clock distribution for TIMs and LPTIMs block diagram showing RCC, PKCS, and PCKE logic domains feeding LPTIM1, LPTIM[3:2], LPTIM[5:4], TIMx, TIMy, and TIMz.

The diagram illustrates clock distribution for TIMs and LPTIMs with the following functional blocks:

MSv66232V1

Figure 76. Peripheral clock distribution for TIMs and LPTIMs block diagram showing RCC, PKCS, and PCKE logic domains feeding LPTIM1, LPTIM[3:2], LPTIM[5:4], TIMx, TIMy, and TIMz.
  1. There is one enable bit and one low-power enable bit for MPU.
    X Represents the selected MUX input after a system reset.
  2. Can be changed on the fly.

Refer to Table 63 for details concerning the behavior of the clock gating logic (CGL).

Clock distribution for LTDC

The LTDC clocks are provided by the RCC as represented in the Figure 77.

Figure 77. Peripheral clock distribution for LTDC

Figure 77: Peripheral clock distribution for LTDC. The diagram shows the RCC block containing PKCS and PKCE sub-blocks. PKCS receives pclk4, aclk, and pll4_q_ck. PKCE contains a CGL block and logic gates. The LTDC block receives pclk, aclk, and pixel_clk from PKCE and outputs RGB. Legend: D indicates a dynamic switch; thick lines are bus interface clocks; thin lines are kernel clocks. Reference: MSv66233V1.
Figure 77: Peripheral clock distribution for LTDC. The diagram shows the RCC block containing PKCS and PKCE sub-blocks. PKCS receives pclk4, aclk, and pll4_q_ck. PKCE contains a CGL block and logic gates. The LTDC block receives pclk, aclk, and pixel_clk from PKCE and outputs RGB. Legend: D indicates a dynamic switch; thick lines are bus interface clocks; thin lines are kernel clocks. Reference: MSv66233V1.
  1. 1. There is one enable bit and one low-power enable bit for MPU.
    X Represents the selected MUX input after a system reset.

Clock distribution for SDMMCs, FMC and QUADSPI

The FMC, QUADSPI can also use a clock different from the bus interface clock for more flexibility.

Figure 78. Peripheral clock distribution for QUADSPI and FMC

Figure 78: Peripheral clock distribution for QUADSPI and FMC. The diagram shows the RCC block with PKCS and PKCE sub-blocks. PKCS contains two dynamic switches (D) for QUADSPI and FMC, selecting from aclk, pll3_r_ck, pll4_p_ck, or per_ck based on QSPISRC and FMCSRC. PKCE contains CGL blocks and logic gates for QUADSPI and FMC. QUADSPI receives clk and ker_clk. FMC receives hclk, aclk, and KCK_FMC. Legend: D indicates a dynamic switch; thick lines are bus interface clocks; thin lines are kernel clocks. Reference: MSv66234V1.
Figure 78: Peripheral clock distribution for QUADSPI and FMC. The diagram shows the RCC block with PKCS and PKCE sub-blocks. PKCS contains two dynamic switches (D) for QUADSPI and FMC, selecting from aclk, pll3_r_ck, pll4_p_ck, or per_ck based on QSPISRC and FMCSRC. PKCE contains CGL blocks and logic gates for QUADSPI and FMC. QUADSPI receives clk and ker_clk. FMC receives hclk, aclk, and KCK_FMC. Legend: D indicates a dynamic switch; thick lines are bus interface clocks; thin lines are kernel clocks. Reference: MSv66234V1.
  1. 1. There is one enable bit and one low-power enable bit for MPU.
    X Represents the selected MUX input after a system reset.

Figure 79. Peripheral clock distribution for SDMMCs

Block diagram of peripheral clock distribution for SDMMCs. The diagram shows the RCC block containing a PKCS (Peripheral Clock Selection) block and a PCKE (Peripheral Clock Enable) block. PKCS has a 4-to-1 multiplexer with inputs: 0 (SDMMC[2:1]SRC), 1 (hclk6), 2 (pll3_r_ck), and 3 (hsi_ker_ck). The output of PKCS goes to PCKE. PCKE contains a CGL (Clock Gating Logic) block. The output of PCKE goes to DLYBSD1,2 (Delay Block for SDMMC1,2) and SDMMC1,2. DLYBSD1,2 outputs HCLK. SDMMC1,2 outputs HCLK and SDMMCCLK. The diagram also shows control signals: SDMMC[2:1]EN and SDMMC[2:1]LPEN. A note indicates that the switch is dynamic and glitch-free. A legend shows that thick lines represent bus interface clocks and thin lines represent kernel clocks. The diagram is labeled MSv66235V1.

□ The switch is dynamic: the transition between two inputs is glitch-free

— Bus interface clocks      — Kernel clocks

MSv66235V1

Block diagram of peripheral clock distribution for SDMMCs. The diagram shows the RCC block containing a PKCS (Peripheral Clock Selection) block and a PCKE (Peripheral Clock Enable) block. PKCS has a 4-to-1 multiplexer with inputs: 0 (SDMMC[2:1]SRC), 1 (hclk6), 2 (pll3_r_ck), and 3 (hsi_ker_ck). The output of PKCS goes to PCKE. PCKE contains a CGL (Clock Gating Logic) block. The output of PCKE goes to DLYBSD1,2 (Delay Block for SDMMC1,2) and SDMMC1,2. DLYBSD1,2 outputs HCLK. SDMMC1,2 outputs HCLK and SDMMCCLK. The diagram also shows control signals: SDMMC[2:1]EN and SDMMC[2:1]LPEN. A note indicates that the switch is dynamic and glitch-free. A legend shows that thick lines represent bus interface clocks and thin lines represent kernel clocks. The diagram is labeled MSv66235V1.
  1. 1. There is one enable bit and one low-power enable bit for MPU.
    X Represents the selected MUX input after a system reset.

Clock distribution for USBH and USBO

Figure 80 shows the clock distribution for the USB blocks. The RCC has to provide a clean reference clock to the USB PHY. The USB PHY has its own PLL and generates kernel clocks for the USBH (HOST) and USBO (OTG) blocks. The USB PHY receives two different clocks thanks to the mux controlled by USBPHYSRC.

In order to get the best clock quality for the USB, it is better to select the hse_ker_ck clock or hse_ker_ck/2.

Note that the application has to provide to the USBPHY PLL the following clock reference:

In addition, if the USBO is used in full-speed mode only, the application can choose the 48 MHz clock source to be provided to the USBO:

The clock selection is performed via USBOSRC.

Those configuration bits are located into RCC USB kernel clock selection register (RCC_USBCKSELR).

Figure 80. Peripheral clock distribution for USB

Figure 80: Peripheral clock distribution for USB block diagram displaying RCC containing PKCS and PKCE stages connecting to USBO (OTG), USBPHY, and USBH (HOST).

The diagram illustrates the peripheral clock distribution for USB, organized into several functional blocks:

Legend:

MSv66236V1

Figure 80: Peripheral clock distribution for USB block diagram displaying RCC containing PKCS and PKCE stages connecting to USBO (OTG), USBPHY, and USBH (HOST).
  1. 1. There is one enable bit and one low-power enable bit for MPU.
    X Represents the selected MUX input after a system reset.

Clock distribution for Ethernet (ETH1 and ETH2)

Figure 81. Peripheral clock distribution for Ethernet

Figure 81: Peripheral clock distribution for Ethernet. This block diagram shows the internal clocking logic for the Ethernet MAC. It includes the RCC (Reset and Clock Control) block with PKCS and PCKE sub-blocks. PKCS handles clock selection for MII and RGMII modes, with inputs from PLLs and external pads. PCKE handles clock generation and distribution. The diagram shows paths for ETH[2:1]_TX_CLK, ETH[2:1]_RX_CLK, and ETH[2:1]_CLK. It also shows the selection of clock frequencies (2.5 or 25 MHz) and the generation of reference clocks (eth_mii_tx_clk, eth_mii_rx_clk, eth_rmii_ref_clk). A legend at the bottom identifies RGMII (red), MII (orange), and RMII (blue) paths, as well as dynamic switches and bus/kernel clocks.
Figure 81: Peripheral clock distribution for Ethernet. This block diagram shows the internal clocking logic for the Ethernet MAC. It includes the RCC (Reset and Clock Control) block with PKCS and PCKE sub-blocks. PKCS handles clock selection for MII and RGMII modes, with inputs from PLLs and external pads. PCKE handles clock generation and distribution. The diagram shows paths for ETH[2:1]_TX_CLK, ETH[2:1]_RX_CLK, and ETH[2:1]_CLK. It also shows the selection of clock frequencies (2.5 or 25 MHz) and the generation of reference clocks (eth_mii_tx_clk, eth_mii_rx_clk, eth_rmii_ref_clk). A legend at the bottom identifies RGMII (red), MII (orange), and RMII (blue) paths, as well as dynamic switches and bus/kernel clocks.

MSv66237V1

  1. There is one enable bit and one low-power enable bit for MPU.
    X Represents the selected MUX input after a system reset.

There are two Ethernet blocks, ETH1 and ETH2. Each one has a same and independent configuration, pads, routing and clocks distribution.

The Ethernet clocks provided by the RCC are available on ETH[2:1]_CLK pad.

The clock selection for the RX and TX path is controlled via the SYSCFG block.

The signal ETH[2:1]_SEL[2:0] is provided by the SYSCFG block and defines the interface type used:

controlled via ETH[2:1]_CLK_SEL from the SYSCFG. The clock frequency can be adjusted dynamically to 2.5, 25 or 125 MHz according to the signal mac_speed_o[1:0] provided by the ETH[2:1] block

The ETH[2:1] block provides information on the MAC speed (mac_speed_o[1:0]), which may change dynamically.

mac_speed_o[1:0] equals:

The application can control the gating of the clocks according to the processor modes (CRun, CSleep).

In addition it is also possible to control the gating of clocks coming from pads ETH[2:1]_RX_CLK and ETH[2:1]_TX_CLK in CStop and Stop modes via the ETH[2:1]STPEN bit. It is also possible to gate the ETH[2:1]_RGMII_GTX_CLK clock provided to the PHY during EEE LPI state via the ETH[2:1] block.

Clock distribution for RNG1

Figure 82. Kernel clock distribution for RNG1

Block diagram of kernel clock distribution for RNG1. The diagram shows the RCC block containing the PKCS and PKCE sub-blocks. PKCS has a 4-to-1 multiplexer (MUX) with inputs: csi_ker_ck (input 0), pll4_r_ck (input 1), Reserved (input 2), and lsi_ck (input 3). The MUX output is controlled by the RNG1SRC register. The output of the MUX goes to the PKCE block. PKCE contains a CGL (Clock Gating Logic) block. The CGL output is controlled by RNG1EN (enable) and RNG1LPEN (low-power enable) bits. The CGL output is then split into two paths: hclk5 and rng_clk, which are sent to the RNG1 block. The diagram also shows a legend: a thick line for 'Bus interface clocks' and a thin line for 'Kernel clocks'. A note 'D' indicates that the switch is dynamic and glitch-free.

RCC

PKCS

RNG1SRC

csi_ker_ck

pll4_r_ck

Reserved

lsi_ck

PKCE

hclk5

RNG1EN (1)

RNG1LPEN (1)

CGL

hclk

rng_clk

RNG1

D The switch is dynamic: the transition between two inputs is glitch-free

— Bus interface clocks — Kernel clocks

MSv66238V3

Block diagram of kernel clock distribution for RNG1. The diagram shows the RCC block containing the PKCS and PKCE sub-blocks. PKCS has a 4-to-1 multiplexer (MUX) with inputs: csi_ker_ck (input 0), pll4_r_ck (input 1), Reserved (input 2), and lsi_ck (input 3). The MUX output is controlled by the RNG1SRC register. The output of the MUX goes to the PKCE block. PKCE contains a CGL (Clock Gating Logic) block. The CGL output is controlled by RNG1EN (enable) and RNG1LPEN (low-power enable) bits. The CGL output is then split into two paths: hclk5 and rng_clk, which are sent to the RNG1 block. The diagram also shows a legend: a thick line for 'Bus interface clocks' and a thin line for 'Kernel clocks'. A note 'D' indicates that the switch is dynamic and glitch-free.
  1. 1. There is one enable bit and one low-power enable bit for MPU.
    X Represents the selected MUX input after a system reset.

Clock distribution for FDCAN

Figure 83. Kernel clock distribution for FDCAN

Block diagram of kernel clock distribution for FDCAN. The RCC block contains a PKCS (Peripheral Clock Selection) block with a dynamic switch (D) selecting between hse_ker_ck (input 0), pll3_q_ck (input 1), pll4_q_ck (input 2), and pll4_r_ck (input 3). The selected clock is output as pclk2. The FDCANEN and FDCANLPEN signals (both marked with a superscript (1)) control the CGL (Clock Gating Logic) and PKCE (Peripheral Clock Enable) blocks. The CGL block outputs pclk to the FDCAN block. The PKCE block outputs fdcan_clk to the FDCAN block. A note indicates that the switch is dynamic and glitch-free. A legend shows that thick lines represent bus interface clocks and thin lines represent kernel clocks. The diagram is labeled MSv66239V1.
Block diagram of kernel clock distribution for FDCAN. The RCC block contains a PKCS (Peripheral Clock Selection) block with a dynamic switch (D) selecting between hse_ker_ck (input 0), pll3_q_ck (input 1), pll4_q_ck (input 2), and pll4_r_ck (input 3). The selected clock is output as pclk2. The FDCANEN and FDCANLPEN signals (both marked with a superscript (1)) control the CGL (Clock Gating Logic) and PKCE (Peripheral Clock Enable) blocks. The CGL block outputs pclk to the FDCAN block. The PKCE block outputs fdcan_clk to the FDCAN block. A note indicates that the switch is dynamic and glitch-free. A legend shows that thick lines represent bus interface clocks and thin lines represent kernel clocks. The diagram is labeled MSv66239V1.
  1. 1. There is one enable bit and one low-power enable bit for MPU.
    X Represents the selected MUX input after a system reset.

Clock distribution for STGEN and ADCs

The handling of the STGEN block is a bit particular: It requires a single clock used as bus interface, and kernel clock. In addition, this clock may need to be activated during a Stop mode.

Note that two asynchronous bridges are connecting the STGEN to APB4 and APB5 busses, so the RCC must provide those APB clocks when the STGEN is enabled.

The STGEN can be accessed via two different APB ports:

The application can select which clock can be used as STGEN clock (HSE or HSI) via the STGENSRC bit of RCC STGEN clock selection register (RCC_STGENCKSELR).

In order to ensure that the clock is provided to the STGEN when the system is in a Stop mode, the application must set the bits STGENCEN, STGENCLPEN and STGENCSTPEN to '1' or set the bits STGENROEN, STGENROLPEN and STGENROSTPEN to '1'. In addition, HSEKERON or HSIKERON bits must be set to '1', according to the clock source selected.

Whatever it is ADC1 or ADC2, the ADC has an embedded prescaler in order to provide to the ADC analog cell a clock with a duty cycle as close as possible to 50%.

Warning: When both ADCs are used, the kernel clock should be the same for both ADCs and the embedded ADC prescalers cannot be used.

Figure 84. Kernel clock distribution for ADCs and STGEN

Block diagram of kernel clock distribution for ADCs and STGEN. The diagram shows the RCC block containing PKCS and PCKE sub-blocks. PKCS contains dynamic switches for STGENSRC (selecting hsi_ker_ck or hse_ker_ck) and ADC1SRC/ADC2SRC (selecting pll4_r_ck, per_ck, or pll3_q_ck). PCKE contains CGL blocks and AND gates that combine these selected clocks with enable signals (STGENROEN, STGENROLPEN, STGENCEN, STGENCLPEN, ADC1EN, ADC1LPEN, ADC2EN, ADC2LPEN) to produce kernel clocks (pclk4, pclk5, adc_hclk) for the APB4 Async Bridge, STGEN, APB5 Async Bridge, ADC1, and ADC2. STGEN is a read-only block. Frequency limits are noted: 64 MHz Max for STGEN and 72 MHz Max if ADC prescaler is bypassed, 133 MHz otherwise for ADCs.

RCC

PKCS

STGENSRC → {0: hsi_ker_ck, 1: hse_ker_ck} → 64 MHz Max

ADC1SRC → {0: pll4_r_ck, 1: per_ck, 2: pll3_q_ck} → 72 MHz Max if ADC prescaler is bypassed, 133 MHz otherwise

ADC2SRC → {0: pll4_r_ck, 1: per_ck, 2: pll3_q_ck} → 72 MHz Max if ADC prescaler is bypassed, 133 MHz otherwise

PCKE

STGENROEN, STGENROLPEN → CGL → AND gate → pclk4 → APB4 Async Bridge

STGENCEN, STGENCLPEN → CGL → AND gate → pclk5 → APB5 Async Bridge

ADC1EN, ADC1LPEN → CGL → AND gate → adc_hclk → ADC1

ADC2EN, ADC2LPEN → CGL → AND gate → adc_hclk → ADC2

STGEN (Read-Only) ← tsgen_clk

Legend: D The switch is dynamic: the transition between two inputs is glitch-free. — Bus interface clocks. — Kernel clocks.

MSv66240V2

Block diagram of kernel clock distribution for ADCs and STGEN. The diagram shows the RCC block containing PKCS and PCKE sub-blocks. PKCS contains dynamic switches for STGENSRC (selecting hsi_ker_ck or hse_ker_ck) and ADC1SRC/ADC2SRC (selecting pll4_r_ck, per_ck, or pll3_q_ck). PCKE contains CGL blocks and AND gates that combine these selected clocks with enable signals (STGENROEN, STGENROLPEN, STGENCEN, STGENCLPEN, ADC1EN, ADC1LPEN, ADC2EN, ADC2LPEN) to produce kernel clocks (pclk4, pclk5, adc_hclk) for the APB4 Async Bridge, STGEN, APB5 Async Bridge, ADC1, and ADC2. STGEN is a read-only block. Frequency limits are noted: 64 MHz Max for STGEN and 72 MHz Max if ADC prescaler is bypassed, 133 MHz otherwise for ADCs.
  1. There is one enable bit and one low-power enable bit for MPU.
    X Represents the selected MUX input after a system reset.
  2. When both ADCs are used, the kernel clock should be the same for both ADCs and the embedded ADC prescalers cannot be used.

Clock distribution for DCMIPP

The DIVQ output of the PLL2 (pll2_q_ck) is dedicated to the DCMIPP kernel clock. Alternatively, the DCMIPP kernel clock can be sourced by aclk, pll4_p_ck or per_ck as depicted in next figure.

Figure 85. Kernel clock distribution for DCMIPP

Figure 85. Kernel clock distribution for DCMIPP. Diagram showing RCC block with PKCS multiplexer selecting DCMIPPSRC between aclk, pll2_q_ck, pll4_p_ck, per_ck; PCKE block with CGL gating and clock enables DCMIPPEN and DCMIPPLPEN; driving clk_proc, pclk, and aclk to the DCMIPP block, plus PIXCLK driving clk_pix.
Figure 85. Kernel clock distribution for DCMIPP. Diagram showing RCC block with PKCS multiplexer selecting DCMIPPSRC between aclk, pll2_q_ck, pll4_p_ck, per_ck; PCKE block with CGL gating and clock enables DCMIPPEN and DCMIPPLPEN; driving clk_proc, pclk, and aclk to the DCMIPP block, plus PIXCLK driving clk_pix.

MSv66241V2

1. There is one enable bit and one low-power enable bit for MPU.

Clock distribution for digital temperature sensor (DTS)

The DTS block needs an APB clock and the lse_ck clock. The RCC can provide the lse_ck clock to the DTS block even when the system is in a Stop mode. Refer to section Section 10.4.11: Peripheral clock gating control for additional information.

Figure 86. Kernel clock distribution for DTS

Figure 86. Kernel clock distribution for DTS. Diagram showing RCC distributing pclk3 and lse_ck through PCKE with DTSEN and DTSLPEN enables, sending PCLK to DTS (DIG), LSREF_CLK, TS1_CLK_PTAT, and CLK_PTAT_V11 to DTS (ANA).
Figure 86. Kernel clock distribution for DTS. Diagram showing RCC distributing pclk3 and lse_ck through PCKE with DTSEN and DTSLPEN enables, sending PCLK to DTS (DIG), LSREF_CLK, TS1_CLK_PTAT, and CLK_PTAT_V11 to DTS (ANA).

MSv66242V1

1. There is one enable bit and one low-power enable bit for MPU.

Clock distribution for RTC/WUT

The rtc_ck clock source can be:

The source clock is selected by programming the RTCSRC[1:0] bits in the RCC backup domain control register (RCC_BDCR) and the RTCDIV[5:0] bits in the RCC RTC clock division register (RCC_RTCDIVR).

The RTCSRC[1:0] can be modified only once after a reset of the backup domain, or after a LSE failure (LSECSSD = ‘1’).

Note as well that in order to modify the RCC_BDCR register, the DBP bit in the PWR control register 1 (PWR_CR1) has to be set to '1'.

The LSE oscillator is in the Backup domain, whereas the other oscillators are not. As a consequence:

Figure 87. Clock distribution for RTC

Block diagram of clock distribution for RTC. The diagram shows the RCC block containing a MUX (RTCSRC) that selects between lse_ck, lsi_ck, hse_rtc_ck, and hse_ker_ck (divided by 1 to 64). The selected clock is sent to the PKCS block. The PKCS block contains RTCAPBEN and RTCAPBLPEN bits, which control the enablement of the pclk5 bus interface clock. The PKCS block also contains a CGL (Clock Generator Logic) block. The PKCS block outputs pclk5 to the PCKE block. The PCKE block contains a CGL block and an AND gate that combines pclk5 and RTCCKEN to produce the rtc_ck bus interface clock. The rtc_ck is then sent to the RTC block. The diagram also shows the rtc_ck kernel clock output from the PCKE block. A legend indicates that thick lines represent bus interface clocks and thin lines represent kernel clocks.

Legend:
Bus interface clocks
Kernel clocks

MSv66243V2

Block diagram of clock distribution for RTC. The diagram shows the RCC block containing a MUX (RTCSRC) that selects between lse_ck, lsi_ck, hse_rtc_ck, and hse_ker_ck (divided by 1 to 64). The selected clock is sent to the PKCS block. The PKCS block contains RTCAPBEN and RTCAPBLPEN bits, which control the enablement of the pclk5 bus interface clock. The PKCS block also contains a CGL (Clock Generator Logic) block. The PKCS block outputs pclk5 to the PCKE block. The PCKE block contains a CGL block and an AND gate that combines pclk5 and RTCCKEN to produce the rtc_ck bus interface clock. The rtc_ck is then sent to the RTC block. The diagram also shows the rtc_ck kernel clock output from the PCKE block. A legend indicates that thick lines represent bus interface clocks and thin lines represent kernel clocks.
  1. 1. There is one enable bit and one low-power enable bit for MPU.
    X Represents the selected MUX input after a system reset.

The rtc_ck clock is enabled via RTCCKEN bit located into the RCC_BDCR register. The RTC bus interface clock (APB clock) is enabled via RTCAPBEN and RTCAPBLPEN bits located respectively into RCC_MP_APB5ENSETR, RCC_MC_APB5ENSETR, RCC_MP_APB5LPENSETR and RCC_MC_APB5LPENSETR registers.

The RTC bus interface clock (APB clock) is disabled via RTCAPBEN and RTCAPBLPEN bits located into RCC_MP_APB5ENCLRR, RCC_MC_APB5ENCLRR, RCC_MP_APB5LPENCLRR and RCC_MC_APB5LPENCLRR registers.

Note: To read the RTC calendar register when the APB clock frequency is less than seven times the RTC clock frequency (\(F_{APB} < 7 \times F_{RTCLK}\)), the software must read the calendar time and date registers twice. The data are correct if the second read access to RTC_TR gives the same result as the first one. Otherwise a third read access must be performed.

Clock distribution for independent watchdogs IWDG[2:1]

The RCC provides the clocks for the two independent watchdogs (IWDG1 and IWDG2) which are connected to the LSI.

If an independent watchdog is started by either option byte configuration or by software access, the LSI is forced ON and cannot be disabled. After the LSI oscillator set-up delay, the clock is provided to the IWDGs.

Figure 88. Clock distribution for IWDG[2:1]

Block diagram showing clock distribution for IWDG[2:1] within the RCC block. It illustrates the paths for bus interface clocks (thick lines) and kernel clocks (thin lines) to IWDG1 and IWDG2. Key components include PCKE, CGL, LSI, and OTP Logic.

The diagram illustrates the clock distribution for IWDG1 and IWDG2 within the RCC block. It shows the following components and connections:

Legend:
— Bus interface clocks (thick line)
— Kernel clocks (thin line)

MSv66244V1

Block diagram showing clock distribution for IWDG[2:1] within the RCC block. It illustrates the paths for bus interface clocks (thick lines) and kernel clocks (thin lines) to IWDG1 and IWDG2. Key components include PCKE, CGL, LSI, and OTP Logic.

IWDG[2:1] clock control

The independent watchdogs do not need their clock to be enabled by the RCC block. There are two ways to provide the LSI clock to the IWDG1/2:

Note as well that the IWDG1 and IWDG2 bus interface clocks (APB clock) must be enabled before accessing the IWDGx registers. The APB clock can be disabled when no access to IWDGx is required. The IWDGx are still counting-down even if the APB clock is disabled.

Note as well that the IWDG1 bus interface clock (APB clock) is controlled via IWDG1APBEN and IWDG1APBLPEN bits located into RCC_MP_APB5ENSETR, RCC_MP_APB5LPENSETR, RCC_MP_APB5ENCLRR and RCC_MP_APB5LPENCLRR registers.

In the same way, the IWDG2 bus interface clock (APB clock) is controlled via IWDG2APBEN and IWDG2APBLPEN bits located into RCC_MP_APB4ENSETR,

RCC_MP_APB4LPENSETR, RCC_MP_APB4ENCLRR and RCC_MP_APB4LPENCLRR registers for the MPU.

The LSI clock at the IWDG[2:1] inputs can be frozen in the following situations:

Note that the IWDG[2:1] can also be frozen in debug mode.

Handling of the IWDGs during boot ROM code execution

The boot ROM code is always activated after a MPU reset, which is caused either by a system reset or by an exit from LPLV-Stop2. C.f. Figure 47: RCC reset graph and Figure 52: Startup, cold/warm reset and wakeup from any Stop mode sequences.

As soon as the boot ROM code is activated, the boot ROM freezes the IWDGs clocks. This is done by setting the FZ_IWDG1 and FZ_IWDG2 bits of RCC IWDG clock freeze set register (RCC_MP_IWDGFZSETR) to '1'.

Before giving the control to the application, the boot ROM writes the FZ_IWDG1 and FZ_IWDG2 bits of RCC IWDG clock freeze clear register (RCC_MP_IWDGFZCLRR) to '1' in order to unfreeze the IWDGs. In that way if the IWDGs were enabled by the application, they are re-enabled, otherwise they remain disabled.

Every time the MPU is reset, the hardware permits to write the RCC_MP_IWDGFZSETR only once.

Clock distribution for TZC

The next figure shows a simplified view of the clock distribution for the TZC. The TZC receives the following clocks:

The application can choose to enable the APB clock and one or both clocks of the AXI ports.

Figure 89. Clock distribution for TZC

Block diagram of clock distribution for TZC. The RCC block contains a PCKE block with a CGL (Clock Gating Logic) unit. The CGL is controlled by TZCLPEN and TZCEN signals. It gates two input clocks: pclk5 and aclk. The output clocks are pclk5_tzc and aclk_tzc, which are sent to the TZC block. A legend indicates that thick lines represent bus interface clocks and thin lines represent kernel clocks.

The diagram illustrates the clock distribution for the TZC (TrustZone Controller). Inside the RCC block, the PCKE (Peripheral Clocks Enable) block contains a CGL (Clock Gating Logic) unit. The CGL is controlled by the TZCLPEN and TZCEN signals. It gates two input clocks: pclk5 and aclk. The output clocks are pclk5_tzc and aclk_tzc, which are sent to the TZC block. A legend indicates that thick lines represent bus interface clocks and thin lines represent kernel clocks.

Block diagram of clock distribution for TZC. The RCC block contains a PCKE block with a CGL (Clock Gating Logic) unit. The CGL is controlled by TZCLPEN and TZCEN signals. It gates two input clocks: pclk5 and aclk. The output clocks are pclk5_tzc and aclk_tzc, which are sent to the TZC block. A legend indicates that thick lines represent bus interface clocks and thin lines represent kernel clocks.
  1. 1. There is one enable bit and one low-power enable bit for MPU.

In order to enable the TZC, the processor must set TZCEN. If the application wants to keep the clocks active in CSleep, the corresponding bit TZCLPEN must be set to '1' as well.

Each enable bit control is available on RCC_MP_APB5ENSETR/CLRR and RCC_MP_APB5LPENSETR/CLRR registers.

Clock distribution for DDRC and DDRPHYC

The next figure shows a simplified view of the clock distribution for the DDRC and DDRPHYC blocks. Refer to Section 5: DDR3/LPDDR2/LPDDR3 controller (DDRCTRL) for additional information.

The RCC needs to provide the following clocks:

Note that all RCC control bits mentioned in this section are located into the RCC DDR interface control register (RCC_DDRITFCR).

Figure 90. Clock distribution for DDRC, DDRPHYC and DDRPERFM

Block diagram showing clock distribution for DDRC, DDRPHYC and DDRPERFM. The diagram is divided into three main sections: RCC, DDR-ITF, and the internal blocks of DDRC and DDRPHYC. RCC provides pclk4 and aclk to various CGLs and logic blocks. DDR-ITF contains AXIDCG1, KERDCG, and GSKP blocks. DDRC and DDRPHYC are the main peripheral blocks receiving gated clocks. A legend indicates that thick lines are bus interface clocks and thin lines are kernel clocks.

The diagram illustrates the clock distribution architecture. The RCC block on the left provides pclk4 and aclk. pclk4 is gated by CGLs using control bits like DDRPERFMEN, DDRCAPBEN, and DDRPHYCAPBEN to produce pclk4_ddrperfm, pclk4_ddrc, and pclk4_dphy. aclk is gated by CGLs using DDRC1EN and AXIDCGEN to produce axi1_cken and aclk_ddrc. The DDR-ITF block contains AXIDCG1, which takes axi1_cken and aclk_ddrc to produce axi1_cken and aclk_1. KERDCG and GSKP blocks manage kernel clocks like ddrckmod and dphy_ker_ck. The DDRC block receives pclk4_ddrc, aclk_1, and various control signals. The DDRPHYC block receives pclk4_dphy and dphy_ker_ck. A 533 MHz Max label is shown near the GSKP block. A legend at the bottom indicates that thick lines represent bus interface clocks and thin lines represent kernel clocks.

Block diagram showing clock distribution for DDRC, DDRPHYC and DDRPERFM. The diagram is divided into three main sections: RCC, DDR-ITF, and the internal blocks of DDRC and DDRPHYC. RCC provides pclk4 and aclk to various CGLs and logic blocks. DDR-ITF contains AXIDCG1, KERDCG, and GSKP blocks. DDRC and DDRPHYC are the main peripheral blocks receiving gated clocks. A legend indicates that thick lines are bus interface clocks and thin lines are kernel clocks.

MSv66246V1

Control of the APB clocks

The control of the APB clock gating is performed via dedicated bits:

Refer to Section 10.4.11: Peripheral clock gating control for details.

Control of the AXI clock

The AXIDCG1 block is handling the gating of the AXI clocks (aclk_1) provided to the DDRC AXI ports. The AXIDCG1 bits are controlled by the RCC, and can work as follow:

The application can disable the clock of the AXI port, when not used, by setting the corresponding DDRC1EN to '0'.

Table 59. Gating control of the aclk_1 clock

DDRC1ENDDRC1LPENAXIDCGENMPU mode-aclk_1 clockComments
0XXAny→OFFThe aclk_1 is gated because DDRC1EN = '0'.
1X0CRun→ONThe aclk_1 is forced ON independently of cactive_1 because DDRC1EN = '1', AXIDCGEN = '0' and MPU is in CRun
1→DCG (1)When DDRC1EN = AXIDCGEN = '1', the aclk_1 is gated automatically according to cactive_1.
100CSleep→OFFThe aclk_1 is gated because DDRC1LPEN = '0', and AXIDCGEN = '0', and the MPU is in CSleep
1→ONThe aclk_1 is forced ON independently of cactive_1 because DDRC1EN = DDRC1LPEN = '1' and AXIDCGEN = '0'
X1→DCGWhen DDRC1EN = AXIDCGEN = '1', the aclk_1 is gated automatically according to cactive_1.
XXXCStop or CStandby→OFFThe aclk_1 is gated.

1. DCG means Dynamic Clock Gating according to cactive_1 signal, highlighted in gray.

Control of the DDRC and DDRPHYC kernel clocks

The KERDCG and DPHYCG blocks are handling respectively the clock gating of the ddrc_ker_ckg and dphy_ker_ck. They are controlled by the RCC, and can work in normal, automatic or hardware low-power self-refresh mode according to the way the DDRC and the RCC are programmed.

Table 60 details the way clocks ddrc_ker_ckg and dphy_ker_ck are handled according to the value of DDRCKMOD.

Glitch skipper (GSKP)

The RCC also needs to handle a block named glitch skipper (GSKP). The GSKP is performing following functions:

The application can also control manually the clock switching via GSKPCTRL bit when GSKPMOD = '0'. In this case, when GSKPCTRL is set to '1', the GSKP provides the clock dphy_ker_ck to the DDRC, and when GSKPCTRL is set to '0', the GSKP provides the clock phy_clk_out to the DDRC, after a delay given by GSKP_DUR[3:0].

The DFILP_WIDTH, GSKPMOD, GSKP_DUR and GSKPCTRL fields are located in RCC DDR interface control register (RCC_DDRITFCR).

Table 60. DDRCKMOD control description

DDRCKMOD-KERDCG modeDPHYCG modeComment
'000'→NormalNormalSoftware self-refresh mode (SSR): (1)
The gating of the dphy_ker_ck clock depends on the DDRPHYCEN, DDRPHYCLPEN and MPU mode.
The gating of the ddrc_ker_ckg clock depends on the DDRC1EN, DDRC1LPEN and MPU mode.
'001'→Auto.NormalAutomatic self-refresh mode (ASR1): (2) (3)
The clock ddrc_ker_ckg is gated automatically according to cactive_ddrc signal.
The gating of the dphy_ker_ck clock depends on the DDRPHYCEN, DDRPHYCLPEN and MPU mode.
DDRC1EN is still used to disable/enable the DDR interface.
'101'→AutoFull Automatic self-refresh mode (ASR2): (4) (3)
The clocks ddrc_ker_ckg and dphy_ker_ck are gated automatically according to cactive_ddrc signal.
In this mode, the bit DDRPHYCEN must be set to '1', and DDRPHYCLPEN must be set to '0'.
DDRC1EN is still used to disable/enable the DDR interface.
'010'→DDRC-LPNormalHardware self-refresh mode (HSR1): (2) (5)
The gating of the ddrc_ker_ckg clock is controlled by the DDRC Low-Power interface connected to the DDRC.
The gating of the dphy_ker_ck clock depends on the DDRPHYCEN, DDRPHYCLPEN and MPU mode.
DDRC1EN is still used to disable/enable the DDR interface.
'110'→DDRC-LPFull Hardware self-refresh mode (HSR2): (4) (5)
The gating of ddrc_ker_ckg and dphy_ker_ck clocks are controlled by the DDRC Low-Power interface connected to the DDRC.
In this mode, the bit DDRPHYCEN must be set to '1', and DDRPHYCLPEN must be set to '0'.
DDRC1EN is still used to disable/enable the DDR interface.
  1. 1. This mode must be selected during DDRC and DDRPHYC initialization phase, and if the application is using the software self-refresh.
  2. 2. This mode can be used when the application wants to maintain a clock to the DLLs.
  3. 3. It is recommended to have DDRC1EN = DDRC1LPEN = DDRPHYCEN = DDRPHYCLPEN = '1'.
  4. 4. This mode can be used when the DLLs are in bypass.
  5. 5. It is recommended to have DDRC1EN = DDRPHYCEN = '1' and DDRC1LPEN = DDRPHYCLPEN = '0'.

DDRC low-power interface

The DDRC block provides a low-power interface which can be used to control the entry and exit of the DDRC and DDRPHYC into low-power mode. This interface also controls the gating of the dphy_ker_ck and ddrc_ker_ckg clocks. This low-power interface is compliant to AMBA AXI protocol specification. In order to simplify the drawings, this document only shows the most significant states of the DDRC low-power interface. Table 60 gives details on the DDRC low-power states.

The DDRC low-power interface can be used in HSR1 and HSR2 modes in order to control:

Table 61. DDRC low-power (DDRC-LP) states description

DDRC low-power states-Comment
CKON→Normal clocked operation: The RCC provides the kernel clock(s) to the DDRC and DDRPHYC. csysreq_ddrc, csysack_ddrc and cactive_ddrc are all set to '1'
CKOFF→Low-power operation: The RCC does not provide the kernel clock(s) to the DDRC and DDRPHYC. csysreq_ddrc, csysack_ddrc and cactive_ddrc are all set to '0'
CKON_Rreq→Low-power exit initiated by the RCC: The RCC provides the kernel clock(s) to the DDRC and DDRPHYC. The RCC sets the csysreq_ddrc to '1', and waits for csysack_ddrc and cactive_ddrc set to '1' before going to state CKON.
CKON_Preq→Low-power exit initiated by the DDRC: The DDRC requests the kernel clock(s) by setting the cactive_ddrc to '1'. The RCC provides the kernel clock(s), sets the csysreq_ddrc to '1', and waits for csysack_ddrc set to '1' before going to state CKON.
CKOFF_Rreq→Low-power entry initiated by the RCC: The RCC requests to the DDRC to entry into low-power by setting the csysreq_ddrc to '0'.
The DDRC may accept or deny the request. If a request is denied, the interface come back to CKON 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 disables the kernel clock(s). Then the states switches to CKOFF.

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 the clocks of the DDRC and DDRPHYC, without loosing the content of the external DDR.

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 and the application has to take into account this latency. This latency is due to the external DDR device, but also to the way the DLLs located into the DDRPHYC are handled.

The RCC offers 3 ways to control the clocks of the DDRC and DDRPHYC:

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

The 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 MPU wants to go to

CSleep or CStop, it must ensure that the DDR resource is no longer needed, and program the DDRC in order to switch it to self-refresh.

The piece of code performing the entry and the exit of the DDRC to self-refresh must be located into the SYSRAM. This is due to the fact that some software routine need to run when the DDR device is in self-refresh.

The automatic self-refresh mode (ASR1 and ASR2)

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 MPU is in CRun 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 independently of the processor mode.

When the MPU goes to CSleep, if the clocks of the DDRC and optionally the clock of the DDRPHYC need to be gated, the RCC delays the gating of these clocks until the DDRC switches into self-refresh mode.

If the system needs to go to one of the Stop modes, the RCC delays the gating of the clocks until the DDRC switches into self-refresh mode.

The ASRx modes 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.

The ASRx modes only impact the gating of the DDRC and DDRPHYC kernel clocks (i.e. ddrc_ker_ckg and dphy_ker_ck).


Warning: The ASR2 mode can only be used when the DLLs of the DDRPHYC are bypassed. So only DDR devices such as LPDDR2, working at frequencies around 125 MHz can use this feature.


When the ASRx modes are used, at least one of the DDRCxEN bits must be set to '1'.

Figure 91 shows a simplified timing for the entry and exit from self-refresh.

In this example DDRC1EN = DDRC1LPEN = '1', DDRPHYCEN = DDRPHYCLPEN = '1', AXIDCGEN = '1'.

  1. 1. The activity on AXI port x is stopped, due for example, to the fact that the MPU goes to CSleep, but it could be also the case between two activity bursts.
  2. 2. When no activity is detected in the AXI port for at least UMCTL2_AXI_LOWPWR_NOPXCNT *aclk_1 cycles (DLY1), the AXI clock (aclk_1) is gated if AXIDCGEN = '1'.
  3. 3. When the AXI interfaces are gated, if it does not switch back to active after a delay DLY2, the clock ddrc_ker_ckg is gated. If the ASR1 mode is selected, the clock dphy_ker_ck remains enabled if DDRPHYCEN = DDRPHYCLPEN = '1'. If the ASR2
  1. mode is selected, then the clock dphy_ker_ck is gated just after the gating of the ddrc_ker_ckg clock. The MPU mode can be CRun or CSleep.
  2. 4. If a transaction is performed in the AXI port, the AXI clock (aclk_1) is re-enabled. The AXI transaction can be caused by any master using DDR resources.
  3. 5. Few AXI clock cycles later, the DDRC sets the cactive_ddrc to '1' in order to request the kernel clock. The DDRPHYC clock dphy_ker_ck and the DDRC clock ddrc_ker_ckg are re-enabled. The external DDR is then ready to process the pending transactions.

Figure 91. Entering and exiting self-refresh in ASR1 or ASR2 modes

Timing diagram showing the sequence of events for entering and exiting self-refresh in ASR1 or ASR2 modes. It includes signals for MPU mode (CRun or CSleep), AXI Port 1 activity, cactive_ddrc, ddrc_ker_ckg, dphy_ker_ck (for ASR1 and ASR2), and aclk_1. Key delays DLY1 (AXI timeout delay) and DLY2 (Self-refresh entry and KERDGC delays) are indicated. The diagram shows the transition from CRun to CSleep and back to CRun, with the corresponding changes in clock activity and self-refresh control signals.

The diagram illustrates the timing relationships between various signals during a self-refresh transition. It shows the MPU mode transitioning from CRun to CSleep and back. AXI Port 1 activity is shown as a series of pulses. The cactive_ddrc signal transitions from low to high after a delay DLY1 following the last AXI activity. The ddrc_ker_ckg and dphy_ker_ck signals transition from low to high after a delay DLY2 following the cactive_ddrc transition. The aclk_1 signal transitions from low to high after a delay DLY1 following the last AXI activity. The diagram also shows the transition from CSleep back to CRun, where cactive_ddrc transitions from high to low, and the clocks transition back to low.

DLY1 = AXI timeout delay      DLY2 = Self-refresh entry and KERDGC delays

MSv66247V1

Timing diagram showing the sequence of events for entering and exiting self-refresh in ASR1 or ASR2 modes. It includes signals for MPU mode (CRun or CSleep), AXI Port 1 activity, cactive_ddrc, ddrc_ker_ckg, dphy_ker_ck (for ASR1 and ASR2), and aclk_1. Key delays DLY1 (AXI timeout delay) and DLY2 (Self-refresh entry and KERDGC delays) are indicated. The diagram shows the transition from CRun to CSleep and back to CRun, with the corresponding changes in clock activity and self-refresh control signals.

The hardware self-refresh mode (HSR1 and HSR2)

The hardware self-refresh mode is using the DDRC-low-power interface (DDRC-LP) in order to request to the DDR to go or exit from low-power.

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

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

This may be less efficient in term of power saving than the automatic mode (ASR) but avoids that the DDRC goes accidentally to self-refresh when the MPU is in CRun, increasing the system performances.

Warning: The HSR2 mode can only be used when the DLLs of the DDRPHYC are bypassed. So only DDR devices such as LPDDR2, working at frequencies around 125 MHz can use this feature.

Figure 92 shows simplified timing for the self-refresh entry and exit. This is typically what happens when the MPU goes to CSleep while another master is still enabled.

This example is based on configurations #7 and #8 of Table 61, with AXIDCGEN = '1'.

Figure 92. Entering and exiting self-refresh in HSR1 or HSR2 modes

Timing diagram showing the sequence of events for entering and exiting self-refresh. It includes signals for MPU mode (CRun, CSleep), External DDR device state (ACTIVE, Self Refresh), AXI Port 1 activity, Low-power bus state (CKON, CKOFF, CKOFF_Rreq, CKON_Preq), and various clock signals (ddrc_ker_ckg, dphy_ker_ck, aclk_1). Numbered markers 1 through 8 indicate key points in the sequence. A delay DLY1 is shown between markers 5 and 6.

The diagram illustrates the timing sequence for self-refresh entry and exit. It shows the interaction between the MPU, the external DDR device, the AXI port, and the DDRC. Key events include the transition from CRun to CSleep, the request for self-refresh (CKOFF_Rreq), the transition to CKOFF state, the re-enable of clocks (CKON_Preq), and the subsequent return to CRun. The diagram also shows the state of various clocks: ddrc_ker_ckg, dphy_ker_ck (for HSR1 and HSR2 modes), and aclk_1.

Timing diagram showing the sequence of events for entering and exiting self-refresh. It includes signals for MPU mode (CRun, CSleep), External DDR device state (ACTIVE, Self Refresh), AXI Port 1 activity, Low-power bus state (CKON, CKOFF, CKOFF_Rreq, CKON_Preq), and various clock signals (ddrc_ker_ckg, dphy_ker_ck, aclk_1). Numbered markers 1 through 8 indicate key points in the sequence. A delay DLY1 is shown between markers 5 and 6.
  1. 1. When the MPU goes to CSleep, the RCC requests to the DDRC to go to self-refresh, using the DDRC Low-power bus (CKOFF_Rreq). Note as well that the AXI clock is disabled if no transactions occur on the AXI port for a programmed delay (DLY1).
  2. 2. When all the conditions in the DDRC are met (no transaction pending, DDR in self-refresh), the DDRC acknowledges the request. Note that if the DDRC denies the request from the RCC, the RCC has to generate a new request until it is accepted by the DDRC, or if the MPU exits from CSleep.
    When the DDRC acknowledges the low-power request, then the RCC disables the DDRC clock ddrc_ker_ckg. If the HSR1 mode is selected, the clock dphy_ker_ck remains enabled if DDRPHYCEN = DDRPHYCLPEN = '1'. If the HSR2 mode is selected the DDRPHYC clock dphy_ker_ck is disabled as well. The DDRC low-power bus is then in CKOFF state.
  3. 3. If a transaction is performed in one of the two AXI ports, the AXI clock (aclk_1) is re-enabled. The AXI transaction can be caused by any master using DDR resources.
  4. 4. Few AXI clock cycles later, the DDRC request to the RCC to re-enable the kernel clock, using the DDRC Low-power bus (CKON_Preq). As soon as the RCC receives the request, the DDRPHYC clock dphy_ker_ck and the DDRC clock ddrc_ker_ckg are re-enabled. The external DDR is then ready to process the pending transactions.
  5. 5. As the MPU is still in CSleep mode, the RCC requests to the DDRC to go to self-refresh, using the DDRC low-power bus (CKOFF_Rreq). The DDRC may deny the request several times if all conditions to enter in self-refresh are not met. The RCC has
  1. to renew its request regularly until it is accepted by the DDRC. The RCC must stop performing this request if the MPU goes to CRun meanwhile.
  2. 6. When all the conditions in the DDRC are met (no transaction pending, DDR in self-refresh), the DDRC acknowledges the request. When the DDRC acknowledges the request, then the RCC disables the DDRC clock ddrc_ker_ckg. If the HSR1 mode is selected, the clock dphy_ker_ck remains enabled if \(DDRPHYCEN = DDRPHYCLPEN = '1'\). If the HSR2 mode is selected the DDRPHYC clock dphy_ker_ck is disabled as well. The DDRC low-power bus is then in CKOFF state.
    The sequence described between step 4 to step 7 may be repeated several times if the MPU is in CSleep.
  3. 7. When the MPU exits from CSleep, the RCC re-enables the DDRPHYC clock dphy_ker_ck and the DDRC clock ddrc_ker_ckg, and requests to the DDRC to exit the DDR from self-refresh, using the DDRC low-power bus (CKON_Rreq).
  4. 8. The DDRC acknowledges the request by setting the DDRC low-power bus into CKON state. The external DDR is then ready to process the pending transactions.

Transitions between SSR, ASR and HSR

It is possible for the application to change the value of the DDRCKMOD without disabling the DDR interface. The next figure shows the allowed transition between SSR, ASR and HSR modes.

Figure 93. Allowed transitions between SSR, ASR and HSR modes

State transition diagram showing allowed transitions between SSR, ASR1, ASR2, HSR1, and HSR2 modes based on DDRCKMOD values. SSR is the central state. Transitions to ASR1 and HSR1 are marked as invalid (crossed out). Transitions to ASR2 and HSR2 are allowed with specific DDRCKMOD values. A note indicates HSRx and ASRx state machines are under reset.
graph TD
    SSR((SSR))
    ASR1((ASR1))
    ASR2((ASR2))
    HSR1((HSR1))
    HSR2((HSR2))

    SSR -- "DDRCCKMOD = '001'" --> ASR1
    ASR1 -- "DDRCCKMOD = '001'" --> SSR
    SSR -- "DDRCCKMOD = '000'" --> ASR2
    ASR2 -- "DDRCCKMOD = '001'" --> SSR
    SSR -- "DDRCCKMOD = '010'" --> HSR1
    HSR1 -- "DDRCCKMOD = '000'" --> SSR
    SSR -- "DDRCCKMOD = '000'" --> HSR2
    HSR2 -- "DDRCCKMOD = '010'" --> SSR
    HSR2 -- "DDRCCKMOD = '110'" --> HSR1
    HSR1 -- "DDRCCKMOD = '110'" --> HSR2

    %% Invalid transitions (crossed out)
    SSR -.->|DDRCCKMOD = '001'| ASR2
    ASR2 -.->|DDRCCKMOD = '001'| ASR1
    SSR -.->|DDRCCKMOD = '010'| HSR2
    HSR2 -.->|DDRCCKMOD = '010'| HSR1
    

HSRx and ASRx state machines are under reset

MSv66249V1

State transition diagram showing allowed transitions between SSR, ASR1, ASR2, HSR1, and HSR2 modes based on DDRCKMOD values. SSR is the central state. Transitions to ASR1 and HSR1 are marked as invalid (crossed out). Transitions to ASR2 and HSR2 are allowed with specific DDRCKMOD values. A note indicates HSRx and ASRx state machines are under reset.

It is not allowed to transition directly:

The bits DDRC1EN and DDRPHYC are used to enable or disable the DDR interface.

Table 62 shows the recommended RCC configurations. The application has to select the configuration adapted to its DDR configuration.

Table 62. Recommended configurations (1)

Conf #DDRCKMODDDRC1ENDDRC1LPENDDRPHYCENDDRPHYCLPEN-MPU CRun modeMPU CSleep modeComments
AXI clock (2)DDRC clockDDRPHYC clockAXI clock (2)DDRC clockDDRPHYC clock
1Any0x0x→OFFOFFOFFOFFOFFOFFInterface disabled
2SSR1010→ONONONOFFOFFOFFThe gating of the DDRC and DDRPHYC clock is dependent of the MPU mode. It is up to the application software to switch the DDR interface into low-power mode, before gating the clocks.
31011→ONONONOFFOFFON
41111→ONONONONONON
5ASR11111→ONDCGONONDCGONOnly DDRC kernel clock is controlled according to automatic mode.
6ASR21110→ONDCGDCGONDCGDCGBoth DDRC and DDRPHYC kernel clocks are controlled according to automatic mode. This mode can only be used when the DLLs of the DDRPHYC are bypassed. So only DDR devices such as LPDDR2, working at frequencies around 125 MHz can use this feature.
Table 62. Recommended configurations(1) (continued)
Conf #DDCKMODDDRC1ENDDRC1LPENDDPHYCENDDPHYCLPEN-MPU CRun modeMPU CSleep modeComments
AXI clock (2)DDRC clockDDRPHYC clockAXI clock (2)DDRC clockDDRPHYC clock
7HSR11011→ONDLPONOFFDLPONThe DDRC kernel clock is controlled according to DDRC-LP interface.
The DDRPHYC kernel clock must be maintained active by setting DDRPHYCEN = DDRPHYCLPEN = '1'
8HSR21010→ONDLPDLPOFFDLPDLPBoth DDRC and DDRPHYC kernel clocks are controlled according to DDRC-LP interface.
This mode can only be used when the DLLs of the DDRPHYC are bypassed. So only DDR devices such as LPDDR2, working at frequencies around 125 MHz can use this feature.
  1. DCG means that the clocks are controller using dynamic clock gating, highlighted in gray.
    In the case of DDRC and DDRPHYC, the clocks are gated by the cactive_ddrc signal.
    DLP means DDRC low-power protocol, highlighted in blue.
  2. When the bit AXIDCGEN = '1', the AXI clock is gated automatically according to cactive_1 (DCG), except when DDRC1EN = '0'.

In the configurations #2 to #4, the gating of the DDRC and DDRPHYC clock is dependent of the MPU mode. It is up to the application software to switch the DDR interface into low-power mode, before gating the clocks.

Configuration #2

Configuration #3

Configuration #4

In the configurations #5 and #6, the gating of the DDRC and DDRPHYC clocks is automatic and dependent to the activity of the DDRC.

Configuration #5

Configuration #6

In the configurations #7 to #8, the gating of the DDRC and DDRPHYC clocks is controlled by the DDRC-LP. The DDRC-LP can also request to the DDR interface to go to low-power (i.e. self-refresh).

Configuration #7

Configuration #8

Clock distribution for DBG and trace

The clock generation for the trace and debug is controlled by the RCC via the RCC debug configuration register (RCC_DBGCFGR).

Figure 94. Clock description for DBG and trace

Block diagram illustrating clock description for DBG and trace in RCC connecting to DEBUG and TRACE block
Block diagram illustrating clock description for DBG and trace in RCC connecting to DEBUG and TRACE block

1. X Represents the reset value after a system reset.

Clock distribution for IO compensation

The IO compensation cell is used to calibrate the I/Os slew rate. For that purpose, the RCC is providing the csi_ck clock to the IO compensation cell block.

When the compensation mechanism needs to be activated, the clock must be provided to the IO compensation cell block. Meaning that the application has to set the CSION bit to ‘1’.

The csi_ck clock is not provided to the IO compensation cell if the CMP_PD bit is set to ‘0’. Refer to Section 12: System configuration controller (SYSCFG) block description for further information.

Note that the csi_ck clock is automatically gated when the system goes to a Stop mode, and if the CSIKERON bit is set to ‘0’. Setting the CSIKERON bit to ‘1’ permits to maintain the csi_ck clock enabled even in a system Stop mode.

In system Standby the csi_ck clock is disabled.

Figure 95. Clock description for IO compensation cell

Block diagram illustrating clock description for IO compensation cell with RCC and SYSCFG connections
Block diagram illustrating clock description for IO compensation cell with RCC and SYSCFG connections

10.4.9 General clock concept overview

The RCC handles the distribution of the MPU, bus interface and peripheral clocks for the system, according to the operating mode of the MPU. Refer to Section 9.5.1: Operating modes for details on operating modes.

Refer to Section 10.4.1: Clock naming convention, for details on clock definitions.

For most of the peripherals, it is possible for the application to control the activation and deactivation of their kernel and bus interface clocks.

Prior to use a peripheral, the MPU has to enable it (by setting its PERxEN to '1') if required, and to define if this peripheral remains active in CSleep and in CStop mode (by setting its PERxLPEN to '1'). This operation is called 'allocate' a peripheral to the processor.

10.4.10 Peripheral allocation

MPU can allocate a peripheral and hence control its kernel and bus interface clocks. A peripheral is allocated when its PERxEN bit is set to '1' by the MPU.

The MPU can allocate or deallocate a peripheral by setting the dedicated PERxEN bit on registers RCC_MP_xxxxENSET and RCC_MP_xxxxENCLR.

A similar mechanism is implemented for the control of the peripheral clocks when the MPU is in CSleep or CStop (PERxLPEN bits).

The peripheral allocation bits (PERxEN bits) are used by the hardware in order to provide the kernel and bus interface clocks to the peripherals, but they are also used to link peripherals to the MPU. In this way, the hardware is able to safely gate the peripheral clocks and bus matrix clocks, according to MPU states. The PWR block also uses this information in order to control properly the domain states.

Clock enabling delays

In order to avoid spurs, the clock gating logic synchronizes the enable command (coming generally from a kernel clock request or PERxEN bit with the selected clock.

Note: Both the kernel clock and the bus interface clock are affected by this re-synchronization delay.

In addition, the clock enabling delay may increase if the application is enabling for the first time, a peripheral which is not located into its sub-system. This is due to the fact that the sub-system where the peripheral is located may not have its sub-system clock ready. The sub-system clock must be switched on before the application can use this peripheral.

In order to allocate properly a peripheral, the following sequence must be respected:

Note: When the bus interface clock is not active, the read or write accesses to the peripheral registers are not supported. A read access results in reading invalid data. A write access is ignored and does not create any bus errors.

The peripheral allocation is used by the RCC to control automatically the clock gating according to the MPU modes.

When the MPU goes to CStop, then the RCC disables automatically the bus interface and kernel clocks of all the allocated peripherals as well as the MPU clock, the AXI and MLAHB interconnect clocks.

Wakeup events are able to exit the system from Standby or Stop.

Note: Additionally, there are a few peripherals which do have a programmable enable control bit in order to enable each one (or not) when the MPU is in CStop mode: STGENRO, STGENC, ETH1 and ETH2, so that they could generate a wakeup event and exit the system from a Stop mode or Standby, despite that they don't have in hardware the request kernel clock feature (req_ker_perx).

Handling of memory devices

The embedded memories available in the product are the SYSRAM, the SRAM1, SRAM2, and SRAM3, and the BKPSRAM.

When the MPU is in CRun:

When the MPU is in CSleep:

Refer to Section 10.4.11: Peripheral clock gating control and Section 10.4.12: Processor and interconnect clocks gating for details on clock enabling.

10.4.11 Peripheral clock gating control

As mentioned previously, each peripheral requires a bus interface clock, named ckg_bus_perx (for peripheral 'x'). This clock is an APB, AHB or AXI clock, according to which bus the peripheral is connected.

The clock used as bus interface for peripherals located into MPU domain could be aclk, hclk5, hclk6, pclk4 or pclk5, depending on the bus connected to each peripheral. For simplicity, those clocks are named mpu_bus_ck. In the same way, the signal named

mlahb_bus_ck represents hclk[4:1], pclk1, pclk2 or pclk3, depending on the bus connected to each peripheral of MLAHB domain.

Some peripherals (such as SAI, 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 (kckg_perx).

Both clocks can be gated according to several conditions detailed hereafter.

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

MP_PERxEN represents the peripheral enable (allocation) bit for the MPU. The MPU can write these bits to '1' via RCC_MP_xxxxENSETTR registers.

The MPU State is a logic combination of the processor state (WFI or WFE) and STPREQ_P0 but, see Table 69 for details.

Refer to Section 10.4.11: Peripheral clock gating control for more details.

Figure 96. Peripheral kernel clock enable logic details

Figure 96: Peripheral kernel clock enable logic details. This block diagram shows the logic for enabling peripheral clocks within the RCC. The diagram is divided into three main sections: MPUCD AXISSCD MLAHBSSCD, PKCS (Peripheral kernel clock Selection), and PCKE (Peripheral Clocks Enabling). The MPUCD section provides bus clocks (bus_mpu_ck, bus_sys_ck, bus_mlahb_ck) to the PCKE. The PKCS section selects a peripheral kernel clock (perx_ker_ck) based on PERxSRC. The PCKE section contains GCL (Gating Control Logic) which takes inputs from the MPUCD (MP_PERxEN, MP_PERxLPEN, MPU_state), PKCS (perx_ker_ck), and PERx (low-power ITF). The GCL outputs ck_bus_perx_en and ck_ker_perx_en. These are then ANDed with the respective clocks to produce ckg_bus_perx and ckg_ker_per. The PERx block receives these gated clocks and a req_ker_perx signal. Annotations indicate that low-power ITF and req_ker_perx are only present when the peripheral offers the feature.

The diagram illustrates the logic for enabling peripheral clocks. It shows the interaction between the MPUCD AXISSCD MLAHBSSCD, PKCS (Peripheral kernel clock Selection), and PCKE (Peripheral Clocks Enabling) blocks. The MPUCD provides bus clocks (bus_mpu_ck, bus_sys_ck, bus_mlahb_ck) to the PCKE. The PKCS block selects a peripheral kernel clock (perx_ker_ck) based on PERxSRC. The PCKE block contains GCL (Gating Control Logic) which takes inputs from the MPUCD (MP_PERxEN, MP_PERxLPEN, MPU_state), PKCS (perx_ker_ck), and PERx (low-power ITF). The GCL outputs ck_bus_perx_en and ck_ker_perx_en. These are then ANDed with the respective clocks to produce ckg_bus_perx and ckg_ker_per. The PERx block receives these gated clocks and a req_ker_perx signal. Annotations indicate that low-power ITF and req_ker_perx are only present when the peripheral offers the feature.

Figure 96: Peripheral kernel clock enable logic details. This block diagram shows the logic for enabling peripheral clocks within the RCC. The diagram is divided into three main sections: MPUCD AXISSCD MLAHBSSCD, PKCS (Peripheral kernel clock Selection), and PCKE (Peripheral Clocks Enabling). The MPUCD section provides bus clocks (bus_mpu_ck, bus_sys_ck, bus_mlahb_ck) to the PCKE. The PKCS section selects a peripheral kernel clock (perx_ker_ck) based on PERxSRC. The PCKE section contains GCL (Gating Control Logic) which takes inputs from the MPUCD (MP_PERxEN, MP_PERxLPEN, MPU_state), PKCS (perx_ker_ck), and PERx (low-power ITF). The GCL outputs ck_bus_perx_en and ck_ker_perx_en. These are then ANDed with the respective clocks to produce ckg_bus_perx and ckg_ker_per. The PERx block receives these gated clocks and a req_ker_perx signal. Annotations indicate that low-power ITF and req_ker_perx are only present when the peripheral offers the feature.

Table 63 gives the details of the enabling logic of most of the peripheral clocks for peripherals allocated by MPU.

Table 63. Peripheral clock enable details for MPU

MP_PERxENMP_PERxLPENPERxSRCreq_ker_perxMPU State-mp_perx_en_ker_ckmp_perx_en_bus_ckComments
0XXXX→00No clock provided to the peripheral, because PERxEN=0
1XXXCRun→11Kernel and bus interface clocks are provided to the peripheral, because the MPU is in CRun, and PERxEN='1'
10XXCSleep→00No clock provided to the peripheral, because the MP is in CSleep, and PERxLPEN=0
11XX→11Kernel and bus interface clocks are provided to the peripheral, because MPU is in CSleep, and PERxLPEN='1'
10XXCStop→00No clock provided to the peripheral because the PERxLPEN bit is set to '0'.
11no lsi_ck and no lse_ck and no hsi_ker_ck and no csi_ker_ck and no hse_ker_ckX→00No clock provided to the peripheral because MPU is in CStop and lse_ck or lsi_ck or hsi_ker_ck or csi_ker_ck or hse_ker_ck are not selected.
11lsi_ck or lse_ckX→1 (1)0Kernel clock is provided to the peripheral because PERxEN = PERxLPEN='1' and lsi_ck or lse_ck are selected.
The bus interface clock is not provided as the MPU is in CStop.
It is up to the application to enable the LSE or LSI if requested.
11hsi_ker_ck or csi_ker_ck or hse_ker_ck1→10Kernel clock is provided to the peripheral because req_ker_perx = '1', and PERxEN = PERxLPEN='1' and hsi_ker_ck or csi_ker_ck or hse_ker_ck are selected.
The bus interface clock is not provided as the MPU is in CStop.
If the oscillators are OFF, the RCC enables them when a kernel clock request occurs.
11hsi_ker_ck or csi_ker_ck or hse_ker_ck0→00No clock provided to the peripheral because MPU is in CStop, and no kernel clock request pending

1. Note that for RNG block, the kernel clock is not delivered if the MPU state is in CStop, even if the clock selected is lsi_ck or lse_ck.

Note: The kernel clock request generated by the peripheral, enables the corresponding oscillator only if the PERxSRC is selecting an oscillator: HSI, CSI or HSE.

As a summary, we can state that the kernel clock is provided to the peripherals in the following conditions:

  1. 1. When the CPU to which the peripheral is allocated is in CRUN.
  2. 2. When the CPU to which the peripheral is allocated is in CSleep and PERxLPEN = '1'.
  3. 3. When the CPU to which the peripheral is allocated is in CStop, with PERxLPEN = '1', and the peripheral is generating a kernel clock request, and the selected clock is hsi_ker_ck or csi_ker_ck or hse_ker_ck.
  4. 4. When the CPU to which the peripheral is allocated is in CStop, with PERxLPEN = '1', and the kernel source clock of the peripheral is lse_ck or lsi_ck.

The bus interface clock is provided to the peripherals only when the conditions 1 or 2 are met.

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

Note: Alternatively, some peripherals like STGEN and ETH[2:1] are not able to request the kernel clock feature. However the peripheral can be partly functional in CStop mode thanks to a PERxSTPEN bit and provide a wake up event, provided that the PERx_EN=PERxLPEN=PERxSTPEN='1'. C.f. Section : Clock distribution for Ethernet (ETH1 and ETH2) and Section : Clock distribution for STGEN and ADCs for more details.

10.4.12 Processor and interconnect clocks gating

CA7-SS (MPU) clock gating

The processor and the SCU are clocked with the mpuss_ck clock provided by the RCC.

When the processor goes to Wait For Interrupt (WFI), it is set in low-power state by disabling its clocks, except for the functions used to wake up the processor from WFI.

When the processor goes to Wait For Event (WFE), it is set in low-power state by disabling its clocks, except for the functions used to wake up the processor from WFE.

When the processor is in WFI state, then the L2 memory system completes the pending transactions, enters in WFI state, and the signal mpu_standbywfi_l2 is asserted. If the CStop mode has been requested via STPREQ_P0 0bit, the RCC disables the mpuss_ck clock, and the AXI interface clock (aclk_mpu).

Table 64 details the MPU modes according to the processor state (WFI) and RCC register values.

Table 64. MPU mode details (1)

STPREQ_P0(2)proc_0 in WFI-MPU mode
-N→CRUN
0Y→CSleep
1Y→CStop

1. "-" means don't care.

  1. The STPREQ_P0 bit is located into RCC stop request set register (RCC_MP_SREQSETR) and RCC stop request clear register (RCC_MP_SREQCLRR).

The clock mpuss_ck and ack_mpu are gated by the RCC when the MPU state is CStop.

Figure 97. MPU low-power interface

Block diagram of the MPU low-power interface showing the interaction between the RCC and the CA7_SS (MPU).

The diagram illustrates the MPU low-power interface. On the left, the RCC block contains the MPUCD, MPUC E, and AXISSCD components. On the right, the CA7_SS (MPU) block contains the SCU (with ACE and GIC sub-blocks) and AXISYNC.
Key signals and connections:

Reference: MSv66253V2

Block diagram of the MPU low-power interface showing the interaction between the RCC and the CA7_SS (MPU).

Bus matrix and bridges clock gating

The bridges and bus matrix clocks are gated according to the MPU mode, and the peripheral allocated to the processor.

The tables hereafter show in which conditions the RCC is gating the clock bus matrix and bridges.

For information about convention naming, Refer to Section 10.4.11: Peripheral clock gating control.

Table 65. Bus clock enable details for AXIM

MPU modempu_peren_axi (1)mpu_perlpen_axi (1)-AXIM ClockDescription
CRunXX→ClockedThe AXIM clock is generated when one of the following condition is true:
– The MPU is in CRun
– The MPU is in CSleep with at least a peripheral of the AXI-SS allocated by the MPU with the sleep enable bit activated (i.e. MP_PERxEN = '1' and MP_PERxLPEN = '1')
CSleep11→
X0→
CStop / CStandbyXX→GatedIn all other cases, the AXIM clock is gated.

Note: When mpu_peren_axi = '0', mpu_perlpen_axi is also equal to '0'.

When mpu_peren_axi = mpu_perlpen_axi = '1' it means that at least for one peripheral connected to the AXI-SS, MP_PERxEN = MP_PERxLPEN = '1'.

Table 66. Bus clock enable details for AHB5 and AHB6

MPU mode(1)mpu_peren_ahb5
(mpu_peren_ahb6)(2)
mpu_peripen_ahb5
(mpu_peripen_ahb6)(2)
-AHB5
(AHB6)
Clock
Description
CRun1X→ClockedThe AHB5 (AHB6) clock is generated when one of the following condition is true:
– The MPU is in CRun with at least a peripheral on AHB5 (AHB6) allocated (i.e. at least one MP_PERxEN = '1')
– The MPU is in CSleep with at least a peripheral on AHB5 (AHB6) allocated, with the sleep enable bit activated (i.e. MP_PERxEN = '1' and MP_PERxLPEN = '1')
CSleep11→
Any0X→GatedIn all other cases, the AHB5 (AHB6) clock is gated.
CSleepX0→
CStop / CStandbyXX→
  1. 1. "Any" means any mode. MPU can be CRun, CSleep, CStop, or CStandby.
  2. 2. mpu_peren_ahb5 is set to '1' when at least a peripheral connected to the AHB5 is allocated to the MPU.
    mpu_peripen_ahb5 is set to '1' when at least a peripheral connected to the AHB5 is allocated to the MPU, with its PERxLPEN bit set to '1'.
    mpu_peren_ahb6 is set to '1' when at least a peripheral connected to the AHB6 or APB4 is allocated to the MPU.
    mpu_peripen_ahb6 is set to '1' when at least a peripheral connected to the AHB6 or APB4 is allocated to the MPU, with its PERxLPEN bit set to '1'.

Note: The AXIMC peripheral clock and reset are controlled via RCC_MP_AHB5_xxx registers but this peripheral is not connected to the AHB5.

Due to bus topology, peripherals on the APB4 are accessible via AHB6.

Table 67. Bus clock enable details for MLAHB and AHB4

MPU mode-MLAHB
(AHB4)
Clock
Description
CRun→ClockedThe MLAHB and AHB4 clocks are generated when one of the following condition is true:
– The MPU is in CRun or CSleep
==> When the system is in Run
CSleep→
CStop / CStandby→GatedIn all other cases, the MLAHB and AHB4 clocks are gated

Table 68. Bus clock enable details for AHB2 and AHB1

MPU mode(1)mpu_peren_ahb1
(mpu_peren_ahb2) (2)
mpu_perlpen_ahb1
(mpu_perlpen_ahb2) (2)
-AHB1
(AHB2)
Clock
Description
CRun1X→ClockedThe AHB1 (AHB2) clock is generated when one of the following condition is true:
– The MPU is in CRun with at least a peripheral on AHB1 (AHB2) allocated.
– The MPU is in CSleep with at least a peripheral on AHB1 (AHB2) allocated, with the sleep enable bit activated.
CSleep11→
Any0X→GatedIn all other cases, the AHB1 (AHB2) clock is gated
CSleepX0→
CStop / CStandbyXX→
  1. 1. “Any” means any mode. MPU can be CRun, CSleep, CStop, or CStandby.
  2. 2. mpu_peren_ahb2 is set to ‘1’ when at least a peripheral connected to the AHB2, APB1 or APB2 is allocated to the MPU.
    mpu_perlpen_ahb2 is set to ‘1’ when at least a peripheral connected to the AHB2, APB1 or APB2 is allocated to the MPU, with its PERxLPEN bit set to ‘1’.
    mpu_peren_ahb1 is set to ‘1’ when at least a peripheral connected to the AHB1 is allocated to the MPU.
    mpu_perlpen_ahb1 is set to ‘1’ when at least a peripheral connected to the AHB1 is allocated to the MPU, with its PERxLPEN bit set to ‘1’.

Table 69. Bus clock enable details for APB4 and APB[2:1]

MPU mode (1)mpu_peren_apb4
(mpu_peren_apb[6;2:1]) (2)
mpu_perlpen_apb4
(mpu_perlpen_apb[6;2:1]) (2)
-APB4
(APB[6;2:1])
Clock
Description
CRun1X→ClockedThe APB4 (APB[6;2:1]) clock is generated when one of the following condition is true:
– The MPU is in CRun with at least a peripheral on APB4 (APB[6;2:1]) allocated (i.e. at least one MC_PERxEN = ‘1’)
– The MPU is in CSleep with at least a peripheral on APB4 (APB[6;2:1]) allocated, with the sleep enable bit activated (i.e. MP_PERxEN = ‘1’ and MP_PERxLPEN = ‘1’)
CSleep11→

Table 69. Bus clock enable details for APB4 and APB[2:1] (continued)

MPU mode (1)mpu_peren_apb4
(mpu_peren_apb[6;2:1]) (2)
mpu_perlpen_apb4
(mpu_perlpen_apb[6;2:1]) (2)
-APB4
(APB[6;2:1])
Clock
Description
Any0X→GatedIn all other cases, the APB1, APB2, APB4 and APB6 clock are gated
CSleepX0→
CStop / CStandbyXX→
  1. 1. “Any” means any mode. MPU can be CRun, CSleep, CStop, or CStandby.
  2. 2. mpu_peren_apb4 is set to ‘1’ when at least a peripheral connected to the APB4 is allocated to the MPU.
    mpu_perlpen_apb4 is set to ‘1’ when at least a peripheral connected to the APB4 is allocated to the MPU, with its PERxLPEN bit set to ‘1’.

Remarks

The MLAHB and AHB4 are clocked as soon as MPU is no longer in CStop. This is due to the fact that RCC and PWR blocks is implicitly allocated to MPU.

The AXIM remains clock gated when the MPU is in CStop.

10.4.13 Low-power emulation mode

In order to ease the debugging of the circuit, the RCC is able to handle an emulation mode for the Stop and Standby modes. Refer to Section : Low power mode emulation in debug of DBG section to get additional information.

Stop emulation mode

The Stop emulation mode is controlled by the DBGLP bit of DBGMCU_CR register.

When the MPU goes to CStop and when the system goes to one of Stop, LP-Stop or LPLV-Stop, with DBGLP = ‘1’, then:

When the MPU goes to CStandby and when the system goes to LPLV-Stop2, with DBGLP = '1', then:

Standby emulation mode

The Standby emulation mode is controlled by the DBGSTBY bit of the DBGMCU_CR register.

When the MPU goes to CStandby and when the system goes to Standby with DBGSTBY = '1', then:

10.5 RCC security

The RCC is compliant with the TrustZone hardware architecture at a RCC sub-function level, partitioning all its resources so that they exist in one of the two worlds: the secure world and the non-secure world, at any given time.

A secure software agent can program independently at a bit level the always-secure RCC_SECCFGR register, in order to allocate and partition each sub-function/resource as secure or non-secure:

When a resource/sub-function is configured as secure by a secure agent (for example RCC_SECCFGR.xxxSEC = '1'), then via the RCC AHB slave TrustZone interface, the following rules are applied on a access to a RCC register field which impacts the control of this secure sub-function

As shown in Table 70, additionally to the programmed RCC_SECFGR, the RCC manages the security of the reset control and the clock control of a given peripheral (kernel clock source selection, peripheral clock(s) gating in Run and low-power modes) via the secure state of this peripheral, as it is defined via one means of the following:

STGENC, DCMIPP, VREF, LTDC, TIM[17:12], HASH, CRYPT, SAES, PKA, DDRMCE, BKPSRAM, SRAM3, SRAM2, SRAM1)

There are a few extra specific cases, especially if the peripheral is not fully either secure or non-secure:

Table 70. RCC security and peripherals/memories

Security policyPeripheral Memory
Always secureBSEC
DMA3
DMAMUX2
ETZPC
SYSCFG
TZC
TrustZone-awareRCC
RTC
RCC-driven securablePWR

Table 70. RCC security and peripherals/memories (continued)

Security policyPeripheral
Memory
Centralized ETZPC-driven securableADC1
ADC2
BKPSRAM
CRYP
DCMIPP
DDRC and DDRPHYC
ETH1
ETH2
FMC
HASH
I2C3
I2C4
I2C5
IWDG1
LPTIM2
LPTIM3
LTDC
DDRMCE
PKA
QSPI
RNG1
SAES
SDMMC1
SDMMC2
SPI/I2S4
SPI5
SRAM1
SRAM2
SRAM3
STGENC

Table 70. RCC security and peripherals/memories (continued)

Security policyPeripheral
Memory
Centralized ETZPC-driven securableTIM12
TIM13
TIM14
TIM15
TIM16
TIM17
USART1
USART2
USBO
USBPHY

10.6 RCC interrupts

The RCC provides an interrupt interface dedicated to the MPU, with three interrupt lines:

A RCC interrupt event is one of:

Any interrupt line is active HIGH, and level triggered.

Any interrupt event is enabled or disabled independently via a separate interrupt enable control bit in the RCC clock source interrupt enable register (RCC_MP_CIER). Each interrupt enable bit is securely-write-protected depending on the secure state of the corresponding RCC sub-function, as defined by the RCC_SECCCFGR register.

Any interrupt flag can be checked and cleared via RCC clock source interrupt flag register (RCC_MP_CIFR). Any interrupt flag can be read by a secure or non-secure software agent. Any interrupt flag can separately and securely be write-protected at a field level, depending on the secure state of the corresponding RCC sub-function, as defined by the RCC_SECCCFGR register.

The rcc_sec_mpu_it line is activated when a secure interrupt event flag is set to '1', and its corresponding secure enable bit is set to '1' as well. In order to release the rcc_sec_mpu_it line, all the secure event flags which have been enabled must be cleared.

The rcc_nonsec_mpu_it line is activated when a non-secure interrupt event flag is set to '1', and its corresponding non-secure enable bit is set to '1' as well. In order to release the rcc_nonsec_mpu_it line, all the non-secure event flags which have been enabled must be cleared.

The rcc_mpu_wkup_it line is activated when the RCC has to exit the MPU from CStop, and if the RCC_MP_CIER.WKUPIE bit is set to '1' as well. In order to release the rcc_mpu_wkup_it line, the MPU must write the RCC_MP_CIFR.WKUPF bit of the corresponding register to '1'.

The event flag goes to '1' on the rising edge of the corresponding ready bit (for example xxxRDY).

Note: The interrupt flags are relevant even if the corresponding interrupt enable bit is not set.

Table 71 gives a summary of the interrupt sources, and the way to control them.

Table 71. Interrupt sources and control

Interrupt lineInterrupt eventInterrupt enable
(RCC_MP_CIE
R)
Event flag
(RCC_MP_ CIFR)
Event clear method
(RCC_MP_CIFR)
rcc_sec_mpu_it,
rcc_nonsec_mpu_it
LSI readyLSIRDYIELSIRDYFSet LSIRDYF to '1'
LSE readyLSERDYIELSERDYFSet LSERDYF to '1'
HSI readyHSIDRYIEHSIDRYFSet HSIRDYF to '1'
HSE readyHSERDYIEHSERDYFSet HSERDYF to '1'
CSI readyCSIRDYIECSIRDYFSet CSIRDYF to '1'
PLL1 readyPLL1RDYIEPLL1RDYFSet PLL1RDYF to '1'
PLL2 readyPLL2RDYIEPLL2RDYFSet PLL2RDYF to '1'
PLL3 readyPLL3RDYIEPLL3RDYFSet PLL3RDYF to '1'
PLL4 readyPLL4RDYIEPLL4RDYFSet PLL4RDYF to '1'
LSE clock security system failureLSECSSIE (1)LSECSSFSet LSECSSF to '1'
rcc_mpu_wkup_itWakeup from CStop eventWKUPIEWKUPFSet WKUPF to '1'

1. The security system feature must also be enabled (LSECSSON = '1'), in order to generate interrupts.

10.7 RCC application information

10.7.1 Handling dynamic clock switching

Care must be taken when changing on the fly the clock source and clock frequency of processor and bridges:

In addition, changing the clock on the interconnect can also affect the performances of some peripheral, more especially if the peripheral is using an APB, AHB or AXI clock as kernel clock.

Changing the MPU clock frequency

The MPU clock frequency can be changed in different ways:

Figure 98. MPU clock path

Block diagram of the MPU clock path within the RCC. It shows the selection of hsi_ck or hse_ck via PLL12SRC, division by DIVM1, and then PLL1 generation. The PLL1 output is divided by MPUDIV to produce pll1_p_ck. Finally, hsi_ck or hse_ck are selected via MPUSRC to produce mpuss_ck for the MPU. A note indicates the switch is dynamic and glitch-free.

The diagram illustrates the clock path for the MPU within the RCC. It starts with a dynamic switch selecting between hsi_ck (input 0) and hse_ck (input 1) based on the PLL12SRC register. The output of this switch goes to To PLL2 and also through a divider DIVM1 (ranging from +1 to 64) to provide a reference clock ref1_ck (8 to 16 MHz) to the PLL1 block. The PLL1 block contains a VCO, a fractional divider FRACV, and several integer dividers (+2, +DIVN, +DIVP, +DIVQ, +DIVR). The output of PLL1 is pll1_p_ck with a 50% duty cycle. This clock is then divided by MPUDIV (values 1, 2, 3, 4, ..., 16) to produce the final clock for the MPU. Another dynamic switch selects between hsi_ck (input 0) and hse_ck (input 1) based on the MPUSRC register to produce mpuss_ck for the MPU. The maximum frequency for mpuss_ck is 650 / 1000 MHz. A status signal MPUSRCRDY is also shown. A note at the bottom left states: "The switch is dynamic: the transition between two inputs is glitch-free".

Block diagram of the MPU clock path within the RCC. It shows the selection of hsi_ck or hse_ck via PLL12SRC, division by DIVM1, and then PLL1 generation. The PLL1 output is divided by MPUDIV to produce pll1_p_ck. Finally, hsi_ck or hse_ck are selected via MPUSRC to produce mpuss_ck for the MPU. A note indicates the switch is dynamic and glitch-free.
  1. 1. MPUDIV can be changed on-the-fly.
  2. X Represents the selected MUX input after a system reset.

MSv66256V2

Changing the MPU clock frequency via MPUSRC

If the MPU clock is changed using MPUSRC, the application has to:

So the procedure is the following:

Changing the MPU clock frequency via MPUDIV

If the MPU clock frequency is changed using MPUDIV, the application has to take care about two things:

Changing the MPU clock frequency via PLL1

If the MPU clock frequency is changed via the PLL1, the application has to provide to the MPU a backup clock as long as the transition to the new clock frequency is not complete.

If the MPU is already using the PLL1, the following procedure must be followed:

  1. a) Enable a backup clock if not enabled: for example HSI or HSE,
  2. b) Wait for this back-up clock to be ready,
  3. c) Switch the MPUSRC to select this backup clock,
  4. d) Wait for the switching transition to be complete,
  5. e) Change the PLL settings: could be a reprogramming of VCO, which can take few tenths of microseconds due to the PLL lock (see Section : PLL initialization procedure), or the reprogramming of the post dividers which is simpler and faster (see Section : Reprogramming post-dividers),
  6. f) Wait for the PLL1 to be ready,
  7. g) Switch the MPUSRC to pll1_p_ck,
  8. h) Wait for MPUSRCRDY = '1',
  9. i) Then the back-up clock can be disabled.

Changing the axiss_ck clock source and frequency:

The AXI clock frequency can be changed in different ways:

Figure 99. PLL2 clock path

Block diagram of the PLL2 clock path within the RCC. It shows the input selection for PLL12SRC (hsi_ck or hse_ck), the PLL2 block containing VCO, DIVN, DIVP, DIVQ, DIVR, FRACV, and SSCG, the AXISSRC input selection (hsi_ck, hse_ck, or AXISSRCRDY), and the output dividers AXIDIV, APB4DIV, and APB5DIV. Outputs include aclk, hclk[6:5], pclk4, pclk5, and connections to DCMIPP and DDR. Frequency limits of 266 MHz Max and 133 MHz Max are indicated.

The diagram illustrates the PLL2 clock path within the Reset and Clock Control (RCC) block. It shows the following components and connections:

□ The switch is dynamic: the transition between two inputs is glitch-free

MSv66257V1

Block diagram of the PLL2 clock path within the RCC. It shows the input selection for PLL12SRC (hsi_ck or hse_ck), the PLL2 block containing VCO, DIVN, DIVP, DIVQ, DIVR, FRACV, and SSCG, the AXISSRC input selection (hsi_ck, hse_ck, or AXISSRCRDY), and the output dividers AXIDIV, APB4DIV, and APB5DIV. Outputs include aclk, hclk[6:5], pclk4, pclk5, and connections to DCMIPP and DDR. Frequency limits of 266 MHz Max and 133 MHz Max are indicated.
  1. 1. X Represents the selected MUX input after a system reset.

Changing axiss_ck frequency via the AXISSRC:

If the axiss_ck clock frequency is changed using AXISSRC, the application must do the following:

Note: Before switching off the previous clock source be sure that this clock is not used by another sub-system.

Changing axiss_ck frequency via the AXIDIV:

The AXIDIV can be changed on the fly, by simply changing the AXIDIV value.

The application must ensure that the frequency at the output of AXIDIV never exceeds the maximum allowed frequency for the AXIM, AHB[6:5] and APB[5:4].

The new division value may take some time before being effective, so the application must always wait for the ready bits of the dividers (AXIDIVRDY, APB[5:4]DIVRDY) to ensure that the new division value is effective.

Changing axiss_ck frequency via the PLL2:

If the axiss_ck clock frequency is changed via the PLL2, the application has to generate the axiss_ck via a backup clock as long as the transition to the new clock frequency is not complete. If no backup clock is provided, the MPU can no longer run, since the AXI bridge is not available.

It is possible to change only the DIVP output of the PLL2, by doing the following:

Changing the VCO frequency of the PLL2 has more impact, because the PLL2 is also providing the clock to the DDR interface and the DCMIPP.

In order to change the PLL2 VCO frequency the application has to perform the following steps, assuming that the DDR is used to execute the application code:

At this state the DDR must no longer be used,

Changing the MLAHB clock source and frequency:

The MLAHB clock frequency (mlahbss_ck) can be changed in different ways:

Figure 100. MLAHB clock path

Block diagram of the MLAHB clock path within the RCC. It shows the PLL3 input selection (hsi_ck, hse_ck, csi_ck) via a MUX controlled by PLL3SRC. The selected signal passes through a divider (DIVM3, 1 to 64) to produce ref3_ck (4 to 16 MHz). This signal enters the PLL3 block, which contains a VCO and feedback dividers (DIVP, DIVQ, DIVR) and a fractional divider (FRACV). The PLL3 outputs pll3_p_ck, pll3_q_ck, and pll3_r_ck. The MLAHB clock path uses a MUX (MLAHBSSRC) to select between hsi_ck, hse_ck, csi_ck, and the PLL3 outputs. The selected signal (mlahbss_ck) is divided by MLAHBDIV (1 to 512) to produce a 209 MHz Max clock. This clock is then divided by APB1DIV, APB2DIV, APB3DIV, and APB6DIV (each 1 to 16) to produce pclk1, pclk2, pclk3, and pclk6 respectively. The maximum frequencies are 209 MHz Max for the main path and 104.5 MHz Max for the APB6DIV path. The final outputs are hclk4, mhclk, hclk[3:1], pclk1, pclk2, pclk3, pclk6, and a signal 'To Peripherals'.

□ The switch is dynamic: the transition between two inputs is glitch-free

MSv66258V1

Block diagram of the MLAHB clock path within the RCC. It shows the PLL3 input selection (hsi_ck, hse_ck, csi_ck) via a MUX controlled by PLL3SRC. The selected signal passes through a divider (DIVM3, 1 to 64) to produce ref3_ck (4 to 16 MHz). This signal enters the PLL3 block, which contains a VCO and feedback dividers (DIVP, DIVQ, DIVR) and a fractional divider (FRACV). The PLL3 outputs pll3_p_ck, pll3_q_ck, and pll3_r_ck. The MLAHB clock path uses a MUX (MLAHBSSRC) to select between hsi_ck, hse_ck, csi_ck, and the PLL3 outputs. The selected signal (mlahbss_ck) is divided by MLAHBDIV (1 to 512) to produce a 209 MHz Max clock. This clock is then divided by APB1DIV, APB2DIV, APB3DIV, and APB6DIV (each 1 to 16) to produce pclk1, pclk2, pclk3, and pclk6 respectively. The maximum frequencies are 209 MHz Max for the main path and 104.5 MHz Max for the APB6DIV path. The final outputs are hclk4, mhclk, hclk[3:1], pclk1, pclk2, pclk3, pclk6, and a signal 'To Peripherals'.

1. X Represents the selected MUX input after a system reset.

Changing MLAHB clock frequency via the MLAHBSSRC:

If the mlahbss_ck clock is changed using MLAHBSSRC, the application must do the following:

Changing MLAHB clock frequency via the MLAHBDIV:

The MLAHBDIV can be changed on the fly, by simply changing the MLAHBDIV value.

The application must ensure that the frequency at the output of MLAHBDIV never exceeds the maximum allowed frequency of the on MLAHB, AHB[4:1], APB[3:1] and APB6.

The new division values may take some time before being effective, so the application must always wait for the ready bits of the dividers (MLAHBDIVRDY, APB[6;3:1]DIVRDY) to check when the new division value is effective.

Changing MLAHB clock frequency via the PLL3:

If the MLAHB clock frequency is changed via the PLL3, the application has to provide to the MLAHB a backup clock as long as the transition to the new clock frequency is not complete.

If the MLAHB is already using the PLL3, the following procedure must be followed:

  1. a) Enable a backup clock if not enabled: for example HSI, CSI or HSE,
  2. b) Wait for this back-up clock to be ready,
  3. c) Switch the MLAHBSSRC to select this backup clock,
  4. d) Wait for the switching transition to be complete (MLAHBSSRCRDY = '1')
  5. e) Change the PLL settings: could be a reprogramming of VCO, which can take few tenth of microseconds due to the PLL lock (see Section : PLL initialization procedure), or the reprogramming of the post dividers which is simpler and faster (see Section : Reprogramming post-dividers).
  6. f) Wait for the PLL3 to be ready,
  7. g) Switch the MLAHBSSRC to select pll3_p_ck,
  8. h) Wait for the switching transition to be complete (MLAHBSSRCRDY = '1'),
  9. i) Then the back-up clock can be disabled.

10.7.2 PLL programming

PLL initialization procedure

The recommended initialization sequence of the PLLs for the integer and fractional mode is given hereafter:

Note: When the PLLxRDY goes to '1', it means that the PLLx output frequency is within 2% of its target value.

Reprogramming post-dividers

When the PLLs are enabled, it is possible to change the values of a post-dividers (DIVP, DIVQ or DIVR) without disabling the corresponding PLL, by performing the following sequence:

Using the SSCG block

If an application needs to generate with the PLL2, a clock signal having the following characteristics:

The assumption is that the crystal oscillator is 24 MHz (\(F_{hse\_ck}\)).

DIVM2 is programmed to 2 in order to provide a reference clock of 12 MHz to the PLL2 (\(F_{ref2\_ck}\)).

From a 12 MHz reference clock, it is possible to generate 528 MHz, using the division by two provided by the PLL2, in order to ensure an optimal duty cycle.

The application has to compute the following parameters:

Computing NDIV by combining the formulas given in Section : Using the PLLs in integer mode:

\[DIVN = \frac{F_{pll\_r\_ck}}{F_{ck\_ref}} - 1 = \frac{528}{12} - 1 = 43\]

Computing MOD_PER:

\[MOD\_PER = \text{ROUND}\left(\frac{F_{ref\_ck}}{4 \times F_{MOD}}\right) = \text{ROUND}\left(\frac{12 \times 10^6}{4 \times 25 \times 10^3}\right) = 120\]

Computing INC_STEP:

\[INC\_STEP = \text{ROUND}\left(\frac{(2^{15} - 1) \times M_D \times (DIVN + 1)}{100 \times 5 \times MOD\_PER}\right) = \text{ROUND}\left(\frac{32767 \times 0.5 \times (43 + 1)}{100 \times 5 \times 120}\right) = 12\]

Check that MOD_PER × INC_STEP is lower than (2¹⁵-1)

In the example, \(MOD\_PER \times INC\_STEP = 1440 \implies \text{OK}\)

Due to rounding operations, the modulation period and the modulation depth do not completely match the target. In order to choose between center-spread or down-spread modulation we have to check if the frequency max exceeds our requirement of 533 MHz.

The real modulation depth is:

\[M_D (\%) = \frac{MOD\_PER \times INC\_STEP \times 100 \times 5}{(2^{15} - 1) \times (DIVN + 1)} = \frac{120 \times 12 \times 100 \times 5}{(2^{15} - 1) \times (43 + 1)} = 0.499 \%\]

If the center-spread modulation is used, \(F_{MAX}\) is:

\[F_{MAX} = F_C \times (1 + M_D / 100) = 528 \times (1 + 0.499 / 100) = 530.6 \text{ MHz.}\]

So the center-spread modulation can be used.

PLL disabling procedure

The recommended disabling sequence is given hereafter:

MPU frequency plan examples

The PLL1 is dedicated to the generation of the MPU clock. The application must provide to the MPU a clock having the following characteristics:

The table hereafter show possible frequency plans for MPU with most usual crystals.

Table 72. Clock settings examples for MPU

HSE
(MHz)
PLL1MPUSRCmpuss_ck
(MHz)
Comments
DIVM1+1DIVN+1FRACVDIVP+1Fref1_ck
(MHz)
Fvco
(MHz)
Ffout1_ck
(MHz)
16162409611620001000pll1_p_ck1000Other frequencies can be obtained by changing MPUSRC to '11' and MPUDIV to /2, /3, /4,...,/16
1562048161800900900
2100081600800800
28181296648648
140161280640640
27581200600600
19.22104136519.620001000pll1_p_ck1000
293614419.61800900900
8301593.6796.8796.8
671286.4643.2643.2
631190.4595.2595.2
24283273011220001000pll1_p_ck1000
27501121800900900
310081600800800
254121296648648
250121200600600
26276756111320001000pll1_p_ck1000
26918901131800900900
61016001586793
501300650650
461196598598

In order to have a duty cycle as close as possible to 50%, and an optimal jitter the following rules must be respected:

To improve the jitter:

To avoid duty cycle degradation

Note: Care must be taken when the HSI is used to provide the reference clock. The application has to take into account the accuracy of the HSI to ensure that it does not exceed the maximum allowed frequency.

AXI, DDR and DCMIPP frequency plan examples

Table 73. Clock setting examples for AXI, DDR and DCMIPP

HSE(MHz)PLL2AXIDIV+1AXI clock(MHz)DDR clock(MHz)DCMIPP clock(MHz)
DIVM2+1DIVN+1DIVP+1DIVQ+1DIVR+1Fref2_ck(MHz)Fvco(MHz)Ffout2_ck(MHz)
161332211610565281264528264
125221168004001200400200
19.22552219.610565281264528264
242442211210565281264528264
35022188004001200400200
2534221212806401160320160
2442221210565281264264264
228222126723361168168168
262412211310665331266533266

AXI and DDR frequency plan examples

10.7.3 Configuring the sub-system clocks

This examples shows the register programming sequence in order to configure properly the sub-system clocks (i.e. mpuss_ck, axiss_ck and mlahbss_ck).

In this example, it is assumed that:

Here is a recommended programming sequence:

10.7.4 The clock calibration using TIMx

It is possible to measure the frequencies of most of clock source generators by means of the input capture of TIMx.

Calibrating the HSI or CSI with the HSE

The RCC provides two dedicated signals hsi_cal_ck and csi_cal_ck in order to perform the calibration of the HSI and CSI oscillators.

The hsi_cal_ck represents the HSI oscillator output, divided by 1024. The csi_cal_ck represents the CSI oscillator output divided by 128.

The signals hsi_cal_ck and csi_cal_ck are connected to TIM12 and TIM15 input capture. For this calibration, it is expected to have the HSE used as the interconnect clock source via

PLL3. The number of interconnect clock periods between consecutive edges of the hsi_cal_ck (or csi_cal_ck) signal provides a measurement of the HSI (or CSI) clock period.

The calibration accuracy depends on the frequency ratio between the TIM15/12 clock, and the hsi_cal_ck (or csi_cal_ck) clock. The greater the ratio is, the more accurate the measurement is.

The frequency of the hsi_cal_ck is typically 62.5 kHz, and 31.25 kHz for csi_cal_ck.

For a timer clock of 50 MHz, the calibration accuracy is about 0.13% for HSI and 0.065% for CSI.

The HSI and CSI oscillators have dedicated, user-accessible calibration bits for this purpose, see RCC PLL1 and PLL2 reference clock selection register (RCC_RCK12SELR) and RCC CSI configuration register (RCC_CSICFGR). When the HSI or CSI are used via the PLLx, it is also possible to fine-tune the interconnect clock using the fractional divider of the PLLs.

Calibrating the HSI or CSI with the LSE

The primary purpose of having the LSE connected to a TIMx input capture is to be able to precisely measure the HSI or CSI. This requires to have the HSI or CSI used as the interconnect clock source either directly or via PLL3. The number of interconnect clock counts between consecutive edges of the LSE signal provides a measurement of the internal clock period. Taking advantage of the high precision of LSE crystals (typically a few tens of ppm) the user can determine the internal clock frequency with the same resolution, and trim the source to compensate for manufacturing-process and/or temperature- and voltage-related frequency deviations.

The basic concept consists in providing a relative measurement (for example HSI/LSE ratio): the precision is therefore tightly linked to the ratio between the two clock sources. The greater the ratio is, the more accurate the measurement is.

The HSI and CSI oscillators have dedicated, user-accessible calibration bits for this purpose, see RCC PLL1 and PLL2 reference clock selection register (RCC_RCK12SELR) and RCC CSI configuration register (RCC_CSICFGR). When the HSI or CSI are used via the PLLx, it is also possible to fine-tune the interconnect clock using the fractional divider of the PLLs.

Calibrating the LSI with the HSI

It is also possible to measure the LSI frequency: this is useful for applications that do not have a crystal. The ultra-low-power LSI oscillator has a large manufacturing process deviation: by measuring it versus the HSI clock source, it is possible to determine its frequency with the precision of the HSI. The measured value can be used to have more accurate RTC time base timeouts (when LSI is used as the RTC clock source) and/or an IWDG timeout with an acceptable accuracy.

10.7.5 Clock restore sequence examples

The following section shows some simplified timing examples of the execution of the clock restore sequence.

Exit from LP-Stop due to a MPU event

In this example, the system exits from LP-Stop mode due to an event for the MPU.

Figure 101 is based on the following configuration:

Figure 101. Exit from LP-Stop due to MPU event

Timing diagram for wakeup from system LP-Stop. It shows the sequence of events starting from a wakeup event for the MPU. The diagram includes signals for Events, Power mode of the external regulator (LP to HP), PWR_LP, HSE (OFF to Settling time to HSERDY), HSI (OFF to Settling time to HSIRDY), PWR_LPTEMPO (Waiting for tempo completed), PLL1&2 states (OFF to PLL settling time to PLL1RDY/PLL2RDY to VCO on), mpuss_ck and axiss_ck (Clock active), mlahbss_ck (Clock active), System Mode (LP-Stop to CK_RESTORE to Run), and MPU Mode (CStop to CRun).

Wakeup from system LP-Stop

The diagram illustrates the wakeup sequence from system LP-Stop mode. It shows the following signals and their transitions:

MSv66259V1

Timing diagram for wakeup from system LP-Stop. It shows the sequence of events starting from a wakeup event for the MPU. The diagram includes signals for Events, Power mode of the external regulator (LP to HP), PWR_LP, HSE (OFF to Settling time to HSERDY), HSI (OFF to Settling time to HSIRDY), PWR_LPTEMPO (Waiting for tempo completed), PLL1&2 states (OFF to PLL settling time to PLL1RDY/PLL2RDY to VCO on), mpuss_ck and axiss_ck (Clock active), mlahbss_ck (Clock active), System Mode (LP-Stop to CK_RESTORE to Run), and MPU Mode (CStop to CRun).

Refer to Leaving Stop, LP-Stop, LPLV-Stop or LPLV-Stop2 mode for additional information.

Fast clock restore

In this example, the system exits from the Stop mode due to an event for the MPU. In order to speed-up the occurrence of the CStop-CRun-CStop sequence, the system switch back to HSI as clock source for both MPU, AXI and MLAHB. In that way, the clock restore sequence is reduced to the activation of the HSI clock.

Figure 102 is based on the following configuration:

Figure 102. Fast clock restore

Timing diagram for fast clock restore from Stop mode.

The diagram illustrates the sequence of events during a fast clock restore from Stop mode. It consists of several horizontal tracks representing different system components over time. A vertical pink arrow at the top, labeled 'Wakeup from Stop', marks the start of the process. The 'Events' track shows this initial trigger. The 'PMIC power mode' track shows a transition from 'OFF' to 'HP'. The 'HSI' track shows a transition from 'OFF' to 'Settling time', followed by a series of clock pulses labeled 'HSIRDY'. The 'PWRLP_TEMPO' track is a horizontal line. The 'PLL1&2 states' track shows a transition from 'OFF' to 'ON'. The 'mpuss_ck' and 'axiss_ck' tracks show a transition from 'OFF' to 'Clock active'. The 'mlahbss_ck' track shows a transition from 'OFF' to 'Clock active'. The 'System Mode' track shows a transition from 'Stop' to 'CK_REST.' and then to 'Run'. The 'MPU Mode' track shows a transition from 'CStop' to 'CRun'. A vertical pink line marks the transition from 'Stop' to 'CK_REST.' in the System Mode track. The diagram is labeled 'MSv66260V1' in the bottom right corner.

Timing diagram for fast clock restore from Stop mode.

Refer to Leaving Stop, LP-Stop, LPLV-Stop or LPLV-Stop2 mode for additional informations.

10.8 RCC registers

All the RCC registers can be accessed in word, half-word and byte format, unless explicitly specified differently.

All the RCC registers are reset by the nreset signal, unless explicitly specified differently.

Note that the burst access mode is not supported.

10.8.1 RCC secure configuration register (RCC_SECCFGR)

Address offset: 0x000

Reset value: 0x83FF 3F1F

A write access to this register must be secure. A read access may be secure or non-secure.

This register can be programmed at a bit level, in order to securely allocate and partition each corresponding RCC resource/sub-function either to the secure world or to the non-secure world.

31302928272625242322212019181716
PWRSECRes.Res.Res.Res.Res.RSTSECSTPSECMCO2SECMCO1SECCPERSECTIMG3SECAPB6DIVSECAPB5DIVSECAPB4DIVSECAPB3DIVSEC
rwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
Res.Res.MILAHSECAXISECMPUSECPLL4SECPLL3SECPLL12SECRes.Res.Res.LSESECLSISECHSESECCSISECHSISEC
rwrwrwrwrwrwrwrwrwrwrw

Bit 31 PWRSEC: Secure state of the PWR block

This control bit generates the output signal rcc_pwr_sec which is connected to the PWR block.

0: non-secure

1: secure (default after reset)

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

Bit 25 RSTSEC: Secure state of the reset

0: non-secure

1: secure (default after reset)

Bit 24 STPSEC: Secure state of the Stop modes

0: non-secure

1: secure (default after reset)

Bit 23 MCO2SEC: Secure state of the MCO2 clock

0: non-secure

1: secure (default after reset)

Bit 22 MCO1SEC: Secure state of the MCO1 clock

0: non-secure

1: secure (default after reset)

Bit 21 CPERSEC: Secure state of the common peripheral clock

0: non-secure

1: secure (default after reset)

Bit 20 TIMG3SEC: Secure state of the TIMG3 prescaler

0: non-secure

1: secure (default after reset)

10.8.2 RCC stop request set register (RCC_MP_SREQSETR)

Address offset: 0x100

Reset value: 0x0000 0000

If RCC_SECCFGR.STPSEC=1, a write access to this register must be secure. A read access may be secure or non-secure.

Writing '0' has no effect, reading returns the values of the bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 0 STPREQ_P0: Stop request from MPU processor

Set by software

Indicates if the MPU processor allow or not the entry in CStop/CStandby modes for MPU domain, when the MPU is in WFI.

Note: Note: the entry selection between CStop and CStandby is controlled by PWR_MPUCR.PDDS and PWR_CR1.STOP2 control bits.

0: Writing '0' has no effect, reading '0' means that the MPU processor does not allow the MPU domain to go to CStop/CStandby; then if MPU is in WFI, it is kept in CSleep

1: Writing '1' sets the STPREQ_P0 bit, reading '1' means that the MPU processor allows the MPU domain to go to CStop

10.8.3 RCC stop request clear register (RCC_MP_SREQCLRR)

Address offset: 0x104

Reset value: 0x0000 0000

If RCC_SECCFGR.STPSEC=1, a write access to this register must be secure. A read access may be secure or non-secure.

Writing '0' has no effect, reading returns the values of the bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 0 STPREQ_P0: Stop request from MPU processor

Cleared by software

Indicates if the MPU processor allow or not the entry in CStop/CStandby modes for MPU domain, when the MPU is in WFI.

Note: Note: the entry selection between CStop and CStandby is controlled by PWR_MPUCR.PDDS and PWR_CR1.STOP2 control bits.

0: Writing '0' has no effect, reading '0' means that the MPU processor does not allow the MPU domain to go to CStop/CStandby; then if MPU is in WFI, it is kept in CSleep

1: Writing '1' clears the STPREQ_P0 bit, reading '1' means that the MPU processor allows the MPU domain to go to CStop

ST logo
ST logo

10.8.4 RCC application reset control register (RCC_MP_APRSTCR)

Address offset: 0x108

Reset value: 0x0000 7F00

If RCC_SECCFGR.RSTSEC=1, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the behavior of the warm reset.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.RSTTO[6:0]Res.Res.Res.Res.Res.Res.Res.Res.RDCTLEN
rw
rwrwrwrwrwrwrw

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

Bits 14:8 RSTTO[6:0]: Reset timeout delay adjust

Written by software in order to define the maximum amount of time the app_rst is delayed. The timeout value is counted using hsi_ck, which can be divided according to HSIDIV.

This function is only available when the RDCTLEN = '1'.

It is not allowed to change this field value when RDCTLEN = '1'. Refer to Section 10.3.9: Reset Delay Control (RDCTL) for additional information of the programming of the timeout value.

0x0: The timeout function is disabled

0x1: The timeout is set to \(2 \times 2^{\text{HSIDIV}}\) us

...

0x7F: The timeout is set to \(128 \times 2^{\text{HSIDIV}}\) us (default after reset)

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

Bit 0 RDCTLEN: Reset delay control enable

Set and reset by software.

0: The RDCTL control block is bypassed (default after reset)

1: The RDCTL control block is enabled.

10.8.5 RCC application reset status register (RCC_MP_APRSTSR)

Address offset: 0x10C

Reset value: 0x0000 0000

This register provides a status of the RDCTL.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.RSTTOV[6:0]Res.Res.Res.Res.Res.Res.Res.Res.
rrrrrrr

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

Bits 14:8 RSTTOV[6:0]: Reset timeout delay value

Set by hardware in order to give the value of the timeout counter. This function is only available when the RDCTLEN = '1'.
If RSTTOS = '0' it means that a timeout occurred.

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

ST logo
ST logo

10.8.6 RCC low-power Stop modes delay control register (RCC_PWRLPDLYCR)

Address offset: 0x110

Reset value: 0x0000 0004

If RCC_SECCFGR.STPSEC=1, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to program the delay between the moment where the system exits from one of the Stop modes, and the moment where it is allowed to enable the PLLs and provide a clock to bridges and processor. See Section : The clock restore sequence description for details.

Note: The reset value is 4 and is the minimum value for a functional wakeup from any Stop mode.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PWRLP_DLY[21:16]
rwrwrwrwrwrw
1514131211109876543210
PWRLP_DLY[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

Bits 21:0 PWRLP_DLY[21:0]: PWRLP_TEMPO value

Written by software.

This register contains the delay value to be observed before activating the PLLs and interconnect clocks, after one of the system Stop modes.

The delay is counted with the HSI clock. The user has to take into account HSIDIV value.

The delay value is given by the following formula: PWRLP_DLY[21:0]/FHSI

0x0: Reserved

0x1: Reserved

0x2: Reserved

0x3: Reserved

0x4: A PWRLP_TEMPO delay of 5 periods of HSI (at 64 MHz) is taken

0x5: A PWRLP_TEMPO delay of 6 periods of HSI (at 64 MHz) is taken

...

0x3FFFFF: A PWRLP_TEMPO delay of about 65.5 milliseconds is taken

10.8.7 RCC global reset control set register (RCC_MP_GRSTCSETR)

Address offset: 0x114

Reset value: 0x0000 0000

If RCC_SECCFGR.RSTSEC=1, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used in order to generate either a system reset or a reset of the MPU processor. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' activates the 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.Res.Res.MPSYSRST
rs

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

Bit 0 MPSYSRST: System reset

Set by software, cleared by hardware.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' generates a system reset, see Figure 48.

10.8.8 RCC boot ROM reset status clear register (RCC_BR_RSTSCLRR)

Address offset: 0x118

Reset value: 0x0000 0015

If RCC_SECCFGR.RSTSEC=1, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used by the boot ROM to check the reset source. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' clears the corresponding bit to '0'. In order to identify the reset source, the MPU application must use RCC reset status set register (RCC_MP_RSTSSETR). Refer to Section 10.3.11: Reset source identification for details.

This register is located into VDD domain, and is reset by por_rst 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.IWDG2RSTFIWDG1RSTFRes.MPSYSRSTFVCPURSTFVCORERSTFHCSSRSTFPADRSTFBORRSTFPORRSTF
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 9 IWDG2RSTF: IWDG2 reset flag

Cleared by software, set by hardware when a IWDG2 reset occurred.

0: Writing '0' has no effect, reading '0' means that no IWDG2 reset occurred (default after por_rst reset)

1: Writing '1' clears the IWDG2RSTF flag, reading '1' means that a IWDG2 reset occurred

Bit 8 IWDG1RSTF: IWDG1 reset flag

Cleared by software, set by hardware when a IWDG1 reset occurred.

0: Writing '0' has no effect, reading '0' means that no IWDG1 reset occurred (default after por_rst reset)

1: Writing '1' clears the IWDG1RSTF flag, reading '1' means that a IWDG1 reset occurred

Bit 7 Reserved, must be kept at reset value.

Bit 6 MPSYSRSTF: MPU System reset flag

Cleared by software, set by hardware when a MPU system reset occurred.

0: Writing '0' has no effect, reading '0' means that no system reset generated by the MPU occurred (default after por_rst reset)

1: Writing '1' clears the MPSYSRSTF flag, reading '1' means that a system reset generated by the MPU occurred

10.8.9 RCC reset status set register (RCC_MP_RSTSSETR)

Address offset: 0x11C

Reset value: 0x0000 0000

If RCC_SECCFGR.RSTSEC=1, a write access to this register must be secure. A read access may be secure or non-secure.

This register is dedicated to the boot ROM code in order to update the reset source. This register is updated by the boot ROM code after either a power-on reset (por_rst), an exit from Standby, an application reset, or an exit from LPLV-Stop2.

Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

Refer to Section 10.3.11: Reset source identification for details.

The register is located in VDDCORE.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
SPARERes.Res.CSTDBYRSTFSTDBYRSTFSTP2RSTFIWDG2RSTFIWDG1RSTFRes.MPSYSRSTFVCPURSTFVCORERSTFHCSSRSTFPADRSTFBORRSTFPORRSTF
rsrsrsrsrsrsrsrsrsrsrsrsrs

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

Bit 15 SPARE: Spare bit

Set and reset by software. Reserved for future use.

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

Bit 12 CSTDBYRSTF: MPU CStandby reset flag

Set by the boot ROM code when the MPU exits from CStandby.

0: MPU has not been in CStandby

1: MPU has been in CStandby

Bit 11 STDBYRSTF: System Standby reset flag

Set by the boot ROM code when exiting from Standby.

0: System has not been in Standby mode

1: System has been in Standby mode

Bit 10 STP2RSTF: Stop2 reset flag

Set by the boot ROM code when exiting from LPLV-Stop2.

0: System has not been in LPLV-Stop2 mode

1: System has been in LPLV-Stop2 mode

Bit 9 IWDG2RSTF: IWDG2 reset flag

Set by the boot ROM code when a IWDG2 reset occurred.

0: No IWDG2 reset occurred

1: An IWDG2 reset occurred

10.8.10 RCC reset status clear register (RCC_MP_RSTSCLRR)

Address offset: 0x120

Reset value: 0x0000 0000

If RCC_SECCFGR.RSTSEC=1, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to check the reset source. This register is updated by the boot ROM code, after either a power-on reset (por_rst), an exit from Standby, an application reset, or an exit from LPLV-Stop2.

Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' clears the corresponding bit to '0'.

Refer to Section 10.3.11: Reset source identification for details.

The register is located in VDDCORE.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
SPARERes.Res.CSTDBYRSTFSTDBYRSTFSTP2RSTFIWDG2RSTFIWDG1RSTFRes.MPSYSRSTFVCPURSTFVCORERSTFHCSSRSTFPADRSTFBORRSTFPORRSTF
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 15 SPARE: Spare bit

Set and reset by software. Reserved for future use.

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

Bit 12 CSTDBYRSTF: MPU CStandby reset flag

Cleared by software, set by the boot ROM code when the MPU exits from CStandby.

0: MPU has not been in CStandby mode

1: MPU has been in CStandby mode

Bit 11 STDBYRSTF: System Standby reset flag

Cleared by software, set by the boot ROM code when exiting from Standby.

0: System has not been in Standby mode

1: System has been in Standby mode

Bit 10 STP2RSTF: Stop2 reset flag

Cleared by software, set by the boot ROM code when exiting from LPLV-Stop2.

0: System has not been in LPLV-Stop2 mode

1: System has been in LPLV-Stop2 mode

Bit 9 IWDG2RSTF: IWDG2 reset flag

Cleared by software, set by the boot ROM code when a IWDG2 reset occurred.

0: No IWDG2 reset occurred

1: An IWDG2 reset occurred

10.8.11 RCC IWDG clock freeze set register (RCC_MP_IWDGFZSETR)

Address offset: 0x124

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used by the boot ROM in order to freeze the IWDGs clocks. After a MPU reset, which is caused either by a system reset or by an exit from LPLV-Stop2, the MPU is allowed to write it once. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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 the IWDG2 clock

Set once by the boot ROM software after a MPU reset (which is caused by a system reset or an exit from LPLV-Stop2), in order to freeze the IWDG2.

0: Writing '0' has no effect, reading '0' means that the IWDG2 clock is not frozen (default after system reset)

1: Writing '1' freeze the IWDG2 clock, reading '1' means that the IWDG2 clock is frozen

Bit 0 FZ_IWDG1: Freeze the IWDG1 clock

If IWDG1 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set once by the boot ROM software after a MPU reset, (which is caused by a system reset or an exit from LPLV-Stop2) in order to freeze the IWDG1.

0: Writing '0' has no effect, reading '0' means that the IWDG1 clock is not frozen (default after system reset)

1: Writing '1' freeze the IWDG1 clock, reading '1' means that the IWDG1 clock is frozen

10.8.12 RCC IWDG clock freeze clear register (RCC_MP_IWDGFZCLRR)

Address offset: 0x128

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used by the boot ROM in order to unfreeze the IWDGs clocks. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' clears the corresponding bit to '0'.

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 the IWDG2 clock

Cleared by the boot ROM software, in order to unfreeze the IWDG2.

0: Writing '0' has no effect, reading '0' means that the IWDG2 clock is not frozen (default after reset)

1: Writing '1' unfreeze the IWDG2 clock, reading '1' means that the IWDG2 clock is frozen

Bit 0 FZ_IWDG1: Unfreeze the IWDG1 clock

If IWDG1 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by the boot ROM software, in order to unfreeze the IWDG1.

0: Writing '0' has no effect, reading '0' means that the IWDG1 clock is not frozen (default after reset)

1: Writing '1' unfreeze the IWDG1 clock, reading '1' means that the IWDG1 clock is frozen

10.8.13 RCC clock source interrupt enable register (RCC_MP_CIER)

Address offset: 0x200

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding RCC sub-function, as defined by the RCC_SECCFGR register.

This register must be used to control the interrupt source enable. Refer to Section 10.6: RCC interrupts for more details.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WKUPIERes.Res.Res.LSECSSIE
rwrw
1514131211109876543210
Res.Res.Res.Res.PLL4DYIEPLL3DYIEPLL2DYIEPLL1DYIERes.Res.Res.CSIRDYIEHSERDYIEHSIRDYIELSERDYIELSIRDYIE
rwrwrwrwrwrwrwrwrw

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

Bit 20 WKUPIE: Wake up from CStop Interrupt Enable

If RCC_SECCFGR.STPSEC, a write access to this field must be secure. A read access may be secure or non-secure.

Set and reset by software to enable/disable the generation of the interrupt used to wake up the MPU from CStop.

0: Wakeup interrupt disabled (default after reset)

1: Wakeup interrupt enabled

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

Bit 16 LSECSSIE: LSE clock security system Interrupt Enable

If RCC_SECCFGR.LSESEC, a write access to this field must be secure. A read access may be secure or non-secure.

Set and reset by software to enable/disable interrupt caused by the Clock Security System on external 32 kHz oscillator.

0: LSE CSS interrupt disabled (default after reset)

1: LSE CSS interrupt enabled

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

Bit 11 PLL4DYIE: PLL4 ready Interrupt Enable

If RCC_SECCFGR.PLL4SEC, a write access to this field must be secure. A read access may be secure or non-secure.

Set and reset by software to enable/disable interrupt caused by PLL4 lock.

0: PLL4 lock interrupt disabled (default after reset)

1: PLL4 lock interrupt enabled

Bit 2 HSIRDYIE: HSI ready Interrupt Enable

If RCC_SECCFGR.HSISEC, a write access to this field must be secure. A read access may be secure or non-secure.

Set and reset by software to enable/disable interrupt caused by the HSI oscillator stabilization.

0: HSI ready interrupt disabled (default after reset)

1: HSI ready interrupt enabled

Bit 1 LSERDYIE: LSE ready Interrupt Enable

If RCC_SECCFGR.LSESEC, a write access to this field must be secure. A read access may be secure or non-secure.

Set and reset 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

If RCC_SECCFGR.LSISEC, a write access to this field must be secure. A read access may be secure or non-secure.

Set and reset 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

10.8.14 RCC clock source interrupt flag register (RCC_MP_CIFR)

Address offset: 0x204

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding RCC sub-function, as defined by the RCC_SECCFGR register.

This register must be used in order to read and clear the interrupt flags. Writing '0' has no effect, writing '1' clears the corresponding flag (provided that the write access is secure if configured so). Refer to Section 10.6: RCC interrupts for more details.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WKUPFRes.Res.Res.LSECSSF
rc_w1rc_w1
1514131211109876543210
Res.Res.Res.Res.PLL4DYFPLL3DYFPLL2DYFPLL1DYFRes.Res.Res.CSIRDYFHSERDYFHSIRDYFLSERDYFLSIRDYF
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 20 WKUPF: Wake up from CStop Interrupt Flag

If RCC_SECCFGR.STPSEC, a write access to this field must be secure. A read access may be secure or non-secure.

Reset by software by writing this flag to '1'.

Set by hardware when the MPU needs to exit from CStop.

0: No wakeup interrupt pending (default after reset)

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

If RCC_SECCFGR.LSESEC, a write access to this field must be secure. A read access may be secure or non-secure.

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:12 Reserved, must be kept at reset value.

Bit 11 PLL4DYF: PLL4 ready Interrupt Flag

If RCC_SECCFGR.PLLSEC, a write access to this field must be secure. A read access may be secure or non-secure.

Reset by software by writing this flag to '1'.

Set by hardware when the PLL4 locks.

0: No clock ready interrupt caused by PLL4 lock (default after reset)

1: Clock ready interrupt caused by PLL4 lock, writing '1' clears this flag

Bit 10 PLL3DYF: PLL3 ready Interrupt Flag

If RCC_SECCFGR.PLLSEC, a write access to this field must be secure. A read access may be secure or non-secure.

Reset by software by writing this flag to '1'.

Set by hardware when the PLL3 locks.

0: No clock ready interrupt caused by PLL3 lock (default after reset)

1: Clock ready interrupt caused by PLL3 lock, writing '1' clears this flag

Bit 9 PLL2DYF: PLL2 ready Interrupt Flag

If RCC_SECCFGR.PLLSEC, a write access to this field must be secure. A read access may be secure or non-secure.

Reset by software by writing this flag to '1'.

Set by hardware when the PLL2 locks.

0: No clock ready interrupt caused by PLL2 lock (default after reset)

1: Clock ready interrupt caused by PLL2 lock, writing '1' clears this flag

Bit 8 PLL1DYF: PLL1 ready Interrupt Flag

If RCC_SECCFGR.PLLSEC, a write access to this field must be secure. A read access may be secure or non-secure.

Reset by software by writing this flag to '1'.

Set by hardware when the PLL1 locks.

0: No clock ready interrupt caused by PLL1 lock (default after reset)

1: Clock ready interrupt caused by PLL1 lock, writing '1' clears this flag

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

Bit 4 CSIRDYF: CSI ready Interrupt Flag

If RCC_SECCFGR.PLLSEC, a write access to this field must be secure. A read access may be secure or non-secure.

Reset by software by writing this flag to '1'.

Set by hardware when the CSI clock becomes stable.

0: No clock ready interrupt caused by the CSI (default after reset)

1: Clock ready interrupt caused by the CSI, writing '1' clears this flag

Bit 3 HSERDYF: HSE ready Interrupt Flag

If RCC_SECCFGR.PLLSEC, a write access to this field must be secure. A read access may be secure or non-secure.

Reset by software by writing this flag to '1'.

Set by hardware when the HSE clock becomes stable.

0: No clock ready interrupt caused by the HSE (default after reset)

1: Clock ready interrupt caused by the HSE, writing '1' clears this flag

Bit 2 HSIRDYF: HSI ready Interrupt Flag

If RCC_SECCFGR.PLLSEC, a write access to this field must be secure. A read access may be secure or non-secure.

Reset by software by writing this flag to '1'.

Set by hardware when the HSI clock becomes stable.

0: No clock ready interrupt caused by the HSI (default after reset)

1: Clock ready interrupt caused by the HSI, writing '1' clears this flag

Bit 1 LSERDYF: LSE ready Interrupt Flag

If RCC_SECCFGR.PLLSEC, a write access to this field must be secure. A read access may be secure or non-secure.

Reset by software by writing this flag to '1'.

Set by hardware when the LSE clock becomes stable.

0: No clock ready interrupt caused by the LSE (default after reset)

1: Clock ready interrupt caused by the LSE, writing '1' clears this flag

Bit 0 LSIRDYF: LSI ready Interrupt Flag

If RCC_SECCFGR.PLLSEC, a write access to this field must be secure. A read access may be secure or non-secure.

Reset by software by writing this flag to '1'.

Set by hardware when the 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

10.8.15 RCC backup domain control register (RCC_BDCR)

Address offset: 0x400

Reset value: 0x0000 0020

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This \(V_{SW}\) domain register is reset by a backup domain power-on reset (i.e. VDD and VBAT have been powered-down). This register is also reset when is securely written and set RCC_BDCR.VSWRST=1, excepted for the field VSWRST.

After a system reset, the backup domain, including this RCC_BDCR register, is protected against any write access by default. Before writing to this register, the software must disable the backup domain write protection: write and set PWR_CR1.DBP=1.

This register is used to control the backup domain, RTC and LSE functions. Wait states are inserted in case of successive write accesses to this register. The number of wait states may be up to 7 cycles of AHB4 clock.

31302928272625242322212019181716
VSWRSTRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.RTCCKENRes.Res.RTCSRC[1:0]
rwrwrworwo
1514131211109876543210
Res.Res.Res.Res.Res.Res.LSECSSDLSECSSONRes.Res.LSEDRV[1:0]DIGBYPLSERDYLSEBYPLSEON
rrwrwrwrwrrwrw

Bit 31 VSWRST: \(V_{SW}\) domain software reset

Set and reset by software.

If RCC_SECCFGR.RSTSEC, a write access to this field must be secure. A read access may be secure or non-secure.

0: write: release the software reset; read: software reset not activated (default after backup domain reset)

1: write: reset the entire \(V_{SW}\) domain; read: software reset activated

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

Bit 20 RTCCKEN: RTC clock enable

Set and reset by software.

If at least one function of the RTC is configured as secure via the RTC_SECCFGR register (i.e. if the input signal rtc_sec driven by RTC is asserted), a write access to this register field must be secure. A read access may be secure or non-secure.

0: rtc_ck clock is disabled (default after backup domain reset)

1: rtc_ck clock enabled

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

Bits 17:16 RTCSRC[1:0]: RTC clock source selection

Set by software to select the clock source for the RTC.

If at least one function of the RTC is configured as secure via the RCC_SECCFGR register (i.e. if the input signal rtc_sec driven by RTC is asserted), a write access to this register field must be secure. A read access may be secure or non-secure.

This field can be written only one time after backup domain reset.

When an LSE failure occurs, this field is cleared and the software can write it again once.

This field must be written before LSECSSON is enabled.

Refer to Section : CSS on LSE for details.

0x0: No clock (default after backup domain reset)

0x1: LSE clock used as RTC clock

0x2: LSI clock used as RTC clock

0x3: HSE clock divided by RTCDIV value is used as RTC clock

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

Bit 9 LSECSSD: LSE clock security system failure detection

Set by hardware to indicate when a failure has been detected by the Clock Security System on the external 32 kHz oscillator.

0: No failure detected on 32 kHz oscillator (default after backup domain reset)

1: Failure detected on 32 kHz oscillator

Bit 8 LSECSSON: LSE clock security system enable

Set by software to enable the Clock Security System on 32 kHz oscillator.

If RCC_SECCFGR.LSESEC, a write access to this register field must be secure. A read access may be secure or non-secure.

Refer to Section : CSS on LSE for details on the activation and deactivation sequences.

0: Clock Security System on 32 kHz oscillator OFF (default after backup domain reset)

1: Clock Security System on 32 kHz oscillator ON

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

Bits 5:4 LSEDRV[1:0]: LSE oscillator driving capability

Written by software to select the driving capability of the LSE oscillator.

If RCC_SECCFGR.LSESEC, a write access to this register field must be secure. A read access may be secure or non-secure.

0x0: Lowest drive

0x1: Medium low drive

0x2: Medium high drive (default after backup domain reset)

0x3: Highest drive

Bit 3 DIGBYP: LSE digital bypass

Set and reset by software to select the analog or digital bypass mode.

If RCC_SECCFGR.LSESEC, a write access to this register field must be secure. A read access may be secure or non-secure.

0: The LSE is in analog bypass mode (default after backup domain reset)

1: The LSE is in digital bypass mode

Bit 2 LSERDY: LSE oscillator ready

Set and reset by hardware to indicate when the LSE is stable. This bit needs 6 cycles of lse_ck clock to fall down after LSEON has been set to '0'.

0: LSE oscillator not ready (default after backup domain reset)

1: LSE oscillator ready

Bit 1 LSEBYP: LSE oscillator bypass

Set and reset by software to bypass oscillator in debug mode.

If RCC_SECCFGR.LSESEC, a write access to this register field must be secure. A read access may be secure or non-secure.

This bit must not be written when the LSE is enabled (LSEON = '1').

Refer to Section : Note as well that the signal csi_cal_ck is gated when the system goes to Stop. for details.

0: LSE oscillator not bypassed (default after backup domain reset)

1: LSE oscillator bypassed

Bit 0 LSEON: LSE oscillator enabled

Set and reset by software.

If RCC_SECCFGR.LSESEC, a write access to this register field must be secure. A read access may be secure or non-secure.

0: LSE oscillator OFF (default after backup domain reset)

1: LSE oscillator ON

10.8.16 RCC reset duration and LSI control register (RCC_RDLSICR)

Address offset: 0x404

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding RCC sub-function, as defined by the RCC_SECCFGR register.

This register is reset by the por_rst reset, and it is located into the VDD domain.

This register is used to control the minimum NRST active duration and the LSI function.

0 to 7 wait states are inserted for word, half-word and byte accesses. Wait states are inserted in case of successive accesses to this register.

31302928272625242322212019181716
SPARE[4:0]EADLY[2:0]Res.Res.Res.MRD[4:0]
rwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LSIRDYLSION
rrw

10.8.17 RCC oscillator clock enable set register (RCC_OCENSETR)

Address offset: 0x420

Reset value: 0x0000 0001

If a given xxx resource of the RCC clocking is configured as secure (i.e. if a given xxx resource is configured with RCC_SECCFGR.xxxSEC=1), a write access to a field register belonging to this resource must be secure.

A read access may be secure or non-secure.

This register is used to control the oscillators. Writing '0' to this register has no effect, writing '1' sets the corresponding bits. Reading gives the effective values of each bit.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.HSECSSONHSEBYPHSEKERONHSEONDIGBYPRes.CSIKERONCSIONRes.Res.HSIKERONHSION
rsrsrsrsrsrsrsrsrs

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

Bit 11 HSECSSON: Set the HSECSSON bit

Set the Clock Security System on HSE.

This bit must be written by a secure agent if the HSE clock is configured as secure (i.e. if RCC_SECCFGR.HSESEC=1).

This bit is “set only” (disabled by a system reset or when the system enters in Standby mode).

When HSECSSON is set, the clock detector is enabled by hardware when the HSE is ready.

0: Reading '0' means that the Clock Security System on HSE is OFF (default after reset)

1: Writing '1' enables the Clock Security System on HSE, reading '1' means that the Clock Security System on HSE is ON

Bit 10 HSEBYP: Set HSEBYP bit

Set by software in order to enable the bypass mode.

This bit must be written by a secure agent if the HSE clock is configured as secure (i.e. if RCC_SECCFGR.HSESEC=1).

0: No effect

1: Set the HSEBYP bit

Bit 9 HSEKERON: Set HSEKERON bit

Set by software to force the HSE to ON, even in (LP-)Stop mode, in order to be quickly available as kernel clock for some peripherals.

This bit must be written by a secure agent if the HSE clock is configured as secure (i.e. if RCC_SECCFGR.HSESEC=1).

This bit has no effect on the value of HSEON.

0: No effect

1: Set the HSEKERON bit

10.8.18 RCC oscillator clock enable clear register (RCC_OCENCLRR)

Address offset: 0x424

Reset value: 0x0000 0001

If a given xxx resource of the RCC clocking is configured as secure (i.e. if a given xxx resource is configured with RCC_SECCFGR.xxxSEC=1), a write access to a field register belonging to this resource must be secure.

This register is used to control the oscillators. Writing '0' to this register has no effect, writing '1' clears the corresponding bits. Reading gives the effective values of the enable bits.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.HSEBYPHSEKERONHSEONDIGBYPRes.CSIKERONCSIONRes.Res.HSIKERONHSION
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 10 HSEBYP: Clear the HSEBYP bit

Cleared by software in order to disable the bypass mode.

This bit must be written by a secure agent if the HSE clock is configured as secure (i.e. if RCC_SECCFGR.HSESEC=1).

0: No effect

1: Clear the HSEBYP bit

Bit 9 HSEKERON: Clear HSEKERON bit

Cleared by software in order to allow the HSE to be switched off in one of the Stop modes.

This bit must be written by a secure agent if the HSE clock is configured as secure (i.e. if RCC_SECCFGR.HSESEC=1).

0: No effect

1: Clear the HSEKERON bit

Bit 8 HSEON: Clear of HSEON bit

Cleared by software to disable the HSE clock.

This bit must be written by a secure agent if the HSE clock is configured as secure (i.e. if RCC_SECCFGR.HSESEC=1).

0: No effect

1: Clear the HSEON bit

Bit 7 DIGBYP: Clear of DIGBYP bit

Cleared by software when the external clock connected to OSC_IN is a low-swing signal.

This bit must be written by a secure agent if the HSE clock is configured as secure (i.e. if RCC_SECCFGR.HSESEC=1).

0: No effect

1: Clear the DIGBYP bit (analog bypass)

Bit 6 Reserved, must be kept at reset value.

Bit 5 CSIKERON: Clear of CSIKERON bit

Cleared by software in order to allow the CSI to be switched off in one of the Stop modes.

This bit must be written by a secure agent if the CSI clock is configured as secure (i.e. if RCC_SECCFGR.CSISEC=1).

This bit has no effect on the value of CSION.

0: No effect

1: Clear the CSIKERON bit

Bit 4 CSION: Clear of CSION bit

Cleared by software to disable the CSI clock.

This bit must be written by a secure agent if the CSI clock is configured as secure (i.e. if RCC_SECCFGR.CSISEC=1).

0: CSI is OFF

1: Clear the CSION bit

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

Bit 1 HSIKERON: Clear of HSIKERON bit

Cleared by software in order to allow the HSI to be switched off in one of the Stop modes.

This bit must be written by a secure agent if the HSI clock is configured as secure (i.e. if RCC_SECCFGR.HSISEC=1).

This bit has no effect on the value of HSION.

0: No effect

1: Clear the HSIKERON bit

Bit 0 HSION: Clear of HSION bit

Cleared by software to disable the HSI clock.

This bit must be written by a secure agent if the HSI clock is configured as secure (i.e. if RCC_SECCFGR.HSISEC=1).

0: No effect

1: Clear the HSION bit

10.8.19 RCC oscillators and MPU and AXI clock ready register (RCC_OCRDYR)

Address offset: 0x428

Reset value: 0x0000 0000

This is a read-only access register, It contains the status flags of oscillators. Writing has no effect.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.AXICKRDYMPUCKRDYRes.Res.Res.Res.Res.Res.Res.
rr
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.HSERDYRes.Res.Res.CSIRDYRes.HSIDIVRDYRes.HSIRDY
rrrr

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

Bit 24 AXICKRDY: AXI sub-system clock ready flag

Set by hardware to indicate that the axiss_ck clock is available.

0: axiss_ck clock is not available (default after reset)

1: axiss_ck clock is available

Bit 23 MPUCKRDY: MPU clock ready flag

Set by hardware to indicate that the mpuss_ck clock is available.

0: mpuss_ck clock is not available (default after reset)

1: mpuss_ck clock is available

Bits 22: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 is not ready (default after reset)

1: HSE clock is ready

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

Bit 4 CSIRDY: CSI clock ready flag

Set by hardware to indicate that the CSI oscillator is stable.

0: CSI clock is not ready (default after reset)

1: CSI clock is ready

Bit 3 Reserved, must be kept at reset value.

Bit 2 HSIDIVRDY: HSI divider ready flag

Set and reset by hardware.

As a write in HSIDIV has not an immediate effect on the frequency, this flag indicates the current status of the HSI divider. HSIDIVF goes immediately to '0' when HSIDIV value is changed, and is set back to '1' when the output frequency matches the value programmed into HSIDIV

0: the new division ratio is not yet propagated to hsi_ck (hsi_ker_ck) (default after reset)

1: the hsi_ck (hsi_ker_ck) clock frequency reflects the new HSIDIV value

Bit 1 Reserved, must be kept at reset value.

Bit 0 HSIRDY: HSI clock ready flag

Set by hardware to indicate that the HSI oscillator is stable.

0: HSI clock is not ready (default after reset)

1: HSI clock is ready

10.8.20 RCC HSI configuration register (RCC_HSICFGR)

Address offset: 0x440

Reset value: 0x0000 0000

If RCC_SECCFGR.HSISEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to configure the HSI.

31302928272625242322212019181716
Res.Res.Res.Res.HSICAL[11:0]
rrrrrrrrrrrr
1514131211109876543210
Res.HSITRIM[6:0]Res.Res.Res.Res.Res.Res.HSIDIV[1:0]
rwrwrwrwrwrwrwrwrw

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

Bits 27:16 HSICAL[11:0]: HSI clock calibration

Set by hardware by option byte loading during system reset

Adjusted by software through trimming bits HSITRIM.

This field represents the sum of engineering Option Byte calibration value and HSITRIM bits value.

Bit 15 Reserved, must be kept at reset value.

Bits 14:8 HSITRIM[6:0]: HSI clock trimming

Set by software to adjust calibration. HSITRIM represents a signed value.

HSITRIM field is added to the engineering Option Bytes loaded during reset phase (bsec_hsi_cal[11:0]) in order to form the calibration trimming value.

\(HSICAL[11:0] = HSITRIM[6:0] + bsec\_hsi\_cal[11:0]\).

0x40: bsec_hsi_cal[11:0] - 64

0x41: bsec_hsi_cal[11:0] - 63

...

0x0: bsec_hsi_cal[11:0] (default after reset)

...

0x3E: bsec_hsi_cal[11:0] + 62

0x3F: bsec_hsi_cal[11:0] + 63

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

Bits 1:0 HSIDIV[1:0]: HSI clock divider

Written by software.

These bits allows the user to select a division ratio in order to select the wanted HSI clock frequency. The bit HSIDIVRDY of RCC oscillators and MPU and AXI clock ready register (RCC_OCRDYR) indicates when the new division ratio is taken into account.

0x0: Division by 1, hsi_ck (hsi_ker_ck) = 64 MHz (default after reset)

0x1: Division by 2, hsi_ck (hsi_ker_ck) = 32 MHz

0x2: Division by 4, hsi_ck (hsi_ker_ck) = 16 MHz

0x3: Division by 8, hsi_ck (hsi_ker_ck) = 8 MHz

10.8.21 RCC CSI configuration register (RCC_CSICFGR)

Address offset: 0x444

Reset value: 0x0000 1000

If RCC_SECCFGR.CSISEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to fine-tune the CSI frequency.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.CSICAL[7:0]
rrrrrrrr
1514131211109876543210
Res.Res.Res.CSITRIM[4:0]Res.Res.Res.Res.Res.Res.Res.Res.
rwrwrwrwrw

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

Bits 23:16 CSICAL[7:0]: CSI clock calibration

Set by hardware by option byte loading during system reset.

Adjusted by software through trimming bits CSITRIM.

This field represents the sum of engineering Option Byte calibration value and CSITRIM bits value

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

Bits 12:8 CSITRIM[4:0]: CSI clock trimming

Set by software to adjust calibration.

CSITRIM field is added to the engineering Option Bytes loaded during reset phase (bsec_csi_cal[7:0]) in order to form the calibration trimming value.

\(CSICAL[7:0] = CSITRIM[4:0] + bsec\_csi\_cal[7:0]\).

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

10.8.22 RCC MCO1 configuration register (RCC_MCO1CFGR)

Address offset: 0x460

Reset value: 0x0000 0000

If RCC_SECCFGR.MCO1SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to select the clock generated on MCO1 output.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.MCO1ONRes.Res.Res.Res.MCO1DIV[3:0]Res.MCO1SEL[2:0]
rwrwrwrwrwrwrwrw

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

Bit 12 MCO1ON: Control of the MCO1 output
Set and cleared by software to enable the MCO1 output
0: The MCO1 output is disabled
1: The MCO1 output is enabled

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

Bits 7:4 MCO1DIV[3:0]: MCO1 prescaler
Set and cleared by software to configure the prescaler of the MCO1. Modification of this prescaler may generate glitches on MCO1. It is highly recommended to change this prescaler only after reset, before enabling the external oscillators and the PLLs.
Refer to Section 10.4.4: Clock output generation (MCO1 & MCO2) for details.
0x0: bypass (default after reset)
0x1: division by 2
0x2: division by 3
...
0xF: division by 16

Bit 3 Reserved, must be kept at reset value.

Bits 2:0 MCO1SEL[2:0]: MCO1 clock output selection
Set and cleared by software. Clock source selection may generate glitches on MCO1.
It is highly recommended to configure these bits only after reset, before enabling the external oscillators and the PLLs.
0x0: HSI clock selected (hsi_ck) (default after reset)
0x1: HSE clock selected (hse_ck)
0x2: CSI clock selected (csi_ck)
0x3: LSI clock selected (lsi_ck)
0x4: LSE oscillator clock selected (lse_ck)
others: reserved

ST logo
ST logo

10.8.23 RCC MCO2 configuration register (RCC_MCO2CFGR)

Address offset: 0x464

Reset value: 0x0000 0000

If RCC_SECCFGR.MCO2SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to select the clock generated on MCO2 output.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.MCO2ONRes.Res.Res.Res.MCO2DIV[3:0]Res.MCO2SEL[2:0]
rwrwrwrwrwrwrwrw

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

Bit 12 MCO2ON: Control of the MCO2 output

Set and cleared by software to enable the MCO2 output

0: The MCO2 output is disabled

1: The MCO2 output is enabled

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

Bits 7:4 MCO2DIV[3:0]: MCO2 prescaler

Set and cleared by software to configure the prescaler of the MCO2. Modification of this prescaler may generate glitches on MCO2. It is highly recommended to change this prescaler only after reset, before enabling the external oscillators and the PLLs.

Refer to Section 1.4.4: Clock Output generation (MCO1 & MCO2) for details.

0x0: bypass (default after reset)

0x1: division by 2

0x2: division by 3

...

0xF: division by 16

Bit 3 Reserved, must be kept at reset value.

Bits 2:0 MCO2SEL[2:0]: Micro-controller clock output 2

Set and cleared by software. Clock source selection may generate glitches on MCO2.

It is highly recommended to configure these bits only after reset, before enabling the external oscillators and the PLLs.

0x0: MPU clock selected (mpuss_ck) (default after reset)

0x1: AXI clock selected (axiss_ck)

0x2: MLAHB clock selected (mlahbss_ck)

0x3: PLL4 clock selected (pll4_p_ck)

0x4: HSE clock selected (hse_ck)

0x5: HSI clock selected (hsi_ck)

others: reserved

10.8.24 RCC debug configuration register (RCC_DBGCFGR)

Address offset: 0x468

Reset value: 0x0000 0001

This register contains the enable control of the debug and trace function, and the clock divider for the trace function.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.DBGRSTRes.Res.TRACECKENDBGCKENRes.Res.Res.Res.Res.TRACEDIV[2:0]
rwrwrwrwrwrw

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

Bit 12 DBGRST: Reset of the debug function

Set and cleared by software to control the generation of the reset (dbg_rstn) for the trace and debug parts.
0: The trace and debug parts are not reset. (default after reset)
1: The trace and debug parts are under reset.

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

Bit 9 TRACECKEN: Clock enable for trace function

Set and cleared by software to control the generation of the trace_ck clock.
See Section : Clock distribution for DBG and trace for additional information.
0: The clock for the trace function is disabled (default after reset)
1: The clock for the trace function is enabled

Bit 8 DBGCKEN: Clock enable for debug function

Set and cleared by software to control the generation of the ck_apb_dbg clock (DEBUG APB clock), the ck_sys_dbg. See Section : Clock distribution for DBG and trace for additional information.
0: The enabling of the clock for the debug function is controlled by cdbgwrupreq signal from DAP. (default after reset)
1: The clock for the debug function is enabled

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

Bits 2:0 TRACEDIV[2:0]: Clock divider for the trace clock (ck_trace)

Written by software to control the ck_trace clock division factor.
It is possible to change this division ratio on-the-fly.
0x0: aclk
0x1: aclk / 2 (default after reset)
0x2: aclk / 4
0x3: aclk / 8
others: aclk / 16

10.8.25 RCC PLL1 and PLL2 reference clock selection register (RCC_RCK12SELR)

Address offset: 0x480

Reset value: 0x8000 0000

If RCC_SECCFGR.PLL12SEC=1, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to select the source of the reference clock for PLL1 and PLL2.

31302928272625242322212019181716
PLL12SRCRDYRes.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.PLL12SRC[1:0]
rwrw

Bit 31 PLL12SRCRDY: PLL12 source clock switch status

Set and reset by hardware to indicate if the PLL12 clock switch transition has been properly performed.

0: The PLL12 switch is not ready or in position '1x': no clock is generated on its output

1: The PLL12 switch is ready: the clock switch is selecting the clock given by PLL12SRC[1:0] field. (default after reset)

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

Bits 1:0 PLL12SRC[1:0]: Source clock selection for PLL12

Written by software to select the PLL12 source clock.

In order to save power when PLL12 is not used, PLL12SRC[1:0] must be set to '1x'.

0x0: HSI selected as PLL12 clock (hsi_ck) (default after reset)

0x1: HSE selected as PLL12 clock (hse_ck)

others: No clock send to DIVM1 divider and PLL12

10.8.26 RCC PLL3 reference clock selection register (RCC_RCK3SELR)

Address offset: 0x484

Reset value: 0x8000 0000

If RCC_SECCFGR.PLL3SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to select the source of the reference clock for PLL3.

31302928272625242322212019181716
PLL3SRCRDYRes.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.PLL3SRC[1:0]
rwrw

Bit 31 PLL3SRCRDY: PLL3 source clock switch status

Set and reset by hardware to indicate if the PLL3 clock switch transition has been properly performed.

0: The PLL3 switch is not ready or in position '11': no clock is generated on its output

1: The PLL3 switch is ready: the clock switch is selecting the clock given by PLL3SRC[1:0] field. (default after reset)

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

Bits 1:0 PLL3SRC[1:0]: Source clock selection for PLL3

Written by software to select the PLL3 clock source.

In order to save power, when PLL3 is not used, PLL3SRC[1:0] must be set to '11'.

0x0: HSI selected as PLL clock (hsi_ck) (default after reset)

0x1: HSE selected as PLL clock (hse_ck)

0x2: CSI selected as PLL clock (csi_ck)

0x3: No clock send to DIVM3 divider and PLL3

10.8.27 RCC PLL4 reference clock selection register (RCC_RCK4SELR)

Address offset: 0x488

Reset value: 0x8000 0000

If RCC_SECCFGR.PLL4SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to select the source of the reference clock for PLL4.

31302928272625242322212019181716
PLL4SRCRDYRes.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.PLL4SRC[1:0]
rwrw

Bit 31 PLL4SRCRDY: PLL4 source clock switch status

Set and reset by hardware to indicate if the PLL4 clock switch transition has been properly performed.

0: The PLL4 switch is not ready or in position '11': no clock is generated on its output

1: The PLL4 switch is ready: the clock switch is selecting the clock given by PLL4SRC[1:0] field. (default after reset)

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

Bits 1:0 PLL4SRC[1:0]: Source clock selection for PLL4

Written by software to select the PLL4 clock source.

0x0: HSI selected as PLL clock (hsi_ck) (default after reset)

0x1: HSE selected as PLL clock (hse_ck)

0x2: CSI selected as PLL clock (csi_ck)

0x3: Signal I2S_CKIN used as source clock

10.8.28 RCC PLL1 control register (RCC_PLL1CR)

Address offset: 0x4A0

Reset value: 0x0000 0000

If RCC_SECCFGR.PLL12SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the PLL1.

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.DIVRENDIVQENDIVPENRes.SSCG_CTRLPLL1RDYPLLON
rwrwrwrwrrw

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

Bit 6 DIVREN: PLL1 DIVR divider output enable

Set and reset by software to enable the pll1_r_ck output of the PLL1.

In order to save power, when the pll1_r_ck is not needed, DIVREN and DIVR must be set to '0'.

0: pll1_r_ck output is disabled (default after reset)

1: pll1_r_ck output is enabled

Bit 5 DIVQEN: PLL1 DIVQ divider output enable

Set and reset by software to enable the pll1_q_ck output of the PLL1.

In order to save power, when the pll1_q_ck is not needed, DIVQEN and DIVQ must be set to '0'.

0: pll1_q_ck output is disabled (default after reset)

1: pll1_q_ck output is enabled

Bit 4 DIVPEN: PLL1 DIVP divider output enable

Set and reset by software to enable the pll1_p_ck output of the PLL1.

In order to save power, when the pll1_p_ck is not needed, DIVPEN and DIVP must be set to '0'.

0: pll1_p_ck output is disabled (default after reset)

1: pll1_p_ck output is enabled

Bit 3 Reserved, must be kept at reset value.

10.8.29 RCC PLL1 configuration register 1 (RCC_PLL1CFGR1)

Address offset: 0x4A4

Reset value: 0x0001 0031

If RCC_SECCFGR.PLL12SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to configure the PLL1.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DIVM1[5:0]
rwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.DIVN[8:0]
rwrwrwrwrwrwrwrwrw

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

Bits 21:16 DIVM1[5:0]: Prescaler for PLL1

Set and cleared by software to configure the prescaler of the PLL1.

0x0: bypass

0x1: division by 2 (default after reset)

0x2: division by 3

...

0x3F: division by 64

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

Bits 8:0 DIVN[8:0]: Multiplication factor for PLL1 VCO

Written by software to control the multiplication factor of the VCO.

Warning: the software has to set correctly these bits to ensure that the VCO output frequency is between its valid frequency range, which is: 992 to 2000 MHz.

VCO output frequency = Fref1_ck x 2 x (DIVN+1), when value 0 has been loaded into FRACV, with:

- Valid division ratios for (DIVN+1): between 31 and 125

- The input frequency Fref1_ck between 8 and 16 MHz

0x1E: Division ratio is 31

0x1F: Division ratio is 32

...

0x31: Division ratio is 50 (default after reset)

...

0x7C: Division ratio is 125

Others: wrong configurations

10.8.30 RCC PLL1 configuration register 2 (RCC_PLL1CFGR2)

Address offset: 0x4A8

Reset value: 0x0001 0100

If RCC_SECCFGR.PLL12SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to configure the PLL1.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.DIVR[6:0]
rwrwrwrwrwrwrw
1514131211109876543210
Res.DIVQ[6:0]Res.DIVP[6:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

Bits 22:16 DIVR[6:0]: PLL1 DIVR division factor

Written by software to control the frequency of the pll1_r_ck clock.

0x0: pll1_r_ck = fout1_ck

0x1: pll1_r_ck = fout1_ck / 2 (default after reset)

0x2: pll1_r_ck = fout1_ck / 3

...

0x7F: pll1_r_ck = fout1_ck / 128

Bit 15 Reserved, must be kept at reset value.

Bits 14:8 DIVQ[6:0]: PLL1 DIVQ division factor

Written by software to control the frequency of the pll1_q_ck clock.

0x0: pll1_q_ck = fout1_ck

0x1: pll1_q_ck = fout1_ck / 2 (default after reset)

0x2: pll1_q_ck = fout1_ck / 3

...

0x7F: pll1_q_ck = fout1_ck / 128

Bit 7 Reserved, must be kept at reset value.

Bits 6:0 DIVP[6:0]: PLL1 DIVP division factor

Written by software to control the frequency of the pll1_p_ck clock.

Odd division factors are not recommended due to duty cycle degradation.

0x0: pll1_p_ck = fout1_ck (default after reset)

0x1: pll1_p_ck = fout1_ck / 2

0x2: pll1_p_ck = fout1_ck / 3

...

0x7F: pll1_p_ck = fout1_ck / 128

10.8.31 RCC PLL1 fractional register (RCC_PLL1FRACR)

Address offset: 0x4AC

Reset value: 0x0000 0000

If RCC_SECCFGR.PLL12SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to fine-tune the frequency of the PLL1 VCO.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FRACLE
rw
1514131211109876543210
FRACV[12:0]Res.Res.Res.
rwrwrwrwrwrwrwrwrwrwrwrw

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

Bit 16 FRACLE: PLL1 fractional latch enable

Set and reset by software to latch the content of FRACV into the Sigma-Delta modulator. In order to latch the FRACV value into the Sigma-Delta modulator, FRACLE must be set to '0', then set to '1': the transition 0 to '1' transfers the content of FRACV into the modulator. Refer to Section : Reprogramming post-dividers and Section : PLL initialization procedure for additional information on the PLL programming.

Bits 15:3 FRACV[12:0]: Fractional part of the multiplication factor for PLL1 VCO

Written by software to control the fractional part of the multiplication factor of the VCO.

These bits can be written at any time, allowing dynamic fine-tuning of the PLL1 VCO.

Warning: the software has to set correctly these bits to ensure that the VCO output frequency is between its valid frequency range, which is: 992 to 2000 MHz

VCO output frequency = \(F_{ref1\_ck} \times ((DIVN+1) + (FRACV / 8192))\), with

- (DIVN+1) must be between 31 and 125

- FRACV can be between 0 and 8191

- The input frequency \(F_{ref1\_ck}\) must be between 4 and 16 MHz

In order to change the FRACV value on-the-fly even if the PLL is enabled, the application has to proceed as follow:

- set the bit FRACLE to '0',

- write the new fractional value into FRACV,

- set the bit FRACLE to '1'.

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

10.8.32 RCC PLL1 clock spreading generator register (RCC_PLL1CSGR)

Address offset: 0x4B0

Reset value: 0x0000 0000

If RCC_SECCFGR.PLL12SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to configure the PLL1. It is not recommended to change the content of this register when the PLL1 is enabled (PLLON = '1'). Refer to Section : Using the PLLs in spread spectrum mode for details.

31302928272625242322212019181716
Res.INC_STEP[14:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
SSCG_MODERPDFN_DISTPDFN_DISMOD_PER[12:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bit 31 Reserved, must be kept at reset value.

Bits 30:16 INC_STEP[14:0]: Modulation Depth Adjustment for PLL1

Written by software to adjust the modulation depth of the clock spreading generator.

Bit 15 SSCG_MODE: Spread spectrum clock generator mode

Set and reset by software to select the clock spreading mode.

0: Center-spread modulation selected (default after reset)

1: Down-spread modulation selected

Bit 14 RPDFN_DIS: Dithering RPDF noise control

Set and reset by software.

This bit is used to enable or disable the injection of a dithering noise into the SSCG modulator. This dithering noise is generated using a rectangular probability density function.

0: Dithering noise injection enabled (default after reset)

1: Dithering noise injection disabled

Bit 13 TPDFN_DIS: Dithering TPDF noise control

Set and reset by software.

This bit is used to enable or disable the injection of a dithering noise into the SSCG modulator. This dithering noise is generated using a triangular probability density function.

0: Dithering noise injection enabled (default after reset)

1: Dithering noise injection disabled

Bits 12:0 MOD_PER[12:0]: Modulation Period Adjustment for PLL1

Written by software to adjust the modulation period of the clock spreading generator.

10.8.33 RCC PLL2 control register (RCC_PLL2CR)

Address offset: 0x4D0

Reset value: 0x0000 0000

If RCC_SECCFGR.PLL12SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the PLL2.

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.DIVRENDIVQENDIVPENRes.SSCG_CTRLPLL2RDYPLLON
rwrwrwrwrrw

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

Bit 6 DIVREN: PLL2 DIVR divider output enable

Set and reset by software to enable the pll2_r_ck output of the PLL2.

In order to save power, when the pll2_r_ck is not needed, DIVREN and DIVR must be set to '0'.

0: pll2_r_ck output is disabled (default after reset)

1: pll2_r_ck output is enabled

Bit 5 DIVQEN: PLL2 DIVQ divider output enable

Set and reset by software to enable the pll2_q_ck output of the PLL2.

In order to save power, when the pll2_q_ck is not needed, DIVQEN and DIVQ must be set to '0'.

0: pll2_q_ck output is disabled (default after reset)

1: pll2_q_ck output is enabled

Bit 4 DIVPEN: PLL2 DIVP divider output enable

Set and reset by software to enable the pll2_p_ck output of the PLL2.

In order to save power, when the pll2_p_ck is not needed, DIVPEN and DIVP must be set to '0'.

0: pll2_p_ck output is disabled (default after reset)

1: pll2_p_ck output is enabled

Bit 3 Reserved, must be kept at reset value.

10.8.34 RCC PLL2 configuration register 1 (RCC_PLL2CFGR1)

Address offset: 0x4D4

Reset value: 0x0001 0063

If RCC_SECCFGR.PLL12SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to configure the PLL2.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DIVM2[5:0]
rwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.DIVN[8:0]
rwrwrwrwrwrwrwrwrw

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

Bits 21:16 DIVM2[5:0]: Prescaler for PLL2

Set and cleared by software to configure the prescaler of the PLL2.

0x0: bypass

0x1: division by 2 (default after reset)

0x2: division by 3

...

0x3F: division by 64

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

Bits 8:0 DIVN[8:0]: Multiplication factor for PLL2 VCO

Written by software to control the multiplication factor of the VCO.

Warning: the software has to set correctly these bits to ensure that the VCO output frequency is between its valid frequency range, which is: 800 to 1600 MHz.

VCO output frequency = Fref2_ck x (DIVN+1), when value 0 has been loaded into FRACV, with:

- Valid division ratios for (DIVN+1): between 25 and 100

- The input frequency Fref2_ck between 8 and 16 MHz

Others: wrong configurations

0x18: Division ratio is 25

0x19: Division ratio is 26

...

0x31: Division ratio is 50

...

0x63: Division ratio is 100 (default after reset)

10.8.35 RCC PLL2 configuration register 2 (RCC_PLL2CFGR2)

Address offset: 0x4D8

Reset value: 0x0001 0101

If RCC_SECCFGR.PLL12SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to configure the PLL2.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.DIVR[6:0]
rwrwrwrwrwrwrw
1514131211109876543210
Res.DIVQ[6:0]Res.DIVP[6:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

Bits 22:16 DIVR[6:0]: PLL2 DIVR division factor

Written by software to control the frequency of the pll2_r_ck clock.

0x0: pll2_r_ck = fout2_ck

0x1: pll2_r_ck = fout2_ck / 2 (default after reset)

0x2: pll2_r_ck = fout2_ck / 3

...

0x7F: pll2_r_ck = fout2_ck / 128

Bit 15 Reserved, must be kept at reset value.

Bits 14:8 DIVQ[6:0]: PLL2 DIVQ division factor

Written by software to control the frequency of the pll2_q_ck clock.

0x0: pll2_q_ck = fout2_ck

0x1: pll2_q_ck = fout2_ck / 2 (default after reset)

0x2: pll2_q_ck = fout2_ck / 3

...

0x7F: pll2_q_ck = fout2_ck / 128

Bit 7 Reserved, must be kept at reset value.

Bits 6:0 DIVP[6:0]: PLL2 DIVP division factor

Written by software to control the frequency of the pll2_p_ck clock.

0x0: pll2_p_ck = fout2_ck

0x1: pll2_p_ck = fout2_ck / 2 (default after reset)

0x2: pll2_p_ck = fout2_ck / 3

...

0x7F: pll2_p_ck = fout2_ck / 128

10.8.36 RCC PLL2 fractional register (RCC_PLL2FRACR)

Address offset: 0x4DC

Reset value: 0x0000 0000

If RCC_SECCFGR.PLL12SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to fine-tune the frequency of the PLL2 VCO.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FRACLE
rw
1514131211109876543210
FRACV[12:0]Res.Res.Res.
rwrwrwrwrwrwrwrwrwrwrwrw

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

Bit 16 FRACLE: PLL2 fractional latch enable

Set and reset by software to latch the content of FRACV into the Sigma-Delta modulator.

In order to latch the FRACV value into the Sigma-Delta modulator, FRACLE must be set to '0', then set to '1': the transition 0 to '1' transfers the content of FRACV into the modulator.

Refer to Section : Reprogramming post-dividers and Section : PLL initialization procedure for additional information on the PLL programming.

Bits 15:3 FRACV[12:0]: Fractional part of the multiplication factor for PLL2 VCO

Written by software to control the fractional part of the multiplication factor of the VCO.

These bits can be written at any time, allowing dynamic fine-tuning of the PLL2 VCO.

Warning: the software has to set correctly these bits to ensure that the VCO output frequency is between its valid frequency range, which is: 800 to 1600 MHz

VCO output frequency = \(F_{ref2\_ck} \times ((DIVN+1) + (FRACV / 8192))\), with

- (DIVN+1) must be between 25 and 100

- FRACV can be between 0 and 8191

- The input frequency \(F_{ref2\_ck}\) must be between 4 and 16 MHz

In order to change the FRACV value on-the-fly even if the PLL is enabled, the application has to proceed as follow:

- set the bit FRACLE to '0',

- write the new fractional value into FRACV,

- set the bit FRACLE to '1'.

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

10.8.37 RCC PLL2 clock spreading generator register (RCC_PLL2CSGR)

Address offset: 0x4E0

Reset value: 0x0000 0000

If RCC_SECCFGR.PLL12SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to configure the PLL2. It is not recommended to change the content of this register when the PLL2 is enabled (PLLON = '1'). Refer to Section : Using the PLLs in spread spectrum mode for details.

31302928272625242322212019181716
Res.INC_STEP[14:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
SSCG_MODERPDFN_DISTPDFN_DISMOD_PER[12:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bit 31 Reserved, must be kept at reset value.

Bits 30:16 INC_STEP[14:0]: Modulation Depth Adjustment for PLL2

Written by software to adjust the modulation depth of the clock spreading generator.

Bit 15 SSCG_MODE: Spread spectrum clock generator mode

Set and reset by software to select the clock spreading mode.

0: Center-spread modulation selected (default after reset)

1: Down-spread modulation selected

Bit 14 RPDFN_DIS: Dithering RPDF noise control

Set and reset by software.

This bit is used to enable or disable the injection of a dithering noise into the SSCG modulator. This dithering noise is generated using a rectangular probability density function.

0: Dithering noise injection enabled (default after reset)

1: Dithering noise injection disabled

Bit 13 TPDFN_DIS: Dithering TPDF noise control

Set and reset by software.

This bit is used to enable or disable the injection of a dithering noise into the SSCG modulator. This dithering noise is generated using a triangular probability density function.

0: Dithering noise injection enabled (default after reset)

1: Dithering noise injection disabled

Bits 12:0 MOD_PER[12:0]: Modulation Period Adjustment for PLL2

Written by software to adjust the modulation period of the clock spreading generator.

10.8.38 RCC PLL3 control register (RCC_PLL3CR)

Address offset: 0x500

Reset value: 0x0000 0000

If RCC_SECCFGR.PLL3SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the PLL3.

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.DIVRENDIVQENDIVPENRes.SSCG_CTRLPLL3RDYPLLON
rwrwrwrwrrw

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

Bit 6 DIVREN: PLL3 DIVR divider output enable

Set and reset by software to enable the pll3_r_ck output of the PLL3.

Cleared by hardware when entering a Stop mode or Standby.

In order to save power, when the pll3_r_ck is not needed, DIVREN and DIVR must be set to '0'.

0: pll3_r_ck output is disabled (default after reset)

1: pll3_r_ck output is enabled

Bit 5 DIVQEN: PLL3 DIVQ divider output enable

Set and reset by software to enable the pll3_q_ck output of the PLL3.

Cleared by hardware when entering a Stop mode or Standby.

In order to save power, when the pll3_q_ck is not needed, DIVQEN and DIVQ must be set to '0'.

0: pll3_q_ck output is disabled (default after reset)

1: pll3_q_ck output is enabled

Bit 4 DIVPEN: PLL3 DIVP divider output enable

Set and reset by software to enable the pll3_p_ck output of the PLL3.

Cleared by hardware when entering a Stop mode or Standby.

In order to save power, when the pll3_p_ck is not needed, DIVPEN and DIVP must be set to '0'.

0: pll3_p_ck output is disabled (default after reset)

1: pll3_p_ck output is enabled

Bit 3 Reserved, must be kept at reset value.

10.8.39 RCC PLL3 configuration register 1 (RCC_PLL3CFGR1)

Address offset: 0x504

Reset value: 0x0001 0031

If RCC_SECCFGR.PLL3SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to configure the PLL3.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.IFRGE[1:0]Res.Res.DIVM3[5:0]
rwrwrwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.DIVN[8:0]
rwrwrwrwrwrwrwrwrw

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

Bits 25:24 IFRGE[1:0]: PLL3 input frequency range

Written by software to select the proper reference frequency range used for PLL3.

0x0: The PLL3 input (ref3_ck) clock range frequency is between 4 and 8 MHz (default after reset)

0x1: The PLL3 input (ref3_ck) clock range frequency is between 8 and 16 MHz.

Note that if ref3_ck is equal to 8 MHz, it is recommended to set IFRGE = 'x1'

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

Bits 21:16 DIVM3[5:0]: Prescaler for PLL3

Set and cleared by software to configure the prescaler of the PLL3.

0x0: bypass

0x1: division by 2 (default after reset)

0x2: division by 3

...

0x3F: division by 64

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

Bits 8:0 DIVN[8:0]: Multiplication factor for PLL3 VCO

Written by software to control the multiplication factor of the VCO.

Warning: the software has to set correctly these bits to ensure that the VCO output frequency is between its valid frequency range, which is between 400 and 800 MHz.

VCO output frequency = Fref3_ck x (DIVN+1), when value 0 has been loaded into FRACV,
with:

- Valid division ratios for (DIVN+1): between 25 and 200

- The input frequency Fref3_ck between 4 and 16 MHz

0x18: Division ratio is 25

0x19: Division ratio is 26

0x1A: Division ratio is 27

...

0x31: Division ratio is 50 (default after reset)

...

0xC7: Division ratio is 200

Others: wrong configurations

10.8.40 RCC PLL3 configuration register 2 (RCC_PLL3CFGR2)

Address offset: 0x508

Reset value: 0x0001 0101

If RCC_SECCFGR.PLL3SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to configure the PLL3.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.DIVR[6:0]
rwrwrwrwrwrwrw
1514131211109876543210
Res.DIVQ[6:0]Res.DIVP[6:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

Bits 22:16 DIVR[6:0]: PLL3 DIVR division factor

Written by software to control the frequency of the pll3_r_ck clock.

0x0: pll3_r_ck = vco3_ck

0x1: pll3_r_ck = vco3_ck / 2 (default after reset)

0x2: pll3_r_ck = vco3_ck / 3

...

0x7F: pll3_r_ck = vco3_ck / 128

Bit 15 Reserved, must be kept at reset value.

Bits 14:8 DIVQ[6:0]: PLL3 DIVQ division factor

Written by software to control the frequency of the pll3_q_ck clock.

0x0: pll3_q_ck = vco3_ck

0x1: pll3_q_ck = vco3_ck / 2 (default after reset)

0x2: pll3_q_ck = vco3_ck / 3

...

0x7F: pll3_q_ck = vco3_ck / 128

Bit 7 Reserved, must be kept at reset value.

Bits 6:0 DIVP[6:0]: PLL3 DIVP division factor

Written by software to control the frequency of the pll3_p_ck clock.

0x0: pll3_p_ck = vco3_ck

0x1: pll3_p_ck = vco3_ck / 2 (default after reset)

0x2: pll3_p_ck = vco3_ck / 3

...

0x7F: pll3_p_ck = vco3_ck / 128

10.8.41 RCC PLL3 Fractional register (RCC_PLL3FRACR)

Address offset: 0x50C

Reset value: 0x0000 0000

If RCC_SECCFGR.PLL3SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to fine-tune the frequency of the PLL3 VCO.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FRACLE
rw
1514131211109876543210
FRACV[12:0]Res.Res.Res.
rwrwrwrwrwrwrwrwrwrwrwrw

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

Bit 16 FRACLE: PLL3 fractional latch enable

Set and reset by software to latch the content of FRACV into the Sigma-Delta modulator. In order to latch the FRACV value into the Sigma-Delta modulator, FRACLE must be set to '0', then set to '1': the transition 0 to '1' transfers the content of FRACV into the modulator. Refer to Section : PLL initialization procedure and Section : Reprogramming post-dividers for additional information on the PLL programming.

Bits 15:3 FRACV[12:0]: Fractional part of the multiplication factor for PLL3 VCO

Written by software to control the fractional part of the multiplication factor of the VCO. These bits can be written at any time, allowing dynamic fine-tuning of the PLL3 VCO. Warning: the software has to set correctly these bits to ensure that the VCO output frequency is between its valid frequency range, which is between 400 and 800 MHz.

VCO output frequency = \(Fref3\_ck \times ((DIVN+1) + (FRACV / 8192))\), with

In order to change the FRACV value on-the-fly even if the PLL is enabled, the application has to proceed as follow:

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

10.8.42 RCC PLL3 clock spreading generator register (RCC_PLL3CSGR)

Address offset: 0x510

Reset value: 0x0000 0000

If RCC_SECCFGR.PLL3SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to configure the PLL3. It is not recommended to change the content of this register when the PLL3 is enabled (PLLON = '1'). Refer to Section : Using the PLLs in spread spectrum mode for details.

31302928272625242322212019181716
Res.INC_STEP[14:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
SSCG_MODERPDFN_DISTPDFN_DISMOD_PER[12:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bit 31 Reserved, must be kept at reset value.

Bits 30:16 INC_STEP[14:0]: Modulation Depth Adjustment for PLL3

Written by software to adjust the modulation depth of the clock spreading generator.

Bit 15 SSCG_MODE: Spread spectrum clock generator mode

Set and reset by software to select the clock spreading mode.

0: Center-spread modulation selected (default after reset)

1: Down-spread modulation selected

Bit 14 RPDFN_DIS: Dithering RPDF noise control

Set and reset by software.

This bit is used to enable or disable the injection of a dithering noise into the SSCG modulator. This dithering noise is generated using a rectangular probability density function.

0: Dithering noise injection enabled (default after reset)

1: Dithering noise injection disabled

Bit 13 TPDFN_DIS: Dithering TPDF noise control

Set and reset by software.

This bit is used to enable or disable the injection of a dithering noise into the SSCG modulator. This dithering noise is generated using a triangular probability density function.

0: Dithering noise injection enabled (default after reset)

1: Dithering noise injection disabled

Bits 12:0 MOD_PER[12:0]: Modulation Period Adjustment for PLL3

Written by software to adjust the modulation period of the clock spreading generator.

10.8.43 RCC PLL4 control register (RCC_PLL4CR)

Address offset: 0x520

Reset value: 0x0000 0000

If RCC_SECCFGR.PLL4SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the PLL4.

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.DIVRENDIVQENDIVPENRes.SSCG_CTRLPLL4RDYPLLON
rwrwrwrwrrw

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

Bit 6 DIVREN: PLL4 DIVR divider output enable

Set and reset by software to enable the pll4_r_ck output of the PLL4.

Cleared by hardware when entering a Stop mode or Standby.

In order to save power, when the pll4_r_ck is not needed, DIVREN must be set to '0'.

0: pll4_r_ck output is disabled (default after reset)

1: pll4_r_ck output is enabled

Bit 5 DIVQEN: PLL4 DIVQ divider output enable

Set and reset by software to enable the pll4_q_ck output of the PLL4.

Cleared by hardware when entering a Stop mode or Standby.

In order to save power, when the pll4_q_ck is not needed, DIVQEN must be set to '0'.

0: pll4_q_ck output is disabled (default after reset)

1: pll4_q_ck output is enabled

Bit 4 DIVPEN: PLL4 DIVP divider output enable

Set and reset by software to enable the pll4_p_ck output of the PLL4.

Cleared by hardware when entering a Stop mode or Standby.

In order to save power, when the pll4_p_ck is not needed, DIVPEN must be set to '0'.

0: pll4_p_ck output is disabled (default after reset)

1: pll4_p_ck output is enabled

Bit 3 Reserved, must be kept at reset value.

10.8.44 RCC PLL4 configuration register 1 (RCC_PLL4CFGR1)

Address offset: 0x524

Reset value: 0x0001 0031

If RCC_SECCFGR.PLL4SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to configure the PLL4.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.IFRGE[1:0]Res.Res.DIVM4[5:0]
rwrwrwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.DIVN[8:0]
rwrwrwrwrwrwrwrwrw

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

Bits 25:24 IFRGE[1:0]: PLL4 input frequency range

Written by software to select the proper reference frequency range used for PLL4.

x0: The PLL4 input (ref4_ck) clock range frequency is between 4 and 8 MHz (default after reset)

x1: The PLL4 input (ref4_ck) clock range frequency is between 8 and 16 MHz

Note that if ref3_ck is equal to 8 MHz, it is recommended to set IFRGE = 'x1'

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

Bits 21:16 DIVM4[5:0]: Prescaler for PLL4

Set and cleared by software to configure the prescaler of the PLL4.

0x0: bypass

0x1: division by 2 (default after reset)

0x2: division by 3

...

0x3F: division by 64

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

Bits 8:0 DIVN[8:0]: Multiplication factor for PLL4 VCO

Written by software to control the multiplication factor of the VCO.

Warning: the software has to set correctly these bits to ensure that the VCO output frequency is between its valid frequency range, which is between 400 and 800 MHz.

VCO output frequency = Fref4_ck x (DIVN+1), when value 0 has been loaded into FRACV, with:

- Valid division ratios for (DIVN+1): between 25 and 200

- The input frequency Fref4_ck between 4 and 16 MHz

0x18: Division ratio is 25

0x19: Division ratio is 26

0x1A: Division ratio is 27

...

0x31: Division ratio is 50 (default after reset)

...

0xC7: Division ratio is 200

Others: wrong configurations

10.8.45 RCC PLL4 configuration register 2 (RCC_PLL4CFGR2)

Address offset: 0x528

Reset value: 0x0000 0000

If RCC_SECCFGR.PLL4SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to configure the PLL4.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.DIVR[6:0]
rwrwrwrwrwrwrw
1514131211109876543210
Res.DIVQ[6:0]Res.DIVP[6:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

Bits 22:16 DIVR[6:0]: PLL4 DIVR division factor

Written by software to control the frequency of the pll4_r_ck clock.

0x0: pll4_r_ck = vco4_ck (default after reset)

0x1: pll4_r_ck = vco4_ck / 2

0x2: pll4_r_ck = vco4_ck / 3

...

0x7F: pll4_r_ck = vco4_ck / 128

Bit 15 Reserved, must be kept at reset value.

Bits 14:8 DIVQ[6:0]: PLL4 DIVQ division factor

Written by software to control the frequency of the pll4_q_ck clock.

0x0: pll4_q_ck = vco4_ck (default after reset)

0x1: pll4_q_ck = vco4_ck / 2

0x2: pll4_q_ck = vco4_ck / 3

...

0x7F: pll4_q_ck = vco4_ck / 128

Bit 7 Reserved, must be kept at reset value.

Bits 6:0 DIVP[6:0]: PLL4 DIVP division factor

Written by software to control the frequency of the pll4_p_ck clock.

0x0: pll4_p_ck = vco4_ck (default after reset)

0x1: pll4_p_ck = vco4_ck / 2

0x2: pll4_p_ck = vco4_ck / 3

...

0x7F: pll4_p_ck = vco4_ck / 128

10.8.46 RCC PLL4 fractional register (RCC_PLL4FRACR)

Address offset: 0x52C

Reset value: 0x0000 0000

If RCC_SECCFGR.PLL4SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to fine-tune the frequency of the PLL4 VCO.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FRACLE
rw
1514131211109876543210
FRACV[12:0]Res.Res.Res.
rwrwrwrwrwrwrwrwrwrwrwrw

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

Bit 16 FRACLE: PLL4 fractional latch enable

Set and reset by software to latch the content of FRACV into the Sigma-Delta modulator.

In order to latch the FRACV value into the Sigma-Delta modulator, FRACLE must be set to '0', then set to '1': the transition 0 to '1' transfers the content of FRACV into the modulator.

Refer to Section: Refer to Section : PLL initialization procedure and Section : Reprogramming post-dividers for additional information.

Bits 15:3 FRACV[12:0]: Fractional part of the multiplication factor for PLL4 VCO

Written by software to control the fractional part of the multiplication factor of the VCO.

These bits can be written at any time, allowing dynamic fine-tuning of the PLL4 VCO.

Warning: the software has to set correctly these bits to ensure that the VCO output frequency is between its valid frequency range, which is between 400 and 800 MHz.

VCO output frequency = \(Fref4\_ck \times ((DIVN+1) + (FRACV / 8192))\), with

- (DIVN+1) must be between 25 and 200

- FRACV can be between 0 and 8191

- The input frequency Fref4_ck must be between 1 and 16 MHz

In order to change the FRACV value on-the-fly even if the PLL is enabled, the application has to proceed as follow:

- set the bit FRACLE to '0',

- write the new fractional value into FRACV,

- set the bit FRACLE to '1'.

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

10.8.47 RCC PLL4 clock spreading generator register (RCC_PLL4CSGR)

Address offset: 0x530

Reset value: 0x0000 0000

If RCC_SECCFGR.PLL4SEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to configure the PLL4. It is not recommended to change the content of this register when the PLL4 is enabled (PLLON = '1'). Refer to Section : Using the PLLs in spread spectrum mode for details.

31302928272625242322212019181716
Res.INC_STEP[14:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
SSCG_MODERPDFN_DISTPDFN_DISMOD_PER[12:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

10.8.48 RCC MPU clock selection register (RCC_MPCKSELR)

Address offset: 0x540

Reset value: 0x8000 0000

If RCC_SECCFGR.MPUSEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to select the clock source for the MPU.

31302928272625242322212019181716
MPUSCRDYRes.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.MPUSRC[1:0]
rwrw

Bit 31 MPUSCRDY: MPU clock switch status

Set and reset by hardware to indicate if the MPU clock switch transition has been properly performed.

0: The MPU switch is not ready: no clock is generated on its output

1: The MPU switch is ready: the clock switch is selecting the clock given by MPUSRC field.
(default after reset)

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

Bits 1:0 MPUSRC[1:0]: MPU clock switch

Written by software to select the MPU sub-system clock source (mpuss_ck).

Note that MPUDIV is disabled if MPUSRC[1:0] is different from '11'.

Be sure that MPUDIV is different from '000' before setting MPUSRC to '11'.

0x0: HSI selected as MPU sub-system clock (hsi_ck) (default after reset)

0x1: HSE selected as MPU sub-system clock (hse_ck)

0x2: PLL1 selected as MPU sub-system clock (pll1_p_ck)

0x3: divided PLL1 pll1_p_ck clock is selected as MPU sub-system clock, c.f.
RCC_MPCKDIVR.MPUDIV[3:0]

10.8.49 RCC AXI sub-system clock selection register (RCC_ASSCKSELR)

Address offset: 0x544

Reset value: 0x8000 0000

If RCC_SECCFGR.AXISEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to select the clock source for the AXI sub-system.

31302928272625242322212019181716
AXISSRCDYRes.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.AXISSRC[2:0]
rwrwrw

Bit 31 AXISSRCDY: AXI sub-system clock switch status
Set and reset by hardware to indicate if the AXI clock switch transition has been properly performed.
0: The AXI sub-system switch is not ready or in positions higher than '011': no clock is generated on its output
1: The AXI sub-system switch is ready: the clock switch is selecting the clock given by AXISSRC field. (default after reset)

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

Bits 2:0 AXISSRC[2:0]: AXI sub-system clock switch
Written by software to select the AXI sub-system clock source (axiss_ck).
0x0: HSI selected as AXI sub-system clock (hsi_ck) (default after reset)
0x1: HSE selected as AXI sub-system clock (hse_ck)
0x2: PLL2 selected as AXI sub-system clock (pll2_p_ck)
others: axiss_ck is gated

ST logo
ST logo

10.8.50 RCC MLAHB sub-system clock selection register (RCC_MSSCKSELR)

Address offset: 0x548

Reset value: 0x8000 0000

If RCC_SECCFGR.MLAHBSEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to select the clock source for the MLAHB sub-system.

31302928272625242322212019181716
MLAHBSSCRDYRes.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.MLAHBSSRC[1:0]
rwrw

Bit 31 MLAHBSSCRDY: MLAHB sub-system clock switch status

Set and reset by hardware to indicate if the MLAHB clock switch transition has been properly performed.

0: The MLAHB sub-system switch is not ready or in positions higher than '011': no clock is generated on its output

1: The MLAHB sub-system switch is ready: the clock switch is selecting the clock given by MLAHBSSRC field. (default after reset)

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

Bits 1:0 MLAHBSSRC[1:0]: MLAHB sub-system clock switch

Written by software to select the MLAHB sub-system clock source (mlahbss_ck).

Reset by hardware in order to select hsi_ck when the system exits from one of the Stop modes.

0x0: HSI selected as MLAHB sub-system clock (hsi_ck) (default after reset)

0x1: HSE selected as MLAHB sub-system clock (hse_ck)

0x2: CSI selected as MLAHB sub-system clock (csi_ck)

0x3: PLL3 selected as MLAHB sub-system clock (pll3_p_ck)

10.8.51 RCC common peripheral kernel clock selection register (RCC_CPERCKSEL)

Address offset: 0x54C

Reset value: 0x0000 0000

If RCC_SECCFGR.CPERSEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to select an oscillator source for the per_ck clock. This clock is a common kernel clock which can be selected by several peripherals: securable (AHB2) ADC1/2, securable (AHB6) FMC and QUADSPI, securable (APB3) LPTIM2/3 and other unsecure DFSM, LPTIM1/4/5, SAI1/2 and SPI2S1/2. Refer to Section : Clock enabling delays.

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.CKPERSRC[1:0]
rwrw

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

Bits 1:0 CKPERSRC[1:0]: Oscillator selection for kernel clock

Set and cleared by software.

0x0: hsi_ker_ck clock selected (default after reset)

0x1: csi_ker_ck clock selected

0x2: hse_ker_ck clock selected

0x3: Clock disabled

10.8.52 RCC RTC clock division register (RCC_RTCDIVR)

Address offset: 0x560

Reset value: 0x0000 0000

If at least one function of the RTC is configured as secure via the RTC_SECCFGR register (i.e. if the input signal rtc_sec driven by RTC is asserted), a write access to this register must be secure. A read access may be secure or non-secure.

Note: RTC is by default in non-secure state after a backup domain 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.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 to generate a clock for RTC.

Caution: The software has to 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 that when the RTCSRC is different from 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

ST logo
ST logo

10.8.53 RCC MPU clock divider register (RCC_MPCKDIVR)

Address offset: 0x564

Reset value: 0x8000 0001

If RCC_SECCFGR.MPUSEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the MPU clock prescaler.

31302928272625242322212019181716
MPUDIVRDYRes.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.MPUDIV[3:0]
rwrwrwrw

Bit 31 MPUDIVRDY: MPU sub-system clock divider status
Set and reset by hardware to indicate if the new division factor is taken into account.
This bit significant only when MPUSRC[1:0] = '11'.
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:4 Reserved, must be kept at reset value.

Bits 3:0 MPUDIV[3:0]: MPU Core clock divider
Written by software to control the MPU clock division factor when the MPUSRC is set to position 3.
It is possible to change this division ratio on-the-fly. It impacts only the frequency of the MPU clock. The clocks are divided with the new prescaler factor, from 1 to 16 pll1_p_ck cycles after MPUDIV update. The application can check if the new division factor is taken into account by reading back the MPUDIVRDY flag. Note that this divider is disabled if MPUSRC[1:0] is different from '11'.
0x0: The MPUDIV is disabled; i.e. no clock generated
0x1: The mpuss_ck is equal to pll1_p_ck divided by 2 (default after reset)
0x2: The mpuss_ck is equal to pll1_p_ck divided by 3
0x<n>: The mpuss_ck is equal to pll1_p_ck divided by 0x<n>+1
0xF: The mpuss_ck is equal to pll1_p_ck divided by 16

10.8.54 RCC AXI clock divider register (RCC_AXIDIVR)

Address offset: 0x568

Reset value: 0x8000 0000

If RCC_SECCFGR.AXISEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the AXI matrix clock prescaler.

31302928272625242322212019181716
AXIDVRDYRes.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.AXIDIV[2:0]
rwrwrw

Bit 31 AXIDVRDY: AXI sub-system clock divider status

Set and reset 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 AXIDIV[2:0]: AXI, AHB5 and AHB6 clock divider

Written by software to control the AXI, AHB5 and AHB6 clock division factor.

It is possible to change this division ratio on-the-fly. It impacts the frequency of AXI, APB4, APB5 AHB5 and AHB6 clocks.

The clocks are divided with the new prescaler factor, from 1 to 4 axiss_ck cycles after AXIDIV update. The application can check if the new division factor is taken into account by reading back the AXIDVRDY flag.

0x0: axiss_ck (default after reset)

0x1: axiss_ck / 2

0x2: axiss_ck / 3

others: axiss_ck / 4

10.8.55 RCC MLAHB clock divider register (RCC_MLAHBDIVR)

Address offset: 0x56C

Reset value: 0x8000 0000

If RCC_SECCFGR.MLAHBSEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the MLAHB sub-system clock prescaler.

31302928272625242322212019181716
MLAHBDIVRDYRes.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.MLAHBDIV[3:0]
rwrwrwrw

Bit 31 MLAHBDIVRDY: MLAHB clock prescaler status

Set and reset 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:4 Reserved, must be kept at reset value.

Bits 3:0 MLAHBDIV[3:0]: MLAHB clock divider

Written by software to control the MLAHB clock division factor.

Changing this division ratio has an impact on the frequency of MLAHB clock, and all bus matrix clocks. The clocks are divided with the new prescaler factor, from 1 to 512 cycles of mlahbss_ck, after MLAHBDIV update. The application can check if the new division factor is taken into account by reading back the MLAHBDIVRDY flag.

0x0: mlahbss_ck not divided (default after reset)

0x1: mlahbss_ck divided by 2

0x2: mlahbss_ck divided by 4

0x3: mlahbss_ck divided by 8

0x4: mlahbss_ck divided by 16

0x5: mlahbss_ck divided by 32

0x6: mlahbss_ck divided by 64

0x7: mlahbss_ck divided by 128

0x8: mlahbss_ck divided by 256

others: mlahbss_ck divided by 512

10.8.56 RCC APB1 clock divider register (RCC_APB1DIVR)

Address offset: 0x570

Reset value: 0x8000 0000

This register is used to control the APB1 clock prescaler.

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

Written by software to control the APB1 clock division factor.

The APB1 peripheral clock is divided with the new prescaler factor, from 1 to 16 mlhclk cycles after APB1DIV update. The application can check if the new division factor is taken into account by reading back the APB1DIVRDY flag.

0x0: mlhclk (default after reset)

0x1: mlhclk / 2

0x2: mlhclk / 4

0x3: mlhclk / 8

0x4: mlhclk / 16

others: Not allowed

10.8.57 RCC APB2 clock divider register (RCC_APB2DIVR)

Address offset: 0x574

Reset value: 0x8000 0000

This register is used to control the APB2 clock prescaler.

31302928272625242322212019181716
APB2DIVRDYRes.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.APB2DIV[2:0]
rwrwrw

Bit 31 APB2DIVRDY: APB2 clock prescaler status

Set and reset 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

Written by software to control the APB2 clock division factor.

The APB2 clock is divided with the new prescaler factor, from 1 to 16 mlhclk cycles after APB2DIV

update. The application can check if the new division factor is taken into account by reading back the APB2DIVRDY flag.

0x0: mlhclk (default after reset)

0x1: mlhclk / 2

0x2: mlhclk / 4

0x3: mlhclk / 8

0x4: mlhclk / 16

others: Not allowed

10.8.58 RCC APB3 clock divider register (RCC_APB3DIVR)

Address offset: 0x578

Reset value: 0x8000 0000

If RCC_SECCFGR.APB3DIVSEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the APB3 clock prescaler.

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

Written by software to control the APB3 clock division factor.

The APB3 clock is divided by this new prescaler factor, from 1 to 16 hclk cycles after APB3DIV

update. The application can check if the new division factor is taken into account by reading back the APB3DIVRDY flag.

0x0: hclk (default after reset)

0x1: hclk / 2

0x2: hclk / 4

0x3: hclk / 8

others: hclk / 16

10.8.59 RCC APB4 clock divider register (RCC_APB4DIVR)

Address offset: 0x57C

Reset value: 0x8000 0000

If RCC_SECCFGR.APB4DIVSEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the APB4 clock divider.

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 reset 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
Written by software to control the APB4 clock division factor.
It is possible to change this division ratio on-the-fly. It impacts only the frequency of APB4 clock.
The clocks are divided with the new prescaler factor, from 1 to 16 aclk cycles after APB4DIV update. The application can check if the new division factor is taken into account by reading back the APB4DIVRDY flag.
0x0: aclk (default after reset)
0x1: aclk / 2
0x2: aclk / 4
0x3: aclk / 8
others: aclk / 16

10.8.60 RCC APB5 clock divider register (RCC_APB5DIVR)

Address offset: 0x580

Reset value: 0x8000 0000

If RCC_SECCFGR.APB5DIVSEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the APB5 clock divider.

31302928272625242322212019181716
APB5DIVRDYRes.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.APB5DIV[2:0]
rwrwrw

Bit 31 APB5DIVRDY: APB5 clock divider status

Set and reset by hardware to indicate if the new division factor is taken into account.

0: The new division factor is not yet taken into account.

1: The new division factor is taken into account. (default after reset)

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

Bits 2:0 APB5DIV[2:0]: APB5 clock divider

Written by software to control the APB5 clock division factor.

It is possible to change this division ratio on-the-fly. It impacts only the frequency of APB5 clock.

The clocks are divided with the new prescaler factor, from 1 to 16 aclk cycles after APB5DIV update. The application can check if the new division factor is taken into account by reading the APB5DIVRDY flag.

0x0: aclk (default after reset)

0x1: aclk / 2

0x2: aclk / 4

0x3: aclk / 8

others: aclk / 16

ST logo
ST logo

10.8.61 RCC APB6 clock divider register (RCC_APB6DIVR)

Address offset: 0x584

Reset value: 0x8000 0000

If RCC_SECCFGR.APB6DIVSEC, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the APB6 clock divider.

31302928272625242322212019181716
APB6DIVRDYRes.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.APB6DIV[2:0]
rwrwrw

Bit 31 APB6DIVRDY: APB6 clock divider status
Set and reset 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 APB6DIV[2:0]: APB6 clock divider
Written by software to control the APB6 clock division factor.
It is possible to change this division ratio on-the-fly. It impacts only the frequency of APB6 clock.
The clocks are divided with the new prescaler factor, from 1 to 16 mlhclk cycles after APB6DIV update. The application can check if the new division factor is taken into account by reading the APB6DIVRDY flag.
0x0: mlhclk (default after reset)
0x1: mlhclk / 2
0x2: mlhclk / 4
0x3: mlhclk / 8
others: mlhclk / 16

10.8.62 RCC APB1 timers group1 prescaler register (RCC_TIMG1PRER)

Address offset: 0x5A0

Reset value: 0x8000 0000

This register is used to control the prescaler value of timers located into APB1 domain. It concerns group1 timers: TIM2, TIM3, TIM4, TIM5, TIM6 and TIM7.

31302928272625242322212019181716
TIMG1PRRDYRes.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.TIMG1PRE
rw

Bit 31 TIMG1PRRDY: Timers clocks prescaler status

Set and reset 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: Timers clocks prescaler selection

This bit is set and reset by software to control the clock frequency of all the timers connected to APB1 domain.

Refer to Table 58: Ratio between clock timers and pclk.

0: The Timers kernel clock is equal to mlhclk if APB1DIV is corresponding to a division by 1 or 2, else it is equal to 2 x Fpclk1 (default after reset)

1: The Timers kernel clock is equal to mlhclk if APB1DIV is corresponding to division by 1, 2 or 4, else it is equal to 4 x Fpclk1

10.8.63 RCC APB2 timers group2 prescaler register (RCC_TIMG2PRER)

Address offset: 0x5A4

Reset value: 0x8000 0000

This register is used to control the prescaler value of timers located into APB2 domain. It concerns group2 timers: TIM1 and TIM8. Refer to Section : Sub-system clock generation for additional information.

31302928272625242322212019181716
TIMG2PRERDYRes.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.TIMG2PRE
rw

Bit 31 TIMG2PRERDY: Timers clocks prescaler status

Set and reset 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: Timers clocks prescaler selection

This bit is set and reset by software to control the clock frequency of all the timers connected to APB2 domain.

Refer to Table 58: Ratio between clock timers and pclk.

0: The Timers kernel clock is equal to mlhclk if APB2DIV is corresponding to a division by 1 or 2, else it is equal to 2 x Fpclk2 (default after reset)

1: The Timers kernel clock is equal to mlhclk if APB2DIV is corresponding to division by 1, 2 or 4, else it is equal to 4 x Fpclk2

10.8.64 RCC APB6 timers group3 prescaler register (RCC_TIMG3PRER)

Address offset: 0x5A8

Reset value: 0x8000 0000

If RCC_SECCFGR.TIMG3SEC=1, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the prescaler value of possibly secure timers located into APB6 domain. It concerns group3 timers: TIM12, TIM13, TIM14, TIM15, TIM16 and TIM17.

31302928272625242322212019181716
TIMG3PRERDYRes.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.TIMG3PRE
rw

Bit 31 TIMG3PRERDY: Timers clocks prescaler status

Set and reset 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 TIMG3PRE: Timers clocks prescaler selection

This bit is set and reset by software to control the clock frequency of all the timers connected to APB6 domain.

Refer to Table 58: Ratio between clock timers and pclk.

0: The Timers kernel clock is equal to mlhclk if APB6DIV is corresponding to a division by 1 or 2, else it is equal to 2 x Fpclk6 (default after reset)

1: The Timers kernel clock is equal to mlhclk if APB6DIV is corresponding to division by 1, 2 or 4, else it is equal to 4 x Fpclk6

10.8.65 RCC DDR interface control register (RCC_DDRITFCR)

Address offset: 0x5C0

Reset value: 0x000F D022

This register is write-protected depending on the secure state of the DDR interface, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to control the DDR interface, including the DDRC and DDRPHYC.

31302928272625242322212019181716
GSKP_DUR[3:0]DFILP_WIDTH[2:0]GSKPCTRLGSKPMODDDRCCKMOD[2:0]DPHYCTLRSTDPHYRSTDPHYAPBRSTDDRCORERST
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
DDRCAXIRSTDDRCAPBRSTKERDCG_DLY[2:0]DDRPHYCAPBLPENDDRPHYCAPBENAXIDCGENDDRCAPBLPENDDRCAPBENDDRPHYCLPENDDRPHYCENRes.Res.DDRC1LPENDDRC1EN
rwrwrwrwrwrwrwrwrwrwrwrwrwrw
ST logo
ST logo

Bits 31:28 GSKP_DUR[3:0]: Glitch skipper duration in automatic mode

If DDRC block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

This field allow the application to define the amount of time where the glitch skipper is providing the clock dphy_ker_ck instead of the clock ddrc_ker_ck to the DDRC block. This feature is only working when the glitch skipper is set in automatic mode (GSKPMOD = '1').

This delay is equal to \((GSKP\_DUR + 1) \times 32 \times T_{dphy\_ker\_ck}\)

0x0: Sets a delay of \(32 \times T_{dphy\_ker\_ck}\)

0x1: Sets a delay of \(2 \times 32 \times T_{dphy\_ker\_ck}\)

0x2: Sets a delay of \(3 \times 32 \times T_{dphy\_ker\_ck}\)

...

0xF: Sets a delay of \(16 \times 32 \times T_{dphy\_ker\_ck}\)

Bits 27:25 DFILP_WIDTH[2:0]: Minimum duration of low-power request command

If DDRC block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

The low power request duration must always be bigger or equal to 1 microsecond. If this duration is not respected, the DDR interface behavior is not guaranteed. The application has to program properly DFILP_WIDTH in order to ensure a delay bigger or equal to 1 microsecond. Note that the delay is also dependent of the frequency of the dphy_ker_ck clock.

0x0: Bypass, delay disabled

0x1: Forces a delay of \(160 \times T_{dphy\_ker\_ck}\) to be used when \(F_{dphy\_ker\_ck}\) is between 120 and 160 MHz

0x2: Forces a delay of \(224 \times T_{dphy\_ker\_ck}\) to be used when \(F_{dphy\_ker\_ck}\) is between 160 and 220 MHz

0x3: Forces a delay of \(320 \times T_{dphy\_ker\_ck}\) to be used when \(F_{dphy\_ker\_ck}\) is between 220 and 320 MHz

0x4: Forces a delay of \(416 \times T_{dphy\_ker\_ck}\) to be used when \(F_{dphy\_ker\_ck}\) is between 320 and 410 MHz

Others: Forces a delay of \(544 \times T_{dphy\_ker\_ck}\) to be used when \(F_{dphy\_ker\_ck}\) is between 410 and 533MHz

Bit 24 GSKPCTRL: Glitch skipper (GSKP) control

If DDRC block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set and clear by software.

This has effect only if GSKPMOD = '0'.

0: The GSKP block is providing the clock phy_out_ck (provided by the DDRPHYC)

1: The GSKP block is providing the clock dphy_ker_ck (provided by the RCC)

Bit 23 GSKPMOD: Glitch Skipper (GSKP) Mode

If DDRC block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set and clear by software.

0: The GSKP block is controlled by the GSKPCTRL bit

1: The GSKP block is controlled automatically by the DFI

Bits 22:20 DDRCKMOD[2:0]: RCC mode for DDR clock control

If DDRC block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: Normal mode: the gating of the dphy_ker_ck clock depends on the DDRPHYCEN, DDRPHYCLPEN and MPU mode. The gating of the ddrc_ker_ckg clock depends on the DDRCxEN, DDRCxLPEN and MPU mode. This mode must be selected during DDRC and DDRPHYC initialization phase, and if the application is using the software self-refresh (SSR).

0x1: Automatic Self-Refresh mode (ASR1): the clock ddrc_ker_ckg is gated automatically according to cactive_ddrc signal. The gating of the dphy_ker_ck clock depends on the DDRPHYCEN, DDRPHYCLPEN and MPU mode.

This mode can be used when the application wants to maintain a clock to the DLLs in order to avoid the re-lock sequences. In this mode it is recommended to have DDRCxEN = DDRCxLPEN = DDRPHYCEN = DDRPHYCLPEN = '1'.

0x5: Full Automatic Self-Refresh mode (ASR2): the clocks ddrc_ker_ckg and dphy_ker_ck are gated automatically according to cactive_ddrc signal.

This mode can be used when the DLLs are in bypass. In this mode it is recommended to have DDRCxEN = DDRCxLPEN = DDRPHYCEN = DDRPHYCLPEN = '1'.

0x2: Hardware Self-Refresh mode (HSR1): the gating of the ddrc_ker_ckg clock is controlled by the AXI-Low-Power interface connected to the DDRC. The gating of the dphy_ker_ck clock depends on the DDRPHYCEN, DDRPHYCLPEN and MPU mode.

This mode can be used when the application wants to maintain a clock to the DLLs. In this mode it is recommended to have DDRCxEN = DDRCxLPEN = DDRPHYCEN = DDRPHYCLPEN = '1'.

0x6: Full Hardware Self-Refresh mode (HSR2): the gating of ddrc_ker_ckg and dphy_ker_ck clocks are controlled by the AXI-Low-Power interface connected to the DDRC.

This mode can be used when the DLLs are in bypass. In this mode it is recommended to have DDRCxEN = DDRCxLPEN = DDRPHYCEN = DDRPHYCLPEN = '1'.

other: reserved

Bit 19 DPHYCTLRST: DDRPHYC Control reset

If DDRPHYC block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set and clear by software.

0: does not reset the DDRPHYC Control

1: reset the DDRPHYC Control

Bit 18 DPHYRST: DDRPHYC reset

If DDRPHYC block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set and clear by software.

0: does not reset the DDRPHYC

1: reset the DDRPHYC

Bit 17 DPHYAPBRST: DDRPHYC APB interface reset

If DDRPHYC block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set and clear by software.

0: does not reset the DDRPHYC APB interface

1: reset the DDRPHYC APB interface

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

Bit 1 DDRC1LPEN: DDRC port 1 peripheral clocks enable during CSleep mode
If DDRC block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.
Set and clear by software.
This bit is controlling the gating of ddrc_ker_ckg, aclk1_ddrc and pclk4_ddrc in CSleep.
0: means that the peripheral clocks are disabled in CSleep
1: means that the peripheral clocks are enabled in CSleep

Bit 0 DDRC1EN: DDRC port 1 peripheral clocks enable
If DDRC block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.
Set and clear by software.
This bit is controlling the gating of ddrc_ker_ckg, aclk1_ddrc and pclk4_ddrc clocks.
0: Means that the DDRC peripheral clocks are disabled
1: Means that the DDRC peripheral clocks are enabled

10.8.66 RCC I2C1 and I2C2 kernel clock selection register (RCC_I2C12CKSELR)

Address offset: 0x600

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the APB1 I2C1 and I2C2. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.I2C12SRC[2:0]
rwrwrw

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

Bits 2:0 I2C12SRC[2:0]: I2C1 and I2C2 kernel clock source selection
Written by software.
0x0: pclk1 clock selected as kernel peripheral clock (default after reset)
0x1: pll4_r_ck clock selected as kernel peripheral clock
0x2: hsi_ker_ck clock selected as kernel peripheral clock
0x3: csi_ker_ck clock selected as kernel peripheral clock
others: reserved, the kernel clock is disabled

ST logo
ST logo

10.8.67 RCC I2C3, I2C4 and I2C5 kernel clock selection register (RCC_I2C345CKSELR)

Address offset: 0x604

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to control the selection of the kernel clock for the (APB6) I2C3, I2C4 and I2C5. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.I2C5SRC[2:0]I2C4SRC[2:0]I2C3SRC[2:0]
rwrwrwrwrwrwrwrwrw

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

ST logo
ST logo

Bits 8:6 I2C5SRC[2:0]: I2C5 kernel clock source selection

If I2C5 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: pclk6 clock selected as kernel peripheral clock (default after reset)

0x1: pll4_r_ck clock selected as kernel peripheral clock

0x2: hsi_ker_ck clock selected as kernel peripheral clock

0x3: csi_ker_ck clock selected as kernel peripheral clock

others: reserved, the kernel clock is disabled

Bits 5:3 I2C4SRC[2:0]: I2C4 kernel clock source selection

If I2C4 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: pclk6 clock selected as kernel peripheral clock (default after reset)

0x1: pll4_r_ck clock selected as kernel peripheral clock

0x2: hsi_ker_ck clock selected as kernel peripheral clock

0x3: csi_ker_ck clock selected as kernel peripheral clock

others: reserved, the kernel clock is disabled

Bits 2:0 I2C3SRC[2:0]: I2C3 kernel clock source selection

If I2C3 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: pclk6 clock selected as kernel peripheral clock (default after reset)

0x1: pll4_r_ck clock selected as kernel peripheral clock

0x2: hsi_ker_ck clock selected as kernel peripheral clock

0x3: csi_ker_ck clock selected as kernel peripheral clock

others: reserved, the kernel clock is disabled

10.8.68 RCC SPI/I2S1 kernel clock selection register (RCC_SPI2S1CKSELR)

Address offset: 0x608

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the APB2 SPI/I2S1. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.SPI1SRC[2:0]
rwrwrw

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

Bits 2:0 SPI1SRC[2:0]: SPI/I2S1 kernel clock source selection

Written by software.

0x0: pll4_p_ck clock selected as kernel peripheral clock (default after reset)

0x1: pll3_q_ck clock selected as kernel peripheral clock

0x2: I2S_CKIN clock selected as kernel peripheral clock

0x3: per_ck clock selected as kernel peripheral clock

0x4: pll3_r_ck clock selected as kernel peripheral clock

others: reserved, the kernel clock is disabled

10.8.69 RCC SPI/I2S2 and SPI/I2S3 kernel clock selection register (RCC_SPI2S23CKSELR)

Address offset: 0x60C

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the APB1 SPI/I2S2 and SPI/I2S3. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.SPI23SRC[2:0]
rwrwrw

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

Bits 2:0 SPI23SRC[2:0]: SPI/I2S2 and SPI/I2S3 kernel clock source selection

Written by software.

0x0: pll4_p_ck clock selected as kernel peripheral clock (default after reset)

0x1: pll3_q_ck clock selected as kernel peripheral clock

0x2: I2S_CKIN clock selected as kernel peripheral clock

0x3: per_ck clock selected as kernel peripheral clock

0x4: pll3_r_ck clock selected as kernel peripheral clock

others: reserved, the kernel clock is disabled

10.8.70 RCC SPI/I2S4 and SPI5 kernel clock selection register (RCC_SPI45CKSELR)

Address offset: 0x610

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to control the selection of the kernel clock for the (APB6) SPI/I2S4 and SPI5. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.SPI5SRC[2:0]SPI4SRC[2:0]
rwrwrwrwrwrw

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

Bits 5:3 SPI5SRC[2:0]: SPI5 kernel clock source selection

If SPI5 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: pclk6 clock selected as kernel peripheral clock (default after reset)

0x1: pll4_q_ck clock selected as kernel peripheral clock

0x2: hsi_ker_ck clock selected as kernel peripheral clock

0x3: csi_ker_ck clock selected as kernel peripheral clock

0x4: hse_ker_ck clock selected as kernel peripheral clock

others: reserved, the kernel clock is disabled

Bits 2:0 SPI4SRC[2:0]: SPI/I2S4 kernel clock source selection

If SPI/I2S4 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: pclk6 clock selected as kernel peripheral clock (default after reset)

0x1: pll4_q_ck clock selected as kernel peripheral clock

0x2: hsi_ker_ck clock selected as kernel peripheral clock

0x3: csi_ker_ck clock selected as kernel peripheral clock

0x4: hse_ker_ck clock selected as kernel peripheral clock

0x5: I2S_CKIN clock selected as kernel peripheral clock

others: reserved, the kernel clock is disabled

10.8.71 RCC USART1 and USART2 kernel clock selection register (RCC_USART12CKSELR)

Address offset: 0x614

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to control the selection of the kernel clock for the (APB6) USART1 and USART2. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.UART2SRC[2:0]UART1SRC[2:0]
rwrwrwrwrwrw

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

Bits 5:3 UART2SRC[2:0]: USART2 kernel clock source selection

If USART2 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: pclk6 clock selected as kernel peripheral clock (default after reset)

0x1: pll3_q_ck clock selected as kernel peripheral clock

0x2: hsi_ker_ck clock selected as kernel peripheral clock

0x3: csi_ker_ck clock selected as kernel peripheral clock

0x4: pll4_q_ck clock selected as kernel peripheral clock

0x5: hse_ker_ck clock selected as kernel peripheral clock

others: reserved, the kernel clock is disabled

Bits 2:0 UART1SRC[2:0]: USART1 kernel clock source selection

If USART1 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: pclk6 clock selected as kernel peripheral clock (default after reset)

0x1: pll3_q_ck clock selected as kernel peripheral clock

0x2: hsi_ker_ck clock selected as kernel peripheral clock

0x3: csi_ker_ck clock selected as kernel peripheral clock

0x4: pll4_q_ck clock selected as kernel peripheral clock

0x5: hse_ker_ck clock selected as kernel peripheral clock

others: reserved, the kernel clock is disabled

10.8.72 RCC USART3 and UART5 kernel clock selection register (RCC_UART35CKSELR)

Address offset: 0x618

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the APB1 USART3 and UART5. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.UART35SRC[2:0]
rwrwrw

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

Bits 2:0 UART35SRC[2:0]: USART3 and UART5 kernel clock source selection

ST logo
ST logo

10.8.73 RCC UART4 kernel clock selection register (RCC_UART4CKSELR)

Address offset: 0x61C

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the APB1 UART4. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.UART4SRC[2:0]
rwrwrw

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

Bits 2:0 UART4SRC[2:0]: UART4 kernel clock source selection

Written by software.

0x0: pclk1 clock selected as kernel peripheral clock (default after reset)

0x1: pll4_q_ck clock selected as kernel peripheral clock

0x2: hsi_ker_ck clock selected as kernel peripheral clock

0x3: csi_ker_ck clock selected as kernel peripheral clock

0x4: hse_ker_ck clock selected as kernel peripheral clock

others: reserved, the kernel clock is disabled

10.8.74 RCC USART6 kernel clock selection register
(RCC_UART6CKSELR)

Address offset: 0x620

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the APB2 USART6. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.UART6SRC[2:0]
rwrwrw

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

Bits 2:0 UART6SRC[2:0]: USART6 kernel clock source selection

ST logo
ST logo

10.8.75 RCC UART7 and UART8 kernel clock selection register (RCC_UART78CKSELR)

Address offset: 0x624

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the APB1 UART7 and UART8. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.UART78SRC[2:0]
rwrwrw

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

Bits 2:0 UART78SRC[2:0]: UART7 and UART8 kernel clock source selection

Written by software.

0x0: pclk1 clock selected as kernel peripheral clock (default after reset)

0x1: pll4_q_ck clock selected as kernel peripheral clock

0x2: hsi_ker_ck clock selected as kernel peripheral clock

0x3: csi_ker_ck clock selected as kernel peripheral clock

0x4: hse_ker_ck clock selected as kernel peripheral clock

others: reserved, the kernel clock is disabled

10.8.76 RCC LPTIM1 kernel clock selection register (RCC_LPTIM1CKSELR)

Address offset: 0x628

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the APB1 LPTIM1 block. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.LPTIM1SRC[2:0]
rwrwrw

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

Bits 2:0 LPTIM1SRC[2:0]: LPTIM1 kernel clock source selection

Written by software.

0x0: pclk1 clock selected as kernel peripheral clock (default after reset)

0x1: pll4_p_ck clock selected as kernel peripheral clock

0x2: pll3_q_ck clock selected as kernel peripheral clock

0x3: lse_ck clock selected as kernel peripheral clock

0x4: lsi_ck clock selected as kernel peripheral clock

0x5: per_ck clock selected as kernel peripheral clock

others: the kernel clock is disabled

10.8.77 RCC LPTIM2 and LPTIM3 kernel clock selection register (RCC_LPTIM23CKSELR)

Address offset: 0x62C

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to control the selection of the kernel clock for the APB3 LPTIM2 and LPTIM3 blocks. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.LPTIM3SRC[2:0]LPTIM2SRC[2:0]
rwrwrwrwrwrw

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

Bits 5:3 LPTIM3SRC[2:0]: LPTIM3 kernel clock source selection

If LPTIM3 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: pclk3 clock selected as kernel peripheral clock (default after reset)

0x1: pll4_q_ck clock selected as kernel peripheral clock

0x2: per_ck clock selected as kernel peripheral clock

0x3: lse_ck clock selected as kernel peripheral clock

0x4: lsi_ck clock selected as kernel peripheral clock

others: the kernel clock is disabled

Bits 2:0 LPTIM2SRC[2:0]: LPTIM2 kernel clock source selection

If LPTIM2 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: pclk3 clock selected as kernel peripheral clock (default after reset)

0x1: pll4_q_ck clock selected as kernel peripheral clock

0x2: per_ck clock selected as kernel peripheral clock

0x3: lse_ck clock selected as kernel peripheral clock

0x4: lsi_ck clock selected as kernel peripheral clock

others: the kernel clock is disabled

10.8.78 RCC LPTIM4 and LPTIM5 kernel clock selection register (RCC_LPTIM45CKSELR)

Address offset: 0x630

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the LPTIM4 and LPTIM5 blocks. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.LPTIM45SRC[2:0]
rwrwrw

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

Bits 2:0 LPTIM45SRC[2:0]: LPTIM4 and LPTIM5 kernel clock source selection

10.8.79 RCC SAI1 kernel clock selection register (RCC_SAI1CKSELR)

Address offset: 0x634

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the SAI1 and DFSDM audio clock. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.SAI1SRC[2:0]
rwrwrw

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

Bits 2:0 SAI1SRC[2:0]: SAI1 and DFSDM kernel clock source selection

Written by software.

0x0: pll4_q_ck clock selected as kernel peripheral clock (default after reset)

0x1: pll3_q_ck clock selected as kernel peripheral clock

0x2: I2S_CKIN clock selected as kernel peripheral clock

0x3: per_ck clock selected as kernel peripheral clock

0x4: pll3_r_ck clock selected as kernel peripheral clock

others: reserved, the kernel clock is disabled

10.8.80 RCC SAI2 kernel clock selection register (RCC_SAI2CKSELR)

Address offset: 0x638

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the SAI2. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.SAI2SRC[2:0]
rwrwrw

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

Bits 2:0 SAI2SRC[2:0]: SAI2 kernel clock source selection

ST logo
ST logo

10.8.81 RCC FDCAN kernel clock selection register (RCC_FDCANCKSELR)

Address offset: 0x63C

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the FDCAN block. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.FDCANSRC[1:0]
rwrw

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

Bits 1:0 FDCANSRC[1:0]: FDCAN kernel clock source selection

Written by software.

0x0: hse_ker_ck clock selected as kernel peripheral clock (default after reset)

0x1: pll3_q_ck clock selected as kernel peripheral clock

0x2: pll4_q_ck clock selected as kernel peripheral clock

0x3: pll4_r_ck clock selected as kernel peripheral clock

10.8.82 RCC SPDIFRX kernel clock selection register (RCC_SPDIFCKSELR)

Address offset: 0x640

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the SPDIFRX. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.SPDIFSRC[1:0]
rwrw

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

Bits 1:0 SPDIFSRC[1:0]: SPDIFRX kernel clock source selection

ST logo
ST logo

10.8.83 RCC ADC1 and ADC2 kernel clock selection register (RCC_ADC12CKSELR)

Address offset: 0x644

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to control the selection of the kernel clock for the (AHB2) ADC1 and ADC2 blocks. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.ADC2SRC[1:0]ADC1SRC[1:0]
rwrwrwrw

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

Bits 3:2 ADC2SRC[1:0]: ADC2 kernel clock source selection

If ADC2 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: pll4_r_ck clock selected as kernel peripheral clock (default after reset)

0x1: per_ck clock selected as kernel peripheral clock

0x2: pll3_q_ck clock selected as kernel peripheral clock

others: the kernel clock is disabled

Bits 1:0 ADC1SRC[1:0]: ADC1 kernel clock source selection

If ADC1 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: pll4_r_ck clock selected as kernel peripheral clock (default after reset)

0x1: per_ck clock selected as kernel peripheral clock

0x2: pll3_q_ck clock selected as kernel peripheral clock

others: the kernel clock is disabled

10.8.84 RCC SDMMC1 and SDMMC2 kernel clock selection register (RCC_SDMMC12CKSELR)

Address offset: 0x648

Reset value: 0x0000 0003

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to control the selection of the kernel clock for the (AHB6) SDMMC1 and SDMMC2. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.SDMMC2SRC[2:0]SDMMC1SRC[2:0]
rwrwrwrwrwrw

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

Bits 5:3 SDMMC2SRC[2:0]: SDMMC2 kernel clock source selection

If SDMMC2 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: hclk6 clock selected as kernel peripheral clock

0x1: pll3_r_ck clock selected as kernel peripheral clock

0x2: pll4_p_ck clock selected as kernel peripheral clock

0x3: hsi_ker_ck clock selected as kernel peripheral clock (default after reset)

others: reserved, the kernel clock is disabled

Bits 2:0 SDMMC1SRC[2:0]: SDMMC1 kernel clock source selection

If SDMMC1 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: hclk6 clock selected as kernel peripheral clock

0x1: pll3_r_ck clock selected as kernel peripheral clock

0x2: pll4_p_ck clock selected as kernel peripheral clock

0x3: hsi_ker_ck clock selected as kernel peripheral clock (default after reset)

others: reserved, the kernel clock is disabled

10.8.85 RCC ETH1 and ETH2 kernel clock selection register (RCC_ETH12CKSELR)

Address offset: 0x64C

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to control the selection of the kernel clock for the ETH1 and ETH2 blocks. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
ETH2PTPDIV[3:0]Res.Res.ETH2SRC[1:0]ETH1PTPDIV[3:0]Res.Res.ETH1SRC[1:0]
rwrwrwrwrwrwrwrwrwrwrwrw

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

Bits 15:12 ETH2PTPDIV[3:0]: ETH2 clock divider for Precision Time Protocol (PTP)

If ETH2 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software to configure the divider value.

0x0: bypass (default after reset)

0x1: division by 2

0x2: division by 3

...

0xF: division by 16

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

Bits 9:8 ETH2SRC[1:0]: ETH2 kernel clock source selection

If ETH2 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: pll4_p_ck clock selected as kernel peripheral clock (default after reset)

0x1: pll3_q_ck clock selected as kernel peripheral clock

others: the kernel clock is disabled

Bits 7:4 ETH1PTPDIV[3:0]: ETH1 clock divider for Precision Time Protocol (PTP)

If ETH1 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software to configure the divider value.

0x0: bypass (default after reset)

0x1: division by 2

0x2: division by 3

...

0xF: division by 16

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

Bits 1:0 ETH1SRC[1:0]: ETH1 kernel clock source selection

If ETH1 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: pll4_p_ck clock selected as kernel peripheral clock (default after reset)

0x1: pll3_q_ck clock selected as kernel peripheral clock

others: the kernel clock is disabled

10.8.86 RCC USB kernel clock selection register (RCC_USBCKSELR)

Address offset: 0x650

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to control the selection of the kernel clock for the USBPHY PLL of the USB Host (USBH) and the USB On-The-Go (USBO). It also controls the pre-divider for the reference clock for the USBPHY. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.USBOSRCRes.Res.USBPHYSRC[1:0]
rwrwrw

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

Bit 4 USBOSRC: USB OTG kernel clock source selection

If USBO block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0: pll4_r_ck clock selected as kernel peripheral clock (default after reset)

1: clock provided by the USB PHY (rcc_ck_usbo_48m) selected as kernel peripheral clock

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

Bits 1:0 USBPHYSRC[1:0]: USB PHY kernel clock source selection

If USBPHY block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Written by software.

0x0: hse_ker_ck clock selected as kernel peripheral clock (default after reset)

0x1: pll4_r_ck clock selected as kernel peripheral clock

0x2: hse_ker_ck/2 clock selected as kernel peripheral clock

others: clock disabled

10.8.87 RCC QSPI kernel clock selection register (RCC_QSPICKSELR)

Address offset: 0x654

Reset value: 0x0000 0000

If (AHB6) QUADSPI is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the selection of the kernel clock for the QUADSPI. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.QSPISRC[1:0]
rwrw

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

Bits 1:0 QSPISRC[1:0]: QUADSPI kernel clock source selection

Written by software.

0x0: aclk clock selected as kernel peripheral clock (default after reset)

0x1: pll3_r_ck clock selected as kernel peripheral clock

0x2: pll4_p_ck clock selected as kernel peripheral clock

0x3: per_ck clock selected as kernel peripheral clock

10.8.88 RCC FMC kernel clock selection register (RCC_FMCCKSELR)

Address offset: 0x658

Reset value: 0x0000 0000

If (AHB6) FMC is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the selection of the kernel clock for the FMC block. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.FMCSRC[1:0]
rwrw

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

Bits 1:0 FMCSRC[1:0]: FMC kernel clock source selection

Written by software.

0x0: aclk clock selected as kernel peripheral clock (default after reset)

0x1: pll3_r_ck clock selected as kernel peripheral clock

0x2: pll4_p_ck clock selected as kernel peripheral clock

0x3: per_ck clock selected as kernel peripheral clock

10.8.89 RCC RNG1 kernel clock selection register (RCC_RNG1CKSELR)

Address offset: 0x65C

Reset value: 0x0000 0000

If (AHB5) RNG1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the selection of the kernel clock for the RNG1. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.RNG1SRC[1:0]
rwrw

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

Bits 1:0 RNG1SRC[1:0]: RNG1 kernel clock source selection

Written by software.

0x0: csi_ker_ck clock selected as kernel peripheral clock (default after reset)

0x1: pll4_r_ck clock selected as kernel peripheral clock

0x2: Reserved

0x3: lsi_ck clock selected as kernel peripheral clock

10.8.90 RCC STGEN clock selection register (RCC_STGENCKSELR)

Address offset: 0x660

Reset value: 0x0000 0000

If (APB5) STGENC is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register must be secure. A read access may be secure or non-secure.

Note: STGEN is a dual APB interface IP, with STGENC APB5 controller part which may be secure or non-secure depending on the corresponding DECPROT[1]. Its other STGENRO APB4 read-only interface is non-secure.

This register is used to select the peripheral clock for the STGEN block. Note that this clock is used to provide a time reference for the application. Refer to Section : Clock enabling delays.

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.STGENSRC[1:0]
rwrw

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

Bits 1:0 STGENSRC[1:0]: Oscillator selection for kernel clock

Set and cleared by software.

0x0: hsi_ker_ck clock selected (default after reset)

0x1: hse_ker_ck clock selected

others: Clock disabled

10.8.91 RCC DCMIPP kernel clock selection register (RCC_DCMIPPCKSELR)

Address offset: 0x664

Reset value: 0x0000 0000

If (APB4) DCMIPP is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the selection of the kernel clock for the DCMIPP block. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.DCMIPPSRC[1:0]
rwrw

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

Bits 1:0 DCMIPPSRC[1:0]: DCMIPP kernel clock source selection

Written by software.

0x0: aclk clock selected as kernel peripheral clock (default after reset)

0x1: pll2_q_ck clock selected as kernel peripheral clock

0x2: pll4_p_ck clock selected as kernel peripheral clock

0x3: per_ck clock selected as kernel peripheral clock

10.8.92 RCC SAES kernel clock selection register (RCC_SAESCKSELR)

Address offset: 0x668

Reset value: 0x0000 0000

If (AHB5) SAES is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register must be secure. A read access may be secure or non-secure.

This register is used to control the selection of the kernel clock for the SAES block. Note that changing the clock source on-the-fly is allowed, and does not generate any timing violation, however the user has to ensure that both the previous and the new clock sources are present during the switching, and for the whole transition time. Refer to Section : Clock enabling delays.

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.SAESSRC[1:0]
rwrw

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

Bits 1:0 SAESSRC[1:0]: SAES kernel clock source selection

Written by software.

0x0: axiss_ck clock selected as kernel peripheral clock (default after reset)

0x1: per_ck clock selected as kernel peripheral clock

0x2: pll_4_r_ck clock selected as kernel peripheral clock

0x3: lsi_ck clock selected as kernel peripheral clock

10.8.93 RCC APB1 peripheral reset set register (RCC_APB1RSTSETR)

Address offset: 0x6A0

Reset value: 0x0000 0000

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' activates the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.Res.Res.Res.Res.SPDIFRSTRes.Res.Res.I2C2RSTI2C1RSTRes.UART8RSTUART7RSTUART5RSTUART4RST
rsrsrsrsrsrsrs
1514131211109876543210
USART3RSTRes.Res.SPI3RSTSPI2RSTRes.LPTIM1RSTRes.Res.Res.TIM7RSTTIM6RSTTIM5RSTTIM4RSTTIM3RSTTIM2RST
rsrsrsrsrsrsrsrsrsrs

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

Bit 26 SPDIFRST: SPDIFRX block reset

Set by software.

0: Writing '0' has no effect, 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

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

Bit 22 I2C2RST: I2C2 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 21 I2C1RST: I2C1 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 20 Reserved, must be kept at reset value.

Bit 19 UART8RST: UART8 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 18 UART7RST: UART7 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 17 UART5RST: UART5 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 16 UART4RST: UART4 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 15 USART3RST: USART3 block reset

Set by software.

0: Writing '0' has no effect, 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

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

Bit 12 SPI3RST: SPI3 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 11 SPI2RST: SPI/I2S2 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 10 Reserved, must be kept at reset value.

Bit 9 LPTIM1RST: LPTIM1 block reset

Set by software.

0: Writing '0' has no effect, 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

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

Bit 5 TIM7RST: TIM7 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 4 TIM6RST: TIM6 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 3 TIM5RST: TIM5 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 2 TIM4RST: TIM4 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 1 TIM3RST: TIM3 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 0 TIM2RST: TIM2 block reset

Set by software.

0: Writing '0' has no effect, 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

10.8.94 RCC APB1 peripheral reset clear register (RCC_APB1RSTCLRR)

Address offset: 0x6A4

Reset value: 0x0000 0000

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' releases the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.Res.Res.Res.Res.SPDIFRSTRes.Res.Res.I2C2RSTI2C1RSTRes.UART8RSTUART7RSTUART5RSTUART4RST
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
USART3RSTRes.Res.SPI3RSTSPI2RSTRes.LPTIM1RSTRes.Res.Res.TIM7RSTTIM6RSTTIM5RSTTIM4RSTTIM3RSTTIM2RST
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 26 SPDIFRST: SPDIFRX block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' release the block reset, reading '1' means that the block reset is asserted

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

Bit 22 I2C2RST: I2C2 block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' release the block reset, reading '1' means that the block reset is asserted

Bit 21 I2C1RST: I2C1 block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' release the block reset, reading '1' means that the block reset is asserted

Bit 20 Reserved, must be kept at reset value.

Bit 19 UART8RST: UART8 block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' release the block reset, reading '1' means that the block reset is asserted

Bit 18 UART7RST: UART7 block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' release the block reset, reading '1' means that the block reset is asserted

Bit 2 TIM4RST: TIM4 block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' release the block reset, reading '1' means that the block reset is asserted

Bit 1 TIM3RST: TIM3 block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' release the block reset, reading '1' means that the block reset is asserted

Bit 0 TIM2RST: TIM2 block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' release the block reset, reading '1' means that the block reset is asserted

10.8.95 RCC APB2 peripheral reset set register (RCC_APB2RSTSET)

Address offset: 0x6A8

Reset value: 0x0000 0000

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' activates the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.FDCANRSTRes.Res.Res.DFSDMRSTRes.Res.SAI2RSTSAI1RST
rsrsrsrs
1514131211109876543210
Res.Res.USART6RSTRes.Res.Res.Res.SPI1RSTRes.Res.Res.Res.Res.Res.TIM8RSTTIM1RST
rsrsrsrs

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

Bit 24 FDCANRST: FDCAN block reset

Set by software.

0: Writing '0' has no effect, 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

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

Bit 20 DFSDMRST: DFSDM block reset

Set by software.

0: Writing '0' has no effect, 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

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

Bit 17 SAI2RST: SAI2 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 16 SAI1RST: SAI1 block reset

Set by software.

0: Writing '0' has no effect, 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

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

Bit 13 USART6RST: USART6 block reset

Set by software.

0: Writing '0' has no effect, 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

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

Bit 8 SPI1RST: SPI/I2S1 block reset

Set by software.

0: Writing '0' has no effect, 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

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

Bit 1 TIM8RST: TIM8 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 0 TIM1RST: TIM1 block reset

Set by software.

0: Writing '0' has no effect, 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

10.8.96 RCC APB2 peripheral reset clear register (RCC_APB2RSTCLRR)

Address offset: 0x6AC

Reset value: 0x0000 0000

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' releases the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.FDCANRSTRes.Res.Res.DFSDMRSTRes.Res.SAI2RSTSAI1RST
rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.Res.USART6RSTRes.Res.Res.Res.SPI1RSTRes.Res.Res.Res.Res.Res.TIM8RSTTIM1RST
rc_w1rc_w1rc_w1rc_w1

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

Bit 24 FDCANRST: FDCAN block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

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

Bit 20 DFSDMRST: DFSDM block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

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

10.8.97 RCC APB3 peripheral reset set register (RCC_APB3RSTSETR)

Address offset: 0x6B0

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' activates the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DTSRST
rs
1514131211109876543210
Res.Res.VREFRSTRes.SYSCFGRSTRes.Res.Res.Res.Res.Res.Res.LPTIM5RSTLPTIM4RSTLPTIM3RSTLPTIM2RST
rsrsrsrsrsrs

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

Bit 17 Reserved, must be kept at reset value.

Bit 16 DTSRST: DTS block reset

Set by software.

0: Writing '0' has no effect, 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

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

Bit 13 VREFRST: VREF block reset

If VREF block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 12 Reserved, must be kept at reset value.

Bit 11 SYSCFGRST: SYSCFG block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Set by (secure) software.

0: Writing '0' has no effect, 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

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

Bit 3 LPTIM5RST: LPTIM5 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 2 LPTIM4RST: LPTIM4 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 1 LPTIM3RST: LPTIM3 block reset

Set by software.

If LPTIM3 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

0: Writing '0' has no effect, 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

Bit 0 LPTIM2RST: LPTIM2 block reset

Set by software.

If LPTIM2 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

0: Writing '0' has no effect, 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

10.8.98 RCC APB3 peripheral reset clear register (RCC_APB3RSTCLRR)

Address offset: 0x6B4

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' releases the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DTSRST
rc_w1
1514131211109876543210
Res.Res.VREFRSTRes.SYSCFGRSTRes.Res.Res.Res.Res.Res.Res.LPTIM5RSTLPTIM4RSTLPTIM3RSTLPTIM2RST
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 17 Reserved, must be kept at reset value.

Bit 16 DTSRST: DTS block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

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

Bit 13 VREFRST: VREF block reset

If VREF block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 12 Reserved, must be kept at reset value.

Bit 11 SYSCFGRST: SYSCFG block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

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

Bit 3 LPTIM5RST: LPTIM5 block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 2 LPTIM4RST: LPTIM4 block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 1 LPTIM3RST: LPTIM3 block reset

If LPTIM3 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 0 LPTIM2RST: LPTIM2 block reset

If LPTIM2 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

10.8.99 RCC APB4 peripheral reset set register (RCC_APB4RSTSETR)

Address offset: 0x6B8

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' activates the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USBPHYRST
rs
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.DDRPERFMRSTRes.Res.Res.Res.Res.Res.DCMIPPRSTLTDCCRST
rsrsrs

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

Bit 16 USBPHYRST: USBPHYC block reset

If USB PHY is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

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

Bit 8 DDRPERFMRST: DDRPERFM block reset

Set by software.

0: Writing '0' has no effect, 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

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

Bit 1 DCMIPPRST: DCMIPP block reset

If DCMIPP is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 0 LTDCRST: LTDC block reset

If LTDC is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

10.8.100 RCC APB4 peripheral reset clear register (RCC_APB4RSTCLRR)

Address offset: 0x6BC

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' releases the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USBPHYRST
rc_w1
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.DDRPERFMRSTRes.Res.Res.Res.Res.Res.DCMIPPRSTLTDCRST
rc_w1rc_w1rc_w1

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

Bit 16 USBPHYRST: USBPHYC block reset

If USB PHY is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

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

Bit 8 DDRPERFMRST: DDRPERFM block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

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

Bit 1 DCMIPPRST: DCMIPP block reset

If DCMIPP is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 0 LTDCRST: LTDC block reset

If LTDC is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

10.8.101 RCC APB5 peripheral reset set register (RCC_APB5RSTSETR)

Address offset: 0x6C0

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' activates the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENRSTRes.Res.Res.Res.
rs
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.

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

Bit 20 STGENRST: STGEN block reset

If STGENC (STGEN controller sub-part) is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

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

10.8.102 RCC APB5 peripheral reset clear register (RCC_APB5RSTCLRR)

Address offset: 0x6C4

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' releases the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENRSTRes.Res.Res.Res.
rc_w1
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.

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

Bit 20 STGENRST: STGEN block reset

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

ST logo
ST logo

10.8.103 RCC APB6 peripheral reset set register (RCC_APB6RSTSETR)

Address offset: 0x6C8

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' activates the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.TIM17RSTTIM16RSTTIM15RSTTIM14RSTTIM13RSTTIM12RSTI2C5RSTI2C4RSTI2C3RSTSPI5RSTSPI4RSTUSART2RSTUSART1RST
rsrsrsrsrsrsrsrsrsrsrsrsrs

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

Bit 12 TIM17RST: TIM17 block reset

If TIM17 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 11 TIM16RST: TIM16 block reset

If TIM16 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 10 TIM15RST: TIM15 block reset

If TIM15 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 9 TIM14RST: TIM14 block reset

If TIM14 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 8 TIM13RST: TIM13 block reset

If TIM13 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 7 TIM12RST: TIM12 block reset

If TIM12 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 6 I2C5RST: I2C5 block reset

If I2C5 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 5 I2C4RST: I2C4 block reset

If I2C4 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 4 I2C3RST: I2C3 block reset

If I2C3 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 3 SPI5RST: SPI5 block reset

If SPI5 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 2 SPI4RST: SPI4 block reset

If SPI4 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 1 USART2RST: USART2 block reset

If USART2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 0 USART1RST: USART1 block reset

If USART1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

10.8.104 RCC APB6 peripheral reset clear register (RCC_APB6RSTCLRR)

Address offset: 0x6CC

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' releases the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.TIM17RSTTIM16RSTTIM15RSTTIM14RSTTIM13RSTTIM12RSTI2C5RSTI2C4RSTI2C3RSTSPI5RSTSPI4RSTUSART2RSTUSART1RST
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 12 TIM17RST: TIM17 block reset

If TIM17 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 11 TIM16RST: TIM16 block reset

If TIM16 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 10 TIM15RST: TIM15 block reset

If TIM15 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 9 TIM14RST: TIM14 block reset

If TIM14 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 8 TIM13RST: TIM13 block reset

If TIM13 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 7 TIM12RST: TIM12 block reset

If TIM12 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 6 I2C5RST: I2C5 block reset

If I2C5 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 5 I2C4RST: I2C4 block reset

If I2C4 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 4 I2C3RST: I2C3 block reset

If I2C3 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 3 SPI5RST: SPI5 block reset

If SPI5 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 2 SPI4RST: SPI4 block reset

If SPI4 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 1 USART2RST: USART2 block reset

If USART2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 0 USART1RST: USART1 block reset

If USART1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

10.8.105 RCC AHB2 peripheral reset set register (RCC_AHB2RSTSETR)

Address offset: 0x6D0

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' activates the reset of the corresponding peripheral.

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.USBORSTRes.ADC2RSTADC1RSTDMAMUX2RSTDMA3RSTDMAMUX1RSTDMA2RSTDMA1RST
rsrsrsrsrsrsrsrs

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

Bit 8 USBORST: USBO block reset

If USBO is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 7 Reserved, must be kept at reset value.

Bit 6 ADC2RST: ADC2 block reset

If ADC2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 5 ADC1RST: ADC1 block reset

If ADC1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 4 DMAMUX2RST: DMAMUX2 block reset

If DMAMUX2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 3 DMA3RST: DMA3 block reset

If DMA3 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 2 DMAMUX1RST: DMAMUX1 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 1 DMA2RST: DMA2 block reset

Set by software.

0: Writing '0' has no effect, 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

Bit 0 DMA1RST: DMA1 block reset

Set by software.

0: Writing '0' has no effect, 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

10.8.106 RCC AHB2 peripheral reset clear register (RCC_AHB2RSTCLRR)

Address offset: 0x6D4

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' releases the reset of the corresponding peripheral.

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.USBORSTRes.ADC2RSTADC1RSTDMAMUX2RSTDMA3RSTDMAMUX1RSTDMA2RSTDMA1RST
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 8 USBORST: USBO block reset

If USBO is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 7 Reserved, must be kept at reset value.

Bit 6 ADC2RST: ADC2 block reset

If ADC2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 5 ADC1RST: ADC1 block reset

If ADC1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 4 DMAMUX2RST: DMAMUX2 block reset

If DMAMUX2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 3 DMA3RST: DMA3 block reset

If DMA3 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 2 DMAMUX1RST: DMAMUX1 block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 1 DMA2RST: DMA2 block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 0 DMA1RST: DMA1 block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

10.8.107 RCC AHB4 peripheral reset set register (RCC_AHB4RSTSETR)

Address offset: 0x6E0

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' activates the reset of the corresponding peripheral.

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

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

Bit 8 GPIOIRST: GPIOI block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Set by (secure) software.

0: Writing '0' has no effect, 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

Bit 7 GPIOHRST: GPIOH block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Set by (secure) software.

0: Writing '0' has no effect, 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

Bit 6 GPIOGRST: GPIOG block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Set by (secure) software.

0: Writing '0' has no effect, 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

Bit 5 GPIOFRST: GPIOF block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Set by (secure) software.

0: Writing '0' has no effect, 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

Bit 4 GPIOERST: GPIOE block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Set by (secure) software.

0: Writing '0' has no effect, 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

Bit 3 GPIODRST: GPIOD block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Set by (secure) software.

0: Writing '0' has no effect, 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

Bit 2 GPIOCRST: GPIOC block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Set by (secure) software.

0: Writing '0' has no effect, 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

Bit 1 GPIOBRST: GPIOB block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Set by (secure) software.

0: Writing '0' has no effect, 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

Bit 0 GPIOARST: GPIOA block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Set by (secure) software.

0: Writing '0' has no effect, 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

10.8.108 RCC AHB4 peripheral reset clear register (RCC_AHB4RSTCLRR)

Address offset: 0x6E4

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' releases the reset of the corresponding peripheral.

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

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

Bit 8 GPIOIRST: GPIOI block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 7 GPIOHRST: GPIOH block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 6 GPIOGRST: GPIOG block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 5 GPIOFRST: GPIOF block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 4 GPIOERST: GPIOE block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 3 GPIODRST: GPIOD block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 2 GPIOCRST: GPIOC block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 1 GPIOBRST: GPIOB block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 0 GPIOARST: GPIOA block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

10.8.109 RCC AHB5 peripheral reset set register (RCC_AHB5RSTSETR)

Address offset: 0x6E8

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' activates the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.AXIMCRST
rs
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.RNG1RSTHASH1RSTCRYP1RSTSAESRSTPKARSTRes.Res.
rsrsrsrsrs

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

Bit 16 AXIMCRST: AXIMC block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Set by (secure) software.

0: Writing '0' has no effect, 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

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

Bit 6 RNG1RST: RNG1 block reset

If RNG1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 5 HASH1RST: HASH block reset

If HASH is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 4 CRYP1RST: CRYP (3DES/AES) block reset

If CRYP is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 3 SAESRST: SAES block reset

If SAES is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 2 PKARST: PKA block reset

If PKA is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

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

10.8.110 RCC AHB5 peripheral reset clear register (RCC_AHB5RSTCLRR)

Address offset: 0x6EC

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' releases the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.AXIMCRST
rc_w1
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.RNG1RSTHASH1RSTCRYP1RSTSAESRSTPKARSTRes.Res.
rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 16 AXIMCRST: AXIMC block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

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

Bit 6 RNG1RST: RNG1 block reset

If RNG1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 5 HASH1RST: HASH block reset

If HASH is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 4 CRYP1RST: CRYP (3DES/AES) block reset

If CRYP is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 3 SAESRST: SAES block reset

If SAES is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 2 PKARST: PKA block reset

If PKA is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

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

10.8.111 RCC AHB6 peripheral reset set register (RCC_AHB6RSTSETR)

Address offset: 0x6F0

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' activates the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.ETH2MACRSTRes.Res.Res.Res.Res.USBHRSTRes.Res.Res.CRC1RSTRes.Res.SDMMC2RSTSDMMC1RST
rsrsrsrsrs
1514131211109876543210
Res.QSPIRSTRes.FMCRSTRes.ETH1MACRSTRes.Res.Res.Res.Res.Res.Res.Res.MCERSTMDMARST
rsrsrsrsrs

Bit 31 Reserved, must be kept at reset value.

Bit 30 ETH2MACRST: ETH2 MAC block reset

If ETH2 MAC is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

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

Bit 24 USBHRST: USBH block reset

Set by software.

0: Writing '0' has no effect, 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

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

Bit 20 CRC1RST: CRC block reset

Set by software.

0: Writing '0' has no effect, 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

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

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

Bit 1 MCERST: MCE block reset

If MCE is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, 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

Bit 0 MDMARST: MDMA block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Set by (secure) software.

0: Writing '0' has no effect, 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

10.8.112 RCC AHB6 peripheral reset clear register (RCC_AHB6RSTCLRR)

Address offset: 0x6F4

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' releases the reset of the corresponding peripheral.

31302928272625242322212019181716
Res.ETH2MACRSTRes.Res.Res.Res.Res.USBHRSTRes.Res.Res.CRC1RSTRes.Res.SDMMC2RSTSDMMC1RST
rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.QSPIRSTRes.FMCRSTRes.ETH1MACRSTRes.Res.Res.Res.Res.Res.Res.Res.MCERSTMDMARST
rc_w1rc_w1rc_w1rc_w1rc_w1

Bit 31 Reserved, must be kept at reset value.

Bit 30 ETH2MACRST: ETH2 MAC block reset

If ETH2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

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

Bit 24 USBHRST: USBH block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

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

Bit 20 CRC1RST: CRC block reset

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

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

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

Bit 1 MCERST: MCE block reset

If MCE is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

Bit 0 MDMARST: MDMA block reset

A write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the block reset is released

1: Writing '1' releases the block reset, reading '1' means that the block reset is asserted

10.8.113 RCC APB1 peripheral enable set register (RCC_MP_APB1ENSETR)

Address offset: 0x700

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective value of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.SPDIFENRes.Res.Res.I2C2ENI2C1ENRes.UART8ENUART7ENUART5ENUART4EN
rsrsrsrsrsrsrs
1514131211109876543210
USART3ENRes.Res.SPI3ENSPI2ENRes.LPTIM1ENRes.Res.Res.TIM7ENTIM6ENTIM5ENTIM4ENTIM3ENTIM2EN
rsrsrsrsrsrsrsrsrsrs

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

Bit 26 SPDIFEN: SPDIFRX peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 22 I2C2EN: I2C2 peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 21 I2C1EN: I2C1 peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 20 Reserved, must be kept at reset value.

Bit 19 UART8EN: UART8 peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.114 RCC APB1 peripheral enable clear register (RCC_MP_APB1ENCLRR)

Address offset: 0x704

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.SPDIFENRes.Res.Res.I2C2ENI2C1ENRes.UART8ENUART7ENUART5ENUART4EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
USART3ENRes.Res.SPI3ENSPI2ENRes.LPTIM1ENRes.Res.Res.TIM7ENTIM6ENTIM5ENTIM4ENTIM3ENTIM2EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 26 SPDIFEN: SPDIFRX peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 22 I2C2EN: I2C2 peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 21 I2C1EN: I2C1 peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 20 Reserved, must be kept at reset value.

Bit 19 UART8EN: UART8 peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.115 RCC APB2 peripheral enable set register (RCC_MP_APB2ENSETR)

Address offset: 0x708

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.FDCANENRes.Res.ADFSDMENDFSDMENRes.Res.SAI2ENSAI1EN
rsrsrsrsrs
1514131211109876543210
Res.Res.USART6ENRes.Res.Res.Res.SPI1ENRes.Res.Res.Res.Res.Res.TIM8ENTIM1EN
rsrsrsrs

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

Bit 24 FDCANEN: FDCAN and CANRAM peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 21 ADFSDMEN: Audio DFSDM peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 20 DFSDMEN: DFSDM peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 17 SAI2EN: SAI2 peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.116 RCC APB2 peripheral enable clear register (RCC_MP_APB2ENCLRR)

Address offset: 0x70C

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.FDCANENRes.Res.ADFSDMENDFSDMENRes.Res.SAI2ENSAI1EN
rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.Res.USART6ENRes.Res.Res.Res.SPI1ENRes.Res.Res.Res.Res.Res.TIM8ENTIM1EN
rc_w1rc_w1rc_w1rc_w1

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

Bit 24 FDCANEN: FDCAN and CANRAM peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 21 ADFSDMEN: Audio DFSDM peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 20 DFSDMEN: DFSDM peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 17 SAI2EN: SAI2 peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 16 SAI1EN: SAI1 peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 13 USART6EN: USART6 peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 8 SPI1EN: SPI/I2S1 peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 1 TIM8EN: TIM8 peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 0 TIM1EN: TIM1 peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.117 RCC APB3 peripheral enable set register (RCC_MP_APB3ENSETR)

Address offset: 0x710

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HDPENRes.Res.Res.DTSEN
rsrs
1514131211109876543210
Res.Res.VREFENRes.Res.Res.Res.Res.Res.Res.Res.Res.LPTIM5ENLPTIM4ENLPTIM3ENLPTIM2EN
rsrsrsrsrs

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

Bit 20 HDPEN: HDP peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 17 Reserved, must be kept at reset value.

Bit 16 DTSEN: DTS peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 13 VREFEN: VREF peripheral clocks enable

If VREF block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 3 LPTIM5EN: LPTIM5 peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 2 LPTIM4EN: LPTIM4 peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 1 LPTIM3EN: LPTIM3 peripheral clocks enable

If LPTIM3 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 0 LPTIM2EN: LPTIM2 peripheral clocks enable

If LPTIM2 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.118 RCC APB3 peripheral enable clear register (RCC_MP_APB3ENCLRR)

Address offset: 0x714

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HDPENRes.Res.Res.DTSEN
rc_w1rc_w1
1514131211109876543210
Res.Res.VREFENRes.Res.Res.Res.Res.Res.Res.Res.Res.LPTIM5ENLPTIM4ENLPTIM3ENLPTIM2EN
rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 20 HDPEN: HDP peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 17 Reserved, must be kept at reset value.

Bit 16 DTSEN: DTS peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 13 VREFEN: VREF peripheral clocks enable

If VREF block is configured as secure via the corresponding DECProt[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 3 LPTIM5EN: LPTIM5 peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 2 LPTIM4EN: LPTIM4 peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 1 LPTIM3EN: LPTIM3 peripheral clocks enable

If LPTIM3 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 0 LPTIM2EN: LPTIM2 peripheral clocks enable

If LPTIM2 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.119 RCC secure APB3 peripheral enable set register (RCC_MP_S_APB3ENSETR)

Address offset: 0x718

Reset value: 0x0000 0000

This is a secure register for enabling the clock of the SYSCFG. A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 0 SYSCFGEN: SYSCFG peripheral clocks enable

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.120 RCC secure APB3 peripheral enable clear register (RCC_MP_S_APB3ENCLRR)

Address offset: 0x71C

Reset value: 0x0000 0000

This is a secure register for disabling the clock of the SYSCFG. A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 0 SYSCFGEN: SYSCFG peripheral clocks enable

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.121 RCC non-secure APB3 peripheral enable set register (RCC_MP_NS_APB3ENSETR)

Address offset: 0x720

Reset value: 0x0000 0000

This is a non-secure register, for enabling the clock of the SYSCFG.

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 0 SYSCFGEN: SYSCFG peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.122 RCC non-secure APB3 peripheral enable clear register (RCC_MP_NS_APB3ENCLRR)

Address offset: 0x724

Reset value: 0x0000 0000

This is a non-secure register, for disabling the clock of the SYSCFG.

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 0 SYSCFGEN: SYSCFG peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.123 RCC APB4 peripheral enable set register (RCC_MP_APB4ENSETR)

Address offset: 0x728

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENROENRes.Res.Res.USBPHYEN
rsrs
1514131211109876543210
IWDG2APBENRes.Res.Res.Res.Res.Res.DDPERFMENRes.Res.Res.Res.Res.Res.DCMIPPENRes.
rsrsrs

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

Bit 20 STGENROEN: STGEN read-only interface peripheral clocks enable

Set by software.

The peripheral clocks of the STGEN read-only interface are the pclk4, and the kernel clock as selected by the RCC_STGENCKSELR register.

0: Writing '0' has no effect, reading '0' means that the pclk4 is disabled, and that the kernel clock gating is defined by RCC_MP_APB5ENxxxR.STGENCEN with xxx=SET/CLR

1: Writing '1' enables the pclk4 and the kernel clock; reading '1' means that the pclk4 and the kernel clock are enabled

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

Bit 16 USBPHYEN: USBPHYC peripheral clocks enable

If USB PHY is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 15 IWDG2APBEN: IWDG2 APB clock enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the APB clock is disabled

1: Writing '1' enables the APB clock, reading '1' means that the APB clock is enabled

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

Bit 8 DDRPERFMEN: DDRPERFM APB clock enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the APB clock is disabled

1: Writing '1' enables the APB clock, reading '1' means that the APB clock is enabled

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

Bit 1 DCMIPPEN: DCMIPP peripheral clocks enable

If DCMIPP is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 0 Reserved, must be kept at reset value.

10.8.124 RCC APB4 peripheral enable clear register (RCC_MP_APB4ENCLRR)

Address offset: 0x72C

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENROENRes.Res.Res.USBPHYEN
rc_w1rc_w1
1514131211109876543210
IWDG2APBENRes.Res.Res.Res.Res.Res.DDRPERFMENRes.Res.Res.Res.Res.Res.DCMIPPENRes.
rc_w1rc_w1rc_w1

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

Bit 20 STGENROEN: STGEN read-only interface peripheral clocks enable

Cleared by software.

The peripheral clocks of the STGEN read-only interface are the pclk4, and the kernel clock as selected by the RCC_STGENCKSELR register.

0: Writing '0' has no effect, reading '0' means that the pclk4 is disabled, and that the kernel clock gating is defined by RCC_MP_APB5ENxxxR.STGENCEN with xxx=SET/CLR

1: Writing '1' disables the pclk4, and disables the kernel clock provided that RCC_MP_APB5ENSETR.STGENCEN=0 else it has no effect; reading '1' means that the pck4 and the kernel clock are enabled

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

Bit 16 USBPHYEN: USBPHYC peripheral clocks enable

If USB PHY is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 15 IWDG2APBEN: IWDG2 APB clock enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the APB clock is disabled

1: Writing '1' disables the APB clock, reading '1' means that the APB clock is enabled

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

Bit 8 DDRPERFMEN: DDRPERFM APB clock enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the APB clock is disabled

1: Writing '1' disables the APB clock, reading '1' means that the APB clock is enabled

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

Bit 1 DCMIPPEN: DCMIPP peripheral clocks enable

If DCMIPP is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 0 Reserved, must be kept at reset value.

10.8.125 RCC secure APB4 peripheral enable set register (RCC_MP_S_APB4ENSETR)

Address offset: 0x730

Reset value: 0x0000 0000

This is a secure register for enabling the clock of the LTDC when it is used with a secure composition layer. A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 0 LTDCE: LTDC peripheral clocks enable

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.126 RCC secure APB4 peripheral enable clear register (RCC_MP_S_APB4ENCLRR)

Address offset: 0x734

Reset value: 0x0000 0000

This is a secure register for enabling the clock of the LTDC when it is used with a secure composition layer. A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 0 LTDCE: LTDC peripheral clocks enable

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.127 RCC non-secure APB4 peripheral enable set register (RCC_MP_NS_APB4ENSETR)

Address offset: 0x738

Reset value: 0x0000 0000

This is a non-secure register, for enabling the clock of the LTDC when it is used with one or two non-secure composition layers.

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 0 LTDCEN: LTDC peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.128 RCC non-secure APB4 peripheral enable clear register (RCC_MP_NS_APB4ENCLRR)

Address offset: 0x73C

Reset value: 0x0000 0000

This is a non-secure register, for enabling the clock of the LTDC when it is used with one or two non-secure composition layers.

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 0 LTDCE: LTDC peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.129 RCC APB5 peripheral enable set register (RCC_MP_APB5ENSETR)

Address offset: 0x740

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENCENRes.Res.Res.BSECEN
rsrs
1514131211109876543210
IWDG1APBENRes.ETZPCENRes.TZCENRes.Res.RTCAPBENRes.Res.Res.Res.Res.Res.Res.Res.
rsrsrsrs

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

Bit 20 STGENCEN: STGEN controller part, peripheral clocks enable

If STGENC is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

The peripheral clocks of the STGEN controller part are the pclk5, and the kernel clock as selected by the RCC_STGENCKSELR register.

0: Writing '0' has no effect, reading '0' means that the pclk5 is disabled, and that the kernel clock gating is defined by RCC_MP_APB4ENxxxR.STGENROEN with xxx=SET/CLR

1: Writing '1' enables the pclk5 and the kernel clock; reading '1' means that the pclk5 and the kernel clock are enabled

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

Bit 16 BSECEN: BSEC peripheral clocks enable

A write access to this register field must be secure. A read access may be secure or non-secure.

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.130 RCC APB5 peripheral enable clear register (RCC_MP_APB5ENCLRR)

Address offset: 0x744

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENCENRes.Res.Res.BSECEN
rc_w1rc_w1
1514131211109876543210
IWDG1APBENRes.ETZPCENRes.TZCENRes.Res.RTCAPBENRes.Res.Res.Res.Res.Res.Res.Res.
rc_w1rc_w1rc_w1rc_w1

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

Bit 20 STGENCEN: STGEN controller part, peripheral clocks enable

If STGENC is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

The peripheral clocks of the STGEN controller part are the pclk5, and the kernel clock as selected by the RCC_STGENCKSELR register.

0: Writing '0' has no effect, reading '0' means that the pclk5 is disabled, and that the kernel clock gating is defined by RCC_MP_APB4ENxxR.STGENROEN with xxx=SET/CLR

1: Writing '1' enables the pclk5, and disables the kernel clock provided that RCC_MP_APB4ENSETR.STGENROEN=0 else it has no effect; reading '1' means that the pck5 and the kernel clock are enabled

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

Bit 16 BSECEN: BSEC peripheral clocks enable

A write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.131 RCC APB6 peripheral enable set register (RCC_MP_APB6ENSETR)

Address offset: 0x748

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.TIM17ENTIM16ENTIM15ENTIM14ENTIM13ENTIM12ENI2C5ENI2C4ENI2C3ENSPI5ENSPI4ENUSART2ENUSART1EN
rsrsrsrsrsrsrsrsrsrsrsrsrs

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

Bit 12 TIM17EN: TIM17 peripherals clocks

If TIM17 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' enables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 11 TIM16EN: TIM16 peripherals clocks

If TIM16 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' enables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 10 TIM15EN: TIM15 peripherals clocks

If TIM15 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' enables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 9 TIM14EN: TIM14 peripherals clocks

If TIM14 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' enables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 8 TIM13EN: TIM13 peripherals clocks

If TIM13 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' enables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 7 TIM12EN: TIM12 peripherals clocks

If TIM12 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' enables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 6 I2C5EN: I2C5 peripherals clocks

If I2C5 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' enables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 5 I2C4EN: I2C4 peripherals clocks

If I2C4 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' enables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 4 I2C3EN: I2C3 peripherals clocks

If I2C3 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' enables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 3 SPI5EN: SPI5 peripherals clocks

If SPI5 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' enables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 2 SPI4EN: SPI4 peripherals clocks

If SPI4 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' enables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 1 USART2EN: USART2 peripherals clocks

If USART2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' enables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 0 USART1EN: USART1 peripherals clocks

If USART1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' enables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

10.8.132 RCC APB6 peripheral enable clear register (RCC_MP_APB6ENCLRR)

Address offset: 0x74C

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.TIM17ENTIM16ENTIM15ENTIM14ENTIM13ENTIM12ENI2C5ENI2C4ENI2C3ENSPI5ENSPI4ENUSART2ENUSART1EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 12 TIM17EN: TIM17 peripherals clocks

If TIM17 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' disables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 11 TIM16EN: TIM16 peripherals clocks

If TIM16 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' disables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 10 TIM15EN: TIM15 peripherals clocks

If TIM15 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' disables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 9 TIM14EN: TIM14 peripherals clocks

If TIM14 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' disables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 8 TIM13EN: TIM13 peripherals clocks

If TIM13 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' disables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 7 TIM12EN: TIM12 peripherals clocks

If TIM12 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' disables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 6 I2C5EN: I2C5 peripherals clocks

If I2C5 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' disables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 5 I2C4EN: I2C4 peripherals clocks

If I2C4 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' disables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 4 I2C3EN: I2C3 peripherals clocks

If I2C3 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' disables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 3 SPI5EN: SPI5 peripherals clocks

If SPI5 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' disables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 2 SPI4EN: SPI4 peripherals clocks

If SPI4 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' disables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 1 USART2EN: USART2 peripherals clocks

If USART2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' disables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

Bit 0 USART1EN: USART1 peripherals clocks

If USART1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled

1: Writing '1' disables the peripherals clocks, reading '1' means that the peripherals clocks are enabled

10.8.133 RCC AHB2 peripheral enable set register (RCC_MP_AHB2ENSETR)

Address offset: 0x750

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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.USBOENRes.ADC2ENADC1ENDMAMUX2ENDMA3ENDMAMUX1ENDMA2ENDMA1EN
rsrsrsrsrsrsrsrs

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

Bit 8 USBOEN: USBO peripheral clocks enable

If USBO is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 7 Reserved, must be kept at reset value.

Bit 6 ADC2EN: ADC2 peripheral clocks enable

If ADC2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 5 ADC1EN: ADC1 peripheral clocks enable

If ADC1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.134 RCC AHB2 peripheral enable clear register (RCC_MP_AHB2ENCLRR)

Address offset: 0x754

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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.USBOENRes.ADC2ENADC1ENDMAMUX2ENDMA3ENDMAMUX1ENDMA2ENDMA1EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 8 USBOEN: USBO peripheral clocks enable

If USBO is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 7 Reserved, must be kept at reset value.

Bit 6 ADC2EN: ADC2 peripheral clocks enable

If ADC2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 5 ADC1EN: ADC1 peripheral clocks enable

If ADC1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.135 RCC secure AHB4 peripheral enable set register (RCC_MP_S_AHB4ENSETR)

Address offset: 0x768

Reset value: 0x0000 0000

This is a secure register, for enabling the clock of the secure (AHB4) GPIO ports, as defined by the GPIO register file and more specifically the GPIOxSECCFGR.SECy control bit with x=A..I, and y = 0..15 (or 2 for x=I). A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 8 GPIOIEN: GPIOI peripheral clocks enable

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 7 GPIOHEN: GPIOH peripheral clocks enable

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 6 GPIOGEN: GPIOG peripheral clocks enable

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 5 GPIOFEN: GPIOF peripheral clocks enable

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 4 GPIOEEN: GPIOE peripheral clocks enable

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 3 GPIODEN: GPIOD peripheral clocks enable

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 2 GPIOCEN: GPIOC peripheral clocks enable

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 1 GPIOBEN: GPIOB peripheral clocks enable

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 0 GPIOAEN: GPIOA peripheral clocks enable

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.136 RCC secure AHB4 peripheral enable clear register (RCC_MP_S_AHB4ENCLRR)

Address offset: 0x76C

Reset value: 0x0000 0000

This is a secure register, for disabling of the secure (AHB4) GPIO ports, as defined by the GPIO register file and more specifically the GPIOxSECCFGR.SECy control bit with x=A..I, and y = 0..15 (or 2 for x=I). A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 8 GPIOIEN: GPIOI peripheral clocks enable

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 7 GPIOHEN: GPIOH peripheral clocks enable

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 6 GPIOGEN: GPIOG peripheral clocks enable

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 5 GPIOFEN: GPIOF peripheral clocks enable

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 4 GPIOEEN: GPIOE peripheral clocks enable

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 3 GPIODEN: GPIOD peripheral clocks enable

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 2 GPIOCEN: GPIOC peripheral clocks enable

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 1 GPIOBEN: GPIOB peripheral clocks enable

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 0 GPIOAEN: GPIOA peripheral clocks enable

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.137 RCC non-secure AHB4 peripheral enable set register (RCC_MP_NS_AHB4ENSETR)

Address offset: 0x770

Reset value: 0x0000 0000

This is a non-secure register, for enabling the non-secure GPIO ports, as defined by the GPIO register file and more specifically the GPIOxSECCFGR.SECy control bit with x=A..I, and y = 0..15 (or 2 for x=I).

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 8 GPIOIEN: GPIOI peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 7 GPIOHEN: GPIOH peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 6 GPIOGEN: GPIOG peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 5 GPIOFEN: GPIOF peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 4 GPIOEEN: GPIOE peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 3 GPIODEN: GPIOD peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 2 GPIOCEN: GPIOC peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 1 GPIOBEN: GPIOB peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 0 GPIOAEN: GPIOA peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.138 RCC non-secure AHB4 peripheral enable clear register (RCC_MP_NS_AHB4ENCLRR)

Address offset: 0x774

Reset value: 0x0000 0000

This is a non-secure register, for disabling the non-secure GPIO ports, as defined by the GPIO register file and more specifically the GPIOxSECCFGR.SECy control bit with x=A..I, and y = 0..15 (or 2 for x=I).

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 8 GPIOIEN: GPIOI peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 7 GPIOHEN: GPIOH peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 6 GPIOGEN: GPIOG peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 5 GPIOFEN: GPIOF peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 4 GPIOEEN: GPIOE peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 3 GPIODEN: GPIOD peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 2 GPIOCEN: GPIOC peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 1 GPIOBEN: GPIOB peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 0 GPIOAEN: GPIOA peripheral clocks enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.139 RCC AHB5 peripheral enable set register (RCC_MP_AHB5ENSETR)

Address offset: 0x778

Reset value: 0x0001 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral to the MPU. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.AXIMCEN
rs
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.BKPSRAMENRes.RNG1ENHASH1ENCRYP1ENSAESENPKAENRes.Res.
rsrsrsrsrsrs

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

Bit 16 AXIMCEN: AXIMC clocks enable

A write access to this register field must be secure. A read access may be secure or non-secure.

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 8 BKPSRAMEN: BKPSRAM clocks enable

If BKPSRAM is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 7 Reserved, must be kept at reset value.

Bit 6 RNG1EN: RNG1 peripheral clocks enable

If RNG1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 5 HASH1EN: HASH peripheral clocks enable

If HASH is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 4 CRYP1EN: CRYP (3DES/AES) peripheral clocks enable

If CRYP is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 3 SAESEN: SAES peripheral clocks enable

If SAES is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 2 PKAEN: PKA peripheral clocks enable

If PKA is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

10.8.140 RCC AHB5 peripheral enable clear register (RCC_MP_AHB5ENCLRR)

Address offset: 0x77C

Reset value: 0x0001 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.AXIMCEN
rc_w1
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.BKPSRAMENRes.RNG1ENHASH1ENCRYP1ENSAESENPKAENRes.Res.
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 16 AXIMCEN: AXIMC clocks enable

A write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

Bit 8 BKPSRAMEN: BKPSRAM clocks enable

If BKPSRAM is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 7 Reserved, must be kept at reset value.

Bit 6 RNG1EN: RNG1 peripheral clocks enable

If RNG1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 5 HASH1EN: HASH peripheral clocks enable

If HASH is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 4 CRYP1EN: CRYP (3DES/AES) peripheral clocks enable

If CRYP is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 3 SAESEN: SAES peripheral clocks enable

If SAES is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 2 PKAEN: PKA peripheral clocks enable

If PKA is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

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

10.8.141 RCC AHB6 peripheral enable set register (RCC_MP_AHB6ENSETR)

Address offset: 0x780

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.ETH2MACENETH2RXENETH2TXENETH2CKENRes.Res.USBHENRes.Res.Res.CRC1ENRes.Res.SDMMC2ENSDMMC1EN
rsrsrsrsrsrsrsrs
1514131211109876543210
Res.QSPIENRes.FMCENRes.ETH1MACENETH1RXENETH1TXENETH1CKENRes.Res.Res.Res.Res.MCEENRes.
rsrsrsrsrsrsrs

Bit 31 Reserved, must be kept at reset value.

Bit 30 ETH2MACEN: ETH2 MAC bus interface clock enable (hclk6 and aclk)

If ETH2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the bus interface clock is disabled

1: Writing '1' enables the bus interface clock, reading '1' means that the bus interface clock is enabled

Bit 29 ETH2RXEN: ETH2 reception clock enable

If ETH2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the reception clock is disabled

1: Writing '1' enables the reception clock, reading '1' means that the reception clock is enabled

Bit 28 ETH2TXEN: ETH2 transmission clock enable

If ETH2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the transmission clock is disabled

1: Writing '1' enables the transmission clock, reading '1' means that the transmission clock is enabled

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

Bit 1 MCEEN: MCE peripheral clocks enable

If MCE is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 0 Reserved, must be kept at reset value.

10.8.142 RCC AHB6 peripheral enable clear register (RCC_MP_AHB6ENCLRR)

Address offset: 0x784

Reset value: 0x0000 0000

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.ETH2MACENETH2RXENETH2TXENETH2CKENRes.Res.USBHENRes.Res.Res.CRC1ENRes.Res.SDMMC2ENSDMMC1EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.QSPIENRes.FMCENRes.ETH1MACENETH1RXENETH1TXENETH1CKENRes.Res.Res.Res.Res.MCEENRes.
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

Bit 31 Reserved, must be kept at reset value.

Bit 30 ETH2MACEN: ETH2 MAC bus interface clock enable (hclk6 and aclk)

If ETH2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the bus interface clock is disabled

1: Writing '1' disables the bus interface clock, reading '1' means that the bus interface clock is enabled

Bit 29 ETH2RXEN: ETH2 reception clock enable

If ETH2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the reception clock is disabled

1: Writing '1' disables the reception clock, reading '1' means that the reception clock is enabled

Bit 28 ETH2TXEN: ETH2 transmission clock enable

If ETH2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the transmission clock is disabled

1: Writing '1' disables the transmission clock, reading '1' means that the transmission clock is enabled

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

Bit 1 MCEEN: MCE peripheral clocks enable

If MCE is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

Bit 0 Reserved, must be kept at reset value.

10.8.143 RCC secure AHB6 peripheral enable set register (RCC_MP_S_AHB6ENSETR)

Address offset: 0x788

Reset value: 0x0000 0000

This is a secure register for enabling the clock of the MDMA when it is used as secure. A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 0 MDMAEN: MDMA peripheral clocks enable

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.144 RCC secure AHB6 peripheral enable clear register (RCC_MP_S_AHB6ENCLRR)

Address offset: 0x78C

Reset value: 0x0000 0000

This is a secure register for disabling the clock of the MDMA when it is not used as secure. A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 0 MDMAEN: MDMA peripheral clocks enable

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' disables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.145 RCC non-secure AHB6 peripheral enable set register (RCC_MP_NS_AHB6ENSETR)

Address offset: 0x790

Reset value: 0x0000 0000

This is a non-secure register for enabling the clock of the MDMA when it is used as non-secure.

This register is used to set the peripheral clock enable bit of the corresponding peripheral. It must be used to allocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 0 MDMAEN: MDMA peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.146 RCC non-secure AHB6 peripheral enable clear register (RCC_MP_NS_AHB6ENCLRR)

Address offset: 0x794

Reset value: 0x0000 0000

This is a non-secure register for disabling the clock of the MDMA when it is not used as non-secure.

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It must be used to deallocate a peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 0 MDMAEN: MDMA peripheral clocks enable

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled

1: Writing '1' enables the peripheral clocks, reading '1' means that the peripheral clocks are enabled

10.8.147 RCC APB1 Sleep clock enable set register (RCC_MP_APB1LPENSETR)

Address offset: 0x800

Reset value: 0x046F 9A3F

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.SPDIFLPENRes.Res.Res.I2C2LPENI2C1LPENRes.UART8LPENUART7LPENUART5LPENUART4LPEN
rsrsrsrsrsrsrs
1514131211109876543210
USART3LPENRes.Res.SPI3LPENSPI2LPENRes.LPTIM1LPENRes.Res.Res.TIM7LPENTIM6LPENTIM5LPENTIM4LPENTIM3LPENTIM2LPEN
rsrsrsrsrsrsrsrsrsrs

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

Bit 26 SPDIFLPEN: SPDIFRX peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

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

Bit 22 I2C2LPEN: I2C2 peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 21 I2C1LPEN: I2C1 peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 20 Reserved, must be kept at reset value.

Bit 9 LPTIM1LPEN: LPTIM1 peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

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

Bit 5 TIM7LPEN: TIM7 peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 4 TIM6LPEN: TIM6 peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 3 TIM5LPEN: TIM5 peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 2 TIM4LPEN: TIM4 peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 1 TIM3LPEN: TIM3 peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 0 TIM2LPEN: TIM2 peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.148 RCC APB1 Sleep clock enable clear register (RCC_MP_APB1LPENCLRR)

Address offset: 0x804

Reset value: 0x046F 9A3F

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.SPDIFLPENRes.Res.Res.I2C2LPENI2C1LPENRes.UART8LPENUART7LPENUART5LPENUART4LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
USART3LPENRes.Res.SPI3LPENSPI2LPENRes.LPTIM1LPENRes.Res.Res.TIM7LPENTIM6LPENTIM5LPENTIM4LPENTIM3LPENTIM2LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 26 SPDIFLPEN: SPDIFRX peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

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

Bit 22 I2C2LPEN: I2C2 peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 21 I2C1LPEN: I2C1 peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 20 Reserved, must be kept at reset value.

Bit 9 LPTIM1LPEN: LPTIM1 peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

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

Bit 5 TIM7LPEN: TIM7 peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 4 TIM6LPEN: TIM6 peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 3 TIM5LPEN: TIM5 peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 2 TIM4LPEN: TIM4 peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 1 TIM3LPEN: TIM3 peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 0 TIM2LPEN: TIM2 peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.149 RCC APB2 Sleep clock enable set register (RCC_MP_APB2LPENSETR)

Address offset: 0x808

Reset value: 0x0133 2103

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.FDCANLPENRes.Res.ADFSDMLPENDFSDMLPENRes.Res.SAI2LPENSAI1LPEN
rsrsrsrsrs
1514131211109876543210
Res.Res.USART6LPENRes.Res.Res.Res.SPI1LPENRes.Res.Res.Res.Res.Res.TIM8LPENTIM1LPEN
rsrsrsrs

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

Bit 24 FDCANLPEN: FDCAN and CANRAM peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

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

Bit 21 ADFSDMLPEN: Audio DFSDM peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 20 DFSDMLPEN: DFSDM peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

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

10.8.150 RCC APB2 Sleep clock enable clear register (RCC_MP_APB2LPENCLRR)

Address offset: 0x80C

Reset value: 0x0133 2103

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.FDCANLPENRes.Res.ADFSDMLPENDFSDMLPENRes.Res.SAI2LPENSAI1LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.Res.USART6LPENRes.Res.Res.Res.SPI1LPENRes.Res.Res.Res.Res.Res.TIM8LPENTIM1LPEN
rc_w1rc_w1rc_w1rc_w1

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

Bit 24 FDCANLPEN: FDCAN and CANRAM peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

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

Bit 21 ADFSDMLPEN: Audio DFSDM peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 20 DFSDMLPEN: DFSDM peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

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

10.8.151 RCC APB3 Sleep clock enable set register (RCC_MP_APB3LPENSETR)

Address offset: 0x810

Reset value: 0x0003 200F

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DTSLPEN
rs
1514131211109876543210
Res.Res.VREFLPENRes.Res.Res.Res.Res.Res.Res.Res.Res.LPTIM5LPENLPTIM4LPENLPTIM3LPENLPTIM2LPEN
rsrsrsrsrs

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

Bit 17 Reserved, must be kept at reset value.

Bit 16 DTSLPEN: DTS peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

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

Bit 13 VREFLPEN: VREF peripheral clocks enable during CSleep mode

If VREF block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

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

Bit 3 LPTIM5LPEN: LPTIM5 peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 2 LPTIM4LPEN: LPTIM4 peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 1 LPTIM3LPEN: LPTIM3 peripheral clocks enable during CSleep mode

If LPTIM3 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 0 LPTIM2LPEN: LPTIM2 peripheral clocks enable during CSleep mode

If LPTIM2 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.152 RCC APB3 Sleep clock enable clear register (RCC_MP_APB3LPENCLRR)

Address offset: 0x814

Reset value: 0x0003 200F

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DTSLPEN
rc_w1
1514131211109876543210
Res.Res.VREFLPENRes.Res.Res.Res.Res.Res.Res.Res.Res.LPTIM5LPENLPTIM4LPENLPTIM3LPENLPTIM2LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 17 Reserved, must be kept at reset value.

Bit 16 DTSLPEN: DTS peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

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

Bit 13 VREFLPEN: VREF peripheral clocks enable during CSleep mode

If VREF block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

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

Bit 3 LPTIM5LPEN: LPTIM5 peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 2 LPTIM4LPEN: LPTIM4 peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 1 LPTIM3LPEN: LPTIM3 peripheral clocks enable during CSleep mode

If LPTIM3 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 0 LPTIM2LPEN: LPTIM2 peripheral clocks enable during CSleep mode

If LPTIM2 block is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.153 RCC secure APB3 Sleep clock enable set register (RCC_MP_S_APB3LPENSETR)

Address offset: 0x818

Reset value: 0x0000 0001

This is a secure register for enabling the clock of the SYSCFG. A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 0 SYSCFGLPEN: SYSCFG peripheral clocks enable during CSleep mode

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.154 RCC secure APB3 Sleep clock enable clear register (RCC_MP_S_APB3LPENCLRR)

Address offset: 0x81C

Reset value: 0x0000 0001

This is a secure register for disabling the clock of the SYSCFG. A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 0 SYSCFGLPEN: SYSCFG peripheral clocks enable during CSleep mode

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.155 RCC non-secure APB3 Sleep clock enable set register (RCC_MP_NS_APB3LPENSETR)

Address offset: 0x820

Reset value: 0x0000 0001

This is a non-secure register, for enabling the clock of the SYSCFG.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 0 SYSCFGLPEN: SYSCFG peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.156 RCC non-secure APB3 Sleep clock enable clear register (RCC_MP_NS_APB3LPENCLRR)

Address offset: 0x824

Reset value: 0x0000 0001

This is a non-secure register, for disabling the clock of the SYSCFG.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 0 SYSCFGLPEN: SYSCFG peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.157 RCC APB4 Sleep clock enable set register
(RCC_MP_APB4LPENSETR)

Address offset: 0x828

Reset value: 0x0011 8102

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENROSTPENSTGENROLPENRes.Res.Res.USBPHYLPEN
rsrsrs
1514131211109876543210
IWDG2APBLPENRes.Res.Res.Res.Res.Res.DDRPERFMLPENRes.Res.Res.Res.Res.Res.DCMIPPLPENRes.
rsrsrs

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

Bit 21 STGENROSTPEN: STGEN read-only interface peripheral clocks enable during CStop mode
Set by software.

The peripheral clocks of the STGEN read-only interface are the pclk4, and the kernel clock as selected by the RCC_STGENCKSELR register.

0: Writing '0' has no effect, reading '0' means that the pclk4 is disabled in CStop, and that the kernel clock gating is defined by RCC_MP_APB5ENxxxR.STGENCEN with xxx=SET/CLR
1: Writing '1' enables the pclk4 and the kernel clock in CStop; reading '1' means that the pck4 and the kernel clock are enabled in CStop

Bit 20 STGENROLPEN: STGEN read-only interface peripheral clocks enable during CSleep mode
Set by software.

The peripheral clocks of the STGEN read-only interface are the pclk4, and the kernel clock as selected by the RCC_STGENCKSELR register.

0: Writing '0' has no effect, reading '0' means that the pclk4 is disabled in CSleep, and that the kernel clock gating is defined by RCC_MP_APB5ENxxxR.STGENCEN with xxx=SET/CLR

1: Writing '1' enables the pclk4 and the kernel clock in CSleep; reading '1' means that the pck4 and the kernel clock are enabled in CSleep

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

10.8.158 RCC APB4 Sleep clock enable clear register
(RCC_MP_APB4LPENCLRR)

Address offset: 0x82C

Reset value: 0x0011 8102

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENROSTPENSTGENROLPENRes.Res.Res.USBPHYLPEN
rc_w1rc_w1rc_w1
1514131211109876543210
IWDG2APBLPENRes.Res.Res.Res.Res.Res.DDRPERFMLPENRes.Res.Res.Res.Res.Res.DCMIPPLPENRes.
rc_w1rc_w1rc_w1

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

Bit 21 STGENROSTPEN: STGEN read-only interface peripheral clocks enable during CStop mode
Cleared by software.

The peripheral clocks of the STGEN read-only interface are the pclk4, and the kernel clock as selected by the RCC_STGENCKSELR register.

0: Writing '0' has no effect, reading '0' means that the pclk4 is disabled in CStop, and that the kernel clock gating is defined by RCC_MP_APB5LPENxxxR.STGENCLPEN with xxx=SET/CLR

1: Writing '1' disables the pclk4 and the kernel clock in CStop; reading '1' means that the pck4 and the kernel clock are enabled in CStop

Bit 20 STGENROLPEN: STGEN read-only interface peripheral clocks enable during CSleep mode
Cleared by software.

The peripheral clocks of the STGEN read-only interface are the pclk4, and the kernel clock as selected by the RCC_STGENCKSELR register.

0: Writing '0' has no effect, reading '0' means that the pclk4 is disabled in CSleep, and that the kernel clock gating is defined by RCC_MP_APB5LPENxxxR.STGENCLPEN with xxx=SET/CLR

1: Writing '1' disables the pclk4 and the kernel clock in CSleep; reading '1' means that the pck4 and the kernel clock are enabled in CSleep

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

10.8.159 RCC secure APB4 sleep peripheral enable set register (RCC_MP_S_APB4LPENSETR)

Address offset: 0x830

Reset value: 0x0000 0001

This is a secure register for enabling the clock of the LTDC when it is used with a secure composition layer. A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

ST logo
ST logo

10.8.160 RCC secure APB4 sleep peripheral enable clear register (RCC_MP_S_APB4LPENCLRR)

Address offset: 0x834

Reset value: 0x0000 0001

This is a secure register for disabling the clock of the LTDC when it is used with a secure composition layer. A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 0 LTDCLPEN: LTDC peripheral clocks enable during CSleep mode

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled

10.8.161 RCC non-secure APB4 sleep peripheral enable set register (RCC_MP_NS_APB4LPENSETR)

Address offset: 0x838

Reset value: 0x0000 0001

This is a non-secure register, for enabling the clock of the LTDC when it is used with one or two non-secure composition layers.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 0 LTDCLPEN: LTDC peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled

10.8.162 RCC non-secure APB4 sleep peripheral enable clear register (RCC_MP_NS_APB4LPENCLRR)

Address offset: 0x83C

Reset value: 0x0000 0001

This is a non-secure register, for disabling the clock of the LTDC when it is used with one or two non-secure composition layers.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 0 LTDCLPEN: LTDC peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled

10.8.163 RCC APB5 Sleep clock enable set register (RCC_MP_APB5LPENSETR)

Address offset: 0x840

Reset value: 0x0011 A900

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENCSTPENSTGENCLPENRes.Res.Res.BSECLPEN
rsrsrs
1514131211109876543210
IWDG1APBLPENRes.ETZPCLPENRes.TZCLPENRes.Res.RTCAPBLPENRes.Res.Res.Res.Res.Res.Res.Res.
rsrsrsrs
ST logo
ST logo

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

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

Bit 14 Reserved, must be kept at reset value.

10.8.164 RCC APB5 Sleep clock enable clear register (RCC_MP_APB5LPENCLRR)

Address offset: 0x844

Reset value: 0x0011 A900

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENCSTPENSTGENCLPENRes.Res.Res.BSECLPEN
rc_w1rc_w1rc_w1
1514131211109876543210
IWDG1APBLPENRes.ETZPCLPENRes.TZCLPENRes.Res.RTCAPBLPENRes.Res.Res.Res.Res.Res.Res.Res.
rc_w1rc_w1rc_w1rc_w1

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

Bit 21 STGENCSTPEN: STGEN controller part, peripheral clocks enable during CStop mode

If STGENC is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

The peripheral clocks of the STGEN controller part are the pclk5, and the kernel clock as selected by the RCC_STGENCKSELR register.

0: Writing '0' has no effect, reading '0' means that the pclk5 is disabled in CStop, and that the kernel clock gating is defined by RCC_MP_APB4LPENxxxR.STGENROSTPEN with xxx=SET/CLR

1: Writing '1' disables the pclk5 and the kernel clock in CStop; reading '1' means that the pck5 and the kernel clock are enabled in CStop

Bit 20 STGENCLPEN: STGEN controller part, peripheral clocks enable during CSleep mode

If STGENC is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

The peripheral clocks of the STGEN controller part are the pclk5, and the kernel clock as selected by the RCC_STGENCKSELR register.

0: Writing '0' has no effect, reading '0' means that the pclk5 is disabled in CSleep, and that the kernel clock gating is defined by RCC_MP_APB4LPENxxxR.STGENROLPEN with xxx=SET/CLR

1: Writing '1' disables the pclk5 and the kernel clock in CSleep; reading '1' means that the pck5 and the kernel clock are enabled in CSleep

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

Bit 16 BSECLPEN: BSEC peripheral clocks enable during CSleep mode

A write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 15 IWDG1APBLPEN: IWDG1 APB clock enable during CSleep mode

If IWDG1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the APB clock is disabled in CSleep

1: Writing '1' disables the APB clock in CSleep, reading '1' means that the APB clock is enabled in CSleep

Bit 14 Reserved, must be kept at reset value.

10.8.165 RCC APB6 sleep clock enable set register (RCC_MP_APB6LPENSETR)

Address offset: 0x848

Reset value: 0x0000 1FFF

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.TIM17LPENTIM16LPENTIM15LPENTIM14LPENTIM13LPENTIM12LPENI2C5LPENI2C4LPENI2C3LPENSPI5LPENSPI4LPENUSART2LPENUSART1LPEN
rsrsrsrsrsrsrsrsrsrsrsrsrs

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

Bit 12 TIM17LPEN: TIM17 peripherals clocks during CSleep mode

If TIM17 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' enables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 11 TIM16LPEN: TIM16 peripherals clocks during CSleep mode

If TIM16 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' enables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 10 TIM15LPEN: TIM15 peripherals clocks during CSleep mode

If TIM15 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' enables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 9 TIM14LPEN: TIM14 peripherals clocks during CSleep mode

If TIM14 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' enables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 8 TIM13LPEN: TIM13 peripherals clocks during CSleep mode

If TIM13 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' enables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 7 TIM12LPEN: TIM12 peripherals clocks during CSleep mode

If TIM12 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' enables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 6 I2C5LPEN: I2C5 peripherals clocks during CSleep mode

If I2C5 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' enables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 5 I2C4LPEN: I2C4 peripherals clocks during CSleep mode

If I2C4 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' enables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 4 I2C3LPEN: I2C3 peripherals clocks during CSleep mode

If I2C3 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' enables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 3 SPI5LPEN: SPI5 peripherals clocks during CSleep mode

If SPI5 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' enables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 2 SPI4LPEN: SPI4 peripherals clocks during CSleep mode

If SPI4 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' enables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 1 USART2LPEN: USART2 peripherals clocks during CSleep mode

If USART2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' enables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 0 USART1LPEN: USART1 peripherals clocks during CSleep mode

If USART1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' enables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

10.8.166 RCC APB6 sleep clock enable clear register (RCC_MP_APB6LPENCLRR)

Address offset: 0x84C

Reset value: 0x0000 1FFF

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.TIM17LPENTIM16LPENTIM15LPENTIM14LPENTIM13LPENTIM12LPENI2C5LPENI2C4LPENI2C3LPENSPI5LPENSPI4LPENUSART2LPENUSART1LPEN
rsrsrsrsrsrsrsrsrsrsrsrsrs

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

Bit 12 TIM17LPEN: TIM17 peripherals clocks during CSleep mode

If TIM17 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' disables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 11 TIM16LPEN: TIM16 peripherals clocks during CSleep mode

If TIM16 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' disables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 10 TIM15LPEN: TIM15 peripherals clocks during CSleep mode

If TIM15 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' disables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 9 TIM14LPEN: TIM14 peripherals clocks during CSleep mode

If TIM14 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' disables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 8 TIM13LPEN: TIM13 peripherals clocks during CSleep mode

If TIM13 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' disables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 7 TIM12LPEN: TIM12 peripherals clocks during CSleep mode

If TIM12 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' disables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 6 I2C5LPEN: I2C5 peripherals clocks during CSleep mode

If I2C5 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' disables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 5 I2C4LPEN: I2C4 peripherals clocks during CSleep mode

If I2C4 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' disables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 4 I2C3LPEN: I2C3 peripherals clocks during CSleep mode

If I2C3 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' disables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 3 SPI5LPEN: SPI5 peripherals clocks during CSleep mode

If SPI5 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' disables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 2 SPI4LPEN: SPI4 peripherals clocks during CSleep mode

If SPI4 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' disables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 1 USART2LPEN: USART2 peripherals clocks during CSleep mode

If USART2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' disables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

Bit 0 USART1LPEN: USART1 peripherals clocks during CSleep mode

If USART1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripherals clocks are disabled in CSleep

1: Writing '1' disables the peripherals clocks in CSleep, reading '1' means that the peripherals clocks are enabled in CSleep

10.8.167 RCC AHB2 Sleep clock enable set register
(RCC_MP_AHB2LPENSETR)

Address offset: 0x850

Reset value: 0x0000 017F

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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.USBOLPENRes.ADC2LPENADC1LPENDMAMUX2LPENDMA3LPENDMAMUX1LPENDMA2LPENDMA1LPEN
rsrsrsrsrsrsrsrs

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

Bit 8 USBOLPEN: USBO peripheral clocks enable during Sleep mode

If USBO is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 7 Reserved, must be kept at reset value.

Bit 6 ADC2LPEN: ADC2 peripheral clocks enable during Sleep mode

If ADC2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.168 RCC AHB2 Sleep clock enable clear register
(RCC_MP_AHB2LPENCLRR)

Address offset: 0x854

Reset value: 0x0000 017F

This register may be separately and securely write-protected at a field level depending on the secure state of the corresponding peripheral, i.e. depending on the corresponding DECPROT[1] field of the ETZPC register.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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.USBOLPENRes.ADC2LPENADC1LPENDMAMUX2LPENDMA3LPENDMAMUX1LPENDMA2LPENDMA1LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 8 USBOLPEN: USBO peripheral clocks enable during Sleep mode

If USBO is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 7 Reserved, must be kept at reset value.

Bit 6 ADC2LPEN: ADC2 peripheral clocks enable during Sleep mode

If ADC2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.169 RCC secure AHB4 Sleep clock enable set register (RCC_MP_S_AHB4LPENSETR)

Address offset: 0x868

Reset value: 0x0000 01FF

This is a secure register, for enabling the clock of the secure (AHB4) GPIO ports, as defined by the GPIO register file and more specifically the GPIOxSECCFGR.SECy control bit with x=A..I, and y = 0..15 (or 2 for x=I). A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 8 GPIOILPEN: GPIOI peripheral clocks enable during CSleep mode

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 7 GPIOHLPEN: GPIOH peripheral clocks enable during CSleep mode

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 6 GPIOGLPEN: GPIOG peripheral clocks enable during CSleep mode

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 5 GPIOFLPEN: GPIOF peripheral clocks enable during CSleep mode

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.170 RCC secure AHB4 Sleep clock enable clear register (RCC_MP_S_AHB4LPENCLRR)

Address offset: 0x86C

Reset value: 0x0000 01FF

This is a secure register, for disabling the clock of the secure (AHB4) GPIO ports, as defined by the GPIO register file and more specifically the GPIOxSECCFGR.SECy control bit with x=A..I, and y = 0..15 (or 2 for x=I). A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 8 GPIOILPEN: GPIOI peripheral clocks enable during CSleep mode

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 7 GPIOHLPEN: GPIOH peripheral clocks enable during CSleep mode

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 6 GPIOGLPEN: GPIOG peripheral clocks enable during CSleep mode

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 5 GPIOFLPEN: GPIOF peripheral clocks enable during CSleep mode

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.171 RCC non-secure AHB4 Sleep clock enable set register (RCC_MP_NS_AHB4LPENSETR)

Address offset: 0x870

Reset value: 0x0000 01FF

This is a non-secure register, for enabling the clock of the non-secure (AHB4) GPIO ports, as defined by the GPIO register file and more specifically the GPIOxSECCFGR.SECy control bit with x=A..I, and y = 0..15 (or 2 for x=I).

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 8 GPIOILPEN: GPIOI peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 7 GPIOHLPEN: GPIOH peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 6 GPIOGLPEN: GPIOG peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 5 GPIOFLPEN: GPIOF peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.172 RCC non-secure AHB4 Sleep clock enable clear register (RCC_MP_NS_AHB4LPENCLRR)

Address offset: 0x874

Reset value: 0x0000 01FF

This is a non-secure register, for disabling the clock of the non-secure (AHB4) GPIO ports, as defined by the GPIO register file and more specifically the GPIOxSECCFGR.SECy control bit with x=A..I, and y = 0..15 (or 2 for x=I).

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 8 GPIOILPEN: GPIOI peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 7 GPIOHLPEN: GPIOH peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 6 GPIOGLPEN: GPIOG peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 5 GPIOFLPEN: GPIOF peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.173 RCC AHB5 Sleep clock enable set register
(RCC_MP_AHB5LPENSETR)

Address offset: 0x878

Reset value: 0x0000 017C

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral.
Writing '0' has no effect, reading returns the effective values of the corresponding bits.
Writing a '1' sets the corresponding bit to '1'.

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.BKPSRAMLPENRes.RNG1LPENHASH1LPENCRYP1LPENSAESLPENPKALPENRes.Res.
rsrsrsrsrsrs

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

Bit 8 BKPSRAMLPEN: BKPSRAM clocks enable during CSleep mode

If BKPSRAM is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 7 Reserved, must be kept at reset value.

Bit 6 RNG1LPEN: RNG1 peripheral clocks enable during CSleep mode

If RNG1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 5 HASH1LPEN: HASH peripheral clocks enable during CSleep mode

If HASH is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 4 CRYP1LPEN: CRYP (3DES/AES) peripheral clocks enable during CSleep mode

If CRYP is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 3 SAESLPEN: SAES peripheral clocks enable during CSleep mode

If SAES is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 2 PKALPEN: PKA peripheral clocks enable during CSleep mode

If PKA is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

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

10.8.174 RCC AHB5 Sleep clock enable clear register (RCC_MP_AHB5LPENCLRR)

Address offset: 0x87C

Reset value: 0x0000 017C

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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.BKPSRAMLPENRes.RNG1LPENHASH1LPENCRYP1LPENSAESLPENPKALPENRes.Res.
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 8 BKPSRAMLPEN: BKPSRAM clocks enable during CSleep mode

If BKPSRAM is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 7 Reserved, must be kept at reset value.

Bit 6 RNG1LPEN: RNG1 peripheral clocks enable during CSleep mode

If RNG1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 5 HASH1LPEN: HASH peripheral clocks enable during CSleep mode

If HASH is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 4 CRYP1LPEN: CRYP (3DES/AES) peripheral clocks enable during CSleep mode

If CRYP is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 3 SAESLPEN: SAES peripheral clocks enable during CSleep mode

If SAES is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 2 PKALPEN: PKA peripheral clocks enable during CSleep mode

If PKA is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

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

10.8.175 RCC AHB6 Sleep clock enable set register (RCC_MP_AHB6LPENSETR)

Address offset: 0x880

Reset value: 0x7913 5782

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
ETH2STPENETH2MACLPENETH2RXLPENETH2TXLPENETH2CKLPENRes.Res.USBHLPENRes.Res.Res.CRC1LPENRes.Res.SDMMC2LPENSDMMC1LPEN
rsrsrsrsrsrsrsrsrs
1514131211109876543210
Res.QSPILPENRes.FMCLPENETH1STPENETH1MACLPENETH1RXLPENETH1TXLPENETH1CKLPENRes.Res.Res.Res.Res.MCCLPENRes.
rsrsrsrsrsrsrsrs
ST logo
ST logo

Bit 7 ETH1CKLPEN: Enable of the ETH1 clock generated by the RCC (eth1_ker_ck)

If ETH1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that eth1_ker_ck clock is disabled in CSleep

1: Writing '1' enables the eth1_ker_ck clock in CSleep, reading '1' means that the eth1_ker_ck clock is enabled in CSleep

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

Bit 1 MCELPEN: MCE peripheral clocks enable during CSleep mode

If MCE is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

Bit 0 Reserved, must be kept at reset value.

10.8.176 RCC AHB6 Sleep clock enable clear register (RCC_MP_AHB6LPENCLRR)

Address offset: 0x884

Reset value: 0x7913 5782

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
ETH2STPENETH2MACLPENETH2RXLPENETH2TXLPENETH2CKLPENRes.Res.USBHLPENRes.Res.Res.CRC1LPENRes.Res.SDMMC2LPENSDMMC1LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.QSPILPENRes.FMCLPENETH1STPENETH1MACLPENETH1RXLPENETH1TXLPENETH1CKLPENRes.Res.Res.Res.Res.MCCLPENRes.
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
ST logo
ST logo

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

Bit 0 Reserved, must be kept at reset value.

10.8.177 RCC secure AHB6 Sleep clock enable set register (RCC_MP_S_AHB6LPENSETR)

Address offset: 0x888

Reset value: 0x0000 0001

This is a secure register for enabling the clock of the MDMA in Sleep mode when it is used as secure. A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

ST logo
ST logo

10.8.178 RCC secure AHB6 Sleep clock enable clear register (RCC_MP_S_AHB6LPENCLRR)

Address offset: 0x88C

Reset value: 0x0000 0001

This is a secure register for disabling the clock of the MDMA in Sleep mode when it is not used as secure. A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 0 MDMALPEN: MDMA peripheral clocks enable during CSleep mode

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.179 RCC non-secure AHB6 Sleep clock enable set register (RCC_MP_NS_AHB6LPENSETR)

Address offset: 0x890

Reset value: 0x0000 0001

This is a non-secure register for enabling the clock of the MDMA in Sleep mode when it is not used as secure.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 0 MDMALPEN: MDMA peripheral clocks enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' enables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

ST logo
ST logo

10.8.180 RCC non-secure AHB6 Sleep clock enable clear register (RCC_MP_NS_AHB6LPENCLRR)

Address offset: 0x894

Reset value: 0x0000 0001

This is a non-secure register for disabling the clock of the MDMA in Sleep mode when it is not used as secure.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 0 MDMALPEN: MDMA peripheral clocks enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CSleep

1: Writing '1' disables the peripheral clocks in CSleep, reading '1' means that the peripheral clocks are enabled in CSleep

10.8.181 RCC secure AXI Sleep clock enable set register (RCC_MP_S_AXIMLPENSETR)

Address offset: 0x898

Reset value: 0x0000 0001

This is a secure register, for enabling the clock of the SYSRAM during CSleep mode. A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 0 SYSRAMLPEN: SYSRAM interface clock enable during CSleep mode

Set by (secure) software.

0: Writing '0' has no effect, reading '0' means that the memory interface clock is disabled in CSleep

1: Writing '1' enables the memory interface clock in CSleep, reading '1' means that the memory interface clock is enabled in CSleep

10.8.182 RCC secure AXI Sleep clock enable clear register
(RCC_MP_S_AXIMLPENCLRR)

Address offset: 0x89C

Reset value: 0x0000 0001

This is a secure register, for disabling the clock of the SYSRAM during CSleep mode. A write access to this register field must be secure. A read access may be secure or non-secure.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 0 SYSRAMLPEN: SYSRAM interface clock enable during CSleep mode

Cleared by (secure) software.

0: Writing '0' has no effect, reading '0' means that the memory interface is disabled in CSleep

1: Writing '1' disables the memory interface in CSleep, reading '1' means that the memory interface is enabled in CSleep

10.8.183 RCC non-secure AXI Sleep clock enable set register
(RCC_MP_NS_AXIMLPENSETR)

Address offset: 0x8A0

Reset value: 0x0000 0001

This is a non-secure register, for enabling the clock of the SYSRAM during CSleep mode.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral.
Writing '0' has no effect, reading returns the effective values of the corresponding bits.
Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 0 SYSRAMLPEN: SYSRAM interface clock enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the memory interface clock is disabled in CSleep

1: Writing '1' enables the memory interface clock in CSleep, reading '1' means that the memory interface clock is enabled in CSleep

10.8.184 RCC non-secure AXI Sleep clock enable clear register (RCC_MP_NS_AXIMLPENCLRR)

Address offset: 0x8A4

Reset value: 0x0000 0001

This is a non-secure register, for disabling the clock of the SYSRAM during CSleep mode.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 0 SYSRAMLPEN: SYSRAM interface clock enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the memory interface is disabled in CSleep

1: Writing '1' disables the memory interface in CSleep, reading '1' means that the memory interface is enabled in CSleep

10.8.185 RCC MLAHB Sleep clock enable set register (RCC_MP_MLAHBLPENSETR)

Address offset: 0x8A8

Reset value: 0x0000 0007

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used in order to set the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

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

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

Bit 2 SRAM3LPEN: SRAM3 interface clock enable during CSleep mode

If SRAM3 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the memory interface clock is disabled in CSleep

1: Writing '1' enables the memory interface clock in CSleep, reading '1' means that the memory interface is enabled in CSleep

Bit 1 SRAM2LPEN: SRAM2 interface clock enable during CSleep mode

If SRAM2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the memory interface clock is disabled in CSleep

1: Writing '1' enables the memory interface clock in CSleep, reading '1' means that the memory interface is enabled in CSleep

Bit 0 SRAM1LPEN: SRAM1 interface clock enable during CSleep mode

If SRAM1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Set by software.

0: Writing '0' has no effect, reading '0' means that the memory interface clock is disabled in CSleep

1: Writing '1' enables the memory interface clock in CSleep, reading '1' means that the memory interface is enabled in CSleep

10.8.186 RCC MLAHB Sleep clock enable clear register (RCC_MP_MLAHBLPENCLRR)

Address offset: 0x8AC

Reset value: 0x0000 0007

This register may be separately and securely write-protected at a field level, as detailed in the following register fields description.

This register is used in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

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

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

Bit 2 SRAM3LPEN: SRAM3 interface clock enable during CSleep mode

If SRAM3 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the memory interface clock is disabled in CSleep

1: Writing '1' disables the memory interface clock in CSleep, reading '1' means that the memory interface is enabled in CSleep

Bit 1 SRAM2LPEN: SRAM2 interface clock enable during CSleep mode

If SRAM2 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the memory interface clock is disabled in CSleep

1: Writing '1' disables the memory interface clock in CSleep, reading '1' means that the memory interface is enabled in CSleep

Bit 0 SRAM1LPEN: SRAM1 interface clock enable during CSleep mode

If SRAM1 is configured as secure via the corresponding DECPROT[1] field of the ETZPC register, a write access to this register field must be secure. A read access may be secure or non-secure.

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the memory interface clock is disabled in CSleep

1: Writing '1' disables the memory interface clock in CSleep, reading '1' means that the memory interface is enabled in CSleep

10.8.187 RCC APB3 peripheral secure state register (RCC_APB3SECSR)

Address offset: 0x8C0

Reset value: 0x0000 4003

This read register reflects at a bit level the secure state of each APB3 securable peripheral, as configured via the corresponding DECPROT[1] field of the ETZPC register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.VREFSECFRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LPTIM3SECFLPTIM2SECF
rrr

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

Bit 13 VREFSECF: VREF block secure status flag

This bit reflects the VREF block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

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

Bit 1 LPTIM3SECF: LPTIM3 block secure status flag

This bit reflects the LPTIM3 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

Bit 0 LPTIM2SECF: LPTIM2 block secure status flag

This bit reflects the LPTIM2 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

10.8.188 RCC APB4 peripheral secure state register (RCC_APB4SECSR)

Address offset: 0x8C4

Reset value: 0x0001 0002

This read register reflects at a bit level the secure state of each APB4 securable peripheral, as configured via the corresponding DECPROT[1] field of the ETZPC register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USBPHYSECF
r
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DCMIPPSECFRes.
r

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

Bit 16 USBPHYSECF: USBPHY block secure status flag

This bit reflects the USBPHY block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

0: peripheral is non-secure

1: peripheral is secure

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

Bit 1 DCMIPPSECF: DCMIPP block secure status flag

This bit reflects the DCMIPP block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

0: peripheral is non-secure

1: peripheral is secure

Bit 0 Reserved, must be kept at reset value.

10.8.189 RCC APB5 peripheral secure state register (RCC_APB5SECSR)

Address offset: 0x8C8

Reset value: 0x0031 A800

This read register reflects at a bit level the secure state of each APB5 secure or securable peripheral, as configured either via the corresponding DECPROT[1] field of the ETZPC register or via the TrustZone-aware peripheral itself.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENCSECF[1:0]Res.Res.Res.BSECSECF
rrr
1514131211109876543210
IWDG1SECFRes.ETZPCSECFRes.TZCSECFRes.Res.RTCSECFRes.Res.Res.Res.Res.Res.Res.Res.
rrrr

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

Bits 21:20 STGENCSECF[1:0]: STGENC block secure status flag

This field reflects the STGENC block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

00: peripheral is non-secure

11: peripheral is secure

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

Bit 16 BSECSECF: BSEC block secure status flag

This bit reflects the BSEC block secure state.

0: peripheral is non-secure

1: peripheral is secure

Bit 15 IWDG1SECF: IWDG1 block secure status flag

This bit reflects the IWDG1 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

0: peripheral is non-secure

1: peripheral is secure

Bit 14 Reserved, must be kept at reset value.

Bit 13 ETZPCSECF: ETZPC block secure status flag

This bit reflects the ETZPC block secure state.

0: peripheral is non-secure

1: peripheral is secure

Bit 12 Reserved, must be kept at reset value.

Bit 11 TZCSECF: TZC block secure status flag

This bit reflects the TZC block secure state.

0: peripheral is non-secure

1: peripheral is secure

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

Bit 8 RTCSECF: RTC block secure status flag

This bit reflects the RTC block secure state. If at least one function of the RTC is configured as secure via the RTC_SECCFGR register (i.e. if the input signal rtc_sec driven by RTC is asserted), this bit is asserted.

0: peripheral is non-secure (default)

1: peripheral is secure (at least one RTC sub-function)

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

10.8.190 RCC APB6 peripheral secure state register (RCC_APB6SECSR)

Address offset: 0x8CC

Reset value: 0x0000 1FFF

This read register reflects at a bit level the secure state of each APB6 securable peripheral, as configured via the corresponding DECPROT[1] field of the ETZPC register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.TIM17SECFTIM16SECFTIM15SECFTIM14SECFTIM13SECFTIM12SECFI2C5SECFI2C4SECFI2C3SECFSPI5SECFSPI4SECFUSART2SECFUSART1SECF
rrrrrrrrrrrrr

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

Bit 12 TIM17SECF: TIM17 block secure status flag

This bit reflects the TIM17 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

0: peripheral is non-secure

1: peripheral is secure

Bit 11 TIM16SECF: TIM16 block secure status flag

This bit reflects the TIM16 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

0: peripheral is non-secure

1: peripheral is secure

Bit 10 TIM15SECF: TIM15 block secure status flag

This bit reflects the TIM15 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

0: peripheral is non-secure

1: peripheral is secure

Bit 9 TIM14SECF: TIM14 block secure status flag

This bit reflects the TIM14 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

0: peripheral is non-secure

1: peripheral is secure

10.8.191 RCC AHB2 peripheral secure state register (RCC_AHB2SECSR)

Address offset: 0x8D0

Reset value: 0x0000 0178

This read register reflects at a bit level the secure state of each AHB2 securable peripheral, as configured via the corresponding DECPROT[1] field of the ETZPC register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.USBOSECFRes.ADC2SECFADC1SECFDMAMUX2SECFDMA3SECFRes.Res.Res.
rrrrr

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

Bit 8 USBOSECF: USBO block secure status flag

This bit reflects the USBO block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

Bit 7 Reserved, must be kept at reset value.

Bit 6 ADC2SECF: ADC2 block secure status flag

This bit reflects the ADC2 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

Bit 5 ADC1SECF: ADC1 block secure status flag

This bit reflects the ADC1 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

Bit 4 DMAMUX2SECF: DMAMUX2 block secure status flag

This bit reflects the DMAMUX2 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

Bit 3 DMA3SECF: DMA3 block secure status flag

This bit reflects the DMA3 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

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

10.8.192 RCC AHB5 peripheral secure state register (RCC_AHB5SECSR)

Address offset: 0x8D8

Reset value: 0x0000 017C

ST logo
ST logo

This read register reflects at a bit level the secure state of each AHB5 securable peripheral, as configured via the corresponding DECPROT[1] field of the ETZPC register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.BKPSRAMSECFRes.RNG1SECFHASH1SECFCRYP1SECFSAESSECFPKASECFRes.Res.
rrrrrr

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

Bit 8 BKPSRAMSECF: BKPSRAM block secure status flag

This bit reflects the BKPSRAM block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

Bit 7 Reserved, must be kept at reset value.

Bit 6 RNG1SECF: RNG1 block secure status flag

This bit reflects the RNG1 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

Bit 5 HASH1SECF: HASH1 block secure status flag

This bit reflects the HASH1 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

Bit 4 CRYP1SECF: CRYP1 block secure status flag

This bit reflects the CRYP1 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

Bit 3 SAESSECF: SAES block secure status flag

This bit reflects the SAES block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

Bit 2 PKASECF: PKA block secure status flag

This bit reflects the PKA block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

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

10.8.193 RCC AHB6 peripheral secure state register (RCC_AHB6SECSR)

Address offset: 0x8DC

Reset value: 0xF803 5F82

This read register reflects at a bit level the secure state of each AHB6 securable peripheral, as configured via the corresponding DECPROT[1] field of the ETZPC register.

31302928272625242322212019181716
ETH2SECF[4:0]Res.Res.Res.Res.Res.Res.Res.Res.Res.SDMMC2SECFSDMMC1SECF
rrrrrrr
1514131211109876543210
Res.QSPISECFRes.FMCSECFETH1SECF[4:0]Res.Res.Res.Res.Res.MCSECFRes.
rrrrrrrr

Bits 31:27 ETH2SECF[4:0]: ETH2 block secure status flag

This field reflects the ETH2 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

00000: peripheral is non-secure

11111: peripheral is secure

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

Bit 17 SDMMC2SECF: SDMMC2 block secure status flag

This bit reflects the SDMMC2 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

0: peripheral is non-secure

1: peripheral is secure

Bit 16 SDMMC1SECF: SDMMC1 block secure status flag

This bit reflects the SDMMC1 block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

0: peripheral is non-secure

1: peripheral is secure

Bit 15 Reserved, must be kept at reset value.

Bit 14 QSPISECF: QSPI block secure status flag

This bit reflects the QSPI block secure state, as configured via the corresponding DECPROT[1] field of the ETZPC register.

0: peripheral is non-secure

1: peripheral is secure

Bit 13 Reserved, must be kept at reset value.

10.8.194 RCC Version register (RCC_VERR)

Address offset: 0xFF4

Reset value: 0x0000 0020

This register gives the IP version

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

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

Bits 7:4 MAJREV[3:0]: Major Revision of the IP

Bits 3:0 MINREV[3:0]: Minor Revision of the IP

10.8.195 RCC ID register (RCC_IDR)

Address offset: 0xFF8

Reset value: 0x0000 0001

This register gives the unique identifier of the RCC

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

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

10.8.196 RCC Size ID register (RCC_SIDR)

Address offset: 0xFFC

Reset value: 0xA3C5 DD04

This register gives the decoding space, which is for the RCC of 4 kB.

31302928272625242322212019181716
SID[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
SID[15:0]
rrrrrrrrrrrrrrrr
Bits 31:0 SID[31:0] : Decoding space is 4 kbytes

10.9 RCC register map

Table 74. RCC register map and reset values

RM0475 STOP2controlled by the PDDS bit and the STOP2 bit in PDDSPower control (PWR) PWR MPU control register System operation mode
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 191817 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
S C M P U E
S S C H E E
R S T S E C
C O2 S C M E
C O1S C M E
L12 S C P L E
S C PWR E
S C P L L 4 E
S C P L L 3 E
S S C L E E
SIS C H E
SIS C L E
S C MLA H B E
C S C P E R E
C SIS C E
S S C T P E
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
G3 S C TIM E
XIS C A E
A P B 6 DIV S E C
S C A P B 5 DIV E
S C A P B 4 DIV E
S C A P B 3 DIV E
Reset value 1 1 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 1 1
0x0FC ReservedRes.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S Q T P R E P 0 _
Reset value0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S Q T P R E P 0 _
Reset value0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
C R D T L E N
Reset value1 1 1 1 1 1 1 0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
C S M T M P K P
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
S S S M P Y R T
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value0

Table 74. RCC register map and reset values (continued)

RM0475 STOP2controlled by the PDDS bit and the STOP2 bit in PDDSPower control (PWR) PWR MPU control register System operation mode
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 019 18 17 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
G2 S IWD R T F
G1R S IWD T F
C S S S H R T F
O S P R R T F
O S B R R T F
S P A D R T F
S S S M P Y R T F
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
C O S V R E R T F
C S V P U R T F
Reset value00 0010101
G2 S IWD R T F
G1R S IWD T F
O S P R R T F
C S S S H R T F
O S B R R T F
S P A D R T F
S S S M P Y R T F
C S S T D B Y R T F
S S T P 2 R T F
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s .
R e s.
R e s.
S S T D B Y R T F
S P A R E
C S V P U R T F
C O S V R E R T F
Reset value0 0 0 0 0 0 0 0 0 0 0 0 0
G2 S IWD R T F
G1R S IWD T F
S S S M P Y R T F
C S S S H R T F
O S P R R T F
S P A D R T F
S S T P 2 R T F
O S B R R T F
C S S T D B Y R T F
S P A R E
S S T D B Y R T F
R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. Re s.R e s. R e s. R e s. R e s. R e s . R e s. R e s.
C O S V R E R T F
C S V P U R T F
Reset value0 0 0 0 0 0 0 0 0 0 0 0 0
G2 _IWD F Z
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
G1 _IWD F Z
Reset value00
G2 _IWD F Z
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
G1 _IWD F Z
Reset value00
- ReservedRes.
S H E R D YIE
S C S SIE L E
SIR H D YIE
P L L 4 D YIE
P L L 3 D YIE
P L L 2 D YIE
L1D P L YIE
S L E R D YIE
SIR L D YIE
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
C SIR D YIE
WK U PIE
Reset value 00 0 0 0 0 0 0 0 0 0
S H E R D YF
S L E R D YF
SIR H D YF
SIR L D YF
S C S S L E F
P L L 4 D YF
P L L 3 D YF
P L L 2 D YF
L1D P L YF
C SIR D YF
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
WK U P F
Reset value 00 0 0 0 0 0 0 0 0 0
0x3FC ReservedRes.

Table 74. RCC register map and reset values (continued)

OffsetRegister NameRegister Positioncolumn_4column_5column_6column_7column_8column_9column_10RM0475
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 18 17 16 151413 12 1 1 109 8 765 4321 0
R T C S R C[1:0]
S L E D R V[1:0]
S C S S O L E N
C C R T K E N
S C S S L E D
0x400RCC_BDCRSWR S V T
S L E R D Y
S L E B Y P
DIG B Y P
S O L E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value0 0 0 00 01 0 0 0 0 0
E A D LY[2:0]
SIR L D Y
SIO L N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
RCC_RDLSICRSPARE[4:0] MRD[4:0]
0x404
0x408 -Reset value0 0 0 0 0 0 0 0 0 0 0 0 00 0
0x41CReservedRes.
S O H E K E R N
S C S S O H E N
SIK O H E R N
C SIK O E R N
S H E B Y P
DIG B Y P
S O H E N
SIO H N
0x420RCC_OCENSETRC SIO N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value0 0 0 0 00 00 1
S O H E K E R N
SIK O H E R N
C SIK O E R N
S H E B Y P
DIG B Y P
S O H E N
SIO H N
0x424RCC_OCENCLRRC SIO N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value0 0 0 00 00 1
C M P U K R D Y
SIDIV H R D Y
RCC_OCRDYRXIC A K R D Y
S H E R D Y
SIR H D Y
C SIR D Y
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0x42C-Reset value0 00000
0x43CReservedRes.SIDIV[1:0]
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0x440R e s.
RCC_HSICFGRHSICAL[11:0]HSITRIM[6:0]
Reset value0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 0 00 0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0x444R e s.
RCC_CSICFGRCSICAL[7:0]CSITRIM[4:0]
0x448 -Reset value0 0 0 0 0 0 0 01 0 0 0 0
0x45CReservedRes.
ST logo
ST logo

Table 74. RCC register map and reset values (continued)

RM0475 STOP2controlled by the PDDS bit and the STOP2 bit in PDDSPower control (PWR) PWR MPU control register System operation mode
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 1817 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
C O1S M E L[2:0]
C O1DIV[3:0] M
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
O1O C M N
Reset value0 0 0 0 0 0 0 0
C O2 DIV[3:0] M
C O2 S M E L[2:0]
O2O C M N
R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R 0x464e s.R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.
Reset value0 0 0 0 0 0 0 0
G S D B R T
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
G C D B K E N
C T R A E DIV[2:0]
C C T R A E K E N
Reset value0 0 0 0 0 1
- ReservedRes.
S C P L L 2 R R D Y
L1S C[1:0] P L R
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0x480R e s.
Reset value 100
S C P L L 3 R R D Y
S C[1:0] P L L 3 R
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0x484R e s.
Reset value 100
S C P L L 4 R R D Y
S C[1:0] P L L 4 R
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0x488R e s.
Reset value 100
- ReservedRes.
RM0475 Rev5929/3742

Table 74. RCC register map and reset values (continued)

Offset Register Namecolumn_2column_3column_4column_5column_6column_7Register PositionRM0475
313 02 92 82 72 6 2 5 2 4 2 3 2 2 21 2 0 19 18 17 161514 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
P L L1R D Y
Q DIV E N
S S C G C T RL _
DIV R E N
DIV P E N
LO P L N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
RCC_PLL1CR 0x4A0R e s.
Reset value000 000
RCC_PLL1CFGR1DIVM1[5:0]DIVN[8:0]
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0x4A4R e s.
Reset value0 0 0 0 0 10 0 0 1 1 0 0 0 1
RCC_PLL1CFGR2DIVR[6:0]DIVQ[6:0] DIVP[6:0]
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0x4A8R e s.
Reset value0 0 0 0 0 0 10 0 0 0 0 0 1 0 0 0 0 0 0 0
CL F R A E
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0x4ACR e s. FRACV[12:0]
RCC_PLL1CSGRINC_STEP[14:0]MOD_PER[12:0]
DIS R P D F N _
R e s.
O S S C G M D E _
DIS T P D F N _
Reset value 0x4B40 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
- Reserved 0x4CCRes.
P L L 2 R D Y
DIV P E N
LO P L N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S S C G C T RL _
Q DIV E N
DIV R E N
RCC_PLL2CR 0x4D0R e s.
Reset value000 000
RCC_PLL2CFGR1DIVM2[5:0]DIVN[8:0]
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0x4D4R e s.
Reset value0 0 0 0 0 10 0 1 1 0 0 0 1 1
RCC_PLL2CFGR2DIVR[6:0]DIVQ[6:0] DIVP[6:0]
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0x4D8R e s.
Reset value0 0 0 0 0 0 10 0 0 0 0 0 1 0 0 0 0 0 0 1
CL F R A E
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0x4DCR e s. FRACV[12:0]
RCC_PLL2CSGRINC_STEP[14:0]MOD_PER[12:0]
DIS R P D F N _
R e s.
O S S C G M D E _
DIS T P D F N _
ST logo
ST logo

Table 74. RCC register map and reset values (continued)

RM0475 STOP2controlled by the PDDS bit and the STOP2 bit in PDDSPower control (PWR) PWR MPU control register System operation mode
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 221 2 0 19 18 17 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
- ReservedRes.
P L L 3R D Y
S S C G C T RL _
Q DIV E N
DIV R E N
DIV P E N
LO P L N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value000 000
RCC_PLL3CFGR1DIVM3[5:0] DIVN[8:0]
G IF R E[1:0]
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 0 00 0 0 0 0 1 0 0 0 1 1 0 0 0 1
RCC_PLL3CFGR2 R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.DIVR[6:0] R e s. DIVQ[6:0] R e s. DIVP[6:0]
Reset value 0 0 0 0 0 0 10 0 0 0 0 0 1 0 0 0 0 0 0 1
CL F R A E
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
RCC_PLL3CSGR INC_STEP[14:0]MOD_PER[12:0]
DIS R P D F N _
R e s.
O S S C G M D E _
DIS T P D F N _
0x51C ReservedRes.
P L L 4 R D Y
S S C G C T RL _
DIV R E N
LO P L N
Q DIV E N
DIV P E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value000 000
RCC_PLL4CFGR1DIVM4[5:0] DIVN[8:0]
G IF R E[1:0]
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 0 00 0 0 0 0 1 0 0 0 1 1 0 0 0 1
RCC_PLL4CFGR2DIVR[6:0] DIVQ[6:0] DIVP[6:0]
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0
CL F R A E
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.

Table 74. RCC register map and reset values (continued)

RM0475 STOP2controlled by the PDDS bit and the STOP2 bit in PDDSPower control (PWR) PWR MPU control register System operation mode
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 18 1716 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
RCC_PLL4CSGR INC_STEP[14:0]MOD_PER[12:0]
DIS R P D F N _
O S S C G M D E _
R e s.
DIS T P D F N _
0x53F ReservedRes.
S C M P U R R D Y
S C[1:0] M P U R
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 100
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
XIS S C A R R D Y
XIS S C[2:0] A R
Reset value 1000
S S C MLA H B R R D Y
S S C[2:0] MLA H B R
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 100
C S C[1:0] K P E R R
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value00
0x55C ReservedRes.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
M P U DIV R D Y
M P U DIV[3:0]
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 10001
ST logo
ST logo

Table 74. RCC register map and reset values (continued)

RM0475 STOP2controlled by the PDDS bit and the STOP2 bit in PDDSPower control (PWR) PWR MPU control register System operation mode
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 18 1716 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0 A XIDIV[2:0]
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
A XIDIV R D
Reset value 1000
MLA H B DIV R D Y
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0x56C MLAHBDIVRV[3:0]
Reset value 10000
A P B1DIV R D Y
R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. Re s.R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.
A P B1DIV[2:0]
Reset value 1000
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
A P B 2 DIV R D Y
A P B 2 DIV[2:0]
Reset value 1000
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
A P B 3 DIV R D Y
A P B 3 DIV[2:0]
Reset value 1000
A P B 4 DIV R D Y
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
A P B 4 DIV[2:0]
Reset value 1000
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
A P B DIV R D Y 5
A P B DIV[2:0] 5
Reset value 1000
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
A P B 6 DIV R D Y
A P B 6 DIV[2:0]
Reset value 1000

Table 74. RCC register map and reset values (continued)

RM0475 STOP2controlled by the PDDS bit and the STOP2 bit in PDDSPower control (PWR) PWR MPU control register System operation mode
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 18 1716 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
0x59C ReservedRes.
G1P TIM R E R D Y
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
G1P TIM R E
Reset value 10
G2 TIM P R E R D Y
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
G2 TIM P R E
Reset value 10
G3 TIM P R E R D Y
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
G3 TIM P R E
Reset value 10
- ReservedRes.
C O S D D R R E R T
D P H Y R S T
C S D D R A XIR T
C S D D R A P B R T
S D P H Y A P B R T
D P H Y C T LR S T
C G K E R D D LY[2:0] _
_WID T H[2:0] D FIL P
G S C K P T RL
C O D D R K M D[2:0]
D D R P H Y CL P E N
C D D R A P B E N
C1L D D R P E N
R e s.
R e s.
C D D R P H Y A P B E N
C D D R A P B L P E N
C D D R P H Y A P B L P E N
G S K P D U R[3:0] _
C D D R P H Y E N
G S O K P M D
C1E D D R N
C G A XID E N
Reset value 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 1 0 0 0 0 0 0 1 01 0
- ReservedRes.
I2C12 S C[2:0] R
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
I2C5 S C[2:0] R
I2C S C[2:0] 4 R
I2C3 S C[2:0] R
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
ST logo
ST logo

Table 74. RCC register map and reset values (continued)

OffsetRegister NameReset ValueOffset
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 1817 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
S PI1S C[2:0] RRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
S S C[2:0] PI2 3 RRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
S S C[2:0] PI5 RRCC_
S S C[2:0] PI4 RRCC_
S C[2:0] U A R T 2 RRCC_
T1S C[2:0] U A R RRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
S C[2:0] U A R T 3 R 5RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
S C[2:0] U A R T 4 RRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
S C[2:0] U A R T 6 RRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_

Table 74. RCC register map and reset values (continued)

OffsetRegister NameReset ValueOffset
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 1817 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0RCC_
S C[2:0] U A R T 8 R 7RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
TIM1S C[2:0] L P RRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
S C[2:0] L P TIM3 RRCC_
S C[2:0] L P TIM2 RRCC_
S C[2:0] L P TIM4 R 5RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
S AI1S C[2:0] RRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
S S C[2:0] AI2 RRCC_
C S C[1:0] F D A N RRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
ST logo
ST logo

Table 74. RCC register map and reset values (continued)

OffsetRegister NameReset ValueOffset
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 1817 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
S S C[1:0] P DIF RRCC_
Reset value00RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
C2 S C[1:0] A D RRCC_
C1S C[1:0] A D RRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
S C2 S C[2:0] D M M RRCC_
S C1S C[2:0] D M M RRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
E T H 2 P T P DIV[3:0]RCC_
H1P DIV[3:0] E T T PRCC_
S C[1:0] E T H 2 RRCC_
H1S C[1:0] E T RRCC_
Reset value0 0 0 0 0 0 0 0 0 0 0 0RCC_
S O S C U B RRCC_
S S C[1:0] U B P H Y RRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Reset value0 00RCC_
Q S PIS C[1:0] RRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Reset value00RCC_
C S C[1:0] FM RRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_

Table 74. RCC register map and reset values (continued)

RM0475 STOP2controlled by the PDDS bit and the STOP2 bit in PDDSPower control (PWR) PWR MPU control register System operation mode
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 18 1716 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
G1S C[1:0] R N R
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value00
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S G S C[1:0] T E N R
Reset value00
C S C[1:0] D MIP P R
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value00
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S S S C[1:0] A E R
Reset value00
0x69C ReservedRes.
I2C2 S R T
I2C1R S T
S 3R S U A R T T
S L P TIM1R T
U A R T 8R S T
S U A R T 7R T
S U A R T R T 5
S U A R T 4 R T
S S P DIF R T
S PI3R S T
S S PI2 R T
S TIM7R T
S TIM6R T
S TIM5 R T
S TIM4 R T
S TIM3R T
S TIM2 R T
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0
S 3R S U A R T T
I2C2 S R T
I2C1R S T
S L P TIM1R T
U A R T 8R S T
S U A R T 7R T
S U A R T R T 5
S U A R T 4 R T
S S P DIF R T
S PI3R S T
S S PI2 R T
S TIM7R T
S TIM6R T
S TIM5 R T
S TIM4 R T
S TIM3R T
S TIM2 R T
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0
C S F D A N R T
S S U A R T 6R T
S S D F D M R T
S S AI2 R T
S S AI1R T
S PI1R S T
S TIM8R T
S TIM1R T
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 0 0 0 00 0 0 0

Table 74. RCC register map and reset values (continued)

OffsetRegister NameReset ValueOffset
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 1817 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0RCC_
C S F D A N R TRCC_
S S U A R T 6R TRCC_
S S D F D M R TRCC_
S S AI2 R TRCC_
S S AI1R TRCC_
S PI1R S TRCC_
S TIM8R TRCC_
S TIM1R TRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Reset value 0 00 0 0 0 0 0RCC_
S L P TIM5 R TRCC_
S L P TIM4 R TRCC_
S L P TIM3R TRCC_
S L P TIM2 R TRCC_
S S D T R TRCC_
S S C FG S Y R TRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
S V R E F R TRCC_
Reset value0 0 0 0 0 0 0RCC_
S S D T R TRCC_
S L P TIM5 R TRCC_
S L P TIM4 R TRCC_
S L P TIM3R TRCC_
S L P TIM2 R TRCC_
S S C FG S Y R TRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
S V R E F R TRCC_
Reset value0 0 0 0 0 0 0RCC_
S D D R P E R FM R TRCC_
S S U B P H Y R TRCC_
C S D MIP P R TRCC_
C S L T D R TRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Reset value0 0 0 0RCC_
S S U B P H Y R TRCC_
S D D R P E R FM R TRCC_
C S D MIP P R TRCC_
C S L T D R TRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Reset value0 0 0 0RCC_
S G S T E N R TRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
S G S T E N R TRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s .RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
I2C5 S R TRCC_
I2C S 4 R TRCC_
I2C3R S TRCC_
S S U A R T 2 R TRCC_
S S U A R T1R TRCC_
S S PI5 R TRCC_
S S PI4 R TRCC_
TIM17R S TRCC_
S TIM16R TRCC_
S TIM15 R TRCC_
S TIM14 R TRCC_
TIM13R S TRCC_
S TIM12 R TRCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Re s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
R e s.RCC_
Reset value0 0 0 0 0 0 0 0 0 0 0 0 0RCC_

Table 74. RCC register map and reset values (continued)

OffsetRegister NameRegister Position
313029282726252423222120191817161514131211109876543210
0x6CCRCC_
APB6RSTCLRR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIM17RSTTIM16RSTTIM15RSTTIM14RSTTIM13RSTTIM12RSTI2C5RSTI2C4RSTI2C3RSTSPI5RSTSPI4RSTUSART2RSTUSART1RST
Reset value0000000000000
0x6D0RCC_
AHB2RSTSETR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USBORSTRes.ADC2RSTADC1RSTDMAMUX2RSTDMA3RSTDMAMUX1RSTDMA2RSTDMA1RST
Reset value00000000
0x6D4RCC_
AHB2RSTCLRR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USBORSTRes.ADC2RSTADC1RSTDMAMUX2RSTDMA3RSTDMAMUX1RSTDMA2RSTDMA1RST
Reset value00000000
0x6D8-
0x6DC
ReservedRes.
0x6E0RCC_
AHB4RSTSETR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.GPIOIRSTGPIOHRSTGPIOGRSTGPIOFRSTGPIOERSTGPIODRSTGPIOCRSTGPIOBRSTGPIOARST
Reset value000000000
0x6E4RCC_
AHB4RSTCLRR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.GPIOIRSTGPIOHRSTGPIOGRSTGPIOFRSTGPIOERSTGPIODRSTGPIOCRSTGPIOBRSTGPIOARST
Reset value000000000
0x6E8RCC_
AHB5RSTSETR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.AXIMCRSTRes.Res.Res.Res.Res.Res.Res.Res.Res.RNG1RSTHASH1RSTCRYP1RSTSAESRSTPKARSTRes.Res.
Reset value000000
0x6ECRCC_
AHB5RSTCLRR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.AXIMCRSTRes.Res.Res.Res.Res.Res.Res.Res.Res.RNG1RSTHASH1RSTCRYP1RSTSAESRSTPKARSTRes.Res.
Reset value000000

Table 74. RCC register map and reset values (continued)

Note: • • • • • • ResourcePeripherals clusters AHB4/APB3 communication interfaces. AHB2/APB1-APB2-APB6 AHB5 APB5 AHB6/APB4 Debug Memory map overview Table 1 resource. Cortex- A7DMA1 / DMA2 / DMA3De- bugger. Figure 1MDMA SDMMC1,2 OTG_HSCoreSight™ infrastructure.RM0475 USBH / ETH1,2 / DCMIPP / LTDC
31 3 0 2 9 2 8 2 72 6 2 5 2 42 3 2 2 21 2 019 18 17 1615 14 13 12 1 110 9 8 7 65 4 3 2 1 0
C S E T H 2M A R T
C S E T H M A R T
S S U B H R T
C S M E R T
S M D M A R T
C S FM R T
S C2 S D M M R T
S C1R S D M M T
C C1R S R T
Q S S PIR T
RCC_R RCC_ R
RCC_R e s.
RCC_R e s.
RCC_Re s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
RCC_R e s.
0x6F0 AHB6RSTSETRe s
Reset value0000 00 000 0
Reset valueC S FM R T
Reset valueC S E T H 2M A R T
Reset valueC S E T H M A R T
Reset valueS M D M A R T
Reset valueS S U B H R T
Reset valueC S M E R T
Reset valueC C1R S R T
Reset valueS C2 S D M M R T
Reset valueS C1R S D M M T
Reset valueQ S S PIR T
RCC_R RCC_ R
AHB6RSTCLRR 0x6F4e R e s. R e s. R se s. R e s. R e s.R e s. R e s. R e s.R e s. R e s.R e s. R e s. R e s.R e s. R e s. R e s. R e s.R e s. R e s. R e s. R e s.
Reset value 0x6F8-0000 00 000 0
0x6FC ReservedRes.
0x6FC ReservedI2C2 E N
0x6FC ReservedS 3 U A R T E N
0x6FC ReservedR e s.
0x6FC ReservedR e s.
0x6FC ReservedR e s.
0x6FC ReservedR e s.
0x6FC ReservedRe s.
0x6FC ReservedR e s.
0x6FC ReservedR e s.
0x6FC ReservedR e s.
0x6FC ReservedR e s.
0x6FC ReservedR e s.
0x6FC ReservedR e s.
0x6FC ReservedR e s.
0x6FC ReservedR e s.
0x6FC ReservedR e s.
0x6FC ReservedL P TIM1E N
0x6FC ReservedU A R T 8 E N
0x6FC ReservedU A R T 7 E N
0x6FC ReservedU A R T E N 5
0x6FC ReservedU A R T 4 E N
0x6FC ReservedS P DIF E N
0x6FC ReservedS PI3 E N
0x6FC ReservedS PI2 E N
0x6FC ReservedTIM7 E N
0x6FC ReservedTIM6 E N
0x6FC ReservedTIM5 E N
0x6FC ReservedTIM4 E N
0x6FC ReservedTIM3 E N
0x700RCC_MP_ APB1ENSETRI2C1E NTIM2 E N
0x700R e s.
Reset value00 00 0 0 0 00 000 0 0 0 0 0
Reset valueI2C2 E N
Reset valueU A R T 8 E N
Reset valueU A R T 7 E N
Reset valueU A R T E N 5
Reset valueU A R T 4 E N
Reset valueS 3 U A R T E N
Reset valueL P TIM1E N
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueRe s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueS P DIF E N
Reset valueS PI3 E N
Reset valueS PI2 E N
Reset valueTIM7 E N
Reset valueTIM6 E N
Reset valueTIM5 E N
Reset valueTIM4 E N
Reset valueTIM3 E N
0x704RCC_MP_ APB1ENCLRRI2C1E NTIM2 E N
0x704R e s.
Reset value00 00 0 0 0 00 000 0 0 0 0 0
Reset valueC F D A N E N
Reset valueS U A R T 6 E N
Reset valueS D F D M E N
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueRe s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueS AI2 E N
Reset valueS AI1E N
Reset valueS PI1E N
Reset valueTIM8 E N
Reset valueRCC_MP_S A D F D M E NTIM1E N
Reset value00 00 0000 0
Reset valueC F D A N E N
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueRe s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueS U A R T 6 E N
Reset valueS D F D M E N
Reset valueS AI2 E N
Reset valueS AI1E N
Reset valueS PI1E N
Reset valueTIM8 E N
0x70CRCC_MP_ APB2ENCLRRS A D F D M E NTIM1E N
Reset value00 00 0000 0
Reset valueH D P E N
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueRe s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueL P TIM5 E N
Reset valueL P TIM4 E N
Reset valueL P TIM3 E N
Reset valueL P TIM2 E N
Reset valueS D T E N
Reset valueRCC_MP_ APB3ENSETRV R E F E N
Reset value0000 0 0 0
Reset valueH D P E N
Reset valueS D T E N
Reset valueL P TIM5 E N
Reset valueL P TIM4 E N
Reset valueL P TIM3 E N
Reset valueL P TIM2 E N
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueRe s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueR e s.
Reset valueRCC_MP_ APB3ENCLRRV R E F E N
Reset value0000 0 0 0

Table 74. RCC register map and reset values (continued)

RM0475 STOP2controlled by the PDDS bit and the STOP2 bit in PDDSPower control (PWR) PWR MPU control register System operation mode
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 18 1716 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S S C FG Y E N
Reset value0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S S C FG Y E N
Reset value0
R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. Re s. R e s. R e s. R e s . R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.
S S C FG Y E N
Reset value0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S S C FG Y E N
Reset value0
D D R P E R FM E N
G2A IWD P B E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S U B P H Y E N
C D MIP P E N
S G O T E N R E N
Reset value 00 0 0 0
G2A IWD P B E N
S U B P H Y E N
C D MIP P E N
D D R P E R FM E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S G O T E N R E N
Reset value 00 0 0 0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
C L T D E N
Reset value0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
C L T D E N
Reset value0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
C L T D E N
Reset value0
ST logo
ST logo

Table 74. RCC register map and reset values (continued)

RM0475 STOP2controlled by the PDDS bit and the STOP2 bit in PDDSPower control (PWR) PWR MPU control register System operation mode
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 191817 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
C L T D E N
Reset value0
G1A IWD P B E N
C R T A P B E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
C E T Z P E N
S C B E E N
S G C T E N E N
C T Z E N
Reset value 00 0 0 0 0
G1A IWD P B E N
C R T A P B E N
C E T Z P E N
S C B E E N
R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.Re s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.
S G C T E N E N
C T Z E N
Reset value 00 0 0 0 0
I2C5 E N
I2C 4 E N
I2C3 E N
S U A R T 2 E N
S U A R T1E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
S PI5 E N
S PI4 E N
TIM17 E N
TIM16 E N
TIM15 E N
TIM14 E N
TIM13 E N
TIM12 E N
Reset value0 0 0 0 0 0 0 0 0 0 0 0 0
I2C5 E N
I2C 4 E N
I2C3 E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
S U A R T 2 E N
S U A R T1E N
S PI5 E N
S PI4 E N
TIM17 E N
TIM16 E N
TIM15 E N
TIM14 E N
TIM13 E N
TIM12 E N
Reset value0 0 0 0 0 0 0 0 0 0 0 0 0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S O U B E N
D M A M U X2 E N
D M A M U X1E N
D M A3 E N
D M A2 E N
D M A1E N
C2 A D E N
C1E A D N
Reset value0 0000000
D M A M U X2 E N
D M A M U X1E N
S O U B E N
D M A3 E N
D M A2 E N
D M A1E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
C2 A D E N
C1E A D N
Reset value0 0000000
0x764 ReservedRes.
G PIO E E N
G PIO B E N
G PIO A E N
G PIOIE N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
G PIO G E N
G PIO H E N
G PIO D E N
G PIO C E N
G PIOF E N
Reset value000000000

Table 74. RCC register map and reset values (continued)

OffsetRegister NameReset ValueOffset
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 1817 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0RCC_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
Re s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
G PIO E E NRCC_MP_S_
G PIO B E NRCC_MP_S_
G PIO A E NRCC_MP_S_
G PIOF E NRCC_MP_S_
G PIOIE NRCC_MP_S_
G PIO G E NRCC_MP_S_
G PIO H E NRCC_MP_S_
G PIO D E NRCC_MP_S_
G PIO C E NRCC_MP_S_
Reset value000000000RCC_MP_S_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
Re s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
G PIO E E NRCC_MP_NS_
G PIO B E NRCC_MP_NS_
G PIO A E NRCC_MP_NS_
G PIOF E NRCC_MP_NS_
G PIOIE NRCC_MP_NS_
G PIO G E NRCC_MP_NS_
G PIO H E NRCC_MP_NS_
G PIO D E NRCC_MP_NS_
G PIO C E NRCC_MP_NS_
Reset value000000000RCC_MP_NS_
R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. Re s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.RCC_MP_NS_
G PIO E E NRCC_MP_NS_
G PIO B E NRCC_MP_NS_
G PIO A E NRCC_MP_NS_
G PIOIE NRCC_MP_NS_
G PIOF E NRCC_MP_NS_
G PIO G E NRCC_MP_NS_
G PIO H E NRCC_MP_NS_
G PIO D E NRCC_MP_NS_
G PIO C E NRCC_MP_NS_
Reset value000000000RCC_MP_NS_
S H1E H A NRCC_MP_NS_
G1E R N NRCC_MP_NS_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
Re s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
S B K P R A M E NRCC_MP_
P K A E NRCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
C R Y P1E NRCC_MP_
S S A E E NRCC_MP_
C A XIM E NRCC_MP_
Reset value0 0 0 0 0 0 0RCC_MP_
S H1E H A NRCC_MP_
S B K P R A M E NRCC_MP_
G1E R N NRCC_MP_
P K A E NRCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
Re s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
C R Y P1E NRCC_MP_
S S A E E NRCC_MP_
C A XIM E NRCC_MP_
Reset value0 0 0 0 0 0 0RCC_MP_
2 E T H T X E NRCC_MP_
H1T E T X E NRCC_MP_
C FM E NRCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
Re s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
E T H 2 R X E NRCC_MP_ R
2C E T H K E NRCC_MP_ R
E T H1R X E NRCC_MP_ R
H1C E T K E NRCC_MP_ R
C E T H 2M A E NRCC_MP_ R
C E T H1M A E NRCC_MP_ R
S U B H E NRCC_MP_ R
C M E E NRCC_MP_ R
C C1E R NRCC_MP_ R
Q S PIE NRCC_MP_ R
S C2 D M M E NRCC_MP_ R
S C1E D M M NRCC_MP_ R
0x780 AHB6ENSETR eRCC_MP_ R
Reset value 0 0 0 0 0 00 0 0 0 0 0 0 0 0RCC_MP_ R
E T H 2 R X E NRCC_MP_ R
2C E T H K E NRCC_MP_ R
E T H1R X E NRCC_MP_ R
H1C E T K E NRCC_MP_ R
2 E T H T X E NRCC_MP_ R
H1T E T X E NRCC_MP_ R
C FM E NRCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
Re s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
R e s.RCC_MP_ R
C E T H 2M A E NRCC_MP_ R
C E T H1M A E NRCC_MP_ R
S U B H E NRCC_MP_ R
C M E E NRCC_MP_ R
C C1E R NRCC_MP_ R
Q S PIE NRCC_MP_ R
S C2 D M M E NRCC_MP_ R
S C1E D M M NRCC_MP_ R
0x784 AHB6ENCLRR eRCC_MP_ R
Reset value 0 0 0 0 0 00 0 0 0 0 0 0 0 0RCC_MP_ R
M D M A E NRCC_MP_ R
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
Re s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
M D M A E NRCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
Re s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
ST logo
ST logo

Table 74. RCC register map and reset values (continued)

OffsetRegister NameReset ValueOffset
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 1817 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0RCC_MP_S_
M D M A E NRCC_MP_S_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
Re s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
Reset value0RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
Re s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
M D M A E NRCC_MP_NS_
Reset value0RCC_MP_NS_
0x7FC ReservedRes.RCC_MP_NS_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
U A R T 8 L P E NRCC_MP_
U A R T 7 L P E NRCC_MP_
U A R T L P E N 5RCC_MP_
U A R T 4 L P E NRCC_MP_
I2C2 L P E NRCC_MP_
I2C1L P E NRCC_MP_
S 3 U A R T L P E NRCC_MP_
L P TIM1L P E NRCC_MP_
S P DIF L P E NRCC_MP_
S PI3 L P E NRCC_MP_
S PI2 L P E NRCC_MP_
TIM7 L P E NRCC_MP_
TIM6 L P E NRCC_MP_
TIM5 L P E NRCC_MP_
TIM4 L P E NRCC_MP_
TIM3 L P E NRCC_MP_
TIM2 L P E NRCC_MP_
Reset value 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1RCC_MP_
I2C2 L P E NRCC_MP_
I2C1L P E NRCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
U A R T 8 L P E NRCC_MP_
U A R T 7 L P E NRCC_MP_
U A R T L P E N 5RCC_MP_
U A R T 4 L P E NRCC_MP_
S 3 U A R T L P E NRCC_MP_
L P TIM1L P E NRCC_MP_
S P DIF L P E NRCC_MP_
S PI3 L P E NRCC_MP_
S PI2 L P E NRCC_MP_
TIM7 L P E NRCC_MP_
TIM6 L P E NRCC_MP_
TIM5 L P E NRCC_MP_
TIM4 L P E NRCC_MP_
TIM3 L P E NRCC_MP_
TIM2 L P E NRCC_MP_
Reset value 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1RCC_MP_
S U A R T 6 L P E NRCC_MP_
C F D A N L P E NRCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
Re s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
S D F D ML P E NRCC_MP_
S AI2 L P E NRCC_MP_
S AI1L P E NRCC_MP_
S PI1L P E NRCC_MP_
TIM8 L P E NRCC_MP_
TIM1L P E NRCC_MP_
S A D F D ML P E NRCC_MP_
Reset value 1 1 11 1 1 1 1 1RCC_MP_
C F D A N L P E NRCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
Re s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
S U A R T 6 L P E NRCC_MP_
S D F D ML P E NRCC_MP_
S AI2 L P E NRCC_MP_
S AI1L P E NRCC_MP_
S PI1L P E NRCC_MP_
TIM8 L P E NRCC_MP_
TIM1L P E NRCC_MP_
S A D F D ML P E NRCC_MP_
Reset value 1 1 11 1 1 1 1 1RCC_MP_
L P TIM5 L P E NRCC_MP_
L P TIM4 L P E NRCC_MP_
L P TIM3 L P E NRCC_MP_
L P TIM2 L P E NRCC_MP_
S D T L P E NRCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
Re s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
V R E F L P E NRCC_MP_
Reset value1 1 1 1 1 1 1RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
Re s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
L P TIM5 L P E NRCC_MP_
L P TIM4 L P E NRCC_MP_
L P TIM3 L P E NRCC_MP_
L P TIM2 L P E NRCC_MP_
S D T L P E NRCC_MP_
V R E F L P E NRCC_MP_
Reset value1 1 1 1 1 1 1RCC_MP_
RM0475 Rev 5945/3742RCC_MP_

Table 74. RCC register map and reset values (continued)

OffsetReset Value
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 18 1716 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S S C FGL Y P E N
Reset value1
R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.
S S C FGL Y P E N
Reset value1
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S S C FGL Y P E N
Reset value1
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S S C FGL Y P E N
Reset value1
G2A IWD P B L P E N
S U B P H YL P E N
RCC_MP_R
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
C D MIP P L P E N
D D R P E R FML P E N
S G O S T E N R T P E N
S G OL T E N R P E NR
0x828 APB4LPENSETRe
Reset value 0 11 1 1 1
D D R P E R FML P E N
G2A IWD P B L P E N
RCC_MP_R
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S U B P H YL P E N
C D MIP P L P E N
S G OL T E N R P E N
S G O S T E N R T P E NR
0x82C APB4LPENCLRRe
Reset value 0 11 1 1 1
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
CL L T D P E N
Reset value1
ST logo
ST logo

Table 74. RCC register map and reset values (continued)

OffsetRegister NameReset ValueOffset
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 1817 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0RCC_MP_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
Re s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
R e s.RCC_MP_S_
CL L T D P E NRCC_MP_S_
Reset value1RCC_MP_S_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
Re s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
CL L T D P E NRCC_MP_NS_
Reset value1RCC_MP_NS_
CL L T D P E NRCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
Re s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
R e s.RCC_MP_NS_
Reset value1RCC_MP_NS_
C R T A P B L P E NRCC_MP_NS_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
Re s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
G1A IWD P B L P E NRCC_MP_
CL E T Z P P E NRCC_MP_
S CL B E P E NRCC_MP_
S G CL T E N P E NRCC_MP_
S G C S T E N T P E NRCC_MP_
CL T Z P E NRCC_MP_
Reset value 0 11 1 1 1 1RCC_MP_
G1A IWD P B L P E NRCC_MP_
C R T A P B L P E NRCC_MP_
CL E T Z P P E NRCC_MP_
S CL B E P E NRCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
Re s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
S G C S T E N T P E NRCC_MP_
S GL CL T P E N P E NRCC_MP_
CL T Z P E NRCC_MP_
Reset value 0 11 1 1 1 1RCC_MP_
I2C5 L P E NRCC_MP_
I2C 4 L P E NRCC_MP_
I2C3 L P E NRCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
Re s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
S U A R T 2 L P E NRCC_MP_
S U A R T1L P E NRCC_MP_
S PI5 L P E NRCC_MP_
S PI4 L P E NRCC_MP_
TIM17 L P E NRCC_MP_
TIM16 L P E NRCC_MP_
TIM15 L P E NRCC_MP_
TIM14 L P E NRCC_MP_
TIM13 L P E NRCC_MP_
TIM12 L P E NRCC_MP_
Reset value1 1 1 1 1 1 1 1 1 1 1 1 1RCC_MP_
I2C5 L P E NRCC_MP_
I2C 4 L P E NRCC_MP_
I2C3 L P E NRCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
Re s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
R e s.RCC_MP_
S U A R T 2 L P E NRCC_MP_
S U A R T1L P E NRCC_MP_
S PI5 L P E NRCC_MP_
S PI4 L P E NRCC_MP_
TIM17 L P E NRCC_MP_
TIM16 L P E NRCC_MP_
TIM15 L P E NRCC_MP_
TIM14 L P E NRCC_MP_
TIM13 L P E NRCC_MP_
TIM12 L P E NRCC_MP_

Table 74. RCC register map and reset values (continued)

RM0475 STOP2controlled by the PDDS bit and the STOP2 bit in PDDSPower control (PWR) PWR MPU control register System operation mode
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 019 18 17 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
D M A M U X2 L P E N
D M A M U X1L P E N
S OL U B P E N
D M A3 L P E N
D M A2 L P E N
D M A1L P E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
C2 A D L P E N
C1L A D P E N
Reset value1 1111111
S OL U B P E N
D M A M U X2 L P E N
D M A M U X1L P E N
D M A3 L P E N
D M A2 L P E N
D M A1L P E N
R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. Re s.R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.
C2 A D L P E N
C1L A D P E N
Reset value1 1111111
0x864 ReservedRes.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
G PIOF L P E N
G PIO E L P E N
G PIO B L P E N
G PIO AL P E N
G PIO GL P E N
G PIO H L P E N
G PIO D L P E N
G PIO CL P E N
G PIOIL P E N
G PIOF L P E N
G PIO GL P E N
G PIO H L P E N
G PIO D L P E N
G PIO CL P E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
G PIO E L P E N
G PIO B L P E N
G PIO AL P E N
G PIOIL P E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
G PIOF L P E N
G PIO E L P E N
G PIO B L P E N
G PIO AL P E N
G PIOIL P E N
G PIO GL P E N
G PIO H L P E N
G PIO D L P E N
G PIO CL P E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
G PIO E L P E N
G PIO B L P E N
G PIO AL P E N
G PIOF L P E N
G PIO H L P E N
G PIO D L P E N
G PIO CL P E N
G PIO GL P E N
G PIOIL P E N
S B K P R A ML P E N
S H1L H A P E N
G1L R N P E N
P K AL P E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
C R Y P1L P E N
S S A E L P E N
Reset value1 11111

Table 74. RCC register map and reset values (continued)

RM0475 STOP2controlled by the PDDS bit and the STOP2 bit in PDDSPower control (PWR) PWR MPU control register System operation mode
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 18 1716 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
S H1L H A P E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S B K P R A ML P E N
G1L R N P E N
P K AL P E N
R e s.
R e s.
S S A E L P E N
C R Y P1L P E N
Reset value1 11111
E T H 2 R XL P E N
2C E T H K L P E N
E T H1R XL P E N
H1C E T K L P E N
S E T H 2 T P E N
CL FM P E N
2 E T H T XL P E N
H1T E T XL P E N
CL E T H 2M A P E N
CL E T H1M A P E N
S U B H L P E N
C M E L P E N
R e s. R e s. R e s. R e s. R e s. R e s. R e s.R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.
S C2 D M M L P E N
S C1L D M M P E N
C C1L R P E N
Q S PIL P E N
Reset value 0 1 1 1 1 1 1 1 11 1 1 1 1 1 0
S U B H L P E N
E T H 2 R XL P E N
2C E T H K L P E N
E T H1R XL P E N
H1C E T K L P E N
CL FM P E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
2 E T H T XL P E N
H1T E T XL P E N
CL E T H 2M A P E N
CL E T H1M A P E N
S E T H 2 T P E N
C M E L P E N
C C1L R P E N
Q S PIL P E N
S C2 D M M L P E N
S C1L D M M P E N
Reset value 0 1 1 1 1 1 1 1 11 1 1 1 1 1 0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
M D M AL P E N
Reset value1
M D M AL P E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value1
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
M D M AL P E N
Reset value1
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
M D M AL P E N
Reset value1

Table 74. RCC register map and reset values (continued)

RM0475 STOP2controlled by the PDDS bit and the STOP2 bit in PDDSPower control (PWR) PWR MPU control register System operation mode
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 18 1716 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S S Y R A ML P E N
Reset value1
R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. Re s.R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.
S S Y R A ML P E N
Reset value1
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S S Y R A ML P E N
Reset value1
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S S Y R A ML P E N
Reset value1
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S R A M3 L P E N
S R A M2 L P E N
S R A M1L P E N
Reset value111
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S R A M3 L P E N
S R A M2 L P E N
S R A M1L P E N
Reset value111
- ReservedRes.
S C L P TIM3 E F
S C L P TIM2 E F
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S C V R E F E F
Reset value1 1 1
ST logo
ST logo

Table 74. RCC register map and reset values (continued)

RM0475 STOP2controlled by the PDDS bit and the STOP2 bit in PDDSPower control (PWR) PWR MPU control register System operation mode
31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 191817 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
S S C U B P H Y E F
C S C D MIP P E F
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value1 1
G1S C IWD E F
C S C R T E F
S C S C B E E F
C S C E T Z P E F
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S G C S C T E N E F[1:0]
C S C T Z E F
Reset value 1 11 1 1 1 0
I2C5 S C E F
I2C S C 4 E F
I2C3 S C E F
S S C U A R T 2 E F
S T1S C U A R E F
S S C PI5 E F
S S C PI4 E F
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
TIM17 S C E F
S C TIM16 E F
S C TIM15 E F
S C TIM14 E F
TIM13 S C E F
S C TIM12 E F
S C D M A M U X2 E F
S O S C U B E F
S C D M A3 E F
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
C2 S C A D E F
C1S C A D E F
Reset value1 1111
0x8D4 ReservedRes.
S H1S C H A E F
S S C B K P R A M E F
G1S C R N E F
S C P K A E F
C P1S C R Y E F
S S S C A E E F
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value1 11111
C S C M E E F
C S C FM E F
2 S C F[4:0] E T H E
H1S C F[4:0] E T E
S C2 S C D M M E F
S C1S C D M M E F
Q S PIS C E F
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 1 1 1 1 11 1 1 1 1 1 1 1 1 1
- ReservedRes.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0xFF43:0] :0]

Table 74. RCC register map and reset values (continued)

OffsetRegister NameRegister Position
313029282726252423222120191817161514131211109876543210
0xFF8RCC_IDRID[31:0]
Reset value00000000000000000000000000000001
0xFFCRCC_SIDRSID[31:0]
Reset value10100011110001011101110100000100

Refer to Section 2.5 on page 153 for the register boundary addresses.