Download Print this page

GigaDevice Semiconductor GD32207C-EVAL User Manual

Arm cortex-m3 32-bit mcu

Advertisement

Quick Links

GigaDevice Semiconductor Inc.
GD32207C-EVAL
®
®
Arm
Cortex
-M3 32-bit MCU
User Guide
Revision 2.2
(Oct. 2021)

Advertisement

loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for GigaDevice Semiconductor GD32207C-EVAL

  • Page 1 GigaDevice Semiconductor Inc. GD32207C-EVAL ® ® Cortex -M3 32-bit MCU User Guide Revision 2.2 (Oct. 2021)
  • Page 2: Table Of Contents

    User Guide GD32207C-EVAL Table of Contents Table of Contents ......................1 List of Figures ........................ 4 List of Tables ........................5 1. Summary ........................6 2. Function pin assignment ..................7 3. Getting started ....................... 10 4. Hardware layout overview ..................11 Power supply ......................
  • Page 3 User Guide GD32207C-EVAL USART_HyperTerminal_Interrupt ................23 5.5. 5.5.1. DEMO Purpose ........................23 5.5.2. DEMO Running Result ....................... 23 USART_DMA ......................23 5.6. 5.6.1. DEMO Purpose ........................23 5.6.2. DEMO Running Result ....................... 23 ADC_Temperature_Vrefint ..................24 5.7. 5.7.1. DEMO Purpose ........................24 5.7.2.
  • Page 4 User Guide GD32207C-EVAL 5.19.2. DEMO Running Result ....................... 37 RCU_Clock_Out ..................... 37 5.20. 5.20.1. DEMO Purpose ........................37 5.20.2. DEMO Running Result ....................... 37 PMU_sleep_wakeup ....................38 5.21. 5.21.1. DEMO Purpose ........................38 5.21.2. DEMO Running Result ....................... 38 RTC_Calendar ......................38 5.22.
  • Page 5: List Of Figures

    User Guide GD32207C-EVAL List of Figures Figure 4-1. Schematic diagram of power supply ..................11 Figure 4-2. Schematic diagram of boot option ..................11 Figure 4-3. Schematic diagram of LED function ..................12 Figure 4-4. Schematic diagram of Key function ..................12 Figure 4-5.
  • Page 6: List Of Tables

    User Guide GD32207C-EVAL List of Tables Table 2-1. Function pin assignment ......................7 Table 4-1. Boot configuration ........................11 Table 4-2. Pin jumper comparison table ....................19 Table 6-1. Revision history ........................53 5/54...
  • Page 7: Summary

    User Guide GD32207C-EVAL Summary GD32207C-EVAL evaluation board uses GD32F207VCT6 as the main controller. As a complete development platform of GD32F207xx connectivity line powered by ARM ® Cortex ® M3 core, the board supports full range of peripherals. It uses Mini USB interface or AC/DC adapter as 5V power supply.
  • Page 8: Function Pin Assignment

    User Guide GD32207C-EVAL Function pin assignment Table 2-1. Function pin assignment Function Description LED2 LED3 LED4 LED5 RESET K1-Reset KEY1 PC13 KEY2 PB14 KEY3 USBFS USB_VBUS PA11 USB_DM PA12 USB_DP PD13 VBUS control pin CAN0_RX CAN0_TX CAN1_RX CAN1_TX I2C0_SCL I2C0_SDA...
  • Page 9 User Guide GD32207C-EVAL Function Description SPI0_MISO SPI0_MOSI SPIFlash_CS ADC012_IN13 DAC_OUT0 DAC_OUT1 SDIO PC12 SDIO_CLK SDIO_CMD SDIO_DAT0 SDIO_DAT1 PC10 SDIO_DAT2 PC11 SDIO_DAT3 HSYNC VSYNC PE14 PCLK PE13 LCD_CS LCD_RS LCD_SCK LCD_MOSI T_CS T_SCK T_MOSI T_MISO T_IQR PE15 PA12 PA11 PB11 PB10...
  • Page 10 User Guide GD32207C-EVAL Function Description RESET K1-Reset ENET PB11 RMII_TX_EN PB12 RMII_TXD0 PB13 RMII_TXD1 RMII_RXD0 RMII_RXD1 RMII_CRS_DV RMII_MDC RMII_MDIO RMII_INT RMII_REF_CLK 9/54...
  • Page 11: Getting Started

    User Guide GD32207C-EVAL Getting started The EVAL Board uses Mini USB connecter to get power, the hardware system power is +3.3V. A Mini USB cable and a J-Link tool are necessary to down programs. Select the correct boot mode and then power on, the LED5 will turn on, which indicates the power supply is ready.
  • Page 12: Hardware Layout Overview

    User Guide GD32207C-EVAL Hardware layout overview 4.1. Power supply Figure 4-1. Schematic diagram of power supply Boot option 4.2. Figure 4-2. Schematic diagram of boot option BOOT0 +3V3 10KΩ BOOT0 10KΩ +3V3 BOOT1 Table 4-1. Boot configuration BOOT1 BOOT0 Boot Mode...
  • Page 13: Led

    User Guide GD32207C-EVAL 4.3. Figure 4-3. Schematic diagram of LED function 4.4. Figure 4-4. Schematic diagram of Key function +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 12/54...
  • Page 14: Usart

    User Guide GD32207C-EVAL USART 4.5. Figure 4-5. Schematic diagram of USART0 USART0 +3V3 50V/0.1uF MAX3232CSE+ 50V/0.1uF Short JP5(1,2)for USART0 function 50V/0.1uF Short JP5(2,3)for USB_FS function 50V/0.1uF 50V/0.1uF USART0_TX T1IN T1OUT USB_VBUS USART0_TX RS232_TX0 T2IN T2OUT HEADER 3 R1OUT R1IN PA10...
  • Page 15: I2C

    User Guide GD32207C-EVAL 4.7. Figure 4-7. Schematic diagram of I2C +3V3 50V/0.1uF 4.7KΩ 4.7KΩ I2C0_SCL I2C0_SDA AT24C02C-SSHM-T PB6 is an AFIO, please refer to CAN Schematic for right config SPI-Serial Flash 4.8. Figure 4-8. Schematic diagram of SPI-Serial Flash Standard & Quad SPI Flash...
  • Page 16: Usb

    User Guide GD32207C-EVAL 4.9. Figure 4-9. Schematic diagram of USB 10KΩ PD13 S8550 470R +U5V 16V/10uF,AVX 50V/0.1uF PA9 is AFIO, please refer to USART schematic for correct config USB_VBUS VBUS PA11 USB_DM PA12 USB_DP Short JP25(1,2) for TLI function Short JP26(1,2) for TLI function...
  • Page 17: Rtc

    User Guide GD32207C-EVAL 4.11. Figure 4-11. Schematic diagram of RTC 4.12. Figure 4-12. Schematic diagram of LCD HSYNC VSYNC JP23 PE14 PCLK LCD_CS LCD_RS LCD_CS PE13 LCD_SCK LCD_RS NRST PE15 SPI0_SCK LCD_SCK SPI0_MOSI LCD_MOSI PA12 LCD_R5 R[7:3] PA11 LCD_R4 PA11,PA12 are AFIOs, please refer to...
  • Page 18: Exmc-Nand Flash

    User Guide GD32207C-EVAL EXMC-NAND Flash 4.13. Figure 4-13. Schematic diagram of EXMC-NAND Flash Nand Flash JP24 LCD_CS +3V3 EXMC_NE1 +3V3 Nand_CS EXMC_D7 VDD1 EXMC_D6 50V/0.1uF 50V/0.1uF VDD2 HEADER 3 EXMC_D5 EXMC_D4 VSS1 PD0,PD1 are AFIOs, please refer to CAN schematic for right config...
  • Page 19: Gd-Link

    User Guide GD32207C-EVAL GD-Link 4.15. Figure 4-15. Schematic diagram of GD-Link SDIO 4.16. Figure 4-16. Schematic diagram of 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 10KΩ +3V3 SDIO_CMD...
  • Page 20: Extension

    Pin jumper comparison table 4.18. The GD32207C-EVAL evaluation boards involved in this paper all mean to the GD32207C- EVAL-V1.2 evaluation board, the pin jumpers involved in this paper are based on the GD32207C-EVAL-V1.2 evaluation board hardware schematic, the following table is a pin jumper comparison table.
  • Page 21 User Guide GD32207C-EVAL Hardware Schematic User Manual PCB Screen Printing P4(2,3) for CAN1 P4(2,3) for CAN1 P4(2,3) for CAN2 JP25(1,2) for TLI JP25(1,2) for TLI JP25(1,2) for Lcd JP26(1,2) for TLI JP26(1,2) for TLI JP26(1,2) for Lcd 20/54...
  • Page 22: Routine Use Guide

    Learn to use SysTick to generate 1ms delay  GD32207C-EVAL evaluation board has three keys and four LEDs. The three keys are Tamper key, Wakeup key and User key. LED2~LED5 are controlled by GPIO. This demo will show how to use the Tamper key to control the LED2. When press down the Tamper Key, it will check the input value of the IO port.
  • Page 23: Exti_Key_Interrupt_Mode

     Learn to use EXTI to generate external interrupt GD32207C-EVAL evaluation board has three keys and four LEDs. The three keys are Tamper key, Wakeup key and User key. LED2~LED5 are controlled by GPIO. This demo will show how to use the EXTI interrupt line to control the LED2.When press down the Tamper Key, it will produce an interrupt.
  • Page 24: Usart_Hyperterminal_Interrupt

    User Guide GD32207C-EVAL 5.5. USART_HyperTerminal_Interrupt DEMO Purpose 5.5.1. 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 DEMO Running Result 5.5.2. Download the program <05_USART_HyperTerminal_Interrupt> to the EVAL board, fit the JP5 to USART and connect serial cable to USART0.
  • Page 25: Adc_Temperature_Vrefint

    User Guide GD32207C-EVAL USART will continue to output the received data to the hyper terminal. The output information via the HyperTerminal is as following: 5.7. ADC_Temperature_Vrefint DEMO Purpose 5.7.1. This demo includes the following functions of GD32 MCU:  Learn to use the ADC to convert analog signal to digital data ...
  • Page 26: Adc0_Adc1_Follow_Up_Mode

    User Guide GD32207C-EVAL Download the program <07_ADC_Temperature_Vrefint> to the EVAL board, the HyperTerminal software can observe the operation condition. When the program is running, HyperTerminal will display the value of temperature and internal voltage reference (VREFINT). Notice: because there is an offset, when inner temperature sensor is used to detect accurate temperature, an external temperature sensor part should be used to calibrate the offset error.
  • Page 27: Adc0_Adc1_Regular_Parallel_Mode

    User Guide GD32207C-EVAL TIMER0_CH0 coming, ADC0 starts immediately and ADC1 starts after a delay of several ADC clock cycles. The values of ADC0 and ADC1 are transmitted to array adc_value by DMA. When the rising edge of TIMER0_CH0 coming, the value of the ADC0 conversion of PC3 pin is stored into the low half word of adc_value, and after a delay of several ADC clock cycles the value of the ADC1 conversion of PC3 pin is stored into the high half word of adc_value.
  • Page 28: Dac_Output_Voltage_Value

    User Guide GD32207C-EVAL When the first rising edge of TIMER0_CH0 coming, the value of the ADC0 conversion of PC3 pin is stored into the low half word of adc_value[0], the value of the ADC1 conversion of PC5 pin is stored into the high half word of adc_value[0]. When the second rising edge of...
  • Page 29: I2C_Eeprom

    User Guide GD32207C-EVAL 5.11. I2C_EEPROM Demo Purpose 5.11.1. 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 30: Spi_Qspi_Flash

    DEMO Purpose 5.12.1. This demo use SPI0 interface of GD32207C-EVAL evaluation board to read and write SPI NOR FLASH at quad SPI mode. The SPI NOR FLASH is a serial FLASH memory chip GD25Q16B which size is 16Mbit. The chip supports standard SPI and quad SPI operation instructions.
  • Page 31: Exmc_Nandflash

    DEMO Running Result 5.13.2. GD32207C-EVAL evaluation board has EXMC module to control NAND flash. Before running the demo, JP24 must be fitted to Nand, P2 and P3 must be fitted to EXMC, JP5 must be fitted to USART0. Download the program <13_EXMC_NandFlash> to the EVAL board. This demo shows the write and read operation process of NAND flash memory by EXMC module.
  • Page 32: Trng_Get_Random

    User Guide GD32207C-EVAL 5.14. TRNG_Get_Random DEMO Purpose 5.14.1. This demo includes the following functions of GD32 MCU:  Learn to use TRNG to generate the random number  Learn to communicate with PC by USART DEMO Running Result 5.14.2. Jump the JP5 to USART1 with the jumper cap, and download the program <14_TRNG_Get_Random>...
  • Page 33: Cau

    User Guide GD32207C-EVAL 5.15. DEMO Purpose 5.15.1. This demo includes the following functions of GD32 MCU:  Learn DES, Triple-DES and AES algorithm  Learn Electronic codebook (ECB) mode, Cipher block chaining (CBC) mode and Counter mode (CTR) mode ...
  • Page 34 User Guide GD32207C-EVAL And then restart for users to select a different algorithm and mode to repeat demo, as shown below. 33/54...
  • Page 35: Hau

    User Guide GD32207C-EVAL 5.16. DEMO Purpose 5.16.1. This demo includes the following functions of GD32 MCU:  Learn SHA-1, SHA-224, SHA-256 and MD5 algorithm  Learn HASH mode and HMAC (keyed-hash message authentication code) mode  Learn to use HAU to calculate digest for the input message ...
  • Page 36: Tamper_Detection

    User Guide GD32207C-EVAL 5.17. Tamper_Detection DEMO Purpose 5.17.1. This demo includes the following functions of GD32 MCU:  Learn BKP tamper function DEMO Running Result 5.17.2. Download the program <17_Tamper_Detection> to the EVAL board and run. It writes the data to all backup data registers, then check whether the data were correctly written.
  • Page 37: Demo Running Result

    User Guide GD32207C-EVAL card. DEMO Running Result 5.18.2. Jump the JP5 to USART1 to show the print message through HyperTerminal, and download the program <18_SDIO_SDCardTest> to the EVAL board and run. Connect serial cable to EVAL_COM0, and open the HyperTerminal. Firstly, all the LEDs flash once for test. Then initialize the card and print out the information of the card.
  • Page 38: Demo Running Result

     Learn to use the CAN0 communication between two boards GD32207C-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.
  • Page 39: Pmu_Sleep_Wakeup

    DEMO Purpose 5.22.1. GD32207C-EVAL evaluation board integrated RTC (clock Real-time) real-time clock. If the battery has been installed, the accuracy of the current date and time can be guaranteed when the system is reset or power down RTC is essentially an independent timer, usually used for calendar clocks.
  • Page 40 User Guide GD32207C-EVAL According to the serial port output information prompt, setting time, serial port will print out the current time every second, as shown below. If the development board is not the first run of the program, time has been set up in the last run, after the system reset or battery power restart, as shown below, serial port output following information "...
  • Page 41: Timer_Breath_Led

    User Guide GD32207C-EVAL 5.23. TIMER_Breath_LED DEMO Purpose 5.23.1. This demo includes the following functions of GD32 MCU:  Learn to use Timer output PWM wave  Learn to update channel value DEMO Running Result 5.23.2. Use the DuPont line to connect the TIMER1 CH2 (PA2) and LED2 (PC0), and then download the program <23_TIMER_Breath_LED>...
  • Page 42: Enet

    User Guide GD32207C-EVAL macro (USE_LCD_VERSION_x_y) according to the specific version number of LCD. Download the program <24_TLI_without_GUI> to the EVAL board and run. After downloading program to board, a running cheetah on the background of GD logo is appeared on the LCD, which outputs as following.
  • Page 43 Learn how to use DHCP to allocate ip address automatically This demo is based on the GD32207C-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 44 User Guide GD32207C-EVAL Using Network assistant software, configure the pc side to tcp server, using 10260 port, 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 45: Raw_Tcpudp

    Learn to handle with received packet in polling mode and in interrupt mode This demo is based on the GD32207C-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 46 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 GD32207C-EVAL evaluation board, or server according to the actual net situation from the private defines in main.h.
  • Page 47 User Guide GD32207C-EVAL 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 send something through the assistant, users can see the echo reply from the board: Open the DHCP function in main.h, using a router to connect the board with the pc, users can...
  • Page 48: Raw_Webserver

    Learn to handle with received packet in polling mode and in interrupt mode This demo is based on the GD32207C-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 49 User Guide GD32207C-EVAL The LED control page shows as below: 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.
  • Page 50: Usb_Device

     Learn how to implement USB HID(human interface) device GD32207C-EVAL board has four keys and one USB_FS interface. The four keys are Reset key, Wakeup key, Tamper key, User key. In this demo, the GD32207C-EVAL board is enumerated as an USB Keyboard, which uses the native PC Host HID driver, as shown below.
  • Page 51: Msc_Udisk

    User Guide GD32207C-EVAL MSC_Udisk 5.26.2. DEMO Purpose This demo includes the following functions of GD32 MCU:  Learn how to use the USB_FS peripheral mode  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 52: Usb_Host

    Learn the operation between the HID host and the keyboard device GD32207C-EVAL evaluation 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 53: Msc_Host

    Learn the operation between the MSC host and the Udisk  GD32207C-EVAL evaluation 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 MSC host to communicate with external Udisk.
  • Page 54: Revision History

    User Guide GD32207C-EVAL Revision history Table 6-1. Revision history Revision No. Description Date Initialize version Jul. 15th, 2015 Update version Jun. 5th, 2017 Update EVAL board Oct. 31st, 2018 Rebase version Oct. 31st, 2021 53/54...
  • Page 55 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.