User Guide GD32470Z-EVAL Table of Contents TABLE OF CONTENTS ....................1 LIST OF FIGURES ......................4 LIST OF TABLES ......................5 1. SUMMARY ........................ 6 2. FUNCTION PIN ASSIGNMENT ................. 6 3. GETTING STARTED ....................9 4. HARDWARE LAYOUT OVERVIEW ................ 10 Power supply ......................
User Guide GD32470Z-EVAL List of Figures Figure 4-1 Schematic diagram of power supply ..................10 Figure 4-2 Schematic diagram of boot option ..................10 Figure 4-3 Schematic diagram of LED function ..................10 Figure 4-4 Schematic diagram of Key function ..................11 Figure 4-5 Schematic diagram of USART0 function ................
User Guide GD32470Z-EVAL List of Tables Table 2-1 Function pin assignment ......................6 Table 6-1 Revision history ........................51...
GD32470Z-EVAL Summary GD32470Z-EVAL uses GD32F470ZKT6 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, CTC, SDIO, ENET, USBFS, USBHS, GD-Link and Extension Pins are also included.
User Guide GD32470Z-EVAL PB13 USB_HS_ULPI_D6 PB12 USB_HS_ULPI_D5 PB11 USB_HS_ULPI_D4 PB10 USB_HS_ULPI_D3 USB_HS_ULPI_D2 USB_HS_ULPI_D1 USB_HS_ULPI_D0 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. Three kinds of different USB power supply which are USB_FS, USB_HS_ULPI, GD-Link can be chosen through JP4.
User Guide GD32470Z-EVAL Hardware layout overview 4.1. Power supply Figure 4-1 Schematic diagram of power supply 4.2. Boot option Figure 4-2 Schematic diagram of boot option BOOT1 BOOT0 Boot Mode User memory System memory SRAM memory 4.3. Figure 4-3 Schematic diagram of LED function...
User Guide GD32470Z-EVAL 4.10. Figure 4-10 Schematic diagram of SPI function 4.11. Figure 4-11 Schematic diagram of CAN function Short P2(1,2) for EXMC function Short P2(2,3) for CAN0 function CAN0_TX +3V3 50V/0.1uF MHDR1X3 JP11 CAN0_TX 0Ω CAN0_RX CAN0H CANH 120Ω...
User Guide GD32470Z-EVAL 4.12. ENET Figure 4-12 Schematic diagram of Ethernet function Short P4(1,2) for LCD/Eth function Short P5(1,2) for Eth function Short P6(1,2) for Eth function +3V3 Short P4(2,3) for USB_HS function Short P5(2,3) for USB_HS function Short P6(2,3) for USB_HS function C34 50V/0.1uF...
User Guide GD32470Z-EVAL 4.16. USBFS Figure 4-16 Schematic diagram of USBFS function USB FS Short JP13(1,2)for USART0 function Short JP14(1,2) for TLI function Short JP15(1,2) for TLI function Short JP13(2,3)for USB_FS function Short JP14(2,3)for USB_FS function Short JP15(2,3)for USB_FS function...
User Guide GD32470Z-EVAL 4.17. USBHS Figure 4-17 Schematic diagram of USBHS function USB HS Short JP16(1,2)for SDRAM function Short JP17(1,2)for SDRAM function Short JP18(1,2)for SDRAM function Short JP16(2,3)for USB_HS function Short JP17(2,3)for USB_HS function Short JP18(2,3)for USB_HS function JP16 JP17...
Learn to use GPIO control the LED and the Key Learn to use SysTick to generate 1ms delay GD32470Z-EVAL-V1.0 board has four keys and three LEDs. The four keys are Reset key, Tamper key, Wakeup key and User key. The LED1, LED2 and LED3 are controlled by GPIO.
Learn to use GPIO control the LED and the KEY Learn to use EXTI to generate external interrupt GD32470Z-EVAL-V1.0 board has four keys and three LEDs. The four keys are Reset key, Tamper key, Wakeup key and User key. The LED1, LED2 and LED3 are controlled by GPIO.
Page 23
User Guide GD32470Z-EVAL 5.5. USART_Echo_Interrupt_mode 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_Echo_Interrupt_mode > to the EVAL board, connect serial cable to COM0 and jump JP13 to USART.
Page 24
User Guide GD32470Z-EVAL 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 Learn to get the value of inner channel 16(temperature sensor channel), channel 17...
Page 25
User Guide GD32470Z-EVAL 5.8. ADC0_ADC1_Follow_up_mode DEMO purpose 5.8.1. 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 follow-up mode DEMO running result 5.8.2.
Page 26
User Guide GD32470Z-EVAL 5.9. ADC0_ADC1_Regular_Parallel_mode DEMO purpose 5.9.1. 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 DEMO running result 5.9.2.
Page 27
User Guide GD32470Z-EVAL stored in adc_value [0] and adc_value [1]. 5.10. DAC_Output_Voltage_Value DEMO purpose 5.10.1. This demo includes the following functions of GD32 MCU: Learn to use DAC to output voltage on DAC0 output DEMO running result 5.10.2. Download the program <10_DAC_Output_Voltage_Value> to the EVAL board and run, all the LEDs will turn on and turn off for test.
Page 28
User Guide GD32470Z-EVAL DEMO running result 5.11.2. Download the program <11_I2C_EEPROM> to the EVAL board and run. Connect serial cable to COM0, jump JP13 to USART, then open the HyperTerminal to show the print message. Firstly, the data of 256 bytes will be written to the EEPROM from the address 0x00 and printed by the serial port.
Page 29
Learn to use the Quad-SPI mode of SPI unit to read and write NOR Flash with the SPI interface GD32470Z-EVAL-V1.0 board integrates SPI5 module with Quad-SPI mode and the mode supports communication with external NOR Flash devices. The SPI NOR FLASH is a serial FLASH memory chip GD25Q40 which size is 40Mbit, and the chip supports standard SPI and quad SPI operation instructions.
Page 30
Learn to use I2S module to output audio file Parsing audio files of wav format GD32470Z-EVAL-V1.0 board integrates the I2S (Inter-IC Sound) module, and the module can communicate with external devices using the I2S audio protocol. This Demo mainly shows...
Page 31
DEMO running result 5.14.2. GD32470Z-EVAL-V1.0 board has EXMC module to control SDRAM. Before running the demo, P2,P3,JP16,JP17,JP18 must be fitted to SDRAM, JP13 must be fitted to USART. Download the program <14_EXMC_SDRAM> to the EVAL board. This demo shows the write and read operation process of SDRAM memory by EXMC module.
Page 32
Learn to use EXMC control the SDRAM Learn to use deepsleep mode DEMO running result 5.15.2. GD32470Z-EVAL-V1.0 board has EXMC module to control SDRAM. Before running the demo, P2,P3,JP16,JP17,JP18 must be fitted to SDRAM, JP13 must be fitted to USART. Download...
Page 33
User Guide GD32470Z-EVAL the program <15_EXMC_SDRAM_DeepSleep> to the EVAL board. This demo shows how to use SDRAM in the deepsleep mode. Firstly, MCU works in the normal mode, SDRAM auto- refresh cycles are performed by MCU, we write the specified data to the SDRAM. Secondly, we make the MCU to deepsleep mode, at the time, SDRAM auto-refresh cycles are performed by itself and LED2 will light on.
Page 34
Learn to use SDIO to erase, lock and unlock a SD card. GD32470Z-EVAL-V1.0 board has a secure digital input/output interface (SDIO) which defines the SD/SD I/O /MMC CE-ATA card host interface. This demo will show how to use SDIO to operate on SD card.
Page 35
Learn to use the CAN0 communication between two boards GD32470Z-EVAL board integrates CAN (controller area network) bus controller. It is a common industrial control bus. The CAN bus controller follows the 2.0A and 2.0B bus protocols. This routine demonstrates the communication between two boards through CAN0.
Page 36
It can automatically adjust the trim value to provide a precise IRC48M clock. DEMO running result 5.19.2. Download the program <19_CTC_Calibration > to the GD32470Z-EVAL-V1.0 board and run. The LED1 will turn on if the internal 48MHz RC oscillator (IRC48M) clock trim is OK. 5.20. PMU_sleep_wakeup DEMO purpose 5.20.1.
Page 37
User Guide GD32470Z-EVAL receive interrupt. And all the LEDs will flash together. 5.21. FMC DualBoot DEMO purpose 5.21.1. This demo includes the following functions of GD32 MCU: Learn to use FMC module to implement boot from bank0 and bank1 function ...
Page 38
User Guide GD32470Z-EVAL Learn to use USART module to implement time display DEMO running result 5.22.2. Jump the JP5 to USART with the jumper cap, and download the program <22_RTC_Calendar> to the EVAL board and run. Connect serial cable to COM0, open the HyperTerminal.
Page 39
User Guide GD32470Z-EVAL 5.24. TLI_IPA DEMO purpose 5.24.1. This demo includes the following functions of GD32 MCU: Learn to use TLI to control LCD for displaying different images Learn to use IPA to process image data DEMO running result 5.24.2.
Page 40
Learn how to use DHCP to allocate ip address automatically. This demo is based on the GD32470Z-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 41
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 GD32470Z-EVAL-V1.0 board or served according to the actual net situation from the private defines in main.h.
Page 42
Learn to handle with received packet in polling mode and in interrupt mode. This demo is based on the GD32470Z-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 43
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 GD32470Z-EVAL-V1.0 board, or server according to the actual net situation from the private defines in main.h.
Page 44
User Guide GD32470Z-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 45
User Guide GD32470Z-EVAL This demo is based on the GD32470Z-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. JP4, JP5, JP6 must be fitted. JP13 jump to Usart.
Page 46
GD32470Z-EVAL-V1.0 board has four keys ,one USB_FS interface and one USB_HS interface. The four keys are Reset key, Wakeup key, User key and Tamper key. In this demo, the GD32470Z-EVAL board is enumerated as an USB Keyboard, which uses the...
Page 47
User Guide GD32470Z-EVAL native PC Host HID driver, as shown below. The USB Keyboard uses three keys(wakeup key, tamper key and user key) 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 key is used as the remote wakeup source.
Page 48
User Guide GD32470Z-EVAL MSC protocol please refer to the MSC protocol standard. MSC device will use a variety of transport protocols and command formats for communication, so it need to choose the appropriate protocol and command format in the realization of the application. This Demo selects the BOT (bulk only transport) protocol and the required SCSI (small computer interface) command, and is compatible with a wide variety of Window operating systems.
Page 49
User Guide GD32470Z-EVAL Then, after opening the resource manager, you will see more of the 1 disk, as shown in the following diagram: At this point, the write/read/formatting operation can be performed as the other mobile devices.
Page 50
Learn the operation between the HID host and the keyboard device GD32470Z-EVAL-V1.0 evaluation board integrates the USBFS module and 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 USBFS/USBHS as a USB HID host to communicate with external USB HID device.
Page 51
Learn the operation between the MSC host and the Udisk GD32470Z-EVAL-V1.0 evaluation board integrates the USBFS module and 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 USBFS and USBHS as a USB MSC host to communicate with external Udisk.
Page 52
User Guide GD32470Z-EVAL Revision history Table 6-1 Revision history Revision No. Description Date Initial Release May.26, 2022...
Page 53
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 GD32470Z-EVAL and is the answer not in the manual?
Questions and answers