English
Language : 

M0564LE4AE Datasheet, PDF (85/161 Pages) List of Unclassifed Manufacturers – 32-BIT MICROCONTROLLER
M0564
Set HXTFDEN To enable
HXT clock detector
NO
HXTFIF = 1?
YES
System clock source =
“HXT” or “PLL with
HXT” ?
NO
System clock keep
original clock
YES
Switch system clock to
HIRC
Figure 6.3-4 HXT Stop Protect Procedure
The clock source of SysTick in Cortex® -M0 core can use CPU clock or external clock
(SYST_CSR[2]). If using external clock, the SysTick clock (STCLK) has 5 clock sources. The
clock source switch depends on the setting of the register STCLKSEL (CLK_CLKSEL0[5:3]). The
block diagram is shown in Figure 6.3-5.
HIRC
1/2
HCLK
1/2
HXT
1/2
LXT
HXT
STCLKSEL
(CLK_CLKSEL0[5:3])
111
011
STCLK
010
001
000
Note: Before clock switching, both the pre-selected and newly selected clock source must be turned on and stable.
Figure 6.3-5 SysTick Clock Control Block Diagram
6.3.3 Peripherals Clock
The peripherals clock had different clock source switch setting, which depends on the different
peripheral. Please refer to the CLK_CLKSEL1, CLK_CLKSEL2 and CLK_CLKSEL3 register
description in section 6.3.7.
May 05, 2017
Page 85 of 161
Rev 1.00