Table of Contents

Advertisement

Quick Links

GigaDevice Semiconductor Inc.
GD32E507Z-EVAL
User Guide
V1.2

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for GigaDevice Semiconductor GD32E507Z-EVAL

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

    User Guide GD32E507Z-EVAL Tables of Contents TABLES OF CONTENTS ....................1 LIST OF FIGURES ......................4 LIST OF TABLES ......................5 1. SUMMARY ........................ 6 2. FUNCTION PIN ASSIGN ................... 6 3. GETTING STARTED ....................8 4. HARDWARE LAYOUT OVERVIEW ................8 4.1.
  • Page 3 User Guide GD32E507Z-EVAL 5.4.2. DEMO running result ......................17 5.5. USART_HyperTerminal_Interrupt ................18 5.5.1. DEMO purpose ........................18 5.5.2. DEMO running result ......................18 5.6. USART_DMA ......................18 5.6.1. DEMO purpose ........................18 5.6.2. DEMO running result ......................18 5.7.
  • Page 4 User Guide GD32E507Z-EVAL 5.19.1. DEMO purpose ........................28 5.19.2. DEMO running result ......................29 5.20. PMU_Sleep_Wakeup ....................29 5.20.1. DEMO purpose ........................29 5.20.2. DEMO running result ......................29 5.21. RTC_Calendar ......................29 5.21.1. DEMO purpose ........................29 5.21.2. DEMO running result ......................29 5.22.
  • Page 5: List Of Figures

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

    User Guide GD32E507Z-EVAL List of Tables Table 2-1. Function pin assignment ......................6 Table 6-1. Revision history ........................42 5/43...
  • Page 7: Summary

    GD32E507Z-EVAL Summary GD32E507Z-EVAL uses GD32E507ZET6 as the main controller. It uses GD-Link Mini USB interface to supply 5V power. Reset, Boot, K2, LED, I2S, I2C-EEPROM, LCD, NAND Flash, SQPI-Flash, USB, Ethernet and USART to USB interface are also included. For more details please refer to GD32E507Z-EVAL-Rev1.1 schematic.
  • Page 8 User Guide GD32E507Z-EVAL Function Description PD15 EXMC_D1 EXMC_D2 EXMC_D3 EXMC_D4 EXMC_D5 EXMC_D6 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 EXMC_D4 EXMC_D5 EXMC_D6 PE10 EXMC_D7 PE11 EXMC_D8 PE12 EXMC_D9 PE13 EXMC_D10 PE14...
  • Page 9: Getting Started

    User Guide GD32E507Z-EVAL Function Description PB15 RMII_INT RMII_REF_CLK USB_VBUS PA11 USB_DM PA12 USB_DP PD13 USB_ID Getting started The EVAL board uses GD-Link Mini USB connecter to get power DC +5V, which is the hardware system normal work voltage. A GD-Link on board is necessary in order to download and debug programs.
  • Page 10: Led

    User Guide GD32E507Z-EVAL 4.3. Figure 4-3. Schematic diagram of LED function 4.4. Figure 4-4. Schematic diagram of Key function KEY_A KEY_Cet KEY_A KEY_B KEY_D PC13 KEY_B KEY_C PF13 KEY_C PF14 KEY_D PF15 KEY_Cet K1-1506SN-01 +3V3 10KΩ 10KΩ 10KΩ 10KΩ 10KΩ...
  • Page 11: Dac

    User Guide GD32E507Z-EVAL 4.6. Figure 4-6. Schematic diagram of DAC 4.7. Figure 4-7. Schematic diagram of CAN Short P2(1,2) for EXMC function Short P2(2,3) for CAN0 function CAN0_TX +3V3 EXMC_D3 50V/0.1uF MHDR1X3 JP11 CAN0_TX 0Ω CAN0_RX CAN0H CANH Short P3(1,2) for EXMC function CAN0L 120Ω...
  • Page 12: I2C

    User Guide GD32E507Z-EVAL USART0 To USB +3V3 VBUS 50V/0.01uF RS232_TX USART0_TX RS232_RX PA10 RTS# +3V3 CTS# TNOW CH340E 50V/0.1uF Shield Mini_USB 1MΩ 50V/4700pF 4.9. Figure 4-9. Schematic diagram of I2C +3V3 50V/0.1uF 4.7KΩ 4.7KΩ I2C0_SCL I2C0_SDA AT24C02C-SSHM-T 4.10. Figure 4-10. Schematic diagram of I2S 10KΩ...
  • Page 13: Nand

    User Guide GD32E507Z-EVAL 4.12. NAND Figure 4-12. Schematic diagram of NAND +3V3 +3V3 EXMC_D3 EXMC_D7 VDD1 EXMC_D6 VDD2 MHDR1X3 EXMC_D5 50V/0.1uF 50V/0.1uF EXMC_D4 VSS1 EXMC_D3 VSS2 EXMC_D2 EXMC_D1 EXMC_D2 EXMC_D0 +3V3 MHDR1X3 R49 10KΩ EXMC_A16 +3V3 EXMC_A17 EXMC_NWE EXMC_NOE +3V3 10KΩ...
  • Page 14: Ethernet

    User Guide GD32E507Z-EVAL 4.14. Ethernet Figure 4-14. Schematic diagram of Ethernet +3V3 C34 50V/0.1uF JP10 JP14 JP15 JP16 I2S1_SD I2S1_CK I2S1_WS SPI0_MOSI 49.9Ω 49.9Ω 50V/0.1uF PB15 PB13 PB12 RMII_INT RMII_TXD1 RMII_TXD0 RMII_CRS_DV 49.9Ω 49.9Ω 240Ω 240Ω JP12 HEADER 3 HEADER 3...
  • Page 15: Gd-Link

    User Guide GD32E507Z-EVAL Extension Pin PB12 PB13 PA14 PA15 PB14 PB15 PC10 PC11 PC12 VBAT PC13 PC14 PD10 PD11 PC15 PD12 PD13 PF11 PF12 PD14 PD15 PF13 PF14 PF15 PG10 PG11 PG12 PG13 PF10 PG14 PG15 OSC_IN OSC_OUT PE10 PE11...
  • Page 16: Mcu

    User Guide GD32E507Z-EVAL 4.18. Figure 4-18. Schematic diagram of MCU +3V3 +3V3 +3V3 +3V3 +3V3 +3V3 GD32F507ZE T6 PG10 PG10 PG11 PG11 PG12 PG12 PG13 PG13 PA10 PG14 PA10 PG14 PA11 PG15 PA11 PG15 PA12 PA12 PA13 PA13/JTM S-SWDIO PA14...
  • Page 17: Routine Use Guide

     Learn to use SysTick to generate 1ms delay GD32E507Z-EVAL-V1.0 board has five user keys and four LEDs. The keys are KEY_A, KEY_B, KEY_C, KEY_D and KEY_Cet. The LEDs are controlled by GPIO. This demo will show how to light the LEDs.
  • Page 18: Exti_Key_Interrupt_Mode

     Learn to use EXTI to generate external interrupt GD32E507Z-EVAL-V1.0 board has five user keys and four LEDs. The keys are KEY_A, KEY_B, KEY_C, KEY_D, and KEY_Cet. The LEDs are controlled by GPIO. This demo will show how to use the EXTI interrupt line to control the LED2. When press down the KEY_B, it will produce an interrupt.
  • Page 19: Usart_Hyperterminal_Interrupt

    User Guide GD32E507Z-EVAL 5.5. 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 HyperTerminal. 5.5.2. DEMO running result Download the program <05_USART_HyperTerminal_Interrupt> to the EVAL board, connect serial cable to USART0 and jump JP13 to USART.
  • 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 GD32E507Z-EVAL-V1.0 board. Connect serial cable to USART0, open the HyperTerminal. When the program is running, HyperTerminal display the value of temperature and internal voltage reference.
  • 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 GD32E507Z-EVAL-V1.0 board. Connect serial cable to USART0, open the HyperTerminal. PC3 and PC5 pin voltage access by external voltage. TIMER1_CH1 is the trigger source of ADC0 and ADC1. When the rising edge of TIMER1_CH1 coming, ADC0 starts immediately and ADC1 starts after a delay of several ADC clock cycles.
  • Page 22: Adc0_Adc1_Regular_Parallel_Mode

    User Guide GD32E507Z-EVAL 5.9. ADC0_ADC1_Regular_Parallel_mode 5.9.1. DEMO purpose This demo includes the following functions of GD32 MCU:  Learn to use the ADC to convert analog signal to digital data  Learn to use ADC0 and ADC1 regular parallel mode 5.9.2.
  • Page 23: Adc_Channel_Differential_Mode

    Learn to use ADC channel differential mode 5.10.2. DEMO running result Download the program <10_ADC_Channel_Differential_mode > to the GD32E507Z-EVAL- V1.0 board. Connect serial cable to USART0. Software is the trigger source of ADC0, and the continuous function is enabled. ADC0_IN12 (PC2) is configured in differential input mode.
  • Page 24: Demo Running Result

    User Guide GD32E507Z-EVAL 5.11.2. DEMO running result Download the program <11_DAC_Output_Voltage_Value> to the EVAL board and run, all the LEDs will turn on and turn off for test. The digital value is 0x7FF0, its converted analog voltage should be 1.65V (VREF/2), using the voltmeter to measure PA4 or DAC_OUT0 on JP5, its value is 1.65V.
  • Page 25: Spi_Sqpi_Flash

    User Guide GD32E507Z-EVAL 5.13. SPI_SQPI_Flash 5.13.1. DEMO purpose This demo includes the following functions of GD32 MCU:  Learn to use the SQPI unit to read and write NOR Flash with the SQPI interface 5.13.2. DEMO running result The computer serial port line connected to the USART0 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

    5.15.2. DEMO running result GD32E507Z-EVAL board has EXMC module to control NAND flash. Before running the demo, JP13 must be fitted to USART0, P2 and P3 must be fitted to the EXMC port, JP22 must be fitted to the Nwait port. Download the program <15_EXMC_NandFlash> to the EVAL board.
  • Page 27: Exmc_Touchscreen

    5.16.2. DEMO running result GD32E507Z-EVAL board has EXMC module to control LCD. Before running the demo, JP16 must be fitted to the SPI0 port, P2 and P3 must be fitted to the EXMC port. Download the program <16_EXMC_TouchScreen> to the EVAL board. This demo displays GigaDevice logo and four green buttons on the LCD screen by EXMC module.
  • Page 28: Can

    User Guide GD32E507Z-EVAL 5.17. 5.17.1. DEMO purpose This demo includes the following functions of GD32 MCU:  Learn to use CAN0 to realize communication between two boards.  Learn to use USART module to communicate with the HyperTerminal. 5.17.2. DEMO running result This demo is tested with at least two GD32E507Z EVAL board.
  • Page 29: Rcu_Clock_Out

    User Guide GD32E507Z-EVAL 5.18. RCU_Clock_Out 5.18.1. DEMO purpose This demo includes the following functions of GD32 MCU:  Learn to use GPIO control the LED  Learn to use the clock output function of RCU  Learn to communicate with PC by USART 5.18.2.
  • Page 30: Demo Running Result

    User Guide GD32E507Z-EVAL 5.19.2. DEMO running result Download the program <19_CTC_Calibration> to the EVAL board and run. If the clock trim is OK, LED2 will be on. Otherwise, LED2 will be turned off. 5.20. PMU_Sleep_Wakeup 5.20.1. DEMO purpose This Demo includes the following functions of GD32 MCU: ...
  • Page 31: Shrtimer_Timer_Breath_Led

    This demo includes the following functions of GD32 MCU:  Learn to use TMU operation mode for calculation  Learn to use USART module to communicate with the HyperTerminal 5.23.2. DEMO running result This demo is based on the GD32E507Z-EVAL-V1.0 board, download the program 30/43...
  • Page 32: Enet

    Learn how to use DHCP to allocate ip address automatically This demo is based on the GD32E507Z-EVAL-V1.0 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 If users need dhcp function, it can be configured from the private defines in main.h. This function is closed by default. Note: Users should configure ip address, mask and gw of GD32E507Z-EVAL-V1.0 board or served according to the actual net situation from the private defines in main.h.
  • Page 34 User Guide GD32E507Z-EVAL 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 see the automatic allocated ip address of the board from the HyperTerminal.
  • Page 35: Raw_Tcpudp

    Learn to handle with received packet in polling mode and in interrupt mode This demo is based on the GD32E507Z-EVAL-V1.0 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 36 User Guide GD32E507Z-EVAL Download the program <Raw_tcpudp> to the EVAL board. 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 37: Raw_Webserver

    Learn to handle with received packet in polling mode and in interrupt mode This demo is based on the GD32E507Z-EVAL-V1.0 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 GD32E507Z-EVAL-V1.0 board according to the actual net situation from the private defines in main.h.
  • Page 39: Usbhs_Device

     Learn how to implement USB HID(human interface) device The GD32E507Z-EVAL board is enumerated as an USB Keyboard, which uses the native PC Host HID driver, as shown below. The USB Keyboard uses Joystick 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 ‘a’...
  • Page 40: Msc_Udisk

    User Guide GD32E507Z-EVAL DEMO Running Result Download the program < 25_USBHS\USB_Device\HID_Keyboard > to the EVAL board and run. The USB Keyboard uses Joystick to output three characters (‘b’, ‘a’ and ‘c’). If you want to test USB remote wakeup function, you can do as follows:...
  • Page 41: Usbhs_Host

    Learn the operation between the HID host and the keyboard device GD32E507Z-EVAL board integrates the USBHS 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 USBHS as a USB HID host to communicate with external USB HID device.
  • Page 42 Learn the operation between the MSC host and the Udisk GD32E507Z-EVAL board integrates the USBHS 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 USBHS as a USB MSC host to communicate with external Udisk.
  • Page 43: Revision History

    User Guide GD32E507Z-EVAL Revision history Table 6-1. Revision history Revision No. Description Date Initial Release Jun.30, 2020 Module update Aug.26, 2020 Add CAN Mar.31, 2021 42/43...
  • 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.

Table of Contents