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: PWR 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) and 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 and vsw_rst. Two reset sources are coming from pads: NRST and NRST_CORE. The RCC also receives resets from various other sources: watchdogs, MCU, 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 processors 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 showing: NRST and NRST_CORE input pads; Reset Control block divided into VDD Domain (blue), Vsw Domain (yellow), and VDDCORE Domain (gray); Register Interface & Control block; Clock Manager Unit (CMU); Clock generation section with OSC32_IN/OUT (LSE/CSS), OSC_IN/OUT (HSE/CSS), LSI, HSI, CSI, I2S_CKIN inputs; PLL1, PLL2, PLL3, PLL4 blocks with pre-dividers (/DIVM) and post-dividers (/DIVP, /DIVQ, /DIVR); clock distribution via MPUDIV, AXISSCD, MCUSSCD; multiplexers; PKCS (Peripheral Kernel Clock Selection) and PCKE (Peripheral Clocks Enable); connections to peripherals, AHB/APB buses, MPU, MCU, DDR, and GPU; and control signal interfaces with PWR, IWDGx, MCU, WWDG1, DAP, BSEC, MREPAIR, NVIC, GIC, and TAMP (RTC).
A detailed block diagram of the Reset and Clock Control (RCC) unit showing: NRST and NRST_CORE input pads; Reset Control block divided into VDD Domain (blue), Vsw Domain (yellow), and VDDCORE Domain (gray); Register Interface & Control block; Clock Manager Unit (CMU); Clock generation section with OSC32_IN/OUT (LSE/CSS), OSC_IN/OUT (HSE/CSS), LSI, HSI, CSI, I2S_CKIN inputs; PLL1, PLL2, PLL3, PLL4 blocks with pre-dividers (/DIVM) and post-dividers (/DIVP, /DIVQ, /DIVR); clock distribution via MPUDIV, AXISSCD, MCUSSCD; multiplexers; PKCS (Peripheral Kernel Clock Selection) and PCKE (Peripheral Clocks Enable); connections to peripherals, AHB/APB buses, MPU, MCU, DDR, and GPU; and control signal interfaces with PWR, IWDGx, MCU, WWDG1, DAP, BSEC, MREPAIR, NVIC, GIC, and TAMP (RTC).

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 49 lists the RCC signals connected to pads or balls.

Table 49. 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/I2S, SAI, and DFSDM
ETH_TX_CLKIExternal clock TX provided by the Ethernet PHY for MII
ETH_RX_CLK/
ETH_REF_CLK
IExternal clock RX provided by the Ethernet PHY for MII, RMII, GMII and RGMII
ETH_CLKOClock output for external Ethernet PHY
ETH_CLK125IExternal clock RX provided by the Ethernet PHY for GMII and RGMII
GTX_CLKOClock output for external Ethernet PHY

10.3 RCC functional description - reset part

There are several sources able to generate a reset:

The coverage (or scope) of the resets differs according to the source initiating the reset. However the following categories can be distinguished:

10.3.1 The power-on/off resets

The PWR block provides some reset signals to the RCC:

As shown in Figure 47, the signal provided by the PWR block, indicating that the \(V_{DDCORE}\) is valid (OKIN_MR_V33out), is used by the RCC in order to trigger the hardware system initialization sequence and the memory repair. Refer to Section 3: Boot and security and OTP control (BSEC) for details. When this initialization sequence is completed, then the vcore_rst is released allowing the processors to start.

Refer to Table 50: Reset coverage summary for details.

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

10.3.2 The application and system resets

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

A System reset (nreset) is generated from one of the following sources:

Note: When the system is in Standby, the \(V_{DDCORE}\) is switched off, but \(V_{DD}\) is still present. So when the system exits from Standby, the vcore_rst signal is activated, generating a nreset reset.

As shown in Figure 47, the NRST pad is activated by:

A programmable reset pulse control (RPCTL) allows the application to define a minimum pulse width for the assertion of the NRST pad. Note that 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. Note that app_rst and nreset are also impacted by this function. For details on RPCTL refer to Section 10.3.10: Reset pulse control (RPCTL).

Note: It is not recommended to let the NRST and NRST_CORE pins unconnected. When it is not used, connect these pins to ground via a capacitor of 10 to 100 nF.

Figure 47. Reset circuit overview

Reset circuit overview block diagram showing RCC - Reset Control with VDD domain, VDDCORE domain, Vsw domain, logic controls, external resets (NRST, NRST_CORE), MCU, IWDG1, IWDG2, PWR, DAP, MREPAIR, and BSEC blocks.
Reset circuit overview block diagram showing RCC - Reset Control with VDD domain, VDDCORE domain, Vsw domain, logic controls, external resets (NRST, NRST_CORE), MCU, IWDG1, IWDG2, PWR, DAP, MREPAIR, and BSEC blocks.

10.3.3 The local resets

The local resets are the resets which do not directly affect both processors. Here is the list of the most important local resets:

not go to Standby due to the mode of the MCU. Refer to Section 9: Power control (PWR) for details.

10.3.4 Resets generated by the CPUs

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


Warning: It is recommended to set the MCU in CSleep before performing a MCU reset via MCURST bit.


Note: Setting the bit 2 of AIRCR register located into the MCU, activates the SYSRESETREQ signal. This reset is named MCSYSRST in this document.

Note: The SYSRESETREQ signal is connected to both EXTI and GIC allowing the MPU to receive a wakeup event and an interrupt when the MCU generates a MCSYSRST request.

The MPU will be reset either by a system reset (nreset) or by a CStandby local reset (cstby_rst).

10.3.5 Watchdog reset

Three watchdogs are provided to the application:

The WWDG1 can generate a MCU local reset if it not acknowledged in the expected time-window. In addition an interrupt can be generated to the MPU via the EXTI block. Refer to Section 48.2: IWDG main features for details.

The IWDG1 and IWDG2 generate a system reset when a timeout occurs.

10.3.6 Backup domain reset

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

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

10.3.7 Coresight debug reset

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

10.3.8 Option bytes loading

The option bytes configuration and the memory repair sequences are triggered every time the app_rst or the vcore_rst are activated (i.e. after an application reset, or when the system exits from Standby).

10.3.9 Peripheral reset

The application can reset individually any peripherals whenever it is requested. This can be done by both processors via registers named RCC_xxxxRSTSETR and RCC_xxxxRSTCLRR, "xxxx" is the bus name where the peripheral is connected.

Note that when the secure mode is enabled, only secure accesses can reset the peripherals connected to APB5.

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

For some peripherals such as the GPU, the reset process may take several clock cycles, for that purpose, the application can read-back the reset bit (i.e. GPURST for GPU) in order to check if the reset process is on-going or completed.

For other peripherals, it is up to the application to assert and release the peripheral reset (respectively via RCC_xxxxRSTSETR, and RCC_xxxxRSTCLRR registers).

10.3.10 Reset pulse control (RPCTL)

The RPCTL allows the application to control the minimum activation time of the NRST PAD. This feature is particularly helpful because some external devices may request a specific duration for the activation of the NRST. In addition the reset pulse generated by the IWDGx or WWDG, may be too short for external devices.

The RPCTL is located into the \(V_{DD}\) 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_RDL SICR).

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 48 shows simplified timing diagrams.

Figure 48. Reset pulse control

Timing diagram for reset pulse control showing cmd_pad_rst, RPCTL_lsi_ck, RPCTL_cnt, and NRST signals. It illustrates the reset duration calculation as T_LSI_SU + MRD x 1ms.

The diagram illustrates the timing relationship between the reset command and the resulting NRST signal. It consists of two parts. In the top part, cmd_pad_rst is a short high pulse. RPCTL_lsi_ck is a gray bar starting after a delay \(T_{LSI\_SU}\) from the rising edge of cmd_pad_rst. RPCTL_cnt is a register where the value MRD is loaded. The NRST signal goes low at the rising edge of cmd_pad_rst and remains low for a duration of \(T_{LSI\_SU} + MRD \times 1ms\) before returning high. The bottom part shows a longer cmd_pad_rst pulse. The RPCTL_lsi_ck and RPCTL_cnt behavior is similar. The NRST signal goes low at the rising edge of cmd_pad_rst and remains low for the programmed duration \(T_{LSI\_SU} + MRD \times 1ms\), even if cmd_pad_rst remains high. The RPCTL_lsi_ck signal returns high after the NRST signal has returned high.

Timing diagram for reset pulse control showing cmd_pad_rst, RPCTL_lsi_ck, RPCTL_cnt, and NRST signals. It illustrates the reset duration calculation as T_LSI_SU + MRD x 1ms.

MSv46573V1

10.3.11 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 49. 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 MSv46574V1 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 a 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 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.12 Reset coverage summary

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

Note: It is assumed that when VDD is not valid, VDDCORE is not valid as well.

Table 50. Reset coverage summary (1)
Reseted functionsReset lines
por_rst (2)vcore_rst (3)app_rst (4)nresetcstby_rstmpup1_rstmpup0_rstmcu_rstdbg_rstnbsec_rstnPERxRSTnreset_vsw
VDD domainx-----------
DDR ITF.xxxxx-------
MPU processor 0xxxxx-x-----
MPU processor 1xxxxxx------
MCU and WWDG1xxxx---x----
AXI/AHB Interconnections.xxxx--------
Debug components, including DBGMCU
Reset all the debug parts including the ones located into the MPU core except the SWJ-DP function. The SWJ-DP is reset by the nTRST or vcore_rst resets.
xxx-----x---
IWDG[2:1]x-x---------
Hardware system init.
It includes the reload of the option bytes, and the memory repair.
xxxx-----x--
RCCRCC_MP_BOOTCRx-x---------
RCC_BR_RSTSCLRR, RCC_MC_RSTSCLRRx-----------
RCC_MP_IWDGFZSETRxxxxx-------
RCC_RDLSICRx-----------
RCC_BDCR-----------x
RCC_MP_GCRxxxx--------
Other RCC registersxxxx--------
PWRPWR_CR2-----------x
PWR_CR3x-----------
PWR_MPUCR, PWR_MCUCR
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_MPUWKUPENR, PWR_MCUWKUPENRx-x---------
Other registersxxxx--------
RTC-----------x
Table 50. Reset coverage summary (continued)(1)
Reseted functionsReset lines
por_rst (2)vcore_rst (3)app_rst (4)nresetcstby_rstmpup1_rstmpup0_rstmcu_rstdbg_rstnbsec_rstnPERxRSTnreset_vsw
BKPSRAM and RETRAM
After a reset of the VSW domain, the backup regulator of the BKPSRAM and RETRAM are disabled, this function is controlled via the PWR block, BREN and RREN bits.
If the nreset_vsw reset is due to a too low VSW voltage, the content of BKPSRAM and RETRAM is lost.
-----------X
Other PeripheralsXXXX------X-
  1. 1. The 'x' means that the function is reset by the corresponding reset line, the '-' means that the function is not reset by the corresponding reset line.
  2. 2. When por_rst is asserted, the vcore_rst, the nreset, the app_rst, the bsec_rst, the mcu_rst are asserted as well.
  3. 3. When vcore_rst is asserted, the nreset, the bsec_rst, the mcu_rst the dbg_rst are asserted as well.
  4. 4. When app_rst is asserted, the nreset, the bsec_rst, the mcu_rst are asserted as well.

Reset of the RCC registers

Table 51 lists registers having bits into a voltage domain different from VDDCORE. As a consequence some of those registers are not always reset by nreset. The RCC registers not shown in Table 51 are reset by the system reset (nreset).

Table 51. RCC registers with specific reset and specific voltages
RCC register nameVoltage domainReset conditionComment
RCC_MP_BOOTCRVDDapp_rstShall be reset after a System reset, but not after Standby
RCC_OCENSETR,
RCC_OCENCLRR,
RCC_OCRDYR,
RCC_HSICFGR,
RCC_CSICFGR
nreset-
RCC_BR_RSTSCLRRpor_rstOnly reset when a VDD is removed
RCC_MC_RSTSCLRR
RCC_RDLSICR
RCC_BDCRVSWnreset_vsw-

10.3.13 Reset source identification

The RCC offers four registers in order to identify the root cause of resets:

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

The register RCC_MP_RSTSCLRR is dedicated to the MPU applications, and the register RCC_MC_RSTSCLRR is dedicated to the MCU applications.

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

Figure 50. Reset source registers

Diagram illustrating the Reset source registers. It shows the interaction between the Register Map and Physical registers. The Register Map includes RCC_MC_RSTSCLRR (Dedicated to MCU Applications), RCC_BR_RSTSCLRR (Dedicated to BOOTROM usage), RCC_MP_RSTSSETR (Dedicated to BOOTROM usage), and RCC_MP_RSTSCLRR (Dedicated to MPU Applications). The Physical registers include RCC_MC_RSTS, RCC_BR_RSTS, and RCC_MP_RSTS. Arrows indicate 'Set bits' from HW Blocks to Physical registers, 'Read-back' from Physical registers to Register Map, and 'Clear bits' from Register Map to Physical registers.

The diagram illustrates the Reset source registers, showing the interaction between the Register Map and Physical registers. The Register Map includes four registers: RCC_MC_RSTSCLRR (Dedicated to MCU Applications), RCC_BR_RSTSCLRR (Dedicated to BOOTROM usage), RCC_MP_RSTSSETR (Dedicated to BOOTROM usage), and RCC_MP_RSTSCLRR (Dedicated to MPU Applications). The Physical registers include RCC_MC_RSTS, RCC_BR_RSTS, and RCC_MP_RSTS. Arrows indicate the flow of data: 'Set bits' from the RCC HW Block to the Physical registers, 'Read-back' from the Physical registers to the Register Map, and 'Clear bits' from the Register Map to the Physical registers.

Diagram illustrating the Reset source registers. It shows the interaction between the Register Map and Physical registers. The Register Map includes RCC_MC_RSTSCLRR (Dedicated to MCU Applications), RCC_BR_RSTSCLRR (Dedicated to BOOTROM usage), RCC_MP_RSTSSETR (Dedicated to BOOTROM usage), and RCC_MP_RSTSCLRR (Dedicated to MPU Applications). The Physical registers include RCC_MC_RSTS, RCC_BR_RSTS, and RCC_MP_RSTS. Arrows indicate 'Set bits' from HW Blocks to Physical registers, 'Read-back' from Physical registers to Register Map, and 'Clear bits' from Register Map to Physical registers.

MSv50817V1

The BOOTROM will use 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 BOOTROM code will update the RCC_MP_RSTSCLRR register after every system reset, power-on reset or exit from Standby and CStandby. More precisely, the BOOTROM 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. On its side, the MCU can check and clear the reset sources by reading the RCC_MC_RSTSCLRR register. Each CPU can reset the flags of their own registers.

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

Table 52. Reset source identification (RCC_MP/MC/BR_RSTSCLRR, and PWR)(1)

#Situations Generating a ResetHCSSRSTFWWDG1RSTFIWDG2RSTFIWDG1RSTFCSTDBYRSTF(2)STDBYRSTF(2)MCSYSRSTFMPUP1RSTF(3)MPUP0RSTF(3)MPSYSRSTFPORRSTFBORRSTFVCORERSTFPADRSTFMCURSTF
1Power-on reset (por_rst)000000000010111
2Brownout reset (bor_rst)000000000001011
3Pad reset from NRST000000000000011
4System reset generated by MCU (MCSYSRST), when system reset is allowed by the option byte OTP_MCU_SYSRST_EN.000000100000011
Local reset generated by MCU (MCSYSRST), when system reset is not allowed by the option byte OTP_MCU_SYSRST_EN.000000000000001
5System reset generated by MPU (MPSYSRST)000000000100011
6MCU reset by MPU (MCURST)000000000000001
7System exits from Standby000001000000000
8MPU exits from CStandby000010000000000
9MPU processor 0 reset generated by the MPU000000001000000
10MPU processor 1 reset generated by the MPU000000010000000
11WWDG1 reset (wwdg1_out_rst)010000000000001
12IWDG1 reset (iwdg1_out_rst)000100000000011
13IWDG2 reset (iwdg2_out_rst)001000000000011
14Reset due to a failure of VDDCORE or assertion of NRST_CORE000000000000100
15Reset due to a clock failure on HSE100000000000011
  1. The bit status at '1' is highlighted in gray.
  2. Those bits are located into the CC_MP_RSTSCLRR and RCC_MP_RSTSSETR registers. The BOOTROM 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).
  3. Bits MPUP[1:0]RSTF are not available into the RCC_MC_RSTSCLRR register.

Note: The MCSYSRSTF bit located into the RCC_BR_RSTSCLRR and RCC_MP_RSTSR registers is only meaningful when the option byte OTP_MCU_SYSRST_EN allows the MCU to perform a system reset. If it is not the case the bit MCSYSRSTF is forced to '0'.

10.3.14 Power-on and wakeup sequences

For detailed diagrams refer to Section 1.3.1: Supply system startup of the PWR block.

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

Power-on wakeup sequence

The “power-on wakeup” sequence of Figure 51 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.

Boot sequence from PAD reset (NRST)

The “PAD reset” gives the most important steps of the boot sequence. Note that in this case, \(V_{DD}/V_{DDA}\) have not been removed.

Boot sequence from system Standby

For a wake up from system Standby, as the \(V_{DD}\) is not removed, the settling time is also fast as the reference voltage is already stable. As the \(V_{DDCORE}\) was not there, the re-start delay for the HSI, and the option byte reloading cannot be skipped.

Re-start sequence from system Stop

For a re-start from system Stop, \(V_{DDCORE}\) has not been removed, so the settling time is mainly due to the re-start delay of the clock. It can be fast if the system has been programmed to restart on HSI/CSI, but it will be longer if the system restarts on HSE, and/or PLLs.

Figure 51. Boot sequences versus system states Figure 51. Boot sequences versus system states

Power-on wakeup (with or without VBAT)

VDD > POR

EXT REG + BandGap

HSI

OTP_LD

BR

APP

Time

PAD Reset (or bor_rst, iwdgx_out_rst,...)

NRST goes HIGH

HSI

OTP_LD

BR

APP

Time

Wake up from system Standby

Wakeup event

VDDCORE REG

HSI

OTP_LD

BR

APP

Time

Re-start from system Stop

Wakeup event

CK_RESTORE

APP

Time

Re-start from system LP-Stop

Wakeup event

LP_TEMPO

CK_RESTORE

APP

Time

EXT REG + BandGapBandgap and external regulator settling timeBRBootRom codeAPPControl given to the application
VDDCORE REGExternal VDDCORE regulator settling time (up to vddcore_ok threshold)OTP_LDOption bytes loading and memory repair delayHSIHSI Restart delay
CK_RESTORERestore previous clock config

MSv46575V1

Figure 51. Boot sequences versus system states

MCU HOLD_BOOT after processor reset

The RCC allows to put the MCU on HOLD_BOOT every time the MCU is reset.

This function is controlled by the MPU via the BOOT_MCU bit located into the RCC global control register (RCC_MP_GCR). The BOOT_MCU bit can only be programmed by the MPU. In addition, if the secure mode is activated, only secure MPU accesses will be allowed.

When BOOT_MCU = ‘0’, after a MCU reset, the MCU is maintained on HOLD_BOOT until the MPU sets the bit BOOT_MCU to ‘1’.

The possible reset sources for the MCU are:

Having the MCU on HOLD_BOOT, does not prevent the system to go to one of the Stop modes, or in Standby. So when the MCU is on HOLD_BOOT, the system will be in Stop mode if the MPU goes to CStop, then if the MPU allows the Standby mode, the system can go to Standby (if PDDS bits are set to ‘1’).

In conclusion, the HOLD_BOOT mode is equivalent to a MCU CStop mode. This means that when the MCU is in HOLD_BOOT, all the peripherals allocated by the MCU, will no longer be clocked, except the ones able to request a kernel clock, or working with lse_ck or lsi_ck.

The BOOT_MCU bit is reset after a system reset, a power-on reset, or an exit from Standby (i.e. nreset signal).

Figure 52 shows two examples. An example where the BOOT_MCU bit is set to '0', when the MCU is reset. In that case the MCU stays in HOLD_BOOT mode until the MPU sets the BOOT_MCU bit to '1'.

In the second example, the bit BOOT_MCU bit is set to '1', when the MCU is reset. In that case the MCU switches immediately to CRun mode as soon as the MCU hardware reset sequence is completed.

Note that once the MCU is in CRun, the BOOT_MCU can be set again to '0' without disturbing the MCU activity. In that way the MCU will be again set in HOLD_BOOT the next time it is reset.

Figure 52. HOLD_BOOT examples

Timing diagram showing two examples of MCU mode transitions based on BOOT_MCU bit value at reset. The top example shows BOOT_MCU = 0 at reset, leading to a HOLD_BOOT mode (equivalent to CStop) after the reset sequence. The bottom example shows BOOT_MCU = 1 at reset, leading directly to CRun mode after the reset sequence. Both examples show subsequent transitions between CRun, CSleep, and CStop modes.

The diagram illustrates two scenarios for MCU mode transitions following a reset. In both cases, a reset signal (mcu_rst) is asserted, followed by a shaded region representing the MCU reset sequence.
Top Example (BOOT_MCU = 0 when the MCU is reset): After the reset sequence, the MCU enters HOLD_BOOT mode, which is noted as being equivalent to CStop. Later, the BOOT_MCU signal transitions from 0 to 1, causing the MCU to switch to CRun mode. Subsequent modes shown are CSleep, CRun, and CStop.
Bottom Example (BOOT_MCU = 1 when the MCU is reset): After the reset sequence, the MCU immediately enters CRun mode. The BOOT_MCU signal remains at 1. Subsequent modes shown are CSleep, CRun, and CStop.
A legend indicates that the shaded region represents the 'MCU reset sequence'. The diagram is labeled MSv46576V1 in the bottom right corner.

Timing diagram showing two examples of MCU mode transitions based on BOOT_MCU bit value at reset. The top example shows BOOT_MCU = 0 at reset, leading to a HOLD_BOOT mode (equivalent to CStop) after the reset sequence. The bottom example shows BOOT_MCU = 1 at reset, leading directly to CRun mode after the reset sequence. Both examples show subsequent transitions between CRun, CSleep, and CStop modes.

Processor hold from Standby

The BOOTROM code provides the possibility to select which processor is allowed to restart its application code after a Standby mode. This feature is controlled via two bits: MPU_BEN and MCU_BEN.

The bits MPU_BEN and MCU_BEN can only be programmed by the MPU. In addition, if the secure mode is activated, only secure MPU accesses can change those bits. They are reset by hardware after a system reset (from IWDG, POR, BOR, PAD), but not when the product exits from Standby. Those bits are located into VDD domain in order to be reset after a power-on reset. Refer to the RCC boot control register (RCC_MP_BOOTCR).

After a system reset, a power-on reset, or an exit from Standby, the MCU is always maintained on HOLD_BOOT by the hardware (because BOOT_MCU bit is reset), and only the MPU is allowed to boot, thus to execute the BOOTROM code.

If the application wants that only the MCU restarts after a product Standby, the MPU shall set the bit MCU_BEN to '1', and MPU_BEN to '0' before the product goes to Standby. Then when the product exits from Standby, the BOOTROM will check the integrity of the RETRAM

code (only in secure mode), and give the control to the MCU, by setting the bit BOOT_MCU to '1'.

Then the BOOTROM sets the MPU to CStandby. The MPU can exit from the CStandby mode by a MCU SEV event, or a system reset.

If MPU_BEN was set to '1', then the BOOTROM continue its initialization phase and jumps to the application instead of going to CStandby.

Note: The SEV is a Cortex-M4 instruction which can be used to generate a pulse event on the TXEV line. This line is connected to the EXTI in order to generate an event for the MPU even if the MPU is in CStop or CStandby.

Figure 53. Hold function handled by the BOOTROM

Flowchart showing the hold function handled by the BOOTROM. It starts with a cloud of reset types (System Reset, Standby Reset, CStandby Reset, MPU Reset) leading to a BOOTROM Sequence. The sequence involves decision diamonds for 'Exit from CStandby?', 'Exit from Standby?', 'MCU_BEN = 0?', 'Secure mode?', and 'MPU_BEN = 1?'. It includes process boxes for 'Check RETSRAM Integrity' and 'Set bit BOOT_MCU to 1'. A large box details programming steps for EXTI, PWR, and WFI. The flow ends at 'CStandby' or 'Next BOOTROM initialization phase' with various state annotations.
graph TD
    ResetCloud(( - System Reset
- Standby Reset
- CStandby Reset
- MPU Reset )) --> BootROMSeq([BOOTROM Sequence]) BootROMSeq --> ExitCStandby{Exit from CStandby ?} ExitCStandby -- Yes --> NextInit([Next BOOTROM initialization phase]) ExitCStandby -- No --> ExitStandby{Exit from Standby ?} ExitStandby -- Yes --> HoldBootState[ - MCU is on HOLD_BOOT
- MPU is running ] ExitStandby -- No --> MCUBEN0{MCU_BEN = 0 ?} MCUBEN0 -- Yes --> NextInit MCUBEN0 -- No --> SecureMode{Secure mode ?} SecureMode -- Yes --> CheckRetsram[Check RETSRAM Integrity] SecureMode -- No --> SetBootMCU[Set bit BOOT_MCU to 1] CheckRetsram --> SetBootMCU SetBootMCU --> MPUBEN1{MPU_BEN = 1 ?} MPUBEN1 -- Yes --> NextInit MPUBEN1 -- No --> ProgramEXTI[ - Program EXTI to allow MCU SEV to wake-up the MPU
- Program PWR to allow the MPU Standby (PDDS Of PWR_MPUCR = 1 and STBYDIS of PWR_MPUCR = 0)
- Set STPREQ_P[1:0] to 0b11
- Execute a WFI on both cores CA7_0 and CA7_1 ] ProgramEXTI --> CStandby((CStandby)) CStandby --> CRunState[ - MCU is in CRun, CSleep or CStop
- MPU is in CStandby ] CRunState --> MCUSEV((MCU SEV)) CSEVState[ - MCU is in CRun, CSleep or CStop
- MPU is in CStandby ] --> MCUSEV NextInit --> RunningState[ - MCU is running
- MPU is running ] HoldBootState --> RunningState RunningState --> NextInit

MSv46577V1

Flowchart showing the hold function handled by the BOOTROM. It starts with a cloud of reset types (System Reset, Standby Reset, CStandby Reset, MPU Reset) leading to a BOOTROM Sequence. The sequence involves decision diamonds for 'Exit from CStandby?', 'Exit from Standby?', 'MCU_BEN = 0?', 'Secure mode?', and 'MPU_BEN = 1?'. It includes process boxes for 'Check RETSRAM Integrity' and 'Set bit BOOT_MCU to 1'. A large box details programming steps for EXTI, PWR, and WFI. The flow ends at 'CStandby' or 'Next BOOTROM initialization phase' with various state annotations.

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 CPUs and peripherals. More especially for peripherals that need a specific clock like Ethernet, USB OTG FS and HS, SPI(I2S), SAI and SDMMC.

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

There are mainly 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 MCUSSCD contain several prescalers used to configure the processors and bus matrix clock frequencies.

The blocks named AXISSCE, MCUSSCE and PCKE are responsible for the gating of the peripheral kernel clock, the bus interface, the cores and 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 54, the RCC offers 2 clock outputs (MCO1 and MCO2), with a great flexibility on the clock selection and frequency adjustment.

Figure 54. Top-level clock tree

Detailed schematic diagram of Figure 54: Top-level clock tree, showing the internal RCC architecture, domains (VDD Domain, Vsw Backup Domain), oscillators (LSI, LSE, HSE, HSI, CSI), multiplexers, PLL configurations (PLL1, PLL2, PLL3, PLL4), peripheral clock selection (PKCS), and distribution to core domains (MPU, AXI, MCU Sub-System, Peripherals, IWDG, RTC/AWU, MCO1, MCO2, Ethernet clocks, and I2S).
Detailed schematic diagram of Figure 54: Top-level clock tree, showing the internal RCC architecture, domains (VDD Domain, Vsw Backup Domain), oscillators (LSI, LSE, HSE, HSI, CSI), multiplexers, PLL configurations (PLL1, PLL2, PLL3, PLL4), peripheral clock selection (PKCS), and distribution to core domains (MPU, AXI, MCU Sub-System, Peripherals, IWDG, RTC/AWU, MCO1, MCO2, Ethernet clocks, and I2S).

2. 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 53. Oscillator states versus system modes

System modesVDD domainVSW domain
HSEHSICSILSILSE
Exit from system resetOFFONOFFAvailableAvailable
In RunAvailableAvailableAvailableAvailableAvailable
In Stop, LP-StopAvailable (1)Available (2)Available (3)AvailableAvailable
In Standby, LPLV-StopOFFOFFOFFAvailableAvailable
In VBATOFFOFFOFFOFFAvailable
  1. 1. HSE can remain activated in (LP-)Stop mode if HSEKERON = '1', or if the peripheral generates a kernel clock request.
  2. 2. HSI can remain activated in (LP-)Stop mode if HSIKERON = '1', or if the peripheral generates a kernel clock request.
  3. 3. CSI can remain activated in (LP-)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 BOOTROM 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 55. HSE clock source

Figure 55: HSE clock source diagrams for three configurations: Digital external clock, Analog external clock, and Crystal/ceramic resonators configuration.
Figure 55: HSE clock source diagrams for three configurations: Digital external clock, Analog external clock, and Crystal/ceramic resonators configuration.

The HSERDY flag of the RCC oscillator 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) or RCC clock source interrupt enable register (RCC_MC_CIER).

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

Figure 56. HSE clock generation

Figure 56: HSE clock generation block diagram illustrating the clock squarer, DIGBYP and HSEBYP muxes, HSE_OSC block, Ready Logic, and HSE_CSS monitor.
Figure 56: HSE clock generation block diagram illustrating the clock squarer, DIGBYP and HSEBYP muxes, HSE_OSC block, Ready Logic, and HSE_CSS monitor.

Note as well that it is possible to keep the HSE enabled, when the system is in (LP-)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 shall have a duty cycle close to 50%.

In order to switch the HSE in external clock mode, the user shall do the following:

See Figure 55 and Figure 56 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 55. 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 processors 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_HSICFGR). A flag (HSIDIVRDY) is also available into the RCC oscillator 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 will take 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 (LP-)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 oscillator clock enable set register (RCC_OCENSETR) 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 57. HSI calibration flow

Figure 57. HSI calibration flow diagram. The diagram shows the calibration process within the RCC block. A BSEC block provides a factory calibration value bsec_hsi_cal[11:0] to an adder (+). The adder also receives a signed trim value HSITRIM[6:0] 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 HSI block also outputs an unsigned value HSICAL[11:0] back to the RCC_HSICFGR register.
graph LR
    BSEC[BSEC] -- bsec_hsi_cal[11:0] --> Adder((+))
    Adder -- hsi_cal[11:0] --> HSI[HSI CAL[11:0]]
    HSI -- HSICAL[11:0] (unsigned) --> RCC_HSICFGR[RCC_HSICFGR]
    RCC_HSICFGR -- HSITRIM[6:0] (signed) --> Adder
  

MSv46582V1

Figure 57. HSI calibration flow diagram. The diagram shows the calibration process within the RCC block. A BSEC block provides a factory calibration value bsec_hsi_cal[11:0] to an adder (+). The adder also receives a signed trim value HSITRIM[6:0] 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 HSI block also outputs an unsigned value HSICAL[11:0] back to the RCC_HSICFGR register.

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.6.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 processors and interconnects clocks, 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 (LP-)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 oscillator clock enable set register (RCC_OCENSET) and RCC oscillator clock enable clear register (RCC_OCENCLR).

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 58. CSI calibration flow

Block diagram of CSI calibration flow. The BSEC block provides bsec_csi_cal[7:0] to an adder (+) inside the RCC block. 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 sent to the CSI block's CAL[7:0] register. The RCC_CSICFGR register also provides CSICAL[7:0] (unsigned) as a feedback path from the adder output.
graph LR
    BSEC[BSEC] -- bsec_csi_cal[7:0] --> Adder((+))
    subgraph RCC
        Adder -- csi_cal[7:0] --> CSI_CAL[CSI CAL[7:0]]
        CSITRIM[CSITRIM[4:0] (unsigned)] --> Adder
        Adder -- CSICAL[7:0] (unsigned) --> RCC_CSICFGR[RCC_CSICFGR]
    end
  

MSv46583V1

Block diagram of CSI calibration flow. The BSEC block provides bsec_csi_cal[7:0] to an adder (+) inside the RCC block. 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 sent to the CSI block's CAL[7:0] register. The RCC_CSICFGR register also provides CSICAL[7:0] (unsigned) as a feedback path from the adder output.

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.6.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 59. LSE clock generation

Block diagram of LSE clock generation within the RCC. The diagram shows the internal components and signal flow for generating the LSE clock. Key components include: OSC32_IN and OSC32_OUT pins; a clock squarer; a multiplexer controlled by DIGBYP (0 or 1); a multiplexer controlled by LSEBYP (0 or 1); a Ready Logic block; an AND gate; an LSE_OSC block controlled by LSEDRV[1:0]; an LSE_CSS block; and output signals LSERDY, lse_ck, and rcc_lsecss_fail. The OSC32_IN signal can be either the output of the clock squarer or the external input, selected by DIGBYP. This signal then passes through a multiplexer selected by LSEBYP. If LSEBYP is 0, the signal goes to the LSE_OSC. If LSEBYP is 1, it goes to the Ready Logic. The LSE_OSC output also goes to the Ready Logic. The output of the Ready Logic goes to an AND gate along with the LSE_CSS output. The AND gate output is lse_ck. The LSE_CSS output also drives the rcc_lsecss_fail signal.
Block diagram of LSE clock generation within the RCC. The diagram shows the internal components and signal flow for generating the LSE clock. Key components include: OSC32_IN and OSC32_OUT pins; a clock squarer; a multiplexer controlled by DIGBYP (0 or 1); a multiplexer controlled by LSEBYP (0 or 1); a Ready Logic block; an AND gate; an LSE_OSC block controlled by LSEDRV[1:0]; an LSE_CSS block; and output signals LSERDY, lse_ck, and rcc_lsecss_fail. The OSC32_IN signal can be either the output of the clock squarer or the external input, selected by DIGBYP. This signal then passes through a multiplexer selected by LSEBYP. If LSEBYP is 0, the signal goes to the LSE_OSC. If LSEBYP is 1, it goes to the Ready Logic. The LSE_OSC output also goes to the Ready Logic. The output of the Ready Logic goes to an AND gate along with the LSE_CSS output. The AND gate output is lse_ck. The LSE_CSS output also drives the rcc_lsecss_fail signal.

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, 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 shall 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) or RCC clock source interrupt enable register (RCC_MC_CIER) when the LSE is ready.

Note: The LSE on MCO1 output is only available in Run and (LP-)Stop mode. In LPLV-Stop, 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 shall 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 an low-power clock source that can be kept running when the System is in Stop, LP-Stop, LPLV-Stop or Standby mode for the independent watchdogs (IWDG) and Auto-Wakeup Unit (AWU). 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) or RCC clock source interrupt enable register (RCC_MC_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 (LP-)Stop mode. In LPLV-Stop and 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_RDL SICR).

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 will generate 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 will be enabled by the hardware when the HSE is enabled and ready, and HSECSSON is set to '1'.

The CSS on HSE is disabled when the HSE is disabled (i.e. when the system is Stop or Standby).

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

The bit HSECSSON will be 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 60 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, at least one the HCSSRSTF flags located into RCC BOOTROM reset status clear register (RCC_BR_RSTSCLRR) or RCC MCU reset status clear register (RCC_MC_RSTSCLRR) must be cleared. The BOOTROM performs this task by resetting the HCSSRSTF flag of the RCC_BR_RSTSCLRR register, after an HSE failure. Then the BOOTROM reboots the circuit if the selected boot source does not require the HSE resource. Refer to BOOTROM documentation for details.

Figure 60. LSE and HSE CSS function

Block diagram showing 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 ITAMP[3], ITAMP[4], it_tamper_async, it_tamper_sec_sync, it_tamper_nonsec_sync, Backup Regs., and erase. The it_tamper_async signal connects to EXTI pin 18, which then connects to PWR (c1_wakeup, c2_wakeup, sys_wakeup). The it_tamper_sec_sync signal connects to EXTI pin 197, which then connects to GIC (TAMP_SERR_S). The it_tamper_nonsec_sync signal connects to EXTI pin 2, which then connects to NVIC (TAMP). The erase signal connects to BKPSRAM. The Backup Regs. block is connected to the it_tamper_nonsec_sync signal.
Block diagram showing 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 ITAMP[3], ITAMP[4], it_tamper_async, it_tamper_sec_sync, it_tamper_nonsec_sync, Backup Regs., and erase. The it_tamper_async signal connects to EXTI pin 18, which then connects to PWR (c1_wakeup, c2_wakeup, sys_wakeup). The it_tamper_sec_sync signal connects to EXTI pin 197, which then connects to GIC (TAMP_SERR_S). The it_tamper_nonsec_sync signal connects to EXTI pin 2, which then connects to NVIC (TAMP). The erase signal connects to BKPSRAM. The Backup Regs. block is connected to the it_tamper_nonsec_sync signal.

MSv46585V3

CSS on LSE

The RCC features a clock security system allowing the application to detect if the LSE clock stops toggling due to an unexpected reason. This could be caused for example, by a hardware failure or an attack. In case of failure detection the CSS will generate a failure event, disable the clock provided to the RTC and protect sensitive data of the BKPSRAM.

The Clock Security System (CSS) on Low Speed External (LSE) oscillator can be activated by setting to '1' the LSECSSON bit of the RCC_BDCR register.

This bit can be disabled only by hardware in the two following conditions:

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

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

The CSS on LSE is working 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 60 shows the block involved in the HSE and LSE CSS function.

Note: The clock security feature must not be re-enabled.
Before re-using the CSS function for LSE, a backup domain reset must be performed for example via the VSWRST bit in RCC backup domain control register (RCC_BDCR).

10.4.4 Clock output generation (MCO1 and 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 54 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 (LP-)Stop modes.

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:

Two PLLs having a VCO frequency of up to 1.6 GHz (PLL_1600):

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

PLL_1600 main features:

PLL_800 main features:

Figure 61. PLL1 and PLL2 block diagram Block diagram of PLL1 and PLL2 (PLL_1600). The diagram shows an analog part containing an LDO (1.1 V), PFD + CP, LPF, and VCO (800 to 1600 MHz). The VCO output vcox_ck passes through a /2 divider producing foutx_ck (50% duty cycle). Gated outputs via DIVPEN, DIVQEN, and DIVREN go through post-dividers DIVPx, DIVQ (+ 1,2,3...128), and DIVR (+ 1,2,3...128) producing pllx_p_ck, pllx_q_ck, and pllx_r_ck. A feedback loop contains a / 25...75...100 divider connected to a Sigma-Delta Modulator (SDM) and SSCG module.

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

MSv46586V3

Block diagram of PLL1 and PLL2 (PLL_1600). The diagram shows an analog part containing an LDO (1.1 V), PFD + CP, LPF, and VCO (800 to 1600 MHz). The VCO output vcox_ck passes through a /2 divider producing foutx_ck (50% duty cycle). Gated outputs via DIVPEN, DIVQEN, and DIVREN go through post-dividers DIVPx, DIVQ (+ 1,2,3...128), and DIVR (+ 1,2,3...128) producing pllx_p_ck, pllx_q_ck, and pllx_r_ck. A feedback loop contains a / 25...75...100 divider connected to a Sigma-Delta Modulator (SDM) and SSCG module.

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, GPU and DDRC are very sensitive to clock jitter and duty cycle degradation, the application shall use directly foutx_ck when possible.

Figure 62. PLL3 and PLL4 block diagram Block diagram of PLL3 and PLL4 (PLL_800). The diagram shows an analog part containing an LDO (1.1 V), PFD + CP, LPF, and VCO (400 to 800 MHz) with IFRGE input. The VCO output vcox_ck connects to DIVPEN, DIVQEN, and DIVREN gating to post-dividers DIVPx, DIVQ (+ 1,2,3...128), and DIVR (+ 1,2,3...128) producing pllx_p_ck, pllx_q_ck, and pllx_r_ck. A feedback loop contains a / 25...128...200 divider and Sigma-Delta Modulator (SDM) controlled by DIVN[8:0], FRACVx[12:0], and FRACLE.

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

MSv46587V4

Block diagram of PLL3 and PLL4 (PLL_800). The diagram shows an analog part containing an LDO (1.1 V), PFD + CP, LPF, and VCO (400 to 800 MHz) with IFRGE input. The VCO output vcox_ck connects to DIVPEN, DIVQEN, and DIVREN gating to post-dividers DIVPx, DIVQ (+ 1,2,3...128), and DIVR (+ 1,2,3...128) producing pllx_p_ck, pllx_q_ck, and pllx_r_ck. A feedback loop contains a / 25...128...200 divider and Sigma-Delta Modulator (SDM) controlled by DIVN[8:0], FRACVx[12:0], and FRACLE.

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 will guarantee 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 (i.e. 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.

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.6.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_{pll\_y\_ck} = \frac{F_{VCO}}{DIVy + 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_{VCO} = 2 \times F_{ref\_ck} \times \left( (DIVN + 1) + \frac{FRACV}{2^{13}} \right)\]

\(F_{pll\_x\_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_{VCO} = F_{ref\_ck} \times \left( (DIVN + 1) + \frac{FRACV}{2^{13}} \right)\]

\(F_{pll\_x\_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 and PLL2.

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 will be 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) guaranties that the PLL output frequency will not exceed the programmed frequency value when the SSCG will be enabled.

Figure 63. Spread spectrum modulation

Figure 63: Spread spectrum modulation. Two graphs show Frequency vs. Time (t). 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 triangular wave is F_MOD. The right graph, labeled 'down-spread', shows a triangular wave starting at F_N and spreading downwards. The peak-to-peak frequency deviation is M_D, and the period of the triangular wave is F_MOD. Both graphs show the frequency deviation M_D and the modulation frequency F_MOD.
Figure 63: Spread spectrum modulation. Two graphs show Frequency vs. Time (t). 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 triangular wave is F_MOD. The right graph, labeled 'down-spread', shows a triangular wave starting at F_N and spreading downwards. The peak-to-peak frequency deviation is M_D, and the period of the triangular wave is F_MOD. Both graphs show the frequency deviation M_D and the modulation frequency F_MOD.

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 × INC\_STEP shall 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:

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

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

Check that MOD\_PER × INC\_STEP does not exceed (2¹⁵-1).

The user can check FMIN,FMAX and FC 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 showing TWG output vs time (t). Peak at (2^15 - 1) corresponds to F_MAX, trough at -2^15 corresponds to F_MIN, and midpoint 0 corresponds to F_C = F_N. Slopes are annotated with MOD_PER steps. Inset shows Tref_ck with step increments labeled INC_STEP, and overall frequency formula Fmod = Fref_ck / (4 x MOD_PER). Mode indicated is center-spread.
Figure 64: Triangular waveform generator diagram showing TWG output vs time (t). Peak at (2^15 - 1) corresponds to F_MAX, trough at -2^15 corresponds to F_MIN, and midpoint 0 corresponds to F_C = F_N. Slopes are annotated with MOD_PER steps. Inset shows Tref_ck with step increments labeled INC_STEP, and overall frequency formula Fmod = Fref_ck / (4 x MOD_PER). Mode indicated is center-spread.

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 mcuss_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 MCU (mcuss_ck).

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

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

For mcuss_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 mcuss_ck is controlled by MCUSSRC located into the RCC MCU sub-system clock selection register (RCC_MSSCKSELR).

Dynamic clock switches

The clock selectors shown with a square D on Figure 65 allows 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 input can only be performed if a clock is present on both inputs. If it is not the case, no clock will be 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 will be 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 shall be present during transition time.

Note that some dynamic switches such as the ones controlled by PLL12SRC, PLL3SRC, PLL4SRC, MPUSRC, AXISSRC and MCUSSRC 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 will be generated to their outputs, and the xxxSRCRDY flag will be 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 will 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 will not be able to select the new input, and the xxxSRCRDY flag will remain to '0'.

Figure 65. Dynamic clock switching

Figure 65: Dynamic clock switching diagram. The main part shows a timing diagram with five signals: xxxSRC, in0_ck, in1_ck, xxxSRCRDY, and selected_ck. xxxSRC is a control signal that transitions from 0 to 1. in0_ck and in1_ck are clock signals. xxxSRCRDY is a ready signal that becomes active after a transition time. selected_ck is the output clock, which switches from in0_ck to in1_ck during the transition time. A note indicates that in0_ck can be disabled during this transition. An inset diagram shows a multiplexer selecting between in0_ck and in1_ck based on xxxSRC, with a ready signal xxxSRCRDY.

The diagram illustrates the dynamic clock switching process. It shows the relationship between the clock source selection register (xxxSRC), the ready status (xxxSRCRDY), and the input clocks (in0_ck, in1_ck) and the selected output clock (selected_ck). A transition time is indicated during which the clock source is switched. A note specifies that in0_ck can be disabled during this transition. The inset shows a multiplexer selecting between in0_ck and in1_ck based on the xxxSRC value, with the xxxSRCRDY signal indicating when the switch is safe.

Figure 65: Dynamic clock switching diagram. The main part shows a timing diagram with five signals: xxxSRC, in0_ck, in1_ck, xxxSRCRDY, and selected_ck. xxxSRC is a control signal that transitions from 0 to 1. in0_ck and in1_ck are clock signals. xxxSRCRDY is a ready signal that becomes active after a transition time. selected_ck is the output clock, which switches from in0_ck to in1_ck during the transition time. A note indicates that in0_ck can be disabled during this transition. An inset diagram shows a multiplexer selecting between in0_ck and in1_ck based on xxxSRC, with a ready signal xxxSRCRDY.

MSv46590V1

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 oscillator 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 MCU clock tree, the MCUDIV divider located into RCC MCU clock divider register (RCC_MCUDIVR), can be used to adjust dynamically the clock for the MCU. The value of this divider also impacts the clock frequency of AHB bridges, APB1, APB2 and APB3.

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

Note that dividers having the possibility to be updated on-the-fly provides 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 busses clock generation within the RCC. It shows three main input sources: MPUSRC, AXISSRC, and MCUSSRC. MPUSRC uses hsi_ck, hse_ck, pll1_p_ck, and pll1_p_ck divided by 2, 4, 8, or 16 to select an input for mpuss_ck (650/800 MHz Max). AXISSRC uses hsi_ck, hse_ck, pll2_p_ck, and pll2_p_ck divided by 0 to select an input for axiss_ck (266 MHz Max). MCUSSRC uses hsi_ck, hse_ck, csi_ck, and pll3_p_ck to select an input for mcuss_ck (209 MHz Max). The RCC block contains System Clock Dividers (AXISSCD) and MCU Clock Dividers (MCUSSCD). AXISSCD takes axiss_ck and divides it by 1, 2, 3, or 4 to produce aclk (50% duty cycle, 266 MHz Max). aclk is then divided by 1, 2, 4, 8, or 16 to produce pclk4 (133 MHz Max, 50% duty cycle) and pclk5 (133 MHz Max, 50% duty cycle). MCUSSCD takes mcuss_ck and divides it by 1, 2, 4, 8, ..., 512 to produce mcu_ck (209 MHz Max). mcu_ck is divided by 8 to produce mcu_systick_ck. mcu_ck is also divided by 1, 2, 4, 8, or 16 to produce pclk1, pclk2, and pclk3 (all 104.5 MHz Max). The diagram also shows various clock outputs like hclk5, hclk6, pclk4, pclk5, mcu_ck, fclk_ck, mcu_systick_ck, hclk4, mlhclk_ck, hclk[3:1]_ck, pclk1, pclk2, and pclk3. These are connected to external blocks: CA7_SS (Cortex A7 sub-system), AXI-SS (AXI bridge and peripherals), and MCU (MCU clocks, SysTick clock, AHB bridges, APB bridges). A note indicates that the selected input can be changed on-the-fly without spurs on the output signal.

RCC

MPUSRC

hsi_ck, hse_ck, pll1_p_ck, pll1_p_ck → × 2,4,8,16 → MPUSRCRDY

mpuss_ck (650 / 800 MHz Max)

AXISSRC

hsi_ck, hse_ck, pll2_p_ck, pll2_p_ck → 0 → AXISSRCRDY

axiss_ck (266 MHz Max)

MCUSSRC

hsi_ck, hse_ck, csi_ck, pll3_p_ck → MCUSSRCRDY

mcuss_ck (209 MHz Max)

System Clock Dividers (AXISSCD)

axiss_ck → ÷1,2,3,4 → aclk (50% duty cycle, 266 MHz Max)

aclk → ÷1,2,4,8,16 → pclk4 (50% duty cycle, 133 MHz Max)

aclk → ÷1,2,4,8,16 → pclk5 (50% duty cycle, 133 MHz Max)

MCU Clock Dividers (MCUSSCD)

mcuss_ck → ÷1,2,4,8,…,512 → mcu_ck (209 MHz Max)

mcu_ck → ÷8 → mcu_systick_ck

mcu_ck → ÷1,2,4,8,16 → pclk1 (104.5 MHz Max)

mcu_ck → ÷1,2,4,8,16 → pclk2 (104.5 MHz Max)

mcu_ck → ÷1,2,4,8,16 → pclk3 (104.5 MHz Max)

CA7_SS

AXI-SS

MCU

SYSCE (System Clock Enabling)

MCUCE (MCU Clock Enabling)

D The selected input can be changed on-the-fly without spurs on the output signal

MSv46591V3

Block diagram of core and busses clock generation within the RCC. It shows three main input sources: MPUSRC, AXISSRC, and MCUSSRC. MPUSRC uses hsi_ck, hse_ck, pll1_p_ck, and pll1_p_ck divided by 2, 4, 8, or 16 to select an input for mpuss_ck (650/800 MHz Max). AXISSRC uses hsi_ck, hse_ck, pll2_p_ck, and pll2_p_ck divided by 0 to select an input for axiss_ck (266 MHz Max). MCUSSRC uses hsi_ck, hse_ck, csi_ck, and pll3_p_ck to select an input for mcuss_ck (209 MHz Max). The RCC block contains System Clock Dividers (AXISSCD) and MCU Clock Dividers (MCUSSCD). AXISSCD takes axiss_ck and divides it by 1, 2, 3, or 4 to produce aclk (50% duty cycle, 266 MHz Max). aclk is then divided by 1, 2, 4, 8, or 16 to produce pclk4 (133 MHz Max, 50% duty cycle) and pclk5 (133 MHz Max, 50% duty cycle). MCUSSCD takes mcuss_ck and divides it by 1, 2, 4, 8, ..., 512 to produce mcu_ck (209 MHz Max). mcu_ck is divided by 8 to produce mcu_systick_ck. mcu_ck is also divided by 1, 2, 4, 8, or 16 to produce pclk1, pclk2, and pclk3 (all 104.5 MHz Max). The diagram also shows various clock outputs like hclk5, hclk6, pclk4, pclk5, mcu_ck, fclk_ck, mcu_systick_ck, hclk4, mlhclk_ck, hclk[3:1]_ck, pclk1, pclk2, and pclk3. These are connected to external blocks: CA7_SS (Cortex A7 sub-system), AXI-SS (AXI bridge and peripherals), and MCU (MCU clocks, SysTick clock, AHB bridges, APB bridges). A note indicates that the selected input can be changed on-the-fly without spurs on the output signal.
  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 three kinds of system Stop modes:

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

The amount of peripherals able to wake-up the system from Stop, depends on the Stop mode activated. For example, Stop or LP-Stop modes offer a larger choice of peripherals able to wake-up the system than the LPLV-Stop mode. Please refer Section Table 34.: Functionalities depending on system operating mode in the PWR.

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

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

Note as well that before going to CStop, each processor has to mask all the interrupts except the RCC wakeup interrupts in order to ensure a safe Stop sequence entry and exit. The RCC provides two wakeup interrupts: rcc_mpu_wkup_it and rcc_mcu_wkup_it which can be enabled via their corresponding WKUPIE bit. Refer to Section 10.5: RCC interrupts for additional information.

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

Note: In LPLV-Stop mode, CSI, HSI and HSE cannot be used.

Note: LSE and LSI oscillators remain active in Stop, LP-Stop and LPLV-Stop mode if enabled.

Figure 67. Key signals controlling low-power modes

Block diagram showing the key signals controlling low-power modes. Wake-up events are fed into the EXTI block. EXTI outputs sys_wakeup, mcu_wakeup, and mpu_wakeup to the PWR block. PWR outputs pwrwake_sys, pwrwake_mcu, and pwrwake_mpu to the RCC block. RCC outputs rcc_mcu_wkup_it to the NVIC and rcc_mpu_wkup_it to the GIC. RCC also outputs pwrds_sys, pwrds_mcu, and pwrds_mpu back to the PWR block. A shared hclk4 signal is connected to the EXTI, PWR, and RCC blocks.
graph LR
    WE[Wake-up events] --> EXTI
    EXTI -- sys_wakeup --> PWR
    EXTI -- mcu_wakeup --> PWR
    EXTI -- mpu_wakeup --> PWR
    PWR -- pwrwake_sys --> RCC
    PWR -- pwrwake_mcu --> RCC
    PWR -- pwrwake_mpu --> RCC
    RCC -- pwrds_sys --> PWR
    RCC -- pwrds_mcu --> PWR
    RCC -- pwrds_mpu --> PWR
    RCC -- rcc_mcu_wkup_it --> NVIC
    RCC -- rcc_mpu_wkup_it --> GIC
    hclk4 --> EXTI
    hclk4 --> PWR
    hclk4 --> RCC
  

MSV50818V1

Block diagram showing the key signals controlling low-power modes. Wake-up events are fed into the EXTI block. EXTI outputs sys_wakeup, mcu_wakeup, and mpu_wakeup to the PWR block. PWR outputs pwrwake_sys, pwrwake_mcu, and pwrwake_mpu to the RCC block. RCC outputs rcc_mcu_wkup_it to the NVIC and rcc_mpu_wkup_it to the GIC. RCC also outputs pwrds_sys, pwrds_mcu, and pwrds_mpu back to the PWR block. A shared hclk4 signal is connected to the EXTI, PWR, and RCC blocks.

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

Note that when only one processor goes to CStop, the PLLs and oscillators generating mpuss_ck, axiss_ck, mcuss_ck and kernel clocks are kept activated.

During Stop, LP-Stop or LPLV-Stop mode

As explained in the previous section, in system Stop, LP-Stop or LPLV-Stop 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 Stop and LP-Stop mode where the HSE, HSI or CSI can be enabled:

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

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

In system (LP-)Stop mode, when a peripheral requests the kernel clock, only the path providing the peripheral kernel clock is activated, the processors and interconnects clock paths remain inactive.

Table 54. 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
Stop or LP-StopXX1→ON (3)GatedON
00→OFFGated
10→ONON (4)
Standby or LPLV-StopXXX→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 (MCU) 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 or LPLV-Stop mode

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

Caution: The RCC integrates a 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 MCU always uses the hsi_ck as sub-system clock and the PLL3 and PLL4 are disabled. As a consequence, after a 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 or LPLV-Stop as shown in Figure 68. When the system is in Run, all oscillators and PLLs requested by the application are activated, but the sub-system clocks are only provided according to MCU and MPU modes.

Figure 68. Clock restore activation versus system mode

State transition diagram for clock restore activation versus system mode. The diagram is divided into two main sections: 'System Stop' (top, grey background) and 'System Run' (bottom, yellow background). In 'System Stop', there is a state box containing 'MPU CStop/CStandby' and 'MCU CStop'. In 'System Run', there are three state boxes: one with 'MPU CRun/CSleep' and 'MCU CStop', another with 'MPU CStop/CStandby' and 'MCU CRun/CSleep', and a third with 'MPU CRun/CSleep' and 'MCU CRun/CSleep'. Transitions are numbered 1 through 6. A 'CR' (Clock Restore) event triggers transitions from the 'System Stop' state to the 'MPU CRun/CSleep, MCU CStop' state (labeled 3) and to the 'MPU CStop/CStandby, MCU CRun/CSleep' state (labeled 2). Transitions 5 show paths from 'System Run' states back to 'System Stop'. Transitions 4 and 6 show paths between 'System Run' states. A legend at the bottom indicates that yellow boxes represent 'Run, Crun, or Csleep' and grey boxes represent 'Stop, Cstop, or CStandby'. A note for 'CR' explains it is triggered by pwrwake_sys event and enables hsi_ck, PLL1, and PLL2.

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

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

MSv46592V1

State transition diagram for clock restore activation versus system mode. The diagram is divided into two main sections: 'System Stop' (top, grey background) and 'System Run' (bottom, yellow background). In 'System Stop', there is a state box containing 'MPU CStop/CStandby' and 'MCU CStop'. In 'System Run', there are three state boxes: one with 'MPU CRun/CSleep' and 'MCU CStop', another with 'MPU CStop/CStandby' and 'MCU CRun/CSleep', and a third with 'MPU CRun/CSleep' and 'MCU CRun/CSleep'. Transitions are numbered 1 through 6. A 'CR' (Clock Restore) event triggers transitions from the 'System Stop' state to the 'MPU CRun/CSleep, MCU CStop' state (labeled 3) and to the 'MPU CStop/CStandby, MCU CRun/CSleep' state (labeled 2). Transitions 5 show paths from 'System Run' states back to 'System Stop'. Transitions 4 and 6 show paths between 'System Run' states. A legend at the bottom indicates that yellow boxes represent 'Run, Crun, or Csleep' and grey boxes represent 'Stop, Cstop, or CStandby'. A note for 'CR' explains it is triggered by pwrwake_sys event and enables hsi_ck, PLL1, and PLL2.

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 PWR_LP delay control register (RCC_PWRLPDLYCR). The PWRLP_TEMPO is using the hsi_ck clock as reference.

In order to allow a fast restart time when the MCU wakes up from system (LP-)Stop or LPLV-Stop, it is possible for the activation of the mcuss_ck clock to bypass the PWRLP_TEMPO delay. This is only possible when the power consumption of the MCU is low enough to be supported by the PMIC LP mode. This function is controlled by the MCTMPSKP bit of the RCC_PWRLPDLYCR register. Note that in this case, the PMIC still transitions from LP to HP mode.

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

Warning: When the bit MCTMPSKP is set to '1', the application must ensure that the MCU did not allocate peripherals located into the AXI sub-system (i.e. on AXIM, AHB5, AHB6, APB4 or APB5). If this rule is not respected, a system reset may be generated.

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 mcuss_ck clocks. The sub-system clock settings are defined by the registers listed on Table 55.

The registers listed on Table 55 cannot be modified during the clock restore sequence.

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

If the system exits from one of the Stop modes due to a wakeup event for the MCU (pwrwake_mcu), then the mcuss_ck, and axiss_ck (if needed for MCU) clocks will be re-enabled simultaneously only when both mcuss_ck and axiss_ck are ready. The clock mpuss_ck and axiss_ck (if not needed) will remain gated even if their respective PLLs are enabled. The axiss_ck clock will be enabled if the MCU allocated at least one peripheral into the AXI sub-system. Note that the mcuss_ck is always connected to hsi_ck when the system exits from Stop.

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

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

Figure 69. Clock restore process activated after system Stop

Flowchart of the clock restore process after system stop. It starts with wakeup from system stop, then SYSTEM_STOP_EXIT, followed by setting CKREST and AXICKRDY. It then branches to enable HSE, CSI, and HSI. It checks for PLL1 and PLL2 enablement, and MCTMPSKP status. It waits for PWRLP_TEMPO and then for various clock ready signals (ref1_ck, ref2_ck, mcuss_ck, ckmcu_rdy). Finally, it waits for clocks selected by MPUSRC and AXISSRC to be ready, removes write protection, and sets CKREST to 0, ending the process.
graph TD; Start([Wakeup from system Stop, LP-Stop or LPLV-Stop
(pwrwake_sys event)]) --> SystemStopExit([SYSTEM_STOP_EXIT]); SystemStopExit --> SetCKREST([Set CKREST = 1, set AXICKRDY = 0
- Sensitive registers write-protected]); SetCKREST --> EnableClocks([Enable HSE and/or CSI if their respective enable bit is set to 1, AND always enable HSI]); EnableClocks --> HSIDRYHSERDY1{HSIDRY/HSERDY}; HSIDRYHSERDY1 -- No --> PLL1Enabled{PLL1 to be enabled?}; HSIDRYHSERDY1 -- Yes --> WaitPWRLP_TEMPO1([Wait for PWRLP_TEMPO]); PLL1Enabled -- No --> WaitPWRLP_TEMPO1; PLL1Enabled -- Yes --> PLL1Ready([Wait for ref1_ck ready
- Disable DIVP,Q,R,
- Enable the PLL1 VCO
- Wait for PLL1 ready]); PLL1Ready --> WaitPWRLP_TEMPO1; HSIDRYHSERDY2{HSIDRY/HSERDY} -- No --> PLL2Enabled{PLL2 to be enabled?}; HSIDRYHSERDY2 -- Yes --> WaitPWRLP_TEMPO2([Wait for PWRLP_TEMPO]); PLL2Enabled -- No --> WaitPWRLP_TEMPO2; PLL2Enabled -- Yes --> PLL2Ready([Wait for ref2_ck ready
- Disable DIVP,Q,R,
- Enable the PLL2 VCO
- Wait for PLL2 ready]); PLL2Ready --> WaitPWRLP_TEMPO2; HSIDRYCSIRDY{HSIDRY CSIRDY} --> MCTMPSKP{MCTMPSKP = 1?}; MCTMPSKP -- Yes --> WaitPWRLP_TEMPO3([Wait for PWRLP_TEMPO]); MCTMPSKP -- No --> WaitPWRLP_TEMPO3; WaitPWRLP_TEMPO3 -- pwrtp_tmp_done --> SelectHSI([Select HSI for mcuss_ck
- Wait for ckmcu_rdy]); HSIDRYHSERDY3{HSIDRY} --> PWRLP_TEMPO([PWRLP_TEMPO]); PWRLP_TEMPO --> WaitPWRLP_TEMPO3; WaitPWRLP_TEMPO3 --> WaitClocksReady([Wait that clocks selected by MPUSRC and AXISSRC are ready (i.e. ckaxi_rdy and ckmpu_rdy) and wait for HSI ready]); WaitClocksReady --> RemoveWriteProtection([Remove write protection on sensitive registers
- Set CKREST = 0]); RemoveWriteProtection --> End([END]);
Flowchart of the clock restore process after system stop. It starts with wakeup from system stop, then SYSTEM_STOP_EXIT, followed by setting CKREST and AXICKRDY. It then branches to enable HSE, CSI, and HSI. It checks for PLL1 and PLL2 enablement, and MCTMPSKP status. It waits for PWRLP_TEMPO and then for various clock ready signals (ref1_ck, ref2_ck, mcuss_ck, ckmcu_rdy). Finally, it waits for clocks selected by MPUSRC and AXISSRC to be ready, removes write protection, and sets CKREST to 0, ending the process.

MSv46593V1

Figure 70. Wake up from CStop processes

Flowchart showing wake-up processes for MPU and MCU from CStop. The MPU path is linear: wakeup event -> MPU_EXIT_FROM_CStop -> enable mcuss_ck, axiss_ck, mpuss_ck -> set AXICKRDY and MPUCKRDY to 1 -> RUN the MPU -> END. The MCU path branches based on whether peripherals are on AXI-SS: if no, enable mcuss_ck; if yes, enable mcuss_ck and axiss_ck, then set AXICKRDY to 1. Both paths then lead to RUN the MCU and END.
graph TD
    subgraph MPU_WakeUp [MPU wakeup event]
        A1[MPU_EXIT_FROM_CStop] --> A2["- Enable mcuss_ck - Enable axiss_ck
- Enable mpuss_ck"] A2 --> A3["- Set AXICKRDY to 1
- Set MPUCKRDY to 1"] A3 --> A4[RUN the MPU] A4 --> A5([END]) end subgraph MCU_WakeUp [MCU wakeup event] B1[MCU_EXIT_FROM_CStop] --> B2{Peripherals
on AXI-SS ?} B2 -- No --> B3[Enable mcuss_ck] B2 -- Yes --> B4["- Enable mcuss_ck
- Enable axiss_ck"] B4 --> B5[Set AXICKRDY to 1] B3 --> B6[RUN the MCU] B5 --> B6 B6 --> B7([END]) end

MSv46594V1

Flowchart showing wake-up processes for MPU and MCU from CStop. The MPU path is linear: wakeup event -> MPU_EXIT_FROM_CStop -> enable mcuss_ck, axiss_ck, mpuss_ck -> set AXICKRDY and MPUCKRDY to 1 -> RUN the MPU -> END. The MCU path branches based on whether peripherals are on AXI-SS: if no, enable mcuss_ck; if yes, enable mcuss_ck and axiss_ck, then set AXICKRDY to 1. Both paths then lead to RUN the MCU and END.

Note: Note as well that the RCC also provides a bit named AXICKRDY indicating if the axiss_ck clock is ready to be used. This signal is particularly helpful when the MCU allocates a peripheral located into the AXI sub-system.

Note: When the system exits from one of the Stop modes due to a wakeup event for the MCU, if the MCU has a peripheral using HSE as kernel clock, the MCU has to check that the HSE is ready before using this peripheral.

In order to avoid any unexpected behavior during the clock restore, the RCC provides a write-protection of all registers having a sensitive content for the clock restore. The application shall not attempt to write those registers when the clock restore sequence is running. If a processor attempts to write into one of the register listed in Table 55, the write operation is ignored, and a hard fault is generated. This situation may occur if one processor is already running while the other exits from CStop.

Note that the RCC provides a bit named CKREST in order to inform the application if a clock restore is on-going.

Table 55. Resources blocked during clock restore sequence

Resources-Corresponding registers write-protected during clock restore
Sub-system clock switches→RCC_MPCKSELR, RCC_ASSCKSELR, RCC_MSSCKSELR
PLL1 and 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 CStop or CStandby, and the MCU is in CStop and both processors allowed the Standby mode. Refer to Section 9.6: PWR low-power 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 and MCU sub-system are in CStop via pwrds_mpu and pwrds_mcu signals (see Figure 46).

Then the PWR block can request to the external PMIC to switch off the \(V_{DDCORE}\) voltage. 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, mcuss_ck, the RCC registers are reset to their initial values except the RCC_MP_BOOTCR, RCC_BDCR, RCC_RDLSICR, RCC_BR_RSTSCLRR and RCC_MC_RSTSCLRR.

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 will not be disturbed if its APB clock is changed on-the-fly.

For most of the peripherals, Table 56 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 56 show 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 56. Peripheral clock distribution overview

column_1Kernel←e ( 1 ) T y p A133 (2)ADCSRC1 per_ck
Bus←-209-- hclk2
BSECBus←-67-- pclk5
CRC1Bus←-266-- hclk6
CRC2Bus←-209-- hclk3
CRYP1Bus←-266-- hclk5
CRYP2Bus←-209-- hclk3
Kernel←A10-- lsi_ck
Bus←-104.5-- pclk1
DCMIBus←-209-- hclk3
Kernel←A533-- ker_ddrc_ck
Bus←-133-- pclk4
266-- aclk
Kernel←A533-- ker_ddrc_ckg
Bus←-133-- pclk4
Kernel←A533-- pll2_r_ck
Bus←-133-- pclk4 pll4_q_ck
Kernel←A133SAI1SRC
DFSDM3 per_ck pll3_r_ck
←S209-- mlhclk
Bus←-104.5-- pclk2
DLYBSD1, DLYBSD2Bus←-266-- hclk6
DLYBSD3Bus←-209-- hclk2
DLYBQSBus←-266-- hclk6 mlhclk
DMA1, DMA2Bus←-209-- hclk1 hclk2
DMAMUXBus←-209-- hclk2

Table 56. Peripheral clock distribution overview (continued)

PeripheralsClock types-Type (1)Max. freq. [MHz]Clock MUXMUX Pos.Clock sources
DSIKernel←A133 (3)DSISRC0dsi_phy_ck
1pll4_p_ck
90(4)--pll4_q_ck
50--hse_ck
Bus←A133--pclk4
ETHKernel←A125ETHSRC0pll4_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-KBus←-209--hclk4
GPIOZBus←-266--hclk5
GPUKernel←-533--pll2_q_ck
Bus←-266--hclk6
-aclk
HASH1Bus←-266--hclk5
HASH2Bus←-209--hclk3
HDMI-CECKernel←-1CECSRC0lse_ck
1lsi_ck
2csi_ker_ck/122
Bus←-104.5--pclk1

Table 56. Peripheral clock distribution overview (continued)

PeripheralsClock types-Type (1)Max. freq. [MHz]Clock MUXMUX Pos.Clock sources
HDPBus←-104.5--pclk3
HSEMBus←-209--hclk3
I2C1, I2C2
I2C3, I2C5
Kernel←A104.5I2C12SRC,
I2C35SRC
0pclk1
1pll4_r_ck
2hsi_ker_ck
3csi_ker_ck
Bus←-104.5--pclk1
I2C4, I2C6Kernel←A133I2C46SRC0pclk5
1pll3_q_ck
2hsi_ker_ck
3csi_ker_ck
Bus←-133--pclk5
IPCCBus←-209--hclk3
IWDG1Kernel←A1--lsi_ck
Bus←-133--pclk5
IWDG2Kernel←A1--lsi_ck
Bus←-133--pclk4
LPTIM1Kernel←A104.5LPTIM1SRC0pclk1
1pll4_p_ck
2pll3_q_ck
3lse_ck
4lsi_ck
5per_ck
Bus←-104.5--pclk1
LPTIM2, LPTIM3Kernel←A104.5LPTIM23SRC0pclk3
1pll4_q_ck
2per_ck
3lse_ck
4lsi_ck
Bus←-104.5--pclk3

Table 56. Peripheral clock distribution overview (continued)

PeripheralsClock types-Type (1)Max. freq. [MHz]Clock MUXMUX Pos.Clock sources
LPTIM4, LPTIM5Kernel←A104.5LPTIM45SRC0pclk3
1pll4_p_ck
2pll3_q_ck
3lse_ck
4lsi_ck
5per_ck
Bus←-104.5--pclk3
LTDCKernel←A90 (4)--pll4_q_ck
Bus←-133--pclk4
266--aclk
MDIOSBus←-104.5--pclk1
MDMABus←-266--hclk6
aclk
PWRBus←-209--hclk4
QUADSPIKernel←A266QSPI SRC0aclk
1pll3_r_ck
2pll4_p_ck
3per_ck
Bus←-266--hclk6
aclk
RNG1Kernel←A48RNG1SRC0csi_ker_ck
1pll4_r_ck
2lse_ck
3lsi_ck
Bus←-266--hclk5
RNG2Kernel←A48RNG2SRC0csi_ker_ck
1pll4_r_ck
2lse_ck
3lsi_ck
Bus←-209--hclk3

Table 56. Peripheral clock distribution overview (continued)

PeripheralsClock types-Type (1)Max. freq. [MHz]Clock MUXMUX Pos.Clock sources
RTC/AWU(5)Kernel←A4RTCSRC1lse_ck
2lsi_ck
3hse_ker_ck / (RTCDIV+1)
Bus←-133--pclk5
SAI1, SAI3Kernel←A133SAI1SRC, SAI3SRC0pll4_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
SAI4Kernel←A133SAI4SRC0pll4_q_ck
1pll3_q_ck
2I2S_CKIN
3per_ck
4pll3_r_ck
Bus←-104.5--pclk3
SDMMC1, SDMMC2Kernel←A200SDMMC12SRC0hclk6
1pll3_r_ck
2pll4_p_ck
3hsi_ker_ck
Bus←-266--hclk6
SDMMC3Kernel←A209SDMMC3SRC0hclk2
1pll3_r_ck
2pll4_p_ck
3hsi_ker_ck
Bus←-209--hclk2

Table 56. Peripheral clock distribution overview (continued)

PeripheralsClock types-Type (1)Max. freq. [MHz]Clock MUXMUX Pos.Clock sources
SPDIFRXKernel←A200SPDIFSRC0pll4_p_ck
1pll3_q_ck
2hsi_ker_ck
Bus←-104.5--pclk1
SPI6Kernel←A133SPI6SRC0pclk5
1pll4_q_ck
2hsi_ker_ck
3csi_ker_ck
4hse_ker_ck
5pll3_q_ck
Bus←-133--pclk5
SPI2S1Kernel←A200SPI1SRC0pll4_p_ck
1pll3_q_ck
2I2S_CKIN
3per_ck
4pll3_r_ck
Bus←-104.5--pclk2
SPI4, SPI5Kernel←A133SPI45SRC0pclk2
1pll4_q_ck
2hsi_ker_ck
3csi_ker_ck
4hse_ker_ck
Bus←-104.5--pclk2
SPI2S3, SPI2S2Kernel←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

Table 56. Peripheral clock distribution overview (continued)

PeripheralsClock types-Type (1)Max. freq. [MHz]Clock MUXMUX Pos.Clock sources
SYSCFGBus←-104.5--pclk3
DTSKernel←A10--lse_ck
Bus←-104.5--pclk3
TIM1, TIM8, TIM[17:15]Kernel←S209--timg2_ck
Bus←-104.5--pclk2
TIM[7:2], TIM[14:12]Kernel←S209--timg1_ck
Bus←-104.5--pclk1
TZCBus←-133--pclk5
266--aclk
USART1Kernel←A133UART1SRC0pclk5
1pll3_q_ck
2hsi_ker_ck
3csi_ker_ck
4pll4_q_ck
5hse_ker_ck
Bus←-133--pclk5
USART2, UART4
USART3, UART5
UART7, UART8
Kernel←A104.5UART24SRC,
UART35SRC,
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

Table 56. Peripheral clock distribution overview (continued)

PeripheralsClock types-Type (1)Max. freq. [MHz]Clock MUXMUX Pos.Clock sources
USBDPHYKernel←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
WWDG1Bus←-104.5--pclk1
  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 ADC12, if clock prescaler is bypassed in the ADC, a duty cycle of 50% is required. Max frequency of ADC clock is specified in product datasheet. In order to get a duty cycle 50%, the DIVQ value shall be odd. Refer to Section : Clock distribution for HDMI-CEC, STGEN, ADCs and DACs for details.
    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. For byte lane clock frequency (Fblclk_ck).
  4. 4. The pixel clock is shared between the DSI and the LTDC block.
  5. 5. The RTC switch is in the VSW voltage domain.

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 33: 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 MCU (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
-MHzMHzMHz------MHzMHzppmMHzppm

Figure 71. Peripheral clock distribution For SAIs and DFSDM

Figure 71. Peripheral clock distribution For SAIs and DFSDM

The diagram illustrates the RCC clock distribution architecture for SAI peripherals (SAI1, SAI2, SAI3, SAI4) and DFSDM. It contains:

Figure 71. Peripheral clock distribution For SAIs and DFSDM

1. There is one enable bit and one low-power enable bit for MPU and MCU.
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 of peripheral clock distribution for SPI/I2Ss and SPDIFRX. The diagram shows the RCC (Reset and Clock Control) block containing three D-type flip-flops (PKCS) that select clock sources (pll4_p_ck, pll3_q_ck, hsi_ker_ck, I2S_CKIN, per_ck, pll3_r_ck) based on SPI1SRC, SPI23SRC, and SPDIFSRC. The outputs of these flip-flops pass through clock gating logic (CGL) in the PKCE block, controlled by enable bits (SPDIFEN, SPI[3:2]EN, SPI1EN) and low-power enable bits (SPDIFLPEN, SPI[3:2]LPEN, SPI1LPEN). The final outputs are bus interface clocks (pclk1, pclk2) and kernel clocks (spdif_clk, spdif_clk_symb, spi_clk, spi_ker_ck) for the SPDIFRX, SPI/I2S[3:2], and SPI/I2S1 peripherals. A legend indicates that thick lines are bus interface clocks and thin lines are kernel clocks. A note explains that the switch is dynamic and glitch-free.

RCC

SPDIFSRC → D (0: pll4_p_ck, 1: pll3_q_ck, 2: hsi_ker_ck) → 200 MHz Max → SPDIFEN(1), SPDIFLPEN(1) → CGL → spdif_clk, SPDIF_CLK, spdif_clk_symb → SPDIFRX

SPI23SRC → D (0: pll4_p_ck, 1: pll3_q_ck, 2: I2S_CKIN, 3: per_ck, 4: pll3_r_ck) → 200 MHz Max → SPI[3:2]EN(1), SPI[3:2]LPEN(1) → CGL → spi_clk, spi_ker_ck → SPI/I2S[3:2]

SPI1SRC → D (0: pll4_p_ck, 1: pll3_q_ck, 2: I2S_CKIN, 3: per_ck, 4: pll3_r_ck) → 200 MHz Max → SPI1EN(1), SPI1LPEN(1) → CGL → spi_clk, spi_ker_ck → SPI/I2S1

PKCS (Dynamic switches, glitch-free)

PKCE (Clock Gating Logic)

Legend: — Bus interface clocks, — Kernel clocks

MSv46595V2

Block diagram of peripheral clock distribution for SPI/I2Ss and SPDIFRX. The diagram shows the RCC (Reset and Clock Control) block containing three D-type flip-flops (PKCS) that select clock sources (pll4_p_ck, pll3_q_ck, hsi_ker_ck, I2S_CKIN, per_ck, pll3_r_ck) based on SPI1SRC, SPI23SRC, and SPDIFSRC. The outputs of these flip-flops pass through clock gating logic (CGL) in the PKCE block, controlled by enable bits (SPDIFEN, SPI[3:2]EN, SPI1EN) and low-power enable bits (SPDIFLPEN, SPI[3:2]LPEN, SPI1LPEN). The final outputs are bus interface clocks (pclk1, pclk2) and kernel clocks (spdif_clk, spdif_clk_symb, spi_clk, spi_ker_ck) for the SPDIFRX, SPI/I2S[3:2], and SPI/I2S1 peripherals. A legend indicates that thick lines are bus interface clocks and thin lines are kernel clocks. A note explains that the switch is dynamic and glitch-free.
  1. There is one enable bit and one low-power enable bit for MPU and MCU.
    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 showing peripheral clock distribution for SPIs. It includes RCC, PKCS (containing SPI45SRC and SPI6SRC MUXes), and PKCE (containing CGL blocks) leading to SPI[5:4] and SPI6 peripherals. Legend indicates dynamic switches and clock types.

The diagram illustrates the clock distribution for SPI peripherals. It starts with the RCC block, which contains two MUXes (PKCS) for SPI45SRC and SPI6SRC. The SPI45SRC MUX (entries 0-4) selects from pclk2, pll4_q_ck, hsi_ker_ck, csi_ker_ck, and hse_ker_ck. The SPI6SRC MUX (entries 0-5) selects from pclk5, pll4_q_ck, hsi_ker_ck, csi_ker_ck, hse_ker_ck, and pll3_q_ck. The selected clocks pass through PKCE blocks containing CGL (Clock Gating Logic) and are then distributed to the SPI[5:4] and SPI6 peripherals as spi_pclk and spi_ker_ck. A legend indicates that thick lines are bus interface clocks and thin lines are kernel clocks. A note explains that the switch is dynamic and glitch-free.

Block diagram showing peripheral clock distribution for SPIs. It includes RCC, PKCS (containing SPI45SRC and SPI6SRC MUXes), and PKCE (containing CGL blocks) leading to SPI[5:4] and SPI6 peripherals. Legend indicates dynamic switches and clock types.
  1. 1. There is one enable bit and one low-power enable bit for MPU and MCU.
    X Represents the selected MUX input after a system reset.

Note: In order to provide a secure kernel clock to SPI6, the application must choose pclk5, hse_ker_ck, hsi_ker_ck or csi_ker_ck. The application can also use pll3_q_ck, but in that case the bit MCKPROT must be set to ‘1’ as well. Refer to Section 10.4.14: RCC TrustZone function for usage of the MCKPROT bit.

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, Figure 75 and Figure 76 the I2Cs and UARTs provide kernel clock requests signals (I2CCLK_REQ and UCLK_REQ). These signals can be used when the system is in (LP-)Stop, 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. The diagram shows the RCC (Reset and Clock Control) block containing PKCS (Peripheral Clock Selection) and PKCE (Peripheral Clock Enable) sections. PKCS has three 4-to-1 multiplexers. The first multiplexer (for I2C4,6) selects from pclk5, pll3_q_ck, hsi_ker_ck, and csi_ker_ck, with a maximum frequency of 133 MHz. The second (for I2C[2:1]) and third (for I2C3,5) select from pclk1, pll4_r_ck, hsi_ker_ck, and csi_ker_ck, with a maximum frequency of 104.5 MHz. PKCE contains three CGL (Clock Gating Logic) blocks. Each CGL block receives a kernel clock from PKCS and control signals (I2C4,6EN, I2C4,6LPEN, etc.). The outputs of the CGL blocks are ANDed with the kernel clocks to produce the final bus interface clocks (i2c_pclk) for I2C4,6, I2C[2:1], and I2C3,5. A legend indicates that a box with a 'D' represents a dynamic switch, a thick line represents a bus interface clock, and a thin line represents a kernel clock. The document reference MSv46598V2 is in the bottom right corner.
Block diagram of peripheral clock distribution for I2Cs. The diagram shows the RCC (Reset and Clock Control) block containing PKCS (Peripheral Clock Selection) and PKCE (Peripheral Clock Enable) sections. PKCS has three 4-to-1 multiplexers. The first multiplexer (for I2C4,6) selects from pclk5, pll3_q_ck, hsi_ker_ck, and csi_ker_ck, with a maximum frequency of 133 MHz. The second (for I2C[2:1]) and third (for I2C3,5) select from pclk1, pll4_r_ck, hsi_ker_ck, and csi_ker_ck, with a maximum frequency of 104.5 MHz. PKCE contains three CGL (Clock Gating Logic) blocks. Each CGL block receives a kernel clock from PKCS and control signals (I2C4,6EN, I2C4,6LPEN, etc.). The outputs of the CGL blocks are ANDed with the kernel clocks to produce the final bus interface clocks (i2c_pclk) for I2C4,6, I2C[2:1], and I2C3,5. A legend indicates that a box with a 'D' represents a dynamic switch, a thick line represents a bus interface clock, and a thin line represents a kernel clock. The document reference MSv46598V2 is in the bottom right corner.

Note: In order to provide a secure kernel clock to I2C4 and I2C6, the application must choose pclk5, hsi_ker_ck or csi_ker_ck. The application can also use pll3_q_ck, but in that case the MCKPROT bit must be set to '1' as well.

Figure 75. Peripheral clock distribution for UARTs, and USARTs

Block diagram of peripheral clock distribution for UARTs and USARTs within the RCC. It shows two clock source selection blocks (PKCS) for UART24SRC and UART35SRC, each with inputs pclk1, pll4_q_ck, hsi_ker_ck, csi_ker_ck, and hse_ker_ck. The outputs of these blocks feed into clock gating logic (PCKE) for USART2, UART4, USART3, and UART5. Each peripheral block includes enable bits (USARTxEN, UARTxEN), low-power enable bits (USARTxLPEN, UARTxLPEN), and a CGL block. The diagram also shows the 104.5 MHz Max frequency limit and the distinction between bus interface clocks (thick lines) and kernel clocks (thin lines).

RCC

UART24SRC

pk11

pll4_q_ck

hsi_ker_ck

csi_ker_ck

hse_ker_ck

pk11

USART2EN(1)

USART2LPEN(1)

...

104.5 MHz Max

pk11

USART2

uart_pclk

UCLK_REQ

UCLK

pk11

UART4EN(1)

UART4LPEN(1)

...

104.5 MHz Max

pk11

UART4

uart_pclk

UCLK_REQ

UCLK

pk11

USART3EN(1)

USART3LPEN(1)

...

104.5 MHz Max

pk11

USART3

uart_pclk

UCLK_REQ

UCLK

pk11

UART5EN(1)

UART5LPEN(1)

...

104.5 MHz Max

pk11

UART5

uart_pclk

UCLK_REQ

UCLK

PKCS

PCKE

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

— Bus interface clocks — Kernel clocks

MSv46599V2

Block diagram of peripheral clock distribution for UARTs and USARTs within the RCC. It shows two clock source selection blocks (PKCS) for UART24SRC and UART35SRC, each with inputs pclk1, pll4_q_ck, hsi_ker_ck, csi_ker_ck, and hse_ker_ck. The outputs of these blocks feed into clock gating logic (PCKE) for USART2, UART4, USART3, and UART5. Each peripheral block includes enable bits (USARTxEN, UARTxEN), low-power enable bits (USARTxLPEN, UARTxLPEN), and a CGL block. The diagram also shows the 104.5 MHz Max frequency limit and the distinction between bus interface clocks (thick lines) and kernel clocks (thin lines).

Figure 76. Peripheral clock distribution for UARTs, and USARTs

Block diagram of peripheral clock distribution for UARTs and USARTs. The diagram shows the RCC (Reset and Clock Control) block containing three MUXes (PKCS) and three clock gating logic (PCKE) blocks. The PKCS MUXes select kernel clocks (pclk5, pclk2, pclk1) from various sources (pll3_q_ck, hsi_ker_ck, csi_ker_ck, pll4_q_ck, hse_ker_ck) based on UART/USART source registers. The PCKE blocks then gate these kernel clocks to provide uart_pclk and UCLK to USART1, USART6, UART7, and UART8. Enable and low-power enable bits are shown for each peripheral.

RCC

PKCS

PCKE

Legend:

MSv47300V2

Block diagram of peripheral clock distribution for UARTs and USARTs. The diagram shows the RCC (Reset and Clock Control) block containing three MUXes (PKCS) and three clock gating logic (PCKE) blocks. The PKCS MUXes select kernel clocks (pclk5, pclk2, pclk1) from various sources (pll3_q_ck, hsi_ker_ck, csi_ker_ck, pll4_q_ck, hse_ker_ck) based on UART/USART source registers. The PCKE blocks then gate these kernel clocks to provide uart_pclk and UCLK to USART1, USART6, UART7, and UART8. Enable and low-power enable bits are shown for each peripheral.

Note: In order to provide a secure kernel clock to USART1, the application must choose pclk5, hse_ker_ck, hsi_ker_ck or csi_ker_ck. The application can also use pll3_q_ck, but in that case the MCKPROT bit must be set to '1' as well.

Note: In order to allow the I2Cs or U(S)ARTs to work in CStop or system (LP-)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[2: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 (1)
APB2DIV
TIMG1PRE
TIMG2PRE
(2)
-Ftimg1_ck
Ftimg2_ck
Fpclk1
Fpclk2
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 / 16
'010''1'→FmlhclkFmlhclk / 4The timer clock is 4 times faster than the bus clock.
'011''1'→Fmlhclk / 2Fmlhclk / 8
'100''1'→Fmlhclk / 4Fmlhclk / 16
  1. 1. APB1DIV and APB2DIV are located into RCC APB1 clock divider register (RCC_APB1DIVR) and RCC APB2 clock divider register (RCC_APB2DIVR).
  2. 2. TIMG1PRE and TIMG2PRE are located into RCC TIM group 1 prescaler register (RCC_TIMG1PRER) and RCC TIM group 2 prescaler register (RCC_TIMG2PRER).

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 (LP-/LPLV-)Stop.

Figure 77. Peripheral clock distribution for TIMs and LPTIMs

Block diagram showing peripheral clock distribution for TIMs and LPTIMs. It details the RCC, PKCS, and PCKE sections, showing clock sources like pclk1, pclk3, and mlhclk being routed through multiplexers and clock gating logic (CGL) to various peripherals including LPTIM1, LPTIM[3:2], LPTIM[5:4], TIMx, and TIMy.

The diagram illustrates the clock distribution architecture for TIMs and LPTIMs. It is divided into three main sections: RCC (Reset and Clock Control), PKCS (Peripheral Clock Selection), and PCKE (Peripheral Clock Enable).

Legend:

MSv47301V2

Block diagram showing peripheral clock distribution for TIMs and LPTIMs. It details the RCC, PKCS, and PCKE sections, showing clock sources like pclk1, pclk3, and mlhclk being routed through multiplexers and clock gating logic (CGL) to various peripherals including LPTIM1, LPTIM[3:2], LPTIM[5:4], TIMx, and TIMy.
  1. There is one enable bit and one low-power enable bit for MPU and MCU.
    X Represents the selected MUX input after a system reset.
  1. Can be changed on the fly.

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

Clock distribution for DSI and LTDC

The DSI DPHY block has its own PLL working directly with the hse_ck.

The DSI and the LTDC are sharing the same pixel clock. The DSI HOST is providing to the DSI DPHY the transmit escape clock (txclkesc_dlx). This clock is generated by the DSI HOST from the lanebyte_clk input via a programmable divider. The transmit escape clock shall not be higher than 20 MHz.

To reduce the power consumption, the application can use pll4_p_ck in order to generate the transmit escape clock, and keep the DSI PLL switched-off.

Figure 78. Peripheral clock distribution for DSI, DSI DPHY and LTDC

Peripheral clock distribution for DSI, DSI DPHY and LTDC block diagram

The diagram illustrates the clock distribution for the LTDC, DSI, and DSI DPHY peripherals. It shows the RCC (Reset and Clock Control) block containing the PKCS and PCKE modules. PKCS provides pclk4 and aclk. PCKE provides pll4_q_ck (90 MHz Max) and pll4_p_ck (133 MHz Max) through dynamic switches. The LTDC block receives pclk, aclk, and pixel_clk from PCKE and outputs RGB. The DSI block receives pixel_clk and pclk from PCKE, and lanebyte_clk, rxclkesc, and dsi_phy_ck from PCKE. It outputs txclkesc_dl2, txclkesc_dl1, rxclkesc_dl1, and txbyte_clk_hs to the DSI DPHY block. The DSI PLL block is also shown. A legend indicates that a box with 'D' represents a dynamic switch and thick lines represent bus interface clocks while thin lines represent kernel clocks.

Peripheral clock distribution for DSI, DSI DPHY and LTDC block diagram

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 79. Peripheral clock distribution for QUADSPI and FMC

Block diagram of peripheral clock distribution for QUADSPI and FMC. The diagram shows the RCC block containing two dynamic switches (PKCS) and a clock gate logic block (PCKE). The top PKCS switch selects between aclk, pll3_r_ck, pll4_p_ck, and per_ck based on QSPISRC. Its output goes to PCKE, which uses QSPIEN and QSPILPEN to gate the clock for QUADSPI (clk and ker_clk). The bottom PKCS switch selects between aclk, pll3_r_ck, pll4_p_ck, and per_ck based on FMCSRC. Its output goes to PCKE, which uses FMCEN and FMCLPEN to gate the clock for FMC (hclk, aclk, and KCK_FMC). Both switches have a 266 MHz Max frequency limit. Legend: Dynamic switch symbol indicates glitch-free transition; thick lines are bus interface clocks; thin lines are kernel clocks.
Block diagram of peripheral clock distribution for QUADSPI and FMC. The diagram shows the RCC block containing two dynamic switches (PKCS) and a clock gate logic block (PCKE). The top PKCS switch selects between aclk, pll3_r_ck, pll4_p_ck, and per_ck based on QSPISRC. Its output goes to PCKE, which uses QSPIEN and QSPILPEN to gate the clock for QUADSPI (clk and ker_clk). The bottom PKCS switch selects between aclk, pll3_r_ck, pll4_p_ck, and per_ck based on FMCSRC. Its output goes to PCKE, which uses FMCEN and FMCLPEN to gate the clock for FMC (hclk, aclk, and KCK_FMC). Both switches have a 266 MHz Max frequency limit. Legend: Dynamic switch symbol indicates glitch-free transition; thick lines are bus interface clocks; thin lines are kernel clocks.
  1. 1. There is one enable bit and one low-power enable bit for MPU and MCU.
    X Represents the selected MUX input after a system reset.

Figure 80. Peripheral clock distribution for SDMMCs

Block diagram of peripheral clock distribution for SDMMCs. The diagram shows the RCC block containing two dynamic switches (PKCS) and a clock gate logic block (PCKE). The top PKCS switch selects between hclk2, pll3_r_ck, pll4_p_ck, and hsi_ker_ck based on SDMMC3SRC. Its output goes to PCKE, which uses SDMMC3EN and SDMMC3LPEN to gate the clock for DLYBSD3 (HCLK) and SDMMC3 (HCLK and SDMMCCLK). The bottom PKCS switch selects between hclk6, pll3_r_ck, pll4_p_ck, and hsi_ker_ck based on SDMMC12SRC. Its output goes to PCKE, which uses SDMMC[2:1]EN and SDMMC[2:1]LPEN to gate the clock for DLYBSD1,2 (HCLK) and SDMMC1,2 (HCLK and SDMMCCLK). The top switch has a 209 MHz Max frequency limit, and the bottom switch has a 200 MHz Max limit. Legend: Dynamic switch symbol indicates glitch-free transition; thick lines are bus interface clocks; thin lines are kernel clocks.
Block diagram of peripheral clock distribution for SDMMCs. The diagram shows the RCC block containing two dynamic switches (PKCS) and a clock gate logic block (PCKE). The top PKCS switch selects between hclk2, pll3_r_ck, pll4_p_ck, and hsi_ker_ck based on SDMMC3SRC. Its output goes to PCKE, which uses SDMMC3EN and SDMMC3LPEN to gate the clock for DLYBSD3 (HCLK) and SDMMC3 (HCLK and SDMMCCLK). The bottom PKCS switch selects between hclk6, pll3_r_ck, pll4_p_ck, and hsi_ker_ck based on SDMMC12SRC. Its output goes to PCKE, which uses SDMMC[2:1]EN and SDMMC[2:1]LPEN to gate the clock for DLYBSD1,2 (HCLK) and SDMMC1,2 (HCLK and SDMMCCLK). The top switch has a 209 MHz Max frequency limit, and the bottom switch has a 200 MHz Max limit. Legend: Dynamic switch symbol indicates glitch-free transition; thick lines are bus interface clocks; thin lines are kernel clocks.
  1. 1. There is one enable bit and one low-power enable bit for MPU and MCU.
    X Represents the selected MUX input after a system reset.

Clock distribution for USBH and USBO

Figure 81 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 81. Peripheral clock distribution for USB

Block diagram showing peripheral clock distribution for USB, including RCC, PKCS, PKCE, USBO (OTG), USBPHY, and USBH (HOST) components with various clock signals and control registers.

The diagram illustrates the clock distribution for USB peripherals. It is divided into several functional blocks:

Legend:

MSv47306V2

Block diagram showing peripheral clock distribution for USB, including RCC, PKCS, PKCE, USBO (OTG), USBPHY, and USBH (HOST) components with various clock signals and control registers.
  1. There is one enable bit and one low-power enable bit for MPU and MCU.
    X Represents the selected MUX input after a system reset.

Clock distribution for Ethernet (ETH)

Figure 82. Peripheral clock distribution for Ethernet

Peripheral clock distribution for Ethernet diagram showing clock inputs (ETH_TX_CLK, ETH_CLK125, ETH_RX_CLK / ETH_REF_CLK, pll4_p_ck, pll3_q_ck), dividers, multiplexers controlled by SYSCFG, dynamic glitch-free switching, clock gating logic (CGL), and output clocks to the Ethernet block (clk_ptp_ref_i, clk_tx_i, clk_tx_180_i, clk_rx_i, clk_rx_180_i, clk_rmii_i, aclk_i, hclk_i) for RGMII/GMII, MII, and RMII modes.
Peripheral clock distribution for Ethernet diagram showing clock inputs (ETH_TX_CLK, ETH_CLK125, ETH_RX_CLK / ETH_REF_CLK, pll4_p_ck, pll3_q_ck), dividers, multiplexers controlled by SYSCFG, dynamic glitch-free switching, clock gating logic (CGL), and output clocks to the Ethernet block (clk_ptp_ref_i, clk_tx_i, clk_tx_180_i, clk_rx_i, clk_rx_180_i, clk_rmii_i, aclk_i, hclk_i) for RGMII/GMII, MII, and RMII modes.
  1. There is one enable bit and one low-power enable bit for MPU and MCU.
    X Represents the selected MUX input after a system reset.
  2. The Ethernet clocks provided by the RCC are available on ETH_CLK pad.
  3. The clock selection for the RX and TX path is controlled via the SYSCFG block.
  4. The signal ETH_SEL[2:0] is provided by the SYSCFG block and defines the interface type used:
    • In MII mode (orange path),
      • The transmit clock is received from the external PHY via the pad ETH_TX_CLK. The clock frequency will be 2.5 or 25 MHz.
      • The receive clock is received from the external PHY via the pad ETH_RX_CLK. The clock frequency will be 2.5 or 25 MHz
      • In this mode, the output ETH_CLK can be used to provide a reference clock (25 MHz) to the external PHY.
    • In GMII mode (red path),
      • The transmit clock can be selected between an internal clock provided by the RCC, or the clock received on the ETH_CLK125 pad. This selection is controlled

via ETH_CLK_SEL from the SYSCFG.
The clock frequency is fixed to 125 MHz.

The ETH 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_RX_CLK and ETH_TX_CLK in CStop and Stop modes via the ETHSTPEN bit. It is also possible to gate the GTX_CLK clock provided to the PHY during EEE LPI state via the ETH block.

Clock distribution for RNG1 and RNG2

Figure 83. Kernel clock distribution for RNG1 and RNG2

Figure 83. Kernel clock distribution for RNG1 and RNG2 diagram showing RCC clock selection logic for RNG1 and RNG2.
Figure 83. Kernel clock distribution for RNG1 and RNG2 diagram showing RCC clock selection logic for RNG1 and RNG2.
  1. 1. There is one enable bit and one low-power enable bit for MPU and MCU.
    X Represents the selected MUX input after a system reset.

Note: In order to provide a secure kernel clock to RNG1, the application must choose lse_ck, lsi_ck, or csi_ker_ck.

Clock distribution for FDCAN

Figure 84. Kernel clock distribution for FDCAN

Figure 84. Kernel clock distribution for FDCAN diagram showing RCC clock selection logic for FDCAN.
Figure 84. Kernel clock distribution for FDCAN diagram showing RCC clock selection logic for FDCAN.
  1. 1. There is one enable bit and one low-power enable bit for MPU and MCU.
    X Represents the selected MUX input after a system reset.

Clock distribution for HDMI-CEC, STGEN, ADCs and DACs

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 system (LP-)Stop mode.

Note that two asynchronous bridges are connecting the STGEN to APB4 and APB5 busses, so the RCC shall 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 (LP-)Stop mode, the application shall set the bits STGENEN, STGENLPEN and STGENSTPEN 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.

The ADC12 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%.

Figure 85. Kernel clock distribution for ADC12, DACs, STGEN and HDMI-CEC

Block diagram of kernel clock distribution for ADC12, DACs, STGEN and HDMI-CEC. The diagram shows the RCC (Reset and Clock Control) block on the left, which contains three multiplexers (PKCS) for selecting clock sources. The first PKCS selects between lse_ck and lsi_ck (input 0) or csi_ker_ck (input 2) to produce a 1 MHz Max clock. The second PKCS selects between hsi_ker_ck (input 0) or hse_ker_ck (input 1) to produce a 64 MHz Max clock. The third PKCS selects between pll4_r_ck (input 0), per_ck (input 1), and pll3_q_ck (input 2) to produce a 133 MHz Max clock. These clocks are then distributed to various peripherals: HDMI-CEC (pclk1), STGEN (pclk4, pclk5), APB4/5 Async Bridges, DAC1&2 (pclk1), and ADC12 (hclk2). The diagram also shows CGL (Clock Gating Logic) blocks and enable/disable signals (e.g., CECEN, STGENROEN, DAC12EN, ADC12EN) for each peripheral. A legend indicates that a box with 'D' represents a dynamic switch and thick lines represent bus interface clocks.

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

— Bus interface clocks — Kernel clocks

MSv47310V3

Block diagram of kernel clock distribution for ADC12, DACs, STGEN and HDMI-CEC. The diagram shows the RCC (Reset and Clock Control) block on the left, which contains three multiplexers (PKCS) for selecting clock sources. The first PKCS selects between lse_ck and lsi_ck (input 0) or csi_ker_ck (input 2) to produce a 1 MHz Max clock. The second PKCS selects between hsi_ker_ck (input 0) or hse_ker_ck (input 1) to produce a 64 MHz Max clock. The third PKCS selects between pll4_r_ck (input 0), per_ck (input 1), and pll3_q_ck (input 2) to produce a 133 MHz Max clock. These clocks are then distributed to various peripherals: HDMI-CEC (pclk1), STGEN (pclk4, pclk5), APB4/5 Async Bridges, DAC1&2 (pclk1), and ADC12 (hclk2). The diagram also shows CGL (Clock Gating Logic) blocks and enable/disable signals (e.g., CECEN, STGENROEN, DAC12EN, ADC12EN) for each peripheral. A legend indicates that a box with 'D' represents a dynamic switch and thick lines represent bus interface clocks.
  1. 1. There is one enable bit and one low-power enable bit for MPU and MCU.
    X Represents the selected MUX input after a system reset.
  2. 2. In case ADC prescaler is bypassed, max frequency is limited by the ADC specification (see product datasheet).

Clock distribution for GPU

The DIVQ output of the PLL2 (pll2_q_ck) is dedicated to the GPU kernel clock.

Figure 86. Kernel clock distribution for GPU

Figure 86. Kernel clock distribution for GPU

MSv47311V1

Figure 86. Kernel clock distribution for GPU
  1. 1. There is one enable bit and one low-power enable bit for MPU and MCU.

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 (LP-)Stop. Refer to section Section 10.4.11: Peripheral clock gating control for additional information.

Figure 87. Kernel clock distribution for DTS

Figure 87. Kernel clock distribution for DTS

MSv47312V3

Figure 87. Kernel clock distribution for DTS
  1. 1. There is one enable bit and one low-power enable bit for MPU and MCU.

Clock distribution for RTC/AWU

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 88. Clock distribution for RTC

Block diagram showing clock distribution for RTC. It includes RCC, PKCS, PCKE, and RTC blocks. RCC provides LSE_ck, LSI_ck, and hse_ker_ck. PKCS contains a MUX (RTCSRC) selecting between 0, LSE_ck, LSI_ck, and hse_rtc_ck. The output is 4 MHz Max. PCKE contains RTCAPBEN, RTCAPBLPEN, and RTCCKEN control signals, and a CGL block. RTC receives pclk and rtc_ck signals.

The diagram illustrates the clock distribution for the RTC. It shows the interaction between the RCC, PKCS, PCKE, and RTC blocks. The RCC provides LSE_ck, LSI_ck, and hse_ker_ck. The PKCS block contains a MUX (RTCSRC) that selects between inputs 0, LSE_ck, LSI_ck, and hse_rtc_ck. The output of the MUX is 4 MHz Max. The PCKE block contains RTCAPBEN, RTCAPBLPEN, and RTCCKEN control signals, and a CGL block. The RTC block receives pclk and rtc_ck signals. A legend indicates that thick lines represent bus interface clocks and thin lines represent kernel clocks.

Block diagram showing clock distribution for RTC. It includes RCC, PKCS, PCKE, and RTC blocks. RCC provides LSE_ck, LSI_ck, and hse_ker_ck. PKCS contains a MUX (RTCSRC) selecting between 0, LSE_ck, LSI_ck, and hse_rtc_ck. The output is 4 MHz Max. PCKE contains RTCAPBEN, RTCAPBLPEN, and RTCCKEN control signals, and a CGL block. RTC receives pclk and rtc_ck signals.

MSv47313V1

1. There is one enable bit and one low-power enable bit for MPU and MCU.
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 watchdogs (IWDG[2:1], WWDG1)

The RCC provides the clocks for the three watchdog blocks available on the circuit:

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 89. Clock distribution for IWDG[2:1] and WWDG1

Block diagram showing clock distribution for watchdogs IWDG[2:1] and WWDG1. The RCC block generates pclk1, pclk5, and pclk4 routed through clock gating logic (CGL) to WWDG1, IWDG1, and IWDG2 APB inputs. The LSI oscillator feeds into a gating logic controlled by FZ_IWDG1 and FZ_IWDG2 from RCC_MP_IWDGFZxxxxR to supply iwdg1_lsi_on and iwdg2_lsi_on clocks to IWDG1 and IWDG2. An OTP Logic block provides configuration signals (OTP_IWDG1_HW, OTP_IWDG1_FZ_STANDBY, OTP_IWDG1_FZ_STOP, OTP_IWDG2_HW, OTP_IWDG2_FZ_STANDBY, OTP_IWDG2_FZ_STOP, and Debug function) to IWDG1 and IWDG2.
Block diagram showing clock distribution for watchdogs IWDG[2:1] and WWDG1. The RCC block generates pclk1, pclk5, and pclk4 routed through clock gating logic (CGL) to WWDG1, IWDG1, and IWDG2 APB inputs. The LSI oscillator feeds into a gating logic controlled by FZ_IWDG1 and FZ_IWDG2 from RCC_MP_IWDGFZxxxxR to supply iwdg1_lsi_on and iwdg2_lsi_on clocks to IWDG1 and IWDG2. An OTP Logic block provides configuration signals (OTP_IWDG1_HW, OTP_IWDG1_FZ_STANDBY, OTP_IWDG1_FZ_STOP, OTP_IWDG2_HW, OTP_IWDG2_FZ_STANDBY, OTP_IWDG2_FZ_STOP, and Debug function) to IWDG1 and IWDG2.

MSv47314V1

WWDG1 clock control

The window watchdog clock (pclk1) can be enabled by setting the WWDG1EN bit in RCC_MC_APB1ENSETR register. The software cannot stop WWDG1 down-counting by setting WWDG1EN bit to ‘0’. It is expected that the RCC_MC_APB1ENSETR register is controlled by the MCU, but it is also possible for the MPU to access this register if requested by a specific application.

The WWDG1 block is frozen when the MCU goes to CStop mode.

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 BOOTROM code execution

The BOOTROM code is always activated after a system reset, a Standby, or a CStandby reset.

As soon as the BOOTROM code is activated, the BOOTROM will freeze 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 BOOTROM 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 will be re-enabled, otherwise they remain disabled.

The access to RCC_MP_IWDGFZSETR and RCC_MP_IWDGFZCLRR registers are restricted to the MPU, and only in secure mode.

The RCC_MP_IWDGFZSETR register used to freeze the IWDGs, is very sensitive. Every time the MPU is reset (i.e. system reset: nreset or CStandby reset: cstby_rst), the hardware allows to write the RCC_MP_IWDGFZSETR register 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 90. Clock distribution for TZC

Block diagram showing clock distribution for TZC. The RCC block contains a PCKE sub-block with three CGL units. Each CGL unit receives a clock signal (pclk5, aclk, aclk) and enable signals (TZC1EN, TZC2EN, TZC1LPEN, TZC2LPEN) to generate kernel clocks (pclk5_tzc, aclk_tzc1, aclk_tzc2) for the TZC block. A legend indicates thick lines for bus interface clocks and thin lines for kernel clocks.

The diagram illustrates the clock distribution for the TZC (TrustZone Controller). It shows the RCC (Reset and Clock Control) block on the left, which contains a PCKE (Peripheral Clocks and Reset) sub-block. The PCKE sub-block has three CGL (Clock Generation Logic) units. Each CGL unit receives a clock signal (pclk5, aclk, aclk) and enable signals (TZC1EN, TZC2EN, TZC1LPEN, TZC2LPEN) to generate kernel clocks (pclk5_tzc, aclk_tzc1, aclk_tzc2) for the TZC block on the right. A legend indicates that thick lines represent bus interface clocks and thin lines represent kernel clocks. A note '1' points to the csysreq_apb, csysreq_1, and csysreq_2 signals within the TZC block.

Block diagram showing clock distribution for TZC. The RCC block contains a PCKE sub-block with three CGL units. Each CGL unit receives a clock signal (pclk5, aclk, aclk) and enable signals (TZC1EN, TZC2EN, TZC1LPEN, TZC2LPEN) to generate kernel clocks (pclk5_tzc, aclk_tzc1, aclk_tzc2) for the TZC block. A legend indicates thick lines for bus interface clocks and thin lines for kernel clocks.

MSv47315V1

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

In order to enable the TZC, the processor shall set TZC1EN and/or TZC2EN to '1'. If the application wants to keep the clocks active in CSleep, the corresponding bit TZC1LPEN and/or TZC2LPEN must be set to '1' as well.

Each processor (MPU and MCU) have their own enable bit control on RCC_Mx_APB5ENSETR/CLRR and RCC_Mx_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 to the RCC DDR interface control register (RCC_DDRITFCR).

Figure 91. 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 DDRPHYC. RCC contains clock gating logic (CGL) for pclk4 and aclk, and a DPHYCG block. DDR-ITF contains AXIDCG1, AXIDCG2, KERDCG, and PUBL blocks. DDRPHYC contains the main DDRC block. Signals like pclk4, aclk, and pclk4_dddperfm are shown with their paths through the various blocks. A legend indicates that thick lines are bus interface clocks and thin lines are kernel clocks.

The diagram illustrates the clock distribution architecture for the DDRC, DDRPHYC, and DDRPERFM components. It is organized into three main functional blocks: RCC (Reset and Clock Control), DDR-ITF (DDR Interface), and DDRPHYC (DDR PHY Control).

Block diagram showing clock distribution for DDRC, DDRPHYC and DDRPERFM. The diagram is divided into three main sections: RCC, DDR-ITF, and DDRPHYC. RCC contains clock gating logic (CGL) for pclk4 and aclk, and a DPHYCG block. DDR-ITF contains AXIDCG1, AXIDCG2, KERDCG, and PUBL blocks. DDRPHYC contains the main DDRC block. Signals like pclk4, aclk, and pclk4_dddperfm are shown with their paths through the various blocks. A legend indicates that thick lines are bus interface clocks and thin lines are kernel clocks.

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 clocks

The AXIDCG[2:1] blocks are handling the gating of the AXI clocks (aclk_[2:1]) provided to the DDRC AXI ports. The AXIDCG[2:1] bits are controlled by the RCC, and can work as follow:

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

Table 59. Gating control of the aclk_[2:1] clocks

DDRC1EN
(DDRC2EN)
DDRC1LPEN
(DDRC2LPEN)
AXIDCGENMPU mode-aclk_1
(aclk_2)
clock
Comments
0XXAny→OFFThe aclk_x is gated because DDRCxEN = '0'.
1X0CRun→ONThe aclk_x is forced ON independently of cactive_x because DDRCxEN = '1', AXIDCGEN = '0' and MPU is in CRun
1→DCG (1)When DDRCxEN = AXIDCGEN = '1', the aclk_x is gated automatically according to cactive_x.
100CSleep→OFFThe aclk_x is gated because DDRCxLPEN = '0', and AXIDCGEN = '0', and the MPU is in CSleep
1→ONThe aclk_x is forced ON independently of cactive_x because DDRCxEN = DDRCxLPEN = '1' and AXIDCGEN = '0'
X1→DCGWhen DDRCxEN = AXIDCGEN = '1', the aclk_x is gated automatically according to cactive_x.
XXXCStop or
CStandby
→OFFThe aclk_[2:1] are gated.

1. DCG means Dynamic Clock Gating according to cactive_x 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.

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 DDRCxEN, DDRCxLPEN 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.
DDRCxEN 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'.
DDRCxEN 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.
DDRCxEN 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'.
DDRCxEN 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 DDRCxEN = DDRCxLPEN = DDRPHYCEN = DDRPHYCLPEN = '1'.
  4. 4. This mode can be used when the DLLs are in bypass.
  5. 5. It is recommended to have DDRCxEN = DDRPHYCEN = '1' and DDRCxLPEN = DDRPHYCLPEN = '0'.

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

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 will go 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 will delay 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 92 shows a simplified timing for the entry and exit from self-refresh.

In this example DDRCxEN = DDRCxLPEN = '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 x for at least UMCTL2_AXI_LOWPWR_NOPXCNT *aclk_x cycles (DLY1), the AXI clock (aclk_x) 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 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.
  4. 4. If a transaction is performed in one of the two AXI ports, the AXI clock (aclk_x) is re-enabled. The AXI transaction can be caused by any master using DDR resources.
  5. 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 92. Entering and exiting self-refresh in ASR1 or ASR2 modes

Timing diagram for entering and exiting self-refresh in ASR1 or ASR2 modes. The diagram shows the relationship between MPU mode (CRun or CSleep), AXI Port[2:1] activity, cactive_ddrc, and various clock signals (ddrc_ker_ckg, dphy_ker_ck for ASR1 and ASR2, and aclk_[2:1]). It highlights delays DLY1 (AXI timeout delay) and DLY2 (Self-refresh entry and KERDGC delays).

The diagram illustrates the timing for entering and exiting self-refresh in ASR1 or ASR2 modes. It shows the following signals and their transitions:

Key timing points are marked with circled numbers 1 through 5. DLY1 represents the AXI timeout delay, and DLY2 represents the self-refresh entry and KERDGC delays.

Timing diagram for entering and exiting self-refresh in ASR1 or ASR2 modes. The diagram shows the relationship between MPU mode (CRun or CSleep), AXI Port[2:1] activity, cactive_ddrc, and various clock signals (ddrc_ker_ckg, dphy_ker_ck for ASR1 and ASR2, and aclk_[2:1]). It highlights delays DLY1 (AXI timeout delay) and DLY2 (Self-refresh entry and KERDGC delays).

MSv47317V1

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 93 shows simplified timing for the self-refresh entry and exit. This is typically what will happen when the MPU goes to CSleep while some master are still enabled.

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

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

Timing diagram showing the sequence of events for entering and exiting self-refresh in HSR1 or HSR2 modes. The diagram includes signals for MPU mode (CRun, CSleep, CRun), External DDR device state (ACTIVE, Self Refresh), AXI Port[2:1] activity, Low-power bus state (CKON, CKOFF_Rreq, CKOFF, CKON_Preq), and various clock signals (ddrc_ker_ckg, dphy_ker_ck, aclk_[2:1]). Numbered markers 1 through 8 indicate key transitions in the process.

The diagram illustrates the timing relationship between the MPU, External DDR device, AXI ports, and the DDRC during self-refresh transitions. It shows the sequence of events from entering CSleep to exiting it, including self-refresh requests and clock enable/disable sequences.

Timing diagram showing the sequence of events for entering and exiting self-refresh in HSR1 or HSR2 modes. The diagram includes signals for MPU mode (CRun, CSleep, CRun), External DDR device state (ACTIVE, Self Refresh), AXI Port[2:1] activity, Low-power bus state (CKON, CKOFF_Rreq, CKOFF, CKON_Preq), and various clock signals (ddrc_ker_ckg, dphy_ker_ck, aclk_[2:1]). Numbered markers 1 through 8 indicate key transitions in the process.
  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 will be disabled if no transactions occur on AXI ports 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 requests 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_x) 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 will request 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 to renew its request regularly until it is accepted by the DDRC. The RCC shall stop performing this request if the MPU goes to CRun meanwhile.
  6. 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 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.

The sequence described between step 4 to step 7 may be repeated several times will the MPU is in CSleep.

  1. 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).
  2. 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 94. Allowed transitions between SSR, ASR and HSR modes

State transition diagram for DDR modes: SSR, ASR1, ASR2, HSR1, and HSR2. SSR is the central state. Transitions are labeled with DDRCKMOD values. Direct transitions between ASR and HSR states are not allowed.
graph TD
    SSR((SSR))
    ASR1((ASR1))
    ASR2((ASR2))
    HSR1((HSR1))
    HSR2((HSR2))

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

    %% Direct transitions are not allowed (indicated by crossed-out arrows in the original diagram)
    %% ASR1 -- "DDRCKMOD = '000'" --> SSR
    %% HSR1 -- "DDRCKMOD = '000'" --> SSR
    %% ASR1 -- "DDRCKMOD = '101'" --> ASR2
    %% ASR2 -- "DDRCKMOD = '001'" --> ASR1
    %% HSR1 -- "DDRCKMOD = '110'" --> HSR2
    %% HSR2 -- "DDRCKMOD = '010'" --> HSR1
  

HSRx and ASRx state machines are under reset

MSv47319V1

State transition diagram for DDR modes: SSR, ASR1, ASR2, HSR1, and HSR2. SSR is the central state. Transitions are labeled with DDRCKMOD values. Direct transitions between ASR and HSR states are not allowed.

It is not allowed to transition directly:

The bits DDRCxEN 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 #DDRCKMODDDRCxENDDRCxLPENDDRPHYCENDDRPHYCLPEN-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.
7HSR11011→ONDLPONOFFDLPONThe DDRC kernel clock is controlled according to DDRC-LP interface.
The DDRPHYC kernel clock shall 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_[2:1] (DCG), except when DDRCxEN = '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 95. Clock description for DBG and trace Block diagram of clock distribution for DBG and trace. The RCC block contains inputs DBGCKEN and TRACECKEN. DBGCKEN goes through a 3-input OR gate (with two other inputs marked with 'X') to an ACK Logic block. TRACECKEN goes through a divider (÷ 1, 2, 4, 8, 16) with TRACEDIV (1) as input, then a 50% duty cycle generator, and an AND gate to produce ck_trace (traceclkin). The aclk input goes through a divider (÷ 2) with 50% duty cycle to produce a divided clock. This divided clock goes through two AND gates to produce ck_apb_dbg and ck_sys_dbg. The ACK Logic block outputs CDBGPWRUPREQ and CDBGPWRUPACK. A signal from the divided clock goes to To EXTI. The DEBUG and TRACE block receives these signals and the three clocks.

MSv47320V1

Block diagram of clock distribution for DBG and trace. The RCC block contains inputs DBGCKEN and TRACECKEN. DBGCKEN goes through a 3-input OR gate (with two other inputs marked with 'X') to an ACK Logic block. TRACECKEN goes through a divider (÷ 1, 2, 4, 8, 16) with TRACEDIV (1) as input, then a 50% duty cycle generator, and an AND gate to produce ck_trace (traceclkin). The aclk input goes through a divider (÷ 2) with 50% duty cycle to produce a divided clock. This divided clock goes through two AND gates to produce ck_apb_dbg and ck_sys_dbg. The ACK Logic block outputs CDBGPWRUPREQ and CDBGPWRUPACK. A signal from the divided clock goes to To EXTI. The DEBUG and TRACE block receives these signals and the three clocks.

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 14: System configuration controller (SYSCFG) block description for further information.

Note that the csi_ck clock is automatically gated when the system goes to (LP-)Stop, and if the CSIKERON bit is set to '0'. Setting the CSIKERON bit to '1' allows to maintain the csi_ck clock enabled even in system (LP-)Stop.

In system Standby the csi_ck clock is disabled.

Figure 96. Clock description for IO compensation cell

Block diagram showing the clock description for an IO compensation cell. It includes the RCC block with csi_ck input, a logic gate, and connections to the IO Comp. cell and SYSCFG blocks via ck, en, and CMP_PD signals.

The diagram illustrates the clocking mechanism for an IO compensation cell. A shaded area labeled RCC contains the csi_ck input and a logic gate (AND gate with inverted inputs). The output of this gate connects to the ck input of the IO Comp. cell. The en input of the IO Comp. cell is connected to the CMP_PD (*) signal. The CMP_PD (*) signal is also connected to the SYSCFG block. A note below the RCC block states: (*) From SYSCFG_CMPCR register. The diagram is labeled MSv47321V1 in the bottom right corner.

Block diagram showing the clock description for an IO compensation cell. It includes the RCC block with csi_ck input, a logic gate, and connections to the IO Comp. cell and SYSCFG blocks via ck, en, and CMP_PD signals.

10.4.9 General clock concept overview

The RCC handles the distribution of the CPUs, bus interface and peripheral clocks for the system, according to the operating mode of each processor. Refer to Section 9.5.1: PWR 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/deactivation of their kernel and bus interface clocks. Prior to use a peripheral, the MPU or MCU has to enable it (by setting its PERxEN to '1'), and defines if this peripheral remains active in CSleep mode (by setting its PERxLPEN to '1'). This operation is called 'allocate' a peripheral to a processor. Refer to Section 10.4.10: Peripheral allocation for more details.

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

For example if the MPU enables a peripheral and decides that the kernel clock of this peripheral shall be gated when it goes to CSleep, then the state of the MCU has no effect on the clock gating of this peripheral, but the clock gating will obey to the state of the MPU. This is true if the MCU did not allocate this peripheral as well. Allocating a peripheral guarantees to a processor that this peripheral will remain accessible independently of the mode of the other processor.

Each CPU have dedicated registers in order to allocate individually the peripherals they intends to use in the application. Registers dedicated to the MPU are named RCC_MP_xxxx, the registers dedicated to the MCU are named RCC_MC_xxxx.

Figure 97 gives an example of peripheral allocation:

Note: PWR and RCC are common resources and implicitly allocated to both MPU and MCU.

Note: As shown in Figure 97, some memories are implicitly allocated to a processor, refer to Section : Handling of memory devices for more details.

Figure 97. Peripheral allocation example

Figure 97. Peripheral allocation example diagram
Figure 97. Peripheral allocation example diagram

Note: MPU_DOM and MCU_DOM can be spread over the 2 domains.

When the MPU goes to CStop, then the RCC will disable automatically the bus interface and kernel clocks of all the peripherals of the MPU_DOM as well as the MPU clock. If MCU is still in CRun, then the bus matrix 1 is still clocked as MCU_DOM contains peripherals (SYSRAM, QUADSPI) physically connected to this bus matrix. The PLLs if enabled, are not disabled by the RCC as the MCU is still in running.

Then, if the MCU goes to CStop, the bus matrix 1 is no longer clocked. Note that in this scenario, the complete system can go to Stop. If both CPUs allowed the Standby mode, then the system will go to Standby.

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

Handling of memory devices

Both CPUs are able to access all the memory devices available in the product:

As shown in Figure 97, SYSRAM is implicitly allocated to the MPU. So there is no enable bit for the MPU to allocate this memory. But when the MCU wants to access the SYSRAM, the memory must be enabled via RCC AXI peripheral enable for MCU set register

(RCC_MC_AXIMENSETR). Enabling the SYSRAM ensures that this memory will still be operating even if MPU goes to CStop.

However, the SRAM1, SRAM2, SRAM3 and SRAM4 are implicitly allocated to both MCU and MPU because the MLAHB bridge will be enabled if one of the processor is in CRun.

The RETRAM has enable bits for both MPU and MCU. By default this memory is allocated (i.e. enabled) to both processors in order to allow accesses when the system exits from Standby.

The BKPSRAM has a dedicated enable bit for each CPU in order to gate the bus interface clock. The CPUs need to enable the BKPSRAM prior to use it.

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

10.4.10 Peripheral allocation

Each CPU can allocate a peripheral and hence control its kernel and bus interface clock. Each CPU has dedicated registers in order to perform this peripheral allocation. A peripheral is allocated when its PERxEN bit is set to '1', by the MPU and/or MCU.

The MPU can allocate or deallocate a peripheral for itself by setting the dedicated PERxEN bit on registers RCC_MP_xxxxENSETR and RCC_MP_xxxxENCLRR. The MPU can perform the same operations for the MCU via RCC_MC_xxxxENSETR and RCC_MC_xxxxENCLRR registers.

The MCU can also allocate or deallocate a peripheral for itself by setting the dedicated PERxEN bit on RCC_MC_xxxxENSETR and RCC_MC_xxxxENCLRR registers.

However, the MCU cannot allocate or deallocate a peripheral for the MPU: it can read the RCC_MP_xxxxENSETR and RCC_MP_xxxxENCLRR registers, but the RCC prevents the MCU to write them.

A similar mechanism is implemented for the control of the peripheral clocks when the CPUs are in CSleep (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 a CPU (CPU sub-system). In this way, the hardware will be able to safely gate the peripheral clocks and bus matrix clocks, according to CPU states. The PWR block will also use this information in order to control properly the domain states.

Clock enabling delays

In order to avoid spurs, the clock gating logic will synchronize the enable command (coming generally from a kernel clock request or PERxEN bits) 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.

For example if the MCU is enabling a peripheral located into the AXI sub-system, while the MPU is in CStop, then the RCC has to provide a clock to the AXI sub-system.

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 will result in reading invalid data. A write access is ignored and does not create any bus errors.

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 ackl, 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 mcu_bus_ck represents hclk[4:1], pclk1, pclk2 or pclk3, depending on the bus connected to each peripheral of MCU domain.

Some peripherals (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 98, 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_xxxxENSET registers.

MC_PERxEN represents the peripheral enable (allocation) bit for MCU. The MCU can write these bits to '1' via RCC_MC_xxxxENSET registers.

The MPU State is a logic combination of processors states (WFI or WFE) and STPREQ_P[1:0] bits, see Table 69 for details.

Refer to Section 10.4.10: Peripheral allocation for more details.

Figure 98. Peripheral kernel clock enable logic details

Figure 98: Peripheral kernel clock enable logic details. This block diagram shows the internal logic of the RCC for enabling peripheral clocks. It includes the MPUCD/AXISSCD/MCUSSCD block providing bus clocks (bus_mpu_ck, bus_sys_ck, bus_mcu_ck). The PKCS (Peripheral kernel clock Selection) block selects the peripheral kernel clock (perx_ker_ck) based on PERxSRC. The PCKE (Peripheral Clocks Enabling) block contains GCL (Gating Control Logic) which takes inputs from the bus clocks, enable bits (MP_PERxEN, MC_PERxEN), and MPU/MCU states. The GCL outputs enable signals (ck_bus_mp_perx_en, ck_bus_mc_perx_en, ck_ker_mp_perx_en, ck_ker_mc_perx_en) which are then ANDed with the selected kernel clock to produce the final peripheral clocks (ckg_bus_perx, ckg_ker_perx). A Low-Power ITF feature is also indicated.

When the peripheral offers the feature

req_ker_perx

When the peripheral offers the feature

MSv47323V1

Figure 98: Peripheral kernel clock enable logic details. This block diagram shows the internal logic of the RCC for enabling peripheral clocks. It includes the MPUCD/AXISSCD/MCUSSCD block providing bus clocks (bus_mpu_ck, bus_sys_ck, bus_mcu_ck). The PKCS (Peripheral kernel clock Selection) block selects the peripheral kernel clock (perx_ker_ck) based on PERxSRC. The PCKE (Peripheral Clocks Enabling) block contains GCL (Gating Control Logic) which takes inputs from the bus clocks, enable bits (MP_PERxEN, MC_PERxEN), and MPU/MCU states. The GCL outputs enable signals (ck_bus_mp_perx_en, ck_bus_mc_perx_en, ck_ker_mp_perx_en, ck_ker_mc_perx_en) which are then ANDed with the selected kernel clock to produce the final peripheral clocks (ckg_bus_perx, ckg_ker_perx). A Low-Power ITF feature is also indicated.

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

Table 63. Peripheral clock enable details for MPU (MCU)

MP_PERxEN
(MC_PERxEN)
MP_PERxLPEN
(MC_PERxLPEN)
PERxSRCreq_ker_perxMPU
State
(MCU
State)
-mp_perx_en_ker_ck
(mc_perx_en_ker_ck)
(mp_perx_en_bus_ck
(mc_perx_en_bus_ck)
Comments
0XXXX→00No clock provided to the peripheral, because PERxEN=0
1XXXCRun→11Kernel and bus interface clocks are provided to the peripheral, because the MPU (MCU) is in CRun, and PERxEN='1'

Table 63. Peripheral clock enable details for MPU (MCU) (continued)

MP_PERxEN
(MC_PERxEN)
MP_PERxLPEN
(MC_PERxLPEN)
PERxSRCreq_ker_perxMPU
State
(MCU
State)
-mp_perx_en_ker_ck
(mc_perx_en_ker_ck)
(mp_perx_en_bus_ck
(mc_perx_en_bus_ck)
Comments
10XXCSleep→00No clock provided to the peripheral, because the MPU (MCU) is in CSleep, and PERxLPEN=0
11XX→11Kernel and bus interface clocks are provided to the peripheral, because MPU (MCU) 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_c
k
and no
csi_ker_c
k and no
hse_ker_c
k
X→00No clock provided to the peripheral because MPU (MCU) 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_ck
X→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 no provided as the MPU (MCU) is in CStop.
It is up to the application to enable the LSE or LSI if requested.
11hsi_ker_c
k or
csi_ker_c
k
or
hse_ker_c
k
1→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 (MCU) is in CStop.
If the oscillators are OFF, the RCC will enable them when a kernel clock request occurs.
11hsi_ker_c
k or
csi_ker_c
k
or
hse_ker_c
k
0→00No clock provided to the peripheral because MPU (MCU) is in CStop, and no kernel clock request pending
  1. 1. Note that for RNG block, the kernel clock is not delivered if the CPU to which it is allocated is in CStop, even if the clock selected is lsi_ck or lse_ck.

Note: The kernel clock request generated by the peripheral, will enable 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 will be 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.

10.4.12 Processors and interconnect clocks gating

CA7-SS (MPU) clock gating

The CA7-SS (MPU) embeds two processors. All the processors and SCU are clocked with the mpuss_ck clock provided by the RCC.

When one of 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 one of 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 both processors are in WFI state, the shared L2 memory system logic can also enter in WFI, and the signal mpu_standbywfi_l2 is asserted.

More precisely, when both processors are 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_Px bits, 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 AND STPREQ_P1 (2)proc_0 in WFIproc_1 in WFI-MPU mode
-N-→CRun
-N→
0YY→CSleep
1YY→CStop
  1. 1. “-” means don’t care.
  2. 2. STPREQ_P0 AND STPREQ_P1 is a logic “AND” between both bits.
    The STPREQ_P0 and STPREQ_P1 bits are located into RCC stop request set register (RCC_MP_SREQSETR) and RCC stop request clear register (RCC_MP_SREQCLRR).

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

Figure 99. 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, MPUCE, and AXISSCD components. On the right, the CA7_SS (MPU) block contains the SCU (with ACE and GIC sub-blocks) and AXISYNC.
Key connections and signals:

The diagram is labeled MSv47324V2 in the bottom right corner.

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 processors mode, and the peripheral allocated to those processors.

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 mode(1)MCU mode(1)mpu_peren_axi(2)mpu_perlpen_axi(2)mcu_peren_axi(2)mcu_perlpen_axi(2)-AXIM ClockDescription
CRunAnyXXXX→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')
– The MCU is in CRun with at least a peripheral of the AXI-SS allocated (i.e. at least one MC_PERxEN = '1')
– The MCU is in CSleep with at least a peripheral of the AXI-SS allocated, with the sleep enable bit activated (i.e. MC_PERxEN = '1' and MC_PERxLPEN = '1')
CSleepAny11XX→
AnyCRunXX1X→
AnyCSleepXX11→
CSleepAnyX00X→GatedIn all other cases, the AXIM clock is gated.
CSleepX0X0→
CStopX0XX→
CStop / CStandbyAnyXX0X→
CSleepXXX0→
CStopXXXX→
  1. 1. "Any" means any mode. It can be CRun, CSleep, CStop, or CStandby (for MPU only).
  2. 2. mpu_peren_axi is set to '1' when at least a peripheral connected to the AXI-SS is allocated to the MPU.
    mpu_perlpen_axi is set to '1' when at least a peripheral connected to the AXI-SS is allocated to the MPU, with its PERxLPEN bit set to '1'.
    mcu_peren_axi is set to '1' when at least a peripheral connected to the AXI-SS is allocated to the MCU.
    mcu_perlpen_axi is set to '1' when at least a peripheral connected to the AXI-SS is allocated to the MCU, with its PERxLPEN bit set to '1'.
    The AXI-SS represents the AXIM, AHB5, AHB6, APB4, APB5.

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'.
The same applies for MCU.

Table 66. Bus clock enable details for AHB5 and AHB6

MPU mode(1)MCU mode(1)mpu_peren_ahb5
(mpu_peren_ahb6)(2)
mpu_perlpen_ahb5
(mpu_perlpen_ahb6)(2)
mcu_peren_ahb5
(mcu_peren_ahb6)(2)
mcu_perlpen_ahb5
(mcu_perlpen_ahb6)(2)
-AHB5
(AHB6)
Clock
Description
CRunAny1XXX→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 MC_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')
– The MCU is in CRun with at least a peripheral on AHB5 (AHB6) allocated (i.e. at least one MC_PERxEN = '1')
– The MCU is in CSleep with at least a peripheral on AHB5 (AHB6) allocated, with the sleep enable bit activated (i.e. MC_PERxEN = '1' and MC_PERxLPEN = '1')
CSleepAny11XX→
AnyCRunXX1X→
AnyCSleepXX11→
AnyAny0X0X→GatedIn all other cases, the AHB5 (AHB6) clock is gated.
CSleep0XX0→
CStop0XXX→
CSleepAnyX00X→
CSleepX0X0→
CStopX0XX→
CStop / CStandbyAnyXX0X→
CSleepXXX0→
CStopXXXX→

1. "Any" means any mode. It can be CRun, CSleep, CStop, or CStandby (for MPU only).

2. mpu_peren_ahb5 is set to '1' when at least a peripheral connected to the AHB5 is allocated to the MPU.
mpu_perlpen_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'.
mcu_peren_ahb5 is set to '1' when at least a peripheral connected to the AHB5 is allocated to the MCU.
mcu_perlpen_ahb5 is set to '1' when at least a peripheral connected to the AHB5 is allocated to the MCU, 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_perlpen_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'.
mcu_peren_ahb6 is set to '1' when at least a peripheral connected to the AHB6 or APB4 is allocated to the MCU.
mcu_perlpen_ahb6 is set to '1' when at least a peripheral connected to the AHB6 or APB4 is allocated to the MCU, 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(1)MCU mode(1)-MLAHB (AHB4) ClockDescription
CRunAny→ClockedThe MLAHB and AHB4 clocks are generated when one of the following condition is true:
– The MPU is in CRun or CSleep
– The MCU is in CRun or CSleep
==> When the system is in Run
CSleepAny→
AnyCRun→
AnyCSleep→
CStop / CStandbyCStop→Gated-

1. “Any” means any mode: it can be CRun, CSleep, CStop, or CStandby (for MPU only).

Table 68. Bus clock enable details for AHB[3:1]

MPU mode(1)MCU mode(1)mpu_peren_ahb1
(mpu_peren_ahb[3:2])(2)
mpu_perpen_ahb1
(mpu_perpen_ahb[3:2])(2)
mcu_peren_ahb1
(mcu_peren_ahb[3:2])(2)
mcu_perpen_ahb1
(mcu_perpen_ahb[3:2])(2)
-AHB1 (AHB[3:2]) ClockDescription
CRunAny1XXX→ClockedThe AHB1 (AHB[3:2]) clock is generated when one of the following condition is true:
– The MPU is in CRun with at least a peripheral on AHB1 (AHB[3:2]) allocated.
– The MPU is in CSleep with at least a peripheral on AHB1 (AHB[3:2]) allocated, with the sleep enable bit activated.
– The MCU is in CRun with at least a peripheral on AHB1 (AHB[3:2]) allocated.
– The MCU is in CSleep with at least a peripheral on AHB1 (AHB[3:2]) allocated, with the sleep enable bit activated.
CSleep11XX→
AnyCRunXX1X→
CSleepXX11→

Table 68. Bus clock enable details for AHB[3:1] (continued)

MPU mode
(1)
MCU mode
(1)
mpu_peren_ahb1
(mpu_peren_ahb[3:2])(2)
mpu_perlpen_ahb1
(mpu_perlpen_ahb[3:2])(2)
mcu_peren_ahb1
(mcu_peren_ahb[3:2])(2)
mcu_perlpen_ahb1
(mcu_perlpen_ahb[3:2])(2)
-AHB1
(AHB[3:2])
Clock
Description
AnyAny0X0X→GatedIn all other cases, the AHB1 (AHB[3:2]) clock is gated
CSleepXX0→
CStopXXX→
CSleepAnyX00X→
CSleepXX0→
CStopXXX→
CStop /
CStandby
AnyXX0X→
CSleepXXX0→
CStopXXXX→
  1. 1. "Any" means any mode: it can be CRun, CSleep, CStop, or CStandby (for MPU only).
  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'.
    mcu_peren_ahb2 is set to '1' when at least a peripheral connected to the AHB2, APB1 or APB2 is allocated to the MCU.
    mcu_perlpen_ahb2 is set to '1' when at least a peripheral connected to the AHB2, APB1 or APB2 is allocated to the MCU, with its PERxLPEN bit set to '1'.

    mpu_peren_ahb3 is set to '1' when at least a peripheral connected to the AHB3 is allocated to the MPU.
    mpu_perlpen_ahb3 is set to '1' when at least a peripheral connected to the AHB3 is allocated to the MPU, with its PERxLPEN bit set to '1'.
    mcu_peren_ahb3 is set to '1' when at least a peripheral connected to the AHB3 is allocated to the MCU.
    mcu_perlpen_ahb3 is set to '1' when at least a peripheral connected to the AHB3 is allocated to the MCU, 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'.
    mcu_peren_ahb1 is set to '1' when at least a peripheral connected to the AHB1 is allocated to the MCU.
    mcu_perlpen_ahb1 is set to '1' when at least a peripheral connected to the AHB1 is allocated to the MCU, with its PERxLPEN bit set to '1'.

Table 69. Bus clock enable details for APB[5:1]

MPU mode
(1)
MCU mode
(1)
mpu_peren_apb1
(mpu_peren_apb[5:2]) (2)
mpu_perlpen_apb1
(mpu_perlpen_apb[5:2]) (2)
mcu_peren_apb1
(mcu_peren_apb[5:2]) (2)
mcu_perlpen_apb1
(mcu_perlpen_apb[5:2]) (2)
-APB1
(APB[5:2])
Clock
Description
CRunAny1XXX→Clocked

The APB1 (APB[5:2]) clock is generated when one of the following condition is true:

  • – The MPU is in CRun with at least a peripheral on APB1 (APB[5:2]) allocated (i.e. at least one MC_PERxEN = '1')
  • – The MPU is in CSleep with at least a peripheral on APB1 (APB[5:2]) allocated, with the sleep enable bit activated (i.e. MP_PERxEN = '1' and MP_PERxLPEN = '1')
  • – The MCU is in CRun with at least a peripheral on APB1 (APB[5:2]) allocated (i.e. at least one MC_PERxEN = '1')
  • – The MCU is in CSleep with at least a peripheral on APB1 (APB[5:2]) allocated, with the sleep enable bit activated (i.e. MC_PERxEN = '1' and MC_PERxLPEN = '1')
CSleepAny11XX→
AnyCRunXX1X→
AnyCSleepXX11→
AnyAny0X0X→GatedIn all other cases, the APB1 (APB2,3,4,5) clock is gated
CSleep0XX0→
CStop0XXX→
CSleepAnyX00X→
CSleepX0X0→
CStopX0XX→
CStop / CStandbyAnyXX0X→
CSleepXXX0→
CStopXXXX→
  1. 1. "Any" means any mode. It can be CRun, CSleep, CStop, or CStandby (for MPU only).
  2. 2. mpu_peren_apb1 is set to '1' when at least a peripheral connected to the APB1 is allocated to the MPU.
    mpu_perlpen_apb1 is set to '1' when at least a peripheral connected to the APB1 is allocated to the MPU, with its PERxLPEN bit set to '1'.
    mcu_peren_apb1 is set to '1' when at least a peripheral connected to the APB1 is allocated to the MCU.
    mcu_perlpen_apb1 is set to '1' when at least a peripheral connected to the APB1 is allocated to the MCU, with its PERxLPEN bit set to '1'.

Similar properties apply for mpu_peren_apb[5:2], mpu_perlpen_apb[5:2], mcu_peren_apb[5:2] and mcu_perlpen_apb[5:2].

Remarks

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

The AXIM can remain clock gated when the MPU is in CStop, and the MCU has no peripheral allocated into a place needing the activated of the AXIM.

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 (LP-)Stop and Standby modes. Refer to Section : Low power mode emulation in debug of DBG section to get additional information.

Note: In debug emulation mode, the clock of the WWDG1 is frozen.

Sleep emulation mode

The Sleep emulation mode is controlled by the DBGSLEEP bit of the DBGMCU_CR register.

When a processor goes to CSleep with DBGSLEEP = '1', then the processor clock, the clocks of all allocated peripherals, debug parts, and interconnect are maintained activated.

Stop emulation mode

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

When a processor goes to CStop or when the system goes to Stop with DBGSTOP = '1', then:

When the MPU goes to CStandby, with DBGSTOP = '1', then:

Standby emulation mode

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

When the system goes to Standby with DBGSTBY = '1', then:

10.4.14 RCC TrustZone function

The RCC TrustZone function is controlled via two bits: TZEN and MCKPROT located into the RCC TrustZone control register (RCC_TZCR).

The bit TZEN allows the RCC and the PWR to be switched in secure mode. The RCC_TZCR register is only accessible by a secure access.

When TZEN = '1', some RCC and PWR registers can only be modified using secure accesses. The reading of registers is always allowed.

The MCKPROT bit allows in addition to control the secure mode for the registers controlling the generation of the mcuss_ck clock.

The RCC is able to protect the secure parts from being modified by non-secure accesses. At RCC level the TrustZone security consists on preventing a non-secure device from:

Refer to Table 74: Register access type versus protection and security to get the list of impacted registers.

A non-secure write access into a register with the security is enabled will generate a hard fault. Read accesses are always allowed.

Note: The value of TZEN bit is provided to the PWR block via the signal rcc_tzen.

10.5 RCC interrupts

The RCC provides 2 independent interrupt interfaces:

The interrupt interface dedicated to the MPU, can be switched into secure mode via the TZEN bit. The interrupt interface dedicated to the MCU is always in non-secure mode.

Each interrupt interface provides 2 interrupt lines:

All interrupt lines are active HIGH, and level triggered.

The enabling of the rcc_mpu_it, and rcc_mpu_wkup_it interrupts are controlled via RCC clock source interrupt enable register (RCC_MP_CIER).

The enabling of the rcc_mcu_it, and rcc_mcu_wkup_it interrupts are controlled via RCC clock source interrupt enable register (RCC_MC_CIER).

The rcc_mpu_it (or rcc_mcu_it) line is activated when an event flag is set to '1', and its corresponding enable bit is set to '1' as well. In order to release the rcc_mpu_it (or rcc_mcu_it) line, all the event flags which have been enabled must be cleared.

The rcc_mpu_wkup_it (or rcc_mcu_wkup_it) line is activated when the RCC has to exit the MPU (or MCU) from CStop, and if the WKUPIE bit is set to '1' as well. In order to release the rcc_mpu_wkup_it (or rcc_mcu_wkup_it) line, the MPU (or MCU) shall write the WKUPF bit of the corresponding register to '1'.

The interrupt flags can be checked and cleared via RCC clock source interrupt flag register (RCC_MP_CIFR) or RCC clock source interrupt flag register (RCC_MC_CIFR).

The event flags goes to '1', on rising edge of the corresponding ready bit (xxxRDY).

Figure 100. Interrupt block diagram

Figure 100. Interrupt block diagram: An architectural block diagram illustrating the interrupt generation and control logic in the RCC module, showing edge detectors, mask registers (RCC_MC_CIER, RCC_MC_CIFR, RCC_MP_CIFR, RCC_MP_CIER), and output signals rcc_mcu_it, rcc_mpu_it, rcc_mcu_wkup_it, and rcc_mpu_wkup_it.

MSv47325V1

Figure 100. Interrupt block diagram: An architectural block diagram illustrating the interrupt generation and control logic in the RCC module, showing edge detectors, mask registers (RCC_MC_CIER, RCC_MC_CIFR, RCC_MP_CIFR, RCC_MP_CIER), and output signals rcc_mcu_it, rcc_mpu_it, rcc_mcu_wkup_it, and rcc_mpu_wkup_it.

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

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

Table 70. Interrupt sources and control

Interrupt event flagDescriptionInterrupt enableAction to clear interruptInterrupt Lines
LSIRDYFLSI readyLSIRDYIESet LSIRDYF to ‘1’rcc_mcu_it,
rcc_mpu_it
LSERDYFLSE readyLSERDYIESet LSERDYF to ‘1’
HSIRDYFHSI readyHSIRDYIESet HSIRDYF to ‘1’
HSERDYFHSE readyHSERDYIESet HSERDYF to ‘1’
CSIRDYFCSI readyCSIRDYIESet CSIRDYF to ‘1’
PLL1RDYFPLL1 readyPLL1RDYIESet PLL1RDYF to ‘1’
PLL2RDYFPLL2 readyPLL2RDYIESet PLL2RDYF to ‘1’
PLL3RDYFPLL3 readyPLL3RDYIESet PLL3RDYF to ‘1’
PLL4RDYFPLL4 readyPLL4RDYIESet PLL4RDYF to ‘1’
LSECSSFLSE Clock security system failureLSECSSIE (1)Set LSECSSF to ‘1’
WKUPFWake up from CStop eventWKUPIESet WKUPF to ‘1’rcc_mpu_wkup_it,
rcc_mcu_wkup_it

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

10.6 RCC application information

10.6.1 Handling dynamic clock switching

Care shall 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 101. MPU clock path

Block diagram of the MPU clock path within the RCC. It shows the selection of clock sources (hsi_ck, hse_ck) via PLL12SRC to generate PLL12SRCRDY. This signal is divided by 1 to 64 (DIVM1) to provide a reference clock (ref1_ck, 8 to 16 MHz) to PLL1. PLL1 contains a VCO, fractional divider (FRACV), and integer dividers (DIVN, DIVP, DIVQ, DIVR) controlled by SSCG. The output pll1_p_ck (50% duty cycle) is divided by 2, 4, 8, or 16 (MPUDIV) to produce mpuss_ck. The final output to the MPU is selected by MPUSRC from hsi_ck, hse_ck, or mpuss_ck, with a maximum frequency of 650 / 800 MHz. Dynamic switches are indicated by 'D' in a box.

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

MSv47326V2

Block diagram of the MPU clock path within the RCC. It shows the selection of clock sources (hsi_ck, hse_ck) via PLL12SRC to generate PLL12SRCRDY. This signal is divided by 1 to 64 (DIVM1) to provide a reference clock (ref1_ck, 8 to 16 MHz) to PLL1. PLL1 contains a VCO, fractional divider (FRACV), and integer dividers (DIVN, DIVP, DIVQ, DIVR) controlled by SSCG. The output pll1_p_ck (50% duty cycle) is divided by 2, 4, 8, or 16 (MPUDIV) to produce mpuss_ck. The final output to the MPU is selected by MPUSRC from hsi_ck, hse_ck, or mpuss_ck, with a maximum frequency of 650 / 800 MHz. Dynamic switches are indicated by 'D' in a box.
  1. 1. MPUDIV can be changed on-the-fly.
    X Represents the selected MUX input after a system reset.

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. 1. Enable a backup clock if not enabled: for example HSI or HSE,
  2. 2. Wait for this back-up clock to be ready,
  3. 3. Switch the MPUSRC to select this backup clock,
  4. 4. Wait for the switching transition to be complete,
  5. 5. 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. 6. Wait for the PLL1 to be ready,
  7. 7. Switch the MPUSRC to pll1_p_ck,
  8. 8. Wait for MPUSRCRDY = '1',
  9. 9. 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 102. PLL2 clock path

Figure 102. PLL2 clock path showing clock tree from inputs hsi_ck, hse_ck through DIVM2, PLL2 (with DIVN, DIVP, DIVQ, DIVR, FRACV, SSCG), AXISSRC mux, AXIDIV, APB4DIV, APB5DIV, producing aclk, hclk[6:5], pclk4, pclk5, GPU and DDR clocks.
Figure 102. PLL2 clock path showing clock tree from inputs hsi_ck, hse_ck through DIVM2, PLL2 (with DIVN, DIVP, DIVQ, DIVR, FRACV, SSCG), AXISSRC mux, AXIDIV, APB4DIV, APB5DIV, producing aclk, hclk[6:5], pclk4, pclk5, GPU and DDR clocks.

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 shall ensure that the frequency at the output of AXIDIV will never exceed 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 shall 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, as the AXI bridge will not be 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 GPU.

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 shall no longer be used,

Changing the MCU clock source and frequency:

The MCU clock frequency (mcuss_ck) can be changed in different ways:

Figure 103. MCU clock path

MCU clock path diagram showing inputs hsi_ck, hse_ck, csi_ck into PLL3SRC multiplexer leading to DIVM3 (/ 1 to 64) producing ref3_ck (4 to 16 MHz), which feeds PLL3 (VCO with DIVN, FRACV, DIVP, DIVQ, DIVR), producing pll3_p_ck, pll3_q_ck, pll3_r_ck. MCUSSRC multiplexer selects between hsi_ck, hse_ck, csi_ck, and pll3_p_ck to generate mcuss_ck, which passes through MCUDIV (/ 1,2,4,8,...,512) up to 209 MHz Max to generate hclk4, mcu_ck, fclk_ck, mlhclk, hclk[3:1], /8 for mcu_systick_ck, APB1DIV for pclk1, APB2DIV for pclk2, and APB3DIV for pclk3 (104.5 MHz Max).
MCU clock path diagram showing inputs hsi_ck, hse_ck, csi_ck into PLL3SRC multiplexer leading to DIVM3 (/ 1 to 64) producing ref3_ck (4 to 16 MHz), which feeds PLL3 (VCO with DIVN, FRACV, DIVP, DIVQ, DIVR), producing pll3_p_ck, pll3_q_ck, pll3_r_ck. MCUSSRC multiplexer selects between hsi_ck, hse_ck, csi_ck, and pll3_p_ck to generate mcuss_ck, which passes through MCUDIV (/ 1,2,4,8,...,512) up to 209 MHz Max to generate hclk4, mcu_ck, fclk_ck, mlhclk, hclk[3:1], /8 for mcu_systick_ck, APB1DIV for pclk1, APB2DIV for pclk2, and APB3DIV for pclk3 (104.5 MHz Max).

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

Changing MCU clock frequency via the MCUSSRC:

If the mcuss_ck clock is changed using MCUSSRC, the application must do the following:

Changing MCU clock frequency via the MCUDIV:

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

The application shall ensure that the frequency at the output of MCUDIV will never exceed the maximum allowed frequency of the on MCU, AHB[4:1], MLAHB and APB[3:1].

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

Changing MCU clock frequency via the PLL3:

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

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

  1. 1. Enable a backup clock if not enabled: for example HSI, CSI or HSE,
  2. 2. Wait for this back-up clock to be ready,
  3. 3. Switch the MCUSSRC to select this backup clock,
  4. 4. Wait for the switching transition to be complete (MCUSSRCRDY = '1')
  5. 5. 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. 6. Wait for the PLL3 to be ready,
  7. 7. Switch the MCUSSRC to select pll3_p_ck,
  8. 8. Wait for the switching transition to be complete (MCUSSRCRDY = '1'),
  9. 9. Then the back-up clock can be disabled.

10.6.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 will not completely match the target. In order to choose between center-spread or down-spread modulation we have to check if the frequency max will exceed our requirement of 533 MHz.

The real modulation depth is:

\[\mathrm{M_D}\,(\%) = \frac{\text{MOD\_PER} \times \text{INC\_STEP} \times 100 \times 5}{(2^{15} - 1) \times (\text{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, FMAX will be:

\[\mathrm{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 shall provide to the MPU a clock having the following characteristics:

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

Table 71. Clock settings examples for MPU

HSE
(MHz)
PLL1MPUSRCmpuss_ck
(MHz)
Comments
DIVM1+1DIVN+1DIVP+1FCOMP
(MHz)
FVCO
(MHz)
Ffout1_ck
(MHz)
162100181600800pll1_p_ck800List of all possible frequencies by changing MPUDIV, with MPUSRC = ‘11’:
800, 400, 200, 100, 50 MHz
28181296648648List of all possible frequencies by changing MPUDIV, with MPUSRC = ‘11’:
648, 324, 162, 81, 40.5 MHz
140161280640640List of all possible frequencies by changing MPUDIV, with MPUSRC = ‘11’:
640, 320, 160, 80, 40 MHz
27581200600600List of all possible frequencies by changing MPUDIV, with MPUSRC = ‘11’:
600, 300, 150, 75, 37.5 MHz

Table 71. Clock settings examples for MPU (continued)

HSE
(MHz)
PLL1MPUSRCmpuss_ck
(MHz)
Comments
DIVM1+1DIVN+1DIVP+1FCOMP
(MHz)
FVCO
(MHz)
Ffout1_ck
(MHz)
19.228319.61593.6796.8pll1_p_ck796.8All other frequencies obtained by changing MPUDIV are allowed as well.
2679.61286.4643.2643.2
639.61190.4595.2595.2
243100181600800pll1_p_ck800All other frequencies obtained by changing MPUDIV are allowed as well.
254121296648648
250121200600600
262611131586793pll1_p_ck793All other frequencies obtained by changing MPUDIV are allowed as well.
250131300650650
246131196598598

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

To improve the jitter:

To avoid duty cycle degradation

Note: Care shall 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 will not exceed the maximum allowed frequency.

AXI, DDR and GPU frequency plan examples

Table 72. Clock setting examples for AXI, DDR and GPU

HSE
(MHz)
PLL2AXIDIV+1AXI clock
(MHz)
DDR clock
(MHz)
GPU clock
(MHz)
DIVM2+1DIVN+1DIVP+1DIVQ+1DIVR+1FCOMP
(MHz)
FVCO
(MHz)
Ffout2_ck
(MHz)
161332111610565281264528528
125211168004001200400400
19.22552119.610565281264528528

Table 72. Clock setting examples for AXI, DDR and GPU (continued)

HSE
(MHz)
PLL2AXIDIV+1AXI
clock
(MHz)
DDR
clock
(MHz)
GPU
clock
(MHz)
DIVM2+1DIVN+1DIVP+1DIVQ+1DIVR+1FCOMP
(MHz)
FVCO
(MHz)
Fout2_ck
(MHz)
242442111210565281264528528
35021188004001200400400
2534221212806401160320320
2442121210565281264264528
228212126723361168168336
262412111310665331266533533

10.6.3 Configuring the sub-system clocks

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

In this example, it is assumed that:

Here is a recommended programming sequence:

10.6.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 will be 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 HSI configuration register (RCC_HSICFGR) 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 (e.g. 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 HSI configuration register (RCC_HSICFGR) 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.6.5 Clock restore sequence examples

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

Exit from Stop due to a MPU event

In this example, the system exits from one of the Stop modes due to an event for the MPU, later on, an event for the MCU occurs.

Figure 104 is based on the following configuration:

Figure 104. Exit from Stop due to MPU event

Timing diagram for exit from Stop due to MPU event. The diagram shows the sequence of events and clock states during a transition from Stop mode to Run mode. Key signals include PMIC power mode (LP to HP), PWR_LP, HSE (OFF to Settling time to HSERDY), HSI (OFF to Settling time to HSIRDY), PWR_LP_TEMPO (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), mcuss_ck (Clock active), CKREST, System Mode (Stop to CK_RESTORE to Run), MPU Mode (CStop to CRun), and MCU Mode (CStop to CRun).

The diagram illustrates the clock restore sequence for exiting from Stop mode due to an MPU event. It shows the following signals and their transitions:

MSv47329V1

Timing diagram for exit from Stop due to MPU event. The diagram shows the sequence of events and clock states during a transition from Stop mode to Run mode. Key signals include PMIC power mode (LP to HP), PWR_LP, HSE (OFF to Settling time to HSERDY), HSI (OFF to Settling time to HSIRDY), PWR_LP_TEMPO (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), mcuss_ck (Clock active), CKREST, System Mode (Stop to CK_RESTORE to Run), MPU Mode (CStop to CRun), and MCU Mode (CStop to CRun).

1. Can be Stop, LP-Stop or LPLV-Stop.

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

Exit from Stop due to a MCU event, example 1

In this example, the system exits from one of the Stop modes due to an event for the MCU, later the MCU allocates a peripheral on the AXI-SS.

Figure 105 is based on the following configuration:

Figure 105. Exit from Stop due to MCU event

Timing diagram showing the sequence of events for exiting Stop mode. It includes signals for Events, PMIC power mode (LP to HP), PWR_LP, HSE (OFF to Settling time to HSERDY), HSI (OFF to HSIRDY), PWR_LP_TEMPO (Waiting for tempo completed), PLL1&2 states (OFF to PLL settling time to VCO on), mpuss_ck, axiss_ck (Clock active), mcuss_ck, CKREST, System Mode (Stop to CK_RESTORE to Run), MPU Mode (CStop), and MCU Mode (CStop to CRun).

The diagram illustrates the timing sequence for exiting Stop mode due to an MCU event. It shows the following signals and their transitions:

MSv47330V1

Timing diagram showing the sequence of events for exiting Stop mode. It includes signals for Events, PMIC power mode (LP to HP), PWR_LP, HSE (OFF to Settling time to HSERDY), HSI (OFF to HSIRDY), PWR_LP_TEMPO (Waiting for tempo completed), PLL1&2 states (OFF to PLL settling time to VCO on), mpuss_ck, axiss_ck (Clock active), mcuss_ck, CKREST, System Mode (Stop to CK_RESTORE to Run), MPU Mode (CStop), and MCU Mode (CStop to CRun).

1. Can be Stop, LP-Stop or LPLV-Stop.

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

Exit from Stop due to a MCU event, example 2

In this example, the system exits from one of the Stop modes due to an event for the MCU, the MCU executes a task and goes back to CStop. Note that the MCU goes to CStop only when the bit CKREST is set to '0'.

Figure 106 is based on the following configuration:

Figure 106. Exit from Stop for MCU

Timing diagram for exit from Stop for MCU. It shows the sequence of events: a wakeup event triggers the system to exit Stop mode. The PMIC power mode transitions from LP to HP. HSE and HSI clocks are turned on and settle. PLL1 and PLL2 are enabled and settle. The mcuss_ck clock becomes active. The CKREST signal is set to 1. The system mode transitions from Stop to CK_RESTORE. The MPU mode transitions from CStop to CRun. The MCU mode transitions from CStop to CRun. The system then returns to CStop.

The diagram illustrates the timing sequence for exiting from Stop mode for the MCU. It shows the following signals and their states over time:

MSv47331V1

Timing diagram for exit from Stop for MCU. It shows the sequence of events: a wakeup event triggers the system to exit Stop mode. The PMIC power mode transitions from LP to HP. HSE and HSI clocks are turned on and settle. PLL1 and PLL2 are enabled and settle. The mcuss_ck clock becomes active. The CKREST signal is set to 1. The system mode transitions from Stop to CK_RESTORE. The MPU mode transitions from CStop to CRun. The MCU mode transitions from CStop to CRun. The system then returns to CStop.

1. Can be Stop, LP-Stop or LPLV-Stop.

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

Fast clock restore

In this example, the system exits from one of the Stop modes due to an event for the MCU or 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 MCU, MPU and AXI. In that way, the clock restore sequence is reduced to the activation of the HSI clock.

Figure 107 is based on the following configuration:

Figure 107. Fast clock restore

Timing diagram for fast clock restore showing events, PMIC power mode, HSI, PLL1&2 states, mpuss_ck, axiss_ck, mcuss_ck, CKREST, System Mode, MPU Mode, and MCU Mode across three wakeup events.

The diagram illustrates the fast clock restore sequence across three wakeup events. The top row shows 'Events' with arrows pointing to wakeup events for MCU and MPU. The 'PMIC power mode' is 'HP or LP'. The 'HSI' signal shows 'OFF' periods followed by 'Settling time' and then active clock pulses. 'PLL1&2 states' are 'OFF'. The clock signals 'mpuss_ck', 'axiss_ck', and 'mcuss_ck' show their active periods. 'CKREST' is '0'. The 'System Mode' transitions between 'Stop(1)' and 'Run' with 'CK_REST.' periods. 'MPU Mode' transitions between 'CStop' and 'CRun'. 'MCU Mode' transitions between 'CStop' and 'CRun'. The diagram shows that for each wakeup event, the HSI clock is activated first, followed by the system mode transition and the activation of the specific clock domain (mpuss_ck, axiss_ck, or mcuss_ck).

Timing diagram for fast clock restore showing events, PMIC power mode, HSI, PLL1&2 states, mpuss_ck, axiss_ck, mcuss_ck, CKREST, System Mode, MPU Mode, and MCU Mode across three wakeup events.

MSv47332V1

1. Can be Stop, LP-Stop or LPLV-Stop.

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

10.7 RCC registers

The table hereafter gives a summary of the access property of each register. Some registers can be accessed by every bus master, some other can only be accessed by the MPU.

Some registers can only be accessed in secure mode, when the RCC is switched in secure mode.

Table 73 shows the register accesses (“Access Results”) according to the possible register attributes. The table shall be read as follow: for a register which can be switched in secure mode (“S”), read operation are always valid, write operations in secure mode are also always valid, write operation in non-secure mode are invalid if TZEN = ‘1’ (or when TZEN = MCKPROT = ‘1’ for registers sensitive to those two bits).

Table 73. Access results according to register security attributes

Secure attribute
(1)
TZEN or
(TZEN and MCKPROT)
(2)
Register accessAccess resultsNotifications
SecureDirection
ASxxRRegister is read-
xSecureWRegister is written-
xNon-secureWRegister is not writtenHard fault
SxxRRegister is read-
xSecureWRegister is written-
0Non-secureWRegister is written-
1Non-secureWRegister is not writtenHard fault
NSxxxRegister is read or written-
  1. 1. “AS” means Always Secure.
    “S” means securable (depends on TZEN and MCKPROT).
    “NS” means Non-Secure.
  2. 2. For registers controlling the generation of the mcuss_ck clock, the security is controlled by an AND between TZEN and MCKPROT.

In addition, some registers can only be modified by the MPU (“MPU Only” in Table 74). When the MCU writes into a register having the attribute “MPU Only”, the write operation is ignored and a hard fault is triggered. Read accesses to registers having the attribute “MPU Only” are always allowed.

Table 74 gives the attributes for all RCC registers.

Table 74. Register access type versus protection and security

Register nameAccess types (1)Access limitations (2)Secure attribute (3)Secure control bits
RCC_OCENCLRRCRNSTZEN
RCC_OCENSETTRSRNSTZEN and MCKPROT
RCC_HSICFGRRWNSTZEN

Table 74. Register access type versus protection and security (continued)

Register nameAccess types (1)Access limitations (2)Secure attribute (3)Secure control bits
RCC_CSICFGRRWNSTZEN and MCKPROT
RCC_RCK12SELRRWNSTZEN
RCC_MPCKSELRRWNSTZEN
RCC_MPCKDIVRRWNSTZEN
RCC_ASSCKSELRRWNSTZEN
RCC_AXIDIVRRWNSTZEN
RCC_APB4DIVRRWNSTZEN
RCC_APB5DIVRRWNSTZEN
RCC_MSSCKSELRRWNSTZEN and MCKPROT
RCC_MCUDIVRRWNSTZEN and MCKPROT
RCC_RTCDIVRRWNSTZEN
RCC_BDCRRWNSTZEN
RCC_RDLSICRRWNSTZEN
RCC_PWRLPDLYCRRWNSTZEN
RCC_PLL1CRRWNSTZEN
RCC_PLL1CFGR1RWNSTZEN
RCC_PLL1CFGR2RWNSTZEN
RCC_PLL1CSGRRWNSTZEN
RCC_PLL1FRACRRWNSTZEN
RCC_PLL2CRRWNSTZEN
RCC_PLL2CFGR1RWNSTZEN
RCC_PLL2CFGR2RWNSTZEN
RCC_PLL2CSGRRWNSTZEN
RCC_PLL2FRACRRWNSTZEN
RCC_RCK3SELRRWNSTZEN and MCKPROT
RCC_PLL3CRRWNSTZEN and MCKPROT
RCC_PLL3CFGR1RWNSTZEN and MCKPROT
RCC_PLL3CFGR2RWNSTZEN and MCKPROT

Table 74. Register access type versus protection and security (continued)

Register nameAccess types (1)Access limitations (2)Secure attribute (3)Secure control bits
RCC_PLL3CSGRRWNSTZEN and MCKPROT
RCC_PLL3FRACRRWNSTZEN and MCKPROT
RCC_I2C46CKSELRRWNSTZEN
RCC_SPI6CKSELRRWNSTZEN
RCC_UART1CKSELRRWNSTZEN
RCC_RNG1CKSELRRWNSTZEN
RCC_STGENCKSELRRWNSTZEN
RCC_DDRITFCRRWNSTZEN
RCC_MP_BOOTCRRWMPU onlySTZEN
RCC_MP_SREQSETR, RCC_MP_SREQCLRRSR/CRMPU onlySTZEN
RCC_MP_GCRRWMPU onlySTZEN
RCC_MP_CIER, RCC_MP_CIFRRW/CRNSTZEN
RCC_MP_IWDGFZSETR, RCC_MP_IWDGFZCLRRSR/CRMPU onlySTZEN
RCC_BR_RSTSCLRRCRNSTZEN
RCC_MP_RSTSCLRR, RCC_MP_RSTSSETRSR/CRNSTZEN
RCC_MP_GRSTCSETRSRMPU onlySTZEN
RCC_APB5RSTSETR, RCC_APB5RSTCLRRSR/CRNSTZEN
RCC_AHB5RSTSETR, RCC_AHB5RSTCLRRSR/CRNSTZEN
RCC_TZAHB6RSTSETR, RCC_TZAHB6RSTCLRRSR/CRNSTZEN
RCC_MP_APB5ENSETR, RCC_MP_APB5ENCLRRSR/CRNSTZEN
RCC_MP_AHB5ENSETR, RCC_MP_AHB5ENCLRRSR/CRNSTZEN
RCC_MP_TZAHB6ENSETR, RCC_MP_TZAHB6ENCLRRSR/CRNSTZEN
RCC_MP_APB5LPENSETR, RCC_MP_APB5LPENCLRRSR/CRNSTZEN
RCC_MP_AHB5LPENSETR, RCC_MP_AHB5LPENCLRRSR/CRNSTZEN
RCC_MP_TZAHB6LPENSETR, RCC_MP_TZAHB6LPENCLRRSR/CRNSTZEN
RCC_TZCRRWNAS-
RCC_OCRDYRRNNS-
RCC_MCO1CFGRRWNNS-
RCC_MCO2CFGRRWNNS-
RCC_APB1DIVRRWNNS-
RCC_APB2DIVRRWNNS-
RCC_APB3DIVRRWNNS-

Table 74. Register access type versus protection and security (continued)

Register nameAccess types (1)Access limitations (2)Secure attribute (3)Secure control bits
RCC_RCK4SELRRWNNS-
RCC_PLL4CRRWNNS-
RCC_PLL4CFGR1RWNNS-
RCC_PLL4CFGR2RWNNS-
RCC_PLL4FRACRRWNNS-
RCC_PLL4CSGRRWNNS-
RCC_TIMG1PRERRWNNS-
RCC_TIMG2PRERRWNNS-
RCC_I2C12CKSELRRWNNS-
RCC_I2C35CKSELRRWNNS-
RCC_SAI1CKSELRRWNNS-
RCC_SAI2CKSELRRWNNS-
RCC_SAI3CKSELRRWNNS-
RCC_SAI4CKSELRRWNNS-
RCC_SPI2S1CKSELRRWNNS-
RCC_SPI2S23CKSELRRWNNS-
RCC_SPI45CKSELRRWNNS-
RCC_UART6CKSELRRWNNS-
RCC_UART24CKSELRRWNNS-
RCC_UART35CKSELRRWNNS-
RCC_UART78CKSELRRWNNS-
RCC_SDMMC12CKSELRRWNNS-
RCC_SDMMC3CKSELRRWNNS-
RCC_ETHCKSELRRWNNS-
RCC_USBCKSELRRWNNS-
RCC_QSPICKSELRRWNNS-
RCC_FMCCKSELRRWNNS-
RCC_FDCANCKSELRRWNNS-
RCC_SPDIFCKSELRRWNNS-
RCC_CECCCKSELRRWNNS-
RCC_RNG2CKSELRRWNNS-
RCC_DSICKSELRRWNNS-
RCC_ADCCKSELRRWNNS-
RCC_LPTIM45CKSELRRWNNS-

Table 74. Register access type versus protection and security (continued)

Register nameAccess types (1)Access limitations (2)Secure attribute (3)Secure control bits
RCC_LPTIM23CKSELRRWNNS-
RCC_LPTIM1CKSELRRWNNS-
RCC_CPERCKSELRRWNNS-
RCC_DBGCFGRRWNNS-
RCC_MC_RSTSCLRRCRNNS-
RCC_APB1RSTSETR, RCC_APB1RSTCLRRSR/CRNNS-
RCC_APB2RSTSETR, RCC_APB2RSTCLRRSR/CRNNS-
RCC_APB3RSTSETR, RCC_APB3RSTCLRRSR/CRNNS-
RCC_APB4RSTSETR, RCC_APB4RSTCLRRSR/CRNNS-
RCC_AHB6RSTSETR, RCC_AHB6RSTCLRRSR/CRNNS-
RCC_AHB2RSTSETR, RCC_AHB2RSTCLRRSR/CRNNS-
RCC_AHB3RSTSETR, RCC_AHB3RSTCLRRSR/CRNNS-
RCC_AHB4RSTSETR, RCC_AHB4RSTCLRRSR/CRNNS-
RCC_MP_APB1ENSETR, RCC_MP_APB1ENCLRRSR/CRNNS-
RCC_MP_APB2ENSETR, RCC_MP_APB2ENCLRRSR/CRNNS-
RCC_MP_APB3ENSETR, RCC_MP_APB3ENCLRRSR/CRNNS-
RCC_MC_APB4ENSETR, RCC_MC_APB4ENCLRRSR/CRNNS-
RCC_MC_APB5ENSETR, RCC_MC_APB5ENCLRRSR/CRNNS-
RCC_MP_AHB6ENSETR, RCC_MP_AHB6ENCLRRSR/CRNNS-
RCC_MP_AHB2ENSETR, RCC_MP_AHB2ENCLRRSR/CRNNS-
RCC_MP_AHB3ENSETR, RCC_MP_AHB3ENCLRRSR/CRNNS-
RCC_MP_AHB4ENSETR, RCC_MP_AHB4ENCLRRSR/CRNNS-
RCC_MC_AHB5ENSETR, RCC_MC_AHB5ENCLRRSR/CRNNS-
RCC_MP_MLAHBENSETR, RCC_MP_MLAHBENCLRRSR/CRNNS-
RCC_MC_APB1ENSETR, RCC_MC_APB1ENCLRRSR/CRNNS-
RCC_MC_APB2ENSETR, RCC_MC_APB2ENCLRRSR/CRNNS-
RCC_MC_APB3ENSETR, RCC_MC_APB3ENCLRRSR/CRNNS-
RCC_MP_APB4ENSETR, RCC_MP_APB4ENCLRRSR/CRNNS-
RCC_MC_AHB6ENSETR, RCC_MC_AHB6ENCLRRSR/CRNNS-
RCC_MC_AHB2ENSETR, RCC_MC_AHB2ENCLRRSR/CRNNS-
RCC_MC_AHB3ENSETR, RCC_MC_AHB3ENCLRRSR/CRNNS-
RCC_MC_AHB4ENSETR, RCC_MC_AHB4ENCLRRSR/CRNNS-
RCC_MC_AXIMENSETR, RCC_MC_AXIMENCLRRSR/CRNNS-
RCC_MC_MLAHBENSETR, RCC_MC_MLAHBENCLRRSR/CRNNS-

Table 74. Register access type versus protection and security (continued)

Register nameAccess types (1)Access limitations (2)Secure attribute (3)Secure control bits
RCC_MP_APB1LPENSETR, RCC_MP_APB1LPENCLRRSR/CRNNS-
RCC_MP_APB2LPENSETR, RCC_MP_APB2LPENCLRRSR/CRNNS-
RCC_MP_APB3LPENSETR, RCC_MP_APB3LPENCLRRSR/CRNNS-
RCC_MC_APB4LPENSETR, RCC_MC_APB4LPENCLRRSR/CRNNS-
RCC_MC_APB5LPENSETR, RCC_MC_APB5LPENCLRRSR/CRNNS-
RCC_MP_AHB6LPENSETR, RCC_MP_AHB6LPENCLRRSR/CRNNS-
RCC_MP_AHB2LPENSETR, RCC_MP_AHB2LPENCLRRSR/CRNNS-
RCC_MP_AHB3LPENSETR, RCC_MP_AHB3LPENCLRRSR/CRNNS-
RCC_MP_AHB4LPENSETR, RCC_MP_AHB4LPENCLRRSR/CRNNS-
RCC_MP_AXIMLPENSETR, RCC_MP_AXIMLPENCLRRSR/CRNNS-
RCC_MP_MLAHBLPENSETR, RCC_MP_MLAHBLPENCLRRSR/CRNNS-
RCC_MC_APB1LPENSETR, RCC_MC_APB1LPENCLRRSR/CRNNS-
RCC_MC_APB2LPENSETR, RCC_MC_APB2LPENCLRRSR/CRNNS-
RCC_MC_APB3LPENSETR, RCC_MC_APB3LPENCLRRSR/CRNNS-
RCC_MP_APB4LPENSETR, RCC_MP_APB4LPENCLRRSR/CRNNS-
RCC_MC_AHB6LPENSETR, RCC_MC_AHB6LPENCLRRSR/CRNNS-
RCC_MC_AHB2LPENSETR, RCC_MC_AHB2LPENCLRRSR/CRNNS-
RCC_MC_AHB3LPENSETR, RCC_MC_AHB3LPENCLRRSR/CRNNS-
RCC_MC_AHB4LPENSETR, RCC_MC_AHB4LPENCLRRSR/CRNNS-
RCC_MC_AHB5LPENSETR, RCC_MC_AHB5LPENCLRRSR/CRNNS-
RCC_MC_AXIMLPENSETR, RCC_MC_AXIMLPENCLRRSR/CRNNS-
RCC_MC_MLAHBLPENSETR, RCC_MC_MLAHBLPENCLRRSR/CRNNS-
RCC_VERRRNNS-
RCC_IDRRNNS-
RCC_SIDRRNNS-
  1. 1. RW means Read or Write.
    SR means Set or Read. On the register description it is noted “RWS1”.
    CR means Clear or Read.On the register description it is noted “RWC1”.
    R means Read.
    W means Write.
  2. 2. N means that there is no control on the master accessing this register.
    MPU Only means that only the MPU is allowed to write this resource. The read operations are always allowed.
  3. 3. AS means “Always Secure”: this register can only be accessed in secure mode.
    S means “Secure”: this register can only be written in secure mode when TZEN = ‘1’ or when TZEN AND MCKPROT = ‘1’.
    If TZEN = ‘0’, then the register can also be written in non-secure mode. Read access is always allowed.
    NS means “Non-secure”: this register always accept non-secure access, independently of TZEN bit. Secure and non-secure accesses are accepted.

10.7.1 Register mapping

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.

The RCC register map is divided into two sections:

Note that the burst access mode is not supported.

10.7.2 RCC TrustZone control register (RCC_TZCR)

Address offset: 0x000

Reset value: 0x0000 0003

This register is used to switch the RCC into secure mode. This register can only be accessed in secure mode.

10.7.2column_2Reset and clock control (RCC)Address offset: 0x000 Reset value: 0x0000 0003 accessed in secure mode.column_5RM0436
31302928 27 26 25 24 23 22 21 20 19 181716
Res.Res.Res.Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res.Res.Res.
15141312 11 10 9 8 7 6 5 4 3 210
Res.Res.Res.Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res.TZEN
C O M K P R T
Bit 1Bits 31:2 Reserved, must be kept at reset value. MCKPROT : Protection of the generation of mcuss_ck clock (secure) Enable
register controlling the mcuss_ck clock. Refer to Section 10.4.14: RCC TrustZone function for details. 0: The registers controlling mcuss_ck clock are not protected
Bit 0TZEN : RCC TrustZone (secure) Enable

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

Bit 1 MCKPROT: Protection of the generation of mcuss_ck clock (secure) Enable

Set and reset by software in order to control the security for all registers involved in the generation of the mcuss_ck clock. This bit is only significant if TZEN = '1'.

When TZEN = '1', if MCKPROT = '1', then only secure accesses are allowed to change the register controlling the mcuss_ck clock.

In all other cases, non secure accesses are allowed to those registers.

Refer to Section 10.4.14: RCC TrustZone function for details.

0: The registers controlling mcuss_ck clock are not protected

1: The registers controlling mcuss_ck clock are protected, if TZEN = '1' (default after reset).

Bit 0 TZEN: RCC TrustZone (secure) Enable

Set and reset by software in order to control the TrustZone mode. When this bit is set, the control of several RCC functions shall be controlled using secure accesses. Refer to Section 10.4.14: RCC TrustZone function for details.

0: No protection

1: TrustZone enabled (default after reset).

10.7.3 RCC oscillator clock enable set register (RCC_OCENSETR)

Address offset: 0x00C

Reset value: 0x0000 0001

This register is used to control the oscillators. Writing '0' to this register has no effect, writing '1' will set the corresponding bits. Reading will give the effective values of each bit. If TZEN = MCKPROT = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

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

Bit 10 HSEBYP: Set HSEBYP bit

Set by software in order to enable the bypass mode.

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 has no effect on the value of HSEON.

Bit 8 HSEON: Set HSEON bit

Set by software to enable the HSE.

Bit 7 DIGBYP: Set DIGBYP bit

Set by software when the external clock connected to OSC_IN is a full-swing digital signal.

Bit 6 Reserved, must be kept at reset value.

ST logo
ST logo

Bit 5 CSIKERON: Set CSIKERON bit

Set by software to force the CSI to ON, even in (LP-)Stop mode, in order to be quickly available as kernel clock for some peripherals. This bit has no effect on the value of CSION.

0: No effect

1: Set the CSIKERON bit

Bit 4 CSION: Set CSION bit

Set by software to enable CSI clock.

0: No effect

1: Set the CSION bit

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

Bit 1 HSIKERON: Set HSIKERON bit

Set by software to force the HSI to ON, even in (LP-)Stop mode, in order to be quickly available as kernel clock for peripherals. This bit has no effect on the value of HSION.

0: No effect

1: Set the HSIKERON bit

Bit 0 HSION: Set HSION bit

Set by software to enable the HSI clock.

The HSION is also set by hardware to force the HSI to ON when the product leaves Standby mode or one of the Stop modes.

0: No effect

1: Set the HSION bit

10.7.4 RCC oscillator clock enable clear register (RCC_OCENCLRR)

Address offset: 0x010

Reset value: 0x0000 0001

This register is used to control the oscillators. Writing '0' to this register has no effect, writing '1' will clear the corresponding bits. Reading will give the effective values of the enable bits. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

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.

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.

0: No effect

1: Clear the HSEKERON bit

Bit 8 HSEON: Clear of HSEON bit

Cleared by software to disable the HSE clock.

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.

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

0: CSI is OFF

1: Clear the CSION bit

ST logo
ST logo

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

0: No effect

1: Clear the HSION bit

10.7.5 RCC oscillator clock ready register (RCC_OCRDYR)

Address offset: 0x808

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.CKRESTAXICKRDYMPUCKRDYRes.Res.Res.Res.Res.Res.Res.
rrr
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.HSERDYRes.Res.Res.CSIRDYRes.HSIDVRYRes.HSIRDY
rrrr

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

Bit 25 CKREST: Clock Restore State Machine Status

Set by hardware to indicate if the clock restore sequence is on-going.

0: The clock restore process is not on-going (default after reset)

1: The clock restore process is on-going

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 will go immediately to '0' when HSIDIV value is changed, and will be 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.7.6 RCC debug configuration register (RCC_DBGCFGR)

Address offset: 0x80C

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.

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.

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.

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

Bits 2:0 TRACEDIV[2:0]: Clock divider for the trace clock (ck_trace)

Set and reset by software to control the ck_trace clock division factor.

It is possible to change this division ratio on-the-fly.

others: aclk / 16

10.7.7 RCC HSI configuration register (RCC_HSICFGR)

Address offset: 0x018

Reset value: 0x0000 0000

This register is used to configure the HSI. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

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

Set and reset 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 oscillator 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.7.8 RCC CSI configuration register (RCC_CSICFGR)

Address offset: 0x01C

Reset value: 0x0000 1000

This register is used to fine-tune the CSI frequency. If TZEN = MCKPROT = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See The clock restore sequence description for details.

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.7.9 RCC MCO1 configuration register (RCC_MCO1CFGR)

Address offset: 0x800

Reset value: 0x0000 0000

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

10.7.10 RCC MCO2 configuration register (RCC_MCO2CFGR)

Address offset: 0x804

Reset value: 0x0000 0000

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 10.4.4: Clock output generation (MCO1 and 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: MCU clock selected (mcuss_ck)
0x3: PLL4 clock selected (pll4_p_ck)
0x4: HSE clock selected (hse_ck)
0x5: HSI clock selected (hsi_ck)
others: reserved

10.7.11 RCC MPU clock selection register (RCC_MPCKSELR)

Address offset: 0x020

Reset value: 0x8000 0000

This register is used to select the clock source for the MPU. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

ST logo
ST logo
31302928272625242322212019181716
MPUSRCRDYRes.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 MPUSRCRDY: 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

Set and reset 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: PLL1 via MPUDIV is selected as MPU sub-system clock (pll1_p_ck / 2 MPUDIV).

10.7.12 RCC AXI sub-system clock selection register (RCC_ASSCKSELR)

Address offset: 0x024

Reset value: 0x8000 0000

This register is used to select the clock source for the AXI sub-system. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

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
Set and reset 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

10.7.13 RCC MCU sub-system clock selection register (RCC_MSSCKSELR)

Address offset: 0x048

Reset value: 0x8000 0000

This register is used to select the clock source for the MCU sub-system, including the MCU itself. If TZEN = MCKPROT = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

column_1column_2column_3column_4column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15RM0436
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
C S S C M U R R D Y
r 1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MCUSSRC[1:0] rw
Bit 31MCUSSRCRDY: MCU sub-system clock switch status
Bits 1:0MCUSSRC[1:0]: MCUSS clock switch
during the clock restore sequence. SeeSection : The clock restore sequence descriptionfor
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
P L L12 S R C R D Y
r 1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLL12SRC[1:0] rw

Bit 31 MCUSSRCDY: MCU sub-system clock switch status

Set and reset by hardware to indicate if the MCU clock switch transition has been properly performed.

0: The MCU sub-system switch is not ready or in positions higher than '011': no clock is generated on its output

1: The MCU sub-system switch is ready: the clock switch is selecting the clock given by MCUSSRC field. (default after reset)

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

Bits 1:0 MCUSSRC[1:0]: MCUSS clock switch

Set and reset by software to select the MCU sub-system clock source (mcuss_ck).

Reset by hardware in order to select hsi_ck when the system exits from one of the Stop modes.

0x0: HSI selected as MCU sub-system clock (hsi_ck) (default after reset)

0x1: HSE selected as MCU sub-system clock (hse_ck)

0x2: CSI selected as MCU sub-system clock (csi_ck)

0x3: PLL3 selected as MCU sub-system clock (pll3_p_ck)

10.7.14 RCC PLL 1 and 2 reference clock selection register (RCC_RCK12SELR)

Address offset: 0x028

Reset value: 0x8000 0000

This register is used to select the reference clock for PLL1 and PLL2. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

Bit 31 PLL12SRCRDY: PLL12 reference 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 field. (default after reset)

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

Bits 1:0 PLL12SRC[1:0]: Reference clock selection for PLL1 and PLL2

Set and reset by software to select the PLL1 and PLL2 clock source.

In order to save power when PLL1 and PLL2 are not used, PLL12SRC must be set to '1x'.

0x0: HSI selected as PLL clock (hsi_ck) (default after reset)

0x1: HSE selected as PLL clock (hse_ck)

others: No clock send to DIVMx divider and PLLs

10.7.15 RCC PLL 3 reference clock selection register (RCC_RCK3SELR)

Address offset: 0x820

Reset value: 0x8000 0000

This register is used to select the reference clock for PLL3. If TZEN = MCKPROT = '1', this register can only be modified in secure mode.

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 reference 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 field.
(default after reset)

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

Bits 1:0 PLL3SRC[1:0]: Reference clock selection for PLL3

Set and reset by software to select the PLL3 clock source.

In order to save power, when PLL3 is not used, PLL3SRC 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 DIVMx divider and PLLs

10.7.16 RCC PLL4 reference clock selection register (RCC_RCK4SELR)

Address offset: 0x824

Reset value: 0x8000 0000

This register is used to select 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 reference 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 field.
(default after reset)

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

Bits 1:0 PLL4SRC[1:0]: Reference clock selection for PLL4

Set and reset 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 reference clock

10.7.17 RCC TIM group 1 prescaler register (RCC_TIMG1PRER)

Address offset: 0x828

Reset value: 0x8000 0000

This register is used to control the prescaler value of timers located into APB1 domain. It concerns TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM12, TIM13 and TIM14. Refer to Section : Sub-system clock generation for additional information.

31302928272625242322212019181716
TIMG1PRERDYRes.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 TIMG1PRERDY: 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.7.18 RCC TIM group 2 prescaler register (RCC_TIMG2PRER)

Address offset: 0x82C

Reset value: 0x8000 0000

This register is used to control the prescaler value of timers located into APB2 domain. It concerns TIM1, TIM8, TIM15, TIM16, and TIM17. Refer to Section : Sub-system clock generation for additional information.

31302928272625242322212019181716
TIMG2PRRDYRes.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 TIMG2PRRDY: 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.7.19 RCC RTC clock division register (RCC_RTCDIVR)

Address offset: 0x044

Reset value: 0x0000 0000

This register is used to divide the HSE clock for RTC. If TZEN = '1', this register can only be modified in secure mode.

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

10.7.20 RCC MPU clock divider register (RCC_MPCKDIVR)

Address offset: 0x02C

Reset value: 0x8000 0001

This register is used to control the MPU clock prescaler. Refer to Section : Sub-system clock generation for additional information. If TZEN = '1', this register can only be modified in secure mode.

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.Res.MPUDIV[2:0]
rwrwrw

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:3 Reserved, must be kept at reset value.

Bits 2:0 MPUDIV[2:0]: MPU Core clock divider
Set and reset 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 4
0x3: The mpuss_ck is equal to pll1_p_ck divided by 8
others: The mpuss_ck is equal to pll1_p_ck divided by 16

10.7.21 RCC AXI clock divider register (RCC_AXIDIVR)

Address offset: 0x030

Reset value: 0x8000 0000

This register is used to control the AXI Matrix clock prescaler. Refer to Section : Sub-system clock generation for additional information. If TZEN = '1', this register can only be modified in secure mode.

ST logo
ST logo
31302928272625242322212019181716
AXIDIVRDYRes.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 AXIDIVRDY: 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
Set and reset 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 AXIDIVRDY flag.
0x0: axiss_ck (default after reset)
0x1: axiss_ck / 2
0x2: axiss_ck / 3
others: axiss_ck / 4

ST logo
ST logo

10.7.22 RCC APB4 clock divider register (RCC_APB4DIVR)

Address offset: 0x03C

Reset value: 0x8000 0000

This register is used to control the APB4 clock divider. Refer to Section : Sub-system clock generation for additional information. If TZEN = '1', this register can only be modified in secure mode.

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

Set and reset 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.7.23 RCC APB5 clock divider register (RCC_APB5DIVR)

Address offset: 0x040

Reset value: 0x8000 0000

This register is used to control the APB5 clock divider. Refer to Section : Sub-system clock generation for additional information. If TZEN = '1', this register can only be modified in secure mode.

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

Set and reset 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

10.7.24 RCC MCU clock divider register (RCC_MCUDIVR)

Address offset: 0x830

Reset value: 0x8000 0000

This register is used to control the MCU sub-system clock prescaler. Refer to Section : Sub-system clock generation for additional information. If TZEN = '1', this register can only be modified in secure mode.

31302928272625242322212019181716
MCUDIVRDYRes.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.MCUDIV[3:0]
rwrwrwrw

Bit 31 MCUDIVRDY: MCU clock prescaler status

Set and reset by hardware to indicate if the new division factor is taken into account.

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

Bits 3:0 MCUDIV[3:0]: MCU clock divider

Set and reset by software to control the MCU clock division factor.

Changing this division ratio has an impact on the frequency of MCU clock, and all bus matrix clocks. The clocks are divided with the new prescaler factor, from 1 to 512 cycles of mcuss_ck, after MCUDIV update. The application can check if the new division factor is taken into account by reading back the MCUDIVRDY flag.

10.7.25 RCC APB1 clock divider register (RCC_APB1DIVR)

Address offset: 0x834

Reset value: 0x8000 0000

This register is used to control the APB1 clock prescaler. Refer to Section : Sub-system clock generation for additional information.

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

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

Bits 2:0 APB1DIV[2:0]: APB1 clock divider

Set and reset by software to control the clock division factor.

The clocks are 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.

ST logo
ST logo

10.7.26 RCC APB2 clock divider register (RCC_APB2DIVR)

Address offset: 0x838

Reset value: 0x8000 0000

This register is used to control the APB2 clock prescaler. Refer to Section : Sub-system clock generation for additional information.

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

Set and reset by software to control the clock division factor.

The clocks are 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.7.27 RCC APB3 clock divider register (RCC_APB3DIVR)

Address offset: 0x83C

Reset value: 0x8000 0000

This register is used to control the APB3 clock prescaler. Refer to Section : Sub-system clock generation for additional information.

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
Set and reset by software to control the clock division factor.
The clocks are divided with the 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

ST logo
ST logo

10.7.28 RCC PLL1 control register (RCC_PLL1CR)

Address offset: 0x080

Reset value: 0x0000 0000

This register is used to control the PLL1. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

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.7.29 RCC PLL1 configuration register 1 (RCC_PLL1CFGR1)

Address offset: 0x084

Reset value: 0x0001 0031

This register is used to configure the PLL1. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

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.

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

Bits 8:0 DIVN[8:0]: Multiplication factor for PLL1 VCO

Set and reset 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 = Fref1_ck x 2 x (DIVN+1), when value 0 has been loaded into FRACV, with:

10.7.30 RCC PLL1 configuration register 2 (RCC_PLL1CFGR2)

Address offset: 0x088

Reset value: 0x0001 0100

This register is used to configure the PLL1. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

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

Set and reset 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

Set and reset 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

Set and reset 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.7.31 RCC PLL1 fractional register (RCC_PLL1FRACR)

Address offset: 0x08C

Reset value: 0x0000 0000

This register is used to fine-tune the frequency of the PLL1 VCO. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

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

Set and reset 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: 800 to 1600 MHz

VCO output frequency = \(F_{ref1\_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.7.32 RCC PLL1 clock spreading generator register (RCC_PLL1CSGR)

Address offset: 0x090

Reset value: 0x0000 0000

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. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description 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

Set and reset 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

Set and reset by software to adjust the modulation period of the clock spreading generator.

10.7.33 RCC PLL2 control register (RCC_PLL2CR)

Address offset: 0x094

Reset value: 0x0000 0000

This register is used to control the PLL2. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

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

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

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

Bit 3 Reserved, must be kept at reset value.

Bit 2 SSCG_CTRL: Clock Spreading Generator of PLL2 enable

Set and reset by software to enable the clock spreading generator of PLL2, in order to reduce the amount of EMI peaks.

Bit 1 PLL2RDY: PLL2 clock ready flag

Set by hardware to indicate that the PLL2 is locked.

Bit 0 PLLON: PLL2 enable

Set and cleared by software to enable the PLL2.

10.7.34 RCC PLL2 configuration register 1 (RCC_PLL2CFGR1)

Address offset: 0x098

Reset value: 0x0001 0063

This register is used to configure the PLL2. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

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

Set and reset 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: 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.7.35 RCC PLL2 configuration register 2 (RCC_PLL2CFGR2)

Address offset: 0x09C

Reset value: 0x0001 0101

This register is used to configure the PLL2. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

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

Set and reset 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

Set and reset 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

Set and reset 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.7.36 RCC PLL2 fractional register (RCC_PLL2FRACR)

Address offset: 0x0A0

Reset value: 0x0000 0000

This register is used to fine-tune the frequency of the PLL2 VCO. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

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

Set and reset 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 = \(Fref2\_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.7.37 RCC PLL2 clock spreading generator register (RCC_PLL2CSGR)

Address offset: 0x0A4

Reset value: 0x0000 0000

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. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

31302928272625242322212019181716
ResINC_STEP[14:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
SSCG_MODERPDFN_DISTPDFN_DISMOD_PER[12:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

10.7.38 RCC PLL3 control register (RCC_PLL3CR)

Address offset: 0x880

Reset value: 0x0000 0000

This register is used to control the PLL3. If TZEN = MCKPROT = '1', this register can only be modified in secure mode.

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.Res.PLL3RDYPLLON
rwrwrwrrw

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.

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.

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.

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

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

Bit 1 PLL3RDY: PLL3 clock ready flag

Set by hardware to indicate that the PLL3 is locked.

0: PLL3 unlocked (default after reset)

1: PLL3 locked

Bit 0 PLLON: PLL3 enable

Set and cleared by software to enable the PLL3.

Cleared by hardware when entering Stop, LP-Stop, LPLV-Stop, or Standby mode.

Note that DIVPEN, DIVQEN and DIVREN of PLL3 must be set to '0' before setting PLLON to '0'. refer to Section : PLL disabling procedure for details.

0: PLL3 OFF (default after reset)

1: PLL3 ON, and ref3_ck is provided to the PLL3

10.7.39 RCC PLL3 configuration register 1 (RCC_PLL3CFGR1)

Address offset: 0x884

Reset value: 0x0001 0031

This register is used to configure the PLL3. If TZEN = MCKPROT = '1', this register can only be modified in secure mode.

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

Set and reset by software to select the proper reference frequency range used for PLL3.

x0: The PLL3 input (ref3_ck) clock range frequency is between 4 and 8 MHz (default after reset)

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

Set and reset 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: 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.7.40 RCC PLL3 configuration register 2 (RCC_PLL3CFGR2)

Address offset: 0x888

Reset value: 0x0001 0101

This register is used to configure the PLL3. If TZEN = MCKPROT = '1', this register can only be modified in secure mode.

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

Set and reset 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

Set and reset 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

Set and reset 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.7.41 RCC PLL3 fractional register (RCC_PLL3FRACR)

Address offset: 0x88C

Reset value: 0x0000 0000

This register is used to fine-tune the frequency of the PLL3 VCO. If TZEN = MCKPROT = '1', this register can only be modified in secure mode.

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

Set and reset 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 = \(F_{ref3\_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.7.42 RCC PLL4 control register (RCC_PLL4CR)

Address offset: 0x894

Reset value: 0x0000 0000

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.Res.PLL4RDYPLLON
rwrwrwrrw

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.

In order to save power, when the pll4_r_ck is not needed, DIVREN must be set to '0'.

Bit 5 DIVQEN: PLL4 DIVQ divider output enable

Set and reset by software to enable the pll4_q_ck output of the PLL4.

In order to save power, when the pll4_q_ck is not needed, DIVQEN must be set to '0'.

Bit 4 DIVPEN: PLL4 DIVP divider output enable

Set and reset by software to enable the pll4_p_ck output of the PLL4.

In order to save power, when the pll4_p_ck is not needed, DIVPEN must be set to '0'.

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

Bit 1 PLL4RDY: PLL4 clock ready flag

Set by hardware to indicate that the PLL4 is locked.

Bit 0 PLLON: PLL4 enable

Set and cleared by software to enable the PLL4.

Cleared by hardware when entering Stop, LP-Stop, LPLV-Stop, or Standby mode.

Note that DIVPEN, DIVQEN and DIVREN of PLL4 must be set to '0' before setting PLLON to '0'. refer to Section : PLL disabling procedure for details.

10.7.43 RCC PLL4 configuration register 1 (RCC_PLL4CFGR1)

Address offset: 0x898

Reset value: 0x0001 0031

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

Set and reset 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

Set and reset 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: 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.7.44 RCC PLL4 configuration register 2 (RCC_PLL4CFGR2)

Address offset: 0x89C

Reset value: 0x0000 0000

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

Set and reset 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

Set and reset 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

Set and reset 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.7.45 RCC PLL4 fractional register (RCC_PLL4FRACR)

Address offset: 0x8A0

Reset value: 0x0000 0000

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

Set and reset 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 = \(F_{ref4\_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.7.46 RCC I2C1,2 kernel clock selection register (RCC_I2C12CKSELR)

Address offset: 0x8C0

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the I2C1 and I2C2. Note that changing the clock source on-the-fly is allowed, and will 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

Set and reset by software.

ST logo
ST logo

10.7.47 RCC I2C3,5 kernel clock selection register (RCC_I2C35CKSELR)

Address offset: 0x8C4

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the I2C3 and I2C5. Note that changing the clock source on-the-fly is allowed, and will 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.I2C35SRC[2:0]
rwrwrw

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

Bits 2:0 I2C35SRC[2:0]: I2C3 and I2C5 kernel clock source selection

Set and reset 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

10.7.48 RCC I2C4, 6 kernel clock selection register (RCC_I2C46CKSELR)

Address offset: 0x0C0

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the I2C4 and I2C6. Note that changing the clock source on-the-fly is allowed, and will 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. If TZEN = '1', this register can only be modified in secure mode.

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.I2C46SRC[2:0]
rwrwrw

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

Bits 2:0 I2C46SRC[2:0]: I2C4 and I2C6 kernel clock source selection

Set and reset by software.

In secure mode, only the mux positions 0 and 1 guarantee that the kernel clock will not be modified by non-secure accesses.

0x0: pclk5 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

others: reserved, the kernel clock is disabled

10.7.49 RCC SAI1 kernel clock selection register (RCC_SAI1CKSELR)

Address offset: 0x8C8

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

Set and reset 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.7.50 RCC SAI2 kernel clock selection register (RCC_SAI2CKSELR)

Address offset: 0x8CC

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

Set and reset by software.

ST logo
ST logo

10.7.51 RCC SAI3 kernel clock selection register (RCC_SAI3CKSELR)

Address offset: 0x8D0

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the SAI3. Note that changing the clock source on-the-fly is allowed, and will 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.SAI3SRC[2:0]
rwrwrw

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

Bits 2:0 SAI3SRC[2:0]: SAI3 kernel clock source selection

Set and reset 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.7.52 RCC SAI4 kernel clock selection register (RCC_SAI4CKSELR)

Address offset: 0x8D4

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the SAI4. Note that changing the clock source on-the-fly is allowed, and will 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.SAI4SRC[2:0]
rwrwrw

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

Bits 2:0 SAI4SRC[2:0]: SAI4 kernel clock source selection

Set and reset by software.

10.7.53 RCC SPI/I2S1 kernel clock selection register (RCC_SPI2S1CKSELR)

Address offset: 0x8D8

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the SPI/I2S1. Note that changing the clock source on-the-fly is allowed, and will 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

Set and reset by software.

10.7.54 RCC SPI/I2S2,3 kernel clock selection register (RCC_SPI2S23CKSELR)

Address offset: 0x8DC

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the SPI/I2S2,3. Note that changing the clock source on-the-fly is allowed, and will 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,3 kernel clock source selection

Set and reset 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.7.55 RCC SPI4,5 kernel clock selection register (RCC_SPI45CKSELR)

Address offset: 0x8E0

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the SPI4,5. Note that changing the clock source on-the-fly is allowed, and will 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.SPI45SRC[2:0]
rwrwrw

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

Bits 2:0 SPI45SRC[2:0]: SPI4,5 kernel clock source selection

Set and reset by software.

0x0: pclk2 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.7.56 RCC SPI6 kernel clock selection register (RCC_SPI6CKSELR)

Address offset: 0x0C4

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the SPI6. Note that changing the clock source on-the-fly is allowed, and will 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. If TZEN = '1', this register can only be modified in secure mode.

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.SPI6SRC[2:0]
rwrwrw

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

Bits 2:0 SPI6SRC[2:0]: SPI6 kernel clock source selection

Set and reset by software.

In secure mode, only the mux positions 0 and 1 guarantee that the kernel clock will not be modified by non-secure accesses.

0x0: pclk5 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: pll3_q_ck clock selected as kernel peripheral clock

others: reserved, the kernel clock is disabled

10.7.57 RCC USART6 kernel clock selection register
(RCC_UART6CKSELR)

Address offset: 0x8E4

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the USART6. Note that changing the clock source on-the-fly is allowed, and will 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

Set and reset by software.

STMicroelectronics logo
STMicroelectronics logo

10.7.58 RCC UART2,4 kernel clock selection register (RCC_UART24CKSELR)

Address offset: 0x8E8

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the USART2 and UART4. Note that changing the clock source on-the-fly is allowed, and will 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.UART24SRC[2:0]
rwrwrw

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

Bits 2:0 UART24SRC[2:0]: USART2 and UART4 kernel clock source selection

Set and reset 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.7.59 RCC UART3,5 kernel clock selection register (RCC_UART35CKSELR)

Address offset: 0x8EC

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the USART3 and UART5. Note that changing the clock source on-the-fly is allowed, and will 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

Set and reset by software.

ST logo
ST logo

10.7.60 RCC UART7,8 kernel clock selection register (RCC_UART78CKSELR)

Address offset: 0x8F0

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the UART7 and UART8. Note that changing the clock source on-the-fly is allowed, and will 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

Set and reset 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.7.61 RCC USART1 kernel clock selection register
(RCC_UART1CKSELR)

Address offset: 0x0C8

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the USART1. Note that changing the clock source on-the-fly is allowed, and will 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. If TZEN = '1', this register can only be modified in secure mode.

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.UART1SRC[2:0]
rwrwrw

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

Bits 2:0 UART1SRC[2:0]: UART1 kernel clock source selection

Set and reset by software.

0x0: pclk5 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.7.62 RCC SDMMC1 and 2 kernel clock selection register (RCC_SDMMC12CKSELR)

Address offset: 0x8F4

Reset value: 0x0000 0003

This register is used to control the selection of the kernel clock for the SDMMC1 and SDMMC2. Note that changing the clock source on-the-fly is allowed, and will 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.SDMMC12SRC[2:0]
rwrwrw

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

Bits 2:0 SDMMC12SRC[2:0]: SDMMC1 and SDMMC2 kernel clock source selection

Set and reset 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.7.63 RCC SDMMC3 kernel clock selection register (RCC_SDMMC3CKSELR)

Address offset: 0x8F8

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the SDMMC3. Note that changing the clock source on-the-fly is allowed, and will 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.SDMMC3SRC[2:0]
rwrwrw

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

Bits 2:0 SDMMC3SRC[2:0]: SDMMC3 kernel clock source selection

Set and reset by software.

ST logo
ST logo

10.7.64 RCC ethernet kernel clock selection register (RCC_ETHCKSELR)

Address offset: 0x8FC

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the ETH block. Note that changing the clock source on-the-fly is allowed, and will 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.ETHPTPDIV[3:0]Res.Res.ETHSRC[1:0]
rwrwrwrwrwrw

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

Bits 7:4 ETHPTPDIV[3:0]: Clock divider for Ethernet Precision Time Protocol (PTP)

Set and cleared 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 ETHSRC[1:0]: ETH kernel clock source selection

Set and reset 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.7.65 RCC QUADSPI kernel clock selection register (RCC_QSPICKSELR)

Address offset: 0x900

Reset value: 0x0000 0000

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 will 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
Set and reset by software.

ST logo
ST logo

10.7.66 RCC FMC kernel clock selection register (RCC_FMCCKSELR)

Address offset: 0x904

Reset value: 0x0000 0000

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

Set and reset 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.7.67 RCC FDCAN kernel clock selection register (RCC_FDCANCKSELR)

Address offset: 0x90C

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

Set and reset by software.

ST logo
ST logo

10.7.68 RCC SPDIFRX kernel clock selection register (RCC_SPDIFCKSELR)

Address offset: 0x914

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

Set and reset 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: hsi_ker_ck clock selected as kernel peripheral clock

others: reserved, the kernel clock is disabled

10.7.69 RCC CEC kernel clock selection register (RCC_CECKSELR)

Address offset: 0x918

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the CEC-HDMI. Note that changing the clock source on-the-fly is allowed, and will 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.CECSRC[1:0]
rwrw

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

Bits 1:0 CECSRC[1:0]: CEC-HDMI kernel clock source selection

Set and reset by software.

ST logo
ST logo

10.7.70 RCC USB kernel clock selection register (RCC_USBCKSELR)

Address offset: 0x91C

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the USBPHY PLL of the USB HOST and USB OTG. 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 will 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

Set and reset 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

Set and reset 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

other: Clock disabled

10.7.71 RCC RNG1 kernel clock selection register (RCC_RNG1CKSELR)

Address offset: 0x0CC

Reset value: 0x0000 0000

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 will 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. If TZEN = '1', this register can only be modified in secure mode.

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

Set and reset by software.

ST logo
ST logo

10.7.72 RCC RNG2 kernel clock selection register (RCC_RNG2CKSELR)

Address offset: 0x920

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the RNG2. Note that changing the clock source on-the-fly is allowed, and will 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.

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.RNG2SRC[1:0]
rwrw

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

Bits 1:0 RNG2SRC[1:0]: RNG2 kernel clock source selection

Set and reset 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: lse_ck clock selected as kernel peripheral clock

0x3: lsi_ck clock selected as kernel peripheral clock

10.7.73 RCC common peripheral clock selection register (RCC_CPERCKSELR)

Address offset: 0x0D0

Reset value: 0x0000 0000

This register is used to select an oscillator source as kernel clock for the per_ck clock. The per_ck clock is distributed to several peripherals. 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.7.74 RCC STGEN clock selection register (RCC_STGENCKSELR)

Address offset: 0x0D4

Reset value: 0x0000 0000

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. If TZEN = '1', this register can only be modified in secure mode.

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.7.75 RCC DDR interface control register (RCC_DDRITFCR)

Address offset: 0x0D8

Reset value: 0x000F D02A

This register is used to control the DDR interface, including the DDRC and DDRPHYC. If TZEN = '1', this register can only be modified in secure mode.

31302928272625242322212019181716
GSKP_DUR[3:0]DFILP_WIDTH[2:0]GSKPCTRLGSKPMODDDRCKMOD[2:0]DPHYCTLRSTDPHYRSTDPHYAPBRSTDDRCORERST
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
DDRCAXIRSTDDRCAPBRSTKERDCG_DLY[2:0]DDRPHYCAPBLPENDDRPHYCAPBENAXIDCGENDDRCAPBLPENDDRCAPBENDDRPHYCLPENDDRPHYCENDDRC2LPENDDRC2ENDDRC1LPENDDRC1EN
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
ST logo
ST logo

Bits 31:28 GSKP_DUR[3:0]: Glitch skipper duration in automatic mode

Set and clear 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 delay is equal to \((GSKP\_DUR + 1) \times 32 \times Tdphy\_ker\_ck\)

0x0: Sets a delay of 32 × Tdphy_ker_ck

0x1: Sets a delay of 2 × 32 × Tdphy_ker_ck

0x2: Sets a delay of 3 × 32 × Tdphy_ker_ck

...

0xF: Sets a delay of 16 × 32 × Tdphy_ker_ck

Bits 27:25 DFILP_WIDTH[2:0]: Minimum duration of low-power request command

Set and clear 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 × Tdphy_ker_ck to be used when Fdphy_ker_ck is between 120 and 160 MHz.

0x2: Forces a delay of 224 × Tdphy_ker_ck to be used when Fdphy_ker_ck is between 160 and 220 MHz.

0x3: Forces a delay of 320 × Tdphy_ker_ck to be used when Fdphy_ker_ck is between 220 and 320 MHz.

0x4: Forces a delay of 416 × Tdphy_ker_ck to be used when Fdphy_ker_ck is between 320 and 410 MHz.

Others: Forces a delay of 544 × Tdphy_ker_ck to be used when Fdphy_ker_ck is between 410 and 533MHz.

Bit 24 GSKPCTRL: Glitch Skipper (GSKP) control

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

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

Set and clear 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

Set and clear by software.

0: does not reset the DDRPHYC Control

1: resets the DDRPHYC Control

Bit 18 DPHYRST: DDRPHYC reset

Set and clear by software.

0: does not reset the DDRPHYC

1: resets the DDRPHYC

Bit 17 DPHYAPBRST: DDRPHYC APB interface reset

Set and clear by software.

0: does not reset the DDRPHYC APB interface

1: resets the DDRPHYC APB interface

Bit 16 DDRCORERST: DDRC core reset

Set and clear by software.

0: does not reset the DDRC core

1: resets the DDRC core

10.7.76 RCC DSI kernel clock selection register (RCC_DSICKSELR)

Address offset: 0x924

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the DSI block. Note that changing the clock source on-the-fly is allowed, and will 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.Res.DSISRC
rw

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

Bit 0 DSISRC: DSI kernel clock source selection

Set and reset by software.

0: DSI clock from PHY is selected as DSI byte lane clock (default after reset)

1: pll4_p_ck clock selected as DSI byte lane clock

10.7.77 RCC ADC kernel clock selection register (RCC_ADCCKSELR)

Address offset: 0x928

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the ADC block. Note that changing the clock source on-the-fly is allowed, and will 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.ADCSRC[1:0]
rwrw

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

Bits 1:0 ADCSRC[1:0]: ADC1 and 2 kernel clock source selection

Set and reset by software.

ST logo
ST logo

10.7.78 RCC LPTIM4 and 5 kernel clock selection register (RCC_LPTIM45CKSELR)

Address offset: 0x92C

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

Set and reset by software.

0x0: pclk3 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.7.79 RCC LPTIM2 and 3 kernel clock selection register (RCC_LPTIM23CKSELR)

Address offset: 0x930

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the LPTIM2 and LPTIM3 blocks. Note that changing the clock source on-the-fly is allowed, and will 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.LPTIM23SRC[2:0]
rwrwrw

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

Bits 2:0 LPTIM23SRC[2:0]: LPTIM2 and LPTIM3 kernel clock source selection

Set and reset by software.

ST logo
ST logo

10.7.80 RCC LPTIM1 kernel clock selection register (RCC_LPTIM1CKSELR)

Address offset: 0x934

Reset value: 0x0000 0000

This register is used to control the selection of the kernel clock for the LPTIM1 block. Note that changing the clock source on-the-fly is allowed, and will 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

Set and reset by software.

10.7.81 RCC boot control register (RCC_MP_BOOTCR)

Address offset: 0x100

Reset value: 0x0000 0000

This register is used to control the HOLD boot function when the system exits from Standby. Refer to Section : MCU HOLD_BOOT after processor reset. This register is reset when a system reset occurs, but not when the circuit exits from Standby (app_rst reset).

If TZEN = '1', this register can only be modified in secure mode. This register can only be accessed by the MPU.

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

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

Bit 1 MPU_BEN: MPU Boot Enable after Standby

Set and reset by software in order to allow or not the MPU to restart the next time the system exits from Standby. The value of this bit is used by the BOOTROM in order to allow or not the restart of the MPU application.

Bit 0 MCU_BEN: MCU Boot Enable after Standby

Set and reset by software in order to allow or not the MCU to restart the next time the system exits from Standby. The value of this bit is used by the BOOTROM in order to allow or not the restart of the MPU application.

10.7.82 RCC stop request set register (RCC_MP_SREQSETR)

Address offset: 0x104

Reset value: 0x0000 0000

Writing '0' has no effect, reading will return the values of the bits. Writing a '1' sets the corresponding bit to '1'. The MCU cannot write to this register. If TZEN = '1', this register can only be modified in secure mode.

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

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

Bit 1 STPREQ_P1: Stop Request for MPU processor number 1

Set by software

Indicates if the MPU processor number 1 allows the entry in CStop mode for MPU domain, when the complete MPU is in WFI.

0: Writing '0' has no effect, reading '0' means that the MPU processor number 1 does not allow the MPU domain to go to CStop

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

Bit 0 STPREQ_P0: Stop Request for MPU processor number 0

Set by software

Indicates if the MPU processor number 0 allows the entry in CStop mode for MPU domain, when the complete MPU is in WFI.

0: Writing '0' has no effect, reading '0' means that the MPU processor number 0 does not allow the MPU domain to go to CStop

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

10.7.83 RCC stop request clear register (RCC_MP_SREQCLRR)

Address offset: 0x108

Reset value: 0x0000 0000

Writing '0' has no effect, reading will return the effective values of the bits. Writing a '1' sets the corresponding bit to '0'. The MCU cannot write to this register. If TZEN = '1', this register can only be modified in secure mode.

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

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

Bit 1 STPREQ_P1: Stop Request for MPU processor number 1

Cleared by software

Indicates if the MPU processor number 1 allows the entry in CStop mode for MPU domain, when the complete MPU is in WFI.

Bit 0 STPREQ_P0: Stop Request for MPU processor number 0

Cleared by software

Indicates if the MPU processor number 0 allows the entry in CStop mode for MPU domain, when the complete MPU is in WFI.

ST logo
ST logo

10.7.84 RCC global control register (RCC_MP_GCR)

Address offset: 0x10C

Reset value: 0x0000 0000

The register contains global control bits. If TZEN = '1', this register can only be modified in secure mode. The MCU cannot modify this register.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BOOT_MCU
rw

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

Bit 0 BOOT_MCU: Allows the MCU to boot

Set and reset by software in order set the MCU in HOLD_BOOT after a reset of the MCU core. Note that the MCU core can be reset by mpu_rst or by nreset.

Refer to Section : MCU HOLD_BOOT after processor reset for details.

If the MCU was in HOLD_BOOT it will cause the MCU to boot.

0: The MCU will be set in HOLD_BOOT when the next MCU core reset occurs. (default after reset)

1: The MCU will not be in HOLD_BOOT mode when the next MCU core reset occurs.

10.7.85 RCC application reset control register (RCC_MP_APRSTCR)

Address offset: 0x110

Reset value: 0x0000 7F00

This register is used to control the behavior of the warm reset. If TZEN = '1', this register can only be modified in secure mode.

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

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

Bits 14:8 RSTTO[6:0]: Reset Timeout Delay Adjust

Set and reset 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.11: 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.7.86 RCC application reset status register (RCC_MP_APRSTSR)

Address offset: 0x114

Reset value: 0x0000 0000

This register provides a status of the RDCTL. If TZEN = '1', this register can only be modified in secure mode.

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.

10.7.87 RCC backup domain control register (RCC_BDCR)

Address offset: 0x140

Reset value: 0x0000 0020

This register is used to control the LSE function. 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.

After a system reset, the register RCC_BDCR is write-protected. In order to modify this register, the DBP bit in the PWR control register 1 (PWR_CR1) has to be set to '1'. Bits of RCC_BDCR register are only reset after a backup domain reset: nreset_vsw (see Section 10.3.6: Backup domain reset). Any other internal or external reset will not have any effect on these bits.

This register is located into the VSW domain. If TZEN = '1', this register can only be modified in secure mode.

31302928272625242322212019181716
VSWRSTRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.RTCKENRes.Res.RTCSRC[1:0]
rwrwrworwo
1514131211109876543210
Res.Res.Res.Res.Res.Res.LSECSSDLSECSSONRes.Res.LSEDRV[1:0]DIGBYPLSERDYLSEBYPLSEON
rrwrwrwrwrrwrw

Bit 31 VSWRST: V Switch domain software reset

Set and reset by software.

0: Reset not activated (default after backup domain reset)

1: Resets the entire VSW domain

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

Bit 20 RTCKEN: RTC clock enable

Set and reset by software.

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. This field can be written only one time after backup domain reset.

When a LSE failure occurs, the RTCSRC is set to '0', and the software is allowed to 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.

Bit 8 LSECSSON: LSE clock security system enable

Set by software to enable the Clock Security System on 32 kHz oscillator.

Refer to Section : CSS on LSE for details on the activation and deactivation sequences.

Once the LSECSSON bit is enabled it cannot be disabled, except after a LSE failure detection (LSECSSD = '1').

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

Bits 5:4 LSEDRV[1:0]: LSE oscillator driving capability

Set by software to select the driving capability of the LSE oscillator.

Bit 3 DIGBYP: LSE digital bypass

Set and reset by software to select the analog or 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'.

Bit 1 LSEBYP: LSE oscillator bypass

Set and reset by software to bypass oscillator in debug mode.

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.

Bit 0 LSEON: LSE oscillator enabled

Set and reset by software.

10.7.88 RCC reset duration and LSI control register (RCC_RDLSICR)

Address offset: 0x144

Reset value: 0x0000 0000

This register is used to control the minimum NRST active duration and 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.

This register is reset by the por_rst reset, and it is located into the VDD domain. If TZEN = '1', this register can only be modified in secure mode.

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

Bits 31:27 SPARE[4:0]: Spare bits

Set and reset by software. Reserved for future use.

Bits 26:24 EADLY[2:0]: External access delays

Set and reset by software.

Time to wait before the BOOTROM performs any external access (UART, USB, QUADSPI, FMC, SDMMC,...)

0x0: 10 ms (default after reset)

0x1: No extra delay added by the BOOTROM

0x2: 100 us

0x3: 200 us

0x4: 500 us

0x5: 1 ms

0x6: 2 ms

0x7: 5 ms

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

Bits 20:16 MRD[4:0]: Minimum Reset Duration

Set and reset by software. They define the minimum guaranteed duration of the NRST low pulse. The LSI oscillator is automatically enabled when needed by the RPCTL.

0x0: NRST low pulse duration is guaranteed by the pulse stretcher of the PAD. The RPCTL is bypassed (default after reset)

0x1: The guaranteed NRST low pulse duration is about 1 ms (1 x 32 lsi_ck cycles),

0x2: The guaranteed NRST low pulse duration is about 2 ms (2 x 32 lsi_ck cycles),

...

0x1F: The guaranteed NRST low pulse duration is about 31 ms (31 x 32 lsi_ck cycles).

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

Bit 1 LSIRDY: LSI oscillator ready

Set and reset by hardware to indicate when the LSI is stable. This bit needs 3 cycles of lsi_ck clock to fall down after LSION has been set to '0'.

0: LSI oscillator not ready (default after reset)

1: LSI oscillator ready

Bit 0 LSION: LSI oscillator enabled

Set and reset by software.

This bit is used to request the activation of the LSI oscillator. Note that IWDG1 and IWDG2 can also request the activation of LSI.

0: LSI oscillator is OFF if no other requester needs it, such as IWDG[2:1] (default after reset)

1: LSI oscillator ON

10.7.89 RCC clock source interrupt enable register (RCC_MP_CIER)

Address offset: 0x414

Reset value: 0x0000 0000

This register shall be used by the MPU to control the interrupt source enable. Refer to Section 10.5: RCC interrupts for more details. If TZEN = '1', this register can only be modified in secure mode.

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

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

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

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 10 PLL3DYIE: PLL3 ready Interrupt Enable

Set and reset by software to enable/disable interrupt caused by PLL3 lock.

0: PLL3 lock interrupt disabled (default after reset)

1: PLL3 lock interrupt enabled

Bit 9 PLL2DYIE: PLL2 ready Interrupt Enable

Set and reset by software to enable/disable interrupt caused by PLL2 lock.

0: PLL2 lock interrupt disabled (default after reset)

1: PLL2 lock interrupt enabled

10.7.90 RCC clock source interrupt flag register (RCC_MP_CIFR)

Address offset: 0x418

Reset value: 0x0000 0000

This register shall be used by the MPU in order to read and clear the interrupt flags. Writing '0' has no effect, writing '1' will clear the corresponding flag. Refer to Section 10.5: RCC interrupts for more details. If TZEN = '1', this register can only be modified in secure mode.

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

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

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

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

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

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

10.7.91 RCC clock source interrupt enable register (RCC_MC_CIER)

Address offset: 0xC14

Reset value: 0x0000 0000

This register shall be used by the MCU to control the interrupt source enable. Refer to Section 10.5: 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

Set and reset by software to enable/disable the generation of the interrupt used to wake up the MCU from CStop.

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

Bit 16 LSECSSIE: LSE clock security system Interrupt Enable

Set and reset by software to enable/disable interrupt caused by the Clock Security System on external 32 kHz oscillator.

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

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

Bit 11 PLL4DYIE: PLL4 ready Interrupt Enable

Set and reset by software to enable/disable interrupt caused by PLL4 lock.

Bit 10 PLL3DYIE: PLL3 ready Interrupt Enable

Set and reset by software to enable/disable interrupt caused by PLL3 lock.

Bit 9 PLL2DYIE: PLL2 ready Interrupt Enable

Set and reset by software to enable/disable interrupt caused by PLL2 lock.

Bit 8 PLL1DYIE: PLL1 ready Interrupt Enable

Set and reset by software to enable/disable interrupt caused by PLL1 lock.

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

Bit 4 CSIRDYIE: CSI ready Interrupt Enable

Set and reset by software to enable/disable interrupt caused by the CSI oscillator stabilization.

0: CSI ready interrupt disabled (default after reset)

1: CSI ready interrupt enabled

Bit 3 HSERDYIE: HSE ready Interrupt Enable

Set and reset by software to enable/disable interrupt caused by the HSE oscillator stabilization.

0: HSE ready interrupt disabled (default after reset)

1: HSE ready interrupt enabled

Bit 2 HSIRDYIE: HSI ready Interrupt Enable

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

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

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.7.92 RCC clock source interrupt flag register (RCC_MC_CIFR)

Address offset: 0xC18

Reset value: 0x0000 0000

This register shall be used by the MCU in order to read and clear the interrupt flags. Writing '0' has no effect, writing '1' will clear the corresponding flag. Refer to Section 10.5: 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

Reset by software by writing this flag to '1'.

Set by hardware when the MCU 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

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

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

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

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

10.7.93 RCC PWR_LP delay control register (RCC_PWRLPDLYCR)

Address offset: 0x41C

Reset value: 0x0000 0000

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 processors. If TZEN = '1', this register can only be modified in secure mode. Write access to this register is not allowed during the clock restore sequence. See Section : The clock restore sequence description for details.

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

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

Bit 24 MCTMPSKP: Skip the PWR_DLY for MCU

Set and Reset by software.

This bit is used by the clock restore sequence to skip the PWRLP_TEMPO Delay for the restore of the mcuss_ck when the system exits from one of the Stop modes.

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

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

Set and Reset by software.

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

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

10.7.94 RCC APB1 peripheral reset set register (RCC_APB1RSTSETR)

Address offset: 0x980

Reset value: 0x0000 0000

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' activates the reset of the corresponding peripheral.

31302928272625242322212019181716
MDIOSRSTRes.DAC12RSTRes.CECRSTSPDIFRSTRes.I2C5RSTI2C3RSTI2C2RSTI2C1RSTRes.UART8RSTUART7RSTUART5RSTUART4RST
rsrsrsrsrsrsrsrsrsrsrsrs
1514131211109876543210
USART3RSTUSART2RSTRes.SPI3RSTSPI2RSTRes.LPTIM1RSTTIM14RSTTIM13RSTTIM12RSTTIM7RSTTIM6RSTTIM5RSTTIM4RSTTIM3RSTTIM2RST
rsrsrsrsrsrsrsrsrsrsrsrsrsrs

Bit 31 MDIOSRST: MDIOS 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 30 Reserved, must be kept at reset value.

Bit 29 DAC12RST: DAC1 and 2 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 28 Reserved, must be kept at reset value.

Bit 27 CECRST: HDMI-CEC 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 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

Bit 25 Reserved, must be kept at reset value.

Bit 24 I2C5RST: I2C5 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 23 I2C3RST: I2C3 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 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

10.7.95 RCC APB1 peripheral reset clear register (RCC_APB1RSTCLRR)

Address offset: 0x984

Reset value: 0x0000 0000

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' releases the reset of the corresponding peripheral.

31302928272625242322212019181716
MDIOSRSTRes.DAC12RSTRes.CECRSTSPDIFRSTRes.I2C5RSTI2C3RSTI2C2RSTI2C1RSTRes.UART8RSTUART7RSTUART5RSTUART4RST
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
USART3RSTUSART2RSTRes.SPI3RSTSPI2RSTRes.LPTIM1RSTTIM14RSTTIM13RSTTIM12RSTTIM7RSTTIM6RSTTIM5RSTTIM4RSTTIM3RSTTIM2RST
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

Bit 31 MDIOSRST: MDIOS 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 30 Reserved, must be kept at reset value.

Bit 29 DAC12RST: DAC1 and 2 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 28 Reserved, must be kept at reset value.

Bit 27 CECRST: HDMI-CEC 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 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

Bit 25 Reserved, must be kept at reset value.

Bit 24 I2C5RST: I2C5 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 10 Reserved, must be kept at reset value.

Bit 9 LPTIM1RST: LPTIM1 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 8 TIM14RST: TIM14 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 7 TIM13RST: TIM13 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 6 TIM12RST: TIM12 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 5 TIM7RST: TIM7 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 4 TIM6RST: TIM6 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 3 TIM5RST: TIM5 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.7.96 RCC APB2 peripheral reset set register (RCC_APB2RSTSETR)

Address offset: 0x988

Reset value: 0x0000 0000

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading will return 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.SAI3RSTSAI2RSTSAI1RST
rsrsrsrsrs
1514131211109876543210
Res.Res.USART6RSTRes.Res.SPI5RSTSPI4RSTSPI1RSTRes.Res.Res.TIM17RSTTIM16RSTTIM15RSTTIM8RSTTIM1RST
rsrsrsrsrsrsrsrsrs

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

Bit 19 Reserved, must be kept at reset value.

Bit 18 SAI3RST: SAI3 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 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.

10.7.97 RCC APB2 peripheral reset clear register (RCC_APB2RSTCLRR)

Address offset: 0x98C

Reset value: 0x0000 0000

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading will return 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.SAI3RSTSAI2RSTSAI1RST
rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.Res.USART6RSTRes.Res.SPI5RSTSPI4RSTSPI1RSTRes.Res.Res.TIM17RSTTIM16RSTTIM15RSTTIM8RSTTIM1RST
rc_w1rc_w1rc_w1rc_w1rc_w1rc_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

Bit 19 Reserved, must be kept at reset value.

Bit 18 SAI3RST: SAI3 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 17 SAI2RST: SAI2 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 16 SAI1RST: SAI1 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 USART6RST: USART6 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 12:11 Reserved, must be kept at reset value.

10.7.98 RCC APB3 peripheral reset set register (RCC_APB3RSTSETR)

Address offset: 0x990

Reset value: 0x0000 0000

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading will return 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.SAI4RSTRes.Res.Res.Res.LPTIM5RSTLPTIM4RSTLPTIM3RSTLPTIM2RST
rsrsrsrsrsrsrs

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

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

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 10:9 Reserved, must be kept at reset value.

Bit 8 SAI4RST: SAI4 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: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.

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.

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.7.99 RCC APB3 peripheral reset clear register (RCC_APB3RSTCLRR)

Address offset: 0x994

Reset value: 0x0000 0000

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading will return 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.SAI4RSTRes.Res.Res.Res.LPTIM5RSTLPTIM4RSTLPTIM3RSTLPTIM2RST
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

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

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 10:9 Reserved, must be kept at reset value.

Bit 8 SAI4RST: SAI4 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: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

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

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.7.100 RCC AHB2 peripheral reset set register (RCC_AHB2RSTSETR)

Address offset: 0x998

Reset value: 0x0000 0000

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading will return 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.SDMMC3RST
rs
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.USBORSTRes.Res.ADC12RSTRes.Res.DMAMUXRSTDMA2RSTDMA1RST
rsrsrsrsrs

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

Bit 16 SDMMC3RST: SDMMC3 and the SDMMC3 delay (DLYBSD3) 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:9 Reserved, must be kept at reset value.

Bit 8 USBORST: USBO 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:6 Reserved, must be kept at reset value.

Bit 5 ADC12RST: ADC1 and 2 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 4:3 Reserved, must be kept at reset value.

Bit 2 DMAMUXRST: DMAMUX 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.7.101 RCC AHB2 peripheral reset clear register (RCC_AHB2RSTCLRR)

Address offset: 0x99C

Reset value: 0x0000 0000

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading will return 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.SDMMC3RST
rc_w1
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.USBORSTRes.Res.ADC12RSTRes.Res.DMAMUXRSTDMA2RSTDMA1RST
rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 16 SDMMC3RST: SDMMC3 and the SDMMC3 delay (DLYBSD3) 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:9 Reserved, must be kept at reset value.

Bit 8 USBORST: USBO 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:6 Reserved, must be kept at reset value.

Bit 5 ADC12RST: ADC1 and 2 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 4:3 Reserved, must be kept at reset value.

Bit 2 DMAMUXRST: DMAMUX 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.7.102 RCC AHB3 peripheral reset set register (RCC_AHB3RSTSETR)

Address offset: 0x9A0

Reset value: 0x0000 0000

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading will return 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.IPCCRSTHSEMRSTRes.Res.Res.CRC2RSTRNG2RSTHASH2RSTCRYP2RSTRes.Res.Res.DCMRST
rsrsrsrsrsrsrs

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

Bit 12 IPCCRST: IPCC 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 HSEMRST: HSEM 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 10:8 Reserved, must be kept at reset value.

Bit 7 CRC2RST: CRC2 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 6 RNG2RST: RNG2 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 5 HASH2RST: HASH2 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 CRYP2RST: CRYP2 (3DES/AES2) 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 3:1 Reserved, must be kept at reset value.

Bit 0 DCMIRST: DCMI 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.7.103 RCC AHB3 peripheral reset clear register (RCC_AHB3RSTCLRR)

Address offset: 0x9A4

Reset value: 0x0000 0000

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading will return 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.IPCCRSTHSEMRSTRes.Res.Res.CRC2RSTRNG2RSTHASH2RSTCRYP2RSTRes.Res.Res.DCMRST
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 12 IPCCRST: IPCC 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 11 HSEMRST: HSEM 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 10:8 Reserved, must be kept at reset value.

Bit 7 CRC2RST: CRC2 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 6 RNG2RST: RNG2 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 5 HASH2RST: HASH2 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 4 CRYP2RST: CRYP2 (3DES/AES2) 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 3:1 Reserved, must be kept at reset value.

Bit 0 DCMIRST: DCMI 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.7.104 RCC AHB4 peripheral reset set register (RCC_AHB4RSTSETR)

Address offset: 0x9A8

Reset value: 0x0000 0000

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading will return 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.GPIOKRSTGPIOJRSTGPIOIRSTGPIOHRSTGPIOGRSTGPIOFRSTGPIOERSTGPIODRSTGPIOCRSTGPIOBRSTGPIOARST
rsrsrsrsrsrsrsrsrsrsrs

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

Bit 10 GPIOKRST: GPIOK 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 9 GPIOJRST: GPIOJ 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 8 GPIOIRST: GPIOI 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 7 GPIOHRST: GPIOH 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 6 GPIOGRST: GPIOG 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 5 GPIOFRST: GPIOF 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 GPIOERST: GPIOE 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 GPIODRST: GPIOD 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 GPIOCRST: GPIOC 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 GPIOBRST: GPIOB 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 GPIOARST: GPIOA 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.7.105 RCC AHB4 peripheral reset clear register (RCC_AHB4RSTCLRR)

Address offset: 0x9AC

Reset value: 0x0000 0000

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading will return 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.GPIOKRSTGPIOJRSTGPIOIRSTGPIOHRSTGPIOGRSTGPIOFRSTGPIOERSTGPIODRSTGPIOCRSTGPIOBRSTGPIOARST
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 10 GPIOKRST: GPIOK 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 9 GPIOJRST: GPIOJ 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 8 GPIOIRST: GPIOI 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 7 GPIOHRST: GPIOH 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 6 GPIOGRST: GPIOG 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 5 GPIOFRST: GPIOF 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 4 GPIOERST: GPIOE 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 3 GPIODRST: GPIOD 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 GPIOCRST: GPIOC 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 GPIOBRST: GPIOB 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 GPIOARST: GPIOA 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.7.106 RCC APB4 peripheral reset set register (RCC_APB4RSTSETR)

Address offset: 0x180

Reset value: 0x0000 0000

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading will return 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.DSIRSTRes.Res.Res.LTDCRST
rsrsrs

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

Bit 16 USBPHYRST: USBPHYC 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: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:5 Reserved, must be kept at reset value.

Bit 4 DSIRST: DSI 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 3:1 Reserved, must be kept at reset value.

Bit 0 LTDCRST: LTDC 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.7.107 RCC APB4 peripheral reset clear register (RCC_APB4RSTCLRR)

Address offset: 0x184

Reset value: 0x0000 0000

ST logo
ST logo

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading will return 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.DSIRSTRes.Res.Res.LTDCRST
rc_w1rc_w1rc_w1

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

Bit 16 USBPHYRST: USBPHYC 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: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' releases the block reset, reading '1' means that the block reset is asserted

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

Bit 4 DSIRST: DSI 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 3:1 Reserved, must be kept at reset value.

Bit 0 LTDCRST: LTDC 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.7.108 RCC APB5 peripheral reset set register (RCC_APB5RSTSETR)

Address offset: 0x188

Reset value: 0x0000 0000

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' activates the reset of the corresponding peripheral. If TZEN = '1', this register can only be modified in secure mode.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENRST
T
Res.Res.Res.Res.
rs
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.USART1RSTI2C6RSTI2C4RSTRes.SPI6RST
rsrsrsrs

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

Bit 20 STGENRST: STGEN 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:5 Reserved, must be kept at reset value.

Bit 4 USART1RST: USART1 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 I2C6RST: I2C6 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 I2C4RST: I2C4 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 Reserved, must be kept at reset value.

Bit 0 SPI6RST: SPI6 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.7.109 RCC APB5 peripheral reset clear register (RCC_APB5RSTCLRR)

Address offset: 0x18C

Reset value: 0x0000 0000

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' releases the reset of the corresponding peripheral. If TZEN = '1', this register can only be modified in secure mode.

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.USART1RSTI2C6RSTI2C4RSTRes.SPI6RST
rc_w1rc_w1rc_w1rc_w1

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

Bit 20 STGENRST: STGEN 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:5 Reserved, must be kept at reset value.

Bit 4 USART1RST: USART1 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 3 I2C6RST: I2C6 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 I2C4RST: I2C4 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 Reserved, must be kept at reset value.

Bit 0 SPI6RST: SPI6 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.7.110 RCC AHB5 peripheral reset set register (RCC_AHB5RSTSETR)

Address offset: 0x190

Reset value: 0x0000 0000

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' activates the reset of the corresponding peripheral. If TZEN = '1', this register can only be modified in secure mode.

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.RNG1RSTHASH1RSTCRYP1RSTRes.Res.Res.GPIOZRST
rsrsrsrs

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

Bit 16 AXIMCRST: AXIMC 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:7 Reserved, must be kept at reset value.

Bit 6 RNG1RST: RNG1 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 5 HASH1RST: HASH1 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 CRYP1RST: CRYP1 (3DES/AES1) 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 3:1 Reserved, must be kept at reset value.

Bit 0 GPIOZRST: GPIOZ secure 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.7.111 RCC AHB5 peripheral reset clear register (RCC_AHB5RSTCLRR)

Address offset: 0x194

Reset value: 0x0000 0000

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' releases the reset of the corresponding peripheral. If TZEN = '1', this register can only be modified in secure mode.

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.RNG1RSTHASH1RSTCRYP1RSTRes.Res.Res.GPIOZRST
rc_w1rc_w1rc_w1rc_w1

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

Bit 16 AXIMCRST: AXIMC block reset

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

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

Bit 6 RNG1RST: RNG1 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 5 HASH1RST: HASH1 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 4 CRYP1RST: CRYP1 (3DES/AES1) 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 3:1 Reserved, must be kept at reset value.

Bit 0 GPIOZRST: GPIOZ secure 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.7.112 RCC AHB6 peripheral reset set register (RCC_AHB6RSTSETR)

Address offset: 0x198

Reset value: 0x0000 0000

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading will return 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.USBHRSTRes.Res.Res.CRC1RSTRes.Res.SDMMC2RSTSDMMC1RST
rsrsrsrs
1514131211109876543210
Res.QSPIRSTRes.FMCRSTRes.ETHMACRSTRes.Res.Res.Res.GPURSTRes.Res.Res.Res.Res.
rsrsrsrs

Bits 31: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: CRC1 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 SDMMC2RST: SDMMC2 and the SDMMC2 delay (DLYBSD2) 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 SDMMC1RST: SDMMC1 and the SDMMC1 delay (DLYBSD1) 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 Reserved, must be kept at reset value.

Bit 14 QSPIRST: QUADSPI and the QUADSPI delay 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 13 Reserved, must be kept at reset value.

10.7.113 RCC AHB6 peripheral reset clear register (RCC_AHB6RSTCLRR)

Address offset: 0x19C

Reset value: 0x0000 0000

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading will return 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.USBHRSTRes.Res.Res.CRC1RSTRes.Res.SDMMC2RSTSDMMC1RST
rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.QSPIRSTRes.FMCRSTRes.ETHMACRSTRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.
rc_w1rc_w1rc_w1

Bits 31: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: CRC1 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.

Bit 17 SDMMC2RST: SDMMC2 and the SDMMC2 delay (DLYBSD2) 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 16 SDMMC1RST: SDMMC1 and the SDMMC1 delay (DLYBSD1) 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 15 Reserved, must be kept at reset value.

Bit 14 QSPIRST: QUADSPI and the QUADSPI delay 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 13 Reserved, must be kept at reset value.

Bit 12 FMC RST: FMC 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 11 Reserved, must be kept at reset value.

Bit 10 ETHMAC RST: ETH 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 9:0 Reserved, must be kept at reset value.

10.7.114 RCC AHB6 secure peripheral reset set register (RCC_TZAHB6RSTSETR)

Address offset: 0x1A0

Reset value: 0x0000 0000

This register is used to activate the reset of the corresponding peripheral. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' activates the reset of the corresponding peripheral. If TZEN = '1', this register can only be modified in secure mode.

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

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

Bit 0 MDMARST: MDMA 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.7.115 RCC AHB6 secure peripheral reset clear register (RCC_TZAHB6RSTCLRR)

Address offset: 0x1A4

Reset value: 0x0000 0000

This register is used to release the reset of the corresponding peripheral. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' releases the reset of the corresponding peripheral. If TZEN = '1', this register can only be modified in secure mode.

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

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

Bit 0 MDMARST: MDMA 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.7.116 RCC global reset control set register (RCC_MP_GRSTCSETR)

Address offset: 0x404

Reset value: 0x0000 0000

This register is used by the MPU in order to generate either a MCU reset or a system reset or a reset of one of the two MPU processors. Writing '0' has no effect, reading returns the effective values of the corresponding bits. Writing a '1' activates the reset. The MCU cannot modify this register. If TZEN = '1', this register can only be modified in secure mode.

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.MPUP1RSTMPUP0RSTRes.Res.MCURSTMPSYSRST
rsrsrsrs

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

Bit 5 MPUP1RST: MPU processor 1 reset

Set by software, cleared by hardware when the reset command is completed.

Note that the Snoop Control Unit of the MPU (SCU) is not reset.

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

1: Writing '1' generate a reset of the MPU processor 1, reading '1' means that the block reset is asserted

Bit 4 MPUP0RST: MPU processor 0 reset

Set by software, cleared by hardware when the reset command is completed.

Note that the Snoop Control Unit of the MPU (SCU) is not reset.

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

1: Writing '1' generate a reset of the MPU processor 0, reading '1' means that the block reset is asserted

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

Bit 1 MCURST: MCU reset

Set by software, cleared by hardware when the reset command is completed.

It is recommended to set the MCU to CSleep before setting the MCURST bit to '1'.

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

1: Writing '1' generate a reset of the MCU core, reading '1' means that the block reset is asserted

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' generate a system reset, see Figure 47.

10.7.117 RCC APB1 peripheral enable for MPU set register (RCC_MP_APB1ENSETR)

Address offset: 0xA00

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MPU. Writing '0' has no effect, reading will return the effective value of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
MDIOSENRes.DAC12ENRes.CECENSPDIFENRes.I2C5ENI2C3ENI2C2ENI2C1ENRes.UART8ENUART7ENUART5ENUART4EN
rsrsrsrsrsrsrsrsrsrsrsrs
1514131211109876543210
USART3ENUSART2ENRes.SPI3ENSPI2ENRes.LPTIM1ENTIM14ENTIM13ENTIM12ENTIM7ENTIM6ENTIM5ENTIM4ENTIM3ENTIM2EN
rsrsrsrsrsrsrsrsrsrsrsrsrsrs

Bit 31 MDIOSEN: MDIOS 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 30 Reserved, must be kept at reset value.

Bit 29 DAC12EN: DAC1 and 2 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 28 Reserved, must be kept at reset value.

Bit 27 CECEN: HDMI-CEC 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 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

Bit 25 Reserved, must be kept at reset value.

Bit 3 TIM5EN: TIM5 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 TIM4EN: TIM4 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 TIM3EN: TIM3 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 TIM2EN: TIM2 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.7.118 RCC APB1 peripheral enable for MCU set register (RCC_MC_APB1ENSETR)

Address offset: 0xA80

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MCU. Writing '0' has no effect, reading will return '0'. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
MDIOSENRes.DAC12ENWWDG1ENCECENSPDIFENRes.I2C5ENI2C3ENI2C2ENI2C1ENRes.UART8ENUART7ENUART5ENUART4EN
rsrsrsrsrsrsrsrsrsrsrsrsrs
1514131211109876543210
USART3ENUSART2ENRes.SPI3ENSPI2ENRes.LPTIM1ENTIM14ENTIM13ENTIM12ENTIM7ENTIM6ENTIM5ENTIM4ENTIM3ENTIM2EN
rsrsrsrsrsrsrsrsrsrsrsrsrsrs

Bit 31 MDIOSEN: MDIOS 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 30 Reserved, must be kept at reset value.

Bit 29 DAC12EN: DAC1 and 2 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 28 WWDG1EN: WWDG1 peripheral clocks enable

Set by software. This bit is reset by a system reset (nreset) or MCU reset (mcu_rst).

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 27 CECEN: HDMI-CEC 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 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

Bit 25 Reserved, must be kept at reset value.

Bit 3 TIM5EN: TIM5 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 TIM4EN: TIM4 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 TIM3EN: TIM3 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 TIM2EN: TIM2 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.7.119 RCC APB1 peripheral enable for MPU clear register (RCC_MP_APB1ENCLRR)

Address offset: 0xA04

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MPU. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
MDIOSENRes.DAC12ENRes.CECENSPDIFENRes.I2C5ENI2C3ENI2C2ENI2C1ENRes.UART8ENUART7ENUART5ENUART4EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
USART3ENUSART2ENRes.SPI3ENSPI2ENRes.LPTIM1ENTIM14ENTIM13ENTIM12ENTIM7ENTIM6ENTIM5ENTIM4ENTIM3ENTIM2EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

Bit 31 MDIOSEN: MDIOS 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 30 Reserved, must be kept at reset value.

Bit 29 DAC12EN: DAC1 and 2 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 28 Reserved, must be kept at reset value.

Bit 27 CECEN: HDMI-CEC 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 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

Bit 25 Reserved, must be kept at reset value.

Bit 3 TIM5EN: TIM5 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 TIM4EN: TIM4 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 TIM3EN: TIM3 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 TIM2EN: TIM2 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.7.120 RCC APB1 peripheral enable for MCU clear register (RCC_MC_APB1ENCLRR)

Address offset: 0xA84

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MCU. Writing '0' has no effect, reading will return '0'. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
MDIOSENRes.DAC12ENRes.CECENSPDIFENRes.I2C5ENI2C3ENI2C2ENI2C1ENRes.UART8ENUART7ENUART5ENUART4EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
USART3ENUSART2ENRes.SPI3ENSPI2ENRes.LPTIM1ENTIM14ENTIM13ENTIM12ENTIM7ENTIM6ENTIM5ENTIM4ENTIM3ENTIM2EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

Bit 31 MDIOSEN: MDIOS 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 30 Reserved, must be kept at reset value.

Bit 29 DAC12EN: DAC1 and 2 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 28 Reserved, must be kept at reset value.

Bit 27 CECEN: HDMI-CEC 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 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

Bit 25 Reserved, must be kept at reset value.

Bit 3 TIM5EN: TIM5 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 TIM4EN: TIM4 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 TIM3EN: TIM3 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 TIM2EN: TIM2 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.7.121 RCC APB2 peripheral enable for MPU set register (RCC_MP_APB2ENSETR)

Address offset: 0xA08

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MPU. Writing '0' has no effect, reading will return 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.SAI3ENSAI2ENSAI1EN
rsrsrsrsrsrs
1514131211109876543210
Res.Res.USART6ENRes.Res.SPI5ENSPI4ENSPI1ENRes.Res.Res.TIM17ENTIM16ENTIM15ENTIM8ENTIM1EN
rsrsrsrsrsrsrsrsrs

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

Bit 19 Reserved, must be kept at reset value.

Bit 18 SAI3EN: SAI3 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 TIM15EN: TIM15 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 TIM8EN: TIM8 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 TIM1EN: TIM1 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.7.122 RCC APB2 peripheral enable for MCU set register (RCC_MC_APB2ENSETR)

Address offset: 0xA88

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MCU. Writing '0' has no effect, reading will return 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.SAI3ENSAI2ENSAI1EN
rsrsrsrsrsrs
1514131211109876543210
Res.Res.USART6ENRes.Res.SPI5ENSPI4ENSPI1ENRes.Res.Res.TIM17ENTIM16ENTIM15ENTIM8ENTIM1EN
rsrsrsrsrsrsrsrsrs

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

Bit 19 Reserved, must be kept at reset value.

Bit 18 SAI3EN: SAI3 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 TIM15EN: TIM15 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 TIM8EN: TIM8 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 TIM1EN: TIM1 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.7.123 RCC APB2 peripheral enable for MPU clear register (RCC_MP_APB2ENCLRR)

Address offset: 0xA0C

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MPU. Writing '0' has no effect, reading will return 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.SAI3ENSAI2ENSAI1EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.Res.USART6ENRes.Res.SPI5ENSPI4ENSPI1ENRes.Res.Res.TIM17ENTIM16ENTIM15ENTIM8ENTIM1EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_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

Bit 19 Reserved, must be kept at reset value.

Bit 18 SAI3EN: SAI3 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 TIM15EN: TIM15 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 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.7.124 RCC APB2 peripheral enable for MCU clear register (RCC_MC_APB2ENCLRR)

Address offset: 0xA8C

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MCU. Writing '0' has no effect, reading will return 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.SAI3ENSAI2ENSAI1EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.Res.USART6ENRes.Res.SPI5ENSPI4ENSPI1ENRes.Res.Res.TIM17ENTIM16ENTIM15ENTIM8ENTIM1EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_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

Bit 19 Reserved, must be kept at reset value.

Bit 18 SAI3EN: SAI3 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 TIM15EN: TIM15 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 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.7.125 RCC APB3 peripheral enable for MPU set register
(RCC_MP_APB3ENSETR)

Address offset: 0xA10

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MPU. Writing '0' has no effect, reading will return 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.SYSCFGENRes.Res.SAI4ENRes.Res.Res.Res.LPTIM5ENLPTIM4ENLPTIM3ENLPTIM2EN
rsrsrsrsrsrsrs

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

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 12 Reserved, must be kept at reset value.

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

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

Bit 8 SAI4EN: SAI4 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 7: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

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

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.7.126 RCC APB3 peripheral enable for MCU set register
(RCC_MC_APB3ENSETR)

Address offset: 0xA90

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MCU. Writing '0' has no effect, reading will return 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.SYSCFGENRes.Res.SAI4ENRes.Res.Res.Res.LPTIM5ENLPTIM4ENLPTIM3ENLPTIM2EN
rsrsrsrsrsrsrs

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

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 12 Reserved, must be kept at reset value.

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

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

Bit 8 SAI4EN: SAI4 peripheral clocks enable

Set by software.

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

Bit 3 LPTIM5EN: LPTIM5 peripheral clocks enable

Set by software.

Bit 2 LPTIM4EN: LPTIM4 peripheral clocks enable

Set by software.

Bit 1 LPTIM3EN: LPTIM3 peripheral clocks enable

Set by software.

Bit 0 LPTIM2EN: LPTIM2 peripheral clocks enable

Set by software.

10.7.127 RCC APB3 peripheral enable for MPU clear register (RCC_MP_APB3ENCLRR)

Address offset: 0xA14

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MPU. Writing '0' has no effect, reading will return 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.SYSCFGENRes.Res.SAI4ENRes.Res.Res.Res.LPTIM5ENLPTIM4ENLPTIM3ENLPTIM2EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
ST logo
ST logo

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

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 12 Reserved, must be kept at reset value.

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

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

Bit 8 SAI4EN: SAI4 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: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

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

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.7.128 RCC APB3 peripheral enable for MCU clear register
(RCC_MC_APB3ENCLRR)

Address offset: 0xA94

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MCU. Writing '0' has no effect, reading will return 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.SYSCFGENRes.Res.SAI4ENRes.Res.Res.Res.LPTIM5ENLPTIM4ENLPTIM3ENLPTIM2EN
rc_w1rc_w1rc_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: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

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 12 Reserved, must be kept at reset value.

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

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

Bit 8 SAI4EN: SAI4 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: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

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

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.7.129 RCC APB4 peripheral enable for MCU set register (RCC_MC_APB4ENSETR)

Address offset: 0x280

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MCU. Writing '0' has no effect, reading will return 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
Res.Res.Res.Res.Res.Res.Res.DDRPERFMENRes.Res.Res.DSIENRes.Res.Res.LTDCEN
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 selected by STGENSRC.

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

Bit 16 USBPHYEN: USBPHYC peripheral clocks enable

Set by software.

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

Bit 8 DDRPERFMEN: DDRPERFM APB clock enable

Set by software.

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

Bit 4 DSIEN: DSI peripheral clocks enable

Set by software.

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

Bit 0 LTDCEN: LTDC peripheral clocks enable

Set by software.

10.7.130 RCC APB4 peripheral enable for MPU set register (RCC_MP_APB4ENSETR)

Address offset: 0x200

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MPU. Writing '0' has no effect, reading will return 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.DDRPERFMENRes.Res.Res.DSIENRes.Res.Res.LTCEN
rsrsrsrs

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 selected by STGENSRC.

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:17 Reserved, must be kept at reset value.

Bit 16 USBPHYEN: USBPHYC 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 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:5 Reserved, must be kept at reset value.

ST logo
ST logo

Bit 4 DSIEN: DSI 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 3: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.7.131 RCC APB4 peripheral enable for MCU clear register (RCC_MC_APB4ENCLRR)

Address offset: 0x284

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MCU. Writing '0' has no effect, reading will return 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
Res.Res.Res.Res.Res.Res.Res.DDRPERFMENRes.Res.Res.DSIENRes.Res.Res.LTCEN
rc_w1rc_w1rc_w1

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

Bit 20 STGENROEN: STGEN Read-Only interface peripheral clocks disable

Cleared by software.

The peripheral clocks of the STGEN Read-Only interface are the pclk4 and the kernel clock selected by STGENSRC.

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:17 Reserved, must be kept at reset value.

Bit 16 USBPHYEN: USBPHYC peripheral clocks disable

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: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' disables the APB clock, reading '1' means that the APB clock is enabled

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

Bit 4 DSIEN: DSI peripheral clocks disable

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 3:1 Reserved, must be kept at reset value.

Bit 0 LTDCEN: LTDC peripheral clocks disable

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.7.132 RCC APB4 peripheral enable for MPU clear register (RCC_MP_APB4ENCLRR)

Address offset: 0x204

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MPU. Writing '0' has no effect, reading will return 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.DSIENRes.Res.Res.LTCEN
rc_w1rc_w1rc_w1rc_w1

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

Bit 20 STGENROEN: STGEN Read-Only interface peripheral clocks disable

Cleared by software.

The peripheral clocks of the STGEN Read-Only interface are the pclk4 and the kernel clock selected by STGENSRC.

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:17 Reserved, must be kept at reset value.

Bit 16 USBPHYEN: USBPHYC peripheral clocks disable

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 disable

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

Set 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:5 Reserved, must be kept at reset value.

ST logo
ST logo

Bit 4 DSIEN: DSI peripheral clocks disable

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 3:1 Reserved, must be kept at reset value.

Bit 0 LTDCEN: LTDC peripheral clocks disable

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.7.133 RCC APB5 peripheral enable for MCU set register (RCC_MC_APB5ENSETR)

Address offset: 0x288

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MCU. Writing '0' has no effect, reading will return 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.STGENENRes.Res.Res.BSECEN
rsrs
1514131211109876543210
Res.Res.TZPCENTZC2ENTZC1ENRes.Res.RTCAPBENRes.Res.Res.USART1ENI2C6ENI2C4ENRes.SPI6EN
rsrsrsrsrsrsrsrs

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

Bit 20 STGENEN: STGEN Controller part, 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:17 Reserved, must be kept at reset value.

Bit 16 BSECEN: BSEC 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 TZPCEN: TZPC 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 12 TZC2EN: TZC AXI port 2 clocks enable

Set by software.

See Section : Clock distribution for TZC for details.

0: Writing '0' has no effect, reading '0' means that the clocks are disabled for AXI port 2

1: Writing '1' enables the pclk5 and aclk_tzc2 clocks, reading '1' means that the clocks are enabled for AXI port 2

10.7.134 RCC APB5 peripheral enable for MPU set register (RCC_MP_APB5ENSETR)

Address offset: 0x208

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MPU. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'. If TZEN = '1', this register can only be modified in secure mode.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENENRes.Res.Res.BSECEN
rsrs
1514131211109876543210
IWDG1APBENRes.TZPCENTZC2ENTZC1ENRes.Res.RTCAPBENRes.Res.Res.USART1ENI2C6ENI2C4ENRes.SPI6EN
rsrsrsrsrsrsrsrsrs

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

Bit 20 STGENEN: STGEN Controller part, 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:17 Reserved, must be kept at reset value.

Bit 16 BSECEN: BSEC 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 15 IWDG1APBEN: IWDG1 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

Bit 14 Reserved, must be kept at reset value.

Bit 13 TZPCEN: TZPC 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.7.135 RCC APB5 peripheral enable for MCU clear register (RCC_MC_APB5ENCLRR)

Address offset: 0x28C

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MCU. Writing '0' has no effect, reading will return 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.STGENENRes.Res.Res.BSECEN
rc_w1rc_w1
1514131211109876543210
Res.Res.TZPCENTZC2ENTZC1ENRes.Res.RTCAPBENRes.Res.Res.USART1ENI2C6ENI2C4ENRes.SPI6EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 20 STGENEN: STGEN Controller part, peripheral clocks disable

Cleared by software.

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

Bit 16 BSECEN: BSEC peripheral clocks disable

Cleared by software.

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

Bit 13 TZPCEN: TZPC peripheral clocks disable

Cleared by software.

Bit 12 TZC2EN: TZC AXI port 2 clocks disable

Cleared by software. See Section : Clock distribution for TZC for details.

Bit 11 TZC1EN: TZC AXI port 1 clocks disable

Cleared by software. See Section : Clock distribution for TZC for details.

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

ST logo
ST logo

Bit 8 RTCAPBEN: RTC APB clock disable

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:5 Reserved, must be kept at reset value.

Bit 4 USART1EN: USART1 peripheral clocks disable

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 I2C6EN: I2C6 peripheral clocks disable

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 I2C4EN: I2C4 peripheral clocks disable

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 Reserved, must be kept at reset value.

Bit 0 SPI6EN: SPI6 peripheral clocks disable

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.7.136 RCC APB5 peripheral enable for MPU clear register (RCC_MP_APB5ENCLRR)

Address offset: 0x20C

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MPU. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'. If TZEN = '1', this register can only be modified in secure mode.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENENRes.Res.Res.BSECEN
rc_w1rc_w1
1514131211109876543210
IWDG1APBENRes.TZPCENTZC2ENTZC1ENRes.Res.RTCAPBENRes.Res.Res.USART1ENI2C6ENI2C4ENRes.SPI6EN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 20 STGENEN: STGEN Controller part, peripheral clocks disable

Cleared by software.

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

Bit 16 BSECEN: BSEC peripheral clocks disable

Cleared by software.

Bit 15 IWDG1APBEN: IWDG1 APB clock disable

Cleared by software.

Bit 14 Reserved, must be kept at reset value.

Bit 13 TZPCEN: TZPC peripheral clocks disable

Cleared by software.

10.7.137 RCC AHB5 peripheral enable for MCU set register (RCC_MC_AHB5ENSETR)

Address offset: 0x290

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MCU. Writing '0' has no effect, reading will

return 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.BKPSRAMENRes.RNG1ENHASH1ENCRYP1ENRes.Res.Res.GPIOZEN
rsrsrsrsrs

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

Bit 8 BKPSRAMEN: BKPSRAM 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 Reserved, must be kept at reset value.

Bit 6 RNG1EN: RNG1 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 HASH1EN: HASH1 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 CRYP1EN: CRYP1 (3DES/AES1) 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 3:1 Reserved, must be kept at reset value.

Bit 0 GPIOZEN: GPIOZ Secure 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.7.138 RCC AHB5 peripheral enable for MPU set register (RCC_MP_AHB5ENSETR)

Address offset: 0x210

Reset value: 0x0001 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MPU. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'. If TZEN = '1', this register can only be modified in secure mode.

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.RNG1ENHASH1ENCRYP1ENRes.Res.Res.GPIOZEN
rsrsrsrsrs

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

Bit 16 AXIMCEN: AXIMC 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:9 Reserved, must be kept at reset value.

Bit 8 BKPSRAMEN: BKPSRAM 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 Reserved, must be kept at reset value.

Bit 6 RNG1EN: RNG1 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 HASH1EN: HASH1 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 CRYP1EN: CRYP1 (3DES/AES1) 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 3:1 Reserved, must be kept at reset value.

Bit 0 GPIOZEN: GPIOZ Secure 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.7.139 RCC AHB5 peripheral enable for MCU clear register (RCC_MC_AHB5ENCLRR)

Address offset: 0x294

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MCU. Writing '0' has no effect, reading will return 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.BKPSRAMENRes.RNG1ENHASH1ENCRYP1ENRes.Res.Res.GPIOZEN
rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 8 BKPSRAMEN: BKPSRAM 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 Reserved, must be kept at reset value.

Bit 6 RNG1EN: RNG1 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 HASH1EN: HASH1 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 CRYP1EN: CRYP1 (3DES/AES1) 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 3:1 Reserved, must be kept at reset value.

Bit 0 GPIOZEN: GPIOZ Secure 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.7.140 RCC AHB5 peripheral enable for MPU clear register (RCC_MP_AHB5ENCLRR)

Address offset: 0x214

Reset value: 0x0001 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MPU. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'. If TZEN = '1', this register can only be modified in secure mode.

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.RNG1ENHASH1ENCRYP1ENRes.Res.Res.GPIOZEN
rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 16 AXIMCEN: AXIMC clocks enable

Set 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:9 Reserved, must be kept at reset value.

Bit 8 BKPSRAMEN: BKPSRAM 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 Reserved, must be kept at reset value.

Bit 6 RNG1EN: RNG1 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 HASH1EN: HASH1 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 CRYP1EN: CRYP1 (3DES/AES1) 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 3:1 Reserved, must be kept at reset value.

Bit 0 GPIOZEN: GPIOZ Secure 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.7.141 RCC AHB6 peripheral enable for MPU set register (RCC_MP_AHB6ENSETR)

Address offset: 0x218

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MPU. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.USBHENRes.Res.Res.CRC1ENRes.Res.SDMMC2ENSDMMC1EN
rsrsrsrs
1514131211109876543210
Res.QSPIENRes.FMCENRes.ETHMACENETHRXENETHTXENETHCKENRes.GPUENRes.Res.Res.Res.MDMAEN
rsrsrsrsrsrsrsrs

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

Bit 24 USBHEN: USBH 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:21 Reserved, must be kept at reset value.

Bit 20 CRC1EN: CRC1 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 SDMMC2EN: SDMMC2 and SDMMC2 delay (DLYBSD2) block 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 16 SDMMC1EN: SDMMC1 and SDMMC1 delay (DLYBSD1) block 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 15 Reserved, must be kept at reset value.

10.7.142 RCC AHB6 peripheral enable for MCU set register (RCC_MC_AHB6ENSETR)

Address offset: 0x298

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MCU. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.USBHENRes.Res.Res.CRC1ENRes.Res.SDMMC2ENSDMMC1EN
rsrsrsrs
1514131211109876543210
Res.QSPIENRes.FMCENRes.ETHMACENETHRXENETHTXENETHCKENRes.GPUENRes.Res.Res.Res.MDMAEN
rsrsrsrsrsrsrsrs

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

Bit 24 USBHEN: USBH 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:21 Reserved, must be kept at reset value.

Bit 20 CRC1EN: CRC1 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 SDMMC2EN: SDMMC2 and SDMMC2 delay (DLYBSD2) block 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 16 SDMMC1EN: SDMMC1 and SDMMC1 delay (DLYBSD1) block 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 15 Reserved, must be kept at reset value.

10.7.143 RCC AHB6 peripheral enable for MPU clear register (RCC_MP_AHB6ENCLRR)

Address offset: 0x21C

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MPU. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.USBHENRes.Res.Res.CRC1ENRes.Res.SDMMC2ENSDMMC1EN
rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.QSPIENRes.FMCMENRes.ETHMACENETHRXENETHTXENETHCKENRes.GPUENRes.Res.Res.Res.MDMAEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 24 USBHEN: USBH 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:21 Reserved, must be kept at reset value.

Bit 20 CRC1EN: CRC1 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 SDMMC2EN: SDMMC2 and SDMMC2 delay (DLYBSD2) block 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 SDMMC1EN: SDMMC1 and SDMMC1 delay (DLYBSD1) block 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 15 Reserved, must be kept at reset value.

10.7.144 RCC AHB6 peripheral enable for MCU clear register (RCC_MC_AHB6ENCLRR)

Address offset: 0x29C

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MCU. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.USBHENRes.Res.Res.CRC1ENRes.Res.SDMMC2ENSDMMC1EN
rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.QSPIENRes.FMCENRes.ETHMACENETHRXENETHTXENETHCKENRes.GPUENRes.Res.Res.Res.MDMAEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 24 USBHEN: USBH 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:21 Reserved, must be kept at reset value.

Bit 20 CRC1EN: CRC1 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 SDMMC2EN: SDMMC2 and SDMMC2 delay (DLYBSD2) block 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 SDMMC1EN: SDMMC1 and SDMMC1 delay (DLYBSD1) block 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 15 Reserved, must be kept at reset value.

10.7.145 RCC AHB6 secure peripheral enable for MPU set register (RCC_MP_TZAHB6ENSETR)

Address offset: 0x220

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MPU. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'. If TZEN = '1', this register can only be modified in secure mode.

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.

Note that this bit is “ORed” with the MDMAEN bits of RCC_MP_AHB6ENSETR/CLRR and RCC_MC_AHB6ENSETR/CLRR registers.

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.7.146 RCC AHB6 secure peripheral enable for MPU clear register (RCC_MP_TZAHB6ENCLRR)

Address offset: 0x224

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MPU. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'. If TZEN = '1', this register can only be modified in secure mode.

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

Note that this bit is “ORed” with the MDMAEN bits of RCC_MP_AHB6ENSETR/CLRR and RCC_MC_AHB6ENSETR/CLRR registers.

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.7.147 RCC AHB2 peripheral enable for MPU set register (RCC_MP_AHB2ENSETR)

Address offset: 0xA18

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MPU. Writing '0' has no effect, reading will return 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.SDMMC3EN
rs
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.USBOENRes.Res.ADC12ENRes.Res.DMAMUXENDMA2ENDMA1EN
rsrsrsrsrs

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

Bit 16 SDMMC3EN: SDMMC3 and SDMMC3 delay (DLYBSD3) block 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:9 Reserved, must be kept at reset value.

Bit 8 USBOEN: USBO 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 7:6 Reserved, must be kept at reset value.

Bit 5 ADC12EN: ADC1 and 2 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 4:3 Reserved, must be kept at reset value.

Bit 2 DMAMUXEN: DMAMUX 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 DMA2EN: DMA2 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 DMA1EN: DMA1 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.7.148 RCC AHB2 peripheral enable for MCU set register (RCC_MC_AHB2ENSETR)

Address offset: 0xA98

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MCU. Writing '0' has no effect, reading will return 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.SDMMC3EN
rs
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.USBOENRes.Res.ADC12ENRes.Res.DMAMUXENDMA2ENDMA1EN
rsrsrsrsrs

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

Bit 16 SDMMC3EN: SDMMC3 and SDMMC3 delay (DLYBSD3) block 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:9 Reserved, must be kept at reset value.

Bit 8 USBOEN: USBO 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 7:6 Reserved, must be kept at reset value.

Bit 5 ADC12EN: ADC1 and 2 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 4:3 Reserved, must be kept at reset value.

Bit 2 DMAMUXEN: DMAMUX 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 DMA2EN: DMA2 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 DMA1EN: DMA1 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.7.149 RCC AHB2 peripheral enable for MPU clear register (RCC_MP_AHB2ENCLRR)

Address offset: 0xA1C

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MPU. Writing '0' has no effect, reading will return 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.SDMMC3EN
rc_w1
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.USBOENRes.Res.ADC12ENRes.Res.DMAMUXENDMA2ENDMA1EN
rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 16 SDMMC3EN: SDMMC3 and SDMMC3 delay (DLYBSD3) block 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:9 Reserved, must be kept at reset value.

Bit 8 USBOEN: USBO 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:6 Reserved, must be kept at reset value.

Bit 5 ADC12EN: ADC1 and 2 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 4:3 Reserved, must be kept at reset value.

Bit 2 DMAMUXEN: DMAMUX 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 DMA2EN: DMA2 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 DMA1EN: DMA1 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.7.150 RCC AHB2 peripheral enable for MCU clear register (RCC_MC_AHB2ENCLRR)

Address offset: 0xA9C

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MCU. Writing '0' has no effect, reading will return 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.SDMMC3EN
rc_w1
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.USBOENRes.Res.ADC12ENRes.Res.DMAMUXENDMA2ENDMA1EN
rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 16 SDMMC3EN: SDMMC3 and SDMMC3 delay (DLYBSD3) block 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:9 Reserved, must be kept at reset value.

Bit 8 USBOEN: USBO 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:6 Reserved, must be kept at reset value.

Bit 5 ADC12EN: ADC1 and 2 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 4:3 Reserved, must be kept at reset value.

Bit 2 DMAMUXEN: DMAMUX 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 DMA2EN: DMA2 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 DMA1EN: DMA1 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.7.151 RCC AHB3 peripheral enable for MPU set register (RCC_MP_AHB3ENSETR)

Address offset: 0xA20

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MPU. Writing '0' has no effect, reading will return 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.IPCCENHSEMENRes.Res.Res.CRC2ENRNG2ENHASH2ENCRYP2ENRes.Res.Res.DCMIEN
rsrsrsrsrsrsrs

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

Bit 12 IPCCEN: IPCC 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 11 HSEMEN: HSEM 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 10:8 Reserved, must be kept at reset value.

Bit 7 CRC2EN: CRC2 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 RNG2EN: RNG2 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 HASH2EN: HASH2 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 CRYP2EN: CRYP2 (3DES/AES2) 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 3:1 Reserved, must be kept at reset value.

Bit 0 DCMIEN: DCMI 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.7.152 RCC AHB3 peripheral enable for MCU set register (RCC_MC_AHB3ENSETR)

Address offset: 0xAA0

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MCU. Writing '0' has no effect, reading will return 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.IPCCENHSEMENRes.Res.Res.CRC2ENRNG2ENHASH2ENCRYP2ENRes.Res.Res.DCMIEN
rsrsrsrsrsrsrs

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

Bit 12 IPCCEN: IPCC 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 11 HSEMEN: HSEM 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 10:8 Reserved, must be kept at reset value.

Bit 7 CRC2EN: CRC2 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 RNG2EN: RNG2 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 HASH2EN: HASH2 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 CRYP2EN: CRYP2 (3DES/AES2) 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 3:1 Reserved, must be kept at reset value.

Bit 0 DCMIEN: DCMI 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.7.153 RCC AHB3 peripheral enable for MPU clear register (RCC_MP_AHB3ENCLRR)

Address offset: 0xA24

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MPU. Writing '0' has no effect, reading will return 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.IPCCENHSEMENRes.Res.Res.CRC2ENRNG2ENHASH2ENCRYP2ENRes.Res.Res.DCMIEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 12 IPCCEN: IPCC peripheral clocks enable

Cleared by software.

Bit 11 HSEMEN: HSEM peripheral clocks enable

Cleared by software.

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

Bit 7 CRC2EN: CRC2 peripheral clocks enable

Cleared by software.

Bit 6 RNG2EN: RNG2 peripheral clocks enable

Cleared by software.

Bit 5 HASH2EN: HASH2 peripheral clocks enable

Cleared by software.

Bit 4 CRYP2EN: CRYP2 (3DES/AES2) 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 3:1 Reserved, must be kept at reset value.

Bit 0 DCMIEN: DCMI 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.7.154 RCC AHB3 peripheral enable for MCU clear register (RCC_MC_AHB3ENCLRR)

Address offset: 0xAA4

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MCU. Writing '0' has no effect, reading will return 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.IPCCENHSEMENRes.Res.Res.CRC2ENRNG2ENHASH2ENCRYP2ENRes.Res.Res.DCMIEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 12 IPCCEN: IPCC peripheral clocks enable

Cleared by software.

Bit 11 HSEMEN: HSEM peripheral clocks enable

Cleared by software.

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

Bit 7 CRC2EN: CRC2 peripheral clocks enable

Cleared by software.

Bit 6 RNG2EN: RNG2 peripheral clocks enable

Cleared by software.

Bit 5 HASH2EN: HASH2 peripheral clocks enable

Cleared by software.

Bit 4 CRYP2EN: CRYP2 (3DES/AES2) 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 3:1 Reserved, must be kept at reset value.

Bit 0 DCMIEN: DCMI 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.7.155 RCC AHB4 peripheral enable for MPU set register (RCC_MP_AHB4ENSETR)

Address offset: 0xA28

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MPU. Writing '0' has no effect, reading will return 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.GPIOKENGPIOJENGPIOIENGPIOHENGPIOGENGPIOFENGPIOEENGPIODENGPIOCENGPIOBENGPIOAEN
rsrsrsrsrsrsrsrsrsrsrs

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

Bit 10 GPIOKEN: GPIOK 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 9 GPIOJEN: GPIOJ 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 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.7.156 RCC AHB4 peripheral enable for MCU set register (RCC_MC_AHB4ENSETR)

Address offset: 0xAA8

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MCU. Writing '0' has no effect, reading will return 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.GPIOKENGPIOJENGPIOIENGPIOHENGPIOGENGPIOFENGPIOEENGPIODENGPIOCENGPIOBENGPIOAEN
rsrsrsrsrsrsrsrsrsrsrs

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

Bit 10 GPIOKEN: GPIOK peripheral clocks enable

Set by software.

Bit 9 GPIOJEN: GPIOJ peripheral clocks enable

Set by software.

Bit 8 GPIOIEN: GPIOI peripheral clocks enable

Set by software.

Bit 7 GPIOHEN: GPIOH peripheral clocks enable

Set by software.

Bit 6 GPIOGEN: GPIOG peripheral clocks enable

Set by software.

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.7.157 RCC AHB4 peripheral enable for MPU clear register (RCC_MP_AHB4ENCLRR)

Address offset: 0xA2C

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MPU. Writing '0' has no effect, reading will return 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.GPIOKENGPIOJENGPIOENGPIOHENGPIOGENGPIOFENGPIOEENGPIODENGPIOCENGPIOBENGPIOAEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 10 GPIOKEN: GPIOK 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 9 GPIOJEN: GPIOJ 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 8 GPIOEN: 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.7.158 RCC AHB4 peripheral enable for MCU clear register (RCC_MC_AHB4ENCLRR)

Address offset: 0xAAC

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MCU. Writing '0' has no effect, reading will return 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.GPIOKENGPIOJENGPIOIENGPIOHENGPIOGENGPIOFENGPIOEENGPIODENGPIOCENGPIOBENGPIOAEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 10 GPIOKEN: GPIOK 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 9 GPIOJEN: GPIOJ 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 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.7.159 RCC AXI peripheral enable for MCU set register (RCC_MC_AXIMENSETR)

Address offset: 0xAB0

Reset value: 0x0000 0000

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MCU. Writing '0' has no effect, reading will return 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.SYSRAMEN
rs

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

Bit 0 SYSRAMEN: SYSRAM peripheral clocks enable

Set by software.

When set, this bit indicates that the SYSRAM is allocated by the MCU. It causes the system to maintain the access to this memory according also to the MCU operation modes.

0: Writing '0' has no effect, reading '0' means that the memory is not allocated by the MCU

1: Writing '1' allocates the memory to the MCU, reading '1' means that the memory is allocated to the MCU.

10.7.160 RCC AXI peripheral enable for MCU clear register
(RCC_MC_AXIMENCLRR)

Address offset: 0xAB4

Reset value: 0x0000 0000

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MCU. Writing '0' has no effect, reading will return 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.SYSRAMEN
rc_w1

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

Bit 0 SYSRAMEN: SYSRAM peripheral clocks enable

Cleared by software.

When set, this bit indicates that the SYSRAM is allocated by the MCU. It causes the system to maintain the access to this memory according also to the MCU operation modes.

0: Writing '0' has no effect, reading '0' means that the memory is not allocated by the MCU

1: Writing '1' deallocates the memory to the MCU, reading '1' means that the memory is allocated to the MCU.

10.7.161 RCC MLAHB peripheral enable for MCU set register (RCC_MC_MLAHBENSETR)

Address offset: 0xAB8

Reset value: 0x0000 0010

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MCU. Writing '0' has no effect, reading will return 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.RETRAMENRes.Res.Res.Res.
rs

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

Bit 4 RETRAMEN: RETRAM peripheral clocks enable

Set by software.

When set, this bit indicates that the RETRAM is allocated by the MCU. It causes the system to maintain the access to this memory also according to the MCU operation modes.

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

10.7.162 RCC MLAHB peripheral enable for MCU clear register (RCC_MC_MLAHBENCLRR)

Address offset: 0xABC

Reset value: 0x0000 0010

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MCU. Writing '0' has no effect, reading will return 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.RETRAMENRes.Res.Res.Res.
rc_w1

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

Bit 4 RETRAMEN: RETRAM peripheral clocks enable

Cleared by software.

When set, this bit indicates that the RETRAM is allocated by the MCU. It causes the system to maintain the access to this memory also according to the MCU operation modes.

0: Writing '0' has no effect, reading '0' means that the memory is not allocated by the MCU

1: Writing '1' deallocates the memory to the MCU, reading '1' means that the memory is allocated to the MCU.

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

10.7.163 RCC MLAHB peripheral enable for MPU set register (RCC_MP_MLAHBENSETR)

Address offset: 0xA38

Reset value: 0x0000 0010

This register is used to set the peripheral clock enable bit of the corresponding peripheral to '1'. It shall be used to allocate a peripheral to the MPU. Writing '0' has no effect, reading will return 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.RETRAMENRes.Res.Res.Res.
rs

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

Bit 4 RETRAMEN: RETRAM peripheral clocks enable

Set by software.

When set, this bit indicates that the RETRAM is allocated by the MPU. It causes the system to maintain the access to this memory also according to the MPU operation modes.

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

10.7.164 RCC MLAHB peripheral enable for MPU clear register (RCC_MP_MLAHBENCLRR)

Address offset: 0xA3C

Reset value: 0x0000 0010

This register is used to clear the peripheral clock enable bit of the corresponding peripheral. It shall be used to deallocate a peripheral from MPU. Writing '0' has no effect, reading will return 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.RETRAMENRes.Res.Res.Res.
rc_w1

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

Bit 4 RETRAMEN: RETRAM peripheral clocks enable

Cleared by software.

When set, this bit indicates that the RETRAM is allocated by the MPU. It causes the system to maintain the access to this memory also according to the MPU operation modes.

0: Writing '0' has no effect, reading '0' means that the memory is not allocated by the MPU

1: Writing '1' deallocates the memory to the MPU, reading '1' means that the memory is allocated to the MPU.

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

10.7.165 RCC APB1 sleep clock enable for MPU set register (RCC_MP_APB1LPENSETR)

Address offset: 0xB00

Reset value: 0xADEF DBFF

This register is used by the MPU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
MDIOSLPENRes.DAC12LPENRes.CECLPENSPDIFLPENRes.I2C5LPENI2C3LPENI2C2LPENI2C1LPENRes.UART8LPENUART7LPENUART5LPENUART4LPEN
rsrsrsrsrsrsrsrsrsrsrsrs
1514131211109876543210
USART3LPENUSART2LPENRes.SPI3LPENSPI2LPENRes.LPTIM1LPENTIM14LPENTIM13LPENTIM12LPENTIM7LPENTIM6LPENTIM5LPENTIM4LPENTIM3LPENTIM2LPEN
rsrsrsrsrsrsrsrsrsrsrsrsrsrs

Bit 31 MDIOSLPEN: MDIOS 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 30 Reserved, must be kept at reset value.

Bit 29 DAC12LPEN: DAC1 and 2 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 28 Reserved, must be kept at reset value.

Bit 27 CECLPEN: HDMI-CEC 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 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

10.7.166 RCC APB1 sleep clock enable for MCU set register
(RCC_MC_APB1LPENSETR)

Address offset: 0xB80

Reset value: 0xBDEF DBFF

This register is used by the MCU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
MDIOSLPENRes.DAC12LPENWWDG1LPENCECLPENSPDIFLPENRes.I2C5LPENI2C3LPENI2C2LPENI2C1LPENRes.UART8LPENUART7LPENUART5LPENUART4LPEN
rsrsrsrsrsrsrsrsrsrsrsrsrs
1514131211109876543210
USART3LPENUSART2LPENRes.SPI3LPENSPI2LPENRes.LPTIM1LPENTIM14LPENTIM13LPENTIM12LPENTIM7LPENTIM6LPENTIM5LPENTIM4LPENTIM3LPENTIM2LPEN
rsrsrsrsrsrsrsrsrsrsrsrsrsrs

Bit 31 MDIOSLPEN: MDIOS 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 30 Reserved, must be kept at reset value.

Bit 29 DAC12LPEN: DAC1 and 2 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 28 WWDG1LPEN: WWDG1 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 27 CECLPEN: HDMI-CEC 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.7.167 RCC APB1 sleep clock enable MPU clear register (RCC_MP_APB1LPENCLRR)

Address offset: 0xB04

Reset value: 0xADEF DBFF

This register is used by the MPU in order to clear the PERxLPEN bits of the corresponding peripherals located into the APB1 bus. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
MDIOSLPENRes.DAC12LPENRes.CECLPENSPDIFLPENRes.I2C5LPENI2C3LPENI2C2LPENI2C1LPENRes.UART8LPENUART7LPENUART5LPENUART4LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
USART3LPENUSART2LPENRes.SPI3LPENSPI2LPENRes.LPTIM1LPENTIM14LPENTIM13LPENTIM12LPENTIM7LPENTIM6LPENTIM5LPENTIM4LPENTIM3LPENTIM2LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

Bit 31 MDIOSLPEN: MDIOS 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 30 Reserved, must be kept at reset value.

Bit 29 DAC12LPEN: DAC1 and 2 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 28 Reserved, must be kept at reset value.

Bit 27 CECLPEN: HDMI-CEC 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 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

10.7.168 RCC APB1 sleep clock enable MCU clear register (RCC_MC_APB1LPENCLRR)

Address offset: 0xB84

Reset value: 0xBDEF DBFF

This register is used by the MCU in order to clear the PERxLPEN bits of the corresponding peripherals located into the APB1 bus. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '0'.

31302928272625242322212019181716
MDIOSLPENRes.DAC12LPENWWDG1LPENCECLPENSPDIFLPENRes.I2C5LPENI2C3LPENI2C2LPENI2C1LPENRes.UART8LPENUART7LPENUART5LPENUART4LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
USART3LPENUSART2LPENRes.SPI3LPENSPI2LPENRes.LPTIM1LPENTIM14LPENTIM13LPENTIM12LPENTIM7LPENTIM6LPENTIM5LPENTIM4LPENTIM3LPENTIM2LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

Bit 31 MDIOSLPEN: MDIOS 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 30 Reserved, must be kept at reset value.

Bit 29 DAC12LPEN: DAC1 and 2 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 28 WWDG1LPEN: WWDG1 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 27 CECLPEN: HDMI-CEC 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.7.169 RCC APB2 sleep clock enable for MPU set register (RCC_MP_APB2LPENSETR)

Address offset: 0xB08

Reset value: 0x0137 271F

This register is used by the MPU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.ADFSMDLPENDFSDMLPENRes.SAI3LPENSAI2LPENSAI1LPEN
rsrsrsrsrsrs
1514131211109876543210
Res.Res.USART6LPENRes.Res.SPI5LPENSPI4LPENSPI1LPENRes.Res.Res.TIM17LPENTIM16LPENTIM15LPENTIM8LPENTIM1LPEN
rsrsrsrsrsrsrsrsrs

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

Bit 19 Reserved, must be kept at reset value.

10.7.170 RCC APB2 sleep clock enable for MCU set register (RCC_MC_APB2LPENSETR)

Address offset: 0xB88

Reset value: 0x0137 271F

This register is used by the MCU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.ADFSMDLPENDFSDMLPENRes.SAI3LPENSAI2LPENSAI1LPEN
rsrsrsrsrsrs
1514131211109876543210
Res.Res.USART6LPENRes.Res.SPI5LPENSPI4LPENSPI1LPENRes.Res.Res.TIM17LPENTIM16LPENTIM15LPENTIM8LPENTIM1LPEN
rsrsrsrsrsrsrsrsrs

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

Bit 19 Reserved, must be kept at reset value.

10.7.171 RCC APB2 sleep clock enable for MPU clear register (RCC_MP_APB2LPENCLRR)

Address offset: 0xB0C

Reset value: 0x0137 271F

This register is used by the MPU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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.SAI3LPENSAI2LPENSAI1LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.Res.USART6LPENRes.Res.SPI5LPENSPI4LPENSPI1LPENRes.Res.Res.TIM17LPENTIM16LPENTIM15LPENTIM8LPENTIM1LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_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

Bit 19 Reserved, must be kept at reset value.

10.7.172 RCC APB2 sleep clock enable for MCU clear register (RCC_MC_APB2LPENCLRR)

Address offset: 0xB8C

Reset value: 0x0137 271F

This register is used by the MCU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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.ADFSMDLPENDFSDMLPENRes.SAI3LPENSAI2LPENSAI1LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.Res.USART6LPENRes.Res.SPI5LPENSPI4LPENSPI1LPENRes.Res.Res.TIM17LPENTIM16LPENTIM15LPENTIM8LPENTIM1LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_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 ADFSMDLPEN: 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

Bit 19 Reserved, must be kept at reset value.

10.7.173 RCC APB3 sleep clock enable for MPU set register (RCC_MP_APB3LPENSETR)

Address offset: 0xB10

Reset value: 0x0003 290F

This register is used by the MPU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.SYSCFGLPENRes.Res.SAI4LPENRes.Res.Res.Res.LPTIM5LPENLPTIM4LPENLPTIM3LPENLPTIM2LPEN
rsrsrsrsrsrsrs

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

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 12 Reserved, must be kept at reset value.

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

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

Bit 8 SAI4LPEN: SAI4 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 7: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

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

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.7.174 RCC APB3 sleep clock enable for MCU set register
(RCC_MC_APB3LPENSETR)

Address offset: 0xB90

Reset value: 0x0003 290F

This register is used by the MCU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.SYSCFGLPENRes.Res.SAI4LPENRes.Res.Res.Res.LPTIM5LPENLPTIM4LPENLPTIM3LPENLPTIM2LPEN
rsrsrsrsrsrsrs

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

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 12 Reserved, must be kept at reset value.

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

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

Bit 8 SAI4LPEN: SAI4 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 7: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

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

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.7.175 RCC APB3 sleep clock enable for MPU clear register (RCC_MP_APB3LPENCLRR)

Address offset: 0xB14

Reset value: 0x0003 290F

This register is used by the MPU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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
rc_w1
1514131211109876543210
Res.Res.VREFLPENRes.SYSCFGLPENRes.Res.SAI4LPENRes.Res.Res.Res.LPTIM5LPENLPTIM4LPENLPTIM3LPENLPTIM2LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

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 12 Reserved, must be kept at reset value.

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

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

Bit 8 SAI4LPEN: SAI4 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 7: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

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

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.7.176 RCC APB3 sleep clock enable for MCU clear register (RCC_MC_APB3LPENCLRR)

Address offset: 0xB94

Reset value: 0x0003 290F

This register is used by the MCU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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
rc_w1
1514131211109876543210
Res.Res.VREFLPENRes.SYSCFGLPENRes.Res.SAI4LPENRes.Res.Res.Res.LPTIM5LPENLPTIM4LPENLPTIM3LPENLPTIM2LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

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 12 Reserved, must be kept at reset value.

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

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

Bit 8 SAI4LPEN: SAI4 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 7: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

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

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.7.177 RCC APB4 sleep clock enable for MCU set register (RCC_MC_APB4LPENSETR)

Address offset: 0x380

Reset value: 0x0011 0111

This register is used by the MCU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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
Res.Res.Res.Res.Res.Res.Res.DDRPERFMLPENRes.Res.Res.DSILPENRes.Res.Res.LTDCLPEN
rsrsrs

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

Bit 21 STGENROSTPEN: STGEN Read-Only Interface, clock enable during CStop mode
Set by software.
0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CStop
1: Writing '1' enables the peripheral clocks in CStop, reading '1' means that the peripheral clocks are enabled in CStop

Bit 20 STGENROLPEN: STGEN Read-Only Interface 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:17 Reserved, must be kept at reset value.

Bit 16 USBPHYLPEN: USBPHYC 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:9 Reserved, must be kept at reset value.

Bit 8 DDRPERFMLPEN: DDRPERFM APB clock enable during CSleep mode
Set by software.
0: Writing '0' has no effect, reading '0' means that the APB clock is disabled in CSleep
1: Writing '1' enables the APB clock in CSleep, reading '1' means that the APB clock is enabled in CSleep

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

Bit 4 DSILPEN: DSI 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 3: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 in CSleep

10.7.178 RCC APB4 sleep clock enable for MPU set register (RCC_MP_APB4LPENSETR)

Address offset: 0x300

Reset value: 0x0011 8111

This register is used by the MPU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.DSILPENRes.Res.Res.LTDCLPEN
rsrsrsrs

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

Bit 21 STGENROSTPEN: STGEN Read-Only Interface, clock enable during CStop mode
Set by software.
0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CStop
1: Writing '1' enables the peripheral clocks in CStop, reading '1' means that the peripheral clocks are enabled in CStop

Bit 20 STGENROLPEN: STGEN Read-Only Interface 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:17 Reserved, must be kept at reset value.

Bit 16 USBPHYLPEN: USBPHYC 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 15 IWDG2APBLPEN: IWDG2 APB clock enable during CSleep mode
Set by software.
0: Writing '0' has no effect, reading '0' means that the APB clock is disabled in CSleep
1: Writing '1' enables the APB clock in CSleep, reading '1' means that the APB clock is enabled in CSleep

ST logo
ST logo

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

Bit 8 DDRPERFMLPEN: DDRPERFM APB clock enable during CSleep mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the APB clock is disabled in CSleep

1: Writing '1' enables the APB clock in CSleep, reading '1' means that the APB clock is enabled in CSleep

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

Bit 4 DSILPEN: DSI 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 3: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 in CSleep

10.7.179 RCC APB4 sleep clock enable for MCU clear register (RCC_MC_APB4LPENCLRR)

Address offset: 0x384

Reset value: 0x0011 0111

This register is used by the MCU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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
rc_w1rc_w1rc_w1
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.DDRPERFMLPENRes.Res.Res.DSILPENRes.Res.Res.LTDCLPEN
rc_w1rc_w1rc_w1

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

Bit 21 STGENROSTPEN: STGEN Read-Only Interface clock enable during CStop mode
Cleared by software.
0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CStop
1: Writing '1' disables the clock in CStop, reading '1' means that the clock are enabled in CStop

Bit 20 STGENROLPEN: STGEN Read-Only Interface 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:17 Reserved, must be kept at reset value.

Bit 16 USBPHYLPEN: USBPHYC 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:9 Reserved, must be kept at reset value.

ST logo
ST logo

Bit 8 DDRPERFMLPEN: DDRPERFM APB clock enable during CSleep mode

Set 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

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

Bit 4 DSILPEN: DSI 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 3: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 in CSleep

10.7.180 RCC APB4 sleep clock enable for MPU clear register (RCC_MP_APB4LPENCLRR)

Address offset: 0x304

Reset value: 0x0011 8111

This register is used by the MPU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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
rc_w1rc_w1rc_w1
1514131211109876543210
IWDG2APBLPENRes.Res.Res.Res.Res.Res.DDRPERFMLPENRes.Res.Res.DSILPENRes.Res.Res.LTDCLPEN
rc_w1rc_w1rc_w1rc_w1

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

Bit 21 STGENROSTPEN: STGEN Read-Only Interface clock enable during CStop mode
Cleared by software.
0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CStop
1: Writing '1' disables the clock in CStop, reading '1' means that the clock are enabled in CStop

Bit 20 STGENROLPEN: STGEN Read-Only Interface 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:17 Reserved, must be kept at reset value.

Bit 16 USBPHYLPEN: USBPHYC 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 15 IWDG2APBLPEN: IWDG2 APB clock enable during CSleep mode
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

ST logo
ST logo

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

Bit 8 DDRPERFMLPEN: DDRPERFM APB clock enable during CSleep mode

Set 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

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

Bit 4 DSILPEN: DSI 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 3: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 in CSleep

10.7.181 RCC APB5 sleep clock enable for MCU set register
(RCC_MC_APB5LPENSETR)

Address offset: 0x388

Reset value: 0x0011 391D

This register is used by the MCU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.STGENSTPENSTGENLPENRes.Res.Res.BSECLPEN
rsrsrs
1514131211109876543210
Res.Res.TZPCLPENTZC2LPENTZC1LPENRes.Res.RTCAPBLPENRes.Res.Res.USART1LPENI2C6LPENI2C4LPENRes.SPI6LPEN
rsrsrsrsrsrsrsrs

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

Bit 21 STGENSTPEN: STGEN Controller part, peripheral clocks enable during CStop mode

Set by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CStop

1: Writing '1' enables the peripheral clocks in CStop, reading '1' means that the peripheral clocks are enabled in CStop

Bit 20 STGENLPEN: STGEN Controller part, 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:17 Reserved, must be kept at reset value.

Bit 16 BSECLPEN: BSEC 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 TZPCLPEN: TZPC 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.7.182 RCC APB5 sleep clock enable for MPU set register (RCC_MP_APB5LPENSETR)

Address offset: 0x308

Reset value: 0x0011 B91D

This register is used by the MPU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'. If TZEN = '1', this register can only be modified in secure mode.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENSTPENSTGENLPENRes.Res.Res.BSECLPEN
rsrsrs
1514131211109876543210
IWDG1APBLPENRes.TZPCLPENTZC2LPENTZC1LPENRes.Res.RTCAPBLPENRes.Res.Res.USART1LPENI2C6LPENI2C4LPENRes.SPI6LPEN
rsrsrsrsrsrsrsrsrs

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

Bit 21 STGENSTPEN: STGEN Controller part, peripheral clocks enable during CStop mode
Set by software.
0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CStop
1: Writing '1' enables the peripheral clocks in CStop, reading '1' means that the peripheral clocks are enabled in CStop

Bit 20 STGENLPEN: STGEN Controller part, 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:17 Reserved, must be kept at reset value.

Bit 16 BSECLPEN: BSEC 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 15 IWDG1APBLPEN: IWDG1 APB clock enable during CSleep mode
Set by software.
0: Writing '0' has no effect, reading '0' means that the APB clock is disabled in CSleep
1: Writing '1' enables the APB clock in CSleep, reading '1' means that the APB clock is enabled in CSleep

ST logo
ST logo

Bit 2 I2C4LPEN: I2C4 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 Reserved, must be kept at reset value.

Bit 0 SPI6LPEN: SPI6 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.7.183 RCC APB5 sleep clock enable for MCU clear register (RCC_MC_APB5LPENCLRR)

Address offset: 0x38C

Reset value: 0x0011 391D

This register is used by the MCU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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.STGENSTPENSTGENLPENRes.Res.Res.BSECLPEN
rc_w1rc_w1rc_w1
1514131211109876543210
Res.Res.TZPCLPENTZC2LPENTZC1LPENRes.Res.RTCAPBLPENRes.Res.Res.USART1LPENI2C6LPENI2C4LPENRes.SPI6LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 21 STGENSTPEN: STGEN peripheral clocks enable during CStop mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CStop

1: Writing '1' disables the peripheral clocks in CStop, reading '1' means that the peripheral clocks are enabled in CStop

Bit 20 STGENLPEN: STGEN 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:17 Reserved, must be kept at reset value.

Bit 16 BSECLPEN: BSEC 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 TZPCLPEN: TZPC 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.7.184 RCC APB5 sleep clock enable for MPU clear register (RCC_MP_APB5LPENCLRR)

Address offset: 0x30C

Reset value: 0x0011 B91D

This register is used by the MPU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'. If TZEN = '1', this register can only be modified in secure mode.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.STGENSTPENSTGENLPENRes.Res.Res.BSECLPEN
rc_w1rc_w1rc_w1
1514131211109876543210
IWDG1APBLPENRes.TZPCLPENTZC2LPENTZC1LPENRes.Res.RTCAPBLPENRes.Res.Res.USART1LPENI2C6LPENI2C4LPENRes.SPI6LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 21 STGENSTPEN: STGEN peripheral clocks enable during CStop mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the peripheral clocks are disabled in CStop

1: Writing '1' disables the peripheral clocks in CStop, reading '1' means that the peripheral clocks are enabled in CStop

Bit 20 STGENLPEN: STGEN 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:17 Reserved, must be kept at reset value.

Bit 16 BSECLPEN: BSEC 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 15 IWDG1APBLPEN: IWDG1 APB clock enable during CSleep mode

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 2 I2C4LPEN: I2C4 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 Reserved, must be kept at reset value.

Bit 0 SPI6LPEN: SPI6 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.7.185 RCC AHB5 peripheral enable for MPU set register (RCC_MP_AHB5LPENSETR)

Address offset: 0x310

Reset value: 0x0000 0171

This register is used by the MPU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'. If TZEN = '1', this register can only be modified in secure mode.

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.RNG1LPENHASH1LPENCRYP1LPENRes.Res.Res.GPIOZLPEN
rsrsrsrsrs

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

Bit 8 BKPSRAMLPEN: BKPSRAM clock enable during CSleep mode

Set by software.

Bit 7 Reserved, must be kept at reset value.

Bit 6 RNG1LPEN: RNG1 peripheral clocks enable during CSleep mode

Set by software.

Bit 5 HASH1LPEN: HASH1 peripheral clocks enable during CSleep mode

Set by software.

Bit 4 CRYP1LPEN: CRYP1 (3DES/AES1) 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 3:1 Reserved, must be kept at reset value.

Bit 0 GPIOLPEN: GPIOZ Secure 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.7.186 RCC AHB5 peripheral enable for MCU set register (RCC_MC_AHB5LPENSETR)

Address offset: 0x390

Reset value: 0x0000 0171

This register is used by the MCU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.RNG1LPENHASH1LPENCRYPT1LPENRes.Res.Res.GPIOZLPEN
rsrsrsrsrs

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

Bit 8 BKPSRAMLPEN: BKPSRAM clock enable during CSleep mode

Set by software.

Bit 7 Reserved, must be kept at reset value.

Bit 6 RNG1LPEN: RNG1 peripheral clocks enable during CSleep mode

Set by software.

Bit 5 HASH1LPEN: HASH1 peripheral clocks enable during CSleep mode

Set by software.

Bit 4 CRYP1LPEN: CRYP1 (3DES/AES1) 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 3:1 Reserved, must be kept at reset value.

Bit 0 GPIOLPEN: GPIOZ Secure 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.7.187 RCC AHB5 sleep clock enable for MPU clear register (RCC_MP_AHB5LPENCLRR)

Address offset: 0x314

Reset value: 0x0000 0171

This register is used by the MPU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'. If TZEN = '1', this register can only be modified in secure mode.

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.RNG1LPENHASH1LPENCRYP1LPENRes.Res.Res.GPIOZLPEN
rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 8 BKPSRAMLPEN: BKPSRAM clock enable during CSleep mode

Cleared by software.

Bit 7 Reserved, must be kept at reset value.

Bit 6 RNG1LPEN: RNG1 peripheral clocks enable during CSleep mode

Cleared by software.

Bit 5 HASH1LPEN: HASH1 peripheral clocks enable during CSleep mode

Cleared by software.

Bit 4 CRYP1LPEN: CRYP1 (3DES/AES1) 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 3:1 Reserved, must be kept at reset value.

Bit 0 GPIOLPEN: GPIOZ Secure 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.7.188 RCC AHB5 sleep clock enable for MCU clear register (RCC_MC_AHB5LPENCLRR)

Address offset: 0x394

Reset value: 0x0000 0171

This register is used by the MCU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'. If TZEN = '1', this register can only be modified in secure mode.

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.RNG1LPENHASH1LPENCRYP1LPENRes.Res.Res.GPIOZLPEN
rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 8 BKPSRAMLPEN: BKPSRAM clock enable during CSleep mode

Cleared by software.

0: Writing '0' has no effect, reading '0' means that the clock is disabled in CSleep

1: Writing '1' disables the clock in CSleep, reading '1' means that the clock is enabled in CSleep

Bit 7 Reserved, must be kept at reset value.

Bit 6 RNG1LPEN: RNG1 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 HASH1LPEN: HASH1 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 CRYP1LPEN: CRYP1 (3DES/AES1) 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 3:1 Reserved, must be kept at reset value.

Bit 0 GPIOLPEN: GPIOZ Secure 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.7.189 RCC AHB6 sleep clock enable for MPU set register (RCC_MP_AHB6LPENSETR)

Address offset: 0x318

Reset value: 0x0113 57A1

This register is used by the MPU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.USBHLPENRes.Res.Res.CRC1LPENRes.Res.SDMMC2LPENSDMMC1LPEN
rsrsrsrs
1514131211109876543210
Res.QSPILPENRes.FMCLPENETHSTPENETHMACLPENETHRXLPENETHTXLPENETHCKLPENRes.GPULPENRes.Res.Res.Res.MDMALPEN
rsrsrsrsrsrsrsrsrs

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

Bit 24 USBHLPEN: USBH 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:21 Reserved, must be kept at reset value.

Bit 20 CRC1LPEN: CRC1 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.

Bit 17 SDMMC2LPEN: SDMMC2 and SDMMC2 delay (DLYBSD2) block 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.7.190 RCC AHB6 sleep clock enable for MCU set register (RCC_MC_AHB6LPENSETR)

Address offset: 0x398

Reset value: 0x0113 57A1

This register is used by the MCU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.USBHLPENRes.Res.Res.CRC1LPENRes.Res.SDMMC2LPENSDMMC1LPEN
rsrsrsrs
1514131211109876543210
Res.QSPILPENRes.FMCLPENETHSTPENETHMACLPENETHRXLPENETHTXLPENETHCKLPENRes.GPULPENRes.Res.Res.Res.MDMALPEN
rsrsrsrsrsrsrsrsrs

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

Bit 24 USBHLPEN: USBH 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:21 Reserved, must be kept at reset value.

Bit 20 CRC1LPEN: CRC1 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.

Bit 17 SDMMC2LPEN: SDMMC2 and SDMMC2 delay (DLYBSD2) block 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.7.191 RCC AHB6 sleep clock enable for MPU clear register (RCC_MP_AHB6LPENCLRR)

Address offset: 0x31C

Reset value: 0x0113 57A1

This register is used by the MPU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.USBHLPENRes.Res.Res.CRC1LPENRes.Res.SDMMC2LPENSDMMC1LPEN
rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.QSPILPENRes.FMCLPENETHSTPENETHMACLPENETHRXLPENETHTXLPENETHCKLPENRes.GPULPENRes.Res.Res.Res.MDMALPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 24 USBHLPEN: USBH 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:21 Reserved, must be kept at reset value.

Bit 20 CRC1LPEN: CRC1 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.

Bit 17 SDMMC2LPEN: SDMMC2 and SDMMC2 delay (DLYBSD2) block 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.7.192 RCC AHB6 sleep clock enable for MCU clear register (RCC_MC_AHB6LPENCLRR)

Address offset: 0x39C

Reset value: 0x0113 57A1

This register is used by the MCU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.USBHLPENRes.Res.Res.CRC1LPENRes.Res.SDMMC2LPENSDMMC1LPEN
rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.QSPILPENRes.FMCLPENETHSTPENETHMACLPENETHRXLPENETHTXLPENETHCKLPENRes.GPULPENRes.Res.Res.Res.MDMALPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 24 USBHLPEN: USBH 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:21 Reserved, must be kept at reset value.

Bit 20 CRC1LPEN: CRC1 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.

Bit 17 SDMMC2LPEN: SDMMC2 and SDMMC2 delay (DLYBSD2) block 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.7.193 RCC AHB6 secure sleep clock enable for MPU set register (RCC_MP_TZAHB6LPENSETR)

Address offset: 0x320

Reset value: 0x0000 0001

This register is used by the MPU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'. If TZEN = '1', this register can only be modified in secure mode.

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.

Note that this bit is “ORed” with the MDMALPEN bits of RCC_MP_AHB6LPENSETR/CLRR and RCC_MC_AHB6LPENSETR/CLRR registers.

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.7.194 RCC AHB6 secure sleep clock enable for MPU clear register (RCC_MP_TZAHB6LPENCLRR)

Address offset: 0x324

Reset value: 0x0000 0001

This register is used by the MPU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'. If TZEN = '1', this register can only be modified in secure mode.

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.

Note that this bit is “ORed” with the MDMALPEN bits of RCC_MP_AHB6LPENSETR/CLRR and RCC_MC_AHB6LPENSETR/CLRR registers.

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.7.195 RCC AHB2 sleep clock enable for MPU set register
(RCC_MP_AHB2LPENSETR)

Address offset: 0xB18

Reset value: 0x0001 0127

This register is used by the MPU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.SDMMC3LPEN
rs
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.USBOLPENRes.Res.ADC12LPENRes.Res.DMAMUXLPENDMA2LPENDMA1LPEN
rsrsrsrsrs

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

Bit 16 SDMMC3LPEN: SDMMC3 and SDMMC3 delay (DLYBSD3) block 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:9 Reserved, must be kept at reset value.

Bit 8 USBOLPEN: USBO 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 7:6 Reserved, must be kept at reset value.

Bit 5 ADC12LPEN: ADC1 and 2 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 4:3 Reserved, must be kept at reset value.

Bit 2 DMAMUXLPEN: DMAMUX 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 DMA2LPEN: DMA2 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 DMA1LPEN: DMA1 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.7.196 RCC AHB2 sleep clock enable for MCU set register (RCC_MC_AHB2LPENSETR)

Address offset: 0xB98

Reset value: 0x0001 0127

This register is used by the MCU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.SDMMC3LPEN
rs
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.USBOLPENRes.Res.ADC12LPENRes.Res.DMAMUXLPENDMA2LPENDMA1LPEN
rsrsrsrsrs

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

Bit 16 SDMMC3LPEN: SDMMC3 and SDMMC3 delay (DLYBSD3) block 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:9 Reserved, must be kept at reset value.

Bit 8 USBOLPEN: USBO 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 7:6 Reserved, must be kept at reset value.

Bit 5 ADC12LPEN: ADC1 and 2 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 4:3 Reserved, must be kept at reset value.

ST logo
ST logo

Bit 2 DMAMUXLPEN: DMAMUX 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 DMA2LPEN: DMA2 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 DMA1LPEN: DMA1 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.7.197 RCC AHB2 sleep clock enable for MPU clear register (RCC_MP_AHB2LPENCLRR)

Address offset: 0xB1C

Reset value: 0x0001 0127

This register is used by the MPU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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.SDMMC3LPEN
rc_w1
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.USBOLPENRes.Res.ADC12LPENRes.Res.DMAMUXLPENDMA2LPENDMA1LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 16 SDMMC3LPEN: SDMMC3 and SDMMC3 delay (DLYBSD3) block 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:9 Reserved, must be kept at reset value.

Bit 8 USBOLPEN: USB0 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 7:6 Reserved, must be kept at reset value.

Bit 5 ADC12LPEN: ADC1 and 2 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 4:3 Reserved, must be kept at reset value.

Bit 2 DMAMUXLPEN: DMAMUX 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 DMA2LPEN: DMA2 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 DMA1LPEN: DMA1 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.7.198 RCC AHB2 sleep clock enable for MCU clear register (RCC_MC_AHB2LPENCLRR)

Address offset: 0xB9C

Reset value: 0x0001 0127

This register is used by the MCU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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.SDMMC3LPEN
rc_w1
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.USBOLPENRes.Res.ADC12LPENRes.Res.DMAMUXLPENDMA2LPENDMA1LPEN
rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 16 SDMMC3LPEN: SDMMC3 and SDMMC3 delay (DLYBSD3) block 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:9 Reserved, must be kept at reset value.

Bit 8 USBOLPEN: USB0 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 7:6 Reserved, must be kept at reset value.

Bit 5 ADC12LPEN: ADC1 and 2 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 4:3 Reserved, must be kept at reset value.

Bit 2 DMAMUXLPEN: DMAMUX 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 DMA2LPEN: DMA2 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 DMA1LPEN: DMA1 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.7.199 RCC AHB3 sleep clock enable for MPU set register (RCC_MP_AHB3LPENSETR)

Address offset: 0xB20

Reset value: 0x0000 18F1

This register is used by the MPU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.IPCCLPENHSEMLPENRes.Res.Res.CRC2LPENRNG2LPENHASH2LPENCRYP2LPENRes.Res.Res.DCMILPEN
rsrsrsrsrsrsrs

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

Bit 12 IPCCLPEN: IPCC 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 11 HSEMLPEN: HSEM 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 10:8 Reserved, must be kept at reset value.

Bit 7 CRC2LPEN: CRC2 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 RNG2LPEN: RNG2 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 HASH2LPEN: HASH2 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 CRYP2LPEN: CRYP2 (3DES/AES2) 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 3:1 Reserved, must be kept at reset value.

Bit 0 DCMILPEN: DCMI 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.7.200 RCC AHB3 sleep clock enable for MCU set register (RCC_MC_AHB3LPENSETR)

Address offset: 0xBA0

Reset value: 0x0000 18F1

This register is used by the MCU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.IPCCLPENHSEMLPENRes.Res.Res.CRC2LPENRNG2LPENHASH2LPENCRYP2LPENRes.Res.Res.DCMILPEN
rsrsrsrsrsrsrs

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

Bit 12 IPCCLPEN: IPCC 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 11 HSEMLPEN: HSEM 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 10:8 Reserved, must be kept at reset value.

Bit 7 CRC2LPEN: CRC2 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 RNG2LPEN: RNG2 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 HASH2LPEN: HASH2 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 CRYP2LPEN: CRYP2 (3DES/AES2) 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 3:1 Reserved, must be kept at reset value.

Bit 0 DCMILPEN: DCMI 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.7.201 RCC AHB3 sleep clock enable for MPU clear register (RCC_MP_AHB3LPENCLRR)

Address offset: 0xB24

Reset value: 0x0000 18F1

This register is used by the MPU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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.IPCCLPENHSEMLPENRes.Res.Res.CRC2LPENRNG2LPENHASH2LPENCRYP2LPENRes.Res.Res.DCMILPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 12 IPCCLPEN: IPCC 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 11 HSEMLPEN: HSEM 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 10:8 Reserved, must be kept at reset value.

Bit 7 CRC2LPEN: CRC2 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 RNG2LPEN: RNG2 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 HASH2LPEN: HASH2 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 CRYP2LPEN: CRYP2 (3DES/AES2) 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 3:1 Reserved, must be kept at reset value.

Bit 0 DCMILPEN: DCMI 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.7.202 RCC AHB3 sleep clock enable for MCU clear register (RCC_MC_AHB3LPENCLRR)

Address offset: 0xBA4

Reset value: 0x0000 18F1

This register is used by the MCU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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.IPCCLPENHSEMLPENRes.Res.Res.CRC2LPENRNG2LPENHASH2LPENCRYP2LPENRes.Res.Res.DCMILPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 12 IPCCLPEN: IPCC 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 11 HSEMLPEN: HSEM 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 10:8 Reserved, must be kept at reset value.

Bit 7 CRC2LPEN: CRC2 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 RNG2LPEN: RNG2 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 HASH2LPEN: HASH2 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 CRYP2LPEN: CRYP2 (3DES/AES2) 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 3:1 Reserved, must be kept at reset value.

Bit 0 DCMILPEN: DCMI 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.7.203 RCC AHB4 sleep clock enable for MPU set register (RCC_MP_AHB4LPENSETR)

Address offset: 0xB28

Reset value: 0x0000 07FF

This register is used by the MPU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.GPIOKLPENGPIOJLPENGPIOILPENGPIOHLPENGPIOGLPENGPIOFLPENGPIOELPENGPIODLPENGPIOCLPENGPIOBLPENGPIOALPEN
rsrsrsrsrsrsrsrsrsrsrs

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

Bit 10 GPIOKLPEN: GPIOK 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 9 GPIOJLPEN: GPIOJ 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 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

10.7.204 RCC AHB4 sleep clock enable for MCU set register (RCC_MC_AHB4LPENSETR)

Address offset: 0xBA8

Reset value: 0x0000 07FF

This register is used by the MCU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.GPIOKLPENGPIOJLPENGPIOLLPENGPIOHLPENGPIOGLPENGPIOFLPENGPIOELPENGPIODLPENGPIOCLPENGPIOBLPENGPIOALPEN
rsrsrsrsrsrsrsrsrsrsrs

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

Bit 10 GPIOKLPEN: GPIOK 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 9 GPIOJLPEN: GPIOJ 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 8 GPIOLLPEN: 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

10.7.205 RCC AHB4 sleep clock enable for MPU clear register (RCC_MP_AHB4LPENCLRR)

Address offset: 0xB2C

Reset value: 0x0000 07FF

This register is used by the MPU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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.GPIOKLPENGPIOJLPENGPIOILPENGPIOHLPENGPIOGLPENGPIOFLPENGPIOELPENGPIOCLPENGPIOBLPENGPIOALPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 10 GPIOKLPEN: GPIOK 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 9 GPIOJLPEN: GPIOJ 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 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

10.7.206 RCC AHB4 sleep clock enable for MCU clear register (RCC_MC_AHB4LPENCLRR)

Address offset: 0xBAC

Reset value: 0x0000 07FF

This register is used by the MCU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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.GPIOKLPENGPIOJLPENGPIOILPENGPIOHLPENGPIOGLPENGPIOFLPENGPIOELPENGPIODLPENGPIOCLPENGPIOBLPENGPIOALPEN
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 10 GPIOKLPEN: GPIOK 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 9 GPIOJLPEN: GPIOJ 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 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

10.7.207 RCC AXI sleep clock enable for MPU set register
(RCC_MP_AXIMLPENSETR)

Address offset: 0xB30

Reset value: 0x0000 0001

This register is used by the MPU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.7.208 RCC AXI sleep clock enable for MCU set register (RCC_MC_AXIMLPENSETR)

Address offset: 0xBB0

Reset value: 0x0000 0001

This register is used by the MCU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.

ST logo
ST logo

10.7.209 RCC AXI sleep clock enable for MPU clear register (RCC_MP_AXIMLPENCLRR)

Address offset: 0xB34

Reset value: 0x0000 0001

This register is used by the MPU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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
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.

ST logo
ST logo

10.7.210 RCC AXI sleep clock enable for MCU clear register (RCC_MC_AXIMLPENCLRR)

Address offset: 0xBB4

Reset value: 0x0000 0001

This register is used by the MCU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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
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.

ST logo
ST logo

10.7.211 RCC MLAHB sleep clock enable for MPU set register (RCC_MP_MLAHBLPENSETR)

Address offset: 0xB38

Reset value: 0x0000 0017

This register is used by the MPU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.RETRAMLPENRes.SRAM34LPENSRAM2LPENSRAM1LPEN
rsrsrsrs

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

Bit 4 RETRAMLPEN: RETRAM 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 is enabled in CSleep

Bit 3 Reserved, must be kept at reset value.

Bit 2 SRAM34LPEN: SRAM3 and SRAM4 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 is enabled in CSleep

Bit 1 SRAM2LPEN: SRAM2 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 is enabled in CSleep

Bit 0 SRAM1LPEN: SRAM1 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 is enabled in CSleep

10.7.212 RCC MLAHB sleep clock enable for MCU set register (RCC_MC_MLAHBLPENSETR)

Address offset: 0xBB8

Reset value: 0x0000 0017

This register is used by the MCU in order to set the PERxLPEN bit of the corresponding peripheral to '1'. Writing '0' has no effect, reading will return 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.RETRAMLPENRes.SRAM34LPENSRAM2LPENSRAM1LPEN
rsrsrsrs

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

Bit 4 RETRAMLPEN: RETRAM 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 is enabled in CSleep

Bit 3 Reserved, must be kept at reset value.

Bit 2 SRAM34LPEN: SRAM3 and SRAM4 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 is enabled in CSleep

Bit 1 SRAM2LPEN: SRAM2 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 is enabled in CSleep

Bit 0 SRAM1LPEN: SRAM1 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 is enabled in CSleep

10.7.213 RCC MLAHB sleep clock enable for MPU clear register (RCC_MP_MLAHBLPENCLRR)

Address offset: 0xB3C

Reset value: 0x0000 0017

This register is used by the MPU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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.RETRAMLPENRes.SRAM34LPENSRAM2LPENSRAM1LPEN
rc_w1rc_w1rc_w1rc_w1

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

Bit 4 RETRAMLPEN: RETRAM interface clock enable during CSleep mode

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 3 Reserved, must be kept at reset value.

Bit 2 SRAM34LPEN: SRAM3 and SRAM4 interface clock enable during CSleep mode

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

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

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.7.214 RCC MLAHB sleep clock enable for MCU clear register (RCC_MC_MLAHBLPENCLRR)

Address offset: 0xBBC

Reset value: 0x0000 0017

This register is used by the MCU in order to clear the PERxLPEN bit of the corresponding peripheral. Writing '0' has no effect, reading will return 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.RETRAMLPENRes.SRAM34LPENSRAM2LPENSRAM1LPEN
rc_w1rc_w1rc_w1rc_w1

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

Bit 4 RETRAMLPEN: RETRAM interface clock enable during CSleep mode

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 3 Reserved, must be kept at reset value.

Bit 2 SRAM34LPEN: SRAM3 and SRAM4 interface clock enable during CSleep mode

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

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

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.7.215 RCC BOOTROM reset status clear register (RCC_BR_RSTSCLRR)

Address offset: 0x400

Reset value: 0x0000 0015

This register is used by the BOOTROM to check the reset source. Writing '0' has no effect, reading will return 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 MPU reset status clear register (RCC_MP_RSTSCLRR), and the MCU application must use the RCC MCU reset status clear register (RCC_MC_RSTSCLRR). Refer to Section 10.3.13: Reset source identification for details.

This register except MPUP[1:0]RSTF flags is located into VDD domain, and is reset by por_rst reset. The MPUP[1:0]RSTF flags are located into VDDCORE and are reset by nreset. If TZEN = '1', this register can only be modified in secure mode.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.MPUP1RSTFMPUP0RSTFRes.Res.Res.IWDG2RSTFIWDG1RSTFMCSYSRSTFMPSYSRSTFRes.VCORERSTFHCSSRSTFPADRSTFBORRSTFPORRSTF
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 14 MPUP1RSTF: MPU processor 1 reset flag

Cleared by software, set by hardware when a MPU processor 1 reset occurred.

0: Writing '0' has no effect, reading '0' means that no MPU processor 1 reset occurred (default after nreset reset)

1: Writing '1' clears the MPUP1RSTF flag, reading '1' means that MPU processor 1 reset occurred

Bit 13 MPUP0RSTF: MPU processor 0 reset flag

Cleared by software, set by hardware when a MPU processor 0 reset occurred.

0: Writing '0' has no effect, reading '0' means that no MPU processor 0 reset occurred (default after nreset reset)

1: Writing '1' clears the MPUP0RSTF flag, reading '1' means that MPU processor 0 reset occurred

Bits 12: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.

Bit 7 MCSYSRSTF: MCU System reset flag

Cleared by software, set by hardware when a MCU system reset occurred.

Note that for the RCC_BR_RSTSCLRR register, this bit is forced to '0' when the option byte OTP_MCU_SYSRST_EN does not allow the MCU to perform a system reset.

Bit 6 MPSYSRSTF: MPU System reset flag

Cleared by software, set by hardware when a MPU system reset occurred.

Bit 5 Reserved, must be kept at reset value.

Bit 4 VCORERSTF: VDDCORE reset flag

Cleared by software, set by hardware when a reset occurred because VDDCORE is lower than the expected value.

Bit 3 HCSSRSTF: HSE CSS reset flag

Cleared by software, set by hardware when a failure is detected on HSE.

Bit 2 PADRSTF: NRST reset flag

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

Bit 1 BORRSTF: BOR reset flag

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

Bit 0 PORRSTF: POR/PDR reset flag

Cleared by software, set by hardware when a POR/PDR reset occurred.

10.7.216 RCC MCU reset status clear register (RCC_MC_RSTSCLRR)

Address offset: 0xC00

Reset value: 0x0000 0015

This register is used by the MCU to check the reset source. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' clears the corresponding bit to '0'. Refer to Section 1.3.12: 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.WWDG1RSTFIWDG2RSTFIWDG1RSTFMCSYSRSTFMPSYSRSTFMCURSTFVCORERSTFHCSRSTFPADRSTFBORRSTFPORRSTF
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

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

Bit 10 WWDG1RSTF: WWDG1 reset flag

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

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

1: Writing '1' clears the WWDG1RSTF flag, reading '1' means that a WWDG1 reset occurred

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 MCSYSRSTF: MCU System reset flag

Cleared by software, set by hardware when a MCU system reset occurred.

Note that for the RCC_BR_RSTSCLRR register, this bit is forced to '0' when the option byte OTP_MCU_SYSRST_EN does not allow the MCU to perform a system reset.

0: Writing '0' has no effect, reading '0' means that no system reset generated by the MCU occurred (default after por_rst reset)

1: Writing '1' clears the MCURSTF flag, reading '1' means that a system reset generated by the MCU occurred

10.7.217 RCC MPU reset status clear register (RCC_MP_RSTSCLRR)

Address offset: 0x408

Reset value: 0x0000 0000

This register is used by the MPU to check the reset source. This register is updated by the BOOTROM code, after a power-on reset (por_rst), a system reset (nreset), or an exit from Standby or CStandby.

Writing '0' has no effect, reading will return the effective values of the corresponding bits.
Writing a '1' clears the corresponding bit to '0'.

Refer to Section 10.3.13: Reset source identification for details.

The register is located in VDDCORE.

If TZEN = '1', this register can only be modified in secure mode.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
SPAREMPUP1RSTFMPUP0RSTFCSTDBYRSTFSTDBYRSTFRes.IWDG2RSTFIWDG1RSTFMCSYSRSTFMPSYSRSTFRes.VCORERSTFHCSRSTFPADRSTFBORRSTFPORRSTF
rc_w1rc_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 bits

Set and reset by software. Reserved for future use.

Bit 14 MPUP1RSTF: MPU processor 1 reset flag

Cleared by software, set by the BOOTROM code when a MPU processor 1 reset occurred.

0: No MPU processor 1 reset occurred (default after nreset reset)

1: MPU processor 1 reset occurred

Bit 13 MPUP0RSTF: MPU processor 0 reset flag

Cleared by software, set by the BOOTROM code when a MPU processor 0 reset occurred.

0: No MPU processor 0 reset occurred (default after nreset reset)

1: MPU processor 0 reset occurred

Bit 12 CSTDBYRSTF: MPU CStandby reset flag

Cleared by software, set by the BOOTROM 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 BOOTROM code when exiting from system Standby.

0: System has not been in Standby mode

1: System has been in Standby mode

Bit 10 Reserved, must be kept at reset value.

Bit 9 IWDG2RSTF: IWDG2 reset flag

Cleared by software, set by the BOOTROM code when a IWDG2 reset occurred.

0: No IWDG2 reset occurred

1: An IWDG2 reset occurred

Bit 8 IWDG1RSTF: IWDG1 reset flag

Cleared by software, set by the BOOTROM code when a IWDG1 reset occurred.

0: No IWDG1 reset occurred

1: An IWDG1 reset occurred

Bit 7 MCSYSRSTF: MCU System reset flag

Cleared by software, set by the BOOTROM code when a MCU system reset occurred.

0: No system reset generated by the MCU occurred

1: A system reset generated by the MCU occurred

ST logo
ST logo

10.7.218 RCC MPU reset status set register (RCC_MP_RSTSSETR)

Address offset: 0x420

Reset value: 0x0000 0000

This register is dedicated to the BOOTROM code in order to update the reset source. This register is updated by the BOOTROM code, after a power-on reset (por_rst), a system reset (nreset), or an exit from Standby or CStandby. The application software shall not use this register. In order to identify the reset source, the MPU application must use RCC MPU reset status clear register (RCC_MP_RSTSCLRR), and the MCU application must use the RCC MCU reset status clear register (RCC_MC_RSTSCLRR).

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

Refer to Section 10.3.13: Reset source identification for details.

The register is located in VDDCORE.

If TZEN = '1', this register can only be modified in secure mode.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
SPAREMPUP1RSTFMPUP0RSTFCSTDBYRSTFSTDBYRSTFRes.IWDG2RSTFIWDG1RSTFMCSYSRSTFMPSYSRSTFRes.VCORERSTFHCSSRSTFPADRSTFBORRSTFPORRSTF
rsrsrsrsrsrsrsrsrsrsrsrsrsrs

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

Bit 15 SPARE: Spare bits

Set and reset by software. Reserved for future use.

Bit 14 MPUP1RSTF: MPU processor 1 reset flag

Set by the BOOTROM code when a MPU processor 1 reset occurred.

0: No MPU processor 1 reset occurred (default after nreset reset)

1: MPU processor 1 reset occurred

Bit 13 MPUP0RSTF: MPU processor 0 reset flag

Set by the BOOTROM code when a MPU processor 0 reset occurred.

0: No MPU processor 0 reset occurred (default after nreset reset)

1: MPU processor 0 reset occurred

Bit 12 CSTDBYRSTF: MPU CStandby reset flag

Set by the BOOTROM 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

Set by the BOOTROM code when exiting from system Standby.

0: System has not been in Standby mode

1: System has been in Standby mode

10.7.219 RCC IWDG clock freeze set register (RCC_MP_IWDGFZSETR)

Address offset: 0x40C

Reset value: 0x0000 0000

This register is used by the BOOTROM in order to freeze the IWDGs clocks. After a system reset or Standby reset (nreset), or a CStandby reset (cstby_rst) the MPU is allowed to write it once. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' sets the corresponding bit to '1'. The MCU cannot modify this register. If TZEN = '1', this register can only be modified in secure mode.

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 BOOTROM software after a system reset or Standby reset, or a CStandby reset, in order to freeze the IWDG2.

0: Writing '0' has no effect, reading '0' means that the IWDG2 clock is not frozen (default after 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

Set once by the BOOTROM software after a system reset or Standby reset, or a CStandby reset, in order to freeze the IWDG1.

0: Writing '0' has no effect, reading '0' means that the IWDG1 clock is not frozen (default after reset)

1: Writing '1' freeze the IWDG1 clock, reading '1' means that the IWDG1 clock is frozen

10.7.220 RCC IWDG clock freeze clear register (RCC_MP_IWDGFZCLRR)

Address offset: 0x410

Reset value: 0x0000 0000

This register is used by the BOOTROM in order to unfreeze the IWDGs clocks. Writing '0' has no effect, reading will return the effective values of the corresponding bits. Writing a '1' clears the corresponding bit to '0'. The MCU cannot modify this register. If TZEN = '1', this register can only be modified in secure mode.

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

Cleared by the BOOTROM 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

ST logo
ST logo

10.7.221 RCC version register (RCC_VERR)

Address offset: 0xFF4

Reset value: 0x0000 0011

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.7.222 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.7.223 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.8 RCC register map

Table 75. RCC register map and reset values

Packet typeHardwareIP header checksum checking
Offset Register Name 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
C O M K P 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.
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.
T Z E N
Reset value11
- ReservedRes.
H S E B Y P
DIG B Y P
SIK O H E R N
S O H 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.
S C S S O H E N
S O H E K E R N
SIO H N
C SIK O E R N
C SIO N
Reset value00000 00 01
DIG B Y P
H S E B Y P
S O H E K E R N
SIK O H E R N
S O H E N
SIO H 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.
C SIK O E R N
C SIO N
Reset value0000 00 01 SIDIV[1:0]
RCC_HSICFGR HSICAL[11:0]HSITRIM[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 0000000000000000000 00
RCC_CSICFGR CSICAL[7:0]CSITRIM[4: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.
Reset value 0000000010000
M P U S R C 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.
A XIS S R C R D Y
XIS S C[2:0] A R
Reset value 1000
ST logo
ST logo

Table 75. RCC register map and reset values (continued)

Packet typeHardwareIP header checksum checking
Offset Register Name 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
P L L12 S R C R D Y
S C[1:0] P L L12 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
M P U DIV R D Y
M P U DIV[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.
RR e s.
Reset value 1001 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
R e s.
R e s.
R e s.
R e s.
R e s.
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 R D Y
RA P B 4 DIV[2:0]
Reset value 1000
A P B DIV R D Y 5
R e s.
R e s.
R e s.
R e s.
R e s.
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.
RA 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.
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 C U S S R C R D Y
C S S C[2:0] M 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
- ReservedRes.

Table 75. RCC register map and reset values (continued)

Packet typeHardwareIP header checksum checking
Offset Register Name 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 32 221 2 0 19 18 17 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
P L L1R D Y
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.
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.
Q DIV E N
Reset value000 000
R e s.
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.
Reset value000001 000110001
DIVR[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 value00000010000001 0000000
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.
DIS R P D F N _
R e s.
O S S C G M D E _
RDIS T P D F N _
P L L 2 R D Y
DIV R E N
LO P L N
S S C G C T RL _
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
R e s.
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.
Reset value000001 001100011
DIVR[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 value00000010000001 0000001
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.
DIS R P D F N _
R e s.
O S S C G M D E _
RDIS T P D F N _

Table 75. RCC register map and reset values (continued)

Packet typeHardwareIP header checksum checking
Offset Register Name 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
0x0B ReservedRes.
I2C S C[2:0] 4 6 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.
R e s.
R e s.
R e s.
R e s.
R e s.
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 S C[2:0] PI6 R
T1S C[2:0] U A 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.
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
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
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
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

Table 75. RCC register map and reset values (continued)

Packet typeHardwareIP header checksum checking
Offset Register Name 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 O S D D R R E R T
D P H Y A P B R S T
C S D P H Y T LR T
C S D D R A XIR T
S D P H Y R T
C S D D R A P B R T
C O D D R K M D[2:0]
G S K P C T RL
_WID T H[2:0] D FIL P
D D R P H Y C A P B L P E N
C G LY[2:0] K E R D D _
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 E N
D D R C A P B E N
C2 D D R E N
C1E D D R N
CL D D R P H Y P E N
G S K P D U R[3:0] _
C2 D D R L P E N
C1L D D R P E N
G S O K P M D
RC G A XID E N
C - ReservedRes.
C M U B E N _
M P U 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. 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.
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 Q T P R E P 0 _
S Q T P R E P1 _
Reset value00
S Q T P R E P 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.
S Q T P R E P1 _
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.
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.
O O C B T M U _
Reset value0
C R D T 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.
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.
Reset value1111111 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.
- ReservedRes.

Table 75. RCC register map and reset values (continued)

RM0436column_2Reset and clock control (RCC)
Offset Register Name 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 L E R D Y
S L E B Y P
S C S S L E D
C S C[1:0] R T R
S L E D R V[1:0]
R T C C K 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.
R e s.
S C S S O L E N
V SWR S T
S O L E N
Reset value 0 0 0000 10 000
RCC_RDLSICR SPARE[4:0] MRD[4:0]
SIR L D Y
E A D LY[2:0]
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.
Reset value 00000000 0000000
- ReservedRes.
S D D R P E R FM R T
S S U B P H Y R T
C S L T D R T
SIR S D 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.
R e s.
R e s.
R e s.
R e s.
Reset value0 0 0 0
S S U B P H Y R T
S D D R P E R FM R T
C S L T D R T
SIR S D 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.
R e s.
R e s.
R e s.
R e s.
Reset value0 0 0 0
I2C6R S T
I2C S 4 R T
S T1R S U A R T
S T G E N R S T
S S PI6R 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.
R e s.
R e s.
R e s.
Reset value 0000 0
S T1R S U A R T
I2C6R S T
I2C S 4 R T
S T G E N R S T
S S PI6R 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.
R e s.
R e s.
R e s.
Reset value 0000 0
R N G1R S T
S S H A H1R T
C P1R S R Y T
G PIO S Z 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.
R e s.
R e s.
R e s.
R e s.
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 A XIM R T
Reset value0 000 0

Table 75. RCC register map and reset values (continued)

Packet typeHardwareIP header checksum checking
Offset Register Name 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
S S H A H1R T
R N G1R S T
G PIO S Z R T
C P1R S R Y 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.
R e s.
R e s.
R e s.
C S A XIM R T
Reset value0 000 0
C S FM R T
E T H M A C R S T
U S B H R S T
C R C1R S T
G S P U R T
Q S S PIR T
S D M M C2 R S T
S C1R S D M M 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 0000 0 0 0
U S B H R S T
C S FM R T
E T H M A C R S T
S D M M C2 R S T
S C1R S D M M T
C R C1R S T
Q S S PIR 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.
R e s.
Reset value 0 0000 0 0
S M D M A 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.
R e s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
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
S M D M A 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.
R e s.
R e s.
R e s.
R e s .
R e s.
R e s.
R e s.
R e s.
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
- ReservedRes.
G2A IWD P B E N
S U B P H Y E N
SIE D N
D D R P E R FM E N
C L T D 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.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
O S T G E N R E N
Reset value 000 0 0 0
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.
R e s.
R e s.
R e s .
R e s.
R e s.
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
SIE D N
C L T D E N
O S T G E N R E N
Reset value 000 0 0 0
ST logo
ST logo

Table 75. RCC register map and reset values (continued)

RM0436 OffsetRegister nameTrustZone ® address space controller for DDR (TZC)
Offset Register Name 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
I2C6 E N
I2C 4 E N
G1A IWD P B E N
C R T A P B E N
S T1E U A R 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.
S C B E E N
S T G E N E N
S PI6 E N
C2 T Z E N
C1E T Z N
T Z P C E N
Reset value 000 000 0 000 0
I2C6 E N
I2C 4 E N
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.
S T1E U A R N
S C B E E N
S T G E N E N
S PI6 E N
T Z P C E N
C2 T Z E N
C1E T Z N
Reset value 000 000 0 000 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.
S B K P R A M E N
S H A H1E N
R N G1E N
G PIO Z E N
C P1E R Y N
C A XIM E N
Reset value1 0 000 0
S H A H1E N
S B K P R A M E N
R N G1E N
G PIO Z 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.
C P1E R Y N
C A XIM E N
Reset value1 0 000 0
E T H M A C E N
E T H R X E N
C E T H K E N
C 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.
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.
M D M A E N
E T H T X E N
U S B H E N
G P U E N
S D M M C2 E N
S C1E D M M N
C R C1E N
Q S PIE N
Reset value 0 000 0 0 0000 0 0
E T H M A C E N
E T H R X E N
C E T H K E N
M D M A E N
C 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.
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.
E T H T X E N
U S B H E N
G P U E N
S D M M C2 E N
S C1E D M M N
C R C1E N
Q S PIE N
Reset value 0 000 0 0 0000 0 0
M D M A 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.
R e s.
R e s.
R e s.
R e s.
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.
M D M A E N
Reset value0
- ReservedRes.

Table 75. RCC register map and reset values (continued)

RM0436 OffsetRegister nameTrustZone ® address space controller for DDR (TZC)
Offset Register Name 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
S U B P H Y E N
SIE D 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.
R e s.
D D R P E R FM E N
C L T D E N
O S T G E N R E N
Reset value 00 0 0 0
D D R P E R FM E N
S U B P H Y E N
C L T D E N
SIE D 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.
R e s.
O S T G E N R E N
Reset value 00 0 0 0
I2C6 E N
I2C 4 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.
S T1E U A R N
S C B E E N
S T G E N E N
S PI6 E N
T Z P C E N
C2 T Z E N
C1E T Z N
Reset value 00 000 0 000 0
I2C6 E N
I2C 4 E N
C R T A P B E N
S T1E U A R 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.
S T G E N E N
S PI6 E N
T Z P C E N
C2 T Z E N
C1E T Z N
Reset value 00 000 0 000 0
S H A H1E N
S B K P R A M E N
R N G1E 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.
C P1E R Y N
G PIO Z E N
Reset value0 000 0
S H A H1E 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.
S B K P R A M E N
R N G1E N
R e s.
R e s.
R e s.
C P1E R Y N
G PIO Z E N
Reset value0 000 0
U S B H E N
C FM E N
E T H M A C E N
E T H R X E N
C E T H K E N
E T H T X E N
M D M A 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.
G P U E N
C R C1E N
Q S PIE N
S D M M C2 E N
S C1E D M M N
Reset value 0 000 0 0 0000 0 0
U S B H E N
C FM E N
E T H M A C E N
E T H R X E N
C E T H K E N
E T H T X E N
M D M A 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.
G P U E N
C R C1E N
S D M M C2 E N
S C1E D M M N
Q S PIE N
Reset value 0 000 0 0 0000 0 0

Table 75. RCC register map and reset values (continued)

RM0436 OffsetRegister nameTrustZone ® address space controller for DDR (TZC)
Offset Register Name 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
- ReservedRes.
G2A IWD P B L P E N
D D R P E R FML P E N
S U B P H YL P E N
SIL D 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.
CL L T D 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.
S G O S T E N R T P E N
OL S T G E N R P E N
Reset value 0111 1 1 1
G2A IWD P B L P E N
D D R P E R FML P E N
S U B P H YL P E N
SIL D 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.
CL L T D P E N
S G O S T E N R T P E N
OL S T G E N R P E N
Reset value 0111 1 1 1
G1A IWD P B L P E N
I2C6 L P E N
I2C 4 L P E N
C R T A P B 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.
Re s.
R e s.
R e s.
S T1L U A R P E N
S CL B E P E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S G S T E N T P E N
S T G E N L P E N
S PI6 L P E N
T Z P CL P E N
C2 T Z L P E N
C1L T Z P E N
Reset value 0111 111 1 111 1
I2C6 L P E N
I2C 4 L P E N
C R T A P B L P E N
S T1L U A R 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.
G1A IWD P B L P E N
S CL B E P E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S G S T E N T P E N
S T G E N L P E N
S PI6 L P E N
T Z P CL P E N
C2 T Z L P E N
C1L T Z P E N
Reset value 0111 111 1 111 1
S B K P R A ML P E N
S H A H1L P E N
R N G1L P E N
G PIO Z 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.
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 P1L R Y P E N
Reset value1 111 1
S H A H1L 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.
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 B K P R A ML P E N
R N G1L P E N
R e s.
R e s.
R e s.
G PIO Z L P E N
C P1L R Y P E N
Reset value1 111 1

Table 75. RCC register map and reset values (continued)

RM0436 OffsetRegister nameTrustZone ® address space controller for DDR (TZC)
Offset Register Name 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
U S B H L P E N
E T H M A CL P E N
E T H R XL P E N
C E T H K L P E N
S E T H T 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.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
E T H T XL P E N
M D M AL P E N
C R C1L P E N
G P U L P E N
Q S PIL P E N
S D M M C2 L P E N
S C1L D M M P E N
Reset value 1 111 1 101111 1 1
E T H R XL P E N
C E T H K L P E N
E T H T XL P E N
M D M AL P E N
S E T H T 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.
Re s.
R e s.
R e s.
E T H M A CL P E N
U S B H L P E N
R e s.
R e s.
R e s.
R e s.
R e s.
G P U L P E N
S D M M C2 L P E N
S C1L D M M P E N
Q S PIL P E N
C R C1L P E N
Reset value 1 111 1 101111 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.
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.
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.
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.
M D M AL P E N
Reset value1
- ReservedRes.
D D R P E R FML P E N
CL L T D P E N
SIL D 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.
S U B P H YL P E N
OL S T G E N R P E N
S G O S T E N R T P E N
Reset value 011 1 1 1
D D R P E R FML P E N
CL L T D P E N
SIL D 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.
S U B P H YL P E N
OL S T G E N R P E N
S G O S T E N R T P E N
Reset value 011 1 1 1
I2C6 L P E N
I2C 4 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.
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 T1L U A R P E N
S CL B E P E N
C R T A P B L P E N
S T G E N L P E N
S G S T E N T P E N
S PI6 L P E N
T Z P CL P E N
C2 T Z L P E N
C1L T Z P E N
Reset value 011 111 1 111 1

Table 75. RCC register map and reset values (continued)

Bit RangeRegister NameDescription
Offset Register Name 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 1918 17 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
I2C6 L P E N
I2C 4 L P E N
C R T A P B L P E N
S T1L U A R 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.
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 CL B E P E N
S G S T E N T P E N
S PI6 L P E N
S T G E N L P E N
T Z P CL P E N
C2 T Z L P E N
C1L T Z P E N
Reset value 011 111 1 111 1
S B K P R A ML P E N
S H A H1L 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.
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 N G1L P E N
C P1L R Y P E N
G PIO Z L P E N
Reset value1 111 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.
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.
S H A H1L P E N
S B K P R A ML P E N
R N G1L P E N
R e s.
R e s.
R e s.
G PIO Z L P E N
C P1L R Y P E N
Reset value1 111 1
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.
Re s.
R e s.
R e s.
R e s.
E T H M A CL P E N
E T H R XL P E N
C E T H K L P E N
E T H T XL P E N
S E T H T P E N
M D M AL P E N
U S B H L P E N
R e s.
R e s.
R e s.
R e s.
R e s.
G P U L P E N
S D M M C2 L P E N
S C1L D M M P E N
C R C1L P E N
Q S PIL P E N
Reset value 1 111 1 101111 1 1
E T H T XL P E N
M D M AL P E N
CL FM P E N
E T H M A CL P E N
S E T H T P E N
E T H R XL P E N
C E T H K L P E N
U S B H L P E N
S D M M C2 L P E N
S C1L D M M P E N
G P U 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.
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.
C R C1L P E N
Q S PIL P E N
Reset value 1 111 1 101111 1 1
- ReservedRes.
G2 S IWD R T F
G1R S IWD T F
C S S S H R T F
M P S Y S R S T F
C S S S M Y R T F
S M P U P1R T F
M P U P 0R S T F
O S B R R T F
O S P R R T F
S P A D 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.
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.
C O S V R E R T F
Reset value00 0000 10101
S S S M P Y R T
S M P U P1R T
0R S M P U P T
C S M U 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.
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 00

Table 75. RCC register map and reset values (continued)

RM0436 OffsetRegister nameTrustZone ® address space controller for DDR (TZC)
Offset Register Name 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 212 0 19 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
C S S S M Y R T F
S M P U P1R T F
M P U P 0R S T F
O S B R R T F
S P A D R T F
M P S Y S R S T F
C S S T D B Y R T F
S P A R 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.
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
RC O S V R E R T F
Reset value00000 0000 00000
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.
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.
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.
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.
R e s.
G1 _IWD F Z
Reset value00
S H E R D YIE
S L 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
P L L1D 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.
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 SIR D YIE
WK U PIE
Reset value0 0 0000 00000
S H E R D YF
SIR H D YF
S L E R 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
P L L1D YF
SIR L 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.
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 SIR D YF
WK U P F
Reset value0 0 0000 00000
M C T M P S 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 0000000000000000000000
G2 S IWD R T F
G1R S IWD T F
C S S S H R T F
M P S Y S R S T F
C S S S M Y R T F
S M P U P1R T F
M P U P 0R S T F
O S B R R T F
O S P R R T F
S P A D R T F
C S S T D B Y R T F
S P A R 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.
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 B B Y R T F
C O S V R E R T F
Reset value00000 0000 00000
- ReservedRes.
C O1S M E L[2:0]
O1DIV[3:0] M C
C O1O 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.
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 value0 0000 000
ST logo
ST logo

Table 75. RCC register map and reset values (continued)

OffsetRegister Name313029282726252423222120191817161514131211109876543210
0x804RCC_
MCO2CFGR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MCO2ONRes.Res.Res.Res.MCO2DIV[3:0]Res.MCO2SEL[2:0]
Reset value00000000
0x808RCC_
OCRDYR
Res.Res.Res.Res.Res.Res.CKRESTAXICKRDYMPUCKRDYRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HSERDYRes.Res.Res.CSIRDYRes.HSIDIVRDYRes.HSIRDY
Reset value0000000
0x80CRCC_
DBGCFGR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.DBGRSTRes.Res.TRACECKENDBGCKENRes.Res.Res.Res.Res.TRACEDIV[2:0]
Reset value000001
0x810
-
0x81C
ReservedRes.
0x820RCC_
RCK3SELR
PLL3SRCRDYRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLL3SRC[1:0]
Reset value100
0x824RCC_
RCK4SELR
PLL4SRCRDYRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PLL4SRC[1:0]
Reset value100
0x828RCC_
TIMG1PRER
TIMG1PRERDYRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIMG1PRE
Reset value10
0x82CRCC_
TIMG2PRER
TIMG2PRERDYRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TIMG2PRE
Reset value10

Table 75. RCC register map and reset values (continued)

Packet typeHardwareIP header checksum checking
Offset Register Name 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 1918 17 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
M C U 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.
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. 3:0]
Reset value 10000
R e s.
R e s.
R e s.
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.
A P B1DIV R D Y
RA 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.
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.
A P B 2 DIV R D Y
RA 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.
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.
A P B 3 DIV R D Y
RA P B 3 DIV[2:0]
Reset value 1000
- ReservedRes.
P L L 3R D Y
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.
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.
Reset value000 00
G E[1:0] IF 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.
R1R e s.
Reset value 00 000001000110001
DIVR[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 00000010000001 0000001
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.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
ST logo
ST logo

Table 75. RCC register map and reset values (continued)

RM0436 OffsetRegister nameTrustZone ® address space controller for DDR (TZC)
Offset Register Name 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
P L L 4 R D Y
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.
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.
Q DIV E N
Reset value000 00
G E[1:0] IF 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.
Reset value 00 000001000110001
DIVR[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 00000000000000 0000000
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. Re s. R e s. R e s. R e s. R e s.
0x8B 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.
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.
I2C3 S C[2:0] R 5
R e s.
R e s.
R e s.
R e s.
R e s.
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.
R e s.
R e s.
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 AI1S 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.
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 C[2:0] AI2 R

Table 75. RCC register map and reset values (continued)

OffsetRegister Name313029282726252423222120191817161514131211109876543210
0x8D0RCC_SAI3CKSELRResResResResResResResResResResResResResResResResResResResResResResResResResResResResResSAI3SRC[2:0]
Reset value000
0x8D4RCC_SAI4CKSELRResResResResResResResResResResResResResResResResResResResResResResResResResResResResResSAI4SRC[2:0]
Reset value000
0x8D8RCC_SPI2S1CKSELRResResResResResResResResResResResResResResResResResResResResResResResResResResResResResSPI1SRC[2:0]
Reset value000
0x8DCRCC_SPI2S23CKSEL RResResResResResResResResResResResResResResResResResResResResResResResResResResResResResSPI23SRC[2:0]
Reset value000
0x8E0RCC_SPI45CKSELRResResResResResResResResResResResResResResResResResResResResResResResResResResResResResSPI45SRC[2:0]
Reset value000
0x8E4RCC_UART6CKSELRResResResResResResResResResResResResResResResResResResResResResResResResResResResResResUART6SRC[2:0]
Reset value000
0x8E8RCC_UART24CKSEL RResResResResResResResResResResResResResResResResResResResResResResResResResResResResResUART24SRC[2:0]
Reset value000
Table 75. RCC register map and reset values (continued)
OffsetRegister Name313029282726252423222120191817161514131211109876543210
0x8ECRCC_
UART35CKSEL
R
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UART35SRC[2:0]
Reset value000
0x8F0RCC_
UART78CKSEL
R
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UART78SRC[2:0]
Reset value000
0x8F4RCC_
SDMMC12CK
SELR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SDMMC12SRC[2:0]
Reset value011
0x8F8RCC_
SDMMC3CK
SELR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SDMMC3SRC[2:0]
Reset value000
0x8FCRCC_
ETHCKSELR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ETHPTPDIV[3:0]Res.Res.ETHSRC[1:0]
Reset value000000
0x900RCC_
QSPICKSELR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.QSPISRC[1:0]
Reset value00
0x904RCC_
FMCCKSELR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FMCSRC[1:0]
Reset value00

Table 75. RCC register map and reset values (continued)

Packet typeHardwareIP header checksum checking
Offset Register Name 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
0x908 ReservedRes.
C S C[1:0] F D A 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.
0x910 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.
R e s.
R e s.
R e s.
R e s.
S S C[1:0] P DIF 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.
C C S C[1:0] E R
S O S C U B R
S S C[1:0] U B P H Y 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.
Reset value0 00
G2 S 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.
SIS C D 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.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
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.
C S C[1:0] A D R

Table 75. RCC register map and reset values (continued)

RM0436 OffsetRegister nameTrustZone ® address space controller for DDR (TZC)
Offset Register Name 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
S C[2:0] L P TIM4 R 5
R e s.
R e s.
R e s.
R e s.
R e s.
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 C[2:0] L P TIM2 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.
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.
R e s.
R e s.
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.
TIM1S C[2:0] L P R
- ReservedRes.
S S U A R T 3R T
S S U A R T 2 R T
C12 S D A R T
I2C5 R S T
I2C3R S T
I2C2 S R T
I2C1R S T
S L P TIM1R T
S U A R T 8R T
S U A R T 7R T
U A R T R S T 5
S U A R T 4 R T
DIO M S R S T
S S P DIF R T
C C S E R T
S S PI3R T
S PI2 S R T
S TIM7R T
TIM6R S 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.
S TIM14 R T
S TIM13R T
TIM12 R S T
Reset value 0 0 00 0000 00000000 0000000000
I2C5 R S T
I2C3R S T
I2C2 S R T
I2C1R S T
S S U A R T 3R T
S S U A R T 2 R T
S L P TIM1R T
DIO M S R S T
S U A R T 8R T
S U A R T 7R T
U A R T R S T 5
S U A R T 4 R T
C12 S D A R T
S S P DIF R T
C C S E R T
S S PI3R T
S PI2 S R T
S TIM14 R T
S TIM13R T
TIM12 R S T
S TIM7R T
TIM6R S 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.
Reset value 0 0 00 0000 00000000 0000000000
F D C A N R S T
U S A R T 6R S T
D F S D M R S T
S AI3R S T
S AI2 R S T
S S AI1R T
S PI5 R S T
S S PI4 R T
S S PI1R T
TIM17R S T
S TIM16R T
S TIM15 R 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.
Reset value 0 0 0000 000 00000
U S A R T 6R S T
D F S D M R S T
F D C A N R S T
S AI3R S T
S AI2 R S T
S S AI1R T
S PI5 R S T
S S PI4 R T
S S PI1R T
TIM17R S T
S TIM16R T
S TIM15 R 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.
Reset value 0 0 0000 000 00000

Table 75. RCC register map and reset values (continued)

Packet typeHardwareIP header checksum checking
Offset Register Name 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
S L P TIM5 R T
S L P TIM4 R T
S L P TIM3R T
S L P TIM2 R T
S S D T R T
S S AI4 R T
S S C FG S 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.
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.
V R E F R S T
Reset value0 0 0 0 0000
S L P TIM5 R T
S L P TIM4 R T
S L P TIM3R T
S L P TIM2 R T
S S D T R T
S S AI4 R T
S S C FG S 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.
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.
V R E F R S T
Reset value0 0 0 0 0000
S D M A2 R T
S D M A1R T
S O S U B R T
S D M A M U X R T
S C3R S D M M 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.
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.
C12 S A D R T
Reset value0 0 0 000
S D M A2 R T
S D M A1R T
S O S U B R T
S D M A M U X R T
S C3R S D M M 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.
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.
C12 S A D R T
Reset value0 0 0 000
C C S IP R T
R N G2 R S T
C S D MIR T
S S H A H 2 R T
S S H E M R T
C 2 S R Y P R T
C C2 S R 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.
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 value00 0000 0
C C S IP R T
R N G2 R S T
C S D MIR T
S S H A H 2 R T
S S H E M R T
C 2 S R Y P R T
C C2 S R 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.
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 value00 0000 0
G PIO S H R T
G PIO S D R T
G PIO C S R T
G PIOJR S T
G PIOIR S T
PIO G G R S T
PIO G K R S T
G PIO S E R T
G PIO S B R T
G PIO S A R T
G PIOF S 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.
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.
Reset value00000000000
G PIO S H R T
G PIO S D R T
G PIO C S R T
G PIOJR S T
G PIOIR S T
PIO G G R S T
PIO G K R S T
G PIO S E R T
G PIO S B R T
G PIO S A R T
G PIOF S 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.
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.
CR e s.
Reset value00000000000
- ReservedRes.

Table 75. RCC register map and reset values (continued)

Packet typeHardwareIP header checksum checking
Offset Register Name 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
I2C5 E N
I2C3 E N
I2C2 E N
L P TIM1E N
U A R T 8 E N
U A R T 7 E N
U A R T E N 5
U A R T 4 E N
R e s.
R e s.
R e s.
R e s.
R e s .
R e s.
S U A R T 3 E N
S U A R T 2 E N
DIO M S E N
C12 D A E N
C C E E N
S P DIF E N
S PI3 E N
S PI2 E N
TIM14 E N
TIM13 E N
TIM12 E N
TIM7 E N
TIM6 E N
TIM5 E N
TIM4 E N
TIM3 E N
TIM2 E N
Reset value 0 0 00 0000 00000000 0000000000
I2C5 E N
I2C3 E N
I2C2 E N
L P TIM1E N
DIO M S E N
U A R T 8 E N
U A R T 7 E N
U A R T E N 5
U A R T 4 E N
R e s.
R e s.
R e s.
R e s.
R e s .
R e s.
S U A R T 3 E N
S U A R T 2 E N
C12 D A E N
C C E E N
S P DIF E N
S PI3 E N
S PI2 E N
TIM14 E N
TIM13 E N
TIM12 E N
TIM7 E N
TIM6 E N
TIM5 E N
TIM4 E N
TIM3 E N
TIM2 E N
Reset value 0 0 00 0000 00000000 0000000000
U S A R T 6 E N
D F S D M E N
F D C A N 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.
S AI3 E N
S AI2 E N
S AI1E N
S PI5 E N
S PI4 E N
S PI1E N
TIM8 E N
TIM17 E N
TIM16 E N
TIM15 E N
S A D F D M E N
Reset value 0 00 0000 000 00000
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
F D C A N E N
U S A R T 6 E N
D F S D M 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.
S AI3 E N
S AI2 E N
S AI1E N
S PI5 E N
S PI4 E N
S PI1E N
TIM8 E N
TIM17 E N
TIM16 E N
TIM15 E N
S A D F D M E N
Reset value 0 00 0000 000 00000
L P TIM5 E N
L P TIM4 E N
L P TIM3 E N
L P TIM2 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.
H D P E N
S D T E N
S S C FG Y E N
S AI4 E N
V R E F E N
Reset value 00 0 0 0 0000
L P TIM5 E N
L P TIM4 E N
L P TIM3 E N
L P TIM2 E N
H D P E N
S D T 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.
S S C FG Y E N
S AI4 E N
V R E F E N
Reset value 00 0 0 0 0000
S O U 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.
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.
D M A M U X E N
D M A2 E N
D M A1E N
S C3 D M M E N
C12 A D E N
Reset value0 0 0 000
S O U 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.
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.
D M A M U X E N
D M A2 E N
D M A1E N
S C3 D M M E N
C12 A D E N
Reset value0 0 0 000

Table 75. RCC register map and reset values (continued)

Packet typeHardwareIP header checksum checking
Offset Register Name 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 C IP E N
S H E M E N
C D MIE 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.
S H A H 2 E N
R N G2 E N
C 2 R Y P E N
C C2 R E N
Reset value00 0000 0
R N G2 E N
C C IP E N
S H A H 2 E N
S H E M E N
C D MIE 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.
C 2 R Y P E N
C C2 R E N
Reset value00 0000 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.
G PIO H E N
PIO G K E N
G PIO E E N
G PIO B E N
G PIO A E N
G PIOF E N
G PIOIE N
PIO G G E N
G PIO D E N
G PIO C E N
G PIOJE 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.
PIO G G E N
G PIO H E N
G PIO D E N
G PIO C E N
G PIOF E N
PIO G K E N
G PIO E E N
G PIO B E N
G PIO A E N
G PIOJE N
G PIOIE N
- 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.
R E T R A M E N
Reset value1
R E T R A M 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.
R e s.
R e s.
R e s.
C RR e s.
Reset value1
- 0xA7 Reserved CRes.
I2C5 E N
I2C3 E N
I2C2 E N
U A R T 8 E N
U A R T 7 E N
U A R T E N 5
U A R T 4 E N
S U A R T 3 E N
S U A R T 2 E N
DIO M S E N
C12 D A E N
L P TIM1E N
R e s.
R e s.
R e s.
R e s .
R e s.
S P DIF E N
S PI3 E N
S PI2 E N
C C E E N
TIM7 E N
TIM6 E N
TIM5 E N
TIM4 E N
TIM3 E N
TIM2 E N
G1E W WD N
TIM14 E N
TIM13 E N
I2C1E NTIM12 E N
Reset value 0 0000 0000 00000000 0000000000
I2C5 E N
I2C3 E N
I2C2 E N
U A R T 8 E N
U A R T 7 E N
U A R T E N 5
U A R T 4 E N
S U A R T 3 E N
S U A R T 2 E N
DIO M S E N
C12 D A E N
L P TIM1E N
R e s.
R e s.
R e s.
R e s.
R e s .
R e s.
S PI3 E N
S PI2 E N
S P DIF E N
C C E E N
TIM7 E N
TIM6 E N
TIM5 E N
TIM4 E N
TIM3 E N
TIM2 E N
TIM14 E N
TIM13 E N
I2C1E NTIM12 E N
Reset value 0 0 00 0000 00000000 0000000000

Table 75. RCC register map and reset values (continued)

Bit RangeRegister NameDescription
Offset Register Name 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 1918 17 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
U S A R T 6 E N
D F S D M E N
F D C A N 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.
S AI3 E N
S AI2 E N
S AI1E N
S PI5 E N
S PI4 E N
S PI1E N
TIM8 E N
TIM17 E N
TIM16 E N
TIM15 E N
S A D F D M E N
Reset value 0 00000 0 000 00000
F D C A N 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.
U S A R T 6 E N
D F S D M E N
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S AI3 E N
S AI2 E N
S AI1E N
S PI5 E N
S PI4 E N
S PI1E N
TIM17 E N
TIM16 E N
TIM15 E N
TIM8 E N
S A D F D M E N
Reset value 0 00000 0 000 00000
L P TIM5 E N
L P TIM4 E N
L P TIM3 E N
L P TIM2 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.
H D P E N
S D T E N
S S C FG Y E N
S AI4 E N
V R E F E N
Reset value 00 0 0 0 0000
L P TIM5 E N
L P TIM4 E N
L P TIM3 E N
L P TIM2 E N
H D P E N
S D T 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.
S S C FG Y E N
S AI4 E N
V R E F E N
Reset value 00 0 0 0 0000
S O U 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.
D M A M U X E N
D M A2 E N
D M A1E N
S C3 D M M E N
C12 A D E N
Reset value0 0 0 000
S O U 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.
D M A M U X E N
D M A2 E N
D M A1E N
S C3 D M M E N
C12 A D E N
Reset value0 0 0 000
C C IP E N
S H A H 2 E N
S H E M E N
R N G2 E N
C D MIE 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.
C 2 R Y P E N
C C2 R E N
Reset value00 0000 0
C C IP 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.
S H A H 2 E N
S H E M E N
R N G2 E N
C D MIE N
C 2 R Y P E N
C C2 R E N
Reset value00 0000 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.
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.
PIO G G E N
G PIOF E N
PIO G K E N
G PIO E E N
G PIO B E N
G PIO A E N
G PIO H E N
G PIO D E N
G PIO C E N
G PIOJE N
G PIOIE N

Table 75. RCC register map and reset values (continued)

Packet typeHardwareIP header checksum checking
Offset Register Name 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.
R e s.
R e s.
R e s.
R e s.
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.
PIO G G E N
G PIO H E N
G PIO D E N
G PIO C E N
G PIOF E N
G PIOJE N
G PIOIE N
PIO G K E N
G PIO E E N
G PIO B E N
G PIO A E N
C Reset value00000000000
R e s.
R e s.
R e s.
R e s.
R e s.
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 S Y R A M 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. 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 S Y R A M 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.
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 T R A M 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.
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 RR E T R A M E N
Reset value1
0 - 0xAF Reserved CRes.
I2C5 L P E N
I2C3 L P E N
I2C2 L P E N
I2C1L P E N
S U A R T 3 L P E N
S U A R T 2 L P E N
DIO M S L P E N
C12 D A L P E N
L P TIM1L P E N
U A R T 8 L P E N
U A R T 7 L P E N
U A R T L P E N 5
U A R T 4 L P E N
C CL E P E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S P DIF L P E N
S PI3 L P E N
S PI2 L P E N
TIM14 L P E N
TIM13 L P E N
TIM12 L P E N
TIM7 L P E N
TIM6 L P E N
TIM5 L P E N
TIM4 L P E N
TIM3 L P E N
RTIM2 L P E N
Reset value 1 1 11 1111 11111111 1111111111
I2C5 L P E N
I2C3 L P E N
I2C2 L P E N
I2C1L P E N
U A R T 8 L P E N
U A R T 7 L P E N
U A R T L P E N 5
U A R T 4 L P E N
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S U A R T 3 L P E N
S U A R T 2 L P E N
L P TIM1L P E N
DIO M S L P E N
C12 D A L P E N
C CL E P E N
S P DIF L P E N
S PI3 L P E N
S PI2 L P E N
TIM14 L P E N
TIM13 L P E N
TIM12 L P E N
TIM7 L P E N
TIM6 L P E N
TIM5 L P E N
TIM4 L P E N
TIM3 L P E N
RTIM2 L P E N
Reset value 1 1 11 1111 11111111 1111111111

Table 75. RCC register map and reset values (continued)

Bit RangeRegister NameDescription
Offset Register Name 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 1918 17 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
U S A R T 6 L P E N
F D C A N 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.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
D F S D ML P E N
S AI3 L P E N
S AI2 L P E N
S AI1L P E N
S PI5 L P E N
S PI4 L P E N
S PI1L P E N
TIM17 L P E N
TIM16 L P E N
TIM15 L P E N
TIM8 L P E N
TIM1L P E N
S A D F D ML P E N
Reset value 1 11111 1 111 11111
F D C A N L P E N
U S A R T 6 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.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
D F S D ML P E N
S AI3 L P E N
S AI2 L P E N
S AI1L P E N
S PI5 L P E N
S PI4 L P E N
S PI1L P E N
TIM17 L P E N
TIM16 L P E N
TIM15 L P E N
TIM8 L P E N
TIM1L P E N
S A D F D ML P E N
Reset value 1 11111 1 111 11111
L P TIM5 L P E N
L P TIM4 L P E N
L P TIM3 L P E N
L P TIM2 L P E N
S D T 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. 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.
S S C FGL Y P E N
S AI4 L P E N
V R E F L P E N
Reset value1 1 1 1 1111
R e s.
R e s.
R e s.
R e s.
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.
L P TIM5 L P E N
L P TIM4 L P E N
L P TIM3 L P E N
L P TIM2 L P E N
S D T L P E N
S S C FGL Y P E N
S AI4 L P E N
V R E F L P E N
Reset value1 1 1 1 1111
D M A M U XL 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.
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 OL U B P E N
S C3 D M M L P E N
C12 A D L P E N
Reset value1 1 1 111
D M A M U XL P E N
S OL U B 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.
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 C3 D M M L P E N
C12 A D L P E N
Reset value1 1 1 111
C CL IP P E N
S H A H 2 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.
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 H E ML P E N
R N G2 L P E N
C D MIL P E N
R e s.
R e s.
R e s.
C 2 R Y P L P E N
C C2 R L P E N
Reset value11 1111 1

Table 75. RCC register map and reset values (continued)

RM0436 OffsetRegister nameTrustZone ® address space controller for DDR (TZC)
Offset Register Name 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
C CL IP P E N
S H A H 2 L P E N
S H E ML P E N
R N G2 L P E N
C D MIL 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.
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 2 R Y P L P E N
RC C2 R L P E N
Reset value11 1111 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.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
PIO G GL P E N
PIO G K 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 PIOF L P E N
G PIOJ L P E N
G PIOIL P E N
G PIO H L P E N
G PIO D L P E N
RG PIO CL P E N
Reset value11111111111
R e s.
R e s.
R e s.
R e s.
R e s.
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.
G PIOF L P E N
PIO G K 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 PIOJ L P E N
G PIOIL P E N
PIO G GL P E N
G PIO H L P E N
G PIO D L P E N
CG PIO CL P E N
Reset value11111111111
R e s.
R e s.
R e s.
R e s.
R e s.
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.
RS 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.
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.
RS S Y R A ML P E N
Reset value1
R E T R A ML 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.
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 M2 L P E N
S R A M1L P E N
S R A M3 4 L P E N
Reset value1 111
R E T R A ML 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.
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 M2 L P E N
S R A M1L P E N
S R A M3 4 L P E N
Reset value1 111
- 0xB7 Reserved CRes.

Table 75. RCC register map and reset values (continued)

Packet typeHardwareIP header checksum checking
Offset Register Name 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
U A R T 8 L P E N
U A R T 7 L P E N
U A R T L P E N 5
U A R T 4 L P E N
I2C5 L P E N
I2C3 L P E N
I2C2 L P E N
I2C1L P E N
R e s.
R e s.
Re s.
R e s.
R e s.
S U A R T 3 L P E N
S U A R T 2 L P E N
L P TIM1L P E N
DIO M S L P E N
C12 D A L P E N
S PI3 L P E N
S PI2 L P E N
S P DIF L P E N
C CL E P E N
TIM14 L P E N
TIM13 L P E N
TIM12 L P E N
TIM7 L P E N
TIM6 L P E N
TIM5 L P E N
TIM4 L P E N
TIM3 L P E N
TIM2 L P E N
G1L W WD P E N
Reset value 1 1111 1111111111 11 1111111111
I2C5 L P E N
I2C3 L P E N
I2C2 L P E N
I2C1L P E N
S U A R T 3 L P E N
S U A R T 2 L P E N
U A R T 8 L P E N
U A R T 7 L P E N
U A R T L P E N 5
U A R T 4 L P E N
R e s.
R e s.
Re s.
R e s.
R e s.
L P TIM1L P E N
DIO M S L P E N
C12 D A L P E N
C CL E P E N
S PI3 L P E N
S PI2 L P E N
S P DIF L P E N
TIM14 L P E N
TIM13 L P E N
TIM12 L P E N
TIM7 L P E N
TIM6 L P E N
TIM5 L P E N
TIM4 L P E N
TIM3 L P E N
TIM2 L P E N
G1L W WD P E N
Reset value 1 1111 1111111111 11 1111111111
D F S D ML P E N
F D C A N 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.
R e s.
U S A R T 6 L P E N
S AI3 L P E N
S AI2 L P E N
S AI1L P E N
S PI5 L P E N
S PI4 L P E N
S PI1L P E N
TIM17 L P E N
TIM16 L P E N
TIM15 L P E N
TIM8 L P E N
TIM1L P E N
S A D F D ML P E N
Reset value 1 11111 1 111 11111
F D C A N 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.
R e s.
U S A R T 6 L P E N
D F S D ML P E N
S AI3 L P E N
S AI2 L P E N
S AI1L P E N
S PI5 L P E N
S PI4 L P E N
S PI1L P E N
TIM17 L P E N
TIM16 L P E N
TIM15 L P E N
TIM8 L P E N
TIM1L P E N
S A D F D ML P E N
Reset value 1 11111 1 111 11111
R e s.
R e s.
R e s.
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.
L P TIM5 L P E N
L P TIM4 L P E N
L P TIM3 L P E N
L P TIM2 L P E N
S D T L P E N
S S C FGL Y P E N
S AI4 L P E N
V R E F L P E N
Reset value1 1 1 1 1111
R e s.
R e s.
R e s.
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.
L P TIM5 L P E N
L P TIM4 L P E N
L P TIM3 L P E N
L P TIM2 L P E N
S D T L P E N
S S C FGL Y P E N
S AI4 L P E N
V R E F L P E N
Reset value1 1 1 1 1111
D M A M U XL P E N
S OL U B 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.
R e s.
R e s.
S C3 D M M L P E N
C12 A D L P E N
Reset value1 1 1 111

Table 75. RCC register map and reset values (continued)

Packet typeHardwareIP header checksum checking
Offset Register Name 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 OL U B 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.
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.
D M A M U XL P E N
S C3 D M M L P E N
CC12 A D L P E N
Reset value1 1 1 111
C CL IP P E N
S H A H 2 L P E N
S H E ML 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.
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 N G2 L P E N
C D MIL P E N
R e s.
R e s.
R e s.
C 2 R Y P L P E N
RC C2 R L P E N
Reset value11 1111 1
R N G2 L P E N
C CL IP P E N
C D MIL 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.
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.
S H A H 2 L P E N
S H E ML P E N
C 2 R Y P L P E N
C C2 R L P E N
Reset value11 1111 1
G PIOF L P E N
PIO G 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.
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.
PIO G K 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 PIOJ L P E N
RG PIOIL P E N
Reset value11111111111
R e s.
R e s.
R e s.
R e s.
R e s.
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.
G PIOF L P E N
PIO G K L P E N
G PIO E L P E N
G PIO B L P E N
G PIO AL P E N
PIO G 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 PIOJ L P E N
CG PIOIL P E N
Reset value11111111111
R e s.
R e s.
R e s.
R e s.
R e s.
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.
RS 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.
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.
RS S Y R A ML P E N
Reset value1
R E T R A ML 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.
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 M2 L P E N
S R A M1L P E N
S R A M3 4 L P E N
Reset value1 111
ST logo
ST logo

Table 75. RCC register map and reset values (continued)

OffsetRegister Name313029282726252423222120191817161514131211109876543210
0xBB
C
RCC_MC_MLAHBLPEN
CLRR
ResResResResResResResResResResResResResResResResResResResResResResResResResResResRETRAMLPENResSRAM34LPENSRAM2LPENSRAM1LPEN
Reset value11111
0xBC
0 -
0xBF
C
ReservedRes.
0xC00RCC_MC_RSTSCLRRResResResResResResResResResResResResResResResResResResResResResResWWDG1RSTFIWDG2RSTFIWDG1RSTFMCSYSRSTFMPSYSRSTFMCURSTFVCORERSTFHCSSRSTFPADRSTFBORRSTFPORRSTF
Reset value00000010101
0xC04
-
0xC10
ReservedRes.
0xC14RCC_MC_CIERResResResResResResResResResResResWKUPEResResResResLSECSSIEResResResResResPLL4DYIEPLL3DYIEPLL2DYIEPLL1DYIEResResResCSIRDYIEHSERDYIEHSIRDYIELSERDYIELSIRDYIE
Reset value000000000000
0xC18RCC_MC_CIFRResResResResResResResResResResResWKUPFResResResResLSECSSFResResResResResPLL4DYFPLL3DYFPLL2DYFPLL1DYFResResResCSIRDYFHSERDYFHSIRDYFLSERDYFLSIRDYF
Reset value000000000000
0xC1
C -
0xFF0
ReservedRes.
0xFF4RCC_VERRResResResResResResResResResResResResResResResResResResResResResResResResResMAJREV[3:0]MINREV[3:0]
Reset value00010001
0xFF8RCC_IDRID[31:0]
Reset value000000000000000000000000000000001
0xFF
C
RCC_SIDRSID[31:0]
Reset value10100011110001011101110100000100
Refer to Section 2.5 on page 159 for the register boundary addresses.