Texas Instruments

Table of Contents

Example Summary

Sample application to transmit and receive data via USB CDC.

Peripherals Exercised

Resources & Jumper Settings

Please refer to the development board’s specific Settings and Resources section in the Getting Started Guide. For convenience, a short summary is also shown below.

Development board Notes
DK-TM4C129X Please ensure that the board is connected to your host via a USB cable. A VCOM (virtual COM) port driver may need to be installed.
EK-TM4C123GXL ^
EK-TM4C1294XL ^
EK-TM4C129EXL ^
MSP-EXP430F5529LP ^
TMDXDOCK28M36 ^
TMDXDOCKH52C1 Please ensure that the board is connected to your host via a USB cable. A VCOM (virtual COM) port driver may need to be installed. Connectivity Bank 30-31: B-C position (USB)

Fields left blank have no specific settings for this example. For fields containing ^, refer to the above settings.

Example Usage

Characters typed into the serial session are not echoed back, so you will not see them (unless you enable echo on the host).

USB drivers can be found at the following locations:

  1. Tiva USB Drivers: Windows USB drivers are located in the products directory: <tirtos_install_dir>\products\<TivaWare_install_dir>\windows_drivers

  2. MSP430 USB Drivers: Windows USB drivers are located within the CCS project’s USB_config/ directory.

  3. Concerto Family USB Drivers: Windows USB drivers are located in the products directory: <tirtos_install_dir>\products\<MWare_install_dir>\windows_drivers

Application Design Details

This application uses two tasks:

If connected, periodically sends an array of characters to the USB host.

If connected, it prints, via System_printf, any received data and the number of bytes. SysMin is used for this example, so the output goes into its internal buffer.

References