Download Print this page

GigaDevice Semiconductor GD32103E-EVAL User Manual

Hide thumbs Also See for GD32103E-EVAL:

Advertisement

Quick Links

GigaDevice Semiconductor Inc.
GD32103E-EVAL
User Guide
V2.2

Advertisement

loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for GigaDevice Semiconductor GD32103E-EVAL

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

    User Guide GD32103E-EVAL Table of Contents Table of Contents ..........................1 List of Tables ............................. 3 Summary ............................ 4 Function Pin Assign ........................4 Getting started ........................... 7 Hardware layout overview ......................8 Power ........................... 8 Boot ............................8 LED............................9 KEY ............................
  • Page 3 User Guide GD32103E-EVAL 5.18 RCU_Clock_Out ......................... 29 5.19 PMU_sleep_wakeup ......................29 5.20 RTC_Calendar ........................30 5.21 TIMER_Breath_LED ......................30 5.22 USBD_Keyboard ........................ 31 5.23 USBD_CDC_ACM ......................32 Revision history........................33 2/34...
  • Page 4: List Of Tables

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

    GD32103E-EVAL Summary GD32103E-EVAL uses GD32F103ZET6 as the main controller. It uses Mini USB interface or DC-005 connector to supply 5V power. SWD, Reset, Boot, User button key, LED, CAN, I2C, I2S, USART, RTC, LCD, SPI, ADC, DAC, EXMC, SDIO, USBD, GD-Link and Extension Pins are also included.
  • Page 6 User Guide GD32103E-EVAL CAN0_TX SDIO_CMD PC12 SDIO_CLK SDIO_DAT0 SDIO SDIO_DAT1 PC10 SDIO_DAT2 PC11 SDIO_DAT3 PD14 EXMC_D0 PD15 EXMC_D1 EXMC_D2 EXMC_D3 EXMC_D4 EXMC_D5 EXMC_D6 NAND Flash PE10 EXMC_D7 PD11 EXMC_A16 PD12 EXMC_A17 EXMC_NOE EXMC_NWE EXMC_NWAIT EXMC_NCE1 PD14 EXMC_D0 PD15 EXMC_D1 EXMC_D2...
  • Page 7 User Guide GD32103E-EVAL PA12 USB_DP 6/34...
  • Page 8: Getting Started

    User Guide GD32103E-EVAL 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. A J-Link tool or GD-Link on board is necessary in order to download and debug programs. Select the correct boot mode and then power on, the LED1 will turn on, which indicates that the power supply is OK.
  • Page 9: Hardware Layout Overview

    User Guide GD32103E-EVAL Hardware layout overview Power DC-10B +U5V SW-SPDT +3V3 TP +3V3 LM1117-3.3 LED1 16V/10uF,AVX 16V/10uF,AVX Vout 470Ω LED0603 SMD1210P005TF 50V/0.1uF 50V/0.1uF +3V3 VDDA +3V3 VREF+ 50V/0.1uF 50V/0.1uF VSSA VREF- Boot BOOT0 10KΩ +3V3 BOOT0 +3V3 10KΩ BOOT1 BOOT1...
  • Page 10: Led

    User Guide GD32103E-EVAL +3V3 +3V3 +3V3 +3V3 10KΩ 10KΩ 10KΩ 10KΩ KEY1 KEY2 KEY3 KEY4 K-1102B K-1102B K-1102B K-1102B 50V/0.1uF 50V/0.1uF 50V/0.1uF 50V/0.1uF KEY1 PC13 KEY2 KEY3 KEY4 9/34...
  • Page 11: Usart

    User Guide GD32103E-EVAL USART +3V3 50V/0.1uF MAX3232CSE+ 50V/0.1uF 50V/0.1uF 50V/0.1uF 50V/0.1uF USART1_TX RS232_TX2 T1IN T1OUT USART0_TX RS232_TX1 T2IN T2OUT USART1_RX RS232_RX2 R1OUT R1IN PA10 USART0_RX RS232_RX1 R2OUT R2IN COM2 COM1 PA5 is an AFIO, please refer to SPI Schematic for right config...
  • Page 12 User Guide GD32103E-EVAL PB12 I2S_WS PB13 I2S_CK PB15 I2S_DIN I2S_WS I2S_MCK MDIN LRCK SCKI SPI0_SCK MCLK I2S_DIN MSEL MSEL DATA I2S_MCK I2S_CK MCLK +3V3 NRST MDIN 16V/10uF,AVX AGND 50V/0.1uF 50V/0.1uF HGND Vcom 16V/10uF,AVX HoutR HoutL PCM1770 PM 10V/220uF,AVX HeadPhone 10V/220uF,AVX 50V/0.22uF...
  • Page 13: Spi

    User Guide GD32103E-EVAL 4.10 4.11 Short P2(1,2) for EXMC function +3V3 Short P2(2,3) for CAN0 function CAN0_TX 50V/0.1uF JP14 EXMC_D3 CAN0_TX 0Ω CAN0_RX CAN0H CANH 120Ω MHDR1X3 CAN0L CANL HEADER 2 Vref Short P3(1,2) for EXMC function SN65HVD230 Short P3(2,3) for CAN0 function...
  • Page 14: Sdio

    User Guide GD32103E-EVAL 4.12 SDIO +3V3 10KΩ 10KΩ 10KΩ SDIO_CMD JP21 10KΩ PC12 SDIO_CLK SDIO_DAT0 SDIO_DAT1 SDIO_DAT1 SDIO_DAT0 PC10 SDIO_DAT2 PC11 SDIO_DAT3 SDIO_CLK +3V3 SDIO_CMD SDIO_DAT3 SDIO_DAT2 TF_CARD_SOCKET +3V3 16V/10uF,AVX 4.13 NAND Nand Flash +3V3 +3V3 EXMC_D7 VDD1 EXMC_D6 VDD2 EXMC_D5 50V/0.1uF...
  • Page 15: Lcd

    User Guide GD32103E-EVAL 4.14 +3V3 JP23 EXMC_D0 EXMC_D1 EXMC_D2 EXMC_D3 EXMC_D4 EXMC_D5 EXMC_D6 EXMC_D7 EXMC_D8 EXMC_D9 EXMC_D10 EXMC_D11 EXMC_D12 EXMC_D13 EXMC_D14 EXMC_D15 EXMC_NE1 EXMC_A23 EXMC_NWE EXMC_NOE NRST BackLight +3V3 SPI1_MISO TP_INT SPI1_MOSI SPI1_SCK 10KΩ +3V3 PD0,PD1 are AFIOs, please refer to CAN schematic for right config...
  • Page 16: Extension

    User Guide GD32103E-EVAL 4.16 Extension 4.17 GD-Link PA0-WKUP MCU SWD PB2/BOOT1 PB3/JTDO L_TMS/IO PB4/JNTRST +3V3 JP100 L_TCK/CLK L_TDO/SWO L_SWDIO L_TDI L_SWDCK L_USB_Ctr L_TReset 4×1P2.54 L_LED1 LED0603 PA10 PB10 L_USB_DM PA11 PB11 L_USB_DP L_LED1 R109 470Ω PA12 PB12 L_SWDIO L_LED2 R110 470Ω...
  • Page 17: Routine Use Guide

     Learn to use SysTick to generate 1ms delay GD32103E-EVAL board has five keys and four LEDs. The five keys are Reset key, Tamper key, Wakeup key, User1 key and User2 key. The LED2, LED3, LED4 and LED5 are controlled by GPIO.
  • Page 18: Exti_Key_Interrupt_Mode

     Learn to use EXTI to generate external interrupt GD32103E-EVAL board has five keys and four LEDs. The five keys are Reset key, Tamper key, Wakeup key, User1 key and User2 key. The LED2, LED3, LED4 and LED5 are controlled by GPIO.
  • Page 19: Usart_Hyperterminal_Interrupt

    User Guide GD32103E-EVAL The output information via the serial port is as following. USART_HyperTerminal_Interrupt 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...
  • Page 20: 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 GD32103E-EVAL-V1.1 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 (VREFINT).
  • Page 21: 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 GD32103E-EVAL-V1.1 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 22: Adc0_Adc1_Regular_Parallel_Mode

    User Guide GD32103E-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 23: Dac_Output_Voltage_Value

    User Guide GD32103E-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 24: Spi_Spi_Flash

    User Guide GD32103E-EVAL 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. Finally, compare the data that were written to the EEPROM and the data that were read from the EEPROM.
  • Page 25 User Guide GD32103E-EVAL can observe the operation condition and will display the ID of the flash, 256 bytes data which are written to and read from flash. Compare the data that were written to the flash and the data that were read from the flash. If they are the same, the serial port will output “SPI- GD25Q16 Test Passed!”, otherwise, the serial port will output “Err: Data Read and Write aren't...
  • Page 26: I2S_Audio_Player

    5.14.2 DEMO Running Result GD32103E-EVAL board has EXMC module to control NAND flash. Before running the demo, P2 and P3 must be fitted to the EXMC port, JP24 must be fitted to the Nwait port. Download the program <14_EXMC_NandFlash> to the EVAL board. This demo shows the write and read operation process of NAND flash memory by EXMC module.
  • Page 27: Exmc_Touchscreen

    5.15.2 DEMO Running Result GD32103E-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. Download the program <15_EXMC_TouchScreen> to the EVAL board. This demo displays GigaDevice logo and four green buttons on the LCD screen by EXMC module.
  • Page 28: Sdio_Sdcardtest

    Learn to use SDIO to erase, lock and unlock a SD card GD32103E-EVAL board has a secure digital input/output interface (SDIO) which defines the SD/SD I/O /MMC CE-ATA card host interface. This demo will show how to use SDIO to operate on SD card.
  • Page 29: Can_Network

    DEMO Running Result This example is tested with two GD32103E-EVAL boards. Jump P2, P3 to CAN with the jumper cap. Connect L pin to L pin and H pin to H pin of JP14 on the boards for sending and receiving frames.
  • Page 30: Rcu_Clock_Out

    User Guide GD32103E-EVAL by pressing Tamper Key push button. When the frames are received, the receive data will be printed and the LED2 will toggle one time. The output information via the serial port is as following. 5.18 RCU_Clock_Out 5.18.1...
  • Page 31: Rtc_Calendar

    User Guide GD32103E-EVAL 5.19.2 DEMO Running Result Download the program < 19_PMU_sleep_wakeup > to the EVAL board, connect serial cable to EVAL_COM0. After power-on, all the LEDs are off. The mcu will enter sleep mode and the software stop running. When the USART0 receives a byte of data from the HyperTerminal, the mcu will wake up from a receive interrupt.
  • Page 32: Usbd_Keyboard

     Learn how to implement USB HID(human interface) device The GD32103E-EVAL board is enumerated as an USB Keyboard, which uses the native PC Host HID driver, as shown below. The USB Keyboard uses three keys to output three characters (‘b’, ‘a’ and ‘c’). In addition, the demo also supports remote wakeup which is the ability of a USB device to bring a suspended bus back to the active condition, and the ‘Tamper’...
  • Page 33: Usbd_Cdc_Acm

     Learn how to implement USB CDC device GD32103E-EVAL board has one USBD interface. In this demo, the GD32103E-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 34: Revision History

    User Guide GD32103E-EVAL Revision history Table 2 Revision history Revision No. Description Date Initial Release Dec. 26, 2014 CU version Jun. 30, 2017 Firmware Update, Consistency Jul. 31, 2018 Update Firmware Update. Routine name, LCD routine logo, SD card driver Apr.
  • Page 35: Important Notice

    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.