AT32F421
Series Reference Manual
2022.11.11
Page 46
Rev 2.02
500 MHz and 1000 MHz. Before enabling PLL, it is mandatory to configure PLL parameters for the
reason that the configuration parameters cannot be altered once PLL is enabled. The PLL clock signal
is not released before it becomes stable.
PLL formula as follows:
PLL output clock = PLL input clock x PLL frequency multiplication factor / (PLL prescaler factor x PLL
post-scalar factor)
500MHz <= PLL input clock x PLL frequency multiplication factor / PLL prescaler factor <= 1000MHz
2MHz <= PLL input clock / PLL prescaler factor <= 16MHz
For example, when PLL input clock is 16 MHz, the PLL output frequency can be equal to 16 x 96 / (2 x
8) = 96 MHz
Low speed external oscillator (LEXT)
The LEXT oscillator provides two clock sources: LEXT crystal/ceramic resonator and LEXT bypass.
LEXT crystal/ceramic resonator:
The LEXT crystal/ceramic resonator provides a 32.768 KHz low-speed clock source. The LEXT clock
signal is not released before it becomes stable.
LEXT bypass clock:
In this mode, an external clock source with a frequency of 32.768 kHz can be provided. The external
clock signal should be connected to the LEXT_IN pin while the LEXT_OUT must remain floating.
Low speed internal RC oscillator (LICK)
The LICK oscillator is clocked by an internal low-speed RC oscillator. The clock frequency is between
30 kHz and 60 kHz. It acts as a low-power clock source that can be kept running in Deepsleep mode
and Standby mode for watchdog and auto-wakeup unit.
The LICK clock signal is not released before it becomes stable.
4.1.2
System clock
After a system reset, the HICK oscillator is selected as system clock. The system clock can make flexible
switch among HICK oscillator, HEXT oscillator and PLL clock. However, a switch from one clock source
to another occurs only when the target clock source becomes stable. When the HICK oscillator is used
directly or indirectly through the PLL as the system clock, it cannot be stopped.
4.1.3
Peripheral clock
Most peripherals use HCLK, PCLK1 or PCLK2 clock. The individual peripherals have their dedicated
clocks.
System Tick timer (SysTick) is clocked by HCLK or HCLK/8.
ADC is clocked by APB2 divided by 2, 4, 6, 8, 12, 16.
The timers are clocked by APB1/2. In particular, if the APB prescaler is 1, the timer clock frequency is
equal to that of APB1/2; otherwise, the timer clock frequency doubles that of the APB1/2 frequency.
ERTC clock sources: HEXT/32 oscillator, LEXT oscillator and LICK oscillator. Once the clock source is
selected, it cannot be altered without resetting the battery powered domain. If the LEXT is used as an
ERTC clock, the ERTC is not affected when the VDD is powered off. If the HEXT or LICK is selected as
an ERTC clock, the ERTC state is not guaranteed when both HEXT and LICK are powered off.
Watchdog is clocked by LICK oscillator. If the watchdog is enabled by either hardware option or software
access, the LICK oscillator is forced ON. The clock is provided to the watchdog only after the LICK
oscillator temporization.