GD32E230C START User Guide V1.0
User Manual:
Open the PDF directly: View PDF .
Page Count: 12
Download | ![]() |
Open PDF In Browser | View PDF |
GigaDevice Semiconductor Inc. GD32E230C-START User Guide V1.0 User Guide GD32E230C-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 ...................................................................................................................................... 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 1/ 11 User Guide GD32E230C-START List of Tables Table 1. Function pin assign .......................................................................................................................... 3 Table 2. Revision history .............................................................................................................................. 10 2/ 11 User Guide GD32E230C-START 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 LED Pin Description PA7 LED1 PA8 LED2 PA11 LED3 PA12 LED4 RESET KEY 3 K1-Reset PA0 K2-Wakeup 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. 3/ 11 User Guide GD32E230C-START 4 Hardware layout overview 4.1 Power +5V U4 3 E5 AMS1117-3.3 2 Vout 4 +3V3 R32 470Ω E6 LEDPWR LED0603 1 SMD1210P050TF Vin G P1 +U5V 16V/10uF,AVX 16V/10uF,AVX GND 4.2 Boot JP4 3 2 1 GNDR18 BOOT0 +3V3 10KΩ BOOT0 4.3 LED LED PA7 R25 470Ω PA8 R26 PA11 R27 470Ω 470Ω PA12 R28 470Ω LED1 LED0603 LED2 LED0603 LED3 LED0603 LED4 LED0603 GND 4/ 11 User Guide GD32E230C-START 4.4 KEY +3V3 KEY K2 K-1102B PA0 R29 10KΩ GND 4.5 GD-Link U0 MCU SWD 10 11 12 13 14 15 16 17 +3V3 JP100 L_TMS/IO L_TCK/CLK L_TDO/SWO L_TDI 1 2 3 4 L_SWDIO L_SWDCK 4×1P2.54 L_USB_Ctr 29 30 31 32 33 34 37 38 GND L_USB_DM L_USB_DP L_SWDIO L_SWDCK Reset +3V3 L_OSC_IN 5 L_OSC_OUT 6 R102 10KΩ L_NRST R104 44 10KΩ L_NRST 7 GND C103 50V/0.1uF 1 24 36 48 GND 9 +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 PB8 PB9 PB10 PB11 PB12 PB13 PB14 PB15 18 19 20 39 40 41 42 43 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 OSC_IN/PD0 OSC_OUT/PD1 BOOT0 C100 HC-49S-8MHz L_OSC_IN NRST VBAT GND VDD_1 VDD_2 VDD_3 VSS_1 VSS_2 VSS_3 VDDA VSSA 23 35 47 50V/20pF C102 Y101 R101 1MΩ L_OSC_OUT 50V/20pF 8 GD32F103C8T6 GND CN100 VCC DD+ ID GND SHELL +U5V 1 2 3 4 5 6 R105 R106 R107 22R L_USB_DM 22R L_USB_DP 1.5KΩ L_USB_Ctr +3V3 GND C105 Mini_USB R108 1MΩ C106 C107 C108 50V/0.1uF 50V/0.1uF 50V/0.1uF 50V/0.1uF C104 50V/4700pF GND GND 5/ 11 User Guide GD32E230C-START 4.6 MCU U3 PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 SWDAT PA13 SWCLK PA14 PA15 10 11 12 13 14 15 16 17 29 30 31 32 33 34 37 38 OSC_IN 5 OSC_OUT 6 BOOT0 NRST +3V3 VDDA 44 7 1 24 48 9 PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PA8 PA9 PA10 PA11 PA12 PA13/SWDAT PA14/SWCLK PA15 PB8 PB9 PB10 PB11 PB12 PB13 PB14 PB15 18 19 20 39 40 41 42 43 PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 45 46 21 22 25 26 27 28 PB8 PB9 PB10 PB11 PB12 PB13 PB14 PB15 2 PC13 3 PC14-OSC32_IN 4 PC15-OSC32_OUT OSC_IN/PF0 OSC_OUT/PF1 SWD GDLink SWDAT SWCLK NRST L_TMS/IO L_TCK/CLK L_TReset C13 32.768KHz PC15 50V/10pF C14 GND Y1 PC14 50V/10pF C15 HC-49S-8MHz OSC_IN 50V/20pF C16 GND PC13 PC14 PC15 Y2 R19 1MΩ OSC_OUT 50V/20pF +3V3 BOOT0 PF6 PF7 NRST 35 36 PF6 PF7 C10 VDD VDD_1 VDD_2 VSS_1 VSS_2 VDDA VSSA 23 47 C11 50V/0.1uF 50V/0.1uF GND +3V3 8 GND GND GD32E230C8T6 R20 10KΩ K1 NRST K-1102B C12 50V/0.1uF GND 4.7 Ardunio Ardunio JP8 10 9 8 7 6 5 4 3 2 1 JP6 NRST +3V3 +3V3 +5V +5V 1 2 3 4 5 6 7 8 D15-SCL1PB10 D14-SDA1PB11 VDDA D13 D12 D11~ D10~ D9~ D8 PB13 PB14 PB15 PB12 PB0 PB1 HEADER 10 HEADER 8 JP9 JP7 PA1 PA2 PA3 PA4 PA5 PA6 A1 A2 A3 A4 A5 A6 1 2 3 4 5 6 HEADER 6 8 7 6 5 4 3 2 1 D7 D6~ D5~ D4 D3~ D2 D1-Tx D0-Rx PB8 PB7 PB6 PB5 PB4 PB3 PA9 PA10 HEADER 8 6/ 11 User Guide GD32E230C-START 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 7/ 11 User Guide GD32E230C-START 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. 8/ 11 User Guide GD32E230C-START 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. 9/ 11 User Guide GD32E230C-START 6 Revision history Table 2. Revision history Revision No. Description Date 1.0 Initial Release Oct.25, 2018 10/ 11 User Guide GD32E230C-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 11/ 11
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.5 Linearized : No Page Count : 12 Language : zh-CN Tagged PDF : Yes Author : gyjin Creator : Microsoft® Word 2013 Create Date : 2018:10:25 09:42:06+08:00 Modify Date : 2018:10:25 09:42:06+08:00 Producer : Microsoft® Word 2013EXIF Metadata provided by EXIF.tools