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.............................
User Manual GD32450Z-EVAL List of Tables Table 1 Function pin assign ........................... 4 Table 2 Revision history ..........................47 3/ 47 Downloaded From Oneyac.com...
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 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.
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...
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...
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...
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>...
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.
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: ...
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.
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...
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...
Need help?
Do you have a question about the GD32450Z-EVAL and is the answer not in the manual?
Questions and answers