Advertisement

Quick Links

GigaDevice Semiconductor Inc.
GD32E103V-EVAL
User Guide
V1.2

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GD32E103V-EVAL and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for GigaDevice Semiconductor GD32E103V-EVAL

  • Page 1 GigaDevice Semiconductor Inc. GD32E103V-EVAL User Guide V1.2...
  • Page 2: Table Of Contents

    User Guide GD32E103V-EVAL Table of Contents Table of Contents ..........................1 List of Tables ............................. 3 Summary ............................ 4 Function Pin Assign ........................4 Getting started ........................... 5 Hardware layout overview ......................6 Power ........................... 6 Boot ............................6 LED............................7 KEY ............................
  • Page 3 User Guide GD32E103V-EVAL 5.21 LiteOS ..........................28 Revision history........................30 2/ 31...
  • Page 4: List Of Tables

    User Guide GD32E103V-EVAL List of Tables Table 1. Function pin assign .......................... 4 Table 2. Revision history ..........................30 3/ 31...
  • Page 5: Summary

    DC-005 connector to supply 5V power. SWD, Reset, Boot, User button key, LED, I2C, I2S, USART, RTC, LCD, SPI, ADC, DAC, EXMC, CTC, USB, GD-Link and Extension Pins are also included. For more details please refer to GD32E103V-EVAL- Rev2.0 schematic.
  • Page 6: Getting Started

    User Guide GD32E103V-EVAL Function Description EXMC_D4 EXMC_D5 EXMC_D6 PE10 EXMC_D7 PE11 EXMC_D8 PE12 EXMC_D9 PE13 EXMC_D10 PE14 EXMC_D11 PE15 EXMC_D12 EXMC_D13 EXMC_D14 PD10 EXMC_D15 EXMC_A23 EXMC_NOE EXMC_NWE EXMC_NE USB_VBUS PA11 USB_DM USBFS PA12 USB_DP PA10 USB_ID Getting started The EVAL board uses Mini USB connecter or DC-005 connector to get power DC +5V, which is the hardware system normal work voltage.
  • Page 7: Hardware Layout Overview

    User Guide GD32E103V-EVAL corresponding device Device Option Target “C:\Keil_v5\ARM\Pack\ARM\CMSIS\4.2.0\CMSIS\Include” to C/C++ in Option for Target. 3. If you use IAR to open the project, install IAR_GD32E10x_ADDON.1.2.0.exe to load the associated files. Hardware layout overview Power Boot BOOT0 10KΩ +3V3 BOOT0 +3V3 10KΩ...
  • Page 8: Led

    User Guide GD32E103V-EVAL +3V3 +3V3 +3V3 10KΩ 10KΩ 10KΩ KEY1 KEY2 KEY3 K-1102B K-1102B K-1102B 50V/0.1uF 50V/0.1uF 50V/0.1uF KEY1 PC13 KEY2 PB14 KEY3 7/ 31...
  • Page 9: Usart

    User Guide GD32E103V-EVAL USART +3V3 50V/0.1uF MAX3232CSE+ 50V/0.1uF 50V/0.1uF 50V/0.1uF 50V/0.1uF USART1_TX RS232_TX1 T1IN T1OUT USART0_TX RS232_TX0 T2IN T2OUT USART1_RX RS232_RX1 R1OUT R1IN USART0_RX RS232_RX0 R2OUT R2IN COM1 Short JP5(1,2),Short JP6(1,2) for USART0 function Short JP5(2,3),Short JP6(2,3) for USBFS function...
  • Page 10: Spi

    User Guide GD32E103V-EVAL 10KΩ R201 PB15 I2S1_SD +3V3 C44 50V/0.1uF SDIN AOUTR PB13 I2S1_CK 470Ω SCLK I2S1_WS 16V/3.3uF,AVX PB12 LRCK R202 I2S1_MCK MCLK AOUTL 470Ω FILT+ HeadPhone CS4344 16V/3.3uF,AVX 10KΩ 50V/0.1uF 16V/10uF,AVX 16V/10uF,AVX 4.10 9/ 31...
  • Page 11: Lcd

    User Guide GD32E103V-EVAL 4.11 +3V3 JP23 PD14 EXMC_D0 EXMC_D0 EXMC_D1 PD15 EXMC_D1 EXMC_D2 EXMC_D3 EXMC_D2 EXMC_A23 EXMC_D4 EXMC_D5 EXMC_D3 EXMC_NOE EXMC_D6 EXMC_D7 EXMC_D4 EXMC_NWE EXMC_D8 EXMC_D9 EXMC_D5 EXMC_D10 EXMC_D11 EXMC_D6 EXMC_D12 EXMC_D13 PE10 EXMC_D7 EXMC_D14 EXMC_D15 PE11 EXMC_D8 EXMC_NE EXMC_A23...
  • Page 12: Extension

    User Guide GD32E103V-EVAL 4.13 Extension Extension Pin JP10 JP11 PB12 PB13 PA14 PA15 PB14 PB15 PC10 PC11 VBAT PC12 PC13 PC14 PD10 PD11 PC15 PD12 PD13 PD14 PD15 +3.3V +3.3V +3.3V +3.3V PIN12 PIN13 PE10 PE11 PIN14 PE12 PE13 PE14...
  • Page 13: Gpio_Key_Polling_Mode

     Learn to use SysTick to generate 1ms delay GD32E103V-EVAL-V2.0 board has four keys and four LEDs. The four keys are Reset key, Tamper key, Wakeup key and User key. The LED2, LED3, LED4 and LED5 are controlled by GPIO.
  • Page 14: Usart_Printf

     Learn to use EXTI to generate external interrupt GD32E103V-EVAL-V2.0 board has four keys and four LEDs. The four keys are Reset key, Tamper key, Wakeup key and User key. The LED2, LED3, LED4 and LED5 are controlled by GPIO.
  • Page 15: Usart_Echo_Interrupt_Mode

    User Guide GD32E103V-EVAL USART_Echo_Interrupt_mode 5.5.1 DEMO Purpose This demo includes the following functions of GD32 MCU:  Learn to use the USART transmit and receive interrupts to communicate with the serial terminal tool 5.5.2 DEMO Running Result Download the program < 05_USART_Echo_Interrupt_mode > to the EVAL board, connect serial cable to EVAL_COM0 and jump JP5 and JP6 to USART0.
  • Page 16: Adc_Temperature_Vrefint

    Learn to get the value of inner channel 16(temperature sensor channel) and channel 17 (VREFINT channel) 5.7.2 DEMO Running Result Download the program <07_ADC_Temperature_Vrefint> to the GD32E103V-EVAL-V2.0 board. Connect serial cable to EVAL_COM0, open the HyperTerminal. When the program is running, HyperTerminal display the value of temperature and internal voltage reference (V...
  • Page 17: Adc0_Adc1_Follow_Up_Mode

    Learn to use ADC0 and ADC1 follow-up mode 5.8.2 DEMO Running Result Download the program <08_ADC0_ADC1_Follow_up_mode> to the GD32E103V-EVAL- V2.0 board. Connect serial cable to EVAL_COM0, open the HyperTerminal. PC3 and PC5 pin voltage access by external voltage. TIMER0_CH0 is the trigger source of ADC0 and ADC1. When the rising edge of TIMER0_CH0 coming, ADC0 starts immediately and ADC1 starts after a delay of several ADC clock cycles.
  • Page 18: Adc0_Adc1_Regular_Parallel_Mode

    User Guide GD32E103V-EVAL ADC0_ADC1_Regular_Parallel_mode 5.9.1 DEMO Purpose This demo includes the following functions of GD32 MCU:  Learn to use the ADC to convert analog signal to digital data  Learn to use ADC0 and ADC1 regular parallel mode 5.9.2 DEMO Running Result Download the program <09_ADC0_ADC1_Regular_Parallel_mode>...
  • Page 19: Dac_Output_Voltage_Value

    User Guide GD32E103V-EVAL 5.10 DAC_Output_Voltage_Value 5.10.1 DEMO Purpose This demo includes the following functions of GD32 MCU:  Learn to use DAC to output voltage on DAC0 output 5.10.2 DEMO Running Result Download the program <10_DAC_Output_Voltage_Value> to the EVAL board and run, all the LEDs will turn on and turn off for test.
  • Page 20: Spi_Spi_Flash

    User Guide GD32E103V-EVAL to show the print message. Firstly, the data of 256 bytes will be written to the EEPROM from the address 0x00 and printed by the serial port. Then, reading the EEPROM from address 0x00 for 256 bytes and the result will be printed.
  • Page 21: I2S_Audio_Player

    5.13 I2S_Audio_Player 5.13.1 DEMO Purpose This Demo includes the following functions of GD32 MCU:  Learn to use I2S module to output audio file  wav format GD32E103V-EVAL board integrates the I2S (Inter-IC Sound) module, and the module 20/ 31...
  • Page 22: Exmc_Touchscreen

    5.14.2 DEMO Running Result GD32E103V-EVAL board has EXMC module to control LCD. Before running the demo, JP12 must be fitted to the SPI port, P2 and P3 must be fitted to the EXMC port, JP23 must be fitted to the Lcd port. Download the program <14_EXMC_TouchScreen> to the EVAL board.
  • Page 23: Rcu_Clock_Out

    User Guide GD32E103V-EVAL 5.15 RCU_Clock_Out 5.15.1 DEMO Purpose This demo includes the following functions of GD32 MCU:  Learn to use GPIO control the LED  Learn to use the clock output function of RCU  Learn to communicate with PC by USART 5.15.2...
  • Page 24: Ctc_Calibration

    5.16.2 DEMO Running Result Download the program <16_CTC_Calibration> to the GD32E103V-EVAL board and run. Firstly, all the LEDs flash once for test. Then if the clock trim is OK, LED2 will be on. Otherwise, all the LEDs are turned off.
  • Page 25: Rtc_Calendar

    User Guide GD32E103V-EVAL interrupt. And all the LEDs will flash together. 5.18 RTC_Calendar 5.18.1 DEMO Purpose This demo includes the following functions of GD32 MCU:  Learn to use RTC module to implement calendar and alarm function  Learn to use EXMC module to implement time display on LCD 5.18.2...
  • Page 26: Timer_Breath_Led

     Learn how to implement USB HID(human interface) device GD32E103V-EVAL evaluation board has five keys and one USB_FS interface. The four keys are Reset key, Wakeup key, Tamper key, User key. In this demo, the GD32E103V- EVAL evaluation board is enumerated as an USB Keyboard, which uses the native PC Host HID driver, as shown below.
  • Page 27  Learn how to implement USBFS CDC device GD32E103V-EVAL board has one USBFS interface. In this demo, the GD32E103V-EVAL board is enumerated as an USB virtual COM port, which was shown in device manager of PC as below. This demo makes the USB device look like a serial port, and loops back the contents of a text file over USB port.
  • Page 28 Learn the operation between the HID host and the keyboard device GD32E103V-EVAL board integrates the USBFS module, and the module can be used as a USB device, a USB host or an OTG device. This demo mainly shows how to use the USBFS as a USB HID host to communicate with external USB HID device.
  • Page 29 Learn the operation between the MSC host and the Udisk GD32E103V-EVAL board integrates the USBFS module, and the module can be used as a USB device, a USB host or an OTG device. This demo mainly shows how to use the USBFS as a USB MSC host to communicate with external Udisk.
  • Page 30 User Guide GD32E103V-EVAL 29/ 31...
  • Page 31 User Guide GD32E103V-EVAL Revision history Table 2. Revision history Revision No. Description Date Initial Release Dec.26, 2017 Version update Sep.27, 2020 Delete CAN, update the name of Dec.31, 2020 routines 30/ 31...
  • Page 32 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.

Table of Contents