Advertisement

Quick Links

GigaDevice Semiconductor Inc.
GD32103B-EVAL
User Guide
V2.1

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for GigaDevice Semiconductor GD32103B-EVAL

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

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

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

    GD32103B-EVAL Summary GD32103B-EVAL uses GD32F103VBT6 as the main controller. It uses Mini USB interface to supply 5V power. SWD, Reset, Boot, User button key, LED, CAN, I2C, USART, RTC, LCD, SPI, ADC, EXMC, USBD, GD-Link and Extension Pins are also included. For more details please refer to GD32103B-EVAL-V1.2 schematic.
  • Page 6 User Guide GD32103B-EVAL 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 PD11 EXMC_A16 PD12 EXMC_A17 PD13 EXMC_A18 EXMC_NOE EXMC_NWE EXMC_NE0 EXMC_NBL0 EXMC_NBL1 EXMC_NADV PD14 EXMC_D0 PD15 EXMC_D1 EXMC_D2 EXMC_D3 EXMC_D4 EXMC_D5...
  • Page 7: Getting Started

    User Guide GD32103B-EVAL Getting started The EVAL board uses Mini USB connecter 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 8: Hardware Layout Overview

    User Guide GD32103B-EVAL Hardware layout overview Power +U5V AMS1117-3.3 +3V3 LED1 16V/10uF,AVX 16V/10uF,AVX Vout 470Ω LED0603 SMD1210P005TF 50V/0.1uF 50V/0.1uF +3V3 VDDA +3V3 VREF+ EBLS1608-3R3K EBLS1608-3R3K 50V/0.1uF 50V/0.1uF 0Ω 0Ω VSSA VREF- Boot BOOT1 BOOT0 Boot Mode User memory System memory...
  • Page 9: Led

    User Guide GD32103B-EVAL +3V3 +3V3 +3V3 10KΩ 10KΩ 10KΩ PC13 K-1102B K-1102B K-1102B 50V/0.1uF 50V/0.1uF 50V/0.1uF BEEP +U5V BUZZER-5V 8050 1KΩ 10KΩ 8/31...
  • Page 10: Usart

    User Guide GD32103B-EVAL USART USART1 +3V3 50V/0.1uF C17 50V/0.1uF 50V/0.1uF MAX3232CSE+ 50V/0.1uF 50V/0.1uF USART1_TX RS232_TX1 T1IN T1OUT USART1_RTS RS232_RTS1 T2IN T2OUT RS232_RX1 R1OUT R1IN RS232_CTS1 R2OUT R2IN COM2 USART0 +3V3 C24 50V/0.1uF C23 50V/0.1uF 50V/0.1uF MAX3232CSE+ 50V/0.1uF 50V/0.1uF RS232_TX0 T1IN...
  • Page 11: Spi

    User Guide GD32103B-EVAL 4.10 +3V3 50V/0.1uF CAN_TX 0Ω CAN_RX CANH CANH CANL 120Ω CANL HEADER 2 Vref SN65HVD230 10/31...
  • Page 12: Sram

    User Guide GD32103B-EVAL 4.11 SRAM SRAM EXMC_A18 EXMC_AD15 IO15 EXMC_A17 EXMC_AD14 IO14 EXMC_A16 EXMC_AD13 IO13 EXMC_A15 EXMC_AD12 IO12 EXMC_A14 EXMC_AD11 IO11 EXMC_A13 EXMC_AD10 IO10 EXMC_A12 EXMC_AD9 JP11 JP12 JP13 EXMC_A11 EXMC_AD8 EXMC_NE0_SRAM EXMC_NOE EXMC_NWE EXMC_A10 EXMC_AD7 EXMC_A9 EXMC_AD6 EXMC_NE0_LCD USART1_RTS...
  • Page 13: Lcd

    User Guide GD32103B-EVAL 4.12 +3V3 JP11 JP12 JP13 EXMC_AD0 EXMC_AD1 EXMC_NE0_SRAM EXMC_NOE EXMC_NWE EXMC_AD2 EXMC_AD3 EXMC_AD4 EXMC_AD5 EXMC_NE0_LCD USART1_RTS USART1_TX EXMC_AD6 EXMC_AD7 EXMC_AD8 EXMC_AD9 HEADER 3 HEADER 3 HEADER 3 EXMC_AD10 EXMC_AD11 EXMC_AD12 EXMC_AD13 EXMC_AD14 EXMC_AD15 EXMC_NE0_LCD EXMC_A23 EXMC_NWE EXMC_NOE...
  • Page 14: Extension

    User Guide GD32103B-EVAL 4.14 Extension PC13 +3V3 PE10 PE11 PE12 PE13 PE14 PE15 PB10 PB11 PC12 PB13 PB12 PC10 PC11 PB15 PB14 PA14 PA15 PA13 PD10 PA12 PA11 PD11 PD12 PA10 PD13 PD14 PD15 +3V3 +3V3 25x2P2.54 25x2P2.54 4.15 GD-Link...
  • Page 15: Routine Use Guide

     Learn to use SysTick to generate 1ms delay GD32103B-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 16: Exti_Key_Interrupt_Mode

     Learn to use EXTI to generate external interrupt GD32103B-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 17: Usart_Hyperterminal_Interrupt

    User Guide GD32103B-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 18: 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 GD32103B-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 19: 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 GD32103B-EVAL board. Connect serial cable to EVAL_COM0, open the HyperTerminal. PC4 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 20: 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 GD32103B-EVAL board. Connect serial cable to EVAL_COM0, open the HyperTerminal. PC4 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 21: I2C_Eeprom

    User Guide GD32103B-EVAL stored in adc_value[0] and adc_value[1]. 5.10 I2C_EEPROM 5.10.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 22: Spi_Spi_Flash

    User Guide GD32103B-EVAL 5.11 SPI_SPI_Flash 5.11.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.11.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 23: Exmc_Sram

    User Guide GD32103B-EVAL Matching.”. At last, turn on and off the leds one by one. The following is the experimental results. 5.12 EXMC_SRAM 5.12.1 DEMO Purpose This demo includes the following functions of GD32 MCU:  Learn to use EXMC control the SRAM...
  • Page 24: Exmc_Touchscreen

    5.12.2 DEMO Running Result GD32103B-EVAL board has EXMC module to control SRAM. Before running the demo, JP10、 JP12、JP13、JP14 and JP15 must be fitted to the EXMC port, JP11 must be fitted to the sram port. Download the program <12_EXMC_SRAM> to the EVAL board. This demo shows the write and read operation process of SRAM memory by EXMC module.
  • Page 25: Can_Network

    DEMO Running Result This example is tested with two GD32103B-EVAL boards. Jump the JP14 and JP15 to CAN with the jumper cap. Connect L pin to L pin and H pin to H pin of JP6 on the boards for sending and receiving frames.
  • Page 26: Rcu_Clock_Out

    User Guide GD32103B-EVAL transmit data!” to the HyperTerminal. The frames are sent and the transmit data are printed by pressing Tamper Key push button. When the frames are received, the receive data will be printed and the LED2 will toggle one time.
  • Page 27: Rtc_Calendar

    User Guide GD32103B-EVAL  Learn to use the USART receive interrupt to wake up the PMU from sleep mode 5.16.2 DEMO Running Result Download the program < 16_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.
  • Page 28: Timer_Breath_Led

     Learn how to implement USB HID(human interface) device The GD32103B-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 29  Learn how to implement USB CDC device GD32103B-EVAL board has one USBD interface. In this demo, the GD32103B-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 30 User Guide GD32103B-EVAL 29/31...
  • Page 31 User Guide GD32103B-EVAL Revision history Table 2. Revision history Revision No. Description Date Initial Release Dec. 26, 2014 Firmware Update Jun. 30, 2017 Firmware Update. Routine name, LCD routine logo, SD card driver Apr. 30. 2021 update 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