User Guide
GD32E507V-START
13/16
and mobile devices, which allow a universal serial bus (USB) equipment to access a host
computing device, file transfer between them, mainly including mobile hard disk, mobile U
disk drive, etc. The MSC device must have a storage medium, and this demo uses the MCU's
internal SRAM as the storage medium. For more details of the MSC 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 Window
operating systems. Specific BOT protocol and SCSI command specification please refer to
the standard of their agreement.
5.6.2.
DEMO Running Result
Download the program < 06_USB_MSC_Device > to the EVAL board and run. When the start
board is connected 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.
Then, after opening the resource manager, you will see more of the 1 disk, as shown in the
following diagram:
At this point, the write/read/formatting operation can be performed as the other mobile
devices.
5.7.
USB HID Host
5.7.1.
DEMO Purpose
This demo includes the following functions of GD32 MCU:
Learn to use the USBHS as a HID host
Learn the operation between the HID host and the mouse device
Learn the operation between the HID host and the keyboard device
GD32E507V-START board integrates the USBHS 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 USBHS
as a USB HID host to communicate with external USB HID device.