User Guide GD32107C-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 GD32107C-EVAL List of Tables Table 1 Function pin assign ........................... 4 Table 2 Revision history ..........................42 3/43...
GD32107C-EVAL Summary GD32107C-EVAL uses GD32F107VCT6 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, ENET, USBFS and Extension Pins are also included.
User Guide GD32107C-EVAL RMII_MDC RMII_MDIO RMII_INT RMII_REF_CLK 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. A J-Link tool is necessary in order to download and debug programs.
User Guide GD32107C-EVAL 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...
User Guide GD32107C-EVAL 4.14 ENET +3V3 C35 50V/0.1uF 49.9Ω 49.9Ω 50V/0.1uF 49.9Ω 49.9Ω 240Ω 240Ω JP16 PB12 and PB13 are AFIOs,refer to I2S schematic for right config PA2 is an AFIO, refer to USART schematic for right config PA7 is an AFIO, refer to SPI schematic for right config...
Learn to use SysTick to generate 1ms delay GD32107C-EVAL board has four keys and four LEDs. The five keys are Reset key, Tamper key, Wakeup key, User key. The LED2, LED3, LED4 and LED5 are controlled by GPIO. This demo will show how to use the Tamper key to control the LED3. When press down the Tamper Key, it will check the input value of the IO port.
Learn to use EXTI to generate external interrupt GD32107C-EVAL board has four keys and four LEDs. The five keys are Reset key, Tamper key, Wakeup key, User key. The LED2, LED3, LED4 and LED5 are controlled by GPIO. This demo will show how to use the EXTI interrupt line to control the LED3.When press down the Tamper Key, it will produce an interrupt.
User Guide GD32107C-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, jump the JP5 to USART with the jumper cap and connect serial cable to EVAL_COM0.
DEMO Running Result Jump the JP5 to USART with the jumper cap, and then download the program <07_ADC_Temperature_Vrefint> to the GD32107C-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).
5.8.2 DEMO Running Result Jump the JP5 to USART0 with the jumper cap, and then download the program <08_ADC0_ADC1_Follow_up_mode> to the GD32107C-EVAL board. Connect serial cable to EVAL_COM0, open the HyperTerminal. PC3 and PC5 pin voltage access by external voltage.
5.9.2 DEMO Running Result Jump the JP5 to USART0 with the jumper cap, and then download the program <09_ADC0_ADC1_Regular_Parallel_mode> to the GD32107C-EVAL board. Connect serial cable to EVAL_COM0, open the HyperTerminal. PC3 and PC5 pin connect to external voltage input.
User Guide GD32107C-EVAL pin is stored into the high half word of adc_value[0]. When the second rising edge of TIMER0_CH0 coming, the value of the ADC0 conversion of PC5 pin is stored into the low half word of adc_value[1], the value of the ADC1 conversion of PC3 pin is stored into the high half word of adc_value[1].
User Guide GD32107C-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 ...
User Guide GD32107C-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.
User Guide GD32107C-EVAL Matching.”. At last, turn on and off the leds one by one. The following is the experimental results. 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 Parsing audio files of wav format...
5.14.2 DEMO Running Result GD32107C-EVAL board has EXMC module to control NAND flash. Before running the demo, JP5 must be fitted to USART, 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.
5.15.2 DEMO Running Result GD32107C-EVAL board has EXMC module to control LCD. Before running the demo, JP12 and JP13 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.
Learn to use the CAN0 communication between two boards GD32107C-EVAL development board integrates the CAN(Controller Area Network) bus controller, which is a common industrial control bus. CAN bus controller follows the CAN bus protocol of 2.0 A and 2.0 B. This demo mainly shows how to communicate two EVAL boards through CAN0.
User Guide GD32107C-EVAL the Tamper key to 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 GD32107C-EVAL 5.18 PMU_sleep_wakeup 5.18.1 DEMO Purpose This demo includes the following functions of GD32 MCU: Learn to use the USART receive interrupt to wake up the PMU from sleep mode 5.18.2 DEMO Running Result Download the program < 18_PMU_sleep_wakeup > to the EVAL board, jump the JP5 to USART with the jumper cap and connect serial cable to EVAL_COM0.
DEMO Running Result Use the DuPont line to connect the TIMER0_CH0 (PA8) and LED2 (PC0), and then download the program <20_TIMER_Breath_LED> to the GD32107C-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.
Learn how to use DHCP to allocate ip address automatically This demo is based on the GD32107C-EVAL evaluation board, it shows how to configure the enet peripherals to send and receive frames in normal mode and use lwip tcp/ip stack to realize ping, telnet and server/client functions.
Page 33
User Guide GD32107C-EVAL DEMO Running Result Download the program <FreeRTOS_tcpudp> to the EVAL board, LED3 will light every 500ms. Using Network assistant software, configure the pc side to tcp client, using 8000 port, and when send something through the assistant, users can see the reply from the server:...
Page 34
Learn to handle with received packet in polling mode and in interrupt mode This demo is based on the GD32107C-EVAL evaluation board, it shows how to configure the enet peripherals to send and receive frames in normal mode and use lwip tcp/ip stack to realize ping, telnet and server/client functions.
Page 35
If users need dhcp function, it can be configured from the private defines in main.h. This function is closed in default. Note: Users should configure ip address, mask and gw of GD32107C-EVAL evaluation board, or server according to the actual net situation from the private defines in main.h.
Page 36
User Guide GD32107C-EVAL Using Network assistant software, configure the pc side to tcp server, using 10260 port, press the Tamper key, and when send something through the assistant, users can see the echo reply from the client: Using Network assistant software, configure to use udp protocol, using 1025 port, and when...
Page 37
Learn to handle with received packet in polling mode and in interrupt mode This demo is based on the GD32107C-EVAL evaluation board, it shows how to configure the enet peripherals to send and receive frames in normal mode and use lwip tcp/ip stack to realize webserver application.
Page 38
By default, the packet reception is polled in while(1). If users want to receive packet in interrupt service, uncomment the macro define USE_ENET_INTERRUPT in main.h. Note: Users should configure ip address, mask and gw of GD32107C-EVAL evaluation board according to the actual net situation from the private defines in main.h.
Page 39
User Guide GD32107C-EVAL The ADC monitor page shows as below: Open the DHCP function in main.h, using a router to connect the board, and use the HyperTerminal to print the automatic allocated ip address, then connect your mobile phone to the wifi which the router send. Users can visit the eval board and control it on your mobile phone.
Learn how to implement USB HID(human interface) device The GD32107C-EVAL board is enumerated as an USB Keyboard, which uses the native PC Host HID driver, as shown below. The USB Keyboard use 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 ‘wakeup’...
User Guide GD32107C-EVAL This demo includes the following functions of GD32 MCU: Learn how to use the USBFS Learn how to implement USB MSC(mass storage) device This demo mainly implements a U disk. U disk is currently very widely used removable MSC devices.
Page 42
Learn the operation between the HID host and the keyboard device GD32107C-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 44
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 GD32107C-EVAL and is the answer not in the manual?
Questions and answers