EasyManuals Logo

Texas Instruments MSP430 Student Guide

Texas Instruments MSP430
398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #346 background imageLoading...
Page #346 background image
Lab 7b LED On/Off CDC Example
Lab 7b LED On/Off CDC Example
Our next program is another example from the MSP430 USB Developers Package. This program
is a near duplicate of the previous lab that is, it changes the state of an LED based on string
commands sent from the USB host. In this example, though, the string commands are sent using
the CDC class (versus the HID-datapipe class).
The advantage of the CDC class is that it can communicate with just about any Windows serial
terminal application. The disadvantage, as you might remember from the discussion, is that
Windows does not automatically load CDC based drivers whereas Windows did this for us
when using an HID class driver.
10. Import the CDC version of the LED On/Off/Flash project.
11. Build the project and launch the debugger.
12. Run the program.
The first time you run the program, Windows may not be able to enumerate the USB CDC
driver. You might see an error such as this pop up.
Why does this error occur? ___________________________________________________
7 - 34 MSP430 Workshop - USB Devices

Table of Contents

Other manuals for Texas Instruments MSP430

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments MSP430 and is the answer not in the manual?

Texas Instruments MSP430 Specifications

General IconGeneral
BrandTexas Instruments
ModelMSP430
CategoryMicrocontrollers
LanguageEnglish

Related product manuals