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 ............................
User Guide GD32103B-EVAL List of Tables Table 1. Function pin assign .......................... 4 Table 2. Revision history ..........................30 3/31...
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.
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.
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.
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.
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.
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).
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.
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.
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 ...
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.
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...
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.
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.
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.
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.
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 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.
Need help?
Do you have a question about the GD32103B-EVAL and is the answer not in the manual?
Questions and answers