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 #294 background imageLoading...
Page #294 background image
Reset and clock control (RCC) RM0453
294/1450 RM0453 Rev 5
When the CPUs are in one of the low-power modes (Stop, Standby, or Shutdown) and the
sub-GHz radio is in Sleep, the HSE32 clock including the TCXO is disabled.
7.2.2 HSI16 clock
The HSI16 clock signal is generated from an internal 16 MHz Oscillator.
The HSI16 oscillator has the advantage of providing a clock source at low cost. It also has a
faster startup time than the HSE32 crystal oscillator however, even with calibration the
frequency is less accurate than an external crystal oscillator or ceramic resonator.
The HSI16 clock can be selected as system clock after wake-up from Stop modes (Stop 0,
Stop 1 or Stop 2). Refer to Section 7.3: Low-power modes. It can also be used as a backup
clock source (auxiliary clock) if the HSE32 crystal oscillator fails. Refer to Section 7.2.10:
Clock security system on HSE32 (CSS).
Calibration
The 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 1 % accuracy at
T
A
= 25 °C.
After a reset, the factory calibration value is loaded in the HSICAL[7:0] bits in the RCC
internal clock sources calibration register (RCC_ICSCR).
If the application is subject to voltage or temperature variations, this may affect the RC
oscillator speed. The HSI16 frequency can be trimmed in the application using the
HSITRIM[6:0] bits in the RCC internal clock sources calibration register (RCC_ICSCR).
For more details on how to measure the HSI16 frequency variation, refer to Section 7.2.20:
Internal/external clock measurement with TIM16/TIM17.
The HSIRDY flag in the RCC clock control register (RCC_CR) indicates if the HSI16 RC is
stable or not. At startup, the HSI16 RC output clock is not released until this bit is set by
hardware.
The HSI16 RC can be switched on and off using the HSION bit in the RCC clock control
register (RCC_CR).
The HSI16 signal can also be used as a backup source (Auxiliary clock) if the HSE32 crystal
oscillator fails. Refer to Section 7.2.10: Clock security system on HSE32 (CSS) on
page 298.
7.2.3 MSI clock
The MSI clock signal is generated from an internal RC oscillator. Its frequency range can be
adjusted by software using the MSIRANGE[3:0] bits in the RCC clock control register
(RCC_CR). The following frequency ranges are available: 100 kHz, 200 kHz, 400 kHz,
800 kHz, 1 MHz, 2 MHz, 4 MHz (default value), 8 MHz, 16 MHz, 24 MHz, 32 MHz and
48 MHz. To use the MSI range, it must be selected by MSIRGSEL.
The MSI clock is used as system clock after restart from reset, wake-up from Standby and
Shutdown low-power modes. After restart from Reset and Shutdown, the MSI frequency is
set to its default value 4 MHz (see Section 7.3: Low-power modes). When wake-up from
Standby, MSI can be adjusted by software using the MSISRANGE[3:0] bits in the RCC
control/status register (RCC_CSR). The following frequency ranges are available: 1MHz,
2 MHz, 4 MHz (default value) and 8 MHz.

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