EasyManuals Logo

STMicroelectronics STM32WL5 Series User Manual

STMicroelectronics STM32WL5 Series
1450 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #350 background imageLoading...
Page #350 background image
Reset and clock control (RCC) RM0453
350/1450 RM0453 Rev 5
Bits 15:8 Reserved, must be kept at reset value.
Bits 7:4 C2HPRE[3:0]: HCLK2 prescaler (CPU2)
These bits are set and cleared by software to control the division factor of the HCLK2 clock
(CPU2). The C2HPREF flag can be checked to know if the programmed C2HPRE prescaler
value is applied. This field is also cleared to all zero (SYSCLK not divided) by hardware when
the system enters Stop mode and HSI16 is selected as wake-up clock.
0001: SYSCLK divided by 3
0010: SYSCLK divided by 5
0101: SYSCLK divided by 6
0110: SYSCLK divided by 10
0111: SYSCLK divided by 32
1000: SYSCLK divided by 2
1001: SYSCLK divided by 4
1010: SYSCLK divided by 8
1011: SYSCLK divided by 16
1100: SYSCLK divided by 64
1101: SYSCLK divided by 128
1110: SYSCLK divided by 256
1111: SYSCLK divided by 512
Others: SYSCLK not divided
Caution: Depending on the device voltage range, the software must set correctly these bits to
ensure that the system frequency does not exceed the maximum allowed frequency
(refer to Section 6.1.4: Dynamic voltage scaling management). After a write
operation to these bits and before decreasing the voltage range, the C2HPREF bit
must be read to be sure that the new value is taken into account.
Bits 3:0 SHDHPRE[3:0]: HCLK3 shared prescaler (AHB3, flash, SRAM1, and SRAM2)
These bits are set and cleared by software to control the division factor of the shared HCLK3
clock. (AHB3, flash, SRAM1 and SRAM2, APB3). The SHDHPREF flag can be checked to
know if the programmed SHDHPRE prescaler value is applied.
0001: SYSCLK divided by 3
0010: SYSCLK divided by 5
0101: SYSCLK divided by 6
0110: SYSCLK divided by 10
0111: SYSCLK divided by 32
1000: SYSCLK divided by 2
1001: SYSCLK divided by 4
1010: SYSCLK divided by 8
1011: SYSCLK divided by 16
1100: SYSCLK divided by 64
1101: SYSCLK divided by 128
1110: SYSCLK divided by 256
1111: SYSCLK divided by 512
Others: SYSCLK not divided
Caution: Depending on the device voltage range, the software must set correctly these bits to
ensure that the system frequency does not exceed the maximum allowed frequency
(refer to Section 6.1.4: Dynamic voltage scaling management). After a write
operation to these bits and before decreasing the voltage range, the SHDHPRE bit
must be read to be sure that the new value is taken into account.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STMicroelectronics STM32WL5 Series and is the answer not in the manual?

STMicroelectronics STM32WL5 Series Specifications

General IconGeneral
BrandSTMicroelectronics
ModelSTM32WL5 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals