MSP430 5xx One Day Workshop

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Version 1.2 July 2010

MSP430 SOIC.jpg

Contents

Introduction

The MSP430 5xx One Day Workshop is a quick introduction to the MSP430 5xx generation including:

Lab exercises are included in each section.

Attend a Live Workshop

You can find the workshop schedule and enrollment information for a live MSP430 workshop here: [1]

View This Workshop On-line

A video of the presentation and labs for this workshop is available here[2]

Running The Labs

In order to run the labs, you will need:

Workshop Contents

  1. Introduction to the MSP430F5xx
  2. 5xx Active & Low Power Mode Operation
  3. A Mixed-Signal Application Example
  4. Using Hardware Timers to Conserve Power
  5. A Fully-optimized ADC12 Routine
  6. MSP430 Tools, Resources and Conclusion

The complete workbook is available here: [5]

Workshop Videos

You can view the entire workshop here

  1. Introduction[6] - Lab 1[7]
  2. 5xx Active and Low Power Mode Operation[8]
  3. A Mixed-Signal Application Example[9]
  4. Using Hardware Timers to Conserve Power[10]
  5. A Fully-optimized ADC12 Routine[11]
  6. MSP430 Tools, Resources and Conclusion[12]

Technical Details

Here are some technical details that fall somewhat outside the boundaries of a typical one day workshop that might be nice to know during development:

Portable Code Composer Projects

    http://processors.wiki.ti.com/index.php/Portable_Projects

FAQ Issues With The Tool Chain

We have seen the following behaviors ...

  1. Disconnect the FET
  2. Reconnect the FET

Chances are that the FET will become recognized.

  1. Open the Windows Task Manager
  2. End the process javaw.exe
  3. Click 'Cancel' on the workspace selection window
  4. Re-open CCS

If you are still unable to open a terminal window, then either

  1. Open a workspace in a new folder and re-import the projects ...OR...
  2. Re-start your PC.
  1. Download and Run the program
  2. HALT or TERMINATE the project
  3. Open and make a connection the terminal window
  4. RUN the code and see the streaming temp & vcc data.
  1. Disconnect the COM port in the terminal window
  2. Close the terminal window
  3. Disconnect the USB <> mini-USB cable
  4. Connect the USB <> mini-USB cable
  5. Check that the MSP-EXP430F5438 Experimenter Board has enumarated as a COM port and verify the COMxx value
  6. Open the CCS terminal window

... we also wish that there was a Refresh button on the terminal window eclipse plug-in.

In general, if things are consistently failing, close all the active programs, unplug everything, then plug everything back in and restart the software.

Lost USB JTAG connection when using terminal

When using the terminal application some customers have reported that the JTAG connection is lost. Most likely this is caused by incorrectly setting the COM port to the one used by the FET. Recreate the terminal connection with the correct COM port and the problem should be corrected.

Instructor Materials version 1.2 July 2010

Updated materials are available below:

 Unzip the file onto the flash drive. It will be a folder named MSP430 containing the documents, labs and USB driver.
 You will also need to place a copy of the CCS 4.1 installation files on the drive, available here: CCS Download



Hardware to be Provided by the Instructor

As an instructor, you are expected to provide USB cables, F5438A chips, and multimeters with J cables. Customers will take home the USB cable and F5438A chip. Here are some recommended places to order these items:

E2e.jpg For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article MSP430 5xx One Day Workshop here.
Hyperlink blue.png Links
ARM Microcontroller MCU ARM Processor Digital Media Processor Digital Signal Processing Microcontroller MCU Multi Core Processor
Ultra Low Power DSP 8 bit Microcontroller MCU 16 bit Microcontroller MCU 32 bit Microcontroller MCU

Leave a Comment

Comments

Comments on MSP430 5xx One Day Workshop


Kevin Vap said ...

Feedback from a customer:

Finished up the ODW exercises. Very nice intro to the 5xx power functions and just MSP5xx development in general. I found a software bug in a function in labs 3, 4, and 5 that I thought I’d pass on to you. In the function format_voltage_string(), the line

  while(voltage > 10)

should actually be

  while(voltage >= 10)

With this bug, my voltage readings (which should have read “3.0V”) were spitting out on the terminal as “2.:V”. Making this change fixed it.

One other minor thing, page 110 has a typo (“Timber” should be “Timer”).

--Kevin Vap 16:52, 6 July 2010 (CDT)

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox