background image

 

 

User Manual 

  GD32450I-EVAL 

8

51

 

 

 

PB0 

USB_HS_ULPI_D1 

PA3 

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. Three kinds of different USB power 

supply  which  are  USB_FS,  USB_HS_ULPI,  GD-Link  can  be  chosen  through  JP4.  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 LED5 will turn on, which indicates 

that the power supply is OK. 

 

There  are  Keil  version  and  IAR  version  of  all  projects.  Keil  version  of  the  projects  are 

created based on Keil MDK-ARM 4.74 uVision4. IAR version of the projects are created 

based  on  IAR  Embedded  Workbench  for  ARM  7.40.2.  In  Firmware  folder,  Addon  and 

Software Pack are used to add the devices, peripherals and others to IDE. During use, 

the following points should be noted: 

1.  If you use Keil  uVision4 to  open the project,  install the GD32F4xx_Addon.1.0.0.exe 

which is in \Library\Firmware to load the associated files. 

2. If you use Keil uVision5 to open the project, there are two ways to solve the "Device 

Missing (s)" problem. One is to install GigaDevice.GD32F4xx_DFP.1.0.0.pack which is 

in  \Library\Firmware.  In  Project  menu,  select  the  Manage  sub  menu,  click  on  the 
“Version Migrate 5 Format...” menu, the Keil uVision4 project will be converted to Keil 

uVision5 project. Then add 

“C:\Keil_v5\ARM\Pack\ARM\CMSIS\4.2.0\CMSIS\Include” to 

C/C++ in Option for Target. The other is to install Addon directly. Select the installation 

directory of Keil uVision5 software, such as C:\Keil_v5, in Destination Folder of Folder 

Selection.  Select  the  corresponding  device  in  Device  of  Option  for  Target  and  add 
“C:\Keil_v5\ARM\Pack\ARM\CMSIS\4.2.0\CMSIS\Include” to C/C++ in Option for Target. 

3.  If  you  use  IAR  to  open  the  project,  install  IAR_GD32F4xx_Addon.exe  which  is  in 

\Library\Firmware to load the associated files. 

Summary of Contents for GD32450I-EVAL

Page 1: ...GigaDevice Semiconductor Inc GD32450I EVAL User Manual ...

Page 2: ... ADC 11 4 7 DAC 11 4 8 I2S 11 4 9 I2C 12 4 10 SPI 12 4 11 CAN 12 4 12 Ethernet 13 4 13 SDIO 13 4 14 NAND Flash 14 4 15 SDRAM 14 4 16 DCI 15 4 17 LCD 15 4 18 USBFS 16 4 19 USBHS 16 4 20 Extension 17 4 21 GD Link 17 5 Routine use guide 17 5 1 GPIO_Runing_Led 17 5 2 GPIO_Keyboard_Polling_mode 18 5 3 GPIO_KeyBoard_Interrupt_mode 18 5 4 USART_Printf 19 5 5 USART_Echo_Interrupt_mode 19 5 6 USART_DMA 20 ...

Page 3: ...I2S_Audio_Player 27 5 14 EXMC_SDRAM 28 5 15 EXMC_SDRAM_DeepSleep 28 5 16 EXMC_NandFlash 29 5 17 SDIO_SDCardTest 30 5 18 CAN_Network 31 5 19 RCU_Clock_Output 32 5 20 CTC_Calibration 32 5 21 PMU_sleep_wakeup 33 5 22 RTC_Calendar 33 5 23 TIMER_Breath_LED 34 5 24 TLI_IPA 35 5 25 DCI_OV2640 35 5 26 TRNG_Get_Random 36 5 27 ENET 37 5 28 USB_Device 44 5 29 USB_Host 47 6 Revision history 51 ...

Page 4: ...User Manual GD32450I EVAL 3 51 List of Tables Table 1 Function pin assign 4 Table 2 Revision history 51 ...

Page 5: ...efer to GD32450I EVAL V1 1 schematic 2 Function Pin Assign Table 1 Function pin assign Function Pin Description LED PE2 LED1 PE3 LED2 PF10 LED3 RESET K1 Reset KEY PA0 K2 Warkup PC13 K3 Tamper PB14 K4 User key USART0 PA9 USART0_TX PA10 USART0_RX ADC PC3 ADC012_IN13 DAC PA4 DAC_OUT0 I2C PB6 I2C0_SCL PB7 I2C0_SDA SPI PG10 SPI5_IO2 PG11 SPI5_IO3 PG13 SPI5_SCK PG14 SPI5_MOSI PG12 SPI5_MISO PI8 SPI5_CS ...

Page 6: ..._SDCKE0 PD0 EXMC_D2 PD1 EXMC_D3 PD8 EXMC_D13 PD9 EXMC_D14 PD10 EXMC_D15 PD14 EXMC_D0 PD15 EXMC_D1 PE0 EXMC_NBL0 PE1 EXMC_NBL1 PE7 EXMC_D4 PE8 EXMC_D5 PE9 EXMC_D6 PE10 EXMC_D7 PE11 EXMC_D8 PE12 EXMC_D9 PE13 EXMC_D10 PE14 EXMC_D11 PE15 EXMC_D12 PF0 EXMC_A0 PF1 EXMC_A1 PF2 EXMC_A2 PF3 EXMC_A3 PF4 EXMC_A4 PF5 EXMC_A5 PF11 EXMC_NRAS PF12 EXMC_A6 PF13 EXMC_A7 PF14 EXMC_A8 PF15 EXMC_A9 PG0 EXMC_A10 ...

Page 7: ...DCI PB6 DCI_I2C0_SCL PB7 DCI_I2C0_SDA PA4 DCI_HSYNC PG9 DCI_VSYNC PA6 DCI_PIXCLK PA8 DCI_XCLK PB9 DCI_D7 PB8 DCI_D6 PD3 DCI_D5 PC11 DCI_D4 PC9 DCI_D3 PC8 DCI_D2 PC7 DCI_D1 PC6 DCI_D0 LCD PI3 LCD_Touch_PENIRQ PF9 LCD_SPI4_MOSI PF8 LCD_SPI4_MISO PF7 LCD_SPI4_SCK PF6 LCD_SPI4_NSS PB15 LCD_PWM_BackLight PH7 LCD_Touch_Busy PH2 LCD_R0 PH3 LCD_R1 PH8 LCD_R2 PH9 LCD_R3 PH10 LCD_R4 PH11 LCD_R5 PH12 LCD_R6 ...

Page 8: ...CD_VSYNC Ethernet PA1 ETH_RMII_REF_CLK PA2 ETH_MDIO PA7 ETH_RMII_CRS_DV PG11 ETH_RMII_TX_EN PG13 ETH_RMII_TXD0 PG14 ETH_RMII_TXD1 PC1 ETH_MDC PC4 ETH_RMII_RXD0 PC5 ETH_RMII_RXD1 PA8 ETH_RMII_REF_CLK USB_FS PA9 USB_VBUS PA11 USB_DM PA12 USB_DP USB_HS PH4 USB_HS_ULPI_NXT PI11 USB_HS_ULPI_DIR PC0 USB_HS_ULPI_STP PA5 USB_HS_ULPI_CK PB5 USB_HS_ULPI_D7 PB13 USB_HS_ULPI_D6 PB12 USB_HS_ULPI_D5 PB11 USB_HS...

Page 9: ...ng use the following points should be noted 1 If you use Keil uVision4 to open the project install the GD32F4xx_Addon 1 0 0 exe which is in Library Firmware to load the associated files 2 If you use Keil uVision5 to open the project there are two ways to solve the Device Missing s problem One is to install GigaDevice GD32F4xx_DFP 1 0 0 pack which is in Library Firmware In Project menu select the M...

Page 10: ...D1812P150TF 24 5 S2 3 S 2 S1 1 4 SW1 SS12D07VG4 1 3 2 CN1 DC 005 GND VCC 5V GND E2 16V 10uF AVX POWER V_USB_5V 4 2 Boot R4 10KΩ 1 2 3 JP2 BOOT0 GND R5 10KΩ 1 2 3 JP3 BOOT1 GND BOOT0 PB2 3V3 3V3 BOOT1 BOOT1 BOOT0 Boot Mode Any 2 3 User memory 2 3 1 2 System memory 1 2 1 2 SRAM memory 4 3 LED LED1 LED0603 LED2 LED0603 LED3 LED0603 R13 470Ω R14 470Ω R15 470Ω LED LED1 LED2 LED3 GND PE2 PE3 PF10 ...

Page 11: ... 4 5 USART C1 1 V 2 C1 3 C2 4 C2 5 V 6 T2OUT 7 R2IN 8 R2OUT 9 T2IN 10 T1IN 11 R1OUT 12 R1IN 13 T1OUT 14 GND 15 VCC 16 U3 MAX3232CSE 3V3 GND C23 50V 0 1uF C25 50V 0 1uF C24 50V 0 1uF C22 50V 0 1uF C21 50V 0 1uF GND USART0_TX USART0_RX USART0_TX 1 6 2 7 3 8 4 9 5 J1 COM1 GND 1 2 3 JP5 HEADER 3 PA9 PA10 USB_FS_VBUS Short JP5 2 3 for USB_FS function RS232_TX0 RS232_RX0 Short JP5 1 2 for USART0 functio...

Page 12: ...ic for right config Pi1 Pi0 I2S1_SD I2S1_CK I2S1_WS I2S1_MCK PA6 PC1 Pi1 LCD_G6 I2S1_CK Pi0 LCD_G5 I2S1_WS PA6 DCI_PIXCLK I2S1_MCK R43 0Ω R44 0Ω R55 0Ω I2S I2S1_MCK I2S1_WS I2S1_CK I2S1_SD C27 50V 0 1uF GND E7 16V 10uF AVX C34 50V 0 1uF GND E8 16V 10uF AVX GND 5 4 3 2 1 J2 HeadPhone E4 16V 3 3uF AVX E6 16V 3 3uF AVX GND R91 10KΩ R24 10KΩ GND GND R25 470Ω R54 470Ω SDIN 1 SCLK 2 LRCK 3 MCLK 4 VQ 5 F...

Page 13: ...PI5_WP_IO2 SPI5_HOLD_IO3 SPI5_SCK SPIFlash_CS PG14 PG12 PG10 PG11 PG13 Pi8 1 2 3 JP12 HEADER 3 1 2 3 JP13 HEADER 3 1 2 3 JP20 HEADER 3 RMII_TX_EN RMII_TXD0 RMII_TXD1 Short JP12 1 2 for Ethnet function Short JP12 2 3 for SPI TLI function Short JP13 1 2 for Ethnet function Short JP13 2 3 for SPI function Short JP20 1 2 for Ethnet function Short JP20 2 3 for SPI function PG10 SPI5_ WP_IO2 LCD_B2 SPI5...

Page 14: ...49 9Ω R29 49 9Ω C36 50V 0 1uF C35 50V 0 1uF GND GND R30 240Ω R31 240Ω C40 50V 0 1uF C41 50V 0 1uF C42 50V 0 1uF 3V3 GND PC4 PC5 PA1 MCO RMII_TX_EN RMII_TXD0 RMII_TXD1 RMII_RXD0 RMII_RXD1 RMII_CRS_DV RMII_MDC RMII_MDIO RMII_REF_CLK RMII_TX_EN RMII_TXD0 RMII_TXD1 RMII_RXD0 RMII_RXD1 RMII_MDC RMII_MDIO RMII_REF_CLK RMII_CRS_DV RP2 33Ω RP3 33Ω PA8 PA8 is an AFIO refer to DCI schematic for right config...

Page 15: ...MT48LC16M16A2P 6AIT 3V3 GND 3V3 3V3 3V3 3V3 3V3 GND GND GND GND GND GND GND 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_NBL0 EXMC_NBL1 EXMC_SDNWE EXMC_SDNCAS EXMC_SDNRAS EXMC_SDNE0 EXMC_BA0 EXMC_BA1 EXMC_A0 EXMC_A1 EXMC_A2 EXMC_A3 EXMC_A4 EXMC_A5 EXMC_A6 EXMC_A7 EXMC_A8 EXMC_A9 EXMC_A10 EXMC_A11 EXMC_A12...

Page 16: ... 4 17 LCD TLI PG12 PG10 PE4 Pi5 Pi4 Pi6 Pi7 LCD_B1 LCD_B2 LCD_B3 LCD_B4 LCD_B5 LCD_B6 LCD_B7 LCD_B0 PE5 PE6 PH13 Pi2 PH15 Pi0 Pi1 PH14 LCD_G0 LCD_G1 LCD_G2 LCD_G3 LCD_G4 LCD_G5 LCD_G6 LCD_G7 PH9 PH12 PG6 PH3 PH2 PH10 PH11 PH8 LCD_R0 LCD_R1 LCD_R2 LCD_R3 LCD_R4 LCD_R5 LCD_R6 LCD_R7 PG7 Pi10 Pi9 LCD_CLK LCD_HSYNC LCD_VSYNC LCD_SPI4_NSS LCD_SPI4_SCK LCD_SPI4_MISO LCD_SPI4_MOSI PH7 LCD_Touch_PENIRQ LC...

Page 17: ...2 GNDPAD 33 U13 USB3300 EZK R98 10KΩ R111 12KΩ GND VBUS 1 DM 2 DP 3 ID 4 GND 5 Shield 6 USB_MiniAB receptacle CN3 Mini_USB R114 1MΩ C70 50V 4 7nF GND GND R112 820Ω 5V GND C64 50V 0 1uF C65 50V 0 1uF C66 50V 0 1uF C67 50V 0 1uF GND 3V3 E13 16V 4 7uF AVX E12 16V 4 7uF AVX C71 50V 0 1uF GND C69 50V 0 1uF GND GND R116 10KΩ GND USB_HS_ULPI_D1 USB_HS_ULPI_D2 USB_HS_ULPI_D3 USB_HS_ULPI_D4 USB_HS_ULPI_D5 ...

Page 18: ...V3 3V3 GND GND 3V3 3V3 NC NC NC NC NC NC NC 4 21 GD Link L_USB_Ctr C100 50V 20pF C102 50V 20pF Y101 HC 49S 8MHz GND L_NRST 3V3 GND R102 10KΩ C103 50V 0 1uF R104 10KΩ GND C105 50V 0 1uF C106 50V 0 1uF C107 50V 0 1uF C108 50V 0 1uF R101 1MΩ L_OSC_IN L_OSC_OUT L_OSC_IN L_OSC_OUT L_NRST GND 3V3 GND 1 2 3 4 JP100 4 1P2 54 3V3 GND MCU SWD HSE Reset L_TMS IO L_TDI L_TDO SWO L_TCK CLK L_USB_DP L_SWDIO L_S...

Page 19: ...o control the LED1 When press down the Tamper Key it will check the input value of the IO port If the value is 0 and will wait for 100ms Check the input value of the IO port again If the value still is 0 it indicates that the button is pressed successfully and toggle LED1 5 2 2 DEMO Running Result Download the program 02_GPIO_KeyBoard_Polling_mode to the EVAL board press down the Tamper Key LED1 w...

Page 20: ...of GD32 MCU Learn to use GPIO control the LED Learn to retarget the C library printf function to the USART 5 4 2 DEMO Running Result Download the program 04_USART_Printf to the EVAL board jump the JP5 to USART with the jumper cap and connect serial cable to EVAL_COM1 This implementation outputs USART printf example please press the Tamper key on the HyperTerminal using EVAL_COM1 Press the Tamper k...

Page 21: ...D3 toggle together The output information via the serial port is as following 5 6 USART_DMA 5 6 1 DEMO Purpose This demo includes the following functions of GD32 MCU 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 jump the JP5 to USART with the jumper cap and connect serial cable to EVAL_COM1 Firstly all the L...

Page 22: ...DEMO Running Result Jump the JP5 to USART with the jumper cap and then download the program 07_ADC_Temperature_Vrefint_Vbat to the GD32450I EVAL board Connect serial cable to EVAL_COM1 open the HyperTerminal When the program is running HyperTerminal display the value of temperature internal voltage reference VREFINT and external battery voltage VBAT Notice because there is an offset when inner tem...

Page 23: ...C1 When the rising edge of TIMER1_CH1 coming ADC0 starts immediately and ADC1 starts after a delay of several ADC clock cycles The values of ADC0 and ADC1 are transmitted to array adc_value 0 and adc_value 1 by DMA When the first rising edge of TIMER1_CH1 coming the value of the ADC0 conversion of PC3 pin is stored into the low half word of adc_value 0 and after a delay of several ADC clock cycles...

Page 24: ...ipherals JP17 should not be connected TIMER1_CH1 is the trigger source of ADC0 and ADC1 When the rising edge of TIMER1_CH1 coming ADC0 and ADC1 convert the regular channel group parallelly The values of ADC0 and ADC1 are transmitted to array adc_value 0 and adc_value 1 by DMA When the first rising edge of TIMER1_CH1 coming the value of the ADC0 conversion of PC3 pin is stored into the low half wor...

Page 25: ...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 or JP7 its value is 1 65V 5 11 I2C_EEPROM 5 11 1 DEMO Purpose This demo includes the following functions of GD32 MCU Learn to use the master transmitting mode of I2C modul...

Page 26: ...om 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 they are the same the serial port will output I2C AT24C02 test passed and the three LEDs lights flashing otherwise the serial port will output Err data read a...

Page 27: ...cted to the COM1 port of development board set the baud rate of HyperTerminal software to 115200 8 bits data bit 1 bit stop bit At the same time you should jump the JP5 to USART and jump the JP12 JP13 JP20 to SPI Download the program 12_SPI_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 writt...

Page 28: ...file Parsing audio files of wav format GD32450I 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 5 13 2 DEMO Running Result Download the program 13_I2S_Audio_Player to the EVAL board jump the JP18 to I2S ...

Page 29: ... fitted to SDRAM JP5 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 If the test succeed LED1 will be turned on Otherwise turn on the LED3 Information via a HyperTerminal output as following 5 15 EXMC_SDRAM_DeepSleep 5 15 1 DEMO Purpose This demo includes the following functions of GD32...

Page 30: ...e the data which read from SDRAM with the write data if the test pass LED1 will be turned on Otherwise turn on the LED3 Information via a HyperTerminal output as following 5 16 EXMC_NandFlash 5 16 1 DEMO Purpose This demo includes the following functions of GD32 MCU Learn to use EXMC control the NAND flash 5 16 2 DEMO Running Result GD32450I EVAL board has EXMC module to control NAND flash Before ...

Page 31: ...ad the program 17_SDIO_SDCardTest to the EVAL board and run Connect serial cable to EVAL_COM1 open the HyperTerminal Firstly all the LEDs are turned on and off for test Then initialize the card and print out the information of the card After that test the function of single block operation lock and unlock operation erase operation and multiple blocks operation If any error occurs print the error m...

Page 32: ...EMO Running Result This example is tested with two GD32F450I EVAL boards Jump the JP5 to USART and JP19 JP21 to CAN with the jumper cap Connect L pin to L pin and H pin to H pin of JP11 on the boards for sending and receiving frames Download the program 18_CAN_Network to the two EVAL boards and connect serial cable to EVAL_COM1 Firstly the EVAL_COM1 sends please press the Tamper key to transmit da...

Page 33: ...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 button After pressing the corresponding LED will be turned on and HyperTerminal will display which mode be selected The frequency of the output clock can be observed through the oscilloscope by PA8 and PC9 pin Information via a se...

Page 34: ... Learn to use the USART receive interrupt to wake up the PMU from sleep mode 5 21 2 DEMO Running Result Download the program 21_PMU_sleep_wakeup to the EVAL board jump the JP5 to USART with the jumper cap and connect serial cable to EVAL_COM1 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 HyperTermina...

Page 35: ...demo includes the following functions of GD32 MCU Learn to use Timer output PWM wave Learn to update channel value 5 23 2 DEMO Running Result Use the DuPont line to connect the TIMER1_CH2 PB10 and LED1 PE2 and then download the program 23_TIMER_Breath_LED to the GD32450I EVAL board and run PB10 should not be reused by other peripherals such as USB_HS_ULPI When the program is running you can see LE...

Page 36: ... Running Result Jump the JP12 to LCD and download the program 24_TLI_IPA to the EVAL board and run After downloading program to board a running cheetah on the background of GD logo is appeared on the LCD which outputs as following 5 25 DCI_OV2640 5 25 1 DEMO Purpose This demo includes the following functions of GD32 MCU Learn to use DCI interface capture image from OV2640 camera Learn to use TLI i...

Page 37: ...ation of LCD display and OV2640 camera to the development board After power on you can observe the capture image of camera displayed on the LCD screen you can press the user key to take photo and press tamper key to display photo You can also return to the camera capture state when press the wakeup key on the development board 5 26 TRNG_Get_Random 5 26 1 DEMO Purpose This demo includes the followi...

Page 38: ...rmation User can use the serial terminal tool to input the minimum and maximum values for example the minimum value is 0x03 the maximum value is 0x0F then application will generate random number in the input range and display it by the serial terminal tool Information via a serial port output as following 5 27 ENET 5 27 1 FreeRTOS_tcpudp DEMO Purpose This demo includes the following functions of G...

Page 39: ...h the server using 1026 port Users can send information from server to client then the client will send back the information 3 udp application Users can link the eval board with another station using 1025 port Users can send information from station to board then the board will send back the information If users need dhcp function it can be configured from the private defines in main h This functi...

Page 40: ...e pc users can see the automatic allocated ip address of the board from the HyperTerminal 5 27 2 Raw_tcpudp DEMO Purpose This demo includes the following functions of GD32 MCU Learn to use Lwip stack Learn to use raw API to handle with a task Learn how to realize a tcp server Learn how to realize a tcp client Learn how to realize a udp server client Learn how to use DHCP to allocate ip address aut...

Page 41: ...nt will send back the information If the server is not online at first or is break during process when the server is ready again users can press tamper key to reconnect with server and communicate 3 udp application Users can link the eval board with another station using 1025 port Users can send information from station to board then the board will send back the information By default the packet r...

Page 42: ...and when send something through the assistant users can see the echo reply from the client 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 ...

Page 43: ...ocal ip address of the eval board There are two experiments realized one is the LEDs control the other one is the ADC monitoring VREFINT voltage in real time If users need dhcp function it can be configured from the private defines in main h This function is closed by default Users can use a router to connect the eval board and use the COM port to print the automatic allocated ip address then conn...

Page 44: ...User Manual GD32450I EVAL 43 51 The LED control page shows as below The ADC monitor page shows as below Open the DHCP function in main h using a router to connect the board and use the ...

Page 45: ...ow The USB Keyboard uses three keys wakeup key tamper key and user key to output three characters b a and c In addition the demo also supports remote wakeup which is the ability of a USB device to bring a suspended bus back to the active condition and the wakeup key is used as the remote wakeup source DEMO Running Result According to the VBUSIG bit in USBFS_GCCFG register user can decide whether o...

Page 46: ...SC protocol please refer to the MSC protocol standard MSC device will use a variety of transport protocols and command formats for communication so it need to choose the appropriate protocol and command format in the realization of the application This Demo selects the BOT bulk only transport protocol and the required SCSI small computer interface command and is compatible with a wide variety of W...

Page 47: ...FS core or the USB_HS_ULPI connector if use USBHS core After doing this download the program 28_USB_Device MSC_Udisk to the EVAL board and run When the EVAL board connect to the PC you will find a USB large capacity storage device is in the universal serial bus controller and there is 1 more disk drives in the equipment manager of PC as shown below Then after opening the resource manager you will ...

Page 48: ...tion between the HID host and the keyboard device GD32450I 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 DEMO Running Result Jump the JP5 to USB_FS and jump the JP17 to SDRAM Insert the OTG cable to the USB_FS port Then download t...

Page 49: ...l see the inserted device is mouse and then moving the mouse will move the x in the LCD screen and pressing the button will show the magenta color rectangle in the LCD screen If a keyboard has been attached the user will see the information of keyboard enumeration ...

Page 50: ...Manual GD32450I EVAL 49 51 First pressing the user key will see the inserted device is keyboard and then pressing the keyboard will print the char of the button in the LCD screen 5 29 2 MSC_Host DEMO Purpose ...

Page 51: ...FS and jump the JP17 to SDRAM Insert the OTG cable to the USB_FS port and choose the GD32450I_EVAL_Fullspeed project in the program 29_USB_Host MSC_Host or insert the OTG cable to the USB_HS_ULPI port and choose the GD32450I_EVAL_Highspeed project in the program 29_USB_Host MSC_Host Then download it to the EVAL board and run If an Udisk has been attached the user will see the information of Udisk ...

Page 52: ...User Manual GD32450I EVAL 51 51 6 Revision history Table 2 Revision history Revision No Description Date 1 0 Initial Release Oct 19 2016 ...

Reviews: