
Example Applications
2.22
USB host audio example application using SD Card
FAT file system (usb_host_audio)
This example application demonstrates playing .wav files from an SD card that is formatted with a
FAT file system using USB host audio class. The application will only look in the root directory of
the SD card and display all files that are found. Files can be selected to show their format and then
played if the application determines that they are a valid .wav file. Only PCM format (uncompressed)
files may be played.
For
additional
details
about
FatFs,
see
the
following
site:
http://elm-chan.org/fsw/ff/00index_e.html
2.23
USB HID Keyboard Host (usb_host_keyboard)
This example application demonstrates how to support a USB keyboard attached to the evaluation
kit board. The display will show if a keyboard is currently connected and the current state of the
Caps Lock key on the keyboard that is connected on the bottom status area of the screen. Pressing
any keys on the keyboard will cause them to be printed on the screen and to be sent out the UART
at 115200 baud with no parity, 8 bits and 1 stop bit. Any keyboard that supports the USB HID BIOS
protocol should work with this demo application.
2.24
USB HID Mouse Host (usb_host_mouse)
This application demonstrates the handling of a USB mouse attached to the evaluation kit. Once
attached, the position of the mouse pointer and the state of the mouse buttons are output to the
display.
2.25
USB
Mass
Storage
Class
Host
Example
(usb_host_msc)
This example application demonstrates reading a file system from a USB flash disk. It makes
use of FatFs, a FAT file system driver. It provides a simple widget-based display for showing and
navigating the file system on a USB stick.
For
additional
details
about
FatFs,
see
the
following
site:
http://elm-chan.org/fsw/ff/00index_e.html
2.26
USB Stick Update Demo (usb_stick_demo)
An example to demonstrate the use of the flash-based USB stick update program. This example
is meant to be loaded into flash memory from a USB memory stick, using the USB stick update
program (usb_stick_update), running on the microcontroller.
14
February 22, 2017