background image

 
 
 
 
 

 

GigaDevice Semiconductor Inc. 

 

 

GD32E230C-EVAL 

User Guide 

 

 

 
 

 

 

 

 

 

 

 

 

 

 

 

Summary of Contents for GD32E230C-EVAL

Page 1: ...GigaDevice Semiconductor Inc GD32E230C EVAL User Guide ...

Page 2: ...out overview 7 4 1 Power supply 7 4 2 Boot option 7 4 3 LED 8 4 4 KEY 8 4 5 USART0 8 4 6 ADC 9 4 7 I2S 9 4 8 I2C 9 4 9 QSPI FLASH 10 4 10 SPI TFT LCD 10 4 11 CMP 10 4 12 IFRP 11 4 13 GD Link 11 4 14 Extension 12 4 15 MCU 12 5 Routine use guide 13 5 1 GPIO_Runing_Led 13 5 1 1 DEMO Purpose 13 5 1 2 DEMO Running Result 13 5 2 GPIO_KeyBoard_Polling_mode 13 5 2 1 DEMO Purpose 13 ...

Page 3: ...MO Purpose 16 5 7 2 DEMO Running Result 16 5 8 Comparator_Obtain_Brightness 16 5 8 1 DEMO Purpose 16 5 8 2 DEMO Running Result 16 5 9 I2C_EEPROM 17 5 9 1 DEMO Purpose 17 5 9 2 DEMO Running Result 17 5 10 QSPI_FLASH 18 5 10 1 DEMO Purpose 18 5 10 2 DEMO Running Result 18 5 11 SPI_TFT_LCD_Driver 19 5 11 1 DEMO Purpose 19 5 11 2 DEMO Running Result 19 5 12 I2S_Audio_Player 20 5 12 1 DEMO Purpose 20 5...

Page 4: ...EVAL 3 24 5 15 2 DEMO Running Result 21 5 16 IRInfrared_Transceiver 22 5 16 1 DEMO Purpose 22 5 16 2 DEMO Running Result 22 5 17 TIMER_Breath_LED 22 5 17 1 DEMO Purpose 22 5 17 2 DEMO Running Result 22 6 Revision history 23 ...

Page 5: ... 4 6 Schematic diagram of ADC function 9 Figure 4 7 Schematic diagram of I2S function 9 Figure 4 8 Schematic diagram of I2C function 9 Figure 4 9 Schematic diagram of QSPI FLASH function 10 Figure 4 10 Schematic diagram of SPI TFT LCD function 10 Figure 4 11 Schematic diagram of CMP function 10 Figure 4 12 Schematic diagram of IFRP function 11 Figure 4 13 Schematic diagram of GD Link function 11 F...

Page 6: ...User Guide GD32E230C EVAL 5 24 List of Tables Table 2 1 Pin assignment 6 Table 4 1 Boot configuration 7 Table 6 1 Revision history 23 ...

Page 7: ... ADC and Extension Pin are also included This document details its hardware schematic and the relevant applications 2 Function Pin Assign Table 2 1 Pin assignment Function Pin Description LED PA8 LED1 PA11 LED2 PA12 LED3 PA15 LED4 RESET K1 Reset KEY PA0 K2 Wakeup PC13 K3 Tamper IR PB4 IR_RX PB9 IR_TX I2C PB6 I2C0_SCL PB7 I2C0_SDA I2S PA4 I2S0_WS PA5 I2S0_CK PA7 I2S0_SD PA6 I2S0_MCK USART0 PA9 USAR...

Page 8: ...8 32 1 During use the following points should be noted 1 If you use Keil uVision5 to open the project In order to solve the Device Missing s problem you can install GigaDevice GD32E230_DFP 1 0 0 pack 2 If you use IAR to open the project install IAR_GD32E230_ADDON_1 0 0 exe to load the associated files 4 Hardware layout overview 4 1 Power supply Figure 4 1 Schematic diagram of power supply G 1 Vout...

Page 9: ...hematic diagram of Key function PA0 R29 10KΩ 3V3 GND PC13 R31 10KΩ 3V3 GND C19 50V 0 1uF KEY K2 K 1102B K3 K 1102B 4 5 USART0 Figure 4 5 Schematic diagram of USART0 function RS232_TX VBUS 1 DM 2 DP 3 ID 4 GND 5 Shield 6 USB_MiniAB receptacle CN2 Mini_USB UD 1 UD 2 GND 3 RTS 4 CTS 5 TNOW 6 VCC 7 TXD 8 RXD 9 V3 10 U5 CH340E D D 3V3 3V3 PA9 PA10 C24 50V 0 01uF C25 50V 0 1uF D D C21 50V 4700pF R17 1MΩ...

Page 10: ... I2S0_CK I2S0_SD C4 50V 0 1uF GND E2 16V 10uF AVX C43 50V 0 1uF GND E1 16V 10uF AVX GND 5 4 3 2 1 J1 HeadPhone E3 16V 3 3uF AVX E4 16V 3 3uF AVX GND R44 10KΩ R43 10KΩ GND GND R7 470Ω R8 470Ω SDIN 1 SCLK 2 LRCK 3 MCLK 4 VQ 5 FILT 6 AOUTL 7 GND 8 AOUTR 10 VA 9 U2 CS4344 3V3 4 8 I2C Figure 4 8 Schematic diagram of I2C function PB6 PB7 A0 1 A1 2 A2 3 GND 4 SDA 5 SCL 6 WP 7 VCC 8 U1 AT24C02C SSHM T 3V3...

Page 11: ...0V 0 1uF GND PB14 PB13 SPI1_MOSI SPI1_SCK PB12 SPI1_IO2 SPI1_IO3 PB11 PB10 SPI1_IO2 SPI1_IO3 4 10 SPI TFT LCD Figure 4 10 Schematic diagram of SPI TFT LCD function VCC 1 GND 2 TFT_CS 3 RESET 4 D C 5 SDI MOSI 6 SCK 7 LED 8 SDO MISO 9 CN1 SPI_LCD_Interface GND PB0 PB1 R42 10KΩ 3V3 C30 50V 0 1uF 3V3 3V3 R45 10KΩ SPI1_MOSI SPI1_SCK SPI1_MISO SPILCD_CS SPI LCD PB2 4 11 CMP Figure 4 11 Schematic diagram...

Page 12: ..._TMS IO L_TDI L_TDO SWO L_TCK CLK L_USB_DP L_SWDIO L_SWDCK L_SWDIO L_SWDCK 3V3 L_USB_DM BOOT0 44 NRST 7 OSC_IN PD0 5 OSC_OUT PD1 6 PA0 WKUP 10 PA1 11 PA2 12 PA3 13 PA4 14 PA5 15 PA6 16 PA7 17 PA8 29 PA9 30 PA10 31 PA11 32 PA12 33 PA13 JTMS SWDIO 34 PA14 JTCK SWCLK 37 PA15 JTDI 38 PB0 18 PB1 19 PB2 BOOT1 20 PB3 JTDO 39 PB4 JNTRST 40 PB5 41 PB6 42 PB7 43 PB8 45 PB9 46 PB10 21 PB11 22 PB12 25 PB13 26...

Page 13: ...3 C10 50V 0 1uF C11 50V 0 1uF GND 3V3 GND VDDA PB11 PB10 PA3 PB8 PB9 PC13 PC14 PC15 PF7 PF6 PB15 PB14 PB13 PB12 SWDAT SWCLK NRST L_TMS IO L_TCK CLK L_TReset GDLink SWD GND C14 50V 10pF C13 50V 10pF Y1 32 768KHz PC14 PC15 PA0 PA1 PA2 PA7 PA6 PA5 PA4 PA13 PA12 PA11 PA10 PA9 PA8 PA14 PA15 PB2 PB1 PB0 PB6 PB7 PB3 PB4 PB5 GND VDDA C23 50V 0 1uF 3V3 L1 BLM18BB220SN1D GND SWDAT SWCLK BOOT0 44 NRST 7 OSC_...

Page 14: ...ose This Demo includes the following functions of GD32 MCU Learn to use GPIO control the LED and the KEY Learn to use SysTick to generate 1ms delay GD32E230C EVAL board has three keys and four LEDs The three keys are Reset key Tamper key and Wakeup key The LED1 LED2 LED3 and LED4 are controlled by GPIO This demo will show how to use the Tamper key to control the LED2 When press down the Tamper Key...

Page 15: ...n press down the Tamper Key it will produce an interrupt In the interrupt service function the demo will toggle LED2 5 3 2 DEMO Running Result Download the program 03_GPIO_KeyBoard_Interrupt_mode to the EVAL board when press down the Tamper Key LED2 will be turned on Press down the Tamper Key again LED2 will be turned off 5 4 USART_Printf 5 4 1 DEMO Purpose This Demo includes the following functio...

Page 16: ...ize 32 bytes as maximum After that compare rxcount with receivesize If rxcount is same with receivesize the COM sends the USART receive successfully to the hyperterminal The information via a serial port output as following 5 6 USART_DMA 5 6 1 DEMO Purpose This Demo includes the following functions of GD32 MCU Learn to use the COM transmit and receive using DMA 5 6 2 DEMO Running Result Download t...

Page 17: ...triggered_by_timer to the GD32E230C EVAL board adjust the adjustable potentiometer knob to change the analog input The ADC which is triggered by TIMER0 CH0 event will convert the analog input and you will see the result a voltage curve on the LCD The curve adjusts with the analog input 5 8 Comparator_Obtain_Brightness 5 8 1 DEMO Purpose This Demo includes the following functions of GD32 MCU Learn ...

Page 18: ...oard and run Connect serial cable to COM and open the HyperTerminal to show the print message Firstly the data of 256 bytes will be written to the EEPROM from the address 0x00 and printed by the serial port Then reading the EEPROM from address 0x00 for 256 bytes and the result will be printed Finally compare the data that were written to the EEPROM and the data that were read from the EEPROM If th...

Page 19: ...5200 8 bits data bit 1 bit stop bit Download the program 10_QSPI_FLASH to the EVAL board the HyperTerminal software can observe the operation condition and will display the ID of the flash 256 bytes data which are written to and read from flash Compare the data that were written to the flash and the data that were read from the flash If they are the same the serial port will output SPI GD25Q16 Tes...

Page 20: ...D32E230C EVAL 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 5 11 2 DEMO Running Result Download the program 11_SPI_TFT_LCD_Driver to the EVAL board All the LEDs are turned on and then turned off for test After that the LCD screen on the board will display the GUI tests in infinite loop ...

Page 21: ...ol This Demo mainly shows how to use the I2S interface of the board for audio output 5 12 2 DEMO Running Result Download the program 12_I2S_Audio_Player After downloading the program insert the earphone into the audio port J1 then listen to the audio file 5 13 RCU_Clock_Out 5 13 1 DEMO Purpose This Demo includes the following functions of GD32 MCU Learn to use GPIO control the LED Learn to use EXT...

Page 22: ...ng functions of GD32 MCU Learn to use the USART receive interrupt to wake up the PMU from sleep mode 5 14 2 DEMO Running Result Download the program 14_PMU_sleep_wakeup to the EVAL board connect serial cable to EVAL_COM After power on all the LEDs are off The MCU will enter sleep mode and the software stop running When the USART0 receives a byte of data from the HyperTerminal the MCU will wake up ...

Page 23: ...unning Result Download the program 16_IRInfrared_Transceiver to the EVAL board and run When the program is running if the infrared receiver received data is correct LED1 LED2 LED3 LED4 light in turn otherwise LED1 LED2 LED3 LED4 toggle together 5 17 TIMER_Breath_LED 5 17 1 DEMO Purpose This Demo includes the following functions of GD32 MCU Learn to use Timer output PWM wave Learn to update channel...

Page 24: ...User Guide GD32E230C EVAL 23 24 6 Revision history Table 6 1 Revision history Revision No Description Date 1 0 Initial Release Nov 1th 2018 ...

Page 25: ...inary business industrial personal and or household applications only The Products are not designed intended or authorized for use as components in systems designed or intended for the operation of weapons weapons systems nuclear installations atomic energy control instruments combustion control instruments airplane or spaceship instruments transportation instruments traffic signal instruments lif...

Reviews: