Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for GigaDevice Semiconductor GD32103C-EVAL

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

    User Guide GD32103C-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 GD32103C-EVAL 5.18 RCU_Clock_Out ......................... 30 5.19 PMU_sleep_wakeup ......................31 5.20 RTC_Calendar ........................31 5.21 TIMER_Breath_LED ......................32 5.22 USBD_Keyboard ........................ 33 5.23 USBD_CDC_ACM ......................34 Revision history........................35 2/36...
  • Page 4: List Of Tables

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

    GD32103C-EVAL Summary GD32103C-EVAL uses GD32F103VCT6 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 GD32103C-EVAL 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 EXMC_D3...
  • Page 7 User Guide GD32103C-EVAL 6/36...
  • Page 8: Getting Started

    User Guide GD32103C-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 GD32103C-EVAL Hardware layout overview Power Boot BOOT0 +3V3 10KΩ BOOT0 +3V3 10KΩ BOOT1 BOOT1 BOOT0 Boot Mode User memory System memory SRAM memory 8/36...
  • Page 10: Led

    User Guide GD32103C-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 9/36...
  • Page 11: Usart

    User Guide GD32103C-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 GD32103C-EVAL I2S_MCK 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_CK MCLK +3V3 NRST MDIN 16V/10uF,AVX AGND 50V/0.1uF HGND Vcom 16V/10uF,AVX HoutR HoutL PCM1770 PM 10V/220uF,AVX HeadPhone 10V/220uF,AVX 50V/0.22uF 50V/0.22uF...
  • Page 13: Spi

    User Guide GD32103C-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 MHDR1X3 CAN0L 120Ω CANL HEADER 2 Vref Short P3(1,2) for EXMC function SN65HVD230 Short P3(2,3) for CAN0 function...
  • Page 14: Nand

    User Guide GD32103C-EVAL 4.13 NAND Nand Flash +3V3 +3V3 EXMC_D7 VDD1 EXMC_D6 VDD2 EXMC_D5 50V/0.1uF 50V/0.1uF EXMC_D4 VSS1 EXMC_D3 VSS2 EXMC_D2 EXMC_D1 EXMC_D0 +3V3 R63 10KΩ EXMC_A16 +3V3 EXMC_A17 +3V3 EXMC_NWE 10KΩ EXMC_NOE 10KΩ Nand_CS HY27UF081G2A EXMC_NWAIT JP24 LCD_CS EXMC_NE0...
  • Page 15: Lcd

    User Guide GD32103C-EVAL 4.14 4.15 USBD +U5V VBUS PA11 USB_DM PA12 USB_DP PD13 1.5KΩ Shield Mini_USB 1MΩ 50V/4700pF 14/36...
  • Page 16: Extension

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

     Learn to use SysTick to generate 1ms delay GD32103C-EVAL 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 18: Exti_Key_Interrupt_Mode

     Learn to use EXTI to generate external interrupt GD32103C-EVAL 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 19: Usart_Hyperterminal_Interrupt

    User Guide GD32103C-EVAL 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 DEMO Running Result Download the program < 05_USART_HyperTerminal_Interrupt > to the EVAL board, connect serial cable to EVAL_COM0.
  • 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 GD32103C-EVAL 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 GD32103C-EVAL 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

    Learn to use ADC0 and ADC1 regular parallel mode 5.9.2 DEMO Running Result Download the program <09_ADC0_ADC1_Regular_Parallel_mode> to the GD32103C-EVAL board. Connect serial cable to EVAL_COM0, open the HyperTerminal. PC3 and PC5 pin connect to external voltage input. TIMER0_CH0 is the trigger source of ADC0 and ADC1. When the rising edge of TIMER0_CH0 coming, ADC0 and ADC1 convert the regular channel group parallelly.
  • Page 23: Dac_Output_Voltage_Value

    User Guide GD32103C-EVAL word of adc_value[1]. When the program is running, HyperTerminal displays the regular value of ADC0 and ADC1 stored in adc_value[0] and adc_value[1]. 5.10 DAC_Output_Voltage_Value 5.10.1 DEMO Purpose This demo includes the following functions of GD32 MCU: ...
  • Page 24: I2C_Eeprom

    User Guide GD32103C-EVAL 5.11 I2C_EEPROM 5.11.1 DEMO Purpose This demo includes the following functions of GD32 MCU:  Learn to use the master transmitting mode of I2C module  Learn to use the master receiving mode of I2C module ...
  • Page 25: Spi_Spi_Flash

    User Guide GD32103C-EVAL 5.12 SPI_SPI_Flash 5.12.1 DEMO Purpose This demo includes the following functions of GD32 MCU:  Learn to use the master mode of SPI unit to read and write NOR Flash with the SPI interface 5.12.2 DEMO Running Result The computer serial port line connected to the COM0 port of development board, set the baud rate of HyperTerminal software to 115200, 8 bits data bit, 1 bit stop bit.
  • Page 26: I2S_Audio_Player

    User Guide GD32103C-EVAL 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 Matching.”. At last, turn on and off the leds one by one. The following is the experimental results.
  • Page 27: Exmc_Nandflash

    5.14.2 DEMO Running Result GD32103C-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 Nand 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 28 User Guide GD32103C-EVAL 27/36...
  • Page 29: Exmc_Touchscreen

    5.15.2 DEMO Running Result GD32103C-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, JP24 must be fitted to the Lcd 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 30: Sdio_Sdcardtest

    Learn to use SDIO to erase, lock and unlock a SD card GD32103C-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 31: Can_Network

    DEMO Running Result This example is tested with two GD32103C-EVAL boards. Jump the 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 32: Pmu_Sleep_Wakeup

    User Guide GD32103C-EVAL 5.18.2 DEMO Running Result Download the program <18_RCU_Clock_Out> to the EVAL board and run. Connect serial cable to EVAL_COM0, open the HyperTerminal. When the program is running, HyperTerminal will display the initial information. Then user can choose the type of the output clock by pressing the TAMPER button.
  • Page 33: Timer_Breath_Led

    DEMO Running Result Use the DuPont line to connect the TIMER0_CH0 (PA8) and LED2 (PC0), and then download the program <21_TIMER_Breath_LED> to the GD32103C-EVAL board and run. PA8 should not be reused by other peripherals. When the program is running, you can see LED2 lighting from dark to bright gradually and then gradually darken, ad infinitum, just like breathing as rhythm.
  • Page 34: Usbd_Keyboard

     Learn how to implement USB HID(human interface) device The GD32103C-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 35: Usbd_Cdc_Acm

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

    User Guide GD32103C-EVAL Revision history Table 2. Revision history Revision No. Description Date Initial Release Nov. 16, 2015 CU version Jun. 30, 2017 Firmware Update, Consistency Jul. 31, 2018 Update Firmware Update. Routine name, LCD routine logo, SD card driver Apr.
  • Page 37 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