User Guide GD32450Z-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 4.1.
User Guide GD32450Z-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 GD32450Z-EVAL List of Tables Table 2-1 Function pin assignment ......................6 Table 6-1 Revision history ........................51...
GD32450Z-EVAL Summary GD32450Z-EVAL uses GD32F450ZKT6 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 GD32450Z-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 GD32450Z-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 GD32450Z-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 GD32450Z-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 GD32450Z-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 GD32450Z-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 GD32450Z-EVAL-V1.1 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 GD32450Z-EVAL-V1.1 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 GD32450Z-EVAL 5.5. USART_Echo_Interrupt_mode 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_Echo_Interrupt_mode > to the EVAL board, connect serial cable to COM0 and jump JP13 to USART.
Page 24
User Guide GD32450Z-EVAL 5.7. ADC_Temperature_Vrefint 5.7.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 get the value of inner channel 16(temperature sensor channel), channel 17 (VREFINT channel) and channel 18(VBAT/4 channel) 5.7.2.
Page 25
User Guide GD32450Z-EVAL 5.8. ADC0_ADC1_Follow_up_mode 5.8.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 follow-up mode 5.8.2.
Page 26
User Guide GD32450Z-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 27
User Guide GD32450Z-EVAL 5.10. DAC_Output_Voltage_Value 5.10.1. DEMO purpose This demo includes the following functions of GD32 MCU: Learn to use DAC to output voltage on DAC0 output 5.10.2. DEMO running result 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
Learn to use the Quad-SPI mode of SPI unit to read and write NOR Flash with the SPI interface GD32450Z-EVAL-V1.1 board integrates SPI5 module with Quad-SPI mode and the mode can communicate with external NOR Flash devices. The SPI NOR FLASH is a serial FLASH memory chip GD25Q40 which size is 40Mbit, the chip supports standard SPI and quad SPI operation instructions.
Page 29
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 GD32450Z-EVAL-V1.1 board integrates the I2S(Inter-IC Sound) module, and the module...
Page 30
5.14.2. DEMO running result GD32450Z-EVAL-V1.1 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 deepsleep mode 5.15.2. DEMO running result GD32450Z-EVAL-V1.1 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 <15_EXMC_SDRAM_DeepSleep> to the EVAL board. This demo shows how to use SDRAM in the deepsleep mode.
Page 34
Learn to use SDIO to erase, lock and unlock a SD card GD32450Z-EVAL-V1.1 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
User Guide GD32450Z-EVAL 5.17. CAN_Network 5.17.1. DEMO purpose This demo includes the following functions of GD32 MCU: Learn to use the CAN0 communication between two boards Learn to communicate with PC by USART 5.17.2. DEMO running result This example is tested with two GD32F450Z-EVAL boards. Jump the JP13 to USART and P2, P3 to CAN0 with the jumper cap.
Page 36
It can automatically adjust the trim value to provide a precise IRC48M clock. 5.19.2. DEMO running result Download the program <19_CTC_Calibration > to the GD32450Z-EVAL-V1.1 board and run. The LED1 will turn on if the internal 48MHz RC oscillator (IRC48M) clock trim is OK. 5.20. PMU_sleep_wakeup 5.20.1.
Page 37
User Guide GD32450Z-EVAL receive interrupt. And all the LEDs will flash together. 5.21. FMC DualBoot 5.21.1. DEMO purpose 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 GD32450Z-EVAL Learn to use USART module to implement time display 5.22.2. DEMO running result 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 GD32450Z-EVAL Learn to use TLI to control LCD for displaying different images Learn to use IPA to process image data 5.24.2. DEMO running result Jump the JP12 to LCD, and download the program <24_TLI_IPA> to the EVAL board and run.
Page 40
Learn how to use DHCP to allocate ip address automatically This demo is based on the GD32450Z-EVAL-V1.1 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 GD32450Z-EVAL-V1.1 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 GD32450Z-EVAL-V1.1 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 GD32450Z-EVAL-V1.1 board, or server according to the actual net situation from the private defines in main.h.
Page 44
Learn to handle with received packet in polling mode and in interrupt mode This demo is based on the GD32450Z-EVAL-V1.1 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 45
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 GD32450Z-EVAL-V1.1 board according to the actual net situation from the private defines in main.h.
Page 46
Learn how to implement USB HID(human interface) device GD32450Z-EVAL-V1.1 board has four keys and one USB_FS interface. The four keys are Reset key, Wakeup key, User key and Tamper key. In this demo, the GD32450Z- EVAL-V1.1 board is enumerated as an USB Keyboard, which uses the native PC Host HID driver, as shown below.
Page 47
User Guide GD32450Z-EVAL DEMO Running Result According to the VBUSIG bit in USBFS_GCCFG register, user can decide whether or not to jump JP13 to USB_FS. Then connect the EVAL board to the PC through USB cable to the USB_FS connector. After doing this, download the program <27_USB_Device\ HID_Keyboard>...
Page 48
User Guide GD32450Z-EVAL In the workspace toolbar, user should select the project configuration, In the keil4: - GD32450Z_EVAL_USBFS: to configure the project for GD32F450Z devices using USBFS peripheral - GD32450Z_EVAL_USBHS (ULPI): to configure the project for GD32F450Z devices using USBHS peripheral...
Page 49
User Guide GD32450Z-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...
Page 50
Learn the operation between the HID host and the keyboard device GD32450Z-EVAL-V1.1 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 51
Learn the operation between the MSC host and the Udisk GD32450Z-EVAL-V1.1 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 GD32450Z-EVAL Revision history Table 6-1 Revision history Revision No. Description Date Initial Release Oct.16, 2016 Update EVAL board Jan.06,2019...
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 GD32450Z-EVAL and is the answer not in the manual?
Questions and answers