Table of Contents

Advertisement

Quick Links

GigaDevice Semiconductor Inc.
GD32W515P-EVAL
User Guide
V1.0

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for GigaDevice Semiconductor GD32W515P-EVAL

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

    User Guide GD32W515P-EVAL Tables of Contents TABLES OF CONTENTS ..................... 1 LIST OF FIGURES ........................ 4 LIST OF TABLES ........................5 1. SUMMARY ........................6 2. FUNCTION PIN ASSIGN....................6 3. GETTING STARTED ...................... 7 4. HARDWARE LAYOUT OVERVIEW ................7 4.1.
  • Page 3 User Guide GD32W515P-EVAL 5.5. USART_Echo_Interrupt_mode................16 5.5.1. DEMO purpose ......................16 5.5.2. DEMO running result ....................16 5.6. USART_DMA ......................16 5.6.1. DEMO purpose ......................16 5.6.2. DEMO running result ....................17 5.7. ADC_conversion_triggered_by_timer ..............17 5.7.1. DEMO purpose ......................17 5.7.2. DEMO running result ....................17 5.8.
  • Page 4 User Guide GD32W515P-EVAL 5.20. IFPR ........................27 5.20.1. DEMO purpose ......................27 5.20.2. DEMO running result ....................28 5.21. TIMER_Breath_LED ..................... 28 5.21.1. DEMO purpose ......................28 5.21.2. DEMO running result ....................28 5.22. USBFS_Device ..................... 28 5.22.1. HID_Keyboard .......................28 4.1.1. CDC_ACM ......................29 5.23.
  • Page 5: List Of Figures

    User Guide GD32W515P-EVAL List of Figures Figure 4-1. Schematic diagram of power supply ................7 Figure 4-2. Schematic diagram of boot option ................7 Figure 4-3. Schematic diagram of LED function................8 Figure 4-4. Schematic diagram of Key function ................8 Figure 4-5.
  • Page 6: List Of Tables

    User Guide GD32W515P-EVAL List of Tables Table 2-1. Function pin assignment .................... 6 Table 6-1. Revision history ......................32 5/33...
  • Page 7: Summary

    GD32W515P-EVAL Summary GD32W515P-EVAL uses GD32W515PIQ6 as the main controller. It uses GD-Link Mini USB interface to supply 5V power. Reset, Boot,K1, K2, LED, I2S,HPDF, I2C-EEPROM, LCD, IFPR, TSI, SDIO, USB and USART to USB interface are also included. For more details please refer to GD32W515P-EVAL-Rev1.1 schematic.
  • Page 8: Getting Started

    User Guide GD32W515P-EVAL Function Description P A12 SDIO_DAT1 SDIO_DAT2 SDIO_DAT3 PB11 USB_ID PB14 USB_VBUS PB13 USB_DM PB12 USB_DP Getting started The EVAL board uses GD-Link Mini USB connecter to get power DC +5V, which is the hardware system normal work voltage. A GD-Link on board is necessary in order to download and debug programs.
  • Page 9: Led

    User Guide GD32W515P-EVAL G N D 4.3. Figure 4-3. Schematic diagram of LED function 4.4. Figure 4-4. Schematic diagram of Key function +3V3 10KΩ K-1102B 50V/0.1uF 4.5. Figure 4-5. Schematic diagram of ADC +3V3 ADC_IN0 1KΩ TP ad_in 50V/0.1uF 8/33...
  • Page 10: Usart

    User Guide GD32W515P-EVAL 4.6. USART Figure 4-6. Schematic diagram of USART 4.7. Figure 4-7. Schematic diagram of I2C 4.8. Figure 4-8. Schematic diagram of I2S 10KΩ F_SCK/PA4 I2S1_SD +3V3 C17 50V/0.1uF SDIN AOUTR F_IO0/PA6 I2S1_CK 470Ω SCLK F_IO1/PA7 I2S1_WS 16V/3.3uF,AVX...
  • Page 11: Hpdf

    User Guide GD32W515P-EVAL 4.9. HPDF Figure 4-9. Schematic diagram of HPDF HPDF +3V3 HPDF_DATA1 50V/1uF 50V/0.1uF DOUT HPDF_CKOUT MP34DT06J 10KΩ +3V3 4.10. IFRP Figure 4-10. Schematic diagram of IFRP IFRP +3V3 100Ω LED4 JP16 IR333C-A PB7 TIM3-CH1 100Ω IR_OUT IRM-3638T +3V3 1KΩ...
  • Page 12: Lcd

    User Guide GD32W515P-EVAL G1_IO0 50V/47nF G1_IO1 10KΩ G1_IO2 10KΩ 4.12. Figure 4-12. Schematic diagram of LCD +3V3 +3V3 10KΩ JP20 50V/0.1uF 10KΩ SPI1_NSS LCD_CS LCD_RESET RESET LCD_D/C DC/RS SPI1_MOSI SDI/MOSI SPI1_SCK +3V3 LED/POWER+ SPI1_MISO SDO/MISO LCD2.2 4.13. SDIO Figure 4-13. Schematic diagram of SDIO...
  • Page 13: Usb

    User Guide GD32W515P-EVAL 4.14. Figure 4-14. Schematic diagram of USB USB-OTG 10KΩ pwr_ctr 9012(MMBT9012LT) 470Ω JP21 JP13 USB_ID USB_DP PB11 PB12 PC4 TIM2_CH2 pwr_ctr USART2_RX SPI1_NSS 16V/10uF,AVX 50V/0.1uF HEADER 3 HEADER 3 Short JP21(1,2) for USB function Short JP13(1,2) for USB function...
  • Page 14: Mcu

    User Guide GD32W515P-EVAL MCU SWD PA0-WKUP +3V3 JP19 PB2/BOOT1 PB3/JTDO L_SWDIO L_TMS/IO PB4/JNTRST L_SWDCK L_TCK/CLK L_TDO/SWO L_TDI 4× 1P2.54 L_USB_Ctr L_TReset L_LED1 LED0603 PA10 PB10 L_USB_DM PA11 PB11 L_USB_DP L_LED1 470Ω PA12 PB12 L_SWDIO L_LED2 470Ω PA13/JTMS/SWDIO PB13 L_SWDCK RESET...
  • Page 15: Routine Use Guide

    Learn to use GPIO control the LED  Learn to use SysTick to generate 1ms delay GD32W515P-EVAL-V1.1 board has one user key and three LEDs, the LEDs are controlled by GPIO. This demo will show how to light the LEDs.
  • Page 16: Exti_Key_Interrupt_Mode

     Learn to use EXTI to generate external interrupt GD32W515P-EVAL-V1.1 board has one user key and three LEDs. The key is K2- Tamper/Wakeup. The LEDs are controlled by GPIO. This demo will show how to use the EXTI interrupt line to control the LED2. When press down the K2-Tamper/Wakeup, it will produce an interrupt.
  • Page 17: Usart_Echo_Interrupt_Mode

    User Guide GD32W515P-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  HyperTerminal. 5.5.2. DEMO running result Download the program <05_USART_Echo_Interrupt_mode> to the EVAL board, connect serial cable to USART.
  • Page 18: Demo Running Result

    User Guide GD32W515P-EVAL  Learn to use the USART transmit and receive data using DMA. 5.6.2. DEMO running result Download the program <06_USART_DMA> to the EVAL board, connect serial cable to USART. Firstly, all the LEDs are flash 3 times for test. Then, the USART sends the tx_buffer array to the hyperterminal and waits for receiving data from the hyperterminal that you must send.
  • Page 19: I2C_Eeprom

    User Guide GD32W515P-EVAL 5.8. I2C_EEPROM 5.8.1. DEMO purpose This demo includes the following functions of GD32 MCU:  Learn to use the master transmitting mode of I2C module  Learn to use the master receiving mode of I2C module ...
  • Page 20: Hpdf_I2S_Audio

     Learn to use HPDF interface to process PDM data The GD32W515P-EVAL-V1.1 board integrates HPDF and I2S modules. The two modules can cooperate with each other to play the audio signal of the microphone. This example demonstrates the process of collecting single-channel audio data through the HPDF of the EVAL board and playing dual-channel audio using the I2S interface.
  • Page 21: Spi_Lcd

    Learn how to use SPI to drive TFT LCD screen and display GD32W515P-EVAL-V1.1 board has a TFT LCD screen which supports SPI interface. In this demo, tests of font, number, draw and color are displayed on the LCD screen respectively.
  • Page 22: Demo Running Result

    User Guide GD32W515P-EVAL 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. 5.11.2. DEMO running result Download the program <11_SDIO_SDCardTest> to the EVAL board and run. Connect serial cable to USART, open the HyperTerminal.
  • Page 23: Demo Running Result

    User Guide GD32W515P-EVAL 5.12.2. DEMO running result Download the program <12_TRNG_Get_Random> to the EVAL board and run. Connect serial cable to EVAL_COM, open the serial terminal tool supporting hex format communication. When the program is running, the serial terminal tool will display the initial information.
  • Page 24 User Guide GD32W515P-EVAL After selection, the program starts encryption and decryption operations, the results are printed through the serial port. And then restart for users to select a different algorithm and mode to repeat demo, as shown below. 23/33...
  • Page 25: Hau

    User Guide GD32W515P-EVAL 5.14. 5.14.1. DEMO purpose This demo includes the following functions of GD32 MCU:  Learn SHA-1, SHA-224, SHA-256 and MD5 algorithm  Learn HASH mode and HMAC (keyed-hash message authentication code) mode  Learn to use HAU to calculate digest for the input message ...
  • Page 26: Pkcau_Modular_Addition_Interrupt

    User Guide GD32W515P-EVAL 5.15. PKCAU_Modular_Addition_Interrupt 5.15.1. DEMO purpose This demo includes the following functions of GD32 MCU:  Learn modular addition algorithm by interrupt 5.15.2. DEMO running result Download the program < 15_PKCAU_Modular_Addition_Interrupt > to the EVAL board. After system start-up, firstly, wait for the PKCAU busy flag to be reset, then, perform modular...
  • Page 27: Demo Running Result

    User Guide GD32W515P-EVAL 5.16.2. DEMO running result Download the program <16_RCU_Clock_Out> to the EVAL board and run. Connect serial cable to USART, open the HyperTerminal. When the program is running, HyperTerminal will display the initial information. Then user can choose the type of the output clock by pressing the TAMPER/WAKEUP key.
  • Page 28: Tsi

    User Guide GD32W515P-EVAL cable to USART, open the HyperTerminal. After start-up, the program will ask to set the time on the HyperTerminal. The calendar will be displayed on the HyperTerminal. 5.19. This Demo includes the following functions of GD32 MCU: ...
  • Page 29: Demo Running Result

     Learn how to implement USB HID(human interface) device The GD32W515P-EVAL board has two keys and one USB_FS interface. The two keys are Reset key and Tamper/Wakeup key. The GD32W515P-EVAL board is enumerated as an USB Keyboard, which uses the native PC Host HID driver, as shown below. The USB Keyboard uses the Tamper/wakeup key to output the characters ‘a’.
  • Page 30: Cdc_Acm

     Learn how to implement USB CDC device The GD32W515P-EVAL board has one USBFS interface. In this demo, the GD32W515P- EVAL-V1.1 board is enumerated as an USB virtual COM port, which was shown in device manager of PC as below. This demo makes the USB device look like a serial port, and loops back the contents of a text file over USB port.
  • Page 31: Usbfs_Host

    Learn the operation between the HID host and the keyboard device The GD32W515P-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 32: Trustzone

    User Guide GD32W515P-EVAL GD32W515P-EVAL-V1.1 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 33: Revision History

    User Guide GD32W515P-EVAL Revision history Table 6-1. Revision history Revision No. Description Date Initial Release Jan.21, 2021 32/33...
  • Page 34 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