Software Examples; Msp430 Software Libraries: Driverlib And The Usb Api; Viewing The Code - Texas Instruments LaunchPad MSP-EXP430F5529LP User Manual

Table of Contents

Advertisement

Software Examples

3

Software Examples

The software examples, including TI-TXT object-code firmware images, are available in a zip folder
(SLAC623) from ti.com. There are two software examples included with the F5529 LaunchPad, as shown
in
Table
5.
Demo Name
emulStorageKeyboard
simpleUsbBackchannel
The backchannel code in simpleUsbBackchannel is implemented as a simple library that can be copied
into any code project in which backchannel access is needed.
3.1

MSP430 Software Libraries: driverlib and the USB API

The examples are built upon two MSP430 libraries available from TI:
driverlib: A foundational MSP430 software library that is useful for interfacing with all MSP430 core
functions and peripherals, especially clocks and power. driverlib is part of MSP430Ware. The
examples contain a subset of full driverlib.
MSP430 USB API: Useful for quickly creating USB applications. The API is part of the
Developers
Package. The full USB API is included.
When you begin your own development, you will need more information about these libraries than can be
included in this user's guide. All of the information that you need is in the downloads linked above. Each
has its own documentation, and the USB Developers Package contains additional tools, 20+ more USB
examples, and detailed documentation.
The emulStorageKeyboard example also uses an MSP430 port of the open-source FatFs file system
software, which interacts with FAT storage volumes. It has been modified to work with internal MSP430
flash memory.
3.2

Viewing the Code

Although the files can be viewed with any text editor, more can be done with the projects if they are
opened with CCS or IAR. (Although support for mspgcc is increasing, the USB API does not yet fully
support mspgcc. See the FAQs in
CCS and IAR are each available in a full version and a free code-size-limited version. Although the
software demo can be built with the free version of CCS, the code is too large to be built with the free
version of IAR
(IAR
and MSC interfaces and storage volumes require more memory. Most USB examples built on the
MSP430 USB API (in the
built with IAR KickStart, and IAR Embedded Workbench is fully supported.
See the
MSP430 software tools page
30
MSP-EXP430F5529LP LaunchPad™ Development Kit User's Guide
Table 5. Software Examples
USB Interface Type
MSC: in-flash storage volume LaunchPad from the factory. Its function is described in
HID: emulated keyboard
CDC: Virtual COM Port (or,
optionally, HID-Datapipe)
Section
5.)
KickStart). This is primarily because the software demo has an MSC interface in it,
MSP430 USB Developers
to download these IDEs and for instructions on installation.
Copyright © 2013–2014, Texas Instruments Incorporated
Description
The out-of-box demo that is programmed on the F5529
Section
1.3. Demonstrates a more advanced USB
device than simpleUsbBackchannel.
A very simple example showing how to send and
receive data on both a virtual COM port USB
connection and the backchannel UART
Package) that do not have an MSC Interface can be
SLAU533B – September 2013 – Revised June 2014
www.ti.com
Described
In...
Section 3.5
Section 3.6
MSP430 USB
Submit Documentation Feedback

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LaunchPad MSP-EXP430F5529LP and is the answer not in the manual?

Table of Contents