GigaDevice Semiconductor GD32450Z-EVAL User Manual

Hide thumbs Also See for GD32450Z-EVAL:

Advertisement

Quick Links

GigaDevice Semiconductor Inc.
GD32450Z-EVAL
User Manual
Downloaded From
Oneyac.com

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 Manual Downloaded From Oneyac.com...
  • Page 2: Table Of Contents

    User Manual GD32450Z-EVAL Table of Contents 目录 Table of Contents ..........................1 List of Tables ........................... 3 Summary ..........................4 Function Pin Assign ........................ 4 Getting started ......................... 7 Hardware layout overview ....................... 8 Power ..........................8 Boot ............................ 8 LED.............................
  • Page 3 User Manual GD32450Z-EVAL 5.10 DAC_Output_Voltage_Value .................... 22 5.11 I2C_EEPROM ........................23 5.12 SPI_QSPI_Flash ......................24 5.13 I2S_Audio_Player ......................25 5.14 EXMC_SDRAM ........................ 26 5.15 EXMC_SDRAM_DeepSleep ..................... 26 5.16 SDIO_SDCardTest ......................27 5.17 CAN_Network ........................28 5.18 RCU_Clock_Output ......................29 5.19 CTC_Calibration .......................
  • Page 4: List Of Tables

    User Manual GD32450Z-EVAL List of Tables Table 1 Function pin assign ........................... 4 Table 2 Revision history ..........................47 3/ 47 Downloaded From Oneyac.com...
  • Page 5: 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 6 User Manual GD32450Z-EVAL 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 PF12 EXMC_A6 PF13...
  • Page 7 User Manual GD32450Z-EVAL 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 ETH_RMII_TX_EN Ethernet PB12 ETH_RMII_TXD0 PB13 ETH_RMII_TXD1...
  • Page 8: Getting Started

    User Manual GD32450Z-EVAL 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. A J-Link tool or GD-Link on board is necessary in order to download and debug programs. Select the correct boot mode and then power on, the LEDPWR will turn on, which indicates that the power supply is OK.
  • Page 9: Hardware Layout Overview

    User Manual GD32450Z-EVAL Hardware layout overview Power DC-10B +U5V SW-SPDT +3V3 TP +3V3 AMS1117-3.3 LEDPWR 16V/10uF,AVX 16V/10uF,AVX Vout 470Ω LED0603 SMD1210P005TF 50V/0.1uF 50V/0.1uF Boot BOOT0 10KΩ +3V3 BOOT0 +3V3 10KΩ BOOT1 BOOT1 BOOT0 Boot Mode User memory System memory SRAM memory...
  • Page 10: Led

    User Manual GD32450Z-EVAL +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 9/ 47 Downloaded From Oneyac.com...
  • Page 11: Usart

    User Manual GD32450Z-EVAL USART +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 PA4 is an AFIO, please refer to TLI Schematic for right config DAC_OUT0 10/ 47 Downloaded From Oneyac.com...
  • Page 12: Spi

    User Manual GD32450Z-EVAL 4.10 SPI Flash SPIFlash_CS Short JP10(1,2) for TLI function +3V3 +3V3 PG13 SPI5_SCK Short JP10(2,3) for SPI5 function PG14 SPI5_MOSI LCD_G3 JP10 50V/0.1uF PG10 LCD_B4 10KΩ SPI5_IO2 PG12 SPIFlash_CS LCD_B3 SPI5_MISO SPI5_MISO SPI5_IO3 HOLD PG11 SPI5_IO2 SPI5_SCK...
  • Page 13: Can

    User Manual GD32450Z-EVAL 4.11 4.12 Ethernet Short P4(1,2) for LCD/Eth function Short P5(1,2) for Eth function Short P6(1,2) for Eth function Short P4(2,3) for USB_HS function Short P5(2,3) for USB_HS function Short P6(2,3) for USB_HS function USB_HS_ULPI_D4 USB_HS_ULPI_D5 USB_HS_ULPI_D6 +3V3...
  • Page 14: Sdio

    User Manual GD32450Z-EVAL 4.13 SDIO +3V3 SDIO_CMD 10KΩ 10KΩ 10KΩ JP21 10KΩ PC12 SDIO_CLK SDIO_DAT0 SDIO_DAT1 SDIO_DAT1 SDIO_DAT0 PC10 SDIO_DAT2 PC11 SDIO_DAT3 SDIO_CLK 10KΩ +3V3 SDIO_CMD SDIO_DAT3 SDIO_DAT2 TF_CARD_SOCKET +3V3 50V/4.7uF 4.14 SDRAM SDRAM +3V3 DQ15 DQ15 +3V3 VDDQ VSSQ...
  • Page 15: Lcd

    User Manual GD32450Z-EVAL 4.15 HSYNC JP22 VSYNC LCD_CS LCD_RS PD11 LCD_CS PCLK LCD_SCK LCD_RS PF10 NRST PG13 SPI5_SCK LCD_SCK PG14 SPI5_MOSI LCD_MOSI PA12 LCD_R5 R[7:3] PA11 LCD_R4 LCD_R3 T_CS T_SCK T_MOSI LCD_MOSI T_MISO PB11 LCD_G5 HSYNC VSYNC G[7:2] T_IQR PB10...
  • Page 16: Usbhs

    User Manual GD32450Z-EVAL 4.17 USBHS 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 JP18 SDR_NWE SDR_NE0 SDR_CKE0 USB_HS_ULPI_STP USB_HS_ULPI_DIR USB_HS_ULPI_NXT...
  • Page 17: Gd-Link

    Learn to use GPIO control the LED  Learn to use SysTick to generate 1ms delay GD32450Z-EVAL board has three LEDs. The LED1, LED2 and LED3 are controlled by GPIO. This demo will show how to light the LEDs. 5.1.2 DEMO Running Result Download the program <01_GPIO_Runing_Led>...
  • Page 18: Gpio_Keyboard_Polling_Mode

    Learn to use GPIO control the LED and the KEY  Learn to use SysTick to generate 1ms delay GD32450Z-EVAL 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 19: Usart_Printf

    User Manual GD32450Z-EVAL 5.3.2 DEMO Running Result Download the program <03_GPIO_KeyBoard_Interrupt_mode> to the EVAL board, Press down the Tamper Key, LED1 will be turned on. Press down the Tamper Key again, LED1 will be turned off. USART_Printf 5.4.1 DEMO Purpose This demo includes the following functions of GD32 MCU: ...
  • Page 20: Usart_Dma

    User Manual GD32450Z-EVAL the JP13 to USART with the jumper cap and connect serial cable to EVAL_COM1. Firstly, all the LEDs are turned on and off for test. Then, the EVAL_COM1 sends the tx_buffer array (from 0x00 to 0xFF) to the serial terminal tool supporting hex format communication and waits for receiving data of BUFFER_SIZE bytes from the serial terminal.
  • Page 21: Adc_Temperature_Vrefint_Vbat

    DEMO Running Result Jump the JP13 to USART with the jumper cap, and then download the program <07_ADC_Temperature_Vrefint_Vbat> to the GD32450Z-EVAL board. Connect serial cable to EVAL_COM1, open the HyperTerminal. When the program is running, HyperTerminal display the value of temperature, internal...
  • Page 22: Adc0_Adc1_Regular_Parallel_Mode

    DEMO Running Result Jump the JP13 to USART with the jumper cap, and then download the program <08_ADC0_ADC1_Follow_up_mode> to the GD32450Z-EVAL board. Connect serial cable to EVAL_COM1, open the HyperTerminal. PA3 and PB0 pin voltage access by external voltage, JP23 and JP19 no connect.
  • Page 23 DEMO Running Result Jump the JP13 to USART with the jumper cap, and then download the program <09_ADC0_ADC1_Regular_Parallel_mode> to the GD32450Z-EVAL board. Connect serial cable to EVAL_COM1, open the HyperTerminal. PA3 and PB0 pin connect to external voltage input, JP23 and JP19 no connect.
  • Page 24 User Manual GD32450Z-EVAL  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. The digital value is 0x7FF0, its converted analog voltage should be 1.65V(VREF/2), using the voltmeter to measure PA4, its value...
  • Page 25 Learn to use the Quad-SPI mode of SPI unit to read and write NOR Flash with the SPI interface GD32450Z-EVAL 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 GD25Q16B which size is 16Mbit, the chip supports standard SPI and quad SPI operation instructions.
  • Page 26 Learn to use I2S module to output audio file Parsing audio files of wav format GD32450Z-EVAL 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 how to use the I2S interface of the board for audio output.
  • Page 27 5.14.2 DEMO Running Result GD32450Z-EVAL board has EXMC module to control SDRAM. Before running the demo, P2, P3, JP16, JP17 and 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 28  Learn to use SDIO to erase, lock and unlock a SD card GD32450Z-EVAL 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 29  Learn to use the CAN0 communication between two boards GD32450Z-EVAL development board integrates the CAN(Controller Area Network) bus controller, which is a common industrial control bus. CAN bus controller follows the CAN bus protocol of 2.0 A and 2.0 B. This demo mainly shows how to communicate between two EVAL boards through CAN0.
  • Page 30 User Manual GD32450Z-EVAL HyperTerminal. The frames are sent and the transmit data are printed by pressing Tamper Key push button. When the frames are received, the receive data will be printed and the LED2 will toggle a time. The output information via the serial port is as following.
  • Page 31 User Manual GD32450Z-EVAL 5.19 CTC_Calibration 5.19.1 DEMO Purpose This demo includes the following functions of GD32 MCU:  Learn to use external low speed crystal oscillator (LXTAL) to implement the CTC calibration function  Learn to use clock trim controller (CTC) to trim internal 48MHz RC oscillator (IRC48M)
  • Page 32 User Manual GD32450Z-EVAL 5.21 FMC_Dualboot 5.21.1 DEMO Purpose This demo includes the following functions of GD32 MCU:  Learn to use FMC dual boot mode  Learn to use FMC option bytes 5.21.2 DEMO Running Result Jump the JP13 to USART to show the print message through HyperTerminal, and download the program <21_FMC_DualBoot>...
  • Page 33 User Manual GD32450Z-EVAL 5.22 RTC_Calendar 5.22.1 DEMO Purpose This demo includes the following functions of GD32 MCU:  Learn to use RTC module to implement calendar function  Learn to use USART module to implement time display 5.22.2 DEMO Running Result Jump the JP13 to USART with the jumper cap, and download the program <22_RTC_Calendar>...
  • Page 34 DEMO Running Result Use the DuPont line to connect the TIMER1_CH2 (PB10) and LED2 (PD4), and then download the program <23_TIMER_Breath_LED> to the GD32450Z-EVAL board and run. When the program is running, you can see LED2 lighting from dark to bright gradually and then gradually darken, ad infinitum, just like breathing as rhythm.
  • Page 35 User Manual GD32450Z-EVAL 5.25 TRNG_Get_Random 5.25.1 DEMO Purpose This demo includes the following functions of GD32 MCU:  Learn to use TRNG generate the random number  Learn to communicate with PC by USART 5.25.2 DEMO Running Result Jump the JP13 to USART with the jumper cap, and download the program <25_TRNG_Get_Random>...
  • Page 36 Learn how to use DHCP to allocate ip address automatically This demo is based on the GD32450Z-EVAL 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 37 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 board, or server according to the actual net situation from the private defines in main.h.
  • Page 38 Learn to handle with received packet in polling mode and in interrupt mode This demo is based on the GD32450Z-EVAL 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 39 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 board, or server according to the actual net situation from the private defines in main.h.
  • Page 40 User Manual GD32450Z-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 41 User Manual GD32450Z-EVAL This demo is based on the GD32450Z-EVAL 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. P4, P5, P6 must be fitted. JP13 jump to Usart.
  • Page 42 User Manual GD32450Z-EVAL The ADC monitor page shows as below: Open the DHCP function in main.h, using a router to connect the board, and use the HyperTerminal to print the automatic allocated ip address, then connect your mobile phone to the wifi which the router send. Users can visit the eval board and control it on your mobile phone.
  • Page 43 GD32450Z-EVAL 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 board is enumerated as an USB Keyboard, which uses the native PC Host HID driver, as shown below.
  • Page 44 User Manual GD32450Z-EVAL computer and mobile devices, which allow a universal serial bus (USB) equipment to access a host computing device, file transfer between them, mainly including mobile hard disk, mobile U disk drive, etc... The MSC device must have a storage medium, and this Demo uses the MCU's internal SRAM as the storage medium.
  • Page 45 User Manual 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 44/ 47 Downloaded From...
  • Page 46 Learn the operation between the HID host and the keyboard device GD32450Z-EVAL 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 47 Learn the operation between the MSC host and the Udisk GD32450Z-EVAL 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 MSC host to communicate with external Udisk.
  • Page 48 User Manual GD32450Z-EVAL Revision history Table 2 Revision history Revision No. Description Date Initial Release Oct. 19, 2016 47/ 47 Downloaded From Oneyac.com...
  • Page 49 单击下面可查看定价,库存,交付和生命周期等信息 >>GigaDevice(兆易创新) Downloaded From Oneyac.com...

Table of Contents