User Guide
GD32350G-START
10 /13
Learn how to use the USBFS peripheral
Learn how to implement USB CDC device
Start board has one USBFS interface. In this demo, the Start board is enumerated as an
USB virtual COM port, which would be shown in device manager of PC as below. This demo
makes the USB device looks like a serial port, and loops back the contents of a text file over
USB port. To run the demo, input a message using the PC's keyboard. Any data that shows
in HyperTerminal is received from the device.
DEMO running Result
Download the program <04_USBFS\Device\CDC_ACM> to the Start board and run. When
you input message through computer keyboard, the HyperTerminal will receive and shown
the message. For example, when you input “GigaDevice MCU”, the HyperTerminal will get
the message and show it as below.
5.4.2.
USBH_MSC_Host
DEMO purpose
This demo includes the following functions of GD32 MCU:
Learn to use the USBFS as a MSC host
Learn the operation between the MSC host and the Udisk
Start board integrates the USBFS module, and the module can be used as USBFS device, a
USBFS host or OTG device. This demo mainly shows how to use the USBFS as a USB MSC
host to communicate with external Udisk.