background image

 

 

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 

Summary of Contents for GD32350G-START

Page 1: ...GigaDevice Semiconductor Inc GD32350G START User Guide V2 0 ...

Page 2: ...Boot option 5 4 3 LED 5 4 4 KEY 6 4 5 USBFS 6 4 6 GD Link 7 4 7 Extension 7 4 8 MCU 8 5 Routine use guide 8 5 1 GPIO_Running_Led 8 5 1 1 DEMO purpose 8 5 1 2 DEMO running Result 8 5 2 GPIO_Key_Polling_mode 8 5 2 1 DEMO purpose 8 5 2 2 DEMO running Result 9 5 3 EXTI_Key_Interrupt_mode 9 5 3 1 DEMO purpose 9 5 3 2 DEMO running Result 9 5 4 USB_FS 9 5 4 1 USBD_CDC_ACM 9 5 4 2 USBH_MSC_Host 10 6 Revis...

Page 3: ...tic diagram of boot option 5 Figure 4 3 Schematic diagram of LED function 5 Figure 4 4 Schematic diagram of Key function 6 Figure 4 5 Schematic diagram of USBFS function 6 Figure 4 6 Schematic diagram of GD Link function 7 Figure 4 7 Schematic diagram of Extension Pin 7 Figure 4 8 Schematic diagram of MCU Pin 8 ...

Page 4: ...User Guide GD32350G START 3 13 List of Tables Table 2 1 Pin assignment 4 Table 4 1 Boot configuration 5 Table 6 1 Revision history 12 ...

Page 5: ...ly is ready There are Keil version and IAR version of all projects Keil version of the projects are created based on Keil MDK ARM 4 74 uVision4 IAR version of the projects are created based on IAR Embedded Workbench for ARM 7 40 2 During use the following points should be noted 1 If you use Keil uVision4 to open the project install the GD32F3x0_AddOn 2 0 0 exe to load the associated files 2 If you...

Page 6: ...3 E1 16V 10uF AVX E2 16V 10uF AVX GND C11 50V 0 1uF 3V3 LED3 LED0603 R9 470Ω 1 TP1 TP 3V3 P1 SMD1210P005TF U5V 5 S2 3 S 2 S1 1 4 SW1 SW SPDT 1 3 2 CN4 DC 10B GND VCC PWR PWR 4 2 Boot option Figure 4 2 Schematic diagram of boot option R7 10KΩ 1 2 3 JP4 BOOT0 GND BOOT0 3V3 Table 4 1 Boot configuration BOOT1 BOOT0 Boot Mode Default 2 3 User memory 1 2 System memory Changed by ISP 1 2 SRAM memory 4 3 ...

Page 7: ... C1 50V 0 01uF KEY K1 K 1102B 4 5 USBFS Figure 4 5 Schematic diagram of USBFS function GND R54 47KΩ R55 470R PB3 E10 16V 10uF AVX GND PA11 PA12 1 2 3 Q3 S8550 R10 1MΩ C12 50V 4700pF PWR USB_VBUS USB_DM USB_DP VBUS 1 DM 2 DP 3 ID 4 GND 5 Shield 6 USB_MiniAB receptacle CN1 Mini_USB U5V PA9 R11 22Ω R12 22Ω ...

Page 8: ...PA11 32 PA12 33 PA13 JTMS SWDIO 34 PA14 JTCK SWCLK 37 PA15 JTDI 38 PB0 18 PB1 19 PB2 BOOT1 20 PB3 JTDO 39 PB4 JNTRST 40 PB5 41 PB6 42 PB7 43 PB8 45 PB9 46 PB10 21 PB11 22 PB12 25 PB13 26 PB14 27 PB15 28 PC13 TAMPER RTC 2 PC14 OSC32_IN 3 PC15 OSC32_OUT 4 VBAT 1 VDD_1 24 VDD_2 36 VDD_3 48 VDDA 9 VSS_1 23 VSS_2 35 VSS_3 47 VSSA 8 U0 GD32F103C8T6 L_TReset L_LED1 L_LED2 L_LED1 LED0603 L_LED2 LED0603 R1...

Page 9: ...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 prog...

Page 10: ...ess down the User Key again LED1 will be turned off 5 3 EXTI_Key_Interrupt_mode 5 3 1 DEMO purpose This Demo includes the following functions of GD32 MCU Learn to use GPIO to control the LED and the KEY Learn to use EXTI to generate external interrupt GD32350G START board has two keys and one LED The two keys are Reset key and User key The LED1 is controlled by GPIO This demo will show how to use ...

Page 11: ...the device DEMO running Result Download the program 04_USBFS Device CDC_ACM to the Start board and run When you input message through computer keyboard the HyperTerminal will receive and shown the message For example when you input GigaDevice MCU the HyperTerminal will get the message and show it as below 5 4 2 USBH_MSC_Host DEMO purpose This demo includes the following functions of GD32 MCU Learn...

Page 12: ... USB port download the program 04_USBFS Host MSC to the Start board and run If an Udisk has been attached firstly press the user key then this demo will write file to the Udisk After a while the file would has been written in Udisk the MSC host demo is end and the LED1 will be on ...

Page 13: ...User Guide GD32350G START 12 13 6 Revision history Table 6 1 Revision history Revision No Description Date 1 0 Initial Release Jun 28 2017 2 0 Updated format across the whole document Jun 1 2019 ...

Page 14: ...inary 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 lif...

Reviews: