GD32F10x User Manual
112
Figure 5-6. Clock tree
/2
3-25 MHz
HXTAL
8 MHz
IRC8M
×2,3,4
…,32
PLL
Clock
Monitor
PLLSEL
PLLMF
0
1
00
01
10
CK_IRC8M
CK_HXTAL
CK_PLL
CK_SYS
108 MHz max
AHB
Prescaler
÷
1,2...512
CK_AHB
108 MHz max
APB1
Prescaler
÷
1,2,4,8,16
TIMER1,2,3,4,5,6
if(APB1 prescale
=1)x1
else x 2
APB2
Prescaler
÷
1,2,4,8,16
TIMER0,7
if(APB2 prescale
=1)x1
else x 2
ADC
Prescaler
÷
2,4,6,8,12,1
6
CK_APB2
108 MHz max
Peripheral enable
PCLK2
to APB2 peripherals
CK_APB1
54 MHz max
Peripheral enable
PCLK1
to APB1 peripherals
TIMERx
enable
CK_TIMERx
to TIMER0,7
TIMERx
enable
CK_TIMERx
to TIMER1,2,3,4,
5,6
CK_ADCx to ADC0,1
14 MHz max
AHB enable
HCLK
(to AHB bus,Cortex-M3,SRAM,DMA)
EXMC enable
CK_EXMC
(to EXMC)
÷8
CK_CST
(to Cortex-M3 SysTick)
FCLK
(free running clock)
USB OTG
Prescaler
1,1.5,2,2.5
CK_USBFS
(to USBFS)
32.768 KHz
LXTAL
11
10
01
40 KHz
IRC40K
CK_RTC
CK_FWDGT
(to RTC)
(to FWDGT)
/128
CK_OUT0
SCS[1:0]
RTCSRC[1:0]
PREDV0
0
1
CK_PLL
CK_HXTAL
CK_IRC8M
CK_SYS
/2
0111
00xx
NO CLK
0100
0101
0110
CKOUT0SEL[3:0]
48 MHz
EXT1
/2
1000
1001
1010
CK_PLL1
CK_PLL2
1011
CK_PLL2
/1,2,3
…
15,16
PREDV1
×8..14,16,
20
PLL1
PLL1MF
PLL2MF
×8..14,16,
20
PLL2
CK_PLL1
CK_PLL2
/1,2,3
…
15,16
x2
I2S1/2SEL
0
1
CK_I2S
1
/2,20
0
1
CK_MACTX
0
1 CK_MACRX
Ethernet
PHY
EXT1 to
CK_OUT
CK_MACRMII
PREDV0SEL
MII_RMII_SEL
CK_FMC
(to FMC)
NOTE
: GD32F101xx series maximum system clock is 54MHz.
The frequency of AHB, APB2 and the APB1 domains can be configured by each prescaler.
The maximum frequency of the AHB, APB2 and APB1 domains is 108 MHz/108 MHz/54 MHz.
The Cortex System Timer (SysTick) external clock is clocked with the AHB clock (HCLK)
divided by 8. The SysTick can work either with this clock or with the AHB clock (HCLK),
configurable in the systick Control and status register.
The ADCs are clocked by the clock of APB2 divided by 2, 4, 6, 8, 12, 16.
The TIMERs are clocked by the clock divided from CK_APB2 and CK_APB1. The frequency
of TIMERs clock is equal to CK_APBx(APB prescaler is 1), twice the CK_APBx(APB
prescaler is not 1).
The USBFS is clocked by the clock of CK_PLL as the clock source of 48MHz.
The I2S is clocked by the clock of CK_SYS or PLL2*2 which defined by I2SxSEL bit in
RCU_CFG1 register.
The ENET TX/RX are clocked by External PIN (ENET_TX_CLK / ENET_RX_CLK), which
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...