GD32E230F START User Guide V1.0

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 11

DownloadGD32E230F-START User Guide V1.0
Open PDF In BrowserView PDF
GigaDevice Semiconductor Inc.

GD32E230F-START
User Guide
V1.0

User Guide
GD32E230F-START

Table of Contents
Table of Contents .............................................................................................................................. 1
List of Tables ..................................................................................................................................... 2
1 Summary .................................................................................................................................... 3
2 Function Pin Assign .................................................................................................................. 3
3 Getting started ........................................................................................................................... 3
4 Hardware layout overview ........................................................................................................ 4
4.1
Power ................................................................................................................................... 4
4.2
Boot ...................................................................................................................................... 4
4.3
LED....................................................................................................................................... 4
4.4
KEY ...................................................................................................................................... 4
4.5
GD-Link ................................................................................................................................ 5
4.6
MCU ..................................................................................................................................... 5
5 Routine use guide ..................................................................................................................... 6
5.1
GPIO_Runing_Led ............................................................................................................... 6
5.2
GPIO_Keyboard_Polling_mode ........................................................................................... 6
5.3
EXTI_KeyBoard_Interrupt_mode ......................................................................................... 7
5.4
TIMER_KeyBoard_EXTI ...................................................................................................... 7
6 Revision history......................................................................................................................... 9

1/ 10

User Guide
GD32E230F-START

List of Tables
Table 1. Function pin assign .......................................................................................................................... 3
Table 2. Revision history ................................................................................................................................ 9

2/ 10

User Guide
GD32E230F-START

1

Summary
GD32E230F-START uses GD32E230F8P6 as the main controller. It uses Mini USB
interface to supply 5V power. Reset, Boot, User key, LED, GD-Link are also included.
For more details please refer to GD32E230F-START-V1.0 schematic.

2

Function Pin Assign
Table 1. Function pin assign
Function

Pin

Description

LED

PA1

LED1

LED

PA2

LED2

RESET
KEY

3

K1-Reset
PA0

K2-User Key

Getting started
The EVAL board uses Mini USB connecter to get power DC +5V, which is the hardware
system normal work voltage. A GD-Link on board is necessary in order to download and
debug programs. Select the correct boot mode and then power on, the LEDPWR will turn
on, which indicates that the power supply is OK.
There are Keil version and IAR version of all projects. Keil version of the projects are
created based on Keil MDK-ARM 5.25 uVision5. IAR version of the projects are created
based on IAR Embedded Workbench for ARM 8.31.1. During use, the following points
should be noted:
1. If you use Keil uVision5 to open the project. In order to solve the "Device Missing (s)"
problem, you can install GigaDevice.GD32E230_DFP.1.0.0.pack.
2. If you use IAR to open the project, install IAR_GD32E230_ADDON_1.0.0.exe to load
the associated files.

3/ 10

User Guide
GD32E230F-START

4

Hardware layout overview

4.1

Power

P1

U2
16V/10uF,AVX

Vin

E1

LM1117-3.3
2
Vout
4

16V/10uF,AVX

E2

470Ω

C11

LED0603

1

SMD1210P005TF

3

G

+U5V

+3V3
TP1
1
TP +3V3
LEDPWR
R9

50V/0.1uF

GND

4.2

Boot
JP4
3
2
1

GNDR7

BOOT0

+3V3 10KΩ

BOOT0

4.3

LED
LED
LED1

R2

PA1

GND
470Ω
R3

PA2

GND
470Ω

4.4

LED0603
LED2
LED0603

KEY
KEY
+3V3

PA0

K1
K-1102B
C1
50V/0.1uF

R1
10KΩ

GND

4/ 10

User Guide
GD32E230F-START

4.5

GD-Link
MCU SWD
U0
+3V3 JP100
1
2
3
4

L_SWDIO
L_SWDCK

10
11
12
13
14
15
16
17

L_TMS/IO
L_TCK/CLK
L_TDO/SWO
L_TDI

4×1P2.54
GND

L_USB_Ctr

C100

HC-49S-8MHz
L_OSC_IN

50V/20pF
C102

GND

Y101

29
30
31
32
33
34
37
38

L_USB_DM
L_USB_DP
L_SWDIO
L_SWDCK

R101
1MΩ
L_OSC_OUT

Reset

L_OSC_IN 5
L_OSC_OUT 6

+3V3
50V/20pF
R102
GND
10KΩ
L_NRST

+U5V

R104

44

10KΩ
L_NRST

7

C10
50V/0.1uF

CN100
VCC
DD+
ID
GND
SHELL

1
2
3
4
5
6

R105
R106
R107

1

C103
50V/0.1uF
22R L_USB_DM
22R L_USB_DP
1.5KΩ L_USB_Ctr

24
36
48

GND
9

GND

+3V3

PA0-WKUP
PA1
PA2
PA3
PA4
PA5
PA6
PA7

PB0
PB1
PB2/BOOT1
PB3/JTDO
PB4/JNTRST
PB5
PB6
PB7

PA8
PA9
PA10
PA11
PA12
PA13/JTMS/SWDIO
PA14/JTCK/SWCLK
PA15/JTDI
OSC_IN/PD0
OSC_OUT/PD1

PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15

18
19
20
39
40
41
42
43

R103

GND
10KΩ

45
46
21
22
25
26
27
28

L_TReset
L_LED1 LED0603
L_LED1R109
L_LED2R110

470Ω
470Ω

GND

L_LED2 LED0603

2
PC13-TAMPER-RTC
3
PC14-OSC32_IN
4
PC15-OSC32_OUT

+3V3

BOOT0
C105

NRST

C106

C107

C108

50V/0.1uF 50V/0.1uF 50V/0.1uF 50V/0.1uF

VBAT
VDD_1
VDD_2
VDD_3

VSS_1
VSS_2
VSS_3

VDDA

VSSA

23
35
47

GND

8

GD32F103C8T6

GND

Mini_USB

R108
1MΩ

C104
50V/4700pF

GND

4.6

MCU
+3V3
U1
R4
SWD
10KΩ
SWDAT
SWCLK
NRST
R5
10KΩ

GDLink
L_TMS/IO
L_TCK/CLK
L_TReset

GND

PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA9
PA10
SWDAT PA13
SWCLK PA14
PB1

C2
HC-49S-G20SSA-8MHz
GND

50V/20pF
C3
50V/20pF

Y1

R6
1MΩ

6
7
8
9
10
11
12
13
17
18
19
20
14

PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA9
PA10
PA13
PA14

1
BOOT0
2
PF0/OSC_IN
3
PF1/OSC_OUT
4
NRST

BOOT0
OSC_IN
OSC_OUT
NRST

+3V3
VDDA
VDD
VSS

PB1

5
16
15

+3V3

GD32E230F8P6
R8
10KΩ

GND

OSC_IN
OSC_OUT

K2

+3V3

C8

NRST

K-1102B
C6

C9

50V/0.1uF 50V/0.1uF

50V/0.1uF
GND

GND

5/ 10

User Guide
GD32E230F-START

4.7

Extension
Extension Pin
JP1
PA0
PA1
PA2
PA3
PA4
PA5
PA6

GND

1
2
3
4
5
6
7
8

HEADER 8

5

Routine use guide

5.1

GPIO_Runing_Led

5.1.1

DEMO Purpose

JP2
PA7
PB1
PA9
PA10
PA13
PA14

GND
+3V3

1
2
3
4
5
6
7
8

HEADER 8

This demo includes the following functions of GD32 MCU:
 Learn to use GPIO control the LED
 Learn to use SysTick to generate 1ms delay
GD32E230F-START board has two LEDs. The LEDs are controlled by GPIO. This demo
will show how to light the LED.

5.1.2

DEMO Running Result
Download the program < 01_GPIO_Runing_Led > to the EVAL board, LED1 and LED2
will turn on and off in sequence with interval of 1000ms, repeat the process.

5.2

GPIO_Keyboard_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
 Learn to use SysTick to generate 1ms delay
GD32E230F-START board has two keys and two LEDs. The two keys are Reset key and
User key. The LEDs are controlled by GPIO.
6/ 10

User Guide
GD32E230F-START
This demo will show how to use the User key to control the LED1. When press down the
User Key, it will check the input value of the IO port. If the value is 1 and will wait for 50ms.
Check the input value of the IO port again. If the value still is 1, it indicates that the button
is pressed successfully and toggle LED1.

5.2.2

DEMO Running Result
Download the program < 02_GPIO_KeyBoard_Polling_mode > to the EVAL board, all the
LEDs are flashed once for test and LED1 and LED2 are on, press down the User Key,
LED1 will be turned off. Press down the User Key again, LED1 will be turned on.

5.3

EXTI_KeyBoard_Interrupt_mode

5.3.1

DEMO Purpose
This demo includes the following functions of GD32 MCU:
 Learn to use GPIO control the LED and the KEY
 Learn to use EXTI to generate external interrupt
GD32E230F-START board has two keys and two LEDs. The two keys are Reset key and
User key. The LEDs are controlled by GPIO.
This demo will show how to use the EXTI interrupt line to control the LED1.When press
down the User Key, it will produce an interrupt. In the interrupt service function, the demo
will toggle LED1.

5.3.2

DEMO Running Result
Download the program < 03_EXTI_KeyBoard_Interrupt_mode > to the EVAL board, all
the LEDs are flashed once for test and LED1 and LED2 are on, press down the User Key,
LED1 will be turned off. Press down the User Key again, LED1 will be turned on.

5.4

TIMER_KeyBoard_EXTI

5.4.1

DEMO Purpose
This demo includes the following functions of GD32 MCU:
 Learn to use GPIO control the LED and the KEY
 Learn to use EXTI to generate external interrupt
7/ 10

User Guide
GD32E230F-START


Learn to use TIMER to generate PWM

GD32E230F-START board has two keys and two LEDs. The two keys are Reset key and
User key. The LEDs are controlled by GPIO.
This demo will show how to use the TIMER PWM to trigger EXTI interrupt to toggle the
state of LED1 and EXTI interrupt line to control the LED2. When press down the User
Key, it will produce an interrupt. In the interrupt service function, the demo will toggle
LED2.

5.4.2

DEMO Running Result
Download the program < 04_TIMER_KeyBoard_EXTI > to the EVAL board, all the LEDs
are flashed once for test, press down the User Key, LED2 will be turned on. Press down
the User Key again, LED2 will be turned off. Connect PA6(TIMER2_CH0) and PA5 with
DuPont line. The LED1 will be toggled every 500ms.

8/ 10

User Guide
GD32E230F-START

6

Revision history

Table 2. Revision history
Revision No.

Description

Date

1.0

Initial Release

Nov. 21, 2018

9/ 10

User Guide
GD32E230F-START

Important Notice
This document is the property of GigaDevice Semiconductor Inc. and its subsidiaries (the "Company"). This document, including any
product of the Company described in this document (the “Product”), is owned by the Company under the intellectual property laws and
treaties of the People’s Republic of China and other jurisdictions worldwide. The Company reserves all rights under such laws and
treaties and does not grant any license under its patents, copyrights, trademarks, or other intellectual property rights. The names and
brands of third party referred thereto (if any) are the property of their respective owner and referred to for identification purposes only.
The Company makes no warranty of any kind, express or implied, with regard to this document or any Product, including, but not
limited to, the implied warranties of merchantability and fitness for a particular purpose. The Company does not assume any liability
arising out of the application or use of any Product described in this document. Any information provided in this document is provided
only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test the functionality
and safety of any application made of this information and any resulting product. Except for customized products which has been
expressly identified in the applicable agreement, the Products are designed, developed, and/or manufactured for ordinary 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,
life-support devices or systems, other medical devices or systems (including resuscitation equipment and surgical implants), pollution
control or hazardous substances management, or other uses where the failure of the device or Product could cause personal injury,
death, property or environmental damage ("Unintended Uses"). Customers shall take any and all actions to ensure using and selling
the Products in accordance with the applicable laws and regulations. The Company is not liable, in whole or in part, and customers
shall and hereby do release the Company as well as it’s suppliers and/or distributors from any claim, damage, or other liability arising
from or related to all Unintended Uses of the Products. Customers shall indemnify and hold the Company as well as it’s suppliers
and/or distributors harmless from and against all claims, costs, damages, and other liabilities, including claims for personal injury or
death, arising from or related to any Unintended Uses of the Products.
Information in this document is provided solely in connection with the Products. The Company reserves the right to make changes,
corrections, modifications or improvements to this document and Products and services described herein at any time, without notice.

© 2018 GigaDevice – All rights reserved

10/ 10



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : No
Page Count                      : 11
Language                        : zh-CN
Tagged PDF                      : Yes
Author                          : gyjin
Creator                         : Microsoft® Word 2013
Create Date                     : 2018:11:20 15:56:33+08:00
Modify Date                     : 2018:11:20 15:56:33+08:00
Producer                        : Microsoft® Word 2013
EXIF Metadata provided by EXIF.tools

Navigation menu