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.
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.
User Guide GD32E507Z-EVAL List of Tables Table 2-1. Function pin assignment ......................6 Table 6-1. Revision history ........................42 5/43...
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.
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.
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Ω...
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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: ...
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...
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.
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:...
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.
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’...
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:...
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.
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.
Need help?
Do you have a question about the GD32E507Z-EVAL and is the answer not in the manual?
Questions and answers