User Manual
GD32350R-EVAL
33 /33
If a mouse has been attached, the user will see the information of mouse enumeration.
First pressing the user key will see the inserted device is mouse, and then moving the
mouse will show the position of mouse and the state of button in the screen.
If a keyboard has been attached, the user will see the information of keyboard
enumeration. First pressing the user key will see the inserted device is keyboard, and
then pressing the keyboard will show the data which keyboard inserted in the screen.
5.24.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
EVAL evaluation 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.
DEMO Running Result
Jump the JP13 to USB. Then insert the OTG cable to the USB port, download the
program <24_USB_Host\USBH_MSC > to the EVAL board and run.
If an Udisk has been attached, the user will see the information of Udisk enumeration.
First pressing the user key will see the Udisk information, next pressing the tamper key
will see the root content of the Udisk, then press the wakeup key will write file to the
Udisk, finally the user will see information that the MSC host demo is end.
6.
Revision history
Table 6-1 Revision history
Revision No.
Description
Date
1.0
Initial Release
Jun.28, 2017