User Guide
GD32130F-START
7 /11
4.7.
MCU
Figure 4-7 Schematic diagram of MCU Pin
PA4
PA5
PA6
PA7
PA0
PA1
PA3
PA2
PA9
PA10
PB1
C2
50V/20pF
C3
50V/20pF
Y1
HC-49S-G20SSA-8MHz
GND
NRST
K2
K-1102B
+3V3
GND
R8
10K
Ω
C6
50V/0.1uF
BOOT0
C8
50V/0.1uF
C9
50V/0.1uF
R5
10K
Ω
R6
1M
Ω
R4
10K
Ω
OSC_IN
OSC_OUT
GND
GND
+3V3
NRST
PA13
PA14
SWCLK
SWDAT
+3V3
SWDAT
SWCLK
GND
NRST
L_TMS/IO
L_TCK/CLK
L_TReset
GDLink
SWD
BOOT0
1
PF0/OSC_IN
2
PF1/OSC_OUT
3
NRST
4
VDDA
5
PA0
6
PA1
7
PA2
8
PA3
9
PA4
10
PA5
11
PA6
12
PA7
13
PB1
14
VSS
15
VDD
16
PA9
17
PA10
18
PA13
19
PA14
20
U1
GD32F130F8P6
OSC_IN
OSC_OUT
+3V3
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
GD32130F-START-V1.0 board has two LEDs. The LED1 and LED2 are 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 states of LED1 and
LED2 are toggled every 500ms.