EasyManuals Logo

ST STM32WL55JC User Manual

ST STM32WL55JC
1454 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 #303 background imageLoading...
Page #303 background image
RM0453 Rev 2 303/1454
RM0453 Reset and clock control (RCC)
363
Bits 7:4 HPRE[3:0]: HCLK1 prescaler (CPU1, AHB1, and AHB2.)
These bits are set and cleared by software to control the division factor of the HCLK1 clock
(CPU1, AHB1, AHB2). The HPREF flag can be checked to know if the programmed HPRE
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
(for more details please refer to Section 6.1.4: Dynamic voltage scaling
management). After a write operation to these bits and before decreasing the
voltage range, the HPREF bit must be read to be sure that the new value has been
taken into account.
Bits 3:2 SWS[1:0]: System clock switch status
These bits are set and cleared by hardware to indicate which clock source is used as system
clock.
00: MSI oscillator used as system clock
01: HSI16 oscillator used as system clock
10: HSE32 used as system clock
11: PLLRCLK used as system clock
Bits 1:0 SW[1:0]: System clock switch
These bits are set and cleared by software to select system clock source (SYSCLK). They
are configured by hardware to force MSI oscillator selection when exiting Shutdown mode
and Standby mode.
These bits can also be configured by hardware to force MSI or HSI16 oscillator selection
when exiting Stop mode or in case of failure of the HSE32 oscillator, depending on
STOPWUCK value.
00: MSI selected as system clock
01: HSI16 selected as system clock
10: HSE32 selected as system clock
11: PLLRCLK selected as system clock

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32WL55JC and is the answer not in the manual?

ST STM32WL55JC Specifications

General IconGeneral
BrandST
ModelSTM32WL55JC
CategoryMicrocontrollers
LanguageEnglish

Related product manuals