Software Examples
3.4
USB Configuration Files
The USB configuration files, in the \USB_config directory, determine what USB interfaces the USB API
presents to the USB host. These files are generated by the MSP430 USB Descriptor Tool.
The Descriptor Tool customizes the API's USB interfaces and generates all of its USB descriptors (see
). (For a discussion on USB descriptors, see Step 2 of
.) For example, with just a few
clicks, the Tool can create a composite USB device with three virtual COM ports and an emulated mouse.
Figure 27. MSP430 USB Descriptor Tool
For the simpleUsbBackchannel demo, these files cause the API to present a single CDC interface. An
application can then be written to simply send and receive data over that interface.
For the emulStorageKeyboard example, these files cause the API to have an MSC interface and an HID
interface. They also cause that HID interface to be a keyboard. The application is then responsible for
accessing the storage volume for the MSC interface and for sending HID "reports" that contain key press
data.
*.dat input files for the Descriptor Tool are located inside each example's project directory. This allows
easy regeneration of the output.
33
SLAU533B – September 2013 – Revised June 2014
MSP-EXP430F5529LP LaunchPad™ Development Kit User's Guide
Copyright © 2013–2014, Texas Instruments Incorporated