Download Print this page

GigaDevice Semiconductor GD32303E-EVAL User Manual

Arm cortex-m4 32-bit mcu

Advertisement

Quick Links

GigaDevice Semiconductor Inc.
GD32303E-EVAL
®
®
Arm
Cortex
-M4 32-bit MCU
User Manual
Revision 2.0
(Mar 2021)

Advertisement

loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for GigaDevice Semiconductor GD32303E-EVAL

  • Page 1 GigaDevice Semiconductor Inc. GD32303E-EVAL ® ® Cortex -M4 32-bit MCU User Manual Revision 2.0 (Mar 2021)
  • Page 2: Table Of Contents

    User Guide GD32303E-EVAL Table of Contents TABLE OF CONTENTS ....................1 LIST OF FIGURES ......................4 LIST OF TABLES ......................5 1. SUMMARY ........................ 6 2. FUNCTION PIN ASSIGN ................... 6 3. GETTING STARTED ....................8 4. HARDWARE LAYOUT OVERVIEW ................8 Power ...........................
  • Page 3 User Guide GD32303E-EVAL 5.5.1. DEMO Purpose ........................19 5.5.2. DEMO Running Result ......................19 USART_DMA ......................19 5.6. 5.6.1. DEMO Purpose ........................19 5.6.2. DEMO Running Result ......................19 ADC_Temperature_Vrefint ..................20 5.7. 5.7.1. DEMO Purpose ........................20 5.7.2. DEMO Running Result ......................20 ADC0_ADC1_Follow_up_mode ................
  • Page 4 User Guide GD32303E-EVAL PMU_sleep_wakeup ....................30 5.20. 5.20.1. DEMO Purpose ........................30 5.20.2. DEMO Running Result ......................30 RTC_Calendar ......................30 5.21. 5.21.1. DEMO Purpose ........................30 5.21.2. DEMO Running Result ......................31 TIMER_Breath_LED ....................31 5.22. 5.22.1. DEMO Purpose ........................31 5.22.2.
  • Page 5: List Of Figures

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

    User Guide GD32303E-EVAL List of Tables Table 2-1.Function pin assign ......................6 Table 6-1.Revision history ......................32...
  • Page 7: Summary

    GD32303E-EVAL Summary GD32303E-EVAL uses GD32F303ZET6 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, USBD, GD-Link and Extension Pins are also included.
  • Page 8 User Guide GD32303E-EVAL PC12 SDIO_CLK SDIO_DAT0 SDIO_DAT1 PC10 SDIO_DAT2 PC11 SDIO_DAT3 PD14 EXMC_D0 PD15 EXMC_D1 EXMC_D2 EXMC_D3 EXMC_D4 EXMC_D5 EXMC_D6 NAND Flash PE10 EXMC_D7 PD11 EXMC_A16 PD12 EXMC_A17 EXMC_NOE EXMC_NWE EXMC_NWAIT EXMC_NCE1 PD14 EXMC_D0 PD15 EXMC_D1 EXMC_D2 EXMC_D3 EXMC_D4 EXMC_D5...
  • Page 9: Getting Started

    User Guide GD32303E-EVAL 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 LED1 will turn on, which indicates that the power supply is OK.
  • Page 10: Boot

    User Guide GD32303E-EVAL 4.2. Boot 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 11: Key

    User Guide GD32303E-EVAL 4.4. Figure 4-4. Schematic diagram of Key function +3V3 +3V3 10KΩ 10KΩ KEY1 KEY2 K-1102B K-1102B 50V/0.1uF 50V/0.1uF KEY1 PC13 KEY2 KEY3 +3V3 +3V3 KEY4 10KΩ 10KΩ KEY3 KEY4 K-1102B K-1102B 50V/0.1uF 50V/0.1uF 4.5. USART Figure 4-5. Schematic diagram of USART function...
  • Page 12: Adc

    User Guide GD32303E-EVAL 4.6. Figure 4-6. Schematic diagram of ADC function +3V3 ADC012_IN13 TP ADin 1KΩ 50V/0.1uF 4.7. Figure 4-7. Schematic diagram of DAC function PA5 is an AFIO, please refer to SPI Schematic for right config DAC_OUT1 DAC_OUT0 4.8.
  • Page 13: I2C

    User Guide GD32303E-EVAL 4.9. Figure 4-9. Schematic diagram of I2C function +3V3 50V/0.1uF 4.7KΩ 4.7KΩ I2C0_SCL I2C0_SDA AT24C02C-SSHM-T 4.10. Figure 4-10. Schematic diagram of SPI function...
  • Page 14: Can

    User Guide GD32303E-EVAL 4.11. Figure 4-11. Schematic diagram of CAN function +3V3 50V/0.1uF JP14 CAN0_TX 0Ω CAN0_RX CAN0H CANH CAN0L 120Ω CANL HEADER 2 Vref SN65HVD230 Short P2(1,2) for EXMC function Short P3(1,2) for EXMC function Short P2(2,3) for CAN0 function...
  • Page 15: Nand

    User Guide GD32303E-EVAL NAND 4.13. Figure 4-13. Schematic diagram of NAND flash function Nand Flash +3V3 +3V3 EXMC_D7 VDD1 EXMC_D6 VDD2 EXMC_D5 50V/0.1uF 50V/0.1uF EXMC_D4 VSS1 EXMC_D3 VSS2 EXMC_D2 EXMC_D1 EXMC_D0 +3V3 R63 10KΩ EXMC_A16 +3V3 EXMC_A17 EXMC_NWE EXMC_NOE +3V3 10KΩ...
  • Page 16: Lcd

    User Guide GD32303E-EVAL 4.14. Figure 4-14. Schematic diagram of LCD function +3V3 JP23 EXMC_D0 EXMC_D1 EXMC_D2 EXMC_D3 EXMC_D4 EXMC_D5 EXMC_D6 EXMC_D7 EXMC_D8 EXMC_D9 EXMC_D10 EXMC_D11 EXMC_D12 EXMC_D13 EXMC_D14 EXMC_D15 EXMC_NE1 EXMC_A23 EXMC_NWE EXMC_NOE NRST BackLight +3V3 SPI0_MISO TP_INT SPI0_MOSI SPI0_SCK 10KΩ...
  • Page 17: Extension

    User Guide GD32303E-EVAL 4.16. Extension Figure 4-16. Schematic diagram of Extension Pin 4.17. GD-Link Figure 4-17. Schematic diagram of GD-Link MCU SWD PA0-WKUP +3V3 JP100 PB2/BOOT1 L_SWDIO PB3/JTDO L_SWDCK L_TMS/IO PB4/JNTRST L_TCK/CLK L_TDO/SWO 4× 1P2.54 L_TDI L_USB_Ctr L_TReset L_LED1 LED0603...
  • Page 18: Routine Use Guide

     Learn to use SysTick to generate 1ms delay GD32303E-EVAL board has five keys and four LEDs. The five keys are Reset key, Tamper key, Wakeup key, User1 key and User2 key. The LED2, LED3, LED4 and LED5 are controlled by GPIO.
  • Page 19: Gpio_Key_Interrupt_Mode

     Learn to use EXTI to generate external interrupt GD32303E-EVAL board has five keys and four LEDs. The five keys are Reset key, Tamper key, Wakeup key, User1 key and User2 key. The LED2, LED3, LED4 and LED5 are controlled by GPIO.
  • Page 20: Usart_Echo_Interrupt_Mode

    User Guide GD32303E-EVAL 5.5. USART_Echo_Interrupt_mode DEMO Purpose 5.5.1. 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 DEMO Running Result 5.5.2. Download the program < 05_USART_Echo_Interrupt_mode > to the EVAL board, connect serial cable to EVAL_COM1.
  • Page 21: Adc_Temperature_Vrefint

    Learn to get the value of inner channel 16(temperature sensor channel) and channel 17 (VREFINT channel) DEMO Running Result 5.7.2. Download the program <07_ADC_Temperature_Vrefint> to the GD32303E-EVAL-V1.0 board. Connect serial cable to EVAL_COM1, open the HyperTerminal. When the program is running, HyperTerminal display the value of temperature and internal voltage reference (VREFINT).
  • Page 22: Adc0_Adc1_Follow_Up_Mode

    Learn to use ADC0 and ADC1 follow-up mode DEMO Running Result 5.8.2. Download the program <08_ADC0_ADC1_Follow_up_mode> to the GD32303E-EVAL-V1.0 board. Connect serial cable to EVAL_COM1, open the HyperTerminal. PC3 and PC5 pin voltage access by external voltage. TIMER0_CH0 is the trigger source of ADC0 and ADC1. When the rising edge of TIMER0_CH0 coming, ADC0 starts immediately and ADC1 starts after a delay of several ADC clock cycles.
  • Page 23: Adc0_Adc1_Regular_Parallel_Mode

    User Guide GD32303E-EVAL 5.9. ADC0_ADC1_Regular_Parallel_mode DEMO Purpose 5.9.1. 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 DEMO Running Result 5.9.2.
  • Page 24: Dac_Output_Voltage_Value

    User Guide GD32303E-EVAL 5.10. DAC_Output_Voltage_Value DEMO Purpose 5.10.1. This demo includes the following functions of GD32 MCU:  Learn to use DAC to output voltage on DAC0 output DEMO Running Result 5.10.2. 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 25: Spi_Spi_Flash

    User Guide GD32303E-EVAL 5.12. SPI_SPI_Flash DEMO Purpose 5.12.1. This demo includes the following functions of GD32 MCU:  Learn to use the master mode of SPI unit to read and write NOR Flash with the SPI interface DEMO Running Result 5.12.2.
  • Page 26: I2S_Audio_Player

    Learn to use I2S module to output audio file Parsing audio files of wav format GD32303E-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: Exmc_Nandflash

    DEMO Running Result 5.14.2. GD32303E-EVAL board has EXMC module to control NAND flash. Before running the demo, P2 and P3 must be fitted to the EXMC port, JP24 must be fitted to the Nwait port. Download the program <14_EXMC_NandFlash> to the EVAL board. This demo shows the write and read operation process of NAND flash memory by EXMC module.
  • Page 28: Demo Running Result

    DEMO Running Result 5.15.2. GD32303E-EVAL board has EXMC module to control LCD. Before running the demo, JP12 must be fitted to the SPI port, P2 and P3 must be fitted to the EXMC port. Download the program <15_EXMC_TouchScreen> to the EVAL board. This demo displays GigaDevice logo and four green buttons on the LCD screen by EXMC module.
  • Page 29: Demo Running Result

     Learn to use the CAN0 communication between two boards GD32303E-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 two EVAL boards...
  • Page 30: Demo Running Result

    DEMO Running Result 5.17.2. This example is tested with two GD32303E-EVAL boards. Jump the P2, P3 to CAN with the jumper cap. Connect L pin to L pin and H pin to H pin of JP14 on the boards for sending and receiving frames.
  • Page 31: Ctc_Calibration

    User Guide GD32303E-EVAL 5.19. CTC_Calibration DEMO Purpose 5.19.1. This demo includes the following functions of GD32 MCU:  Learn to use external low speed crystal oscillator (LXTAL) to implement the CTC calibration function  to trim internal 48MHz RC oscillator (IRC48M)
  • Page 32 5.22.2. Use the DuPont line to connect the TIMER0_CH0 (PA8) and LED2 (PF0), and then download the program <22_TIMER_Breath_LED> to the GD32303E-EVAL board and run. PA8 should not be reused by other peripherals. 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 33: Revision History

     Learn how to implement USB HID(human interface) device GD32303E-EVAL board has five keys and one USBD interface. The five keys are Reset key, Wakeup key, Tamper key, User1 key and User2 key. In this demo, the GD32303E-EVAL board is enumerated as an USB Keyboard, which uses the native PC Host HID driver, as shown below.
  • Page 34: Important Notice

    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.