GigaDevice Semiconductor Inc.
GD32F470xx
Arm® Cortex®-M4 32-bit MCU
Datasheet
GD32F470xx Datasheet
Table of Contents
Table of Contents ........................................................................................................... 1
List of Figures ................................................................................................................ 4
List of Tables .................................................................................................................. 5
1. General description ................................................................................................. 7
2. Device overview ....................................................................................................... 8
2.1.
Device information ................................................................................................... 8
2.2.
Block diagram ........................................................................................................ 10
2.3.
Pinouts and pin assignment .................................................................................. 11
2.4.
Memory map ........................................................................................................... 14
2.5.
Clock tree................................................................................................................ 17
2.6.
Pin definitions ........................................................................................................ 18
2.6.1.
GD32F470Ix BGA176 pin definitions .................................................................................... 18
2.6.2.
GD32F470Zx LQFP144 pin definitions ................................................................................. 28
2.6.3.
GD32F470Vx BGA100 pin definitions .................................................................................. 37
2.6.4.
GD32F470Vx LQFP100 pin definitions ................................................................................ 44
2.6.5.
GD32F470xx pin alternate functions .................................................................................... 51
3. Functional description .......................................................................................... 60
3.1.
Arm® Cortex®-M4 core ............................................................................................ 60
3.2.
On-chip memory ..................................................................................................... 60
3.3.
Clock, reset and supply management .................................................................. 61
3.4.
Boot modes ............................................................................................................ 62
3.5.
Power saving modes.............................................................................................. 62
3.6.
Analog to digital converter (ADC) ......................................................................... 62
3.7.
Digital to analog converter (DAC) ......................................................................... 63
3.8.
DMA......................................................................................................................... 63
3.9.
General-purpose inputs/outputs (GPIOs) ............................................................. 64
3.10.
Timers and PWM generation ................................................................................. 64
3.11.
Real time clock (RTC) and backup registers ........................................................ 65
3.12.
Inter-integrated circuit (I2C) .................................................................................. 66
3.13.
Serial peripheral interface (SPI) ............................................................................ 66
3.14.
Universal synchronous/asynchronous receiver transmitter (USART/UART) .... 66
1
GD32F470xx Datasheet
3.15.
Inter-IC sound (I2S) ................................................................................................ 67
3.16.
Universal serial bus full-speed interface (USBFS) ............................................... 67
3.17.
Universal serial bus high-speed interface (USBHS) ............................................ 67
3.18.
Controller area network (CAN) .............................................................................. 68
3.19.
Ethernet (ENET) ...................................................................................................... 68
3.20.
External memory controller (EXMC) ..................................................................... 68
3.21.
Secure digital input and output card interface (SDIO) ......................................... 69
3.22.
TFT LCD interface (TLI) .......................................................................................... 69
3.23.
Image processing accelerator (IPA) ...................................................................... 69
3.24.
Digital camera interface (DCI)................................................................................ 70
3.25.
Debug mode ........................................................................................................... 70
3.26.
Package and operation temperature ..................................................................... 70
4. Electrical characteristics ....................................................................................... 71
4.1.
Absolute maximum ratings ................................................................................... 71
4.2.
Recommended DC characteristics ....................................................................... 71
4.3.
Power consumption ............................................................................................... 73
4.4.
EMC characteristics ............................................................................................... 79
4.5.
Power supply supervisor characteristics ............................................................. 80
4.6.
Electrical sensitivity ............................................................................................... 82
4.7.
External clock characteristics ............................................................................... 82
4.8.
Internal clock characteristics ................................................................................ 85
4.9.
PLL characteristics ................................................................................................ 86
4.10.
Memory characteristics ......................................................................................... 88
4.11.
NRST pin characteristics ....................................................................................... 88
4.12.
GPIO characteristics .............................................................................................. 89
4.13.
ADC characteristics ............................................................................................... 92
4.14.
Temperature sensor characteristics ..................................................................... 93
4.15.
DAC characteristics ............................................................................................... 93
4.16.
I2C characteristics ................................................................................................. 94
4.17.
SPI characteristics ................................................................................................. 96
4.18.
I2S characteristics.................................................................................................. 98
4.19.
USART characteristics ......................................................................................... 100
2
GD32F470xx Datasheet
4.20.
SDIO characteristics ............................................................................................ 100
4.21.
CAN characteristics ............................................................................................. 100
4.22.
USBFS characteristics ......................................................................................... 101
4.23.
USBHS characteristics ........................................................................................ 102
4.24.
EXMC characteristics........................................................................................... 102
4.25.
TIMER characteristics .......................................................................................... 106
4.26.
DCI characteristics ............................................................................................... 106
4.27.
WDGT characteristics .......................................................................................... 107
4.28.
Parameter conditions........................................................................................... 107
5. Package information............................................................................................ 108
5.1.
BGA176 package outline dimensions ................................................................. 108
5.2.
LQFP144 package outline dimensions ................................................................110
5.3.
BGA100 package outline dimensions ..................................................................112
5.4.
LQFP100 package outline dimensions ................................................................114
5.5.
Thermal characteristics ........................................................................................116
6. Ordering information ........................................................................................... 118
7. Revision history ................................................................................................... 119
3
GD32F470xx Datasheet
List of Figures
Figure 2-1. GD32F470xx block diagram .................................................................................................. 10
Figure 2-2. GD32F470Ix BGA176 pinouts ................................................................................................. 11
Figure 2-3. GD32F470Zx LQFP144 pinouts ............................................................................................. 12
Figure 2-4. GD32F470Vx BGA100 pinouts .............................................................................................. 13
Figure 2-5. GD32F470Vx LQFP100 pinouts ............................................................................................. 13
Figure 2-6. GD32F470xx clock tree .......................................................................................................... 17
Figure 4-1. Recommended power supply decoupling capacitors (1)(2) .................................................. 72
Figure 4-2. Typical supply current consumption in Run mode ............................................................ 79
Figure 4-3. Typical supply current consumption in Sleep mode .......................................................... 79
Figure 4-4. Recommended PDR_ON pin circuit ..................................................................................... 81
Figure 4-5. Recommended external NRST pin circuit(1) ......................................................................... 89
Figure 4-6. I2C bus timing diagram.......................................................................................................... 95
Figure 4-7. SPI timing diagram - master mode ....................................................................................... 96
Figure 4-8. SPI timing diagram - slave mode .......................................................................................... 97
Figure 4-9. I2S timing diagram - master mode ....................................................................................... 99
Figure 4-10. I2S timing diagram - slave mode ........................................................................................ 99
Figure 4-11. USBFS timings: definition of data signal rise and fall time ........................................... 101
Figure 5-1. BGA176 package outline ..................................................................................................... 108
Figure 5-2. BGA176 recommended footprint ........................................................................................ 109
Figure 5-3. LQFP144 package outline .................................................................................................... 110
Figure 5-4. LQFP144 recommended footprint ....................................................................................... 111
Figure 5-5. BGA100 package outline ...................................................................................................... 112
Figure 5-6. BGA100 recommended footprint ......................................................................................... 113
Figure 5-7. LQFP100 package outline .................................................................................................... 114
Figure 5-8. LQFP100 recommended footprint ....................................................................................... 115
1.
Add Figure 4-4. Recommended PDR_ON pin circuit in chapter 4.5. Power supply supervisor
characteristics. ......................................................................................................................................... 119
3.
Update Figure 4-5. Recommended external NRST pin circuit(1). .................................................. 119
4
GD32F470xx Datasheet
List of Tables
Table 2-1. GD32F470xx devices features and peripheral list .................................................................. 8
Table 2-2. GD32F470xx memory map ...................................................................................................... 14
Table 2-3. GD32F470Ix BGA176 pin definitions ...................................................................................... 18
Table 2-4. GD32F470Zx LQFP144 pin definitions ................................................................................... 28
Table 2-5. GD32F470Vx BGA100 pin definitions .................................................................................... 37
Table 2-6. GD32F470Vx LQFP100 pin definitions ................................................................................... 44
Table 2-7. Port A alternate functions summary ...................................................................................... 51
Table 2-8. Port B alternate functions summary ...................................................................................... 52
Table 2-9. Port C alternate functions summary ...................................................................................... 53
Table 2-10. Port D alternate functions summary .................................................................................... 54
Table 2-11. Port E alternate functions summary .................................................................................... 55
Table 2-12. Port F alternate functions summary .................................................................................... 56
Table 2-13. Port G alternate functions summary .................................................................................... 57
Table 2-14. Port H alternate functions summary .................................................................................... 58
Table 2-15. Port I alternate functions summary ..................................................................................... 59
Table 4-1. Absolute maximum ratings(1)(4) ............................................................................................... 71
Table 4-2. DC operating conditions ......................................................................................................... 71
Table 4-3. Clock frequency(1) .................................................................................................................... 72
Table 4-4. Operating conditions at Power up / Power down(1) .............................................................. 72
Table 4-5. Start-up timings of Operating conditions (1)(2)(3) ..................................................................... 72
Table 4-6. Power saving mode wakeup timings characteristics(1)(2) ..................................................... 72
Table 4-7. Power consumption characteristics(2)(3)(4)(5) .......................................................................... 73
Table 4-8. EMS characteristics(1) .............................................................................................................. 80
Table 4-9. EMI characteristics(1) ............................................................................................................... 80
Table 4-10. Power supply supervisor characteristics............................................................................ 80
Table 4-11. ESD characteristics(1) ............................................................................................................ 82
Table 4-12. Static latch-up characteristics(1) ........................................................................................... 82
Table 4-13. High speed external clock (HXTAL) generated from a crystal/ceramic characteristics . 82
Table 4-14. High speed external clock characteristics (HXTAL in bypass mode) .............................. 83
Table 4-15. Low speed external clock (LXTAL) generated from a crystal/ceramic characteristics .. 84
Table 4-16. Low speed external user clock characteristics (LXTAL in bypass mode) ....................... 84
Table 4-17. High speed internal clock (IRC16M) characteristics .......................................................... 85
Table 4-18. High speed internal clock (IRC48M) characteristics .......................................................... 85
Table 4-19. Low speed internal clock (IRC32K) characteristics ........................................................... 86
Table 4-20. PLL characteristics ................................................................................................................ 86
Table 4-21. PLLI2S characteristics .......................................................................................................... 86
Table 4-22. PLLSAI characteristics .......................................................................................................... 87
Table 4-23. PLL spread spectrum clock generation (SSCG) characteristics ...................................... 87
Table 4-24. Flash memory characteristics .............................................................................................. 88
Table 4-25. NRST pin characteristics ...................................................................................................... 88
5
GD32F470xx Datasheet
Table 4-26. I/O port DC characteristics(1)(3) .............................................................................................. 89
Table 4-27. I/O port AC characteristics(1)(2)(4) ........................................................................................... 91
Table 4-28. ADC characteristics ............................................................................................................... 92
Table 4-29. ADC RAIN max for fADC = 40 MHz(2) ....................................................................................... 92
Table 4-30. ADC dynamic accuracy at fADC = 40 MHz(1) .......................................................................... 93
Table 4-31. ADC static accuracy at fADC = 40 MHz(1) ............................................................................... 93
Table 4-32. Temperature sensor characteristics(1) ................................................................................. 93
Table 4-33. DAC characteristics ............................................................................................................... 93
Table 4-34. I2C characteristics(1)(2) ........................................................................................................... 94
Table 4-35. Standard SPI characteristics(1) ............................................................................................. 96
Table 4-36. I2S characteristics(1)(2) ........................................................................................................... 98
Table 4-37. USART characteristics(1) ..................................................................................................... 100
Table 4-38. SDIO characteristics(1)(2) ...................................................................................................... 100
Table 4-39. USBFS start up time ............................................................................................................ 101
Table 4-40. USBFS DC electrical characteristics ................................................................................. 101
Table 4-41. USBFS full speed-electrical characteristics(1)................................................................... 101
Table 4-42. USBHS clock timing parameters(1) ..................................................................................... 102
Table 4-43. USB-ULPI Dynammic characteristics ................................................................................ 102
Table 4-44. Asynchronous non-multiplexed SRAM/PSRAM/NOR read timings(1)(2)(3) ....................... 102
Table 4-45. Asynchronous non-multiplexed SRAM/PSRAM/NOR write timings(1)(2)(3) ...................... 103
Table 4-46. Asynchronous multiplexed PSRAM/NOR read timings(1)(2)(3) .......................................... 103
Table 4-47. Asynchronous multiplexed PSRAM/NOR write timings(1)(2)(3).......................................... 103
Table 4-48. Synchronous multiplexed PSRAM/NOR read timings(1)(2)(3)............................................. 104
Table 4-49. Synchronous multiplexed PSRAM write timings(1)(2)(3) ..................................................... 104
Table 4-50. Synchronous non-multiplexed PSRAM/NOR read timings(1)(2)(3) ..................................... 105
Table 4-51. Synchronous non-multiplexed PSRAM write timings(1)(2)(3) ............................................. 105
Table 4-52. TIMER characteristics(1) ...................................................................................................... 106
Table 4-53. DCI characteristics(1) ........................................................................................................... 106
Table 4-54. FWDGT min/max timeout period at 32 kHz (IRC32K)(1) .................................................... 107
Table 4-55. WWDGT min-max timeout value at 60 MHz (fPCLK1)(1)........................................................ 107
Table 5-1. BGA176 package dimensions .............................................................................................. 108
Table 5-2. LQFP144 package dimensions .............................................................................................. 110
Table 5-3. BGA100 package dimensions ............................................................................................... 112
Table 5-4. LQFP100 package dimensions .............................................................................................. 114
Table 5-5. Package thermal characteristics(1) ........................................................................................ 116
Table 6-1. Part ordering code for GD32F470xx devices ....................................................................... 118
Table 7-1. Revision history ...................................................................................................................... 119
6
GD32F470xx Datasheet
1.
General description
The GD32F470xx device belongs to the stretch performance line of GD32 MCU family. It is a
new 32-bit general-purpose microcontroller based on the Arm® Cortex®-M4 RISC core with
best cost-performance ratio in terms of enhanced processing capacity, reduced power
consumption and peripheral set. The Cortex®-M4 core features a Floating Point Unit (FPU)
that accelerates single precision floating point math operations and supports all Arm® single
precision instructions and data types. It implements a full set of DSP instructions to address
digital signal control markets that demand an efficient, easy-to-use blend of control and signal
processing capabilities. It also provides a Memory Protection Unit (MPU) and powerful trace
technology for enhanced application security and advanced debug support.
The GD32F470xx device incorporates the Arm® Cortex®-M4 32-bit processor core operating
at 240 MHz frequency with Flash accesses zero wait states to obtain maximum efficiency. It
provides up to 3072 KB on-chip Flash memory and 768 KB SRAM memory. An extensive
range of enhanced I/Os and peripherals connected to two APB buses. The devices offer up
to three 12-bit 2.6 MSPS ADCs, two 12-bit DACs, up to eight general 16-bit timers, two 16bit PWM advanced timers, two 32-bit general timers, and two 16-bit basic timers, as well as
standard and advanced communication interfaces: up to six SPIs, three I2Cs, four USARTs
and four UARTs, two I2Ss, two CANs, a SDIO, USBFS and USBHS, and an ENET. Additional
peripherals as Digital camera interface (DCI), EXMC interface with SDRAM extension support,
TFT-LCD Interface (TLI) and Image Processing Accelerator (IPA) are included.
The device operates from a 2.6 to 3.6V power supply and available in –40 to +85 °C
temperature range. Three power saving modes provide the flexibility for maximum
optimization of power consumption, an especially important consideration in low power
applications.
The above features make GD32F470xx devices suitable for a wide range of interconnection
and advanced applications, especially in areas such as industrial control, consumer and
handheld equipment, embedded modules, human machine interface, security and alarm
systems, graphic display, automotive navigation, drone, IoT and so on.
7
GD32F470xx Datasheet
2.
Device overview
2.1.
Device information
Table 2-1. GD32F470xx devices features and peripheral list
Part
Number
VE
VG
512
768
VI
VK
VG
VI
VK
ZE
ZG
512 1024 512
768
ZI
ZK
IG
II
IK
Code
area
512 1024 768
512 1024 768
512 1024
Flash
(KB)
Data
area
0
256 1536 2048 256 1536 2048
0
256 1536 2048 256 1536 2048
(KB)
Total
(KB)
512 1024 2048 3072 1024 2048 3072 512 1024 2048 3072 1024 2048 3072
SRAM (KB) 256
General
timer(16
512
768
256
512
768
256
256
512
768
256
512
768
256
8
8
8
8
8
8
8
8
8
8
8
8
8
8
(2-3,8-13)
(2-3,8-13)
(2-3,8-13)
(2-3,8-13)
(2-3,8-13)
(2-3,8-13)
(2-3,8-13)
(2-3,8-13)
(2-3,8-13)
(2-3,8-13)
(2-3,8-13)
(2-3,8-13)
(2-3,8-13)
(2-3,8-13)
2
2
2
2
2
2
2
2
2
2
2
2
2
2
(1,4)
(1,4)
(1,4)
(1,4)
(1,4)
(1,4)
(1,4)
(1,4)
(1,4)
(1,4)
(1,4)
(1,4)
(1,4)
(1,4)
-bit)
General
timer(32
-bit)
Timers
Advanc
ed
2
2
2
2
2
2
2
2
2
2
2
2
2
2
timer(16
(0,7)
(0,7)
(0,7)
(0,7)
(0,7)
(0,7)
(0,7)
(0,7)
(0,7)
(0,7)
(0,7)
(0,7)
(0,7)
(0,7)
-bit)
Basic
2
2
2
2
2
2
2
2
2
2
2
2
2
2
(5,6)
(5,6)
(5,6)
(5,6)
(5,6)
(5,6)
(5,6)
(5,6)
(5,6)
(5,6)
(5,6)
(5,6)
(5,6)
(5,6)
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
2
2
2
RTC
1
1
1
1
1
1
1
1
1
1
1
1
1
1
USART
4
4
4
4
4
4
4
4
4
4
4
4
4
4
UART
4
4
4
4
4
4
4
4
4
4
4
4
4
4
I2C
3
3
3
3
3
3
3
3
3
3
3
3
3
3
timer(16
-bit)
SysTick
Watchd
Connectivity
og
SPI/I2S
SDIO
5/2
5/2
5/2
5/2
5/2
5/2
5/2
6/2
6/2
6/2
6/2
6/2
6/2
6/2
(0-4)/(1-2)
(0-4)/(1-2)
(0-4)/(1-2)
(0-4)/(1-2)
(0-4)/(1-2)
(0-4)/(1-2)
(0-4)/(1-2)
(0-5)/(1-2)
(0-5)/(1-2)
(0-5)/(1-2)
(0-5)/(1-2)
(0-5)/(1-2)
(0-5)/(1-2)
(0-5)/(1-2)
1
1
1
1
1
1
1
1
1
1
1
1
1
1
8
GD32F470xx Datasheet
Part
Number
CAN
USB
VE
VG
VI
VK
VG
VI
VK
ZE
ZG
ZI
ZK
IG
II
IK
2
2
2
2
2
2
2
2
2
2
2
2
2
2
FS+ FS+ FS+ FS+ FS+H FS+H FS+H FS+ FS+ FS+ FS+ FS+ FS+ FS+
HS
HS
HS
HS
S
S
S
HS
HS
HS
HS
HS
HS
HS
ENET
1
1
1
1
1
1
1
1
1
1
1
1
1
1
TLI
1
1
1
1
1
1
1
1
1
1
1
1
1
1
DCI
1
1
1
1
1
1
1
1
1
1
1
1
1
1
82
82
82
82
82
82
82
114
114
114
114
140
140
140
1/0
1/0
1/0
1/0
1/0
1/0
1/0
1/1
1/1
1/1
1/1
1/1
1/1
1/1
GPIO
EXMC/SDR
AM
ADC(CHs) 3(16) 3(16) 3(16) 3(16) 3(16) 3(16) 3(16) 3(24) 3(24) 3(24) 3(24) 3(24) 3(24) 3(24)
DAC
Package
2
2
2
LQFP100
2
2
2
BGA100
2
2
2
2
LQFP144
2
2
2
2
BGA176
9
GD32F470xx Datasheet
Block diagram
Figure 2-1. GD32F470xx block diagram
Powered By LDO (1.2V)
Flash Memory
master
DBUS
master
SBUS
SW/JTA G
IBUS
TPIU
master
slave
FMC
slave
M
master
P
master
M
master
P
master
DMA0
DMA1
ENET
master
TLI
master
AHB Interconnect Matrix (Fmax=240MHz)
ARM Cortex-M4
Processor
Fmax: 240MHz
Powered By V DDA
slave
TCMSRAM
slave
SRAM0
slave
SRAM1
slave
SRAM2
slave
ADDSRAM
slave
EXMC
BKP SRAM
DAC
CRC
LVD
PLLs
IRC16M
IRC32K
GPIO
RCU
slave
AHB1 Per ipheral s
USBHS
master
IPA
master
TRNG
DCI
USBFS
slave
AHB2 Per ipheral s
slave
AHB Interconnect Matrix (Fmax=240MHz)
slave
2.2.
SDIO
SPI5
SPI4
SPI3
SPI0
SYS CFG
CTC
DAC
TIMER10
IRE F
CAN1
TIMER9
TIMER13
CAN0
TIMER8
TIMER12
UART7
TIMER7
TIMER11
UART6
TIMER0
TIMER6
UART4
USART5
TIMER5
UART3
USART0
TIMER4
USART2
TIMER3
TIMER2
TIMER1
WWDG T
SAR
ADC
Powered By V DDA
POR/
PDR
USART1
I2C2
I2C1
I2C0
I2S2_add
SPI2/I2S2
SPI1/I2S1
LDO
FWDG T
HXTAL
APB1 (Fmax=60MHz)
ADC0~2
APB2 (Fmax=120MHz)
EXTI
I2S1_add
PMU
Powered By V DD
LXTAL
RTC
Powered By V B AT
10
GD32F470xx Datasheet
2.3.
Pinouts and pin assignment
Figure 2-2. GD32F470Ix BGA176 pinouts
1
2
3
4
5
6
7
8
9
10
11
A
PE3
PE2
PE1
PE0
PB8
PB5
PG14 PG13
PB4
PB3
PD7
PC12 PA15 PA14 PA13
B
PE4
PE5
PE6
PB9
PB7
PB6
PG15 PG12 PG11 PG10
PD6
PD0
C
VBAT
PI7
PI6
PI5
VDD
PDR_ON
VDD
VDD
VDD
PG9
PD5
PD1
PI3
PI2
PA11
D
PC13
PI8
PI9
PI4
VSS BOOT0
VSS
VSS
VSS
PD4
PD3
PD2
PH15
PI1
PA10
E
PC14
PF0
PI10
PI11
PH13 PH14
PI0
PA9
F
PC15
VSS
VDD
PH2
VSS
VSS
VSS
VSS
VSS
VSS
NC
PC9
PA8
G
PH0
VSS
VDD
PH3
VSS
VSS
VSS
VSS
VSS
VSS
VDD
PC8
PC7
H
PH1
PF2
PF1
PH4
VSS
VSS
VSS
VSS
VSS
VSS
VDD
PG8
PC6
J
NRST
PF3
PF4
PH5
VSS
VSS
VSS
VSS
VSS
VDD
VDD
PG7
PG6
K
PF7
PF6
PF5
VDD
VSS
VSS
VSS
VSS
VSS
PH12
PG5
PG4
PG3
L
PF10
PF9
PF8
NC
PH11 PH10 PD15
PG2
M
VSSA PC0
PC1
PC2
PC3
PB2
PG1
VSS
VSS
NC
PH6
PH8
PH9
N
VREF- PA1
PA0
PA4
PC4
PF13
PG0
VDD
VDD
VDD
PE13
PH7
PD12 PD11 PD10
P
VREF+ PA2
PA6
PA5
PC5
PF12
PF15
PE8
PE9
PE11
PE14 PB12
PB13
PD9
PD8
R
VDDA PA3
PA7
PB1
PB0
PF11
PF14
PE7
PE10 PE12
PE15 PB10
PB11 PB14
PB15
GigaDevice GD32F470Ix
BGA176
12
13
14
15
PC11 PC10 PA12
PD14 PD13
11
GD32F470xx Datasheet
Figure 2-3. GD32F470Zx LQFP144 pinouts
PA14
PA15
PC10
PC11
PC12
PD0
PD1
PD2
PD3
PD4
PD5
VSS
VDD
PD6
PD7
PG9
PG11
PG10
PG12
PG13
PG14
VDD
VSS
PG15
PB4
PB3
PB5
PB6
PB7
BOOT0
PB8
PB9
PE0
PE1
VDD
PDR_ON
144143142141140139138137136135134133 132131130129128127126125124123122121120 119118117116115114113112111110109
PE2
1
108
PE3
PE4
2
107
VSS
3
106
NC
PE5
PE6
4
105
PA13
5
104
PA12
VBAT
6
103
PA11
PC13-TAMPER-RTC
PC14-OSC32IN
7
102
PA10
8
101
PA9
PC15-OSC32OUT
9
100
PA8
PF0
10
99
PC9
PF1
11
98
PC8
PF2
12
97
PC7
PF3
PF4
13
96
PC6
14
95
VDD
PF5
15
94
VSS
VSS
16
93
PG8
VDD
17
92
PG7
91
PG6
90
PG5
89
PG4
88
PG3
GigaDevice GD32F470Zx
LQFP144
VDD
PF6
18
PF7
19
PF8
20
PF9
21
PF10
22
87
PG2
PH0-OSCIN
23
86
PD15
PH1-OSCOUT
24
85
PD14
NRST
25
84
VDD
PC0
26
83
VSS
PC1
27
82
PD13
PC2
28
81
PD12
PC3
VDD
29
80
PD11
30
79
PD10
VSSA
VREF+
31
78
PD9
32
77
PD8
VDDA
33
76
PB15
PA0_WKUP
34
75
PB14
PA1
35
74
PB13
PA2
36
73
PB12
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
NC
VDD
PB11
PB10
PE15
PE13
PE14
PE12
PE11
VDD
PE10
VSS
PE8
PE9
PE7
PG1
PG0
PF15
PF13
PF14
VSS
VDD
PF12
PB2
PF11
PB1
PC5
PB0
PA7
PC4
PA6
PA5
PA4
VSS
VDD
PA3
12
GD32F470xx Datasheet
Figure 2-4. GD32F470Vx BGA100 pinouts
1
2
A
PE3
PE1
B
PE4
C
3
4
5
6
7
8
9
10
11
PB8 BOOT0
PD7
PD5
PB4
PB3
PA15 PA14
PE2
PB9
PB7
PB6
PD6
PD4
PD3
PD1
PC12 PC10 PA11
PC13
PE5
PE0
VDD
PB5
PD2
PD0
PC11
NC
PA10
D
PC14
PE6
VSS
PA9
PA8
PC9
E
PC15 VBAT
NC
PC8
PC7
PC6
F
PH0
VSS
VSS
VSS
G
PH1
VDD
VDD
VDD
H
PC0 NRST
GigaDevice GD32F470Vx
BGA100
12
PA13 PA12
PDR_
ON
PD15
PD14 PD13
PD12
PD11 PD10
PB15
PB14 PB13
J
VSSA
PC1
PC2
K
VREF-
PC3
PA2
PA5
PC4
L
VREF+
PA0
PA3
PA6
PC5
PB2
PE8
M
VDDA PA1
PA4
PA7
PB0
PB1
PE7
PD9
PB11
PE10 PE12 PB10
PE9
NC
PB12
PE11 PE13 PE14 PE15
Figure 2-5. GD32F470Vx LQFP100 pinouts
PA14
PA15
PC10
PC11
PC12
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PB4
PB3
PB5
PB6
PB7
BOOT0
PB8
PB9
PE0
PE1
VSS
VDD
PE2
1
100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76
75
PE3
PE4
2
74
VSS
3
73
NC
PE5
PE6
4
72
PA13
5
71
PA12
VBAT
6
PC13-TAMPER-RTC
PC14-OSC32IN
7
70
69
PA10
8
68
PA9
PC15-OSC32OUT
9
67
PA8
VSS
10
66
PC9
VDD
11
65
PC8
64
PC7
63
PC6
PH0-OSCIN
12
PH1-OSCOUT
13
GigaDevice GD32F470Vx
LQFP100
VDD
PA11
NRST
PC0
14
62
PD15
15
61
PD14
PC1
16
60
PD13
PC2
PC3
17
59
PD12
18
58
PD11
VDD
19
57
PD10
VSSA
VREF+
20
56
PD9
21
55
PD8
VDDA
22
54
PB15
PA0-WKUP
23
53
PB14
PA1
24
52
PB13
PA2
25
51
PB12
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
VDD
PB11
NC
PB10
PE15
PE14
PE13
PE11
PE12
PE10
PE9
PE8
PE7
PB2
PB1
PC5
PB0
PA7
PC4
PA6
PA5
PA4
VSS
VDD
PA3
13
GD32F470xx Datasheet
2.4.
Memory map
Table 2-2. GD32F470xx memory map
Pre-defined
Regions
Bus
External
Device
AHB
External
RAM
AHB2
Peripheral
AHB1
Address
Peripherals
0xC000 0000 - 0xDFFF FFFF
EXMC - SDRAM
0xA000 1000 - 0xBFFF FFFF
Reserved
0xA000 0000 - 0xA000 0FFF
EXMC - SWREG
0x9000 0000 - 0x9FFF FFFF
EXMC - PC CARD
0x7000 0000 - 0x8FFF FFFF
EXMC - NAND
0x6000 0000 - 0x6FFF FFFF
EXMC - NOR/PSRAM/SRAM
0x5006 0C00 - 0x5FFF FFFF
Reserved
0x5006 0800 - 0x5006 0BFF
TRNG
0x5005 0400 - 0x5006 07FF
Reserved
0x5005 0000 - 0x5005 03FF
DCI
0x5004 0000 - 0x5004 FFFF
Reserved
0x5000 0000 - 0x5003 FFFF
USBFS
0x4008 0000 - 0x4FFF FFFF
Reserved
0x4004 0000 - 0x4007 FFFF
USBHS
0x4002 BC00 - 0x4003 FFFF
Reserved
0x4002 B000 - 0x4002 BBFF
IPA
0x4002 A000 - 0x4002 AFFF
Reserved
0x4002 8000 - 0x4002 9FFF
ENET
0x4002 6800 - 0x4002 7FFF
Reserved
0x4002 6400 - 0x4002 67FF
DMA1
0x4002 6000 - 0x4002 63FF
DMA0
0x4002 5000 - 0x4002 5FFF
Reserved
0x4002 4000 - 0x4002 4FFF
BKP SRAM
0x4002 3C00 - 0x4002 3FFF
FMC
0x4002 3800 - 0x4002 3BFF
RCU
0x4002 3400 - 0x4002 37FF
Reserved
0x4002 3000 - 0x4002 33FF
CRC
0x4002 2400 - 0x4002 2FFF
Reserved
0x4002 2000 - 0x4002 23FF
GPIOI
0x4002 1C00 - 0x4002 1FFF
GPIOH
0x4002 1800 - 0x4002 1BFF
GPIOG
0x4002 1400 - 0x4002 17FF
GPIOF
0x4002 1000 - 0x4002 13FF
GPIOE
0x4002 0C00 - 0x4002 0FFF
GPIOD
0x4002 0800 - 0x4002 0BFF
GPIOC
0x4002 0400 - 0x4002 07FF
GPIOB
0x4002 0000 - 0x4002 03FF
GPIOA
14
GD32F470xx Datasheet
Pre-defined
Regions
Bus
APB2
APB1
Address
Peripherals
0x4001 6C00 - 0x4001 FFFF
Reserved
0x4001 6800 - 0x4001 6BFF
TLI
0x4001 5800 - 0x4001 67FF
Reserved
0x4001 5400 - 0x4001 57FF
SPI5
0x4001 5000 - 0x4001 53FF
SPI4
0x4001 4C00 - 0x4001 4FFF
Reserved
0x4001 4800 - 0x4001 4BFF
TIMER10
0x4001 4400 - 0x4001 47FF
TIMER9
0x4001 4000 - 0x4001 43FF
TIMER8
0x4001 3C00 - 0x4001 3FFF
EXTI
0x4001 3800 - 0x4001 3BFF
SYSCFG
0x4001 3400 - 0x4001 37FF
SPI3
0x4001 3000 - 0x4001 33FF
SPI0
0x4001 2C00 - 0x4001 2FFF
SDIO
0x4001 2400 - 0x4001 2BFF
Reserved
0x4001 2300 - 0x4001 23FF
ADC0(1)
0x4001 2200 - 0x4001 22FF
ADC2
0x4001 2100 - 0x4001 21FF
ADC1
0x4001 2000 - 0x4001 20FF
ADC0
0x4001 1800 - 0x4001 1FFF
Reserved
0x4001 1400 - 0x4001 17FF
USART5
0x4001 1000 - 0x4001 13FF
USART0
0x4001 0800 - 0x4001 0FFF
Reserved
0x4001 0400 - 0x4001 07FF
TIMER7
0x4001 0000 - 0x4001 03FF
TIMER0
0x4000 C800 - 0x4000 FFFF
Reserved
0x4000 C400 - 0x4000 C7FF
IREF
0x4000 8000 - 0x4000 C3FF
Reserved
0x4000 7C00 - 0x4000 7FFF
UART7
0x4000 7800 - 0x4000 7BFF
UART6
0x4000 7400 - 0x4000 77FF
DAC
0x4000 7000 - 0x4000 73FF
PMU
0x4000 6C00 - 0x4000 6FFF
CTC
0x4000 6800 - 0x4000 6BFF
CAN1
0x4000 6400 - 0x4000 67FF
CAN0
0x4000 6000 - 0x4000 63FF
Reserved
0x4000 5C00 - 0x4000 5FFF
I2C2
0x4000 5800 - 0x4000 5BFF
I2C1
0x4000 5400 - 0x4000 57FF
I2C0
0x4000 5000 - 0x4000 53FF
UART4
15
GD32F470xx Datasheet
Pre-defined
Regions
SRAM
Code
Bus
AHB
AHB
Address
Peripherals
0x4000 4C00 - 0x4000 4FFF
UART3
0x4000 4800 - 0x4000 4BFF
USART2
0x4000 4400 - 0x4000 47FF
USART1
0x4000 4000 - 0x4000 43FF
I2S2_add
0x4000 3C00 - 0x4000 3FFF
SPI2/I2S2
0x4000 3800 - 0x4000 3BFF
SPI1/I2S1
0x4000 3400 - 0x4000 37FF
I2S1_add
0x4000 3000 - 0x4000 33FF
FWDGT
0x4000 2C00 - 0x4000 2FFF
WWDGT
0x4000 2800 - 0x4000 2BFF
RTC
0x4000 2400 - 0x4000 27FF
Reserved
0x4000 2000 - 0x4000 23FF
TIMER13
0x4000 1C00 - 0x4000 1FFF
TIMER12
0x4000 1800 - 0x4000 1BFF
TIMER11
0x4000 1400 - 0x4000 17FF
TIMER6
0x4000 1000 - 0x4000 13FF
TIMER5
0x4000 0C00 - 0x4000 0FFF
TIMER4
0x4000 0800 - 0x4000 0BFF
TIMER3
0x4000 0400 - 0x4000 07FF
TIMER2
0x4000 0000 - 0x4000 03FF
TIMER1
0x200B 0000 - 0x3FFF FFFF
Reserved
0x2003 0000 - 0x200A FFFF
ADDSRAM(512KB)
0x2002 0000 - 0x2002 FFFF
SRAM2(64KB)
0x2001 C000 - 0x2001 FFFF
SRAM1(16KB)
0x2000 0000 - 0x2001 BFFF
SRAM0(112KB)
0x1FFF C010 - 0x1FFF FFFF
Reserved
0x1FFF C000 - 0x1FFF C00F
Option bytes(Bank 0)
0x1FFF 7A10 - 0x1FFF BFFF
Reserved
0x1FFF 7800 - 0x1FFF 7A0F
OTP(512B)
0x1FFF 0000 - 0x1FFF 77FF
Boot loader(30KB)
0x1FFE C010 - 0x1FFE FFFF
Reserved
0x1FFE C000 - 0x1FFE C00F
Option bytes(Bank 1)
0x1001 0000 - 0x1FFE BFFF
Reserved
0x1000 0000 - 0x1000 FFFF
TCMSRAM(64KB)
0x0830 0000 - 0x0FFF FFFF
Reserved
0x0800 0000 - 0x082F FFFF
Main Flash(3072KB)
0x0000 0000 - 0x07FF FFFF
Aliased to the boot device
Note:
(1) ADC_SSTAT, ADC_SYNCCTL, ADC_SYNCDATA based on base address of ADC0.
16
GD32F470xx Datasheet
2.5.
Clock tree
Figure 2-6. GD32F470xx clock tree
CK_HXTAL
/2 to /31
11
32.768 KHz
LXTAL OSC
CK_RTC
01
(to RTC)
10
RTCSRC[1:0]
CK_FWDGT
32 KHz
IRC32K
(to FWDGT)
CK_OUT1
00
01
10
11
CKOUT1DIV
÷1,2,3,4,5
CK_SYS
CK_PLLI2SR
CK_HXTAL
CK_PLLP
CKOUT1SEL[1:0]
HCLK
(to AHB bus,CortexM4,SRAM,DMA,peripherals)
AHB enable
CK_OUT0
00
01
10
11
CKOUT0DIV
÷1,2,3,4,5
CK_IRC16M
CK_LXTAL
CK_HXTAL
CK_CST
÷8
(to Cortex-M4 SysTick)
FCLK
CK_PLLP
(free running clock)
APB1
Prescaler
÷1,2,4,8,16
CKOUT0SEL[1:0]
SCS[1:0]
CK_IRC16M
16 MHz
IRC16M
01
CK_SYS
240 MHz max
AHB
Prescaler
÷1,2...512
CK_AHB
APB2
Prescaler
÷1,2,4,8,16
10
Clock
Monitor
TIMER0,7,8,
9,10
CK_APB2 x1
x2 or x4
CTC
1
VCO
ADC
Prescaler
÷2,4,6,8
/P
/Q
xN
CK48MSEL
PLL48MSEL
0
VCO
I2SSEL
/P
xN
PLLI2S
VCO
CK_APB2
PCLK2
to APB2 peripherals
240 MHz max
CK_TIMERx
TIMERx enable
to TIMER0,7,
8,9,10
ADCCK[2]
0
CK_ADCX to ADC0,1,2
40 MHz max
ADC
Prescaler
÷5,6,10,20
1
1
CK48M
0
Peripheral enable
to USBFS USBHS TRNG
SDIO
1
/R
to TIMER1,2,3,4,
5,6,11,12,13
120 MHz max
1
/Q
CK_TIMERx
TIMERx enable
CK_CTC
48 MHz
IRC48M
/R
PLL
240 MHz max
Peripheral enable
PLLSEL
0
TIMER1,2,3,4,5,6,
11,12,13
CK_APB1 x1
x2 or x4
240 MHz max
CK_PLLP
/PSC
PCLK1
to APB1 peripherals
Peripheral enable
00
CK_HXTAL
4-32 MHz
HXTAL
CK_APB1
60 MHz max
CK_I2Sx
0
Peripheral enable
I2S_CKIN
to I2S
/P
/Q
xN
/R
/DIV
PLLSAI
CK_TLI
Peripheral enable
ENET_TX_CLK
/2 or
/20
0
1
Peripheral enable
ENET_PHY_SEL
1
ENET_RX_CLK
to TLI
CK_ENETTX
to ENET TX
CK_ENETRX
0
EMBPHY
Peripheral enable
to ENET RX
USB HS PHY clock 24Mhz to 60Mhz
0
CK48M
1
CK_USBHS_ULPI
Peripheral enable
to USBHS ULPI
Legend:
HXTAL: High speed crystal oscillator
LXTAL: Low speed crystal oscillator
IRC16M: Internal 16M RC oscillators
IRC32K: Internal 32K RC oscillator
IRC48M: Internal 48M RC oscillators
17
GD32F470xx Datasheet
2.6.
Pin definitions
2.6.1.
GD32F470Ix BGA176 pin definitions
Table 2-3. GD32F470Ix BGA176 pin definitions
Pin Name
Pins
Pin
I/O
Type(1)
Level(2)
Functions description
Default: PE2
PE2
A2
I/O
5VT
Alternate: SPI3_SCK, ENET_MII_TXD3, EXMC_A23,
EVENTOUT
PE3
A1
I/O
5VT
PE4
B1
I/O
5VT
Default: PE3
Alternate: EXMC_A19, EVENTOUT
Default: PE4
Alternate: SPI3_NSS, EXMC_A20, DCI_D4, TLI_B0,
EVENTOUT
Default: PE5
PE5
B2
I/O
5VT
Alternate: TIMER8_CH0, SPI3_MISO, EXMC_A21, DCI_D6,
TLI_G0, EVENTOUT
Default: PE6
PE6
B3
I/O
5VT
Alternate: TIMER8_CH1, SPI3_MOSI, EXMC_A22, DCI_D7,
TLI_G1, EVENTOUT
VBAT
C1
P
-
PI8
D2
I/O
5VT
Default: VBAT
Default: PI8
Alternate: EVENTOUT
Additional: RTC_TAMP1, RTC_TAMP0, RTC_TS
PC13TAMPER-
Default: PC13
D1
I/O
5VT
Additional: RTC_TAMP0, RTC_OUT, RTC_TS
RTC
PC14OSC32IN
Default: PC14
E1
I/O
5VT
Alternate: EVENTOUT
Additional: OSC32IN
PC15OSC32OU
Alternate: EVENTOUT
Default: PC15
F1
I/O
5VT
Alternate: EVENTOUT
Additional: OSC32OUT
T
PI9
D3
I/O
5VT
PI10
E3
I/O
5VT
Default: PI9
Alternate: CAN0_RX, EXMC_D30, TLI_VSYNC, EVENTOUT
Default: PI10
Alternate: ENET_MII_RX_ER, EXMC_D31, TLI_HSYNC,
EVENTOUT
Default: PI11
PI11
E4
I/O
5VT
VSS
F2
P
-
Default: VSS
VDD
F3
P
-
Default: VDD
PF0
E2
I/O
5VT
Alternate: USBHS_ULPI_DIR, EVENTOUT
Default: PF0
Alternate: I2C1_SDA, EXMC_A0, EVENTOUT, CTC_SYNC
18
GD32F470xx Datasheet
Pin
I/O
Pin Name
Pins
PF1
H3
I/O
5VT
PF2
H2
I/O
5VT
PF3
J2
I/O
5VT
Functions description
Type(1) Level(2)
Default: PF1
Alternate: I2C1_SCL, EXMC_A1, EVENTOUT
Default: PF2
Alternate: I2C1_SMBA, EXMC_A2, EVENTOUT
Default: PF3
Alternate: EXMC_A3, EVENTOUT, I2C1_TXFRAME
Additional: ADC2_IN9
Default: PF4
PF4
J3
I/O
5VT
Alternate: EXMC_A4, EVENTOUT
Additional: ADC2_IN14
Default: PF5
PF5
K3
I/O
5VT
Alternate: EXMC_A5, EVENTOUT
Additional: ADC2_IN15
VSS
G2
P
-
Default: VSS
VDD
G3
P
-
Default: VDD
Default: PF6
PF6
K2
I/O
5VT
Alternate: TIMER9_CH0, SPI4_NSS, UART6_RX,
EXMC_NIORD, EVENTOUT
Additional: ADC2_IN4
Default: PF7
PF7
K1
I/O
5VT
Alternate: TIMER10_CH0, SPI4_SCK, UART6_TX,
EXMC_NREG, EVENTOUT
Additional: ADC2_IN5
Default: PF8
PF8
L3
I/O
5VT
Alternate: SPI4_MISO, TIMER12_CH0, EXMC_NIOWR,
EVENTOUT
Additional: ADC2_IN6
Default: PF9
PF9
L2
I/O
5VT
Alternate: SPI4_MOSI, TIMER13_CH0, EXMC_CD,
EVENTOUT
Additional: ADC2_IN7
Default: PF10
PF10
L1
I/O
5VT
Alternate: EXMC_INTR, DCI_D11, TLI_DE, EVENTOUT
Additional: ADC2_IN8
Default: PH0, OSCIN
PH0
G1
I/O
5VT
Alternate: EVENTOUT
Additional: OSCIN
Default: PH1, OSCOUT
PH1
H1
I/O
5VT
Alternate: EVENTOUT
Additional: OSCOUT
NRST
J1
-
-
PC0
M2
I/O
5VT
Default: NRST
Default: PC0
Alternate: USBHS_ULPI_STP, EXMC_SDNWE, EVENTOUT
Additional: ADC012_IN10
PC1
M3
I/O
5VT
Default: PC1
Alternate: SPI2_MOSI, I2S2_SD, SPI1_MOSI, I2S1_SD,
19
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Functions description
Type(1) Level(2)
ENET_MDC, EVENTOUT
Additional: ADC012_IN11
Default: PC2
PC2
M4
I/O
5VT
Alternate: SPI1_MISO, I2S1_ADD_SD, USBHS_ULPI_DIR,
ENET_MII_TXD2, EXMC_SDNE0, EVENTOUT
Additional: ADC012_IN12
Default: PC3
PC3
M5
I/O
5VT
Alternate: SPI1_MOSI, I2S1_SD, USBHS_ULPI_NXT,
ENET_MII_TX_CLK, EXMC_SDCKE0, EVENTOUT
Additional: ADC012_IN13
VSSA
M1
P
-
Default: VSSA
VREFN
N1
P
-
Default: VREF-
VREFP
P1
P
-
Default: VREF+
VDDA
R1
P
-
Default: VDDA
Default: PA0
Alternate: TIMER1_CH0, TIMER1_ETI, TIMER4_CH0,
PA0-WKUP
N3
I/O
5VT
TIMER7_ETI, USART1_CTS, UART3_TX, ENET_MII_CRS,
EVENTOUT
Additional: ADC012_IN0, WKUP
Default: PA1
Alternate: TIMER1_CH1, TIMER4_CH1, SPI3_MOSI,
PA1
N2
I/O
5VT
USART1_RTS, UART3_RX, ENET_MII_RX_CLK,
ENET_RMII_REF_CLK, EVENTOUT
Additional: ADC012_IN1
Default: PA2
PA2
P2
I/O
5VT
Alternate: TIMER1_CH2, TIMER4_CH2, TIMER8_CH0,
I2S_CKIN, USART1_TX, ENET_MDIO, EVENTOUT
Additional: ADC012_IN2
Default: PH2
PH2
F4
I/O
5VT
Alternate: ENET_MII_CRS, EXMC_SDCKE0, TLI_R0,
EVENTOUT
Default: PH3
PH3
G4
I/O
5VT
Alternate: ENET_MII_COL, EXMC_SDNE0, TLI_R1,
EVENTOUT, I2C1_TXFRAME
PH4
H4
I/O
5VT
Default: PH4
Alternate: I2C1_SCL, USBHS_ULPI_NXT, EVENTOUT
Default: PH5
PH5
J4
I/O
5VT
Alternate: I2C1_SDA, SPI4_NSS, EXMC_SDNWE,
EVENTOUT
Default: PA3
Alternate: TIMER1_CH3, TIMER4_CH3, TIMER8_CH1,
PA3
R2
I/O
5VT
I2S1_MCK, USART1_RX, USBHS_ULPI_D0,
ENET_MII_COL, TLI_B5, EVENTOUT
Additional: ADC012_IN3
NC
L4
-
-
20
GD32F470xx Datasheet
Pin Name
Pins
VDD
K4
Pin
I/O
Functions description
Type(1) Level(2)
P
-
Default: VDD
Default: PA4
PA4
N4
Alternate: SPI0_NSS, SPI2_NSS, I2S2_WS, USART1_CK,
I/O
USBHS_SOF, DCI_HSYNC, TLI_VSYNC, EVENTOUT
Additional: ADC01_IN4, DAC_OUT0
Default: PA5
PA5
P4
Alternate: TIMER1_CH0, TIMER1_ETI, TIMER7_CH0_ON,
I/O
SPI0_SCK, USBHS_ULPI_CK, EVENTOUT
Additional: ADC01_IN5, DAC_OUT1
Default: PA6
Alternate: TIMER0_BRKIN, TIMER2_CH0, TIMER7_BRKIN,
PA6
P3
I/O
5VT
SPI0_MISO, I2S1_MCK, TIMER12_CH0, SDIO_CMD,
DCI_PIXCLK, TLI_G2, EVENTOUT
Additional: ADC01_IN6
Default: PA7
Alternate: TIMER0_CH0_ON, TIMER2_CH1,
PA7
R3
I/O
5VT
TIMER7_CH0_ON, SPI0_MOSI, TIMER13_CH0,
ENET_MII_RX_DV, ENET_RMII_CRS_DV, EXMC_SDNWE,
EVENTOUT
Additional: ADC01_IN7
Default: PC4
PC4
N5
I/O
5VT
Alternate: ENET_MII_RXD0, ENET_RMII_RXD0,
EXMC_SDNE0, EVENTOUT
Additional: ADC01_IN14
Default: PC5
PC5
P5
I/O
5VT
Alternate: USART2_RX, ENET_MII_RXD1,
ENET_RMII_RXD1, EXMC_SDCKE0, EVENTOUT
Additional: ADC01_IN15
Default: PB0
Alternate: TIMER0_CH1_ON, TIMER2_CH2,
PB0
R5
I/O
5VT
TIMER7_CH1_ON, SPI4_SCK, SPI2_MOSI, I2S2_SD,
TLI_R3, USBHS_ULPI_D1, ENET_MII_RXD2, SDIO_D1,
EVENTOUT
Additional: ADC01_IN8, IREF
Default: PB1
Alternate: TIMER0_CH2_ON, TIMER2_CH3,
PB1
R4
I/O
5VT
TIMER7_CH2_ON, SPI4_NSS, TLI_R6, USBHS_ULPI_D2,
ENET_MII_RXD3, SDIO_D2, EVENTOUT
Additional: ADC01_IN9
Default: PB2, BOOT1
PB2
M6
I/O
5VT
Alternate: TIMER1_CH3, SPI2_MOSI, I2S2_SD,
USBHS_ULPI_D4, SDIO_CK, EVENTOUT
Default: PF11
PF11
R6
I/O
5VT
Alternate: SPI4_MOSI, EXMC_SDNRAS, DCI_D12,
EVENTOUT
PF12
P6
I/O
5VT
Default: PF12
21
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Functions description
Type(1) Level(2)
Alternate: EXMC_A6, EVENTOUT
VSS
M8
P
-
Default: VSS
VDD
N8
P
-
Default: VDD
PF13
N6
I/O
5VT
PF14
R7
I/O
5VT
PF15
P7
I/O
5VT
PG0
N7
I/O
5VT
PG1
M7
I/O
5VT
Default: PF13
Alternate: EXMC_A7, EVENTOUT
Default: PF14
Alternate: EXMC_A8, EVENTOUT
Default: PF15
Alternate: EXMC_A9, EVENTOUT
Default: PG0
Alternate: EXMC_A10, EVENTOUT
Default: PG1
Alternate: EXMC_A11, EVENTOUT
Default: PE7
PE7
R8
I/O
5VT
Alternate: TIMER0_ETI, UART6_RX, EXMC_D4,
EVENTOUT
Default: PE8
PE8
P8
I/O
5VT
Alternate: TIMER0_CH0_ON, UART6_TX, EXMC_D5,
EVENTOUT
Default: PE9
PE9
P9
I/O
5VT
VSS
M9
P
-
Default: VSS
VDD
N9
P
-
Default: VDD
PE10
R9
I/O
5VT
PE11
P10
I/O
5VT
Alternate: TIMER0_CH0, EXMC_D6, EVENTOUT
Default: PE10
Alternate: TIMER0_CH1_ON, EXMC_D7, EVENTOUT
Default: PE11
Alternate: TIMER0_CH1, SPI3_NSS, SPI4_NSS, EXMC_D8,
TLI_G3, EVENTOUT
Default: PE12
PE12
R10
I/O
5VT
Alternate: TIMER0_CH2_ON, SPI3_SCK, SPI4_SCK,
EXMC_D9, TLI_B4, EVENTOUT
Default: PE13
PE13
N11
I/O
5VT
Alternate: TIMER0_CH2, SPI3_MISO, SPI4_MISO,
EXMC_D10, TLI_DE, EVENTOUT
Default: PE14
PE14
P11
I/O
5VT
Alternate: TIMER0_CH3, SPI3_MOSI, SPI4_MOSI,
EXMC_D11, TLI_PIXCLK, EVENTOUT
Default: PE15
PE15
R11
I/O
5VT
Alternate: TIMER0_BRKIN, EXMC_D12, TLI_R7,
EVENTOUT
Default: PB10
PB10
R12
I/O
5VT
Alternate: TIMER1_CH2, I2C1_SCL, SPI1_SCK, I2S1_CK,
I2S2_MCK, USART2_TX, USBHS_ULPI_D3,
ENET_MII_RX_ER, SDIO_D7, TLI_G4, EVENTOUT
PB11
R13
I/O
5VT
Default: PB11
22
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Functions description
Type(1) Level(2)
Alternate: TIMER1_CH3, I2C1_SDA, I2S_CKIN,
USART2_RX, USBHS_ULPI_D4, ENET_MII_TX_EN,
ENET_RMII_TX_EN, TLI_G5, EVENTOUT
NC
M10
-
-
-
VDD
N10
P
-
Default: VDD
PH6
M11
I/O
5VT
Default: PH6
Alternate: I2C1_SMBA, SPI4_SCK, TIMER11_CH0,
ENET_MII_RXD2, EXMC_SDNE1, DCI_D8, EVENTOUT
Default: PH7
PH7
N12
I/O
5VT
Alternate: I2C2_SCL, SPI4_MISO, ENET_MII_RXD3,
EXMC_SDCKE1, DCI_D9, EVENTOUT
Default: PH8
PH8
M12
I/O
5VT
Alternate: I2C2_SDA, EXMC_D16, DCI_HSYNC, TLI_R2,
EVENTOUT
Default: PH9
PH9
M13
I/O
5VT
Alternate: I2C2_SMBA, TIMER11_CH1, EXMC_D17,
DCI_D0, TLI_R3, EVENTOUT
Default: PH10
PH10
L13
I/O
5VT
Alternate: TIMER4_CH0, EXMC_D18, DCI_D1, TLI_R4,
EVENTOUT, I2C2_TXFRAME
Default: PH11
PH11
L12
I/O
5VT
Alternate: TIMER4_CH1, EXMC_D19, DCI_D2, TLI_R5,
EVENTOUT
Default: PH12
PH12
K12
I/O
5VT
VSS
H12
P
-
Default: VSS
VDD
J12
P
-
Default: VDD
Alternate: TIMER4_CH2, EXMC_D20, DCI_D3, TLI_R6,
EVENTOUT
Default: PB12
Alternate: TIMER0_BRKIN, I2C1_SMBA, SPI1_NSS,
PB12
P12
I/O
5VT
I2S1_WS, SPI3_NSS, USART2_CK, CAN1_RX,
USBHS_ULPI_D5, ENET_MII_TXD0, ENET_RMII_TXD0,
USBHS_ID, EVENTOUT
Default: PB13
Alternate: TIMER0_CH0_ON, SPI1_SCK, I2S1_CK,
PB13
P13
I/O
5VT
SPI3_SCK, USART2_CTS, CAN1_TX, USBHS_ULPI_D6,
ENET_MII_TXD1, ENET_RMII_TXD1, EVENTOUT,
I2C1_TXFRAME
Additional: USBHS_VBUS
Default: PB14
PB14
R14
I/O
5VT
Alternate: TIMER0_CH1_ON, TIMER7_CH1_ON,
SPI1_MISO, I2S1_ADD_SD, USART2_RTS, TIMER11_CH0,
USBHS_DM, EVENTOUT
Default: PB15
PB15
R15
I/O
5VT
Alternate: RTC_REFIN, TIMER0_CH2_ON,
TIMER7_CH2_ON, SPI1_MOSI, I2S1_SD, TIMER11_CH1,
23
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Functions description
Type(1) Level(2)
USBHS_DP, EVENTOUT
PD8
P15
I/O
5VT
PD9
P14
I/O
5VT
PD10
N15
I/O
5VT
Default: PD8
Alternate: USART2_TX, EXMC_D13, EVENTOUT
Default: PD9
Alternate: USART2_RX, EXMC_D14, EVENTOUT
Default: PD10
Alternate: USART2_CK, EXMC_D15, TLI_B3, EVENTOUT
Default: PD11
PD11
N14
I/O
5VT
Alternate: USART2_CTS, EXMC_A16/EXMC_CLE,
EVENTOUT
Default: PD12
PD12
N13
I/O
5VT
Alternate: TIMER3_CH0, USART2_RTS,
EXMC_A17/EXMC_ALE, EVENTOUT
PD13
M15
I/O
5VT
VDD
J13
P
-
PD14
M14
I/O
5VT
PD15
L14
I/O
5VT
Default: PD13
Alternate: TIMER3_CH1, EXMC_A18, EVENTOUT
Default: VDD
Default: PD14
Alternate: TIMER3_CH2, EXMC_D0, EVENTOUT
Default: PD15
Alternate: TIMER3_CH3, EXMC_D1, EVENTOUT,
CTC_SYNC
PG2
L15
I/O
5VT
PG3
K15
I/O
5VT
PG4
K14
I/O
5VT
PG5
K13
I/O
5VT
PG6
J15
I/O
5VT
Default: PG2
Alternate: EXMC_A12, EVENTOUT
Default: PG3
Alternate: EXMC_A13, EVENTOUT
Default: PG4
Alternate: EXMC_A14, EVENTOUT
Default: PG5
Alternate: EXMC_A15, EVENTOUT
Default: PG6
Alternate: EXMC_INT1, DCI_D12, TLI_R7, EVENTOUT
Default: PG7
PG7
J14
I/O
5VT
Alternate: USART5_CK, EXMC_INT2, DCI_D13,
TLI_PIXCLK, EVENTOUT
Default: PG8
PG8
H14
I/O
5VT
Alternate: SPI5_NSS, USART5_RTS, ENET_PPS_OUT,
EXMC_SDCLK, EVENTOUT
VSS
G12
P
-
Default: VSS
VDD
H13
P
-
Default: VDD
Default: PC6
PC6
H15
I/O
5VT
Alternate: TIMER2_CH0, TIMER7_CH0, I2S1_MCK,
USART5_TX, SDIO_D6, DCI_D0, TLI_HSYNC, EVENTOUT
Default: PC7
PC7
G15
I/O
5VT
Alternate: TIMER2_CH1, TIMER7_CH1, SPI1_SCK,
I2S1_CK, I2S2_MCK, USART5_RX, SDIO_D7, DCI_D1,
24
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Functions description
Type(1) Level(2)
TLI_G6, EVENTOUT
Default: PC8
PC8
G14
I/O
5VT
Alternate: TIMER2_CH2, TIMER7_CH2, USART5_CK,
SDIO_D0, DCI_D2, EVENTOUT
Default: PC9
PC9
F14
I/O
5VT
Alternate: CK_OUT1, TIMER2_CH3, TIMER7_CH3,
I2C2_SDA, I2S_CKIN, SDIO_D1, DCI_D3, EVENTOUT
Default: PA8
PA8
F15
I/O
5VT
Alternate: CK_OUT0, TIMER0_CH0, I2C2_SCL,
USART0_CK, USBFS_SOF, SDIO_D1, TLI_R6,
EVENTOUT, CTC_SYNC
Default: PA9
PA9
E15
I/O
5VT
Alternate: TIMER0_CH1, I2C2_SMBA, SPI1_SCK, I2S1_CK,
USART0_TX, SDIO_D2, DCI_D0, EVENTOUT
Additional: USBFS_VBUS
Default: PA10
PA10
D15
I/O
5VT
Alternate: TIMER0_CH2, SPI4_MOSI, USART0_RX,
USBFS_ID, DCI_D1, EVENTOUT, I2C2_TXFRAME
Default: PA11
PA11
C15
I/O
5VT
Alternate: TIMER0_CH3, SPI3_MISO, USART0_CTS,
USART5_TX, CAN0_RX, USBFS_DM, TLI_R4, EVENTOUT
Default: PA12
PA12
B15
I/O
5VT
Alternate: TIMER0_ETI, SPI4_MISO, USART0_RTS,
USART5_RX, CAN0_TX, USBFS_DP, TLI_R5, EVENTOUT
Default: JTMS, SWDIO, PA13
PA13
A15
I/O
5VT
NC
F13
-
-
-
VSS
F12
P
-
Default: VSS
VDD
G13
P
-
Default: VDD
Alternate: EVENTOUT
Default: PH13
PH13
E12
I/O
5VT
Alternate: TIMER7_CH0_ON, CAN0_TX, EXMC_D21,
TLI_G2, EVENTOUT
Default: PH14
PH14
E13
I/O
5VT
Alternate: TIMER7_CH1_ON, EXMC_D22, DCI_D4, TLI_G3,
EVENTOUT
Default: PH15
PH15
D13
I/O
5VT
Alternate: TIMER7_CH2_ON, EXMC_D23, DCI_D11,
TLI_G4, EVENTOUT
Default: PI0
PI0
E14
I/O
5VT
Alternate: TIMER4_CH3, SPI1_NSS, I2S1_WS, EXMC_D24,
DCI_D13, TLI_G5, EVENTOUT
Default: PI1
PI1
D14
I/O
5VT
Alternate: SPI1_SCK, I2S1_CK, EXMC_D25, DCI_D8,
TLI_G6, EVENTOUT
PI2
C14
I/O
5VT
Default: PI2
Alternate: TIMER7_CH3, SPI1_MISO, I2S1_ADD_SD,
25
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Functions description
Type(1) Level(2)
EXMC_D26, DCI_D9, TLI_G7, EVENTOUT
Default: PI3
PI3
C13
I/O
5VT
Alternate: TIMER7_ETI, SPI1_MOSI, I2S1_SD, EXMC_D27,
DCI_D10, EVENTOUT
VSS
D9
P
-
Default: VSS
VDD
C9
P
-
Default: VDD
PA14
A14
I/O
5VT
PA15
A13
I/O
5VT
Default: JTCK, SWCLK, PA14
Alternate: EVENTOUT
Default: JTDI, PA15
Alternate: TIMER1_CH0, TIMER1_ETI, SPI0_NSS,
SPI2_NSS, I2S2_WS, USART0_TX, EVENTOUT
Default: PC10
PC10
B14
I/O
5VT
Alternate: SPI2_SCK, I2S2_CK, USART2_TX, UART3_TX,
SDIO_D2, DCI_D8, TLI_R2, EVENTOUT
Default: PC11
PC11
B13
I/O
5VT
Alternate: I2S2_ADD_SD, SPI2_MISO, USART2_RX,
UART3_RX, SDIO_D3, DCI_D4, EVENTOUT
Default: PC12
PC12
A12
I/O
5VT
Alternate: I2C1_SDA, SPI2_MOSI, I2S2_SD, USART2_CK,
UART4_TX, SDIO_CK, DCI_D9, EVENTOUT
Default: PD0
PD0
B12
I/O
5VT
Alternate: SPI3_MISO, SPI2_MOSI, I2S2_SD, CAN0_RX,
EXMC_D2, EVENTOUT
Default: PD1
PD1
C12
I/O
5VT
Alternate: SPI1_NSS, I2S1_WS, CAN0_TX, EXMC_D3,
EVENTOUT
Default: PD2
PD2
D12
I/O
5VT
Alternate: TIMER2_ETI, UART4_RX, SDIO_CMD, DCI_D11,
EVENTOUT
Default: PD3
PD3
D11
I/O
5VT
Alternate: SPI1_SCK, I2S1_CK, USART1_CTS, EXMC_CLK,
DCI_D5, TLI_G7, EVENTOUT
Default: PD4
PD4
D10
I/O
5VT
PD5
C11
I/O
5VT
VSS
D8
P
-
Default: VSS
VDD
C8
P
-
Default: VDD
PD6
B11
I/O
5VT
Alternate: USART1_RTS, EXMC_NOE, EVENTOUT
Default: PD5
Alternate: USART1_TX, EXMC_NWE, EVENTOUT
Default: PD6
Alternate: SPI2_MOSI, I2S2_SD, USART1_RX,
EXMC_NWAIT, DCI_D10, TLI_B2, EVENTOUT
Default: PD7
PD7
A11
I/O
5VT
Alternate: USART1_CK, EXMC_NE0, EXMC_NCE1,
EVENTOUT
PG9
C10
I/O
5VT
Default: PG9
26
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Functions description
Type(1) Level(2)
Alternate: USART5_RX, EXMC_NE1, EXMC_NCE2,
DCI_VSYNC, EVENTOUT
Default: PG10
PG10
B10
I/O
5VT
Alternate: SPI5_IO2, TLI_G3, EXMC_NCE3_0, EXMC_NE2,
DCI_D2, TLI_B2, EVENTOUT
Default: PG11
PG11
B9
I/O
5VT
Alternate: SPI5_IO3, SPI3_SCK, ENET_MII_TX_EN,
ETH_RMII_TX_EN, EXMC_NCE3_1, DCI_D3, TLI_B3,
EVENTOUT
Default: PG12
PG12
B8
I/O
5VT
Alternate: SPI5_MISO, SPI3_MISO, USART5_RTS, TLI_B4,
EXMC_NE3, TLI_B1, EVENTOUT
Default: PG13
PG13
A8
I/O
5VT
Alternate: SPI5_SCK, SPI3_MOSI, USART5_CTS,
ENET_MII_TXD0, ENET_RMII_TXD0, EXMC_A24,
EVENTOUT
Default: PG14
Alternate: SPI5_MOSI, SPI3_NSS, USART5_TX,
PG14
A7
I/O
5VT
VSS
D7
P
-
Default: VSS
VDD
C7
P
-
Default: VDD
ENET_MII_TXD1, ENET_RMII_TXD1, EXMC_A25,
EVENTOUT
Default: PG15
PG15
B7
I/O
5VT
Alternate: USART5_CTS, EXMC_SDNCAS, DCI_D13,
EVENTOUT
Default: JTDO, PB3
PB3
A10
I/O
5VT
Alternate: TRACESWO, TIMER1_CH1, SPI0_SCK,
SPI2_SCK, I2S2_CK, USART0_RX, I2C1_SDA, EVENTOUT
Default: JNTRST, PB4
PB4
A9
I/O
5VT
Alternate: TIMER2_CH0, SPI0_MISO, SPI2_MISO,
I2S2_ADD_SD, I2C2_SDA, SDIO_D0, EVENTOUT,
I2C0_TXFRAME
Default: PB5
PB5
A6
I/O
5VT
Alternate: TIMER2_CH1, I2C0_SMBA, SPI0_MOSI,
SPI2_MOSI, I2S2_SD, CAN1_RX, USBHS_ULPI_D7,
ENET_PPS_OUT, EXMC_SDCKE1, DCI_D10, EVENTOUT
Default: PB6
PB6
B6
I/O
5VT
Alternate: TIMER3_CH0, I2C0_SCL, USART0_TX,
CAN1_TX, EXMC_SDNE1, DCI_D5, EVENTOUT
Default: PB7
PB7
B5
I/O
5VT
Alternate: TIMER3_CH1, I2C0_SDA, USART0_RX,
EXMC_NL/EXMC_NADV, DCI_VSYNC, EVENTOUT
BOOT0
D6
I/O
5VT
PB8
A5
I/O
5VT
Default: BOOT0
Default: PB8
Alternate: TIMER1_CH0, TIMER1_ETI, TIMER3_CH2,
TIMER9_CH0, I2C0_SCL, SPI4_MOSI, CAN0_RX,
27
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Functions description
Type(1) Level(2)
ENET_MII_TXD3, SDIO_D4, DCI_D6, TLI_B6, EVENTOUT
Default: PB9
PB9
B4
I/O
5VT
Alternate: TIMER1_CH1, TIMER3_CH3, TIMER10_CH0,
I2C0_SDA, SPI1_NSS, I2S1_WS, CAN0_TX, SDIO_D5,
DCI_D7, TLI_B7, EVENTOUT
Default: PE0
PE0
A4
I/O
5VT
Alternate: TIMER3_ETI, UART7_RX, EXMC_NBL0, DCI_D2,
EVENTOUT
Default: PE1
PE1
A3
I/O
5VT
Alternate: TIMER0_CH1_ON, UART7_TX, EXMC_NBL1,
DCI_D3, EVENTOUT
VSS
D5
P
-
Default: VSS
PDR_ON
C6
P
-
Default: PDR_ON
VDD
C5
P
-
Default: VDD
Default: PI4
PI4
D4
I/O
5VT
Alternate: TIMER7_BRKIN, EXMC_NBL2, DCI_D5, TLI_B4,
EVENTOUT
Default: PI5
PI5
C4
I/O
5VT
Alternate: TIMER7_CH0, EXMC_NBL3, DCI_VSYNC,
TLI_B5, EVENTOUT
Default: PI6
PI6
C3
I/O
5VT
Alternate: TIMER7_CH1, EXMC_D28, DCI_D6, TLI_B6,
EVENTOUT
Default: PI7
PI7
C2
I/O
5VT
Alternate: TIMER7_CH2, EXMC_D29, DCI_D7, TLI_B7,
EVENTOUT
Notes:
(1) Type: I = input, O = output, P = power.
(2) I/O Level: 5VT = 5 V tolerant.
2.6.2.
GD32F470Zx LQFP144 pin definitions
Table 2-4. GD32F470Zx LQFP144 pin definitions
Pin Name
Pins
PE2
1
Pin
I/O
Type(1)
Level(2)
I/O
5VT
Functions description
Default: PE2
Alternate: SPI3_SCK, ENET_MII_TXD3, EXMC_A23,
EVENTOUT
PE3
2
I/O
5VT
PE4
3
I/O
5VT
PE5
4
I/O
5VT
Default: PE3
Alternate: EXMC_A19, EVENTOUT
Default: PE4
Alternate: SPI3_NSS, EXMC_A20, DCI_D4, TLI_B0,
EVENTOUT
Default: PE5
28
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Type(1)
Level(2)
Functions description
Alternate: TIMER8_CH0, SPI3_MISO, EXMC_A21,
DCI_D6, TLI_G0, EVENTOUT
Default: PE6
PE6
5
I/O
5VT
VBAT
6
P
-
Alternate: TIMER8_CH1, SPI3_MOSI, EXMC_A22,
DCI_D7, TLI_G1, EVENTOUT
PC13TAMPER-
Default: PC13
7
I/O
5VT
OSC32IN
Default: PC14
8
I/O
5VT
Alternate: EVENTOUT
Additional: OSC32IN
PC15OSC32OU
Alternate: EVENTOUT
Additional: RTC_TAMP0, RTC_OUT, RTC_TS
RTC
PC14-
Default: VBAT
Default: PC15
9
I/O
5VT
Alternate: EVENTOUT
Additional: OSC32OUT
T
PF0
10
I/O
5VT
PF1
11
I/O
5VT
PF2
12
I/O
5VT
PF3
13
I/O
5VT
Default: PF0
Alternate: I2C1_SDA, EXMC_A0, EVENTOUT, CTC_SYNC
Default: PF1
Alternate: I2C1_SCL, EXMC_A1, EVENTOUT
Default: PF2
Alternate: I2C1_SMBA, EXMC_A2, EVENTOUT
Default: PF3
Alternate: EXMC_A3, EVENTOUT, I2C1_TXFRAME
Additional: ADC2_IN9
Default: PF4
PF4
14
I/O
5VT
Alternate: EXMC_A4, EVENTOUT
Additional: ADC2_IN14
Default: PF5
PF5
15
I/O
5VT
Alternate: EXMC_A5, EVENTOUT
Additional: ADC2_IN15
VSS
16
P
-
Default: VSS
VDD
17
P
-
Default: VDD
Default: PF6
PF6
18
I/O
5VT
Alternate: TIMER9_CH0, SPI4_NSS, UART6_RX,
EXMC_NIORD, EVENTOUT
Additional: ADC2_IN4
Default: PF7
PF7
19
I/O
5VT
Alternate: TIMER10_CH0, SPI4_SCK, UART6_TX,
EXMC_NREG, EVENTOUT
Additional: ADC2_IN5
Default: PF8
PF8
20
I/O
5VT
Alternate: SPI4_MISO, TIMER12_CH0, EXMC_NIOWR,
EVENTOUT
Additional: ADC2_IN6
PF9
21
I/O
5VT
Default: PF9
29
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Type(1)
Level(2)
Functions description
Alternate: SPI4_MOSI, TIMER13_CH0, EXMC_CD,
EVENTOUT
Additional: ADC2_IN7
Default: PF10
PF10
22
I/O
5VT
Alternate: EXMC_INTR, DCI_D11, TLI_DE, EVENTOUT
Additional: ADC2_IN8
Default: PH0, OSCIN
PH0
23
I/O
5VT
Alternate: EVENTOUT
Additional: OSCIN
Default: PH1, OSCOUT
PH1
24
I/O
5VT
Alternate: EVENTOUT
Additional: OSCOUT
NRST
25
-
-
Default: NRST
Default: PC0
PC0
26
I/O
5VT
Alternate: USBHS_ULPI_STP, EXMC_SDNWE,
EVENTOUT
Additional: ADC012_IN10
Default: PC1
PC1
27
I/O
5VT
Alternate: SPI2_MOSI, I2S2_SD, SPI1_MOSI, I2S1_SD,
ENET_MDC, EVENTOUT
Additional: ADC012_IN11
Default: PC2
PC2
28
I/O
5VT
Alternate: SPI1_MISO, I2S1_ADD_SD, USBHS_ULPI_DIR,
ENET_MII_TXD2, EXMC_SDNE0, EVENTOUT
Additional: ADC012_IN12
Default: PC3
PC3
29
I/O
5VT
Alternate: SPI1_MOSI, I2S1_SD, USBHS_ULPI_NXT,
ENET_MII_TX_CLK, EXMC_SDCKE0, EVENTOUT
Additional: ADC012_IN13
VDD
30
P
-
Default: VDD
VSSA
31
P
-
Default: VSSA
VREFP
32
P
-
Default: VREF+
VDDA
33
P
-
Default: VDDA
Default: PA0
Alternate: TIMER1_CH0, TIMER1_ETI, TIMER4_CH0,
PA0-WKUP
34
I/O
5VT
TIMER7_ETI, USART1_CTS, UART3_TX,
ENET_MII_CRS, EVENTOUT
Additional: ADC012_IN0, WKUP
Default: PA1
Alternate: TIMER1_CH1, TIMER4_CH1, SPI3_MOSI,
PA1
35
I/O
5VT
USART1_RTS, UART3_RX, ENET_MII_RX_CLK,
ENET_RMII_REF_CLK, EVENTOUT
Additional: ADC012_IN1
Default: PA2
PA2
36
I/O
5VT
Alternate: TIMER1_CH2, TIMER4_CH2, TIMER8_CH0,
I2S_CKIN, USART1_TX, ENET_MDIO, EVENTOUT
30
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Type(1)
Level(2)
Functions description
Additional: ADC012_IN2
Default: PA3
Alternate: TIMER1_CH3, TIMER4_CH3, TIMER8_CH1,
PA3
37
I/O
5VT
I2S1_MCK, USART1_RX, USBHS_ULPI_D0,
ENET_MII_COL, TLI_B5, EVENTOUT
Additional: ADC012_IN3
VSS
38
P
-
Default: VSS
VDD
39
P
-
Default: VDD
Default: PA4
PA4
40
Alternate: SPI0_NSS, SPI2_NSS, I2S2_WS, USART1_CK,
I/O
USBHS_SOF, DCI_HSYNC, TLI_VSYNC, EVENTOUT
Additional: ADC01_IN4, DAC_OUT0
Default: PA5
PA5
41
Alternate: TIMER1_CH0, TIMER1_ETI, TIMER7_CH0_ON,
I/O
SPI0_SCK, USBHS_ULPI_CK, EVENTOUT
Additional: ADC01_IN5, DAC_OUT1
Default: PA6
Alternate: TIMER0_BRKIN, TIMER2_CH0,
PA6
42
I/O
5VT
TIMER7_BRKIN, SPI0_MISO, I2S1_MCK, TIMER12_CH0,
SDIO_CMD, DCI_PIXCLK, TLI_G2, EVENTOUT
Additional: ADC01_IN6
Default: PA7
Alternate: TIMER0_CH0_ON, TIMER2_CH1,
PA7
43
I/O
5VT
TIMER7_CH0_ON, SPI0_MOSI, TIMER13_CH0,
ENET_MII_RX_DV, ENET_RMII_CRS_DV,
EXMC_SDNWE, EVENTOUT
Additional: ADC01_IN7
Default: PC4
PC4
44
I/O
5VT
Alternate: ENET_MII_RXD0, ENET_RMII_RXD0,
EXMC_SDNE0, EVENTOUT
Additional: ADC01_IN14
Default: PC5
PC5
45
I/O
5VT
Alternate: USART2_RX, ENET_MII_RXD1,
ENET_RMII_RXD1, EXMC_SDCKE0, EVENTOUT
Additional: ADC01_IN15
Default: PB0
Alternate: TIMER0_CH1_ON, TIMER2_CH2,
PB0
46
I/O
5VT
TIMER7_CH1_ON, SPI4_SCK, SPI2_MOSI, I2S2_SD,
TLI_R3, USBHS_ULPI_D1, ENET_MII_RXD2, SDIO_D1,
EVENTOUT
Additional: ADC01_IN8, IREF
Default: PB1
PB1
47
I/O
5VT
Alternate: TIMER0_CH2_ON, TIMER2_CH3,
TIMER7_CH2_ON, SPI4_NSS, TLI_R6, USBHS_ULPI_D2,
ENET_MII_RXD3, SDIO_D2, EVENTOUT
31
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Type(1)
Level(2)
Functions description
Additional: ADC01_IN9
Default: PB2, BOOT1
PB2
48
I/O
5VT
Alternate: TIMER1_CH3, SPI2_MOSI, I2S2_SD,
USBHS_ULPI_D4, SDIO_CK, EVENTOUT
Default: PF11
PF11
49
I/O
5VT
Alternate: SPI4_MOSI, EXMC_SDNRAS, DCI_D12,
EVENTOUT
Default: PF12
PF12
50
I/O
5VT
VSS
51
P
-
Default: VSS
VDD
52
P
-
Default: VDD
PF13
53
I/O
5VT
PF14
54
I/O
5VT
PF15
55
I/O
5VT
PG0
56
I/O
5VT
PG1
57
I/O
5VT
PE7
58
I/O
5VT
Alternate: EXMC_A6, EVENTOUT
Default: PF13
Alternate: EXMC_A7, EVENTOUT
Default: PF14
Alternate: EXMC_A8, EVENTOUT
Default: PF15
Alternate: EXMC_A9, EVENTOUT
Default: PG0
Alternate: EXMC_A10, EVENTOUT
Default: PG1
Alternate: EXMC_A11, EVENTOUT
Default: PE7
Alternate: TIMER0_ETI, UART6_RX, EXMC_D4,
EVENTOUT
Default: PE8
PE8
59
I/O
5VT
Alternate: TIMER0_CH0_ON, UART6_TX, EXMC_D5,
EVENTOUT
Default: PE9
PE9
60
I/O
5VT
VSS
61
P
-
Default: VSS
VDD
62
P
-
Default: VDD
PE10
63
I/O
5VT
Alternate: TIMER0_CH0, EXMC_D6, EVENTOUT
Default: PE10
Alternate: TIMER0_CH1_ON, EXMC_D7, EVENTOUT
Default: PE11
PE11
64
I/O
5VT
Alternate: TIMER0_CH1, SPI3_NSS, SPI4_NSS,
EXMC_D8, TLI_G3, EVENTOUT
Default: PE12
PE12
65
I/O
5VT
Alternate: TIMER0_CH2_ON, SPI3_SCK, SPI4_SCK,
EXMC_D9, TLI_B4, EVENTOUT
Default: PE13
PE13
66
I/O
5VT
Alternate: TIMER0_CH2, SPI3_MISO, SPI4_MISO,
EXMC_D10, TLI_DE, EVENTOUT
Default: PE14
PE14
67
I/O
5VT
Alternate: TIMER0_CH3, SPI3_MOSI, SPI4_MOSI,
EXMC_D11, TLI_PIXCLK, EVENTOUT
32
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Type(1)
Level(2)
Functions description
Default: PE15
PE15
68
I/O
5VT
Alternate: TIMER0_BRKIN, EXMC_D12, TLI_R7,
EVENTOUT
Default: PB10
PB10
69
I/O
5VT
Alternate: TIMER1_CH2, I2C1_SCL, SPI1_SCK, I2S1_CK,
I2S2_MCK, USART2_TX, USBHS_ULPI_D3,
ENET_MII_RX_ER, SDIO_D7, TLI_G4, EVENTOUT
Default: PB11
PB11
70
I/O
5VT
Alternate: TIMER1_CH3, I2C1_SDA, I2S_CKIN,
USART2_RX, USBHS_ULPI_D4, ENET_MII_TX_EN,
ENET_RMII_TX_EN, TLI_G5, EVENTOUT
NC
71
-
-
-
VDD
72
P
-
Default: VDD
Default: PB12
Alternate: TIMER0_BRKIN, I2C1_SMBA, SPI1_NSS,
PB12
73
I/O
5VT
I2S1_WS, SPI3_NSS, USART2_CK, CAN1_RX,
USBHS_ULPI_D5, ENET_MII_TXD0, ENET_RMII_TXD0,
USBHS_ID, EVENTOUT
Default: PB13
Alternate: TIMER0_CH0_ON, SPI1_SCK, I2S1_CK,
PB13
74
I/O
5VT
SPI3_SCK, USART2_CTS, CAN1_TX, USBHS_ULPI_D6,
ENET_MII_TXD1, ENET_RMII_TXD1, EVENTOUT,
I2C1_TXFRAME
Additional: USBHS_VBUS
Default: PB14
PB14
75
I/O
5VT
Alternate: TIMER0_CH1_ON, TIMER7_CH1_ON,
SPI1_MISO, I2S1_ADD_SD, USART2_RTS,
TIMER11_CH0, USBHS_DM, EVENTOUT
Default: PB15
PB15
76
I/O
5VT
Alternate: RTC_REFIN, TIMER0_CH2_ON,
TIMER7_CH2_ON, SPI1_MOSI, I2S1_SD, TIMER11_CH1,
USBHS_DP, EVENTOUT
PD8
77
I/O
5VT
PD9
78
I/O
5VT
PD10
79
I/O
5VT
Default: PD8
Alternate: USART2_TX, EXMC_D13, EVENTOUT
Default: PD9
Alternate: USART2_RX, EXMC_D14, EVENTOUT
Default: PD10
Alternate: USART2_CK, EXMC_D15, TLI_B3, EVENTOUT
Default: PD11
PD11
80
I/O
5VT
Alternate: USART2_CTS, EXMC_A16/EXMC_CLE,
EVENTOUT
Default: PD12
PD12
81
I/O
5VT
Alternate: TIMER3_CH0, USART2_RTS,
EXMC_A17/EXMC_ALE, EVENTOUT
PD13
82
I/O
5VT
Default: PD13
Alternate: TIMER3_CH1, EXMC_A18, EVENTOUT
33
GD32F470xx Datasheet
Pin
I/O
Type(1)
Level(2)
83
P
-
Default: VSS
VDD
84
P
-
Default: VDD
PD14
85
I/O
5VT
Pin Name
Pins
VSS
Functions description
Default: PD14
Alternate: TIMER3_CH2, EXMC_D0, EVENTOUT
Default: PD15
PD15
86
I/O
5VT
Alternate: TIMER3_CH3, EXMC_D1, EVENTOUT,
CTC_SYNC
PG2
87
I/O
5VT
PG3
88
I/O
5VT
PG4
89
I/O
5VT
PG5
90
I/O
5VT
PG6
91
I/O
5VT
PG7
92
I/O
5VT
Default: PG2
Alternate: EXMC_A12, EVENTOUT
Default: PG3
Alternate: EXMC_A13, EVENTOUT
Default: PG4
Alternate: EXMC_A14, EVENTOUT
Default: PG5
Alternate: EXMC_A15, EVENTOUT
Default: PG6
Alternate: EXMC_INT1, DCI_D12, TLI_R7, EVENTOUT
Default: PG7
Alternate: USART5_CK, EXMC_INT2, DCI_D13,
TLI_PIXCLK, EVENTOUT
Default: PG8
PG8
93
I/O
5VT
Alternate: SPI5_NSS, USART5_RTS, ENET_PPS_OUT,
EXMC_SDCLK, EVENTOUT
VSS
94
P
-
Default: VSS
VDD
95
P
-
Default: VDD
Default: PC6
PC6
96
I/O
5VT
Alternate: TIMER2_CH0, TIMER7_CH0, I2S1_MCK,
USART5_TX, SDIO_D6, DCI_D0, TLI_HSYNC,
EVENTOUT
Default: PC7
PC7
97
I/O
5VT
Alternate: TIMER2_CH1, TIMER7_CH1, SPI1_SCK,
I2S1_CK, I2S2_MCK, USART5_RX, SDIO_D7, DCI_D1,
TLI_G6, EVENTOUT
Default: PC8
PC8
98
I/O
5VT
Alternate: TIMER2_CH2, TIMER7_CH2, USART5_CK,
SDIO_D0, DCI_D2, EVENTOUT
Default: PC9
PC9
99
I/O
5VT
Alternate: CK_OUT1, TIMER2_CH3, TIMER7_CH3,
I2C2_SDA, I2S_CKIN, SDIO_D1, DCI_D3, EVENTOUT
Default: PA8
PA8
100
I/O
5VT
Alternate: CK_OUT0, TIMER0_CH0, I2C2_SCL,
USART0_CK, USBFS_SOF, SDIO_D1, TLI_R6,
EVENTOUT, CTC_SYNC
PA9
101
I/O
5VT
Default: PA9
Alternate: TIMER0_CH1, I2C2_SMBA, SPI1_SCK,
34
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Type(1)
Level(2)
Functions description
I2S1_CK, USART0_TX, SDIO_D2, DCI_D0, EVENTOUT
Additional: USBFS_VBUS
Default: PA10
PA10
102
I/O
5VT
Alternate: TIMER0_CH2, SPI4_MOSI, USART0_RX,
USBFS_ID, DCI_D1, EVENTOUT, I2C2_TXFRAME
Default: PA11
PA11
103
I/O
5VT
Alternate: TIMER0_CH3, SPI3_MISO, USART0_CTS,
USART5_TX, CAN0_RX, USBFS_DM, TLI_R4,
EVENTOUT
Default: PA12
PA12
104
I/O
5VT
Alternate: TIMER0_ETI, SPI4_MISO, USART0_RTS,
USART5_RX, CAN0_TX, USBFS_DP, TLI_R5,
EVENTOUT
Default: JTMS, SWDIO, PA13
PA13
105
I/O
5VT
NC
106
-
-
-
VSS
107
P
-
Default: VSS
VDD
108
P
-
Default: VDD
PA14
109
I/O
5VT
Alternate: EVENTOUT
Default: JTCK, SWCLK, PA14
Alternate: EVENTOUT
Default: JTDI, PA15
PA15
110
I/O
5VT
Alternate: TIMER1_CH0, TIMER1_ETI, SPI0_NSS,
SPI2_NSS, I2S2_WS, USART0_TX, EVENTOUT
Default: PC10
PC10
111
I/O
5VT
Alternate: SPI2_SCK, I2S2_CK, USART2_TX, UART3_TX,
SDIO_D2, DCI_D8, TLI_R2, EVENTOUT
Default: PC11
PC11
112
I/O
5VT
Alternate: I2S2_ADD_SD, SPI2_MISO, USART2_RX,
UART3_RX, SDIO_D3, DCI_D4, EVENTOUT
Default: PC12
PC12
113
I/O
5VT
Alternate: I2C1_SDA, SPI2_MOSI, I2S2_SD, USART2_CK,
UART4_TX, SDIO_CK, DCI_D9, EVENTOUT
Default: PD0
PD0
114
I/O
5VT
Alternate: SPI3_MISO, SPI2_MOSI, I2S2_SD, CAN0_RX,
EXMC_D2, EVENTOUT
Default: PD1
PD1
115
I/O
5VT
Alternate: SPI1_NSS, I2S1_WS, CAN0_TX, EXMC_D3,
EVENTOUT
Default: PD2
PD2
116
I/O
5VT
Alternate: TIMER2_ETI, UART4_RX, SDIO_CMD,
DCI_D11, EVENTOUT
Default: PD3
PD3
117
I/O
5VT
Alternate: SPI1_SCK, I2S1_CK, USART1_CTS,
EXMC_CLK, DCI_D5, TLI_G7, EVENTOUT
PD4
118
I/O
5VT
Default: PD4
Alternate: USART1_RTS, EXMC_NOE, EVENTOUT
35
GD32F470xx Datasheet
Pin
I/O
Type(1)
Level(2)
119
I/O
5VT
VSS
120
P
-
Default: VSS
VDD
121
P
-
Default: VDD
Pin Name
Pins
PD5
Functions description
Default: PD5
Alternate: USART1_TX, EXMC_NWE, EVENTOUT
Default: PD6
PD6
122
I/O
5VT
Alternate: SPI2_MOSI, I2S2_SD, USART1_RX,
EXMC_NWAIT, DCI_D10, TLI_B2, EVENTOUT
Default: PD7
PD7
123
I/O
5VT
Alternate: USART1_CK, EXMC_NE0, EXMC_NCE1,
EVENTOUT
Default: PG9
PG9
124
I/O
5VT
Alternate: USART5_RX, EXMC_NE1, EXMC_NCE2,
DCI_VSYNC, EVENTOUT
Default: PG10
PG10
125
I/O
5VT
Alternate: SPI5_IO2, TLI_G3, EXMC_NCE3_0,
EXMC_NE2, DCI_D2, TLI_B2, EVENTOUT
Default: PG11
PG11
126
I/O
5VT
Alternate: SPI5_IO3, SPI3_SCK, ENET_MII_TX_EN,
ENET_RMII_TX_EN, EXMC_NCE3_1, DCI_D3, TLI_B3,
EVENTOUT
Default: PG12
PG12
127
I/O
5VT
Alternate: SPI5_MISO, SPI3_MISO, USART5_RTS,
TLI_B4, EXMC_NE3, TLI_B1, EVENTOUT
Default: PG13
PG13
128
I/O
5VT
Alternate: SPI5_SCK, SPI3_MOSI, USART5_CTS,
ENET_MII_TXD0, ENET_RMII_TXD0, EXMC_A24,
EVENTOUT
Default: PG14
PG14
129
I/O
5VT
Alternate: SPI5_MOSI, SPI3_NSS, USART5_TX,
ENET_MII_TXD1, ENET_RMII_TXD1, EXMC_A25,
EVENTOUT
VSS
130
P
-
Default: VSS
VDD
131
P
-
Default: VDD
PG15
132
I/O
5VT
Default: PG15
Alternate: USART5_CTS, EXMC_SDNCAS, DCI_D13,
EVENTOUT
Default: JTDO, PB3
PB3
133
I/O
5VT
Alternate: TRACESWO, TIMER1_CH1, SPI0_SCK,
SPI2_SCK, I2S2_CK, USART0_RX, I2C1_SDA,
EVENTOUT
Default: NJTRST, PB4
PB4
134
I/O
5VT
Alternate:TIMER2_CH0, SPI0_MISO, SPI2_MISO,
I2S2_ADD_SD, I2C2_SDA, SDIO_D0, EVENTOUT,
I2C0_TXFRAME
PB5
135
I/O
5VT
Default: PB5
Alternate:TIMER2_CH1, I2C0_SMBA, SPI0_MOSI,
36
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Type(1)
Level(2)
Functions description
SPI2_MOSI, I2S2_SD, CAN1_RX, USBHS_ULPI_D7,
ENET_PPS_OUT, EXMC_SDCKE1, DCI_D10,
EVENTOUT
Default: PB6
PB6
136
I/O
5VT
Alternate:TIMER3_CH0, I2C0_SCL, USART0_TX,
CAN1_TX, EXMC_SDNE1, DCI_D5, EVENTOUT
Default: PB7
PB7
137
I/O
5VT
Alternate:TIMER3_CH1, I2C0_SDA, USART0_RX,
EXMC_NL/EXMC_NADV, DCI_VSYNC, EVENTOUT
BOOT0
138
I/O
5VT
Default: BOOT0
Default: PB8
PB8
139
I/O
5VT
Alternate:TIMER1_CH0, TIMER1_ETI, TIMER3_CH2,
TIMER9_CH0, I2C0_SCL, SPI4_MOSI, CAN0_RX,
ENET_MII_TXD3, SDIO_D4, DCI_D6, TLI_B6, EVENTOUT
Default: PB9
PB9
140
I/O
5VT
Alternate:TIMER1_CH1, TIMER3_CH3, TIMER10_CH0,
I2C0_SDA, SPI1_NSS, I2S1_WS, CAN0_TX, SDIO_D5,
DCI_D7, TLI_B7, EVENTOUT
Default: PE0
PE0
141
I/O
5VT
Alternate: TIMER3_ETI, UART7_RX, EXMC_NBL0,
DCI_D2, EVENTOUT
Default: PE1
PE1
142
I/O
5VT
Alternate: TIMER0_CH1_ON, UART7_TX, EXMC_NBL1,
DCI_D3, EVENTOUT
PDR_ON
143
P
-
Default: PDR_ON
VDD
144
P
-
Default: VDD
Notes:
(1) Type: I = input, O = output, P = power.
(2) I/O Level: 5VT = 5 V tolerant.
2.6.3.
GD32F470Vx BGA100 pin definitions
Table 2-5. GD32F470Vx BGA100 pin definitions
Pin Name
Pins
PE2
B2
Pin
I/O
Type(1)
Level(2)
I/O
5VT
Functions description
Default: PE2
Alternate: SPI3_SCK, ETH_MII_TXD3, EXMC_A23,
EVENTOUT
PE3
A1
I/O
5VT
Default: PE3
Alternate: EXMC_A19, EVENTOUT
Default: PE4
PE4
B1
I/O
5VT
Alternate: SPI3_NSS, EXMC_A20, DCI_D4, TLI_B0,
EVENTOUT
PE5
C2
I/O
5VT
Default: PE5
37
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Functions description
Type(1) Level(2)
Alternate: TIMER8_CH0, SPI3_MISO, EXMC_A21, DCI_D6,
TLI_G0, EVENTOUT
Default: PE6
PE6
D2
I/O
5VT
VBAT
E2
P
-
Alternate: TIMER8_CH1, SPI3_MOSI, EXMC_A22, DCI_D7,
TLI_G1, EVENTOUT
PC13TAMPER-
Default: PC13
C1
I/O
5VT
OSC32IN
Default: PC14
D1
I/O
5VT
Alternate: EVENTOUT
Additional: OSC32IN
PC15OSC32OU
Alternate: EVENTOUT
Additional: RTC_TAMP0, RTC_OUT, RTC_TS
RTC
PC14-
Default: VBAT
Default: PC15
E1
I/O
5VT
Alternate: EVENTOUT
Additional: OSC32OUT
T
VSS
F2
P
-
Default: VSS
VDD
G2
P
-
Default: VDD
Default: PH0, OSCIN
PH0
F1
I/O
5VT
Alternate: EVENTOUT
Additional: OSCIN
Default: PH1, OSCOUT
PH1
G1
I/O
5VT
Alternate: EVENTOUT
Additional: OSCOUT
NRST
H2
-
-
Default: NRST
Default: PC0
PC0
H1
I/O
5VT
Alternate: USBHS_ULPI_STP, EXMC_SDNWE, EVENTOUT
Additional: ADC012_IN10
Default: PC1
PC1
J2
I/O
5VT
Alternate: SPI2_MOSI, I2S2_SD, SPI1_MOSI, I2S1_SD,
ETH_MDC, EVENTOUT
Additional: ADC012_IN11
Default: PC2
PC2
J3
I/O
5VT
Alternate: SPI1_MISO, I2S1_ADD_SD, USBHS_ULPI_DIR,
ETH_MII_TXD2, EXMC_SDNE0, EVENTOUT
Additional: ADC012_IN12
Default: PC3
PC3
K2
I/O
5VT
Alternate: SPI1_MOSI, I2S1_SD, USBHS_ULPI_NXT,
ETH_MII_TX_CLK, EXMC_SDCKE0, EVENTOUT
Additional: ADC012_IN13
VSSA
J1
P
-
Default: VSSA
VREFN
K1
P
-
Default: VREF-
VREFP
L1
P
-
Default: VREF+
VDDA
M1
P
-
Default: VDDA
PA0-WKUP
L2
I/O
5VT
Default: PA0
Alternate: TIMER1_CH0, TIMER1_ETI, TIMER4_CH0,
38
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Functions description
Type(1) Level(2)
TIMER7_ETI, USART1_CTS, UART3_TX, ETH_MII_CRS,
EVENTOUT
Additional: ADC012_IN0, WKUP
Default: PA1
Alternate: TIMER1_CH1, TIMER4_CH1, SPI3_MOSI,
PA1
M2
I/O
5VT
USART1_RTS, UART3_RX, ETH_MII_RX_CLK,
ETH_RMII_REF_CLK, EVENTOUT
Additional: ADC012_IN1
Default: PA2
PA2
K3
I/O
5VT
Alternate: TIMER1_CH2, TIMER4_CH2, TIMER8_CH0,
I2S_CKIN, USART1_TX, ETH_MDIO, EVENTOUT
Additional: ADC012_IN2
Default: PA3
Alternate: TIMER1_CH3, TIMER4_CH3, TIMER8_CH1,
PA3
L3
I/O
5VT
I2S1_MCK, USART1_RX, USBHS_ULPI_D0, ETH_MII_COL,
TLI_B5, EVENTOUT
Additional: ADC012_IN3
NC
E3
-
-
Default: PA4
PA4
M3
I/O
TTa
Alternate: SPI0_NSS, SPI2_NSS, I2S2_WS, USART1_CK,
USBHS_SOF, DCI_HSYNC, TLI_VSYNC, EVENTOUT
Additional: ADC01_IN4, DAC_OUT0
Default: PA5
PA5
K4
I/O
TTa
Alternate: TIMER1_CH0, TIMER1_ETI, TIMER7_CH0_ON,
SPI0_SCK, USBHS_ULPI_CK, EVENTOUT
Additional: ADC01_IN5, DAC_OUT1
Default: PA6
Alternate: TIMER0_BRKIN, TIMER2_CH0, TIMER7_BRKIN,
PA6
L4
I/O
5VT
SPI0_MISO, I2S1_MCK, TIMER12_CH0, SDIO_CMD,
DCI_PIXCLK, TLI_G2, EVENTOUT
Additional: ADC01_IN6
Default: PA7
Alternate: TIMER0_CH0_ON, TIMER2_CH1,
PA7
M4
I/O
5VT
TIMER7_CH0_ON, SPI0_MOSI, TIMER13_CH0,
ETH_MII_RX_DV, ETH_RMII_CRS_DV, EXMC_SDNWE,
EVENTOUT
Additional: ADC01_IN7
Default: PC4
PC4
K5
I/O
5VT
Alternate: ETH_MII_RXD0, ETH_RMII_RXD0,
EXMC_SDNE0, EVENTOUT
Additional: ADC01_IN14
Default: PC5
PC5
L5
I/O
5VT
Alternate: USART2_RX, ETH_MII_RXD1, ETH_RMII_RXD1,
EXMC_SDCKE0, EVENTOUT
Additional: ADC01_IN15
PB0
M5
I/O
5VT
Default: PB0
39
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Functions description
Type(1) Level(2)
Alternate: TIMER0_CH1_ON, TIMER2_CH2,
TIMER7_CH1_ON, SPI4_SCK, SPI2_MOSI, I2S2_SD,
TLI_R3, USBHS_ULPI_D1, ETH_MII_RXD2, SDIO_D1,
EVENTOUT
Additional: ADC01_IN8, IREF
Default: PB1
Alternate: TIMER0_CH2_ON, TIMER2_CH3,
PB1
M6
I/O
5VT
TIMER7_CH2_ON, SPI4_NSS, TLI_R6, USBHS_ULPI_D2,
ETH_MII_RXD3, SDIO_D2, EVENTOUT
Additional: ADC01_IN9
Default: PB2, BOOT1
PB2
L6
I/O
5VT
Alternate:TIMER1_CH3, SPI2_MOSI, I2S2_SD,
USBHS_ULPI_D4, SDIO_CK, EVENTOUT
Default: PE7
PE7
M7
I/O
5VT
Alternate: TIMER0_ETI, UART6_RX, EXMC_D4,
EVENTOUT
Default: PE8
PE8
L7
I/O
5VT
Alternate: TIMER0_CH0_ON, UART6_TX, EXMC_D5,
EVENTOUT
PE9
M8
I/O
5VT
PE10
L8
I/O
5VT
PE11
M9
I/O
5VT
Default: PE9
Alternate: TIMER0_CH0, EXMC_D6, EVENTOUT
Default: PE10
Alternate: TIMER0_CH1_ON, EXMC_D7, EVENTOUT
Default: PE11
Alternate:TIMER0_CH1, SPI3_NSS, SPI4_NSS, EXMC_D8,
TLI_G3, EVENTOUT
Default: PE12
PE12
L9
I/O
5VT
Alternate:TIMER0_CH2_ON, SPI3_SCK, SPI4_SCK,
EXMC_D9, TLI_B4, EVENTOUT
Default: PE13
PE13
M10
I/O
5VT
Alternate:TIMER0_CH2, SPI3_MISO, SPI4_MISO,
EXMC_D10, TLI_DE, EVENTOUT
Default: PE14
PE14
M11
I/O
5VT
Alternate:TIMER0_CH3, SPI3_MOSI, SPI4_MOSI,
EXMC_D11, TLI_PIXCLK, EVENTOUT
Default: PE15
PE15
M12
I/O
5VT
Alternate: TIMER0_BRKIN, EXMC_D12, TLI_R7,
EVENTOUT
Default: PB10
PB10
L10
I/O
5VT
Alternate:TIMER1_CH2, I2C1_SCL, SPI1_SCK, I2S1_CK,
I2S2_MCK, USART2_TX, USBHS_ULPI_D3,
ETH_MII_RX_ER, SDIO_D7, TLI_G4, EVENTOUT
Default: PB11
PB11
K9
I/O
5VT
Alternate:TIMER1_CH3, I2C1_SDA, I2S_CKIN,
USART2_RX, USBHS_ULPI_D4, ETH_MII_TX_EN,
ETH_RMII_TX_EN, TLI_G5, EVENTOUT
40
GD32F470xx Datasheet
Pin
I/O
Pin Name
Pins
Functions description
NC
L11
P
-
-
VSS
F12
P
-
Default: VSS
VDD
G12
P
-
Default: VDD
Type(1) Level(2)
Default: PB12
Alternate:TIMER0_BRKIN, I2C1_SMBA, SPI1_NSS,
PB12
L12
I/O
5VT
I2S1_WS, SPI3_NSS, USART2_CK, CAN1_RX,
USBHS_ULPI_D5, ETH_MII_TXD0, ETH_RMII_TXD0,
USBHS_ID, EVENTOUT
Default: PB13
Alternate: TIMER0_CH0_ON, SPI1_SCK, I2S1_CK,
PB13
K12
I/O
5VT
SPI3_SCK, USART2_CTS, CAN1_TX, USBHS_ULPI_D6,
ETH_MII_TXD1, ETH_RMII_TXD1, EVENTOUT,
I2C1_TXFRAME
Additional: USBHS_VBUS
Default: PB14
PB14
K11
I/O
5VT
Alternate:TIMER0_CH1_ON, TIMER7_CH1_ON,
SPI1_MISO, I2S1_ADD_SD, USART2_RTS, TIMER11_CH0,
USBHS_DM, EVENTOUT
Default: PB15
PB15
K10
I/O
5VT
Alternate: RTC_REFIN, TIMER0_CH2_ON,
TIMER7_CH2_ON, SPI1_MOSI, I2S1_SD, TIMER11_CH1,
USBHS_DP, EVENTOUT
PD9
K8
I/O
5VT
PD10
J12
I/O
5VT
Default: PD9
Alternate: USART2_RX, EXMC_D14, EVENTOUT
Default: PD10
Alternate: USART2_CK, EXMC_D15, TLI_B3, EVENTOUT
Default: PD11
PD11
J11
I/O
5VT
Alternate: USART2_CTS, EXMC_A16/EXMC_CLE,
EVENTOUT
Default: PD12
PD12
J10
I/O
5VT
Alternate: TIMER3_CH0, USART2_RTS,
EXMC_A17/EXMC_ALE, EVENTOUT
PD13
H12
I/O
5VT
PD14
H11
I/O
5VT
PD15
H10
I/O
5VT
Default: PD13
Alternate: TIMER3_CH1, EXMC_A18, EVENTOUT
Default: PD14
Alternate: TIMER3_CH2, EXMC_D0, EVENTOUT
Default: PD15
Alternate: TIMER3_CH3, EXMC_D1, EVENTOUT,
CTC_SYNC
Default: PC6
PC6
E12
I/O
5VT
Alternate:TIMER2_CH0, TIMER7_CH0, I2S1_MCK,
USART5_TX, SDIO_D6, DCI_D0, TLI_HSYNC, EVENTOUT
Default: PC7
PC7
E11
I/O
5VT
Alternate:TIMER2_CH1, TIMER7_CH1, SPI1_SCK,
I2S1_CK, I2S2_MCK, USART5_RX, SDIO_D7, DCI_D1,
TLI_G6, EVENTOUT
41
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Functions description
Type(1) Level(2)
Default: PC8
PC8
E10
I/O
5VT
Alternate: TIMER2_CH2, TIMER7_CH2, USART5_CK,
SDIO_D0, DCI_D2, EVENTOUT
Default: PC9
PC9
D12
I/O
5VT
Alternate:CK_OUT1, TIMER2_CH3, TIMER7_CH3,
I2C2_SDA, I2S_CKIN, SDIO_D1, DCI_D3, EVENTOUT
Default: PA8
PA8
D11
I/O
5VT
Alternate: CK_OUT0, TIMER0_CH0, I2C2_SCL,
USART0_CK, USBFS_SOF, SDIO_D1, TLI_R6,
EVENTOUT, CTC_SYNC
Default: PA9
PA9
D10
I/O
5VT
Alternate: TIMER0_CH1, I2C2_SMBA, SPI1_SCK, I2S1_CK,
USART0_TX, SDIO_D2, DCI_D0, EVENTOUT
Additional: USBFS_VBUS
Default: PA10
PA10
C12
I/O
5VT
Alternate:TIMER0_CH2, SPI4_MOSI, USART0_RX,
USBFS_ID, DCI_D1, EVENTOUT, I2C2_TXFRAME
Default: PA11
PA11
B12
I/O
5VT
Alternate:TIMER0_CH3, SPI3_MISO, USART0_CTS,
USART5_TX, CAN0_RX, USBFS_DM, TLI_R4, EVENTOUT
Default: PA12
PA12
A12
I/O
5VT
Alternate:TIMER0_ETI, SPI4_MISO, USART0_RTS,
USART5_RX, CAN0_TX, USBFS_DP, TLI_R5, EVENTOUT
Default: JTMS, SWDIO, PA13
PA13
A11
I/O
5VT
NC
C11
-
-
-
VSS
F11
P
-
Default: VSS
VDD
G11
P
-
Default: VDD
PA14
A10
I/O
5VT
PA15
A9
I/O
5VT
Alternate: EVENTOUT
Default: JTCK, SWCLK, PA14
Alternate: EVENTOUT
Default: JTDI, PA15
Alternate:TIMER1_CH0, TIMER1_ETI, SPI0_NSS,
SPI2_NSS, I2S2_WS, USART0_TX, EVENTOUT
Default: PC10
PC10
B11
I/O
5VT
Alternate:SPI2_SCK, I2S2_CK, USART2_TX, UART3_TX,
SDIO_D2, DCI_D8, TLI_R2, EVENTOUT
Default: PC11
PC11
C10
I/O
5VT
Alternate:I2S2_ADD_SD, SPI2_MISO, USART2_RX,
UART3_RX, SDIO_D3, DCI_D4, EVENTOUT
Default: PC12
PC12
B10
I/O
5VT
Alternate:I2C1_SDA, SPI2_MOSI, I2S2_SD, USART2_CK,
UART4_TX, SDIO_CK, DCI_D9, EVENTOUT
Default: PD0
PD0
C9
I/O
5VT
Alternate:SPI3_MISO, SPI2_MOSI, I2S2_SD, CAN0_RX,
EXMC_D2, EVENTOUT
PD1
B9
I/O
5VT
Default: PD1
42
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Functions description
Type(1) Level(2)
Alternate: SPI1_NSS, I2S1_WS, CAN0_TX, EXMC_D3,
EVENTOUT
Default: PD2
PD2
C8
I/O
5VT
Alternate: TIMER2_ETI, UART4_RX, SDIO_CMD, DCI_D11,
EVENTOUT
Default: PD3
PD3
B8
I/O
5VT
Alternate: SPI1_SCK, I2S1_CK, USART1_CTS, EXMC_CLK,
DCI_D5, TLI_G7, EVENTOUT
PD4
B7
I/O
5VT
PD5
A6
I/O
5VT
Default: PD4
Alternate: USART1_RTS, EXMC_NOE, EVENTOUT
Default: PD5
Alternate: USART1_TX, EXMC_NWE, EVENTOUT
Default: PD6
PD6
B6
I/O
5VT
Alternate:SPI2_MOSI, I2S2_SD, USART1_RX,
EXMC_NWAIT, DCI_D10, TLI_B2, EVENTOUT
Default: PD7
PD7
A5
I/O
5VT
Alternate: USART1_CK, EXMC_NE0, EXMC_NCE1,
EVENTOUT
Default: JTDO, PB3
PB3
A8
I/O
5VT
Alternate: TRACESWO, TIMER1_CH1, SPI0_SCK,
SPI2_SCK, I2S2_CK, USART0_RX, I2C1_SDA, EVENTOUT
Default: JNTRST, PB4
PB4
A7
I/O
5VT
Alternate:TIMER2_CH0, SPI0_MISO, SPI2_MISO,
I2S2_ADD_SD, I2C2_SDA, SDIO_D0, EVENTOUT,
I2C0_TXFRAME
Default: PB5
PB5
C5
I/O
5VT
Alternate:TIMER2_CH1, I2C0_SMBA, SPI0_MOSI,
SPI2_MOSI, I2S2_SD, CAN1_RX, USBHS_ULPI_D7,
ETH_PPS_OUT, EXMC_SDCKE1, DCI_D10, EVENTOUT
Default: PB6
PB6
B5
I/O
5VT
Alternate:TIMER3_CH0, I2C0_SCL, USART0_TX,
CAN1_TX, EXMC_SDNE1, DCI_D5, EVENTOUT
Default: PB7
PB7
B4
I/O
5VT
Alternate:TIMER3_CH1, I2C0_SDA, USART0_RX,
EXMC_NL/EXMC_NADV, DCI_VSYNC, EVENTOUT
BOOT0
A4
I/O
5VT
Default: BOOT0
Default: PB8
PB8
A3
I/O
5VT
Alternate:TIMER1_CH0, TIMER1_ETI, TIMER3_CH2,
TIMER9_CH0, I2C0_SCL, SPI4_MOSI, CAN0_RX,
ETH_MII_TXD3, SDIO_D4, DCI_D6, TLI_B6, EVENTOUT
Default: PB9
PB9
B3
I/O
5VT
Alternate:TIMER1_CH1, TIMER3_CH3, TIMER10_CH0,
I2C0_SDA, SPI1_NSS, I2S1_WS, CAN0_TX, SDIO_D5,
DCI_D7, TLI_B7, EVENTOUT
PE0
C3
I/O
5VT
Default: PE0
Alternate: TIMER3_ETI, UART7_RX, EXMC_NBL0, DCI_D2,
43
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Functions description
Type(1) Level(2)
EVENTOUT
Default: PE1
PE1
A2
I/O
5VT
Alternate: TIMER0_CH1_ON, UART7_TX, EXMC_NBL1,
DCI_D3, EVENTOUT
2.6.4.
VSS
D3
P
-
Default: VSS
PDR_ON
H3
P
-
Default: PDR_ON
VDD
C4
P
-
Default: VDD
GD32F470Vx LQFP100 pin definitions
Table 2-6. GD32F470Vx LQFP100 pin definitions
Pin Name
Pins
PE2
1
Pin
I/O
Type(1)
Level(2)
I/O
5VT
Functions description
Default: PE2
Alternate: SPI3_SCK, ENET_MII_TXD3, EXMC_A23,
EVENTOUT
PE3
2
I/O
5VT
PE4
3
I/O
5VT
Default: PE3
Alternate: EXMC_A19, EVENTOUT
Default: PE4
Alternate: SPI3_NSS, EXMC_A20, DCI_D4, TLI_B0,
EVENTOUT
Default: PE5
PE5
4
I/O
5VT
Alternate: TIMER8_CH0, SPI3_MISO, EXMC_A21,
DCI_D6, TLI_G0, EVENTOUT
Default: PE6
PE6
5
I/O
5VT
Alternate: TIMER8_CH1, SPI3_MOSI, EXMC_A22,
DCI_D7, TLI_G1, EVENTOUT
VBAT
6
P
-
7
I/O
5VT
PC13TAMPER-
Default: PC13
OSC32IN
Default: PC14
8
I/O
5VT
Alternate: EVENTOUT
Additional: OSC32IN
PC15OSC32OU
Alternate: EVENTOUT
Additional: RTC_TAMP0, RTC_OUT, RTC_TS
RTC
PC14-
Default: VBAT
Default: PC15
9
I/O
5VT
Alternate: EVENTOUT
Additional: OSC32OUT
T
VSS
10
P
-
Default: VSS
VDD
11
P
-
Default: VDD
Default: PH0, OSCIN
PH0
12
I/O
5VT
Alternate: EVENTOUT
Additional: OSCIN
44
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Type(1)
Level(2)
Functions description
Default: PH1, OSCOUT
PH1
13
I/O
5VT
Alternate: EVENTOUT
Additional: OSCOUT
NRST
14
-
-
Default: NRST
Default: PC0
PC0
15
I/O
5VT
Alternate: USBHS_ULPI_STP, EVENTOUT
Additional: ADC012_IN10
Default: PC1
PC1
16
I/O
5VT
Alternate: SPI2_MOSI, I2S2_SD, SPI1_MOSI, I2S1_SD,
ENET_MDC, EVENTOUT
Additional: ADC012_IN11
Default: PC2
PC2
17
I/O
5VT
Alternate: SPI1_MISO, I2S1_ADD_SD, USBHS_ULPI_DIR,
ENET_MII_TXD2, EVENTOUT
Additional: ADC012_IN12
Default: PC3
PC3
18
I/O
5VT
Alternate: SPI1_MOSI, I2S1_SD, USBHS_ULPI_NXT,
ENET_MII_TX_CLK, EVENTOUT
Additional: ADC012_IN13
VDD
19
P
-
Default: VDD
VSSA
20
P
-
Default: VSSA
VREFP
21
P
-
Default: VREF+
VDDA
22
P
-
Default: VDDA
Default: PA0
PA0WKUP
Alternate: TIMER1_CH0, TIMER1_ETI, TIMER4_CH0,
23
I/O
5VT
TIMER7_ETI, USART1_CTS, UART3_TX,
ENET_MII_CRS, EVENTOUT
Additional: ADC012_IN0, WKUP
Default: PA1
Alternate: TIMER1_CH1, TIMER4_CH1, SPI3_MOSI,
PA1
24
I/O
5VT
USART1_RTS, UART3_RX, ENET_MII_RX_CLK,
ENET_RMII_REF_CLK, EVENTOUT
Additional: ADC012_IN1
Default: PA2
PA2
25
I/O
5VT
Alternate: TIMER1_CH2, TIMER4_CH2, TIMER8_CH0,
I2S_CKIN, USART1_TX, ENET_MDIO, EVENTOUT
Additional: ADC012_IN2
Default: PA3
Alternate: TIMER1_CH3, TIMER4_CH3, TIMER8_CH1,
PA3
26
I/O
5VT
I2S1_MCK, USART1_RX, USBHS_ULPI_D0,
ENET_MII_COL, TLI_B5, EVENTOUT
Additional: ADC012_IN3
VSS
27
P
-
Default: VSS
VDD
28
P
-
Default: VDD
45
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Type(1)
Level(2)
Functions description
Default: PA4
PA4
29
Alternate: SPI0_NSS, SPI2_NSS, I2S2_WS, USART1_CK,
I/O
USBHS_SOF, DCI_HSYNC, TLI_VSYNC, EVENTOUT
Additional: ADC01_IN4, DAC_OUT0
Default: PA5
PA5
30
Alternate: TIMER1_CH0, TIMER1_ETI, TIMER7_CH0_ON,
I/O
SPI0_SCK, USBHS_ULPI_CK, EVENTOUT
Additional: ADC01_IN5, DAC_OUT1
Default: PA6
Alternate: TIMER0_BRKIN, TIMER2_CH0,
PA6
31
I/O
5VT
TIMER7_BRKIN, SPI0_MISO, I2S1_MCK, TIMER12_CH0,
SDIO_CMD, DCI_PIXCLK, TLI_G2, EVENTOUT
Additional: ADC01_IN6
Default: PA7
Alternate: TIMER0_CH0_ON, TIMER2_CH1,
PA7
32
I/O
5VT
TIMER7_CH0_ON, SPI0_MOSI, TIMER13_CH0,
ENET_MII_RX_DV, ENET_RMII_CRS_DV, EVENTOUT
Additional: ADC01_IN7
Default: PC4
PC4
33
I/O
5VT
Alternate: ENET_MII_RXD0, ENET_RMII_RXD0,
EVENTOUT
Additional: ADC01_IN14
Default: PC5
PC5
34
I/O
5VT
Alternate: USART2_RX, ENET_MII_RXD1,
ENET_RMII_RXD1, EVENTOUT
Additional: ADC01_IN15
Default: PB0
Alternate: TIMER0_CH1_ON, TIMER2_CH2,
PB0
35
I/O
5VT
TIMER7_CH1_ON, SPI4_SCK, SPI2_MOSI, I2S2_SD,
TLI_R3, USBHS_ULPI_D1, ENET_MII_RXD2, SDIO_D1,
EVENTOUT
Additional: ADC01_IN8, IREF
Default: PB1
Alternate: TIMER0_CH2_ON, TIMER2_CH3,
PB1
36
I/O
5VT
TIMER7_CH2_ON, SPI4_NSS, TLI_R6, USBHS_ULPI_D2,
ENET_MII_RXD3, SDIO_D2, EVENTOUT
Additional: ADC01_IN9
Default: PB2, BOOT1
PB2
37
I/O
5VT
Alternate: TIMER1_CH3, SPI2_MOSI, I2S2_SD,
USBHS_ULPI_D4, SDIO_CK, EVENTOUT
Default: PE7
PE7
38
I/O
5VT
Alternate: TIMER0_ETI, UART6_RX, EXMC_D4,
EVENTOUT
Default: PE8
PE8
39
I/O
5VT
Alternate: TIMER0_CH0_ON, UART6_TX, EXMC_D5,
EVENTOUT
46
GD32F470xx Datasheet
Pin
I/O
Type(1)
Level(2)
40
I/O
5VT
PE10
41
I/O
5VT
PE11
42
I/O
5VT
Pin Name
Pins
PE9
Functions description
Default: PE9
Alternate: TIMER0_CH0, EXMC_D6, EVENTOUT
Default: PE10
Alternate: TIMER0_CH1_ON, EXMC_D7, EVENTOUT
Default: PE11
Alternate: TIMER0_CH1, SPI3_NSS, SPI4_NSS,
EXMC_D8, TLI_G3, EVENTOUT
Default: PE12
PE12
43
I/O
5VT
Alternate: TIMER0_CH2_ON, SPI3_SCK, SPI4_SCK,
EXMC_D9, TLI_B4, EVENTOUT
Default: PE13
PE13
44
I/O
5VT
Alternate: TIMER0_CH2, SPI3_MISO, SPI4_MISO,
EXMC_D10, TLI_DE, EVENTOUT
Default: PE14
PE14
45
I/O
5VT
Alternate: TIMER0_CH3, SPI3_MOSI, SPI4_MOSI,
EXMC_D11, TLI_PIXCLK, EVENTOUT
Default: PE15
PE15
46
I/O
5VT
Alternate: TIMER0_BRKIN, EXMC_D12, TLI_R7,
EVENTOUT
Default: PB10
PB10
47
I/O
5VT
Alternate: TIMER1_CH2, I2C1_SCL, SPI1_SCK, I2S1_CK,
I2S2_MCK, USART2_TX, USBHS_ULPI_D3,
ENET_MII_RX_ER, SDIO_D7, TLI_G4, EVENTOUT
Default: PB11
PB11
48
I/O
5VT
Alternate: TIMER1_CH3, I2C1_SDA, I2S_CKIN,
USART2_RX, USBHS_ULPI_D4, ENET_MII_TX_EN,
ENET_RMII_TX_EN, TLI_G5, EVENTOUT
NC
49
-
-
-
VDD
50
P
-
Default: VDD
Default: PB12
Alternate: TIMER0_BRKIN, I2C1_SMBA, SPI1_NSS,
PB12
51
I/O
5VT
I2S1_WS, SPI3_NSS, USART2_CK, CAN1_RX,
USBHS_ULPI_D5, ENET_MII_TXD0, ENET_RMII_TXD0,
USBHS_ID, EVENTOUT
Default: PB13
Alternate: TIMER0_CH0_ON, SPI1_SCK, I2S1_CK,
PB13
52
I/O
5VT
SPI3_SCK, USART2_CTS, CAN1_TX, USBHS_ULPI_D6,
ENET_MII_TXD1, ENET_RMII_TXD1, EVENTOUT,
I2C1_TXFRAME
Additional: USBHS_VBUS
Default: PB14
PB14
53
I/O
5VT
Alternate: TIMER0_CH1_ON, TIMER7_CH1_ON,
SPI1_MISO, I2S1_ADD_SD, USART2_RTS,
TIMER11_CH0, USBHS_DM, EVENTOUT
PB15
54
I/O
5VT
Default: PB15
Alternate: RTC_REFIN, TIMER0_CH2_ON,
47
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Type(1)
Level(2)
Functions description
TIMER7_CH2_ON, SPI1_MOSI, I2S1_SD, TIMER11_CH1,
USBHS_DP, EVENTOUT
PD8
55
I/O
5VT
PD9
56
I/O
5VT
PD10
57
I/O
5VT
Default: PD8
Alternate: USART2_TX, EXMC_D13, EVENTOUT
Default: PD9
Alternate: USART2_RX, EXMC_D14, EVENTOUT
Default: PD10
Alternate: USART2_CK, EXMC_D15, TLI_B3, EVENTOUT
Default: PD11
PD11
58
I/O
5VT
Alternate: USART2_CTS, EXMC_A16/EXMC_CLE,
EVENTOUT
Default: PD12
PD12
59
I/O
5VT
Alternate: TIMER3_CH0, USART2_RTS,
EXMC_A17/EXMC_ALE, EVENTOUT
PD13
60
I/O
5VT
PD14
61
I/O
5VT
Default: PD13
Alternate: TIMER3_CH1, EXMC_A18, EVENTOUT
Default: PD14
Alternate: TIMER3_CH2, EXMC_D0, EVENTOUT
Default: PD15
PD15
62
I/O
5VT
Alternate: TIMER3_CH3, EXMC_D1, EVENTOUT,
CTC_SYNC
Default: PC6
PC6
63
I/O
5VT
Alternate: TIMER2_CH0, TIMER7_CH0, I2S1_MCK,
USART5_TX, SDIO_D6, DCI_D0, TLI_HSYNC,
EVENTOUT
Default: PC7
PC7
64
I/O
5VT
Alternate: TIMER2_CH1, TIMER7_CH1, SPI1_SCK,
I2S1_CK, I2S2_MCK, USART5_RX, SDIO_D7, DCI_D1,
TLI_G6, EVENTOUT
Default: PC8
PC8
65
I/O
5VT
Alternate: TIMER2_CH2, TIMER7_CH2, USART5_CK,
SDIO_D0, DCI_D2, EVENTOUT
Default: PC9
PC9
66
I/O
5VT
Alternate: CK_OUT1, TIMER2_CH3, TIMER7_CH3,
I2C2_SDA, I2S_CKIN, SDIO_D1, DCI_D3, EVENTOUT
Default: PA8
PA8
67
I/O
5VT
Alternate: CK_OUT0, TIMER0_CH0, I2C2_SCL,
USART0_CK, USBFS_SOF, SDIO_D1, TLI_R6,
EVENTOUT, CTC_SYNC
Default: PA9
PA9
68
I/O
5VT
Alternate: TIMER0_CH1, I2C2_SMBA, SPI1_SCK,
I2S1_CK, USART0_TX, SDIO_D2, DCI_D0, EVENTOUT
Additional: USBFS_VBUS
Default: PA10
PA10
69
I/O
5VT
Alternate: TIMER0_CH2, SPI4_MOSI, USART0_RX,
USBFS_ID, DCI_D1, EVENTOUT, I2C2_TXFRAME
48
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Type(1)
Level(2)
Functions description
Default: PA11
PA11
70
I/O
5VT
Alternate: TIMER0_CH3, SPI3_MISO, USART0_CTS,
USART5_TX, CAN0_RX, USBFS_DM, TLI_R4,
EVENTOUT
Default: PA12
PA12
71
I/O
5VT
Alternate: TIMER0_ETI, SPI4_MISO, USART0_RTS,
USART5_RX, CAN0_TX, USBFS_DP, TLI_R5,
EVENTOUT
Default: JTMS, SWDIO, PA13
PA13
72
I/O
5VT
NC
73
-
-
-
VSS
74
P
-
Default: VSS
VDD
75
P
-
Default: VDD
PA14
76
I/O
5VT
PA15
77
I/O
5VT
Alternate: EVENTOUT
Default: JTCK, SWCLK, PA14
Alternate: EVENTOUT
Default: JTDI, PA15
Alternate: TIMER1_CH0, TIMER1_ETI, SPI0_NSS,
SPI2_NSS, I2S2_WS, USART0_TX, EVENTOUT
Default: PC10
PC10
78
I/O
5VT
Alternate: SPI2_SCK, I2S2_CK, USART2_TX, UART3_TX,
SDIO_D2, DCI_D8, TLI_R2, EVENTOUT
Default: PC11
PC11
79
I/O
5VT
Alternate: I2S2_ADD_SD, SPI2_MISO, USART2_RX,
UART3_RX, SDIO_D3, DCI_D4, EVENTOUT
Default: PC12
PC12
80
I/O
5VT
Alternate: I2C1_SDA, SPI2_MOSI, I2S2_SD, USART2_CK,
UART4_TX, SDIO_CK, DCI_D9, EVENTOUT
Default: PD0
PD0
81
I/O
5VT
Alternate: SPI3_MISO, SPI2_MOSI, I2S2_SD, CAN0_RX,
EXMC_D2, EVENTOUT
Default: PD1
PD1
82
I/O
5VT
Alternate: SPI1_NSS, I2S1_WS, CAN0_TX, EXMC_D3,
EVENTOUT
Default: PD2
PD2
83
I/O
5VT
Alternate: TIMER2_ETI, UART4_RX, SDIO_CMD,
DCI_D11, EVENTOUT
Default: PD3
PD3
84
I/O
5VT
Alternate: SPI1_SCK, I2S1_CK, USART1_CTS,
EXMC_CLK, DCI_D5, TLI_G7, EVENTOUT
PD4
85
I/O
5VT
PD5
86
I/O
5VT
PD6
87
I/O
5VT
Default: PD4
Alternate: USART1_RTS, EXMC_NOE, EVENTOUT
Default: PD5
Alternate: USART1_TX, EXMC_NWE, EVENTOUT
Default: PD6
Alternate: SPI2_MOSI, I2S2_SD, USART1_RX,
EXMC_NWAIT, DCI_D10, TLI_B2, EVENTOUT
49
GD32F470xx Datasheet
Pin Name
Pins
Pin
I/O
Type(1)
Level(2)
Functions description
Default: PD7
PD7
88
I/O
5VT
Alternate: USART1_CK, EXMC_NE0, EXMC_NCE1,
EVENTOUT
Default: JTDO, PB3
PB3
89
I/O
5VT
Alternate: TRACESWO, TIMER1_CH1, SPI0_SCK,
SPI2_SCK, I2S2_CK, USART0_RX, I2C1_SDA,
EVENTOUT
Default: JNTRST, PB4
PB4
90
I/O
5VT
Alternate: TIMER2_CH0, SPI0_MISO, SPI2_MISO,
I2S2_ADD_SD, I2C2_SDA, SDIO_D0, EVENTOUT,
I2C0_TXFRAME
Default: PB5
PB5
91
I/O
5VT
Alternate: TIMER2_CH1, I2C0_SMBA, SPI0_MOSI,
SPI2_MOSI, I2S2_SD, CAN1_RX, USBHS_ULPI_D7,
ENET_PPS_OUT, DCI_D10, EVENTOUT
Default: PB6
PB6
92
I/O
5VT
Alternate: TIMER3_CH0, I2C0_SCL, USART0_TX,
CAN1_TX, DCI_D5, EVENTOUT
Default: PB7
PB7
93
I/O
5VT
Alternate: TIMER3_CH1, I2C0_SDA, USART0_RX,
EXMC_NL/EXMC_NADV, DCI_VSYNC, EVENTOUT
BOOT0
94
I/O
5VT
Default: BOOT0
Default: PB8
PB8
95
I/O
5VT
Alternate: TIMER1_CH0, TIMER1_ETI, TIMER3_CH2,
TIMER9_CH0, I2C0_SCL, SPI4_MOSI, CAN0_RX,
ENET_MII_TXD3, SDIO_D4, DCI_D6, TLI_B6, EVENTOUT
Default: PB9
PB9
96
I/O
5VT
Alternate: TIMER1_CH1, TIMER3_CH3, TIMER10_CH0,
I2C0_SDA, SPI1_NSS, I2S1_WS, CAN0_TX, SDIO_D5,
DCI_D7, TLI_B7, EVENTOUT
Default: PE0
PE0
97
I/O
5VT
Alternate: TIMER3_ETI, UART7_RX, EXMC_NBL0,
DCI_D2, EVENTOUT
Default: PE1
PE1
98
I/O
5VT
Alternate: TIMER0_CH1_ON, UART7_TX, EXMC_NBL1,
DCI_D3, EVENTOUT
VSS
99
P
-
Default: VSS
VDD
100
P
-
Default: VDD
Notes:
(1) Type: I = input, O = output, P = power.
(2) I/O Level: 5VT = 5 V tolerant.
50
2.6.5.
GD32F470xx pin alternate functions
Table 2-7. Port A alternate functions summary
Pin Name
AF0
AF1
AF2
AF3
AF4
PA0
PA1
PA2
PA3
PA6
SPI3_MOS
I
TIMER1_C TIMER4_C TIMER8_C
H2
H2
H0
TIMER1_C TIMER4_C TIMER8_C
H3
H3
H1
CK_OUT0
USART1_
TX
USART1_
I2S1_MCK
RX
SPI2_NSS USART1_
SPI0_NSS
/I2S2_WS
CK
PA9
PA10
PA11
PA12
PA14
JTMS/SW
DIO
JTCK/SW
CLK
TIMER0_C
H0
TIMER0_C
H1
TIMER0_C
H2
TIMER0_C
H3
TIMER0_E
TI
AF8
AF9
AF10
ENET_MII
_RX_CLK/
ENET_RM
II_REF_CL
K
ENET_MD
IO
USBHS_U ENET_MII
LPI_D0
_COL
USART1_ UART3_R
RTS
X
AF12
AF13
AF14
SPI0_MIS
I2S1_MCK
O
TIMER12_
CH0
SPI0_MOS
I
TIMER13_
CH0
USART0_
CTC_SYN USBFS_S
CK
C
OF
I2C2_SMB SPI1_SCK
USART0_
A
/I2S1_CK
TX
I2C2_TXF
SPI4_MOS USART0_
USBFS_ID
RAME
I
RX
SPI3_MIS USART0_ USART5_
USBFS_D
CAN0_RX
O
CTS
TX
M
SPI4_MIS USART0_ USART5_
USBFS_D
CAN0_TX
O
RTS
RX
P
AF15
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
TLI_B5
T
USBHS_S DCI_HSY TLI_VSYN EVENTOU
OF
NC
C
T
USBHS_U
LPI_CK
SPI0_SCK
I2C2_SCL
AF11
ENET_MII
_CRS
I2S_CKIN
TIMER0_C TIMER2_C TIMER7_C
H0_ON
H1
H0_ON
PA7
AF7
TIMER1_C TIMER4_C
H1
H1
TIMER1_C
TIMER7_C
H0/TIMER
H0_ON
1_ETI
TIMER0_B TIMER2_C TIMER7_B
RKIN
H0
RKIN
PA5
PA13
AF6
USART1_ UART3_T
CTS
X
PA4
PA8
AF5
TIMER1_C
TIMER4_C TIMER7_E
H0/TIMER
H0
TI
1_ETI
EVENTOU
T
SDIO_CM DCI_PIXC
D
LK
TLI_G2
ENET_MII
_RX_DV/E EXMC_SD
NET_RMII
NWE
_CRS_DV
EVENTOU
T
SDIO_D1
SDIO_D2
EVENTOU
T
TLI_R6
DCI_D0
DCI_D1
TLI_R4
TLI_R5
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
GD32F470xx Datasheet
Pin Name
PA15
AF0
AF1
JTDI
TIMER1_C
H0/TIMER
1_ETI
AF2
AF3
AF4
AF5
SPI0_NSS
AF6
AF7
AF8
AF9
AF10
AF11
AF12
AF13
AF14
SPI2_NSS USART0_
/I2S2_WS
TX
AF15
EVENTOU
T
Table 2-8. Port B alternate functions summary
Pin Name
PB0
PB1
PB2
PB3
PB4
PB5
PB6
AF0
AF1
TIMER3_C
H1
PB7
PB8
PB9
PB10
AF2
AF3
AF4
AF5
AF6
AF7
TIMER0_C TIMER2_C TIMER7_C
SPI2_MOS
SPI4_SCK
H1_ON
H2
H1_ON
I/I2S2_SD
TIMER0_C TIMER2_C TIMER7_C
SPI4_NSS
H2_ON
H3
H2_ON
TIMER1_C
SPI2_MOS
H3
I/I2S2_SD
JTDO/TRA TIMER1_C
SPI2_SCK USART0_
SPI0_SCK
CESWO
H1
/I2S2_CK
RX
TIMER2_C
I2C0_TXF SPI0_MIS SPI2_MIS I2S2_ADD
NJTRST
H0
RAME
O
O
_SD
TIMER2_C
I2C0_SMB SPI0_MOS SPI2_MOS
H1
A
I
I/I2S2_SD
TIMER3_C
USART0_
I2C0_SCL
H0
TX
I2C0_SDA
USART0_
RX
TIMER1_C
TIMER3_C TIMER9_C
SPI4_MOS
H0/TIMER
I2C0_SCL
H2
H0
I
1_ETI
TIMER1_C TIMER3_C TIMER10_
SPI1_NSS
I2C0_SDA
H1
H3
CH0
/I2S1_WS
TIMER1_C
SPI1_SCK
USART2_
I2C1_SCL
I2S2_MCK
H2
/I2S1_CK
TX
PB11
TIMER1_C
H3
I2C1_SDA I2S_CKIN
USART2_
RX
PB12
TIMER0_B
RKIN
I2C1_SMB SPI1_NSS
USART2_
SPI3_NSS
A
/I2S1_WS
CK
PB13
TIMER0_C
H0_ON
I2C1_TXF SPI1_SCK
USART2_
SPI3_SCK
RAME
/I2S1_CK
CTS
AF8
AF9
TLI_R3
TLI_R6
AF10
AF11
AF12
AF13
AF14
USBHS_U ENET_MII
SDIO_D1
LPI_D1
_RXD2
USBHS_U ENET_MII
SDIO_D2
LPI_D2
_RXD3
USBHS_U
SDIO_CK
LPI_D4
I2C1_SDA
I2C2_SDA
SDIO_D0
USBHS_U ENET_PP EXMC_SD
DCI_D10
LPI_D7
S_OUT
CKE1
EXMC_SD
CAN1_TX
DCI_D5
NE1
EXMC_NL/
DCI_VSYN
EXMC_NA
C
DV
CAN1_RX
EVENTOU
T
CAN0_RX
ENET_MII
SDIO_D4
_TXD3
DCI_D6
TLI_B6
CAN0_TX
SDIO_D5
DCI_D7
TLI_B7
USBHS_U ENET_MII
SDIO_D7
LPI_D3
_RX_ER
ENET_MII
USBHS_U _TX_EN/E
LPI_D4 NET_RMII
_TX_EN
ENET_MII
USBHS_U _TXD0/EN
CAN1_RX
USBHS_ID
LPI_D5 ET_RMII_
TXD0
ENET_MII
USBHS_U
CAN1_TX
_TXD1/EN
LPI_D6
ET_RMII_
AF15
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
TLI_G4
TLI_G5
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
52
GD32F470xx Datasheet
Pin Name
AF0
AF1
AF2
AF3
AF4
AF5
AF6
AF7
AF8
AF9
AF10
AF11
AF12
AF13
AF14
AF15
TXD1
PB14
PB15
TIMER0_C
H1_ON
RTC_REFI TIMER0_C
N
H2_ON
TIMER7_C
H1_ON
TIMER7_C
H2_ON
SPI1_MIS I2S1_ADD USART2_
O
_SD
RTS
SPI1_MOS
I/I2S1_SD
TIMER11_
CH0
TIMER11_
CH1
USBHS_D
M
USBHS_D
P
EVENTOU
T
EVENTOU
T
Table 2-9. Port C alternate functions summary
Pin Name
AF0
AF1
AF2
AF3
AF4
AF5
AF6
AF7
AF8
SPI2_MOS
SPI1_MOS
I/I2S2_SD
I/I2S1_SD
SPI1_MIS I2S1_ADD
O
_SD
SPI1_MOS
I/I2S1_SD
PC1
PC2
PC3
USART2_
RX
PC5
PC6
PC7
PC8
PC11
PC12
PC13
AF11
ENET_MD
C
USBHS_U ENET_MII
LPI_DIR
_TXD2
USBHS_U ENET_MII
LPI_NXT _TX_CLK
ENET_MII
_RXD0/EN
ET_RMII_
RXD0
ENET_MII
_RXD1/EN
ET_RMII_
RXD1
PC4
PC10
AF10
USBHS_U
LPI_STP
PC0
PC9
AF9
CK_OUT1
TIMER2_C
H0
TIMER2_C
H1
TIMER2_C
H2
TIMER2_C
H3
TIMER7_C
H0
TIMER7_C
H1
TIMER7_C
H2
TIMER7_C
I2C2_SDA
H3
I2S1_MCK
SPI1_SCK
I2S2_MCK
/I2S1_CK
USART5_
TX
USART5_
RX
USART5_
CK
I2S_CKIN
SPI2_SCK USART2_ UART3_T
/I2S2_CK
TX
X
I2S2_ADD SPI2_MIS USART2_ UART3_R
_SD
O
RX
X
SPI2_MOS USART2_ UART4_T
I2C1_SDA
I/I2S2_SD
CK
X
AF12
AF13
EXMC_SD
NWE
AF14
AF15
EXMC_SD
NE0
EXMC_SD
CKE0
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
EXMC_SD
NE0
EVENTOU
T
EXMC_SD
CKE0
EVENTOU
T
SDIO_D6
DCI_D0
SDIO_D7
DCI_D1
SDIO_D0
DCI_D2
SDIO_D1
DCI_D3
SDIO_D2
DCI_D8
SDIO_D3
DCI_D4
SDIO_CK
DCI_D9
TLI_HSYN EVENTOU
C
T
EVENTOU
TLI_G6
T
EVENTOU
T
EVENTOU
T
EVENTOU
TLI_R2
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
53
GD32F470xx Datasheet
Pin Name
AF0
AF1
AF2
AF3
AF4
AF5
AF6
AF7
AF8
AF9
AF10
AF11
AF12
AF13
AF14
AF15
EVENTOU
T
EVENTOU
T
PC14
PC15
Table 2-10. Port D alternate functions summary
Pin Name
AF0
AF1
AF2
AF3
AF4
AF5
AF6
AF7
AF8
SPI3_MIS SPI2_MOS
O
I/I2S2_SD
PD0
SPI1_NSS
/I2S1_WS
PD1
UART4_R
X
AF10
AF11
AF12
AF13
AF14
AF15
CAN0_RX
EXMC_D2
EVENTOU
T
CAN0_TX
EXMC_D3
EVENTOU
T
SDIO_CM
D
DCI_D11
USART1_
CTS
EXMC_CL
K
DCI_D5
PD4
USART1_
RTS
EXMC_NO
E
EVENTOU
T
PD5
USART1_
TX
EXMC_N
WE
EVENTOU
T
USART1_
RX
EXMC_N
WAIT
PD7
USART1_
CK
EXMC_NE
0/EXMC_N
CE1
EVENTOU
T
PD8
USART2_
TX
EXMC_D1
3
EVENTOU
T
PD9
USART2_
RX
EXMC_D1
4
EVENTOU
T
PD10
USART2_
CK
EXMC_D1
5
PD11
USART2_
CTS
PD2
TIMER2_E
TI
AF9
SPI1_SCK
/I2S1_CK
PD3
SPI2_MOS
I/I2S2_SD
PD6
PD12
TIMER3_C
H0
PD13
TIMER3_C
H1
USART2_
RTS
EXMC_A1
6/EXMC_C
LE
EXMC_A1
7/EXMC_A
LE
EXMC_A1
8
DCI_D10
EVENTOU
T
TLI_G7
TLI_B2
TLI_B3
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
54
GD32F470xx Datasheet
Pin Name
AF0
AF1
PD14
PD15
CTC_SYN
C
AF2
AF3
AF4
AF5
AF6
AF7
AF8
AF9
AF10
AF11
AF12
AF13
AF14
AF15
TIMER3_C
H2
EXMC_D0
EVENTOU
T
TIMER3_C
H3
EXMC_D1
EVENTOU
T
Table 2-11. Port E alternate functions summary
Pin Name
AF0
AF1
PE0
PE1
AF2
AF3
AF4
AF5
AF6
TIMER3_E
TI
TIMER0_C
H1_ON
PE2
AF7
AF8
AF10
AF11
AF12
AF13
AF14
AF15
EXMC_NB
L0
DCI_D2
EVENTOU
T
UART7_T
X
EXMC_NB
L1
DCI_D3
EVENTOU
T
SPI3_SCK
PE3
PE4
AF9
UART7_R
X
ENET_MII EXMC_A2
_TXD3
3
EVENTOU
T
EXMC_A1
9
EVENTOU
T
SPI3_NSS
EXMC_A2
0
DCI_D4
TLI_B0
EVENTOU
T
PE5
TIMER8_C
H0
SPI3_MIS
O
EXMC_A2
1
DCI_D6
TLI_G0
EVENTOU
T
PE6
TIMER8_C
H1
SPI3_MOS
I
EXMC_A2
2
DCI_D7
TLI_G1
EVENTOU
T
PE7
TIMER0_E
TI
UART6_R
X
EXMC_D4
EVENTOU
T
PE8
TIMER0_C
H0_ON
UART6_T
X
EXMC_D5
EVENTOU
T
PE9
TIMER0_C
H0
EXMC_D6
EVENTOU
T
PE10
TIMER0_C
H1_ON
EXMC_D7
EVENTOU
T
PE11
TIMER0_C
H1
SPI3_NSS SPI4_NSS
EXMC_D8
TLI_G3
EVENTOU
T
PE12
TIMER0_C
H2_ON
SPI3_SCK SPI4_SCK
EXMC_D9
TLI_B4
EVENTOU
T
PE13
TIMER0_C
H2
SPI3_MIS SPI4_MIS
O
O
EXMC_D1
0
TLI_DE
EVENTOU
T
55
GD32F470xx Datasheet
Pin Name
AF0
AF1
PE14
TIMER0_C
H3
PE15
TIMER0_B
RKIN
AF2
AF3
AF4
AF5
AF6
AF7
AF8
AF9
AF10
AF11
SPI3_MOS SPI4_MOS
I
I
AF12
AF13
EXMC_D1
1
AF14
AF15
TLI_PIXCL EVENTOU
K
T
EXMC_D1
2
TLI_R7
EVENTOU
T
Table 2-12. Port F alternate functions summary
Pin Name
AF0
PF0
CTC_SYN
C
AF1
AF2
AF3
AF4
AF5
AF6
AF7
AF8
AF9
AF10
AF11
AF12
AF13
AF14
AF15
I2C1_SDA
EXMC_A0
EVENTOU
T
PF1
I2C1_SCL
EXMC_A1
EVENTOU
T
PF2
I2C1_SMB
A
EXMC_A2
EVENTOU
T
PF3
I2C1_TXF
RAME
EXMC_A3
EVENTOU
T
PF4
EXMC_A4
EVENTOU
T
PF5
EXMC_A5
EVENTOU
T
PF6
TIMER9_C
H0
SPI4_NSS
UART6_R
X
EXMC_NI
ORD
EVENTOU
T
PF7
TIMER10_
CH0
SPI4_SCK
UART6_T
X
EXMC_NR
EG
EVENTOU
T
PF8
SPI4_MIS
O
TIMER12_
CH0
EXMC_NI
OWR
EVENTOU
T
PF9
SPI4_MOS
I
TIMER13_
CH0
EXMC_CD
EVENTOU
T
EXMC_IN
TR
PF10
TLI_DE
EVENTOU
T
EXMC_SD
DCI_D12
NRAS
EVENTOU
T
PF12
EXMC_A6
EVENTOU
T
PF13
EXMC_A7
EVENTOU
T
PF11
SPI4_MOS
I
DCI_D11
56
GD32F470xx Datasheet
Pin Name
AF0
AF1
AF2
AF3
AF4
AF5
AF6
AF7
AF8
AF9
AF10
AF11
AF12
AF13
AF14
AF15
PF14
EXMC_A8
EVENTOU
T
PF15
EXMC_A9
EVENTOU
T
Table 2-13. Port G alternate functions summary
Pin Name
AF0
AF1
AF2
AF3
AF4
AF5
AF6
AF7
AF8
AF9
PG1
PG2
PG3
PG4
PG5
PG6
PG8
USART5_
CK
SPI5_NSS
PG10
PG11
PG12
PG13
SPI5_IO2
TLI_G3
SPI5_IO3 SPI3_SCK
SPI5_MIS SPI3_MIS
O
O
SPI3_MOS
SPI5_SCK
I
USART5_
RTS
USART5_
CTS
AF12
AF13
AF14
ENET_PP EXMC_SD
S_OUT CLK
USART5_
RTS
USART5_
RX
PG9
AF11
EXMC_A1
0
EXMC_A1
1
EXMC_A1
2
EXMC_A1
3
EXMC_A1
4
EXMC_A1
5
EXMC_IN
DCI_D12
TLI_R7
T1
EXMC_IN
TLI_PIXCL
DCI_D13
T2
K
PG0
PG7
AF10
TLI_B4
EVENTOU
T
EXMC_NE
DCI_VSYN
1/EXMC_N
C
CE2
EXMC_NC
E3_0/EXM DCI_D2
C_NE2
ENET_MII
_TX_EN/E EXMC_NC
NET_RMII
E3_1
_TX_EN
EXMC_NE
3
ENET_MII EXMC_A2
_TXD0/EN
4
AF15
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
EVENTOU
T
DCI_D3
EVENTOU
T
TLI_B2
EVENTOU
T
TLI_B3
EVENTOU
T
TLI_B1
EVENTOU
T
EVENTOU
T
57
GD32F470xx Datasheet
Pin Name
AF0
AF1
AF2
AF3
AF4
AF5
AF6
AF7
SPI5_MOS
SPI3_NSS
I
PG14
AF8
AF9
AF10
USART5_
TX
USART5_
CTS
PG15
AF11
AF12
AF13
AF14
ET_RMII_
TXD0
ENET_MII
_TXD1/EN EXMC_A2
ET_RMII_
5
TXD1
EXMC_SD
DCI_D13
NCAS
AF15
EVENTOU
T
EVENTOU
T
Table 2-14. Port H alternate functions summary
Pin Name
AF0
AF1
AF2
AF3
AF4
AF5
AF6
AF7
AF8
AF9
AF10
AF11
AF12
AF13
AF14
AF15
PH0
EVENTOU
T
PH1
EVENTOU
T
PH2
PH3
I2C1_TXF
RAME
PH4
I2C1_SCL
PH5
I2C1_SDA SPI4_NSS
PH6
I2C1_SMB
SPI4_SCK
A
PH7
I2C2_SCL
PH8
I2C2_SDA
PH9
I2C2_SMB
A
I2C2_TXF
RAME
ENET_MII EXMC_SD
_CRS
CKE0
TLI_R0
EVENTOU
T
ENET_MII EXMC_SD
_COL
NE0
TLI_R1
EVENTOU
T
USBHS_U
LPI_NXT
EVENTOU
T
EXMC_SD
NWE
TIMER11_
CH0
SPI4_MIS
O
TIMER11_
CH1
EVENTOU
T
ENET_MII EXMC_SD
_RXD2
NE1
DCI_D8
EVENTOU
T
ENET_MII EXMC_SD
_RXD3
CKE1
DCI_D9
EVENTOU
T
EXMC_D1 DCI_HSY
6
NC
TLI_R2
EVENTOU
T
EXMC_D1
7
DCI_D0
TLI_R3
EVENTOU
T
EXMC_D1
8
DCI_D1
TLI_R4
EVENTOU
T
PH10
TIMER4_C
H0
PH11
TIMER4_C
H1
EXMC_D1
9
DCI_D2
TLI_R5
EVENTOU
T
PH12
TIMER4_C
H2
EXMC_D2
0
DCI_D3
TLI_R6
EVENTOU
T
58
GD32F470xx Datasheet
Pin Name
AF0
AF1
AF2
AF3
AF4
AF5
AF6
AF7
AF8
AF9
AF10
AF11
AF12
AF13
EXMC_D2
1
AF14
AF15
TLI_G2
EVENTOU
T
PH13
TIMER7_C
H0_ON
PH14
TIMER7_C
H1_ON
EXMC_D2
2
DCI_D4
TLI_G3
EVENTOU
T
PH15
TIMER7_C
H2_ON
EXMC_D2
DCI_D11
3
TLI_G4
EVENTOU
T
CAN0_TX
Table 2-15. Port I alternate functions summary
Pin Name
PI0
AF0
AF1
AF2
AF3
TIMER4_C
H3
PI1
AF4
AF14
AF15
SPI1_NSS
/I2S1_WS
AF5
AF6
AF7
AF8
AF9
AF10
AF11
EXMC_D2
DCI_D13
4
AF12
AF13
TLI_G5
EVENTOU
T
SPI1_SCK
/I2S1_CK
EXMC_D2
5
DCI_D8
TLI_G6
EVENTOU
T
DCI_D9
TLI_G7
EVENTOU
T
PI2
TIMER7_C
H3
SPI1_MIS I2S1_ADD
O
_SD
EXMC_D2
6
PI3
TIMER7_E
TI
SPI1_MOS
I/I2S1_SD
EXMC_D2
DCI_D10
7
PI4
TIMER7_B
RKIN
EXMC_NB
L2
PI5
TIMER7_C
H0
PI6
PI7
TLI_B4
EVENTOU
T
EXMC_NB DCI_VSYN
L3
C
TLI_B5
EVENTOU
T
TIMER7_C
H1
EXMC_D2
8
DCI_D6
TLI_B6
EVENTOU
T
TIMER7_C
H2
EXMC_D2
9
DCI_D7
TLI_B7
EVENTOU
T
CAN0_RX
PI10
PI11
DCI_D5
EVENTOU
T
PI8
PI9
EVENTOU
T
USBHS_U
LPI_DIR
EXMC_D3
0
TLI_VSYN EVENTOU
C
T
ENET_MII EXMC_D3
_RX_ER
1
TLI_HSYN EVENTOU
C
T
EVENTOU
T
59
3.
Functional description
3.1.
Arm® Cortex®-M4 core
The Arm® Cortex®-M4 processor is a high performance embedded processor with DSP
instructions which allow efficient signal processing and complex algorithm execution. It brings
an efficient, easy-to-use blend of control and signal processing capabilities to meet the digital
signal control markets demand. The processor is highly configurable enabling a wide range
of implementations from those requiring floating point operations, memory protection and
powerful trace technology to cost sensitive devices requiring minimal area, while delivering
outstanding computational performance and an advanced system response to interrupts.
32-bit Arm® Cortex®-M4 processor core
Up to 240 MHz operation frequency
Single-cycle multiplication and hardware divider
Floating Point Unit (FPU)
Integrated DSP instructions
Integrated Nested Vectored Interrupt Controller (NVIC)
24-bit SysTick timer
The Cortex®-M4 processor is based on the Armv7-M architecture and supports both Thumb
and Thumb-2 instruction sets. Some system peripherals listed below are also provided by
Cortex®-M4:
Internal Bus Matrix connected with ICode bus, DCode bus, system bus, Private
Peripheral Bus (PPB) and debug accesses (AHB-AP)
3.2.
Nested Vectored Interrupt Controller (NVIC)
Flash Patch and Breakpoint (FPB)
Data Watchpoint and Trace (DWT)
Instrument Trace Macrocell (ITM)
Memory Protection Unit (MPU)
Serial Wire JTAG Debug Port (SWJ-DP)
Trace Port Interface Unit (TPIU)
On-chip memory
Up to 3072 Kbytes of Flash memory, including code Flash and data Flash.
The region of the MCU executing instructions without waiting time is up to 1024K bytes
(in case that Flash size equal to 512K, all memory is no waiting time). A long delay when
CPU fetches the instructions out of the range.
256 KB to 768 KB of SRAM.
The Arm® Cortex®-M4 processor is structured in Harvard architecture which can use separate
buses to fetch instructions and load/store data. 3072 Kbytes of inner Flash at most, which
GD32F470xx Datasheet
includes code Flash and data Flash is available for storing programs and data, and there is
no waiting time within code Flash area when CPU executes instructions. Up to 768 Kbytes of
inner SRAM is composed of SRAM0 (112KB), SRAM1 (16KB), and SRAM2 (64KB) and
ADDSRAM (512KB) that can be accessed at same time, and including 64 KB of TCM (tightlycoupled memory) data RAM that can be accessed only by the data bus of the Cortex ®-M4
core. The additional 4KB of backup SRAM (BKP SRAM) is implemented in the backup domain,
which can keep its content even when the VDD power supply is down. Table 2-2.
GD32F470xx memory map shows the memory map of the GD32F470xx series of devices,
including Flash, SRAM, peripheral, and other pre-defined regions.
3.3.
Clock, reset and supply management
Internal 16 MHz factory-trimmed RC and external 4 to 32 MHz crystal oscillator
Internal 48 MHz RC oscillator
Internal 32 KHz RC calibrated oscillator and external 32.768 KHz crystal oscillator
Integrated system clock PLL
2.6 to 3.6 V application supply and I/Os
Supply Supervisor: POR (Power On Reset), PDR (Power Down Reset), and low voltage
detector (LVD)
The Clock Control Unit (CCU) provides a range of oscillator and clock functions. These
include internal RC oscillator and external crystal oscillator, high speed and low speed two
types. Several prescalers allow the frequency configuration of the AHB and two APB domains.
The maximum frequency of the two AHB domains are 240 MHz. The maximum frequency of
the two APB domains including APB1 is 60 MHz and APB2 is 120 MHz. See Figure 2-6.
GD32F470xx clock tree for details on the clock tree.
The Reset Control Unit (RCU) controls three kinds of reset: system reset resets the processor
core and peripheral IP components. Power-on reset (POR) and power-down reset (PDR) are
always active, and ensures proper operation starting from 2.4 V and down to 1.8V. The device
remains in reset mode when VDD is below a specified threshold. The embedded low voltage
detector (LVD) monitors the power supply, compares it to the voltage threshold and generates
an interrupt as a warning message for leading the MCU into security.
Power supply schemes:
VDD range: 2.6 to 3.6 V, external power supply for I/Os and the internal regulator.
Provided externally through VDD pins.
VSSA, VDDA range: 2.6 to 3.6 V, external analog power supplies for ADC, reset blocks,
RCs and PLL. VDDA and VSSA must be connected to VDD and VSS, respectively.
VBAT range: 1.8 to 3.6 V, power supply for RTC, external clock 32 KHz oscillator and
backup registers (through power switch) when VDD is not present.
61
GD32F470xx Datasheet
3.4.
Boot modes
At startup, boot pins are used to select one of three boot options:
Boot from main Flash memory (default)
Boot from system memory
Boot from on-chip SRAM
The boot loader is located in the internal 30KB of information blocks for the boot ROM memory
(system memory). It is used to reprogram the Flash memory by using USART0 (PA9 and
PA10), USART2 (PB10 and PB11, or PC10 and PC11), and USBFS (PA9, PA10, PA11 and
PA12) in device mode. It also can be used to transfer and update the Flash memory code,
the data and the vector table sections. In default condition, boot from bank 0 of Flash memory
is selected. It also supports to boot from bank 1 of Flash memory by setting a bit in option
bytes.
3.5.
Power saving modes
The MCU supports three kinds of power saving modes to achieve even lower power
consumption. They are sleep mode, deep-sleep mode, and standby mode. These operating
modes reduce the power consumption and allow the application to achieve the best balance
between the CPU operating time, speed and power consumption.
Sleep mode
In sleep mode, only the clock of CPU core is off. All peripherals continue to operate and
any interrupt/event can wake up the system.
Deep-sleep mode
In deep-sleep mode, all clocks in the 1.2V domain are off, and all of the high speed
crystal oscillator (IRC16M, HXTAL) and PLL are disabled. Only the contents of SRAM
and registers are retained. Any interrupt or wakeup event from EXTI lines can wake up
the system from the deep-sleep mode including the 16 external lines, the RTC alarm,
RTC Tamper and TimeStamp event, the LVD output, ENET wakeup, RTC wakeup and
USB wakeup. When exiting the deep-sleep mode, the IRC16M is selected as the system
clock.
Standby mode
In standby mode, the whole 1.2V domain is power off, the LDO is shut down, and all of
IRC16M, HXTAL and PLL are disabled. The contents of SRAM and registers (except
backup registers) are lost. There are four wakeup sources for the standby mode,
including the external reset from NRST pin, the RTC, the FWDGT reset, and the rising
edge on WKUP pin.
3.6.
Analog to digital converter (ADC)
12-bit SAR ADC's conversion rate is up to 2.6 MSPS
62
GD32F470xx Datasheet
12-bit, 10-bit, 8-bit or 6-bit configurable resolution
Hardware oversampling ratio adjustable from 2 to 256x improves resolution to 16-bit
Input voltage range: VSSA to VDDA (2.6 V ≤ VDDA ≤ 3.6 V)
Temperature sensor
Up to three 12-bit 2.6 MSPS multi-channel ADCs are integrated in the device. It has a total of
19 multiplexed channels: 16 external channels, 1 channel for internal temperature sensor
(VSENSE), 1 channel for internal reference voltage (V REFINT) and 1 channel for external battery
power supply (VBAT). The input voltage range is between 2.6 V and 3.6 V. An on-chip hardware
oversampling scheme improves performance while off-loading the related computational
burden from the CPU. An analog watchdog block can be used to detect the channels, which
are required to remain within a specific threshold window. A configurable channel
management block can be used to perform conversions in single, continuous, scan or
discontinuous mode to support more advanced use.
The ADC can be triggered from the events generated by the general level 0 timers (TIMERx)
and the advanced timers (TIMER0 and TIMER7) with internal connection. The temperature
sensor can be used to generate a voltage that varies linearly with temperature. It is internally
connected to the ADC_IN16 input channel which is used to convert the sensor output voltage
in a digital value.
3.7.
Digital to analog converter (DAC)
Two 12-bit DAC converter of independent output channel
8-bit or 12-bit mode in conjunction with the DMA controller
The 12-bit buffered DAC channel is used to generate variable analog outputs. The DACs are
designed with integrated resistor strings structure. The DAC channels can be triggered by the
timer update outputs or EXTI with DMA support. The maximum output value of the DAC is
VREF+.
3.8.
DMA
16 channels DMA controller and each channel are configurable (8 for DMA0 and 8 for
DMA1)
Support independent 8, 16, 32-bit memory and peripheral transfer
Peripherals supported: Timers, ADC, SPIs, I2Cs, USARTs, UARTs, DAC, I2S, SDIO and
DCI
The flexible general-purpose DMA controllers provide a hardware method of transferring data
between peripherals and/or memory without intervention from the CPU, thereby freeing up
bandwidth for other system functions. Three types of access method are supported:
peripheral to memory, memory to peripheral, memory to memory.
Each channel is connected to fixed hardware DMA requests. The priorities of DMA channel
63
GD32F470xx Datasheet
requests are determined by software configuration and hardware channel number. Transfer
size of source and destination are independent and configurable.
3.9.
General-purpose inputs/outputs (GPIOs)
Up to 140 fast GPIOs, all mappable on 16 external interrupt lines
Analog input/output configurable
Alternate function input/output configurable
There are up to 140 general purpose I/O pins (GPIO) in GD32F470xx, named PA0 ~ PA15,
PB0 ~ PB15, PC0 ~ PC15, PD0 ~ PD15, PE0 ~ PE15, PF0 ~ PF15, PG0 ~ PG15, PH0 ~
PH15 and PI0 ~ PI11 to implement logic input/output functions. Each of the GPIO ports has
related control and configuration registers to satisfy the requirements of specific applications.
The external interrupts on the GPIO pins of the device have related control and configuration
registers in the Interrupt/event controller (EXTI). The GPIO ports are pin-shared with other
alternative functions (AFs) to obtain maximum flexibility on the package pins. Each of the
GPIO pins can be configured by software as output (push-pull or open-drain), as input (with
or without pull-up or pull-down) or as peripheral alternate function. Most of the GPIO pins are
shared with digital or analog alternate functions. All GPIOs are high-current capable except
for analog inputs.
3.10.
Timers and PWM generation
Two 16-bit advanced timer (TIMER0 & TIMER7), eight 16-bit general timers (TIMER2,
TIMER3, TIMER8 ~ TIMER13), two 32-bit general timers (TIMER1 & TIMER4) and two
16-bit basic timer (TIMER5 & TIMER6)
Up to 4 independent channels of PWM, output compare or input capture for each general
timer and external trigger input
16-bit, motor control PWM advanced timer with programmable dead-time generation for
output match
Encoder interface controller with two inputs using quadrature decoder
24-bit SysTick timer down counter
2 watchdog timers (free watchdog timer and window watchdog timer)
The advanced timer (TIMER0 & TIMER7) can be used as a three-phase PWM multiplexed
on 6 channels. It has complementary PWM outputs with programmable dead-time generation.
It can also be used as a complete general timer. The 4 independent channels can be used
for input capture, output compare, PWM generation (edge-aligned or center-aligned counting
modes) and single pulse mode output. If configured as a general 16-bit timer, it has the same
functions as the TIMERx timer. It can be synchronized with external signals or to interconnect
with other general timers together which have the same architecture and features.
The general timer, can be used for a variety of purposes including general timer, input signal
pulse width measurement or output waveform generation such as a single pulse generation
64
GD32F470xx Datasheet
or PWM output, up to 4 independent channels for input capture/output compare. TIMER1 &
TIMER4 is based on a 32-bit auto-reload up/downcounter and a 16-bit prescaler. TIMER2 &
TIMER3 is based on a 16-bit auto-reload up/downcounter and a 16-bit prescaler. TIMER8 ~
TIMER13 is based on a 16-bit auto-reload upcounter and a 16-bit prescaler. The general timer
also supports an encoder interface with two inputs using quadrature decoder.
The basic timer, known as TIMER5 & TIMER6, are mainly used for DAC trigger generation.
They can also be used as a simple 16-bit time base.
The GD32F470xx have two watchdog peripherals, free watchdog timer and window watchdog
timer. They offer a combination of high safety level, flexibility of use and timing accuracy.
The free watchdog timer includes a 12-bit down-counting counter and an 8-bit prescaler. It is
clocked from an independent 32 KHz internal RC and as it operates independently of the
main clock, it can operate in deep-sleep and standby modes. It can be used either as a
watchdog to reset the device when a problem occurs, or as a free-running timer for application
timeout management.
The window watchdog timer is based on a 7-bit down counter that can be set as free-running.
It can be used as a watchdog to reset the device when a problem occurs. It is clocked from
the main clock. It has an early wakeup interrupt capability and the counter can be frozen in
debug mode.
The SysTick timer is dedicated for OS, but could also be used as a standard down counter. It
features:
3.11.
A 24-bit down counter
Auto reload capability
Maskable system interrupt generation when the counter reaches 0
Programmable clock source
Real time clock (RTC) and backup registers
Independent binary-coded decimal (BCD) format timer/counter with twenty 32-bit backup
registers.
Calendar with sub-second, seconds, minutes, hours, week day, date, year and month
automatically correction
Alarm function with wake up from deep-sleep and standby mode capability
On-the-fly correction for synchronization with master clock. Digital calibration with 1 ppm
resolution for compensation of quartz crystal inaccuracy.
The real time clock is an independent timer which provides a set of continuously running
counters in backup registers to provide a real calendar function, and provides an alarm
interrupt or an expected interrupt. It is not reset by a system or power reset, or when the
device wakes up from standby mode. A prescaler is used for the time base clock and is by
default configured to generate a time base of 1 second from a clock at 32.768 KHz from
external crystal oscillator.
65
GD32F470xx Datasheet
3.12.
Inter-integrated circuit (I2C)
Up to three I2C bus interfaces can support both master and slave mode with a frequency
up to 400 KHz (Fast mode)
Provide arbitration function, optional PEC (packet error checking) generation and
checking
Supports 7-bit and 10-bit addressing mode and general call addressing mode
The I2C interface is an internal circuit allowing communication with an external I2C interface
which is an industry standard two line serial interface used for connection to external
hardware. These two serial lines are known as a serial data line (SDA) and a serial clock line
(SCL). The I2C module provides transfer rate of up to 100 KHz in standard mode and up to
400 KHz in fast mode. The I2C module also has an arbitration detect function to prevent the
situation where more than one master attempts to transmit data to the I2C bus at the same
time. A CRC-8 calculator is also provided in I2C interface to perform packet error checking for
I2C data.
3.13.
Serial peripheral interface (SPI)
Up to six SPI interfaces with a frequency of up to 30 MHz
Support both master and slave mode
Hardware CRC calculation and transmit automatic CRC error checking
Quad wire configuration available in master mode (only in SPI5)
The SPI interface uses 4 pins, among which are the serial data input and output lines (MISO
& MOSI), the clock line (SCK) and the slave select line (NSS). Both SPIs can be served by
the DMA controller. The SPI interface may be used for a variety of purposes, including simplex
synchronous transfers on two lines with a possible bidirectional data line or reliable
communication using CRC checking. Quad-SPI master mode is also supported in SPI5 (SPI5
is not available in GD32F470Vx series).
3.14.
Universal synchronous/asynchronous receiver transmitter
(USART/UART)
Up to four USARTs and four UARTs with operating speed up to 15 MHz
Supports both asynchronous and clocked synchronous serial communication modes
IrDA SIR encoder and decoder support
LIN break generation and detection
ISO 7816-3 compliant smart card interface
The USART (USART0, USART1, USART2, USART5) and UART (UART3, UART4, UART6,
UART7) are used to transfer data between parallel and serial interfaces, provides a flexible
66
GD32F470xx Datasheet
full duplex data exchange using synchronous or asynchronous transfer. It is also commonly
used for RS-232 standard communication. The USART/UART includes a programmable baud
rate generator which is capable of dividing the system clock to produce a dedicated clock for
the USART/UART transmitter and receiver. The USART/UART also supports DMA function
for high speed data communication.
3.15.
Inter-IC sound (I2S)
Two I2S bus Interfaces with sampling frequency from 8 KHz to 192 KHz, multiplexed with
SPI1 and SPI2
Support either master or slave mode Audio
Sampling frequencies from 8 KHz up to 192 KHz are supported
The Inter-IC sound (I2S) bus provides a standard communication interface for digital audio
applications by 4-wire serial lines. GD32F470xx contain an I2S-bus interface that can be
operated with 16/32 bit resolution in master or slave mode, pin multiplexed with SPI1 and
SPI2. The audio sampling frequencies from 8 KHz to 192 KHz is supported.
3.16.
Universal serial bus full-speed interface (USBFS)
One USB device/host/OTG full-speed Interface with frequency up to 12 Mbit/s
Internal 48 MHz oscillator support crystal-less operation
Internal main PLL for USB CLK compliantly
Internal USBFS PHY support
The Universal Serial Bus (USB) is a 4-wire bus with 4 bidirectional endpoints. The device
controller enables 12 Mbit/s data exchange with integrated transceivers. Transaction
formatting is performed by the hardware, including CRC generation and checking. It supports
both host and device modes, as well as OTG mode with Host Negotiation Protocol (HNP) and
Session Request Protocol (SRP). The controller contains a full-speed USB PHY internal. For
full-speed or low-speed operation, no more external PHY chip is needed. It supports all the
four types of transfer (control, bulk, Interrupt and isochronous) defined in USB 2.0 protocol.
The required precise 48 MHz clock which can be generated from the internal main PLL (the
clock source must use an HXTAL crystal oscillator) or by the internal 48 MHz oscillator in
automatic trimming mode that allows crystal-less operation.
3.17.
Universal serial bus high-speed interface (USBHS)
One USB device/host/OTG high-speed Interface with frequency up to 480 Mbit/s
An external PHY device connected to the ULPI is required when using in HS mode
USBHS supports both host and device modes, as well as OTG mode with Host Negotiation
Protocol (HNP) and Session Request Protocol (SRP). The controller provides ULPI interface
67
GD32F470xx Datasheet
for external USB PHY integration and it also contains a full-speed USB PHY internal. For fullspeed or low-speed operation, no more external PHY chip is needed. It supports all the four
types of transfer (control, bulk, Interrupt and isochronous) defined in USB 2.0 protocol. HUB
connection is supported when USBHS operates at high-speed in host mode. There is also a
DMA engine operating as an AHB bus master in USBHS to speed up the data transfer
between USBHS and system.
3.18.
Controller area network (CAN)
Two CAN2.0B interface with communication frequency up to 1 Mbit/s
Internal main PLL for CAN CLK compliantly
Controller area network (CAN) is a method for enabling serial communication in field bus. The
CAN protocol has been used extensively in industrial automation and automotive applications.
It can receive and transmit standard frames with 11-bit identifiers as well as extended frames
with 29-bit identifiers. Each CAN has three mailboxes for transmission and two FIFOs of three
message deep for reception. It also provides 28 scalable/configurable identifier filter banks
for selecting the incoming messages needed and discarding the others.
3.19.
Ethernet (ENET)
IEEE 802.3 compliant media access controller (MAC) for Ethernet LAN
10/100 Mbit/s rates with dedicated DMA controller and SRAM
Support hardware precision time protocol (PTP) with conformity to IEEE 1588
The Ethernet media access controller (MAC) conforms to IEEE 802.3 specifications and fully
supports IEEE 1588 standards. The embedded MAC provides the interface to the required
external network physical interface (PHY) for LAN bus connection via an internal media
independent interface (MII) or a reduced media independent interface (RMII). The number of
MII signals provided up to 16 with 25 MHz output and RMII up to 7 with 50 MHz output. The
function of 32-bit CRC checking is also available.
3.20.
External memory controller (EXMC)
Supported external memory: SRAM, PSRAM, ROM and NOR-Flash, NAND Flash and
CF card, SDRAM with up to 32-bit data bus
Provide ECC calculating hardware module for NAND Flash memory block
Two SDRAM banks with independent configuration, up to 13-bits Row Address, 11-bits
Column Address, 2-bits internal banks address
SDRAM Memory size: 4x16Mx32bit (256 MB), 4x16Mx16bit (128 MB), 4x16Mx8bit (64
MB)
External memory controller (EXMC) is an abbreviation of external memory controller. It is
68
GD32F470xx Datasheet
divided in to several sub-banks for external device support, each sub-bank has its own chip
selection signal but at one time, only one bank can be accessed. The EXMC supports code
execution from external memory except NAND Flash and CF card. The EXMC also can be
configured to interface with the most common LCD module of Motorola 6800 and Intel 8080
series and reduce the system cost and complexity.
The EXMC of GD32F470xx in LQFP144 & BGA176 package also supports synchronous
dynamic random access memory (SDRAM). It translates AHB transactions into the
appropriate SDRAM protocol, and meanwhile, makes sure the access time requirements of
the external SDRAM devices are satisfied.
3.21.
Secure digital input and output card interface (SDIO)
Support SD2.0/SDIO2.0/MMC4.2 host interface
The Secure Digital Input and Output Card Interface (SDIO) provides access to external SD
memory cards specifications version 2.0, SDIO card specification version 2.0 and multi-media
card system specification version 4.2 with DMA supported. In addition, this interface is also
compliant with CE-ATA digital protocol rev1.1.
3.22.
TFT LCD interface (TLI)
24-bit RGB Parallel Pixel Output; 8 bits-per-pixel (RGB888)
Supports up to XVGA (1024x768) resolution
2 display layers with dedicated FIFO (64x32-bit)
The TFT LCD interface provides a parallel digital RGB (Red, Green and Blue) and signals for
horizontal, vertical synchronization, Pixel Clock and Data Enable as output to interface directly
to a variety of LCD (Liquid Crystal Display) and TFT (Thin Film Transistor) panels. A built-in
DMA engine continuously move data from system memory to TLI and then, output to an
external LCD display. Two separate layers are supported in TLI, as well as layer window and
blending function.
3.23.
Image processing accelerator (IPA)
Copy one source image to the destination image
Convert one source image to the destination image with specific pixel format
Convert and blend two source images to the destination image with specific pixel format
Fill up the destination image with a specific color
The Image processing accelerator (IPA) provides a configurable and flexible image format
conversion from one or two source image to the destination image. Eleven pixel formats from
4-bit up to 32-bit per pixel independently for the two source images and five pixel formats from
16-bit up to 32-bit per pixel for the destination image are supported. Two 256*32 bits Look69
GD32F470xx Datasheet
Up Tables (LUT) separately for the two source images are implemented for the indirect pixel
formats.
3.24.
Digital camera interface (DCI)
Digital video/picture capture
8/10/12/14 data width supported
High transfer efficiency with DMA interface
Video/picture crop supported
Various pixel formats supported including JPEG/YCrCb/RGB
Hard/embedded synchronous signals supported
DCI is an 8-bit to 14-bit parallel interface that able to capture video or picture from a camera
via Digital Camera Interface. It supports 8/10/12/14 bits data width through DMA operation.
3.25.
Debug mode
Serial wire JTAG debug port (SWJ-DP)
The Arm® SWJ-DP Interface is embedded and is a combined JTAG and serial wire debug
port that enables either a serial wire debug or a JTAG probe to be connected to the target.
3.26.
Package and operation temperature
BGA176 (GD32F470Ix), LQFP144 (GD32F470Zx), BGA100 (GD32F470Vx) and
LQFP100 (GD32F470Vx)
Operation temperature range: -40°C to +85°C (industrial level)
70
GD32F470xx Datasheet
4.
Electrical characteristics
4.1.
Absolute maximum ratings
The maximum ratings are the limits to which the device can be subjected without permanently
damaging the device. Note that the device is not guaranteed to operate properly at the
maximum ratings. Exposure to the absolute maximum rating conditions for extended periods
may affect device reliability.
Table 4-1. Absolute maximum ratings(1)(4)
Symbol
VDD
External voltage
range(2)
Min
Max
Unit
VSS - 0.3
VSS + 3.6
V
VDDA
External analog supply voltage
VSSA - 0.3
VSSA + 3.6
V
VBAT
External battery supply voltage
VSS - 0.3
VSS + 3.6
V
VSS - 0.3
VDD + 3.6
V
Input voltage on other I/O
VSS - 0.3
3.6
V
|ΔVDDX|
Variations between different VDD power pins
—
50
mV
|VSSX −VSS|
Variations between different ground pins
—
50
mV
IIO
Maximum current for GPIO pins
—
±25
mA
TA
Operating temperature range
-40
+85
°C
Power dissipation at TA = 85°C of BGA176
—
888
Power dissipation at TA = 85°C of LQFP144
—
820
Power dissipation at TA = 85°C of BGA100
—
511
Power dissipation at TA = 85°C of LQFP100
—
697
TSTG
Storage temperature range
-65
+150
°C
TJ
Maximum junction temperature
—
125
°C
VIN
PD
(1)
(2)
(3)
(4)
4.2.
Parameter
Input voltage on 5V tolerant pin
(3)
mW
Guaranteed by design, not tested in production.
All main power and ground pins should be connected to an external power source within the allowable range.
VIN maximum value cannot exceed 5.5 V.
It is recommended that VDD and VDDA are powered by the same source. The maximum difference between
VDD and VDDA does not exceed 300 mV during power-up and operation.
Recommended DC characteristics
Table 4-2. DC operating conditions
Min(1) Typ Max(1) Unit
Symbol
Parameter
Conditions
VDD
Supply voltage
—
2.6
3.3
3.6
V
VDDA
Analog supply voltage
Same as VDD
2.6
3.3
3.6
V
VBAT
Battery supply voltage
—
1.8
—
3.6
V
(1)
Based on characterization, not tested in production.
71
GD32F470xx Datasheet
Figure 4-1. Recommended power supply decoupling capacitors(1)(2)
VBAT
100 nF
VSS
N * VDD
4.7 μF + N * 100 nF
VSS
VDDA
1 μF
VSSA
10 nF
VREF+
1 μF
(1)
(2)
VREF-
10 nF
The VREF+ and VREF- pins are only available on no less than 100-pin packages, or else the VREF+ and VREF- pins
are not available and internally connected to VDDA and VSSA pins.
All decoupling capacitors need to be as close as possible to the pins on the PCB board.
Table 4-3. Clock frequency(1)
Symbol
Parameter
Conditions
Min
Max
Unit
fHCLK
AHB clock frequency
—
—
240
MHz
fAPB1
APB1 clock frequency
—
—
60
MHz
fAPB2
APB2 clock frequency
—
—
120
MHz
Min
Max
Unit
0
∞
20
∞
(1)
Guaranteed by design, not tested in production.
Table 4-4. Operating conditions at Power up / Power down(1)
Symbol
tVDD
(1)
Parameter
Conditions
VDD rise time rate
—
VDD fall time rate
μs/V
Guaranteed by design, not tested in production.
Table 4-5. Start-up timings of Operating conditions (1)(2)(3)
Symbol
Parameter
tstart-up
Start-up time
(1)
(2)
(3)
Conditions
Typ
Clock source from HXTAL
140.6
Clock source from IRC16M
140.2
Unit
ms
Based on characterization, not tested in production.
After power-up, the start-up time is the time between the rising edge of NRST high and the main function.
PLL is off.
Table 4-6. Power saving mode wakeup timings characteristics(1)(2)
Symbol
Parameter
Typ
tSleep
Wakeup from Sleep mode
0.623
tDeep-sleep
Wakeup from Deep-sleep mode(LDO On)
1.57
Unit
μs
72
GD32F470xx Datasheet
Symbol
Parameter
Wakeup from Deep-sleep mode
(LDO in low power mode)
tStandby
(1)
(2)
4.3.
Wakeup from Standby mode
Typ
Unit
1.57
140
ms
Based on characterization, not tested in production.
The wakeup time is measured from the wakeup event to the point at which the application code reads the first
instruction under the below conditions: VDD = VDDA = 3.3 V, IRC16M = System clock = 16 MHz.
Power consumption
The power measurements specified in the tables represent that code with data executing from
on-chip Flash with the following specifications.
Table 4-7. Power consumption characteristics(2)(3)(4)(5)
Symbol
Parameter
Conditions
Min Typ(1) Max
Unit
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 240 MHz, All peripherals
—
73.5
—
mA
—
44.1
—
mA
—
61.5
—
mA
—
37.1
—
mA
—
55.9
—
mA
—
33.9
—
mA
—
52.6
—
mA
—
32.0
—
mA
—
38.6
—
mA
—
23.9
—
mA
enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 240 MHz, All peripherals
disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 200 MHz, All peripherals
enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 200 MHz, All peripherals
disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 180 MHz, All peripherals
enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 180 MHz, All peripherals
IDD+IDDA
Supply current
disabled
(Run mode)
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 168 MHz, All peripherals
enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 168 MHz, All peripherals
disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 120 MHz, All peripherals
enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 120 MHz, All peripherals
disabled
73
GD32F470xx Datasheet
Symbol
Parameter
Conditions
Min Typ(1) Max
Unit
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 108 MHz, All peripherals
—
35.2
—
mA
—
22.0
—
mA
—
29.9
—
mA
—
19.0
—
mA
—
21.2
—
mA
—
13.9
—
mA
—
13.3
—
mA
—
9.5
—
mA
—
11.7
—
mA
—
8.5
—
mA
—
8.9
—
mA
—
6.9
—
mA
—
6.4
—
mA
—
5.3
—
mA
enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 108 MHz, All peripherals
disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 90 MHz, All peripherals
enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 90 MHz, All peripherals
disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 60 MHz, All peripherals
enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 60 MHz, All peripherals
disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 30 MHz, All peripherals
enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 30 MHz, All peripherals
disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 25 MHz, All peripherals
enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 25 MHz, All peripherals
disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 16 MHz, All peripherals
enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 16 MHz, All peripherals
disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 8 MHz, All peripherals
enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 8 MHz, All peripherals
disabled
74
GD32F470xx Datasheet
Symbol
Parameter
Conditions
Min Typ(1) Max
Unit
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 4 MHz, All peripherals
—
5.0
—
mA
—
4.5
—
mA
—
50.0
—
mA
—
21.7
—
mA
—
42.2
—
mA
—
18.7
—
mA
—
38.5
—
mA
—
17.2
—
mA
—
36.2
—
mA
—
16.4
—
mA
—
27.0
—
mA
—
12.8
—
mA
—
24.7
—
mA
—
11.9
—
mA
enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 4 MHz, All peripherals
disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 240 MHz,CPU clock off, All
peripherals enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 240 MHz, CPU clock off,
All peripherals disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 200 MHz,CPU clock off, All
peripherals enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 200 MHz, CPU clock off,
All peripherals disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 180 MHz, CPU clock off,
All peripherals enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 180 MHz, CPU clock off,
All peripherals disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 168 MHz, CPU clock off,
Supply current
All peripherals enabled
(Sleep mode)
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 168 MHz, CPU clock off,
All peripherals disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 120 MHz, CPU clock off,
All peripherals enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 120 MHz, CPU clock off,
All peripherals disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 108 MHz, CPU clock off,
All peripherals enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 108 MHz, CPU clock off,
All peripherals disabled
75
GD32F470xx Datasheet
Symbol
Parameter
Conditions
Min Typ(1) Max
Unit
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 90 MHz, CPU clock off, All
—
21.2
—
mA
—
10.5
—
mA
—
15.5
—
mA
—
8.4
—
mA
—
10.5
—
mA
—
6.7
—
mA
—
9.4
—
mA
—
6.2
—
mA
—
7.4
—
mA
—
5.4
—
mA
—
5.7
—
mA
—
4.7
—
mA
—
4.8
—
mA
—
4.3
—
mA
peripherals enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 90 MHz, CPU clock off, All
peripherals disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 60 MHz, CPU clock off, All
peripherals enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 60 MHz, CPU clock off, All
peripherals disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 30 MHz, CPU clock off, All
peripherals enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 30 MHz, CPU clock off, All
peripherals disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 25 MHz, CPU clock off, All
peripherals enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 25 MHz, CPU clock off, All
peripherals disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 16 MHz, CPU clock off, All
peripherals enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 16 MHz, CPU clock off, All
peripherals disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 8 MHz, CPU clock off, All
peripherals enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 8 MHz, CPU clock off, All
peripherals disabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 4 MHz, CPU clock off, All
peripherals enabled
VDD = VDDA = 3.3 V, HXTAL = 25 MHz,
System clock = 4 MHz, CPU clock off, All
peripherals disabled
76
GD32F470xx Datasheet
Symbol
Parameter
Conditions
Min Typ(1) Max
Unit
VDD = VDDA = 3.3 V, LDO in run mode and
normal driver mode, IRC32K off, RTC off,
—
1.39
—
mA
—
1.36
11
mA
—
1.33
—
mA
—
1.30
—
mA
—
9.90
—
9.67
—
9.19
—
3.26
—
μA
—
9.09
—
μA
—
8.93
—
μA
—
8.74
—
μA
—
7.47
—
μA
—
2.23
—
μA
—
2.13
—
μA
—
2
—
μA
All GPIOs analog mode
VDD = VDDA = 3.3 V, LDO in low power
Supply current
(Deep-Sleep
mode)
mode and normal driver mode, IRC32K off,
RTC off, All GPIOs analog mode
VDD = VDDA = 3.3 V, LDO in run mode and
low driver mode, IRC32K off, RTC off, All
GPIOs analog mode
VDD = VDDA = 3.3 V, LDO in low power
mode and low driver mode, IRC32K off,
RTC off, All GPIOs analog mode
VDD = VDDA = 3.3 V, LXTAL off, IRC32K on,
—
μA
RTC on, backup SRAM LDO ON
VDD = VDDA = 3.3 V, LXTAL off, IRC32K on,
Supply current
—
μA
RTC off, backup SRAM LDO ON
(Standby mode) VDD = VDDA = 3.3 V, LXTAL off, IRC32K off,
—
μA
RTC off, backup SRAM LDO ON
VDD = VDDA = 3.3 V, LXTAL off, IRC32K off,
RTC off, backup SRAM LDO OFF
VDD off, VDDA off, VBAT=3.6V, LXTAL on
with external crystal, RTC on, LXTAL High
driving, backup SRAM LDO ON
VDD off, VDDA off, VBAT=3.3V, LXTAL on
with external crystal, RTC on, LXTAL High
driving, backup SRAM LDO ON
VDD off, VDDA off, VBAT=2.6V, LXTAL on
with external crystal, RTC on, LXTAL High
driving, backup SRAM LDO ON
Battery supply
IBAT
VDD off, VDDA off, VBAT=1.8V, LXTAL on
current (Backup with external crystal, RTC on, LXTAL High
mode)
driving, backup SRAM LDO ON
VDD off, VDDA off, VBAT =3.6V, LXTAL on
with external crystal, RTC on, LXTAL High
driving, backup SRAM LDO OFF
VDD off, VDDA off, VBAT =3.3V, LXTAL on
with external crystal, RTC on, LXTAL High
driving, backup SRAM LDO OFF
VDD off, VDDA off, VBAT =2.6V, LXTAL on
with external crystal, RTC on, LXTAL High
driving, backup SRAM LDO OFF
77
GD32F470xx Datasheet
Symbol
Parameter
Conditions
Min Typ(1) Max
Unit
VDD off, VDDA off, VBAT =1.8V, LXTAL on
with external crystal, RTC on, LXTAL High
—
1.89
—
μA
—
8.16
—
μA
—
8
—
μA
—
7.8
—
μA
—
6.7
—
μA
—
1.27
—
μA
—
1.18
—
μA
—
1.06
—
μA
—
0.96
—
μA
driving, backup SRAM LDO OFF
VDD off, VDDA off, VBAT =3.6V, LXTAL on
with external crystal, RTC on, LXTAL Low
driving, backup SRAM LDO ON
VDD off, VDDA off, VBAT =3.3V, LXTAL on
with external crystal, RTC on, LXTAL Low
driving, backup SRAM LDO ON
VDD off, VDDA off, VBAT =2.6V, LXTAL on
with external crystal, RTC on, LXTAL Low
driving, backup SRAM LDO ON
VDD off, VDDA off, VBAT =1.8V, LXTAL on
with external crystal, RTC on, LXTAL Low
driving, backup SRAM LDO ON
VDD off, VDDA off, VBAT =3.6V, LXTAL on
with external crystal, RTC on, LXTAL Low
driving, backup SRAM LDO OFF
VDD off, VDDA off, VBAT =3.3V, LXTAL on
with external crystal, RTC on, LXTAL Low
driving, backup SRAM LDO OFF
VDD off, VDDA off, VBAT =2.6V, LXTAL on
with external crystal, RTC on, LXTAL Low
driving, backup SRAM LDO OFF
VDD off, VDDA off, VBAT =1.8V, LXTAL on
with external crystal, RTC on, LXTAL Low
driving, backup SRAM LDO OFF
(1)
(2)
(3)
(4)
(5)
Based on characterization, not tested in production.
Unless otherwise specified, all values given for TA = 25 ℃ and test result is mean value.
When System Clock is less than 4 MHz, an external source is used, and the HXTAL bypass function is
needed, no PLL.
When System Clock is greater than 8 MHz, a crystal 8 MHz is used, and the HXTAL bypass function is
closed, using PLL.
When analog peripheral blocks such as ADCs, DACs, HXTAL, LXTAL, IRC16M, or IRC32K are ON, an
additional power consumption should be considered.
78
GD32F470xx Datasheet
Figure 4-2. Typical supply current consumption in Run mode
Figure 4-3. Typical supply current consumption in Sleep mode
4.4.
EMC characteristics
EMS (electromagnetic susceptibility) includes ESD (Electrostatic discharge, positive and
negative) and FTB (Burst of Fast Transient voltage, positive and negative) testing result is
given in Table 4-8. EMS characteristics(1), based on the EMS levels and classes compliant
with IEC 61000 series standard.
79
GD32F470xx Datasheet
Table 4-8. EMS characteristics(1)
Symbol
VESD
VFTB
(1)
Parameter
Conditions
Voltage applied to all device pins to
induce a functional disturbance
Level/Class
VDD = 3.3 V, TA = 25 °C
BGA176, fHCLK = 240 MHz
3A
conforms to IEC 61000-4-2
Fast transient voltage burst applied to
VDD = 3.3 V, TA = 25 °C
induce a functional disturbance through
BGA176, fHCLK = 240 MHz
100 pF on VDD and VSS pins
conforms to IEC 61000-4-4
3A
Based on characterization, not tested in production.
EMI (Electromagnetic Interference) emission test result is given in the Table 4-9. EMI
characteristics(1), The electromagnetic field emitted by the device are monitored while an
application, executing EEMBC code, is running. The test is compliant with SAE J1752-3:2017
standard which specifies the test board and the pin loading.
Table 4-9. EMI characteristics(1)
Max vs.
Symbol
Parameter
Tested
Conditions
frequency band
VDD = 3.6 V, TA = +25 °C,
SEMI
Peak level
LQFP144,
fHCLK = 200
MHz, conforms to SAE
J1752-3:2017
(1)
4.5.
[fHXTAL/fHCLK] Unit
25/240 MHz
0.15 MHz to 30 MHz
30 MHz to 130 MHz
dBμV
130 MHz to 1 GHz
Based on characterization, not tested in production.
Power supply supervisor characteristics
Table 4-10. Power supply supervisor characteristics
Symbol
VLVD(1)
Parameter
Conditions
Min
Typ
Max
LVDT = 000(rising edge)
—
2.1
—
LVDT = 000(falling edge)
—
1.98
—
LVDT = 001(rising edge)
—
2.23
—
LVDT = 001(falling edge)
—
2.12
—
Low voltage
LVDT = 010(rising edge)
—
2.36
—
Detector level selection
LVDT = 010(falling edge)
—
2.25
—
LVDT = 011(rising edge)
—
2.50
—
LVDT = 011(falling edge)
—
2.38
—
LVDT = 100(rising edge)
—
2.62
—
LVDT = 100(falling edge)
—
2.52
—
Unit
V
80
GD32F470xx Datasheet
Symbol
Parameter
Conditions
Min
Typ
Max
LVDT = 101(rising edge)
—
2.74
—
LVDT = 101(falling edge)
—
2.66
—
LVDT = 110(rising edge)
—
2.90
—
LVDT = 110(falling edge)
—
2.80
—
LVDT = 111(rising edge)
—
3.03
—
LVDT = 111(falling edge)
—
2.93
—
Unit
VLVDhyst(2)
LVD hystersis
—
—
100
—
mV
VPOR(1)
Power on reset threshold
—
—
2.45
—
V
—
—
1.82
—
V
—
—
600
—
mV
Falling edge
—
2.80
—
V
Rising edge
—
2.89
—
V
Falling edge
—
2.51
—
V
Rising edge
—
2.59
—
V
Falling edge
—
2.20
—
V
Rising edge
—
2.30
—
V
VPDR(1)
Power down reset
threshold
VPDRhyst(2)
PDR hysteresis
VBOR3(1)
Brownout level 3 threshold
VBOR2(1)
VBOR1(1)
Brownout level 2 threshold
Brownout level 1 threshold
VBORhyst(2)
BOR hysteresis
—
—
100
—
mV
tRSTTEMPO(2)
Reset temporization
—
—
2
—
ms
(1)
Based on characterization, not tested in production.
(2)
Guaranteed by design, not tested in production.
Figure 4-4. Recommended PDR_ON pin circuit
VDD
10 kΩ
PDR_ON
External circuit
(1)
The PDR supervisor can be enabled/disabled through PDR_ON pin.
81
GD32F470xx Datasheet
(2)
When PDR_ON pin is connected to VSS (Internal Reset OFF), the VBAT functionality is no more available and
VBAT pin should be connected to VDD.
4.6.
Electrical sensitivity
The device is strained in order to determine its performance in terms of electrical sensitivity.
Electrostatic discharges (ESD) are applied directly to the pins of the sample. Static latch-up
(LU) test is based on the two measurement methods.
Table 4-11. ESD characteristics(1)
Symbol
VESD(HBM)
VESD(CDM)
(1)
Parameter
Conditions
Electrostatic discharge
TA = 25 °C;
voltage (human body model)
JS-001-2017
Electrostatic discharge
TA = 25 °C;
voltage (charge device model)
JS-002-2018
Min
Typ
Max
Unit
—
—
5000
V
—
—
1000
V
Min
Typ
Max
Unit
—
—
±200
mA
—
—
5.4
V
Based on characterization, not tested in production.
Table 4-12. Static latch-up characteristics(1)
Symbol
Parameter
Conditions
I-test
LU
TA = 105 °C; JESD78
Vsupply over voltage
(1)
4.7.
Based on characterization, not tested in production.
External clock characteristics
Table 4-13. High speed external clock (HXTAL) generated from a crystal/ceramic
characteristics
Symbol
fHXTAL
RF
(1)
(2)
Parameter
Conditions
Min
Typ
Max
Unit
Crystal or ceramic frequency
2.6 V ≤ VDD ≤ 3.6 V
4
25
32
MHz
Feedback resistor
VDD = 3.3 V
—
400
—
kΩ
—
—
20
30
pF
Crystal or ceramic duty cycle
—
30
50
70
%
Oscillator transconductance
Startup
—
25
—
mA/V
VDD = 3.3 V
—
1.2
—
mA
VDD = 3.3 V
—
0.42
—
ms
Recommended matching
CHXTAL
(2) (3)
capacitance on OSCIN and
OSCOUT
Ducy(HXTAL)
(2)
gm(2)
IDDHXTAL(1)
tSUHXTAL(1)
(1)
(2)
(3)
Crystal or ceramic operating
current
Crystal or ceramic startup time
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
CHXTAL1 = CHXTAL2 = 2*(CLOAD - CS), For CHXTAL1 and CHXTAL2, it is recommended matching capacitance on OSCIN
and OSCOUT. For CLOAD, it is crystal/ceramic load capacitance, provided by the crystal or ceramic
82
GD32F470xx Datasheet
manufacturer. For CS, it is PCB and MCU pin stray capacitance.
Table 4-14. High speed external clock characteristics (HXTAL in bypass mode)
Symbol
fHXTAL_ext(1)
VHXTALH(2)
Parameter
Conditions
External clock source or oscillator
2.6 V ≤ VDD ≤
frequency
3.6 V
OSCIN input pin high level
voltage
VDD = 3.3 V
Min
Typ
Max
Unit
1
—
50
MHz
0.7 VDD
—
VDD
V
VSS
—
0.3 VDD
V
VHXTALL(2)
OSCIN input pin low level voltage
tH/L(HXTAL) (2)
OSCIN high or low time
—
5
—
—
ns
tR/F(HXTAL) (2)
OSCIN rise or fall time
—
—
—
10
ns
CIN(2)
OSCIN input capacitance
—
—
5
—
pF
Ducy(HXTAL) (2)
Duty cycle
—
40
—
60
%
(1)
(2)
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
83
GD32F470xx Datasheet
Table 4-15. Low speed external clock (LXTAL) generated from a crystal/ceramic
characteristics
Symbol
fLXTAL(1)
Parameter
Crystal or ceramic
frequency
Conditions
Min
Typ
Max
Unit
VDD = 3.3 V
—
32.768
—
kHz
—
—
15
—
pF
—
30
—
70
%
—
6
—
Recommended matching
CLXTAL
(2) (3)
capacitance on OSC32IN
and OSC32OUT
Ducy(LXTAL)(2)
Crystal or ceramic duty
cycle
Medium low driving
gm(2)
Oscillator transconductance
capability
μA/V
Higher driving
capability
IDDLXTAL (1)
tSULXTAL(1) (4)
(1)
(2)
(3)
(4)
—
18
—
Crystal or ceramic operating
LXTALDRI= 0
—
0.8
—
current
LXTALDRI= 1
—
1.6
—
Crystal or ceramic startup
LXTALDRI= 0
—
369
—
ms
time
LXTALDRI= 1
—
175
—
ms
μA
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
CLXTAL1 = CLXTAL2 = 2*(CLOAD - CS), For CLXTAL1 and CLXTAL2, it is recommended matching capacitance on OSC32IN
and OSC32OUT. For CLOAD, it is crystal/ceramic load capacitance, provided by the crystal or ceramic
manufacturer. For CS, it is PCB and MCU pin stray capacitance.
tSULXTAL is the startup time measured from the moment it is enabled (by software) to the 32.768 kHz oscillator
stabilization flags is SET. This value varies significantly with the crystal manufacturer.
Table 4-16. Low speed external user clock characteristics (LXTAL in bypass mode)
Symbol
fLXTAL_ext(1)
Parameter
External clock source or oscillator
frequency
Conditions
Min
VDD = 3.3 V
—
32.768 1000
kHz
VSS
—
0.3 VDD
—
450
—
—
OSC32IN rise or fall time
—
—
—
50
OSC32IN input capacitance
—
—
5
—
pF
Duty cycle
—
30
50
70
%
—
VLXTALL(2)
OSC32IN input pin low level voltage
—
tH/L(LXTAL) (2)
OSC32IN high or low time
tR/F(LXTAL) (2)
CIN(2)
(1)
(2)
Unit
VDD
OSC32IN input pin high level voltage
(2)
Max
—
VLXTALH(2)
Ducy(LXTAL)
0.7
Typ
VDD
V
ns
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
84
GD32F470xx Datasheet
4.8.
Internal clock characteristics
Table 4-17. High speed internal clock (IRC16M) characteristics
Symbol
Parameter
Conditions
Min
Typ
VDD = VDDA = 3.3 V
—
16
Max Unit
High Speed Internal
fIRC16M
Oscillator (IRC16M)
—
MHz
—
%
—
+1.0
%
frequency
ACCIRC16M
IRC16M oscillator
VDD = VDDA = 3.3 V,
Frequency accuracy,
TA = -40 °C ~ +85 °C
Factory-trimmed
—
—
0.5
—
%
VDD = VDDA = 3.3 V
45
50
55
%
—
47
—
μA
—
1.18
—
μs
step(1)
IRC16M oscillator duty
cycle
IDDIRC16M+
IRC16M oscillator
VDD = VDDA = 3.3 V,
IDDAIRC16M(1)
operating current
fHCLK =fHXTAL = 25 MHz
IRC16M oscillator startup
VDD = VDDA = 3.3 V,
time
fHCLK =fHXTAL_PLL = 200 MHz
(1)
(2)
+1.1 (1)
IRC16M oscillator
trimming
tSUIRC16M(1)
-1.73 to
VDD = VDDA = 3.3 V, TA = 25 °C -1.0
Frequency accuracy, User
DucyIRC16M(2)
—
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
Table 4-18. High speed internal clock (IRC48M) characteristics
Symbol
Parameter
Conditions
Min
Typ
Max
Unit
VDD = 3.3 V
—
48
—
MHz
—
%
High Speed Internal
fIRC48M
Oscillator (IRC48M)
frequency
IRC48M oscillator
Frequency accuracy,
ACCIRC48M
Factory-trimmed
VDD = VDDA = 3.3 V,
TA = -40 °C ~ +85 °C
VDD = VDDA = 3.3 V,
—
-1.31 to
+0.39 (1)
-2.0
—
+2.0
%
—
—
0.12
—
%
VDD = VDDA = 3.3 V
45
50
55
%
—
358
—
μA
—
1.23
—
μs
TA = 25 °C
IRC48M oscillator
Frequency accuracy, User
trimming step(1)
DIRC48M(2)
IRC48M oscillator duty
cycle
IDDIRC48M+
IRC48M oscillator
VDD = VDDA = 3.3 V,
IDDAIRC48M(1)
operating current
fHCLK = fIRC16M = 16 MHz
IRC48M oscillator startup
VDD = VDDA = 3.3 V,
time
fHCLK = fHXTAL_PLL = 200 MHz
tSUIRC48M(1)
(1)
(2)
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
85
GD32F470xx Datasheet
Table 4-19. Low speed internal clock (IRC32K) characteristics
Symbol
fIRC32K(1)
IDDAIRC32K(2)
tSUIRC32K(2)
(1)
(2)
4.9.
Parameter
Conditions
Low Speed Internal oscillator
VDD = VDDA = 3.3 V,
(IRC32K) frequency
TA = -40 °C ~ +85 °C
IRC32K oscillator operating
VDD = VDDA = 3.3 V,
current
fHCLK = fIRC16M = 16 MHz
IRC32K oscillator startup
VDD = VDDA = 3.3 V, fHCLK =
time
fHXTAL_PLL = 200 MHz
Min
Typ
Max Unit
—
32
—
kHz
—
0.43
—
μA
—
22.1
—
μs
Guaranteed by design, not tested in production.
Based on characterization, not tested in production.
PLL characteristics
Table 4-20. PLL characteristics
Symbol
fPLLIN
(1)
fPLLOUT
(2)
fVCO(2)
tLOCK(2)
IDDA(1)(3)
Parameter
Conditions
Min
Typ
Max
Unit
PLL input clock frequency
—
1
—
4
MHz
PLL output clock frequency
—
100
—
500
MHz
—
32
—
344
MHz
—
—
—
400
μs
VCO freq = 400 MHz
—
797
—
μA
—
40
—
—
400
—
PLL VCO output clock
frequency
PLL lock time
Current consumption on
VDDA
Cycle to cycle Jitter(rms)
JitterPLL
Cycle to cycle Jitter
System clock
(peak to peak)
(1)
(2)
(3)
(4)
ps
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
System clock = HXTAL = 25 MHz, PLL clock source = HXTAL/25 = 1 MHz, fPLLOUT = 100 MHz.
Value given with main PLL running.
Table 4-21. PLLI2S characteristics
Symbol
fPLLIN(1)
fPLLOUT(2)
fVCO(2)
tLOCK(2)
IDDA(1)(3)
Parameter
PLLI2S input clock
frequency
PLLI2S output clock
frequency
PLLI2S VCO output clock
frequency
PLLI2S lock time
Current consumption on
VDDA
Conditions
Min
Typ
Max
Unit
—
1
—
4
MHz
—
100
—
500
MHz
—
32
—
344
MHz
—
—
—
400
μs
VCO freq = 400 MHz
—
814
—
μA
—
40
—
—
400
—
Cycle to cycle Jitter(rms)
JitterPLL
Cycle to cycle Jitter
(peak to peak)
System clock
ps
86
GD32F470xx Datasheet
(1)
(2)
(3)
(4)
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
System clock = HXTAL = 25 MHz, PLL clock source = HXTAL/25 = 1 MHz, fPLLOUT = 100 MHz.
Value given with main PLLI2S running.
Table 4-22. PLLSAI characteristics
Symbol
fPLLIN(1)
fPLLOUT(2)
fVCO(2)
tLOCK(2)
IDDA(1)(3)
Parameter
Conditions
Min
Typ
Max
Unit
—
1
—
4
MHz
—
100
—
500
MHz
—
32
—
344
MHz
—
—
—
400
μs
VCO freq = 400 MHz
—
796
—
μA
—
40
—
—
400
—
PLLSAI input clock
frequency
PLLSAI output clock
frequency
PLLSAI VCO output clock
frequency
PLLSAI lock time
Current consumption on
VDDA
Cycle to cycle Jitter(rms)
JitterPLL
Cycle to cycle Jitter
System clock
(peak to peak)
(1)
(2)
(3)
(4)
ps
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
System clock = HXTAL = 25 MHz, PLL clock source = HXTAL/25 = 1 MHz, fPLLOUT = 100 MHz.
Value given with main PLLSAI running.
Table 4-23. PLL spread spectrum clock generation (SSCG) characteristics
Symbol
Parameter
Conditions
Min
Typ
Max
Unit
FMOD
Modulation frequency
—
—
—
10
KHz
Mdamp
Peak modulation amplitude
—
—
—
2
%
—
—
—
—
215-1
—
MODCNT*
MODSTEP
(1)
(2)
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
Equation 1: SSCG configuration equation:
MODCNT = round(fPLLIN /4/fmod )
MODSTEP = round(mdamp ∗ PLLN ∗ 214 /(MODCNT ∗ 100))
The formula above (Equation 1) is SSCG configuration equation.
87
GD32F470xx Datasheet
4.10.
Memory characteristics
Table 4-24. Flash memory characteristics
Symbol
Parameter
Conditions
Min(1) Typ(1)
Max(2)
Unit
Number of guaranteed
PECYC
program /erase cycles before
TA = -40 °C ~ +85 °C
50
—
—
kcycles
failure (Endurance)
tRET
Data retention time
—
—
20
—
years
tPROG
Word programming time
TA = -40°C ~ +85 °C
—
37.5
180
μs
tERASE16kB
Sector(16kB) erase time
—
200
2000
tERASE64kB
Sector(64kB) erase time
—
300
4000
tERASE128kB
Sector(128kB) erase time
—
600
8000
tMERASE(512K)
Mass erase time
TA = -40°C ~ +85 °C
—
2.4
32
s
tMERASE(1MB)
Mass erase time
TA = -40°C ~ +85 °C
—
4.8
64
s
tMERASE(2MB)
Mass erase time
TA = -40°C ~ +85 °C
—
9.6
128
s
tMERASE(3MB)
Mass erase time
TA = -40°C ~ +85 °C
—
14.4
192
s
Min
Typ
Max
Unit
-0.3
—
0.3 VDD
(1)
(2)
4.11.
TA = -40°C ~ +85 °C
ms
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
NRST pin characteristics
Table 4-25. NRST pin characteristics
Symbol
Parameter
VIL(NRST)(1)
NRST Input low level voltage
VIH(NRST)(1)
NRST Input high level voltage
Vhyst(1)
VIL(NRST)
VDD + 0.3
Schmidt trigger Voltage hysteresis
—
440
—
NRST Input low level voltage
-0.3
—
0.3 VDD
(1)
NRST Input high level voltage
Vhyst(1)
VDD = VDDA = 3.3 V 0.7 VDD —
VDD + 0.3
Schmidt trigger Voltage hysteresis
—
490
—
(1)
NRST Input low level voltage
-0.3
—
0.3 VDD
(1)
NRST Input high level voltage
VIH(NRST)
(1)
(2)
VDD = VDDA = 2.6 V 0.7 VDD —
(1)
VIH(NRST)
VIL(NRST)
Conditions
Vhyst(1)
Schmidt trigger Voltage hysteresis
Rpu(2)
Pull-up equivalent resistor
VDD = VDDA = 3.6 V 0.7 VDD —
—
VDD + 0.3
V
mV
V
mV
V
—
510
—
mV
—
40
—
kΩ
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
88
GD32F470xx Datasheet
Figure 4-5. Recommended external NRST pin circuit(1)
VDD
VDD
External reset circuit
10 kΩ
RPU
NRST
K
100 nF
GND
Unless the voltage on NRST pin go below VIL(NRST) level, the device would not generate a reliable reset.
(1)
4.12.
GPIO characteristics
Table 4-26. I/O port DC characteristics(1)(3)
Symbol
Parameter
Standard IO Low level
VIL
input voltage
5V-tolerant IO Low level
input voltage
Standard IO Low level
VIH
input voltage
5V-tolerant IO Low level
input voltage
RPU(2)
RPD(2)
Conditions
Min
Typ
Max
Unit
2.6 V ≤ VDD = VDDA ≤ 3.6 V
—
—
0.3 VDD
V
2.6 V ≤ VDD = VDDA ≤ 3.6 V
—
—
0.3 VDD
V
2.6 V ≤ VDD = VDDA ≤ 3.6 V 0.7 VDD —
—
V
2.6 V ≤ VDD = VDDA ≤ 3.6 V 0.7 VDD —
—
V
Internal pull-
All pins
VIN = VSS
—
40
—
up resistor
PA10
—
—
10
—
Internal pull-
All pins
VIN = VDD
—
40
—
down resistor
PA10
—
—
10
—
VDD = 2.6 V
—
—
0.11
VDD = 3.3 V
—
—
0.10
(IIO = +8 mA)
VDD = 3.6 V
—
—
0.10
Low level output
VDD = 2.6 V
—
—
0.29
VDD = 3.3 V
—
—
0.27
(IIO = +20 mA)
VDD = 3.6 V
—
—
0.26
High level output
VDD = 2.6 V
2.46
—
—
voltage for an IO Pin
VDD = 3.3 V
3.18
—
—
(IIO = +8 mA)
VDD = 3.6 V
3.48
—
—
High level output
VDD = 2.6 V
2.22
—
—
voltage for an IO Pin
VDD = 3.3 V
2.98
—
—
kΩ
kΩ
IO_Speed:level 3
Low level output
voltage
for an IO Pin
VOL
voltage
VOH
for an IO Pin
V
89
GD32F470xx Datasheet
Symbol
Parameter
Conditions
Min
Typ
Max
(IIO = +20 mA)
VDD = 3.6 V
3.29
—
—
VDD = 2.6 V
—
—
0.16
VDD = 3.3 V
—
—
0.14
(IIO = +8 mA)
VDD = 3.6 V
—
—
0.14
Low level output
VDD = 2.6 V
—
—
0.43
VDD = 3.3 V
—
—
0.37
(IIO = +20 mA)
VDD = 3.6 V
—
—
0.36
High level output
VDD = 2.6 V
2.40
—
—
voltage for an IO Pin
VDD = 3.3 V
3.12
—
—
(IIO = +8 mA)
VDD = 3.6 V
3.44
—
—
High level output
VDD = 2.6 V
2.05
—
—
voltage for an IO Pin
VDD = 3.3 V
2.84
—
—
(IIO = +20 mA)
VDD = 3.6 V
3.17
—
—
VDD = 2.6 V
—
—
0.28
VDD = 3.3 V
—
—
0.28
(IIO = +8 mA)
VDD = 3.6 V
—
—
0.24
(IIO = +15 mA)
VDD = 2.6 V
—
—
0.57
Low level output
VDD = 3.3 V
—
—
0.66
VDD = 3.6 V
—
—
0.64
High level output
VDD = 2.6 V
2.23
—
—
voltage for an IO Pin
VDD = 3.3 V
3.00
—
—
(IIO = +8 mA)
VDD = 3.6 V
3.31
—
—
(IIO = +15 mA)
VDD = 2.6 V
1.83
—
—
High level output
VDD = 3.3 V
2.45
—
—
VDD = 3.6 V
2.81
—
—
VDD = 2.6 V
—
—
0.17
VDD = 3.3 V
—
—
0.15
(IIO = +1 mA)
VDD = 3.6 V
—
—
0.15
Low level output
VDD = 2.6 V
—
—
0.80
VDD = 3.3 V
—
—
0.63
(IIO = +4 mA)
VDD = 3.6 V
—
—
0.60
High level output
VDD = 2.6 V
2.38
—
—
voltage for an IO Pin
VDD = 3.3 V
3.12
—
—
(IIO = +1 mA)
VDD = 3.6 V
3.42
—
—
High level output
VDD = 2.6 V
1.45
—
—
voltage for an IO Pin
VDD = 3.3 V
2.48
—
—
Unit
IO_Speed:level 2
Low level output
voltage
for an IO Pin
VOL
voltage
for an IO Pin
VOH
V
IO_Speed:level 1
Low level output
voltage
VOL
voltage
for an IO Pin
for an IO Pin
(IIO = +20 mA)
VOH
V
voltage for an IO Pin
(IIO = +20 mA)
IO_Speed:level 0
Low level output
voltage
for an IO Pin
VOL
voltage
VOH
for an IO Pin
V
90
GD32F470xx Datasheet
Symbol
(1)
(2)
(3)
Parameter
Conditions
Min
Typ
Max
(IIO = +4 mA)
VDD = 3.6 V
2.83
—
—
Unit
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
All pins except PC13 / PC14 / PC15 / PI8. Since PC13 to PC15 and PI8 are supplied through the Power Switch,
which can only be obtained by a small current, the speed of GPIOs PC13 to PC15 and PI8 should not exceed
2 MHz when they are in output mode (maximum load: 30 pF).
Table 4-27. I/O port AC characteristics(1)(2)(4)
GPIOx_OSPD[1:0] bit value(3)
Parameter
Conditions
2.6 ≤ VDD ≤ 3.6 V, CL = 10 pF
GPIOx_OSPD0->OSPDy[1:0] = 00
(IO_Speed:level 0)
GPIOx_OSPD0->OSPDy[1:0] = 01
(IO_Speed:level 1)
GPIOx_OSPD0->OSPDy[1:0] = 10
(IO_Speed: level 2)
GPIOx_OSPD0->OSPDy[1:0] = 11
(IO_Speed:level 3)
(1)
(2)
(3)
(4)
(5)
TRise/TFall
Max Unit
51
2.6 ≤ VDD ≤ 3.6 V, CL = 30 pF 63.2
ns
2.6 ≤ VDD ≤ 3.6 V, CL = 50 pF 74.2
TRise/TFall
2.6 ≤ VDD ≤ 3.6 V, CL = 10 pF
3.6
2.6 ≤ VDD ≤ 3.6 V, CL = 30 pF
9.6
ns
2.6 ≤ VDD ≤ 3.6 V, CL = 50 pF 12.2
TRise/TFall
TRise/TFall
2.6 ≤ VDD ≤ 3.6 V, CL = 10 pF
2.2
2.6 ≤ VDD ≤ 3.6 V, CL = 30 pF
3
2.6 ≤ VDD ≤ 3.6 V, CL = 50 pF
3.8
2.6 ≤ VDD ≤ 3.6 V, CL = 10 pF
2
2.6 ≤ VDD ≤ 3.6 V, CL = 30 pF
2.8
2.6 ≤ VDD ≤ 3.6 V, CL = 50 pF
3.4
ns
ns
Based on characterization, not tested in production.
Unless otherwise specified, all test results given for TA = 25 °C.
The I/O speed is configured using the GPIOx_OSPD -> OSPDy[1:0]bits.
Only for reference, Depending on user’s design.
Max frequency is defined when the sum of rise time plus the fall time is less than 2/3 cycle.
91
GD32F470xx Datasheet
4.13.
ADC characteristics
Table 4-28. ADC characteristics
Symbol
Parameter
Conditions
Min
Typ
Max
Unit
VDDA(1)
Operating voltage
—
2.6
3.3
3.6
V
VIN(1)
ADC input voltage range
—
0
—
VREF+
V
VREF+(2)
Positive Reference Voltage
—
2.6
—
VDDA
V
Negative Reference Voltage
—
—
VSSA
—
V
ADC clock
—
0.1
—
40
MHz
12-bit
0.007
—
2.6
10-bit
0.008
—
3.1
MSP
8-bit
0.01
—
3.6
S
6-bit
0.011
—
4.4
VREF-
(2)
fADC(1)
fS(1)
Sampling rate
(1)
Analog input voltage
16 external; 3 internal
0
—
VREF+
V
(2)
External input impedance
See Equation 2
—
—
308.6
kΩ
—
—
—
0.55
kΩ
—
—
4.0
pF
VAIN
RAIN
Input sampling switch
RADC(2)
resistance
Input sampling capacitance
tCAL(2)
Calibration time
fADC = 40 MHz
—
3.275
—
μs
Sampling time
fADC = 40 MHz
0.075
—
12
μs
12-bit
—
15
—
Total conversion time (including
10-bit
—
13
—
sampling time)
8-bit
—
11
—
6-bit
—
9
—
—
—
—
1
(2)
ts
tCONV(2)
tSU(2)
(1)
(2)
No pin/pad capacitance
CADC(2)
included
Startup time
1/ fADC
μs
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
Equation 2: RAIN max formula
R AIN <
Ts
fADC ∗CADC ∗ln(2N+2 )
− R ADC
The formula above (Equation 2) is used to determine the maximum external impedance allowed for an
error below 1/4 of LSB. Here N = 12 (from 12-bit resolution).
Table 4-29. ADC RAIN max for fADC = 40 MHz(2)
Ts (cycles)
ts (us)
RAIN max (KΩ)
3
0.075
1.3
15
0.375
9.1
28
0.7
17.4
55
1.375
34.8
84
2.1
53.5
112
2.8
71.5
144
3.6
92.4
480
12
308.6
92
GD32F470xx Datasheet
(1)
(2)
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
Table 4-30. ADC dynamic accuracy at fADC = 40 MHz(1)
Symbol
Parameter
Test conditions
Min
Typ
ENOB
Effective number of bits
fADC = 40 MHz
—
10.9
—
SNDR
Signal-to-noise and distortion ratio
VDDA = VREF+ = 3.3 V
—
67.3
—
SNR
Signal-to-noise ratio
Input Frequency = 110
—
67.7
—
—
-75
—
Typ
Max
±1
—
±1
—
±1.5
—
THD
(1)
kHz
Total harmonic distortion
Temperature = 25 ℃
Max Unit
bits
dB
Based on characterization, not tested in production.
Table 4-31. ADC static accuracy at fADC = 40 MHz(1)
Symbol
Parameter
Offset
Offset error
DNL
Differential linearity error
INL
Integral linearity error
(1)
4.14.
Test conditions
fADC = 40 MHz
VDDA = VREF+ = 3.3 V
Unit
LSB
Based on characterization, not tested in production.
Temperature sensor characteristics
Table 4-32. Temperature sensor characteristics(1)
Symbol
Parameter
Min
Typ
Max
Unit
TL
VSENSE linearity with temperature
—
±1.5
—
℃
Avg_Slope
Average slope
—
4.4
—
mV/℃
V25
Voltage at 25 °C
—
1.4
—
V
ADC sampling time when reading the temperature
—
17.1
—
μs
tS_temp
(1)
(2)
4.15.
(2)
Based on characterization, not tested in production.
Shortest sampling time can be determined in the application by multiple iterations.
DAC characteristics
Table 4-33. DAC characteristics
Symbol
Parameter
Conditions
Min
Typ
Max
Unit
VDDA(1)
Operating voltage
—
2.6
3.3
3.6
V
VREF+(2)
Positive Reference Voltage
—
2.6
—
VDDA
V
—
—
VSSA
—
V
Resistive load with buffer ON
5
—
—
kΩ
—
—
15
kΩ
—
—
50
pF
0.2
—
—
V
VREF-(2)
Negative Reference
Voltage
RLOAD(2)
Resistive load
Ro(2)
Impedance output
CLOAD(2)
Capacitive load
DAC_OUT
min(2)
Lower DAC_OUT voltage
Impedance output with buffer
OFF
Capacitive load with buffer ON
Lower DAC_OUT voltage with
buffer ON
93
GD32F470xx Datasheet
Symbol
Parameter
Conditions
Lower DAC_OUT voltage with
buffer OFF
DAC_OUT
max (2)
Higher DAC_OUT voltage with
buffer ON
Higher DAC_OUT voltage
Higher DAC_OUT voltage with
buffer OFF
Min
Typ
Max
Unit
0.5
—
—
mV
—
—
—
—
—
350
VDDA0.2
VDDA1LSB
V
V
With no load, middle
code(0x800) on the input,
IDDA(1)
DAC current consumption
VREF+ = 3.6 V
in quiescent mode
With no load, worst
—
μA
code(0xF1C) on the input,
—
430
—
—
115
—
VREF+ = 3.6 V
With no load, middle
code(0x800) on the input,
IDDVREF+(1)
DAC current consumption
in quiescent mode
VREF+ = 3.6 V
μA
With no load, worst
code(0xF1C) on the input,
—
298
—
10-bit configuration
—
—
±0.75
12-bit configuration
—
—
±3
10-bit configuration
—
—
±1.25
12-bit configuration
—
—
±5
VREF+ = 3.6 V
DNL(1)
Differential non linearity
INL(1)
Integral non linearity
Offset(1)
Offset error
DAC in 12-bit mode
—
—
±24
LSB
GE(1)
Tsetting
Gain error
DAC in 12-bit mode
—
—
±1.5
%
Settling time
CLOAD ≤ 50 pF, RLOAD ≥ 5 kΩ
—
0.5
1
μs
(2)
Wakeup from off state
—
—
5
10
μs
CLOAD ≤ 50 pF, RLOAD ≥ 5 kΩ
—
—
4
MS/s
No RLoad, CLOAD=50 pF
—
-90
—
dB
Update
rate(2)
PSRR(2)
4.16.
LSB
(1)
Twakeup
(1)
(2)
LSB
Max frequency for a correct
DAC_OUT change from
code i to i±1LSB
Power supply rejection
ratio(to VDDA)
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
I2C characteristics
Table 4-34. I2C characteristics(1)(2)
Symbol
Parameter
Conditions
tSCL(H)
SCL clock high time
tSCL(L)
tsu(SDA)
Standard mode
Fast mode
Unit
Min
Max
Min
Max
—
4.0
—
0.6
—
μs
SCL clock low time
—
4.7
—
1.3
—
μs
SDA setup time
—
250
—
100
—
ns
94
GD32F470xx Datasheet
Symbol
Parameter
Conditions
th(SDA)
SDA data hold time
tr(SDA/SCL)
Standard mode
Fast mode
Unit
Min
Max
Min
Max
—
0(3)
3450
0
900
ns
SDA and SCL rise time
—
—
1000
—
300
ns
tf(SDA/SCL)
SDA and SCL fall time
—
—
300
—
300
ns
th(STA)
Start condition hold time
—
4.0
—
0.6
—
μs
—
4.7
—
0.6
—
μs
—
4.0
—
0.6
—
μs
—
4.7
—
1.3
—
μs
Repeated Start condition setup
ts(STA)
time
ts(STO)
tbuff
(1)
(2)
(3)
Stop condition setup time
Stop to Start condition time (bus
free)
Guaranteed by design, not tested in production.
To ensure the standard mode I2C frequency, f PCLK1 must be at least 2 MHz. To ensure the fast mode I2C
frequency, fPCLK1 must be at least 4 MHz.
The device should provide a data hold time of 300 ns at least in order to bridge the undefined region of the
falling edge of SCL.
Figure 4-6. I2C bus timing diagram
tsu(STA)
SDA
70%
30%
tf(SDA)
tr(SDA)
tSCL(H)
th(STA)
SCL
tbuff
th(SDA)
tsu(SDA)
70%
30%
tSCL(L)
tr(SCL)
tf(SCL)
tsu(STO)
95
GD32F470xx Datasheet
4.17.
SPI characteristics
Table 4-35. Standard SPI characteristics(1)
Symbol
Parameter
Conditions
Min
Typ
Max
Unit
fSCK
SCK clock frequency
—
—
—
30
MHz
tSCK(H)
SCK clock high time
tSCK(L)
SCK clock low time
Master mode, fPCLKx = 120 MHz,
presc = 4
Master mode, fPCLKx = 120 MHz,
presc = 4
14.67 16.67 18.67
ns
14.67 16.67 18.67
ns
SPI master mode
tV(MO)
Data output valid time
—
—
—
8
ns
tSU(MI)
Data input setup time
—
6
—
—
ns
tH(MI)
Data input hold time
—
0
—
—
ns
SPI slave mode
(1)
tSU(NSS)
NSS enable setup time
—
0
—
—
ns
tH(NSS)
NSS enable hold time
—
3.3
—
—
ns
tA(SO)
Data output access time
—
—
9
—
ns
tDIS(SO)
Data output disable time
—
—
10
—
ns
tV(SO)
Data output valid time
—
—
11
—
ns
tSU(SI)
Data input setup time
—
0
—
—
ns
tH(SI)
Data input hold time
—
2.2
—
—
ns
Based on characterization, not tested in production.
Figure 4-7. SPI timing diagram - master mode
tSCK
SCK (CKPH=0 CKPL=0)
SCK (CKPH=0 CKPL=1)
SCK (CKPH=1 CKPL=0)
tSCK(H)
tSCK(L)
SCK (CKPH=1 CKPL=1)
tSU(MI)
MISO
D[0]
LF=1,FF16=0
D[7]
tH(MI)
MOSI
D[0]
D[7]
tV(MO)
tH(MO)
96
GD32F470xx Datasheet
Figure 4-8. SPI timing diagram - slave mode
NSS
tSCK
tSU(NSS)
SCK (CKPH=0 CKPL=0)
tSCK(H)
SCK (CKPH=0 CKPL=1)
tSCK(L)
tH(NSS)
tH(SO)
tDIS(SO)
tV(SO)
tA(SO)
MISO
D[0]
D[7]
tSU(SI)
MOSI
D[0]
D[7]
tH(SI)
97
GD32F470xx Datasheet
4.18.
I2S characteristics
Table 4-36. I2S characteristics(1)(2)
Symbol
Parameter
fCK
Clock frequency
Conditions
Master mode (data: 32 bits,
Audio frequency = 96 kHz)
Slave mode
Min
Typ
Max
Unit
—
6.25
—
—
—
12.5
—
80
—
ns
—
80
—
ns
MHz
tH
Clock high time
tL
Clock low time
tV(WS)
WS valid time
Master mode
—
3
—
ns
tH(WS)
WS hold time
Master mode
—
3
—
ns
tSU(WS)
WS setup time
Slave mode
0
—
—
ns
tH(WS)
WS hold time
Slave mode
3
—
—
ns
Slave mode
—
50
—
%
Ducy(SCK)
I2S slave input clock duty
cycle
—
tSU(SD_MR)
Data input setup time
Master mode
0
—
—
ns
tsu(SD_SR)
Data input setup time
Slave mode
0
—
—
ns
Master receiver
1
—
—
ns
Slave receiver
3
—
—
ns
—
—
9
ns
6
—
—
ns
—
—
6
ns
0
—
—
ns
tH(SD_MR)
tH(SD_SR)
Data input hold time
tV(SD_ST)
Data output valid time
tH(SD_ST)
Data output hold time
tV(SD_MT)
Data output valid time
tH(SD_MT)
Data output hold time
(1)
(2)
Slave transmitter
(after enable edge)
Slave transmitter
(after enable edge)
Master transmitter
(after enable edge)
Master transmitter
(after enable edge)
Guaranteed by design, not tested in production.
Based on characterization, not tested in production.
98
GD32F470xx Datasheet
Figure 4-9. I2S timing diagram - master mode
tCK
CPOL=0
tL
CPOL=1
tV(WS)
tH
tH(WS)
WS output
tH(SD_MT)
tV(SD_MT)
SD transmit
D[0]
SD receive
D[0]
tSU(SD_MR)
tH(SD_MR)
Figure 4-10. I2S timing diagram - slave mode
tCK
CPOL=0
tL
CPOL=1
tH
tH(WS)
WS input
tSU(WS)
SD transmit
SD receive
tV(SD_ST)
tH(SD_ST)
D[0]
D[0]
tSU(SD_SR)
tH(SD_SR)
99
GD32F470xx Datasheet
4.19.
USART characteristics
Table 4-37. USART characteristics(1)
Symbol
Parameter
Conditions
Min
Typ
Max
Unit
fSCK
SCK clock frequency
fPCLKx = 120 MHz
—
—
60
MHz
tSCK(H)
SCK clock high time
fPCLKx = 120 MHz
8.33
—
—
ns
tSCK(L)
SCK clock low time
fPCLKx = 120 MHz
8.33
—
—
ns
(1)
4.20.
Guaranteed by design, not tested in production.
SDIO characteristics
Table 4-38. SDIO characteristics(1)(2)
Symbol
Parameter
Conditions
Min
Typ
Max
Unit
Clock frequency in data transfer mode
—
0
—
48
MHz
tW(CKL)
(3)
Clock low time
fpp = 48 MHz
9.5
10.5
—
ns
tW(CKH)
(3)
Clock high time
fpp = 48 MHz
9.3
10.3
—
ns
fPP(3)
CMD, D inputs (referenced to CK) in MMC and SD HS mode
tISU(4)
Input setup time HS
fpp = 48 MHz
4
—
—
ns
tIH(4)
Input hold time HS
fpp = 48 MHz
3
—
—
ns
CMD, D outputs (referenced to CK) in MMC and SD HS mode
tOV(3)
Output valid time HS
fpp = 48 MHz
—
—
13.8
ns
tOH(3)
Output hold time HS
fpp = 48 MHz
12
—
—
ns
CMD, D inputs (referenced to CK) in SD default mode
tISUD(4)
Input setup time SD
fpp = 24 MHz
3
—
—
ns
tIHD(4)
Input hold time SD
fpp = 24 MHz
3
—
—
ns
CMD, D outputs (referenced to CK) in SD default mode
(1)
(2)
(3)
(4)
4.21.
tOVD(3)
Output valid default time SD
fpp = 24 MHz
—
2.4
2.8
ns
tOHD(3)
Output hold default time SD
fpp = 24 MHz
2
—
—
ns
CLK timing is measured at 50% of VDD.
Capacitive load CL = 30 pF.
Based on characterization, not tested in production.
Guaranteed by design, not tested in production.
CAN characteristics
Refer to Table 4-26. I/O port DC characteristics(1) for more details on the input/output
alternate function characteristics (CANTX and CANRX).
100
GD32F470xx Datasheet
4.22.
USBFS characteristics
Table 4-39. USBFS start up time
Symbol
Parameter
Max
Unit
tSTARTUP(1)
USBFS startup time
1
μs
(1)
Guaranteed by design, not tested in production.
Table 4-40. USBFS DC electrical characteristics
Symbol
Parameter
Conditions
Min
Typ
VDD
USBFS operating voltage
—
3
—
3.6
Input
VDI
Differential input sensitivity
—
0.2
—
—
levels(1)
VCM
Differential common mode range
Includes VDI range
0.8
—
2.5
VSE
Single ended receiver threshold
—
1.3
—
2.0
Output
VOL
Static output level low
RL of 1.0 kΩ to 3.6 V
—
0.06
0.3
levels (2)
VOH
Static output level high
RL of 15 kΩ to VSS
2.8
3.3
3.6
17
21
25
0.72
0.9
1.1
PA11, PA12(USBFS_DM/DP)
PB14, PB15(USBHS_ DM/DP)
RPD(2)
PA9(USBFS_VBUS)
PA9(USBFS_VBUS)
1.2
1.5
1.8
0.24
0.3
0.33
VIN = VSS
PB13(USBHS_VBUS)
(1)
(2)
V
kΩ
PA11, PA12(USBFS_DM/DP)
PB14, PB15(USBHS_ DM/DP)
V
VIN = VDD
PB13(USBHS_VBUS)
RPU(2)
Max Unit
Guaranteed by design, not tested in production.
Based on characterization, not tested in production.
Table 4-41. USBFS full speed-electrical characteristics(1)
(1)
Symbol
Parameter
Conditions
Min
Typ
Max
Unit
tR
Rise time
CL = 50 pF
4
—
20
ns
tF
Fall time
CL = 50 pF
4
—
20
ns
tRFM
Rise/ fall time matching
tR / tF
90
—
110
%
vCRS
Output signal crossover voltage
—
1.3
—
2.0
V
Guaranteed by design, not tested in production.
Figure 4-11. USBFS timings: definition of data signal rise and fall time
Crossover
points
Differential
data lines
VCRS
VSS
tf
tr
101
GD32F470xx Datasheet
4.23.
USBHS characteristics
Table 4-42. USBHS clock timing parameters(1)
Symbol
Parameter
Min
Typ
Max
Unit
VDD
USBHS operating voltage
3.0
—
3.6
V
30
—
—
MHz
fHCLK value to guarantee proper
fHCLK
operation of USBHS interface
FSTART_8BIT
Frequency (first transition) 8-bit ± 10%
54
60
66
MHz
FSTEADY
Frequency (steady state) ±500 ppm
59.97
60
60.63
MHz
DSTART_8BIT
Duty cycle (first transition) 8-bit ± 10%
40
50
60
%
DSTEADY
Duty cycle (steady state) ±500 ppm
49.975
50
50.025
%
(1)
Guaranteed by design, not tested in production.
Table 4-43. USB-ULPI Dynammic characteristics
Symbol
Parameter
Min
Typ
Max
Unit
tSC
Control in (ULPI_DIR, ULPI_NXT) setup time
—
—
2
ns
tHC
Control in (ULPI_DIR, ULPI_NXT) hold time
0.5
—
—
ns
tSD
Data in setup time
—
—
2
ns
tHD
Data in hold time
0
—
—
ns
(1)
4.24.
Guaranteed by design, not tested in production.
EXMC characteristics
Table 4-44. Asynchronous non-multiplexed SRAM/PSRAM/NOR read timings(1)(2)(3)
Symbol
Parameter
Min
Max
Unit
tw(NE)
EXMC_NE low time
19.85
21.85
ns
tV(NOE_NE)
EXMC_NEx low to EXMC_NOE low
0
—
ns
tw(NOE)
EXMC_NOE low time
19.85
21.85
ns
th(NE_NOE)
EXMC_NOE high to EXMC_NE high hold time
0
—
ns
tv(A_NE)
EXMC_NEx low to EXMC_A valid
0
—
ns
tv(BL_NE)
EXMC_NEx low to EXMC_BL valid
0
—
ns
tsu(DATA_NE)
Data to EXMC_NEx high setup time
15.68
—
ns
tsu(DATA_NOE)
Data to EXMC_NOEx high setup time
15.68
—
ns
th(DATA_NOE)
Data hold time after EXMC_NOE high
0
—
ns
th(DATA_NE)
Data hold time after EXMC_NEx high
0
—
ns
tv(NADV_NE)
EXMC_NEx low to EXMC_NADV low
0
—
ns
tw(NADV)
EXMC_NADV low time
3.17
5.17
ns
(1)
(2)
(3)
CL = 30 pF.
Guaranteed by design, not tested in production.
Based on configure: fHCLK = 240 MHz, AddressSetupTime = 0, AddressHoldTime = 1, DataSetupTime = 1.
102
GD32F470xx Datasheet
Table 4-45. Asynchronous non-multiplexed SRAM/PSRAM/NOR write timings(1)(2)(3)
Symbol
Parameter
Min
Max
Unit
tw(NE)
EXMC_NE low time
11.51
13.51
ns
tV(NWE_NE)
EXMC_NEx low to EXMC_NWE low
3.17
—
ns
tw(NWE)
EXMC_NWE low time
3.17
5.17
ns
th(NE_NWE)
EXMC_NWE high to EXMC_NE high hold time
3.17
5.17
ns
tv(A_NE)
EXMC_NEx low to EXMC_A valid
0
—
ns
tV(NADV_NE)
EXMC_NEx low to EXMC_NADV low
0
—
ns
tw(NADV)
EXMC_NADV low time
3.17
5.17
ns
7.34
—
ns
th(AD_NADV)
EXMC_AD(address) valid hold time after
EXMC_NADV high
th(A_NWE)
Address hold time after EXMC_NWE high
3.17
—
ns
th(BL_NWE)
EXMC_BL hold time after EXMC_NWE high
3.17
—
ns
tv(BL_NE)
EXMC_NEx low to EXMC_BL valid
0
—
ns
tv(DATA_NADV)
EXMC_NADV high to DATA valid
0
—
ns
th(DATA_NWE)
Data hold time after EXMC_NWE high
3.17
—
ns
(1)
(2)
(3)
CL = 30 pF.
Guaranteed by design, not tested in production.
Based on configure: fHCLK = 240 MHz, AddressSetupTime = 0, AddressHoldTime = 1, DataSetupTime = 1.
Table 4-46. Asynchronous multiplexed PSRAM/NOR read timings(1)(2)(3)
Symbol
Parameter
Min
Max
Unit
tw(NE)
EXMC_NE low time
28.19
30.19
ns
tV(NOE_NE)
EXMC_NEx low to EXMC_NOE low
11.51
—
ns
tw(NOE)
EXMC_NOE low time
15.68
17.68
ns
th(NE_NOE)
EXMC_NOE high to EXMC_NE high hold time
0
—
ns
tv(A_NE)
EXMC_NEx low to EXMC_A valid
0
—
ns
tv(A_NOE)
Address hold time after EXMC_NOE high
0
—
ns
tv(BL_NE)
EXMC_NEx low to EXMC_BL valid
0
—
ns
th(BL_NOE)
EXMC_BL hold time after EXMC_NOE high
0
—
ns
tsu(DATA_NE)
Data to EXMC_NEx high setup time
15.68
—
ns
tsu(DATA_NOE)
Data to EXMC_NOEx high setup time
15.68
—
ns
th(DATA_NOE)
Data hold time after EXMC_NOE high
0
—
ns
th(DATA_NE)
Data hold time after EXMC_NEx high
0
—
ns
tv(NADV_NE)
EXMC_NEx low to EXMC_NADV low
0
—
ns
tw(NADV)
EXMC_NADV low time
3.17
5.17
ns
3.17
5.17
ns
Th(AD_NADV)
(1)
(2)
(3)
EXMC_AD(adress) valid hold time after
EXMC_NADV high
CL = 30 pF.
Guaranteed by design, not tested in production.
Based on configure: fHCLK= 240 MHz, AddressSetupTime = 0, AddressHoldTime = 1, DataSetupTime = 1.
Table 4-47. Asynchronous multiplexed PSRAM/NOR write timings(1)(2)(3)
Symbol
Parameter
Min
Max
Unit
tw(NE)
EXMC_NE low time
19.85
21.85
ns
103
GD32F470xx Datasheet
Symbol
Parameter
Min
Max
Unit
tV(NWE_NE)
EXMC_NEx low to EXMC_NWE low
3.17
—
ns
tw(NWE)
EXMC_NWE low time
11.51
13.51
ns
th(NE_NWE)
EXMC_NWE high to EXMC_NE high hold time
3.17
—
ns
tv(A_NE)
EXMC_NEx low to EXMC_A valid
0
—
ns
tV(NADV_NE)
EXMC_NEx low to EXMC_NADV low
0
—
ns
tw(NADV)
EXMC_NADV low time
3.17
5.17
ns
3.17
—
ns
th(AD_NADV)
EXMC_AD(address) valid hold time after
EXMC_NADV high
th(A_NWE)
Address hold time after EXMC_NWE high
3.17
—
ns
th(BL_NWE)
EXMC_BL hold time after EXMC_NWE high
3.17
—
ns
tv(BL_NE)
EXMC_NEx low to EXMC_BL valid
0
—
ns
tv(DATA_NADV)
EXMC_NADV high to DATA valid
3.17
—
ns
th(DATA_NWE)
Data hold time after EXMC_NWE high
3.17
—
ns
(1)
(2)
(3)
CL = 30 pF.
Guaranteed by design, not tested in production.
Based on configure: fHCLK = 240 MHz, AddressSetupTime = 0, AddressHoldTime = 1, DataSetupTime = 1.
Table 4-48. Synchronous multiplexed PSRAM/NOR read timings(1)(2)(3)
Symbol
Parameter
Min
Max
Unit
tw(CLK)
EXMC_CLK period
16.67
—
ns
td(CLKL-NExL)
EXMC_CLK low to EXMC_NEx low
0
—
ns
td(CLKH-NExH)
EXMC_CLK high to EXMC_NEx high
7.34
—
ns
td(CLKL-NADVL)
EXMC_CLK low to EXMC_NADV low
0
—
ns
td(CLKL-NADVH)
EXMC_CLK low to EXMC_NADV high
0
—
ns
td(CLKL-AV)
EXMC_CLK low to EXMC_Ax valid
0
—
ns
td(CLKH-AIV)
EXMC_CLK high to EXMC_Ax invalid
7.34
—
ns
td(CLKL-NOEL)
EXMC_CLK low to EXMC_NOE low
0
—
ns
td(CLKH-NOEH)
EXMC_CLK high to EXMC_NOE high
7.34
—
ns
td(CLKL-ADV)
EXMC_CLK low to EXMC_AD valid
0
—
ns
td(CLKL-ADIV)
EXMC_CLK low to EXMC_AD invalid
0
—
ns
(1)
(2)
(3)
CL = 30 pF.
Guaranteed by design, not tested in production.
(Based on configure: fHCLK = 240 MHz, BurstAccessMode = Enable; Memory Type = PSRAM; WriteBurst =
Enable; CLKDivision = 3 (EXMC_CLK is 4 divided by HCLK); Data Latency = 1.
Table 4-49. Synchronous multiplexed PSRAM write timings(1)(2)(3)
Symbol
Parameter
Min
Max
Unit
tw(CLK)
EXMC_CLK period
16.67
—
ns
td(CLKL-NExL)
EXMC_CLK low to EXMC_NEx low
0
—
ns
td(CLKH-NExH)
EXMC_CLK high to EXMC_NEx high
7.34
—
ns
td(CLKL-NADVL)
EXMC_CLK low to EXMC_NADV low
0
—
ns
td(CLKL-NADVH)
EXMC_CLK low to EXMC_NADV high
0
—
ns
td(CLKL-AV)
EXMC_CLK low to EXMC_Ax valid
0
—
ns
td(CLKH-AIV)
EXMC_CLK high to EXMC_Ax invalid
7.34
—
ns
104
GD32F470xx Datasheet
Symbol
Parameter
Min
Max
Unit
td(CLKL-NWEL)
EXMC_CLK low to EXMC_NWE low
0
—
ns
td(CLKH-NWEH)
EXMC_CLK high to EXMC_NWE high
7.34
—
ns
td(CLKL-ADIV)
EXMC_CLK low to EXMC_AD invalid
0
—
ns
td(CLKL-DATA)
EXMC_A/D valid data after EXMC_CLK low
0
—
ns
th(CLKL-NBLH)
EXMC_CLK low to EXMC_NBL high
0
—
ns
(1)
(2)
(3)
CL = 30 pF.
Guaranteed by design, not tested in production.
Based on configure: fHCLK = 240 MHz, BurstAccessMode = Enable; MemoryType = PSRAM; WriteBurst =
Enable; CLKDivision = 3 (EXMC_CLK is 4 divided by HCLK); DataLatency = 1.
Table 4-50. Synchronous non-multiplexed PSRAM/NOR read timings(1)(2)(3)
Symbol
Parameter
Min
Max
Unit
tw(CLK)
EXMC_CLK period
16.67
—
ns
td(CLKL-NExL)
EXMC_CLK low to EXMC_NEx low
0
—
ns
td(CLKH-NExH)
EXMC_CLK high to EXMC_NEx high
7.34
—
ns
td(CLKL-NADVL)
EXMC_CLK low to EXMC_NADV low
0
—
ns
td(CLKL-NADVH)
EXMC_CLK low to EXMC_NADV high
0
—
ns
td(CLKL-AV)
EXMC_CLK low to EXMC_Ax valid
0
—
ns
td(CLKH-AIV)
EXMC_CLK high to EXMC_Ax invalid
7.34
—
ns
td(CLKL-NOEL)
EXMC_CLK low to EXMC_NOE low
0
—
ns
td(CLKH-NOEH)
EXMC_CLK high to EXMC_NOE high
7.34
—
ns
(1)
(2)
(3)
CL = 30 pF.
Guaranteed by design, not tested in production.
Based on configure: fHCLK = 240 MHz, BurstAccessMode = Enable; MemoryType = PSRAM; WriteBurst =
Enable; CLKDivision = 3 (EXMC_CLK is 4 divided by HCLK); DataLatency = 1.
Table 4-51. Synchronous non-multiplexed PSRAM write timings(1)(2)(3)
Symbol
Parameter
Min
Max
Unit
tw(CLK)
EXMC_CLK period
16.67
—
ns
td(CLKL-NExL)
EXMC_CLK low to EXMC_NEx low
0
—
ns
td(CLKH-NExH)
EXMC_CLK high to EXMC_NEx high
7.34
—
ns
td(CLKL-NADVL)
EXMC_CLK low to EXMC_NADV low
0
—
ns
td(CLKL-NADVH)
EXMC_CLK low to EXMC_NADV high
0
—
ns
td(CLKL-AV)
EXMC_CLK low to EXMC_Ax valid
0
—
ns
td(CLKH-AIV)
EXMC_CLK high to EXMC_Ax invalid
7.34
—
ns
td(CLKL-NWEL)
EXMC_CLK low to EXMC_NWE low
0
—
ns
td(CLKH-NWEH)
EXMC_CLK high to EXMC_NWE high
7.34
—
ns
td(CLKL-DATA)
EXMC_A/D valid data after EXMC_CLK low
0
—
ns
th(CLKL-NBLH)
EXMC_CLK low to EXMC_NBL high
0
—
ns
(1)
(2)
(3)
CL = 30 pF.
Guaranteed by design, not tested in production.
Based on configure: fHCLK = 240 MHz, BurstAccessMode = Enable; MemoryType = PSRAM; WriteBurst =
Enable; CLKDivision = 3 (EXMC_CLK is 4 divided by HCLK); DataLatency = 1.
105
GD32F470xx Datasheet
4.25.
TIMER characteristics
Table 4-52. TIMER characteristics(1)
Symbol
Parameter
tres
Timer resolution time
fEXT
Timer external clock frequency
Conditions
Min
Max
Unit
—
1
—
tTIMERxCLK
fTIMERxCLK = 240 MHz
4.17
—
ns
—
0
fTIMERxCLK/2
MHz
fTIMERxCLK = 240 MHz
0
120
MHz
—
16
bit
TIMER1 & TIMER4
—
32
bit
—
1
65536
tTIMERxCLK
273.07
μs
TIMERx (except
RES
tCOUNTER
Timer resolution
16-bit counter clock period
when internal clock is selected
tMAX_COUNT
(1)
4.26.
TIMER1 & TIMER4)
Maximum possible count
fTIMERxCLK = 240 MHz 0.004
—
—
fTIMERxCLK = 240 MHz
—
65536x65536 tTIMERxCLK
17.90
s
Guaranteed by design, not tested in production.
DCI characteristics
Table 4-53. DCI characteristics(1)
Symbol
Parameter
Min
Max
Frequency ratio
DCI_PIXCLK /fHCLK
—
0.4
DCI_PIXCLK
Pixel clock input
—
96
MHz
DPixel
Pixel clock input duty cycle
30
70
%
tsu(DATA)
Data input setup time
2.5
—
ns
th(DATA)
Data output valid time
1
—
ns
tsu(HSYNC)
DCI_HS input setup time
2
—
ns
tsu(VSYNC)
DCI_VS input setup time
2
—
ns
th(HSYNC)
DCI_HS input hold time
0.5
—
ns
th(VSYNC)
DCI_VS input hold time
0.5
—
ns
(1)
Unit
Guaranteed by design, not tested in production.
106
GD32F470xx Datasheet
4.27.
WDGT characteristics
Table 4-54. FWDGT min/max timeout period at 32 kHz (IRC32K)(1)
Prescaler divider
PSC[2:0] bits
1/4
(1)
Min timeout RLD[11:0] = Max timeout RLD[11:0]
0x000
= 0xFFF
000
0.03125
511.90625
1/8
001
0.03125
1023.7812
1/16
010
0.03125
2047.53125
1/32
011
0.03125
4095.03125
1/64
100
0.03125
8190.03125
1/128
101
0.03125
16380.03125
1/256
110 or 111
0.03125
32760.03125
Unit
ms
Guaranteed by design, not tested in production.
Table 4-55. WWDGT min-max timeout value at 60 MHz (fPCLK1)(1)
PSC[1:0]
1/1
00
68.27
1/2
01
136.53
1/4
10
273.07
1/8
11
546.13
(1)
4.28.
Min timeout value
Prescaler divider
CNT[6:0] = 0x40
Unit
Max timeout value
CNT[6:0] = 0x7F
Unit
4.37
μs
8.74
17.48
ms
34.95
Guaranteed by design, not tested in production.
Parameter conditions
Unless otherwise specified, all values given for VDD = VDDA = 3.3 V, TA = 25 ℃.
107
GD32F470xx Datasheet
5.
Package information
5.1.
BGA176 package outline dimensions
Figure 5-1. BGA176 package outline
aaa B
2X
E
B
eee
C A B
fff
C
E1
A
b
e
PIN 1 CORNER
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
15 14 13 12 11 10 9 8 7 6 5 4 3 2
A
B
C
D
E
F
G
H
J
K
L
M
N
P
R
PIN 1 CORNER
1
A
B
LASER MARK
PIN 1
C
D
E
F
G
H
J
K
L
M
N
P
R
D
L
aaa A
e
D1
L
2X
TOP VIEW
BOTTOM VIEW
A3
A2
DETAIL A
ccc C
SEATING PLANE
c
A
SEATING PLANE
ddd C
A1
C
C
DETAIL A(3:1)
SIDE VIEW
Table 5-1. BGA176 package dimensions
Symbol
Min
Typ
Max
A
—
—
0.89
A1
0.13
0.18
0.23
A2
0.58
0.63
0.68
A3
—
0.45
—
b
0.20
0.25
0.30
c
0.15
0.18
0.21
D
9.90
10.00
10.10
D1
—
9.10
—
E
9.90
10.00
10.10
E1
—
9.10
—
e
—
0.65
—
L
—
0.325
—
aaa
—
0.10
—
ccc
—
0.20
—
ddd
—
0.08
—
eee
—
0.15
—
fff
—
0.08
—
(Original dimensions are in millimeters)
108
GD32F470xx Datasheet
Figure 5-2. BGA176 recommended footprint
Dimension
Pitch
Dpad
Dsm
Recommended values
0.65 mm
0.30 mm
0.40 mm
Dpad
Dsm
(Original dimensions are in millimeters)
109
GD32F470xx Datasheet
LQFP144 package outline dimensions
Figure 5-3. LQFP144 package outline
A3
c
A2A
F
θ
5.2.
A1
D
D1
108
73
109
72
0.25
L
L1
DETAIL: F
E1 E
b
b1
c1 c
37
144
BASE METAL
WITH PLATING
1
e
b
BB
SECTION B-B
36
Table 5-2. LQFP144 package dimensions
Symbol
Min
Typ
Max
A
—
—
1.60
A1
0.05
—
0.15
A2
1.35
1.40
1.45
A3
0.59
0.64
0.69
b
0.18
—
0.26
b1
0.17
0.20
0.23
c
0.13
—
0.17
c1
0.12
0.13
0.14
D
21.80
22.00
22.20
D1
19.90
20.00
20.10
E
21.80
22.00
22.20
E1
19.90
20.00
20.10
e
—
0.50
—
L
0.45
—
0.75
L1
—
1.00
—
θ
0°
—
7°
(Original dimensions are in millimeters)
110
GD32F470xx Datasheet
Figure 5-4. LQFP144 recommended footprint
22.70
109
144
20.30
108
36
73
72
37
17.80
22.70
0.30
1
1.20
0.50
(Original dimensions are in millimeters)
111
GD32F470xx Datasheet
5.3.
BGA100 package outline dimensions
Figure 5-5. BGA100 package outline
aaa B
E
2X
eee
fff
E1
B A
PIN 1 CORNER
e
1 2
3
4
5
6
7
8
12 11 10 9
9 10 11 12
8
7
6
b
5
4
3
PIN 1 CORNER
2 1
A
A
B
C A B
C
LASER MARK
PIN 1
B
C
C
D
D
E
E
F
F
D
G
G
H
H
J
J
L
K
e
D1
K
L
L
M
M
aaa A
L
2X
TOP VIEW
BOTTOM VIEW
A2
DETAIL A
A3
ccc C
A
SEATING PLANE
c
100X
ddd C
A1
SEATING PLANE
C
SIDE VIEW
C
DETAIL A(3:1)
Table 5-3. BGA100 package dimensions
Symbol
Min
Typ
Max
A
—
—
0.84
A1
0.13
0.18
0.23
A2
0.53
0.58
0.63
A3
—
0.40
—
b
0.20
0.25
0.30
c
0.15
0.18
0.21
D
6.90
7.00
7.10
D1
—
5.50
—
E
6.90
7.00
7.10
E1
—
5.50
—
e
—
0.50
—
L
—
0.625
—
aaa
—
0.10
—
ccc
—
0.20
—
ddd
—
0.08
—
eee
—
0.15
—
fff
—
0.08
—
(Original dimensions are in millimeters)
112
GD32F470xx Datasheet
Figure 5-6. BGA100 recommended footprint
Dimension
Pitch
Dpad
Dsm
Recommended values
0.50 mm
0.25 mm
0.35 mm
Dpad
Dsm
(Original dimensions are in millimeters)
113
GD32F470xx Datasheet
5.4.
LQFP100 package outline dimensions
Figure 5-7. LQFP100 package outline
A3
A2 A
c
θ
A1
F
eB
D
D1
51
75
0.25
50
76
L
L1
DETAIL: F
E1
E
b
b1
100
c1 c
26
BASE METAL
1
25
b
e
WITH PLATING
B B
SECTION B-B
Table 5-4. LQFP100 package dimensions
Symbol
Min
Typ
Max
A
—
—
1.60
A1
0.05
—
0.15
A2
1.35
1.40
1.45
A3
0.59
0.64
0.69
b
0.18
—
0.26
b1
0.17
0.20
0.23
c
0.13
—
0.17
c1
0.12
0.13
0.14
D
15.80
16.00
16.20
D1
13.90
14.00
14.10
E
15.80
16.00
16.20
E1
13.90
14.00
14.10
e
—
0.50
—
eB
15.05
—
15.35
L
0.45
—
0.75
L1
—
1.00
—
θ
0°
—
7°
(Original dimensions are in millimeters)
114
GD32F470xx Datasheet
Figure 5-8. LQFP100 recommended footprint
16.70
76
100
14.30
75
25
51
50
26
12.30
16.70
0.30
1
1.20
0.50
(Original dimensions are in millimeters)
115
GD32F470xx Datasheet
5.5.
Thermal characteristics
Thermal resistance is used to characterize the thermal performance of the package device,
which is represented by the Greek letter “θ”. For semiconductor devices, thermal resistance
represents the steady-state temperature rise of the chip junction due to the heat dissipated
on the chip surface.
θJA: Thermal resistance, junction-to-ambient.
θJB: Thermal resistance, junction-to-board.
θJC: Thermal resistance, junction-to-case.
ᴪJB: Thermal characterization parameter, junction-to-board.
ᴪJT: Thermal characterization parameter, junction-to-top center.
θJA =(TJ -TA )/PD
(5-1)
θJB =(TJ -TB )/PD
(5-2)
θJC =(TJ -TC )/PD
(5-3)
Where, TJ = Junction temperature.
TA = Ambient temperature
TB = Board temperature
TC = Case temperature which is monitoring on package surface
PD = Total power dissipation
θJA represents the resistance of the heat flows from the heating junction to ambient air. It is
an indicator of package heat dissipation capability. Lower θJA can be considerate as better
overall thermal performance. θJA is generally used to estimate junction temperature.
θJB is used to measure the heat flow resistance between the chip surface and the PCB board.
θJC represents the thermal resistance between the chip surface and the package top case.
θJC is mainly used to estimate the heat dissipation of the system (using heat sink or other heat
dissipation methods outside the device package).
Table 5-5. Package thermal characteristics(1)
Symbol
θJA
θJB
Condition
Natural convection, 2S2P PCB
Cold plate, 2S2P PCB
Package
Value
BGA176
45.02
LQFP144
48.76
BGA100
78.32
LQFP100
57.42
BGA176
26.55
LQFP144
35.00
BGA100
55.27
Unit
°C/W
°C/W
116
GD32F470xx Datasheet
Symbol
θJC
ᴪJB
ᴪJT
(1)
Condition
Cold plate, 2S2P PCB
Natural convection, 2S2P PCB
Natural convection, 2S2P PCB
Package
Value
LQFP100
31.68
BGA176
9.93
LQFP144
12.03
BGA100
20.15
LQFP100
13.85
BGA176
28.31
LQFP144
35.32
BGA100
55.74
LQFP100
41.28
BGA176
0.69
LQFP144
1.86
BGA100
1.74
LQFP100
0.75
Unit
°C/W
°C/W
°C/W
Thermal characteristics are based on simulation, and meet JEDEC specification.
117
GD32F470xx Datasheet
6.
Ordering information
Table 6-1. Part ordering code for GD32F470xx devices
Ordering code
Flash (KB)
Package
Package type
GD32F470IKH6
3072
BGA176
Green
GD32F470IIH6
2048
BGA176
Green
GD32F470IGH6
1024
BGA176
Green
GD32F470ZKT6
3072
LQFP144
Green
GD32F470ZIT6
2048
LQFP144
Green
GD32F470ZGT6
1024
LQFP144
Green
GD32F470ZET6
512
LQFP144
Green
GD32F470VKH6
3072
BGA100
Green
GD32F470VIH6
2048
BGA100
Green
GD32F470VGH6
1024
BGA100
Green
GD32F470VKT6
3072
LQFP100
Green
GD32F470VIT6
2048
LQFP100
Green
GD32F470VGT6
1024
LQFP100
Green
GD32F470VET6
512
LQFP100
Green
Temperature
operating range
Industrial
-40°C to +85°C
Industrial
-40°C to +85°C
Industrial
-40°C to +85°C
Industrial
-40°C to +85°C
Industrial
-40°C to +85°C
Industrial
-40°C to +85°C
Industrial
-40°C to +85°C
Industrial
-40°C to +85°C
Industrial
-40°C to +85°C
Industrial
-40°C to +85°C
Industrial
-40°C to +85°C
Industrial
-40°C to +85°C
Industrial
-40°C to +85°C
Industrial
-40°C to +85°C
118
GD32F470xx Datasheet
7.
Revision history
Table 7-1. Revision history
Revision No.
Description
Date
1.0
Initial Release
Feb. 22, 2022
1.
Add Figure 7-1. Recommended PDR_ON pin
circuit in chapter 4.5. Power supply supervisor
characteristics.
2.
Add description of EMI in chapter 4.4. EMC
characteristics.
3.
Modify the BGA100 footprint parameters in chapter 5.
Package information.
1.1
4.
Mofidy the I2C timing parameters in 4.16. I2C
May.24, 2022
characteristics.
5.
Modify fsck maximum value in Table 4-37. USART
characteristics(1).
6.
Modify the erase cycles in Table 4-24. Flash
memory characteristics.
7.
Modify the value of VESD(HBM) and VESD(CDM) in Table
4-11. ESD characteristics(1).
1.
Update Table 4-37 USART characteristics(1), Table
4-24. Flash memory characteristics.
1.2
2.
Update Table 4-11. ESD characteristics(1).
3.
Update Figure 7-2. Recommended external NRST
Jul.12, 2022
pin circuit(1).
4.
Update Table 4-35. Standard SPI characteristics(1).
119
GD32F470xx Datasheet
Important Notice
This document is the property of GigaDevice Semiconductor Inc. and its subsidiaries (the "Company"). This document, including any
product of the Company described in this document (the “Product”), is owned by the Company under the intellectual property laws and
treaties of the People’s Republic of China and other jurisdictions worldwide. The Company reserves all rights under such laws and
treaties and does not grant any license under its patents, copyrights, trademarks, or other intellectual property rights. The names and
brands of third party referred thereto (if any) are the property of their respective owner and referred to for identification purposes only.
The Company makes no warranty of any kind, express or implied, with regard to this document or any Product, including, but not
limited to, the implied warranties of merchantability and fitness for a particular purpose. The Company does not assume any liability
arising out of the application or use of any Product described in this document. Any information provided in this document is provided
only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test the functionality
and safety of any application made of this information and any resulting product. Except for customized products which has been
expressly identified in the applicable agreement, the Products are designed, developed, and/or manufactured for ordinary business,
industrial, personal, and/or household applications only. The Products are not designed, intended, or authorized for use as components
in systems designed or intended for the operation of weapons, weapons systems, nuclear installations, atomic energy control
instruments, combustion control instruments, airplane or spaceship instruments, transportation instruments, traffic signal instruments,
life-support devices or systems, other medical devices or systems (including resuscitation equipment and surgical implants), pollution
control or hazardous substances management, or other uses where the failure of the device or Product could cause personal injury,
death, property or environmental damage ("Unintended Uses"). Customers shall take any and all actions to ensure using and selling
the Products in accordance with the applicable laws and regulations. The Company is not liable, in whole or in part, and customers
shall and hereby do release the Company as well as it’s suppliers and/or distributors from any claim, damage, or other liability arising
from or related to all Unintended Uses of the Products. Customers shall indemnify and hold the Company as well as it’s suppliers
and/or distributors harmless from and against all claims, costs, damages, and other liabilities, including claims for personal injury or
death, arising from or related to any Unintended Uses of the Products.
Information in this document is provided solely in connection with the Products. The Company reserves the right to make changes,
corrections, modifications or improvements to this document and Products and services described herein at any time, without notice.
© 2022 GigaDevice – All rights reserved
120