GigaDevice Semiconductor Inc.
GD32F103xx
®
™
ARM Cortex -M3 32-bit MCU
Datasheet
GD32F103xx
Table of Contents
List of Figures
............................................................................................................................. 3
List of Tables
............................................................................................................................... 4
1
2
2.1
2.2
2.3
2.4
2.5
2.6
General description
......................................................................................................... 5
Device overview
............................................................................................................... 6
Device information
.............................................................................................................................. 6
Block diagram
...................................................................................................................................... 9
Pinouts and pin assignment
............................................................................................................ 11
Memory map
...................................................................................................................................... 15
Clock tree
........................................................................................................................................... 16
Pin definitions
.................................................................................................................................... 17
3
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
3.10
3.11
3.12
3.13
3.14
3.15
3.16
3.17
3.18
3.19
3.20
3.21
Functional description
.................................................................................................. 25
ARM Cortex™-M3 core
.................................................................................................................. 25
On-chip memory
................................................................................................................................ 25
Clock, reset and supply management
........................................................................................... 26
Boot modes
........................................................................................................................................ 26
Power saving modes
........................................................................................................................ 27
Analog to digital converter (ADC)
................................................................................................... 27
Digital to analog converter (DAC)
................................................................................................... 28
DMA
.................................................................................................................................................... 28
General-purpose inputs/outputs (GPIOs)
...................................................................................... 28
Timers and PWM generation
........................................................................................................... 29
Real time clock (RTC)
...................................................................................................................... 30
Inter-integrated circuit (I2C)
............................................................................................................. 30
Serial peripheral interface (SPI)
...................................................................................................... 31
Universal synchronous asynchronous receiver transmitter (USART)
....................................... 31
Inter-IC sound (I2S)
.......................................................................................................................... 31
Secure digital input and output card interface (SDIO)
................................................................. 32
Universal serial bus full-speed (USB 2.0 FS)
............................................................................... 32
Controller area network (CAN)
........................................................................................................ 32
External memory controller (EXMC)
.............................................................................................. 32
Debug mode
...................................................................................................................................... 33
Package and operation temperature
.............................................................................................. 33
®
4
4.1
4.2
4.3
4.4
4.5
4.6
Electrical characteristics
.............................................................................................. 34
Absolute maximum ratings
.............................................................................................................. 34
Recommended DC characteristics
................................................................................................. 34
Power consumption
.......................................................................................................................... 35
EMC characteristics
.......................................................................................................................... 36
Power supply supervisor characteristics
....................................................................................... 36
Electrical sensitivity...........................................................................................................................
37
1
/
48
GD32F103xx
4.7
4.8
4.9
4.10
4.11
4.12
4.13
4.14
4.15
External clock characteristics
.......................................................................................................... 37
Internal clock characteristics
........................................................................................................... 38
PLL characteristics
........................................................................................................................... 39
Memory characteristics
.................................................................................................................... 39
GPIO characteristics
......................................................................................................................... 39
ADC characteristics
.......................................................................................................................... 40
DAC characteristics
.......................................................................................................................... 40
I2C characteristics
............................................................................................................................ 40
SPI characteristics
............................................................................................................................ 41
5
5.1
5.2
Package information
..................................................................................................... 42
QFN package outline dimensions
.................................................................................................. 42
LQFP package outline dimensions
................................................................................................ 43
6
7
Ordering Information
..................................................................................................... 45
Revision History
............................................................................................................. 47
2
/
48
GD32F103xx
List of Figures
Figure 1. GD32F103x4/6/8/B block diagram
........................................................................................................... 9
Figure 2. GD32F103xC/D/E/F/G/I/K block diagram..............................................................................................
10
Figure 3. GD32F103Zx LQFP144 pinouts
............................................................................................................. 11
Figure 4. GD32F103Vx LQFP100 pinouts
............................................................................................................. 12
Figure 5. GD32F103Rx LQFP64 pinouts
............................................................................................................... 13
Figure 6. GD32F103Cx LQFP48 pinouts
............................................................................................................... 14
Figure 7. GD32F103Tx QFN36 pinouts
................................................................................................................. 14
Figure 8. GD32F103xx memory map
..................................................................................................................... 15
Figure 9. GD32F103xx clock tree
............................................................................................................................ 16
Figure 10. QFN package outline..............................................................................................................................
42
Figure 11. LQFP package outline
............................................................................................................................ 43
3
/
48
GD32F103xx
List of Tables
Table 1. GD32F103xx devices features and peripheral list
................................................................................... 6
Table 2. GD32F103xx pin definitions
...................................................................................................................... 17
Table 3. Absolute maximum ratings
........................................................................................................................ 34
Table 4. DC operating conditions
............................................................................................................................ 34
Table 5. Power consumption characteristics
......................................................................................................... 35
Table 6. EMS characteristics
................................................................................................................................... 36
Table 7. EMI characteristics
..................................................................................................................................... 36
Table 8 Power supply supervisor characteristics
.................................................................................................. 36
Table 9. ESD characteristics
.................................................................................................................................... 37
Table 10. Static latch-up characteristics
................................................................................................................ 37
Table 11. High speed external clock (HSE) generated from a crystal/ceramic characteristics
...................... 37
Table 12. Low speed external clock (LSE) generated from a crystal/ceramic characteristics
....................... 38
Table 13. High speed internal clock (HSI) characteristics
................................................................................... 38
Table 14. Low speed internal clock (LSI) characteristics
..................................................................................... 38
Table 15. PLL characteristics
................................................................................................................................... 39
Table 16. Flash memory characteristics
................................................................................................................. 39
Table 17. I/O port characteristics
............................................................................................................................. 39
Table 18. ADC characteristics
.................................................................................................................................. 40
Table 19. DAC characteristics
................................................................................................................................. 40
Table 20. I2C characteristics
.................................................................................................................................... 40
Table 21. SPI characteristics
.................................................................................................................................... 41
Table 22. QFN package dimensions
....................................................................................................................... 42
Table 23. LQFP package dimensions
..................................................................................................................... 44
Table 24. Part ordering code for GD32F103xx devices
....................................................................................... 45
Table 25. Revision history.........................................................................................................................................
47
4
/
48