GigaDevice Semiconductor GD32450Z-EVAL User Manual

Hide thumbs Also See for GD32450Z-EVAL:

Advertisement

Quick Links

GigaDevice Semiconductor Inc.
GD32450Z-EVAL
User Guide
V2.0

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for GigaDevice Semiconductor GD32450Z-EVAL

  • Page 1 GigaDevice Semiconductor Inc. GD32450Z-EVAL User Guide V2.0...
  • Page 2: Table Of Contents

    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.
  • Page 3 User Guide GD32450Z-EVAL 5.4. USART_Printf ......................21 5.4.1. DEMO purpose ........................21 5.4.2. DEMO running result ......................21 5.5. USART_Echo_Interrupt_mode.................. 22 5.5.1. DEMO purpose ........................22 5.5.2. DEMO running result ......................22 5.6. USART_DMA ......................22 5.6.1. DEMO purpose ........................22 5.6.2.
  • Page 4 User Guide GD32450Z-EVAL 5.18.1. DEMO purpose ........................34 5.18.2. DEMO running result ......................34 5.19. CTC_Calibration ..................... 35 5.19.1. DEMO purpose ........................35 5.19.2. DEMO running result ......................35 5.20. PMU_sleep_wakeup ....................35 5.20.1. DEMO purpose ........................35 5.20.2. DEMO running result ......................35 5.21.
  • Page 5: List Of Figures

    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 ................
  • Page 6: List Of Tables

    User Guide GD32450Z-EVAL List of Tables Table 2-1 Function pin assignment ......................6 Table 6-1 Revision history ........................51...
  • Page 7: Summary

    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.
  • Page 8 User Guide GD32450Z-EVAL EXMC_SDNE0 EXMC_SDCKE0 EXMC_D2 EXMC_D3 EXMC_D13 EXMC_D14 PD10 EXMC_D15 PD14 EXMC_D0 PD15 EXMC_D1 EXMC_NBL0 EXMC_NBL1 EXMC_D4 EXMC_D5 EXMC_D6 PE10 EXMC_D7 PE11 EXMC_D8 PE12 EXMC_D9 PE13 EXMC_D10 PE14 EXMC_D11 PE15 EXMC_D12 EXMC_A0 EXMC_A1 EXMC_A2 EXMC_A3 EXMC_A4 EXMC_A5 PF11 EXMC_NRAS...
  • Page 9 User Guide GD32450Z-EVAL SDIO_D1 PC10 SDIO_D2 PC11 SDIO_D3 TLI_HSYNC TLI_VSYNC TLI_PIXCLK PF10 TLI_DE TLI_R7 TLI_R6 PA12 TLI_R5 PA11 TLI_R4 TLI_R3 TLI_G7 TLI_G6 PB11 TLI_G5 PB10 TLI_G4 PG10 TLI_G3 TLI_G2 TLI_B7 TLI_B6 TLI_B5 PG12 TLI_B4 PG11 TLI_B3 ETH_RMII_REF_CLK ETH_MDIO ETH_RMII_CRS_DV PB11...
  • Page 10: Getting Started

    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.
  • Page 11: Hardware Layout Overview

    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...
  • Page 12: Key

    User Guide GD32450Z-EVAL 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...
  • Page 13: Usart

    User Guide GD32450Z-EVAL 4.5. USART Figure 4-5 Schematic diagram of USART0 function +3V3 50V/0.1uF MAX3232CSE+ 50V/0.1uF 50V/0.1uF 50V/0.1uF 50V/0.1uF T1IN T1OUT USART0_TX RS232_TX0 T2IN T2OUT R1OUT R1IN PA10 USART0_RX RS232_RX0 R2OUT R2IN COM0 4.6. Figure 4-6 Schematic diagram of ADC function...
  • Page 14: I2S

    User Guide GD32450Z-EVAL 4.8. Figure 4-8 Schematic diagram of I2S function 4.9. Figure 4-9 Schematic diagram of I2C function...
  • Page 15: Spi

    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Ω...
  • Page 16: Enet

    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...
  • Page 17: Sdram

    User Guide GD32450Z-EVAL 4.14. SDRAM Figure 4-14 Schematic diagram of SDRAM function SDRAM +3V3 DQ15 DQ15 +3V3 VDDQ VSSQ DQ14 DQ14 DQ13 PF12 DQ13 PF13 VSSQ VDDQ +3V3 DQ12 PF14 DQ12 DQ11 PF15 DQ11 +3V3 VDDQ VSSQ DQ10 DQ10 VSSQ...
  • Page 18: Usbfs

    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...
  • Page 19: Usbhs

    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...
  • Page 20: Gd-Link

    User Guide GD32450Z-EVAL 4.19. GD-Link Figure 4-19 Schematic diagram of GD-Link MCU SWD PA0-WKUP PB2/BOOT1 PB3/JTDO +3V3 JP100 L_TMS/IO PB4/JNTRST L_TCK/CLK L_SWDIO L_TDO/SWO L_SWDCK L_TDI L_USB_Ctr 4× 1P2.54 L_TReset L_LED1 LED0603 PA10 PB10 L_USB_DM PA11 PB11 L_USB_DP L_LED1 R109 470Ω...
  • Page 21: Routine Use Guide

    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.
  • Page 22: Exti_Key_Interrupt_Mode

    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 31 User Guide GD32450Z-EVAL...
  • 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 33 User Guide GD32450Z-EVAL...
  • 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.

Table of Contents