User Guide
GD32350G-START
8 /13
4.8.
MCU
Figure 4-8 Schematic diagram of MCU Pin
PA4
PA5
PA6
PA7
PA0
PA1
PA3
PA2
PA11
PA12
PA9
PA10
PB5
PB6
PB7
PB1
PB0
BOOT0
GND
NRST
PA13
PA14
PA15
PB3
PB4
SWCLK
SWDAT
OSC_IN
OSC_OUT
+3V3
BOOT0
1
NRST
4
OSC_IN/PF0
2
OSC_OUT/PF1
3
PA0
6
PA1
7
PA10
18
PA11
19
PA12
20
PA13/SWDIO
21
PA14/SWCLK
22
PA15
23
PA2
8
PA3
9
PA4
10
PA5
11
PA6
12
PA7
13
PA9
17
PB0
14
PB1
15
PB3
24
PB4
25
PB5
26
PB6
27
PB7
28
VDD
16
VDDA
5
VSS/VSSA
29
U1
GD32F350G8U6
5.
Routine use guide
5.1.
GPIO_Running_Led
5.1.1.
DEMO purpose
This Demo includes the following functions of GD32 MCU:
Learn to use GPIO for controlling the LED
Learn to use SysTick to generate 1ms delay
GD32350G-START board has one LED. The LED1 is controlled by GPIO. This demo will
show how to light the LED.
5.1.2.
DEMO running Result
Download the program <01_GPIO_Running_Led> to the board, the state of LED1 is toggled
every 1s.
5.2.
GPIO_Key_Polling_mode
5.2.1.
DEMO purpose
This Demo includes the following functions of GD32 MCU:
Learn to use GPIO control the LED and the KEY