GigaDevice Semiconductor Inc.
GD32F330xx
ARM
®
Cortex
®
-M4 32-bit MCU
Datasheet
GD32F330xx
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
...................................................................................................................................... 7
Pinouts and pin assignment
.............................................................................................................. 8
Memory map
...................................................................................................................................... 11
Clock tree
........................................................................................................................................... 13
Pin definitions
.................................................................................................................................... 14
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
Functional description
.................................................................................................. 22
ARM
®
Cortex
®
-M4 core
.................................................................................................................... 22
On-chip memory
................................................................................................................................ 22
Clock, reset and supply management
........................................................................................... 23
Boot modes
........................................................................................................................................ 23
Power saving modes
........................................................................................................................ 24
Analog to digital converter (ADC)
................................................................................................... 25
DMA
.................................................................................................................................................... 25
General-purpose inputs/outputs (GPIOs)
...................................................................................... 26
Timers and PWM generation
........................................................................................................... 26
Real time clock (RTC)
...................................................................................................................... 27
Inter-integrated circuit (I2C)
............................................................................................................. 28
Serial peripheral interface (SPI)
...................................................................................................... 28
Universal synchronous asynchronous receiver transmitter (USART)
....................................... 28
Debug mode
...................................................................................................................................... 29
Package and operation temperature
.............................................................................................. 29
4
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
4.10
4.11
Electrical characteristics
.............................................................................................. 30
Absolute maximum ratings
.............................................................................................................. 30
Recommended DC characteristics
................................................................................................. 30
Power consumption
.......................................................................................................................... 31
EMC characteristics
.......................................................................................................................... 32
Power supply supervisor characteristics
....................................................................................... 32
Electrical sensitivity...........................................................................................................................
33
External clock characteristics
.......................................................................................................... 34
Internal clock characteristics
........................................................................................................... 34
PLL characteristics
........................................................................................................................... 36
Memory characteristics
.................................................................................................................... 36
GPIO characteristics
......................................................................................................................... 37
1
/
48
GD32F330xx
4.12
4.13
4.14
4.15
ADC characteristics
.......................................................................................................................... 38
I2C characteristics
............................................................................................................................ 40
SPI characteristics
............................................................................................................................ 40
USART characteristics
..................................................................................................................... 40
5
5.1
5.2
5.3
Package information
..................................................................................................... 41
TSSOP package outline dimensions
............................................................................................. 41
QFN package outline dimensions
.................................................................................................. 42
LQFP package outline dimensions
................................................................................................ 44
6
7
Ordering Information
..................................................................................................... 46
Revision History
............................................................................................................. 47
2
/
48
GD32F330xx
List of Figures
Figure 1. GD32F330xx block diagram
...................................................................................................................... 7
Figure 2. GD32F330Rx LQFP64 pinouts
................................................................................................................. 8
Figure 3. GD32F330Cx LQFP48 pinouts
................................................................................................................. 8
Figure 4. GD32F330Kx QFN32 pinouts
................................................................................................................... 9
Figure 5. GD32F330Gx QFN28 pinouts
................................................................................................................... 9
Figure 6. GD32F330Fx TSSOP20 pinouts
............................................................................................................ 10
Figure 7. GD32F330xx memory map
..................................................................................................................... 11
Figure 8. GD32F330xx clock tree
............................................................................................................................ 13
Figure 9. TSSOP package outline
........................................................................................................................... 41
Figure 10. QFN package outline..............................................................................................................................
42
Figure 11. LQFP package outline
............................................................................................................................ 44
3
/
48
GD32F330xx
List of Tables
Table 1. GD32F330xx devices features and peripheral list
................................................................................... 6
Table 2. GD32F330xx pin definitions
...................................................................................................................... 14
Table 3. Port A alternate functions summary
........................................................................................................ 18
Table 4. Port B alternate functions summary
........................................................................................................ 19
Table 5. Port C alternate functions summary
........................................................................................................ 20
Table 6. Port D alternate functions summary
........................................................................................................ 20
Table 7. Port F alternate functions summary
......................................................................................................... 21
Table 8. Absolute maximum ratings
........................................................................................................................ 30
Table 9. DC operating conditions
............................................................................................................................ 30
Table 10. Power consumption characteristics
....................................................................................................... 31
Table 11. EMS characteristics
................................................................................................................................. 32
Table 12. EMI characteristics
................................................................................................................................... 32
Table 13 Power supply supervisor characteristics................................................................................................
32
Table 14. ESD characteristics..................................................................................................................................
33
Table 15. Static latch-up characteristics
................................................................................................................ 33
Table 16. High speed external clock (HXTAL) generated from a crystal/ceramic characteristics
................. 34
Table 17. Low speed external clock (LXTAL) generated from a crystal/ceramic characteristics
................... 34
Table 18. High speed internal clock (IRC8M) characteristics
.............................................................................. 34
Table 19. High speed internal clock (IRC48M) characteristics
........................................................................... 35
Table 20. Low speed internal clock (IRC40K) characteristics
............................................................................. 35
Table 21. PLL characteristics
................................................................................................................................... 36
Table 22. Flash memory characteristics
................................................................................................................. 36
Table 23. I/O port characteristics
............................................................................................................................. 37
Table 24. ADC characteristics
.................................................................................................................................. 38
Table 25. ADC R
AIN max
for f
ADC
=40MHz
................................................................................................................. 38
Table 26. ADC dynamic accuracy at f
ADC
= 28 MHz
............................................................................................. 39
Table 27. ADC dynamic accuracy at f
ADC
= 30 MHz
............................................................................................. 39
Table 28. ADC dynamic accuracy at f
ADC
= 36 MHz
............................................................................................. 39
Table 29. ADC static accuracy at f
ADC
= 14 MHz
.................................................................................................. 39
Table 30. I2C characteristics
.................................................................................................................................... 40
Table 31. SPI characteristics
.................................................................................................................................... 40
Table 32. USART characteristics
............................................................................................................................ 40
Table 33. TSSOP20 package dimensions
............................................................................................................. 41
Table 34. QFN package dimensions
....................................................................................................................... 43
Table 35. LQFP package dimensions
..................................................................................................................... 45
Table 36. Part ordering code for GD32F330xx devices
....................................................................................... 46
Table 37. Revision history.........................................................................................................................................
47
4
/
48