
Reset and clock control (RCC)
RM0351
202/1830
DocID024597 Rev 5
All the peripheral clocks are derived from their bus clock (HCLK, PCLK1 or PCLK2) except:
•
The 48 MHz clock, used for USB OTG FS, SDMMC and RNG. This clock is derived
(selected by software) from one of the four following sources:
–
main PLL VCO (PLL48M1CLK)
–
PLLSAI1 VCO (PLL48M2CLK)
–
MSI clock
–
HSI48 internal oscillator (only for STM32L496xx/4A6xx devices)
When the MSI clock is auto-trimmed with the LSE, it can be used by the USB OTG FS
device.
When available, the HSI48 48 MHz clock can be coupled to the clock recovery system
allowing adequate clock connection for the USB OTG FS (Crystal less solution).
•
The ADCs clock which is derived (selected by software) from one of the three following
sources:
–
system clock (SYSCLK)
–
PLLSAI1 VCO (PLLADC1CLK)
–
PLLSAI2 VCO (PLLADC2CLK)
•
The U(S)ARTs clocks which are derived (selected by software) from one of the four
following sources:
–
system clock (SYSCLK)
–
HSI16 clock
–
LSE clock
–
APB1 or APB2 clock (PCLK1 or PCLK2 depending on which APB is mapped the
U(S)ART)
The wakeup from Stop mode is supported only when the clock is HSI16 or LSE.
•
The I
2
Cs clocks which are derived (selected by software) from one of the three
following sources:
–
system clock (SYSCLK)
–
HSI16 clock
–
APB1 clock (PCLK1)
The wakeup from Stop mode is supported only when the clock is HSI16.
•
The SAI1 and SAI2 clocks which are derived (selected by software) from one of the five
following sources:
–
an external clock mapped on SAI1_EXTCLK for SAI1 and SAI2_EXTCLK for SAI2
–
PLLSAI1 VCO (PLLSAI1CLK)
–
PLLSAI2 VCO (PLLSAI2CLK)
–
main PLL VCO (PLLSAI3CLK)
–
HSI16 clock (only for STM32L496xx/4A6xx devices)
•
The SWPMI1 clock which is derived (selected by software) from one of the two
following sources:
–
HSI16 clock
–
APB1 clock (PCLK1)
The wakeup from Stop mode is supported only when the clock is HSI16.
•
The low-power timers (LPTIMx) clock which are derived (selected by software) from
one of the five following sources: