GigaDevice Semiconductor GD32150R-EVAL User Manual

Hide thumbs Also See for GD32150R-EVAL:
Table of Contents

Advertisement

Quick Links

GigaDevice Semiconductor Inc.
GD32150R-EVAL
User Guide
V3.1
(Dec.31.2021)

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for GigaDevice Semiconductor GD32150R-EVAL

  • Page 1 GigaDevice Semiconductor Inc. GD32150R-EVAL User Guide V3.1 (Dec.31.2021)
  • Page 2: Table Of Contents

    User Guide GD32150R-EVAL Table of Contents Table of Contents ..........................1 List of Figures ............................4 List of Tables ............................5 Summary ............................6 Function Pin Assign ........................6 Getting started ..........................7 Hardware layout overview ......................8 4.1. Power supply .......................... 8 4.2.
  • Page 3 User Guide GD32150R-EVAL 5.1. GPIO_Running_LED ......................17 5.1.1. DEMO purpose ....................... 17 5.1.2. DEMO running result ...................... 17 5.2. GPIO_Key_Polling_mode ....................18 5.2.1. DEMO purpose ....................... 18 5.2.2. DEMO running result ...................... 18 5.3. EXTI_Key_Interrupt_mode ....................18 5.3.1. DEMO purpose ....................... 18 5.3.2.
  • Page 4 User Guide GD32150R-EVAL 5.14. SPI_TF_Card_Block_Operation ..................26 5.14.1. DEMO purpose ......................26 5.14.2. DEMO running result ....................26 5.15. SPI_TF_Card_FATFS_Operation ..................27 5.15.1. DEMO purpose ......................27 5.15.2. DEMO running result ....................27 5.16. HDMI-CEC_HostSlaveCommunication ................28 5.16.1. DEMO purpose ......................28 5.16.2.
  • Page 5: List Of Figures

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

    User Guide GD32150R-EVAL List of Tables Table 2-1 Pin assignment ............................6 Table 4-1 Boot configuration ..........................8 Table 6-1 Revision history ............................. 33 5 /34...
  • Page 7: Summary

    User Guide GD32150R-EVAL Summary GD32150R-EVAL-V1.3 evaluation board uses GD32F150RBT6 as the main controller. As a complete development platform of GD32F1x0 powered by ARM® Cortex™-M3 core, the board supports full range of peripherals. It uses mini-USB interface or AC/DC adapter to supply 3.3V power.
  • Page 8: Getting Started

    User Guide GD32150R-EVAL Function Description PB11 TSI_G5_IO0 PB12 TSI_G5_IO1 PB13 TSI_G2_IO2 PB14 TSI_G5_IO3 TSI_G2_IO0 TSI_G2_IO1 SPI0_SCK SPI0_MISO SPI0_MOSI TFT_CS TF_CARD_CS TFT_RESET ADC_IN11 HDMI-CEC COMP0_IP COMPARATOR DAC_OUT Getting started The EVAL Board uses mini-USB connecter or AC/DC adapter to get power, the hardware system power is +3.3V.
  • Page 9: Hardware Layout Overview

    User Guide GD32150R-EVAL Hardware layout overview 4.1. Power supply Figure 4-1 Schematic diagram of power supply +3V3 TP +3V3 +U5V LM1117-3.3 LED6 Vout 470Ω LED0603 SMD1210P005TF +U5V 16V/10uF,AVX 50V/0.1uF 50V/0.1uF 16V/10uF,AVX VBUS PA11 22Ω PA12 22Ω +3V3 VDDA 1.5KΩ EBLS1608-3R3K R37 1MΩ...
  • Page 10: Led

    User Guide GD32150R-EVAL 4.3. Figure 4-3 Schematic diagram of LED function 4.4. Figure 4-4 Schematic diagram of Key function +3V3 +3V3 +3V3 10KΩ 10KΩ 10KΩ PC13 K-1102B K-1102B K-1102B 50V/0.1uF 50V/0.1uF 50V/0.1uF 9 /34...
  • Page 11: Usart

    User Guide GD32150R-EVAL 4.5. USART Figure 4-5 Schematic diagram of USART function +3V3 50V/0.1uF C24 50V/0.1uF 50V/0.1uF MAX3232CSE+ 50V/0.1uF 50V/0.1uF RS232_TX RS232_TX T1IN T1OUT T2IN T2OUT PA10 RS232_RX RS232_RX R1OUT R1IN R2OUT R2IN COM0 4.6. RS485 Figure 4-6 Schematic diagram of RS485 function...
  • Page 12: I2S

    User Guide GD32150R-EVAL 4.8. Figure 4-8 Schematic diagram of I2S function I2S_WS I2S_MCK LRCK SCKI I2S_DIN MSEL PA15 DATA I2S_CK MCLK I2S_MCLK +3V3 NRST MDIN I2S_MDIN 16V/10uF,AVX AGND 50V/0.1uF HGND Vcom 16V/10uF,AVX HoutR HoutL PCM1770 PM 10V/220uF,AVX HeadPhone 10V/220uF,AVX 50V/0.22uF 50V/0.22uF...
  • Page 13: Spi-Tf Card

    User Guide GD32150R-EVAL 4.10. SPI-TF CARD Figure 4-10 Schematic diagram of SPI-TF CARD function SD/LCD_SPI_CLK +3V3 SD/LCD_SPI_MOSI TF_CARD_SOCKET 16V/10uF,AVX +3V3 MicroSD card 4.11. SPI-TFT LCD Figure 4-11 Schematic diagram of SPI-TFT LCD function +3V3 +3V3 50V/0.1uF 10KΩ 10KΩ TFT_CS RESET...
  • Page 14: Usb

    User Guide GD32150R-EVAL 4.12. Figure 4-12 Schematic diagram of USB function 4.13. Figure 4-13 Schematic diagram of CMP function 4.14. HDMI-CEC Figure 4-14 Schematic diagram of HDMI-CEC function +3V3 27KΩ HEADER 2 HDMI-CEC 13 /34...
  • Page 15: Tsi

    User Guide GD32150R-EVAL 4.15. Figure 4-15 Schematic diagram of TSI function PB11 47nF PB14 10KΩ PB13 10KΩ PB12 10KΩ C A-2 TSI1 TSC-line-KEY 2.2KΩ ACTIVE SHIELD 220nF 4.16. IFRP Figure 4-16 Schematic diagram of IFRP function +3V3 100Ω LED5 KD-03144R 100Ω...
  • Page 16: Rtc

    User Guide GD32150R-EVAL 4.17. Figure 4-17 Schematic diagram of RTC function 4.18. GD-Link Figure 4-18 Schematic diagram of GD-Link function 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...
  • Page 17: Beeper

    User Guide GD32150R-EVAL 4.19. BEEPER Figure 4-19 Schematic diagram of BEEPER function 4.20. Extension Figure 4-20 Schematic diagram of Extension Pin PA15 PA14 PC11 PC10 PC12 BOOT0 +3V3 PC13 PC15 PC14 HEADER 16X2 PA12 PA13 PA10 PA11 PB14 PB15 +3V3...
  • Page 18: Mcu

    Learn to use GPIO for controlling the LED  Learn to use SysTick to generate 1ms delay GD32150R-EVAL-V1.3 board has four LEDs. The LED1, LED2, LED3 and LED4 are controlled by GPIO. This demo will show how to light the LEDs. 5.1.2.
  • Page 19: Gpio_Key_Polling_Mode

     Learn to use SysTick to generate 1ms delay GD32150R-EVAL-V1.3 board has four keys and four LEDs. The four keys are Reset key, Tamper key, User key and Wakeup key. The LED1, LED2, LED3 and LED4 are controlled by GPIO.
  • Page 20: Gpio_Beeper

    Learn to use GPIO control the beeper  Learn to use SysTick to generate 1ms delay GD32150R-EVAL-V1.3 board has one beeper and connected by PC7. This demo will show how to use GPIO to control the beeper. 5.4.2. DEMO running result Download the program <04_GPIO_BEEPER>...
  • Page 21: Usart_Hyperterminal_Interrupt

    User Guide GD32150R-EVAL 5.6. USART_HyperTerminal_Interrupt 5.6.1. DEMO purpose This Demo includes the following functions of GD32 MCU:  Learn to use the EVAL_COM transmit and receive interrupts to communicate with the hyperterminal 5.6.2. DEMO running result Download the program <06_USART_HyperTerminal_ Interrupt> to the EVAL board and run.
  • Page 22: Rs485_Test

    GD32F150R_EVAL boards, one board as a sender, the other as a receiver. First connect two GD32150R-EVAL-V1.3 boards through RS485 line A and B, and then download the program <08_RS485_Test> to the board for running. When press the Wakeup key on one board, the board is set as RS485 transmitter and LED2 is on and when press the Tamper key on one board, the board is set as RS485 receiver and LED3 is on.
  • Page 23: Adc_Conversion_Triggered_By_Timer

    User Guide GD32150R-EVAL According to the tips, press down Tamper key to set one board as a receiver first and then press down Wakeup key to the other as a transmitter. The transmitter output as following. The receiver output as following.
  • Page 24: Demo Running Result

     Learn to use comparator output compare result There are two comparators on GD32150R-EVAL-V1.3 board and each comparator has two inputs. In this demo, one input is DAC’s output voltage, and the other one is the photo resistance’s output voltage. Compare the two input voltages, the output is a high or low level, and the LED1 will performs the corresponding action.
  • Page 25: I2C_Eeprom

    User Guide GD32150R-EVAL 5.12. I2C_EEPROM 5.12.1. DEMO purpose This Demo includes the following functions of GD32 MCU:  Learn how to use the master transmitting mode of the I2C module  Learn how to use the master receiving mode of the I2C module ...
  • Page 26: Spi_Tft_Lcd_Driver

    Learn how to use SPI to drive TFT LCD screen and display GD32150R-EVAL-V1.3 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 27: Spi_Tf_Card_Block_Operation

    User Guide GD32150R-EVAL 5.14. SPI_TF_Card_Block_Operation 5.14.1. DEMO purpose This Demo includes the following function of GD32 MCU:  Learn how to use SPI to block read and write from TF card In this demo, the SPI interface is used for reading from and writing to TF card. Write to TF card with 0 to 255, a total of 2048 bytes directly.
  • Page 28: Spi_Tf_Card_Fatfs_Operation

    User Guide GD32150R-EVAL 5.15. SPI_TF_Card_FATFS_Operation 5.15.1. DEMO purpose This Demo includes the following function of GD32 MCU:  Learn how to use SPI to read and write from TF card with FATFS In this demo, the SPI interface is used for reading from and writing to TF card. Make sure the TF card has FAT file system.
  • Page 29: Hdmi-Cec_Hostslavecommunication

    User Guide GD32150R-EVAL 5.16. HDMI-CEC_HostSlaveCommunication 5.16.1. DEMO purpose This Demo includes the following functions of GD32 MCU:  Learn the communication function of HDMI-CEC In the process of communication, the sender sends data to receiver through the key interrupt, the receiver for receiving data in the CEC interrupt. The entire communication process does not make the error processing.
  • Page 30: I2S_Audio_Player

     Learn to use I2S module to output audio file GD32150R-EVAL-V1.3 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 31: Pmu_Sleep_Wakeup

    LEDs, LED1 to LED4 turn on, then turn off. And then the LCD prints out the information of the board, and the calendar. When you press the Wakeup key, the time will be configured to 2016-05-13, 12:00:00. If place a battery on GD32150R-EVAL-V1.3 board, it can realize no losing of time when 30 /34...
  • Page 32: Irinfrared_Transceiver

    DEMO running result Use the DuPont line to connect the TIMER0_CH0 (PA8) and LED1 (PC10), and then download the program <22_TIMER_Breath_LED> to the GD32150R-EVAL-V1.3 board and run. PA8 should not be reused by other peripherals. When the program is running, you can see LED1 lighting from dark to bright gradually and then gradually darken, ad infinitum, just like breathing as rhythm.
  • Page 33: Demo Running Result

    User Guide GD32150R-EVAL 5.23.2. DEMO running result Download the program <23_TSI_TouchKey_Leds> to the EVAL board and run. When the program is running, you can use a finger slide the Touch Sensor (A-1, B, C or A-2) on the EVAL board, and then the associated LED is light.
  • Page 34: Revision History

    User Guide GD32150R-EVAL Revision history Table 6-1 Revision history Revision No. Description Date Initial Release Jun.28, 2017 Updated format across the whole document Jun.1, 2019 Updated format across the whole document Nov.1, 2019 Updated format across the whole document Dec.31, 2021...
  • Page 35 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