GD32E230C START User Guide V1.0

User Manual:

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

GigaDevice Semiconductor Inc.
GD32E230C-START
User Guide
V1.0
User Guide
GD32E230C-START
1/ 11
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 ...................................................................................................................................... 5
4.5 GD-Link ................................................................................................................................ 5
4.6 MCU ..................................................................................................................................... 6
4.7 Ardunio ................................................................................................................................. 6
5 Routine use guide ..................................................................................................................... 7
5.1 GPIO_Runing_Led ............................................................................................................... 7
5.2 GPIO_Keyboard_Polling_mode ........................................................................................... 7
5.3 EXTI_KeyBoard_Interrupt_mode ......................................................................................... 8
5.4 TIMER_KeyBoard_EXTI ...................................................................................................... 8
6 Revision history....................................................................................................................... 10
User Guide
GD32E230C-START
2/ 11
List of Tables
Table 1. Function pin assign .......................................................................................................................... 3
Table 2. Revision history .............................................................................................................................. 10
User Guide
GD32E230C-START
3/ 11
1 Summary
GD32E230C-START uses GD32E230C8T6 as the main controller. It uses Mini USB
interface to supply 5V power. Reset, Boot, Wakeup key, LED, GD-Link and Ardunio are
also included. For more details please refer to GD32E230C-START-V1.0 schematic.
2 Function Pin Assign
Table 1. Function pin assign
Function
Pin
Description
LED
PA7
LED1
PA8
LED2
PA11
LED3
PA12
LED4
RESET
K1-Reset
KEY
PA0
K2-Wakeup
3 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.20.2. 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.
User Guide
GD32E230C-START
4/ 11
4 Hardware layout overview
4.1 Power
G
1
Vout 2
Vin
34
U4 AMS1117-3.3
E5
16V/10uF,AVX
E6
16V/10uF,AVX
GND
+3V3 LEDPWR
LED0603
R32
470Ω
P1
SMD1210P050TF
+5V
+U5V
4.2 Boot
R18
10KΩ
1
2
3
JP4
BOOT0
GND BOOT0
+3V3
4.3 LED
PA11
PA8
PA12
PA7LED1
LED0603
LED2
LED0603
LED3
LED0603
LED4
LED0603
LED
GND
R25
470Ω
R26
470Ω
R27
470Ω
R28
470Ω
User Guide
GD32E230C-START
5/ 11
4.4 KEY
4.5 GD-Link
L_USB_Ctr
C100
50V/20pF
C102
50V/20pF
Y101
HC-49S-8MHz
GND
L_NRST
+3V3
GND
R102
10KΩ
C103
50V/0.1uF
R104
10KΩ
GND
C105
50V/0.1uF
C106
50V/0.1uF
C107
50V/0.1uF
C108
50V/0.1uF
R101
1MΩ
L_OSC_IN
L_OSC_OUT
L_OSC_IN
L_OSC_OUT
L_NRST
GND
+3V3
GND
1
2
3
4
JP100
1P2.54
+3V3
GND
MCU SWD
Reset
L_TMS/IO
L_TDI
L_TDO/SWO
L_TCK/CLK
L_USB_DP
L_SWDIO
L_SWDCK
L_SWDIO
L_SWDCK
+3V3
L_USB_DM
BOOT0
44
NRST
7
OSC_IN/PD0
5
OSC_OUT/PD1
6
PA0-WKUP
10
PA1
11
PA2
12
PA3
13
PA4
14
PA5
15
PA6
16
PA7
17
PA8
29
PA9
30
PA10
31
PA11
32
PA12
33
PA13/JTMS/SWDIO
34
PA14/JTCK/SWCLK
37
PA15/JTDI
38
PB018
PB119
PB2/BOOT1 20
PB3/JTDO 39
PB4/JNTRST 40
PB541
PB642
PB743
PB845
PB946
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
R109 470Ω
R110 470ΩGND
GND
R105 22R
R106 22R
R108
1MΩC104
50V/4700pF
L_USB_DM
L_USB_DP
GND
R107 1.5KΩL_USB_Ctr
VCC 1
D- 2
D+ 3
ID 4
GND 5
SHELL 6
CN100
Mini_USB
+U5V
User Guide
GD32E230C-START
6/ 11
4.6 MCU
C15
50V/20pF
C16
50V/20pF
Y2
HC-49S-8MHz
R19
1MΩ
GND
OSC_IN
OSC_OUT OSC_OUT
OSC_IN
NRST
K1
K-1102B
+3V3
GND
R20
10KΩ
C12
50V/0.1uF
NRST
BOOT0 +3V3
C10
50V/0.1uF
C11
50V/0.1uF
GND
+3V3 GND
VDDA
PB11
PB10
PA3
PB8
PB9
PC13
PC14
PC15
PF7
PF6
PB15
PB14
PB13
PB12
SWDAT
SWCLK
NRST
L_TMS/IO
L_TCK/CLK
L_TReset
GDLinkSWD
GND C14
50V/10pF
C13
50V/10pF Y1
32.768KHz
PC14
PC15
PA0
PA1
PA2
PA7
PA6
PA5
PA4
PA13
PA12
PA11
PA10
PA9
PA8
PA14
PA15
PB2
PB1
PB0
PB6
PB7
PB3
PB4
PB5
GND
SWDAT
SWCLK
BOOT0
44
NRST
7
OSC_IN/PF0
5
OSC_OUT/PF1
6
PA0
10
PA1
11
PA2
12
PA3
13
PA4
14
PA5
15
PA6
16
PA7
17
PA8
29
PA9
30
PA10
31
PA11
32
PA12
33
PA13/SWDAT
34
PA14/SWCLK
37
PA15
38
PB018
PB119
PB220
PB339
PB440
PB541
PB642
PB743
PB845
PB946
PB10 21
PB11 22
PB12 25
PB13 26
PB14 27
PB15 28
PC13 2
PC14-OSC32_IN 3
PC15-OSC32_OUT 4
VDD
1
VDD_1
24
PF736
VDD_2
48
VDDA
9
VSS_1 23
PF635
VSS_2 47
VSSA 8
U3
GD32E230C8T6
4.7 Ardunio
Ardunio
1
2
3
4
5
6
JP7
HEADER 6
1
2
3
4
5
6
7
8
JP6
HEADER 8
1
2
3
4
5
6
7
8
JP9
HEADER 8
1
2
3
4
5
6
7
8
9
10
JP8
HEADER 10
+5V
+5V
+3V3
+3V3
NRST
A6
A1
A2
A3
A4
A5 D0-Rx
D1-Tx
D2
D4
D3~
D5~
D6~
D7
D8
D9~
D10~
D13
D12
D11~
D14-SDA1
D15-SCL1
VDDA
PA9
PA10
PB10
PB11
PA1
PA2
PA3
PA4
PA5
PA6
PB13
PB14
PB15
PB12
PB0
PB1
PB3
PB8
PB4
PB5
PB6
PB7
User Guide
GD32E230C-START
7/ 11
5 Routine use guide
5.1 GPIO_Runing_Led
5.1.1 DEMO Purpose
This demo includes the following functions of GD32 MCU:
Learn to use GPIO control the LED
Learn to use SysTick to generate 1ms delay
GD32E230C-START board has four LEDs. The LED1, LED2, LED3 and LED4 are
controlled by GPIO. This demo will show how to light the LEDs.
5.1.2 DEMO Running Result
Download the program < 01_GPIO_Runing_Led > to the EVAL board, LED1, LED2,
LED3 and LED4 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
GD32E230C-START board has two keys and four LEDs. The two keys are Reset key
and Wakeup key. The LED1, LED2, LED3 and LED4 are controlled by GPIO.
This demo will show how to use the Wakeup key to control the LED1. When press down
the Wakeup 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
User Guide
GD32E230C-START
8/ 11
LEDs are flashed once for test and LED1 is on, press down the Wakeup Key, LED1 will
be turned off. Press down the Wakeup 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
GD32E230C-START board has two keys and four LEDs. The two keys are Reset key
and Wakeup key. The LED1, LED2, LED3 and LED4 are controlled by GPIO.
This demo will show how to use the EXTI interrupt line to control the LED1.When press
down the Wakeup 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 is on, press down the Wakeup Key, LED1
will be turned off. Press down the Wakeup 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
Learn to use TIMER to generate PWM
GD32E230C-START board has two keys and four LEDs. The two keys are Reset key
and Wakeup key. The LED1, LED2, LED3 and LED4 are controlled by GPIO.
This demo will show how to use the TIMER PWM to trigger EXTI interrupt to toggle the
state of LED2 and EXTI interrupt line to control the LED1. When press down the Wakeup
Key, it will produce an interrupt. In the interrupt service function, the demo will toggle
LED1.
User Guide
GD32E230C-START
9/ 11
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 Wakeup Key, LED1 will be turned on. Press
down the Wakeup Key again, LED1 will be turned off. Connect PA6(TIMER2_CH0) and
PB11 with DuPont line. The LED2 will be toggled every 500ms.
User Guide
GD32E230C-START
10/ 11
6 Revision history
Table 2. Revision history
Revision No.
Description
Date
1.0
Initial Release
Oct.25, 2018
User Guide
GD32E230C-START
11/ 11
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
Page 1 of 12 - GD32E230C-START User Guide V1.0
Page 2 of 12 - GD32E230C-START User Guide V1.0
Page 3 of 12 - GD32E230C-START User Guide V1.0
Page 4 of 12 - GD32E230C-START User Guide V1.0
Page 5 of 12 - GD32E230C-START User Guide V1.0
Page 6 of 12 - GD32E230C-START User Guide V1.0
Page 7 of 12 - GD32E230C-START User Guide V1.0
Page 8 of 12 - GD32E230C-START User Guide V1.0
Page 9 of 12 - GD32E230C-START User Guide V1.0
Page 10 of 12 - GD32E230C-START User Guide V1.0
Page 11 of 12 - GD32E230C-START User Guide V1.0
Page 12 of 12 - GD32E230C-START User Guide V1.0

Navigation menu