English
Language : 

UM1510 Datasheet, PDF (16/69 Pages) STMicroelectronics – STM32L152D-EVAL demonstration firmware
Running the demonstration
UM1510
2.2
2.2.1
Clock sources
Clock control
The STM32L152ZD’s internal clocks are derived from the HSE (clocked by the external
8 MHz crystal).
In this demo application, the various system clocks are configured as follows:
● System clock is set to 32 MHz: the PLL is used as the system clock source: 32 MHz
(1 wait state, Flash memory prefetch buffer enabled).
● HCLK frequency is set to 32 MHz.
● Timer clock (TIMCLK) is set to 32 MHz.
● USB clock is set to 48 MHz.
● ADC clock is set to 16 MHz.
● PCLK1 is set to 32 MHz.
● PCLK2 is set to 32 MHz.
Only the RTC is clocked by a 32 kHz external oscillator.
Figure 11 illustrates the clock tree organization for this demo.
16/69
Doc ID 022713 Rev 1