MSP430 LaunchPad

From Texas Instruments Wiki
Revision as of 00:33, 28 February 2012 by Yamaplos (Talk | contribs)

Jump to: navigation, search
Buy LaunchPad

日本語

Update your LaunchPad Firmware for new & future G2xx Devices

Announcing the Capacitive Touch BoosterPack for the LaunchPad development kit!

430BOOST-SENSE1 ($4.30!)
The Capacitive Touch BoosterPack (430BOOST-SENSE1) is the first BoosterPack, or plugin board for the LaunchPad. It is a complete hardware and software reference design for capacitive touch, featuring capacitive sensitive buttons, scroll wheels & proximity sensors. This BoosterPack also includes a pre-loaded MSP430G2452IN20 device, with demo functionality.

The Capacitive Touch BoosterPack is available today for $10!

Learn more about the Capacitive Touch BoosterPack Now!

Brand New! LaunchPad Website!

Hello fellow LaunchPad-users!
In alignment with our first BoosterPack announcement, we have just finished a brand new LaunchPad portal @ www.ti.com/launchpad!
This new page will enable more collaboration, project sharing, and knowledge exchanges. We will continue to improve the site, so expect more to come! This wiki page will still be available and will be linked to from the new LaunchPad page in the "Quick Links" section.
Thanks! AdrianF

Meet the LaunchPad (MSP-EXP430G2)

LaunchPad wireframe
What is LaunchPad?

LaunchPad is an easy-to-use development tool intended for beginners and experienced users alike for creating microcontroller-based applications. At $4.30, the LaunchPad offers everything you need to get started with your projects.

The LaunchPad development kit is a part of the MSP430 Value Line series. LaunchPad has an integrated DIP target socket that supports up to 20 pins, allowing MSP430 Value Line devices to be dropped into the LaunchPad board. Also, an on-board flash emulation tool allows direct interface to a PC for easy programming, debugging, and evaluation. Included are free and downloadable software development environments for writing and debugging software. LaunchPad can be used to create interactive solutions thanks to its on-board push buttons, LEDs, and extra input/output pins for easy integration of external devices.

Why LaunchPad?
The LaunchPad is an easy-to-use, affordable, and scalable introduction to the world of microcontrollers and the MSP430 family.

Easy-to-use – LaunchPad includes all of the hardware and software needed to get started. Open source projects and code examples help users get up and running quickly.
Affordable – For $4.30, the LaunchPad includes a development board, 2 programmable MSP430 microcontrollers, mini-USB cable, PCB connectors for expandability, external crystal for increased clock accuracy, and free & downloadable software integrated development environments (IDEs) – everything you need to get started today.
Scalable – The LaunchPad is a simple introduction to the MSP430 microcontroller family. As application requirements change, programs developed on the LaunchPad can be migrated to higher end MSP430 devices.

How do I get started?
Learning Community.PNG
  1. Getting started is easy and affordable - only $4.30+ Shipping.
    Order now!
  2. Download the free software debugger/compilers:
    1. Code Composer Studio version 4
    2. IAR Embedded Workbench Kickstart
  3. Follow the Quick Start Guide.
  4. Learn by taking the free Getting Started workshop
  5. Visit our MSP430 LaunchPad Learning Community!
LaunchPad Kit.png
LaunchPad unboxing
LaunchPad demo play.png
Demo overview

Quick Links

TI has realized unprecedented demand for the MSP430 Value Line LaunchPad tool which put an extraordinary demand on our servers and became back ordered within the first few days of availability. We appreciate the support and encouragement you have given us by your interest, and apologize for the delay in meeting e-commerce expectations.

Tool Order Today! Ship Date Price Documentation
LaunchPad
(MSP-EXP430G2)
Mouser Please refer to each distribution site for price & Shipping and ship dates. Quick Start Guide
User's Guide
#LaunchPad_Documentation
Mouser Canada
Arrow
Digi-Key
Digi-Key Canada
Newark
AvnetExpress *
TI eStore We're building these as fast as we can!
Additional units are available every 2 weeks. Thanks for your patience!
$4.30 + Shipping


Included Devices Description Documentation
MSP430G2211IPN14 2kB Flash, 128B RAM, 10 GPIO, 1x 16-bit timer, WDT, BOR, Comparator Datasheet
MSP430G2231IPN14 2kB Flash, 128B RAM, 10 GPIO, 1x 16-bit timer, WDT, BOR, USI (I2C, SPI), Internal Temp Sensor, 8ch 10-bit ADC Datasheet


Compiler/Debugger (IDE) Download Now! Price
Code Composer Studio (CCS) Download Now!
(Requires TI Login)
FREE
IAR Embedded Workbench KickStart Download Now! FREE

What's Included in the Box?

LaunchPad Kit Contents

[
LaunchPad Kit Contents - Click to watch an unboxing.
]

Free & Downloadable Compilers/Debuggers (IDEs)

There are many other compilers and integrated development environments (IDEs) for MSP430 including Rowley Crossworks and MSPGCC. However, example projects have been created using IAR Embedded Workbench KickStart and Code Composer Studio (CCS). Both IAR and CCS have free, code-limited versions, which are available for download. These IDEs will run full-featured on the available MSP430 Value Line devices, as these devices will not encounter the 4kB size limit of IAR, or the 16kB size limit of CCS.

The links above direct to free, code-limited versions. IAR Embedded Workbench KickStart is a free 4kB code-limited version and CCS v4 offers a free 16kB code-limited version. As MSP430 Value Line devices are below this limit, the free versions of each IDE will run full-featured on MSP430 Value Line devices.

IMPORTANT NOTICE FOR IAR-USERS GETTING STARTED: It's mandatory to set the target platform to your used MSP430Gxxx after creating a new project and to set the Debugger interface. To approach this follow these two steps: 1. Create a Project, then go to Project->Options->General Options->Target and choose the device you are using. 2. Go to Project->Options->Debugger and choose "FET Debugger" instead of "Simulator". Afterwards, everything should work fine and you'll be able to download and debug with IAR.

Linux Support

There is currently no official support for the Linux operating system. IAR Embedded Workbench does work under WINE in Ubuntu 10.04 but the LaunchPad itself doesn't map to a /dev/ttyUSB* port but rather to /dev/ACM0. Linking com1 under WINE to ACM0 doesn't allow for a debug connection through the IDE.

OLPC XO-1

The OLPC XO-1 laptop of the One Laptop Per Child project can run Launchpad! (updated Feb 2012) (link to how-to)

Mac OS X Support

There is currently no official support for the Mac OS X operating system with CCS.

Features

FinalOverview.gif

LaunchPad Development Board Features

  • DIP target socket supporting up to 20 pins enables development on any MSP430 Value Line device in a DIP package(N).
  • Built-in flash emulator connects flash-based MSP430 Value Line devices to a PC for real-time, in-system programming and debugging via the included mini USB cable.
    • The flash emulator can program all Value Line MSP430s with the Spy Bi-Wire (2-wire JTAG) interface. List of Value Line MSP430s devices with Spy Bi-Wire interface is located here, in table 2-1.
  • 2 programmable LEDs
  • 1 power LED
  • 2 programmable buttons (1 reset button)

Included MSP430G2xx Device Features

LaunchPad, an Open Source Environment

LaunchPad includes the firmware source code, GUI source code, Gerber/PCB files, schematics, BOMs, and other design files. By providing the source files, LaunchPad provides users with a completely flexible development environment. Download the design files below, in the #Online_Resources section.

Compatible Devices

LaunchPad's DIP target socket allows users to quickly drop in any MSP430 Value Line device that is in a DIP package of up to 20 pins. Currently, the devices shown in the table below are supported. LaunchPad will also continue to support the new devices of the MSP430 Value Line.

MSP430 Value Line (MSP430G2xx)

MSP430 Value Line microcontrollers (MSP430G2xx) offers 16-bit performance at an 8-bit price point, with devices starting at $0.25 USD (@100k units). The cost effective MSP430G2xx devices feature flash-based Ultra-Low Power MCUs up to 16 MIPS with 1.8V - 3.6V operation. Includes the Very-Low power Oscillator (VLO), internal pull-up/pull-down resistors, and low-pin count options.

MSP430G2xx Value Line User's Guide


MSP430 Value Line Device Order Free Samples Program (kB) SRAM (B) I/O 16-bit Timers Watchdog BOR USI (I2C/SPI)

USCI (I2C/SPI/

UART)

Comp_A+ Temp Sensor ADC Ch/Res 1kU Price
MSP430G2001 Sample Now 0.5 128 10 1 Y Y - - - - - $0.34
MSP430G2101 Sample Now 1 128 10 1 Y Y - - - - - $0.44
MSP430G2121 Sample Now 1 128 10 1 Y Y Y - - - - $0.46
MSP430G2201 Sample Now 2 128 10 1 Y Y - - - - - $0.47
MSP430G2221 Sample Now 2 128 10 1 Y Y Y - - - - $0.48
MSP430G2111 Sample Now 1 128 10 1 Y Y - - Y - - $0.46
MSP430G2211 Sample Now 2 128 10 1 Y Y - - Y - - $0.48
MSP430G2131 Sample Now 1 128 10 1 Y Y Y - - Y 8ch/ADC10 $0.49
MSP430G2231 Sample Now 2 128 10 1 Y Y Y - - Y 8ch/ADC10 $0.52
MSP430G2102 Sample Now 1 256 16 1 Y Y Y - - - - $0.48
MSP430G2202 Sample Now 2 256 16 1 Y Y Y - - - - $0.50
MSP430G2302 Sample Now 4 256 16 1 Y Y Y - - - - $0.55
MSP430G2402 Sample Now 8 256 16 1 Y Y Y - - - - $0.65
MSP430G2112 Sample Now 1 256 16 1 Y Y Y - Y - Slope $0.49
MSP430G2212 Sample Now 2 256 16 1 Y Y Y - Y - Slope $0.55
MSP430G2312 Sample Now 4 256 16 1 Y Y Y - Y - Slope $0.60
MSP430G2412 Sample Now 8 256 16 1 Y Y Y - Y - Slope $0.65
MSP430G2132 Sample Now 1 256 16 1 Y Y Y - - Y 8ch/ADC10 $0.55
MSP430G2232 Sample Now 2 256 16 1 Y Y Y - - Y 8ch/ADC10 $0.55
MSP430G2332 Sample Now 4 256 16 1 Y Y Y - - Y 8ch/ADC10 $0.60
MSP430G2432 Sample Now 8 256 16 1 Y Y Y - - Y 8ch/ADC10 $0.70
MSP430G2152 Sample Now 1 256 16 1 Y Y Y - Y Y 8ch/ADC10 $0.55
MSP430G2252 Sample Now 2 256 16 1 Y Y Y - Y Y 8ch/ADC10 $0.60
MSP430G2352 Sample Now 4 256 16 1 Y Y Y - Y Y 8ch/ADC10 $0.65
MSP430G2452 Sample Now 8 256 16 1 Y Y Y - Y Y 8ch/ADC10 $0.70
MSP430G2153
Sample Now 1 256 24 2 Y Y - Y Y Y 8ch/ADC10 $0.65
MSP430G2203 Sample Now 2 256 24 2 Y Y - Y Y - - $0.60
MSP430G2213 Sample Now 2 256 24 2 Y Y - Y Y - - $0.65
MSP430G2233 Sample Now 2 256 24 2 Y Y - Y Y Y 8ch/ADC10 $0.65
MSP430G2253 Sample Now 2 256 24 2 Y Y - Y Y Y 8ch/ADC10 $0.65
MSP430G2303 Sample Now 4 256 24 2 Y Y - Y Y Y - $0.65
MSP430G2313 Sample Now 4 256 24 2 Y Y - Y Y Y - $0.70
MSP430G2333 Sample Now 4 256 24 2 Y Y - Y Y Y 8ch/ADC10 $0.70
MSP430G2353 Sample Now 4 256 24 2 Y Y - Y Y Y 8ch/ADC10 $0.75
MSP430G2403 Sample Now 8 512 24 2 Y Y - Y Y Y - $0.75
MSP430G2413 Sample Now 8 512 24 2 Y Y - Y Y Y - $0.75
MSP430G2433 Sample Now 8 512 24 2 Y Y - Y Y Y 8ch/ADC10 $0.80
MSP430G2453 Sample Now 8 512 24 2 Y Y - Y Y Y 8ch/ADC10 $0.80
MSP430G2513 Sample Now 16 512 24 2 Y Y - Y Y Y - $0.90
MSP430G2533 Sample Now 16 512 24 2 Y Y - Y Y Y 8ch/ADC10 $0.90
MSP430G2553 Sample Now 16 512 24 2 Y Y - Y Y Y 8ch/ADC10 $0.95

MSP430 Value Line power consumption (@2.2V):

  • 0.1 μA RAM retention
  • 0.4 μA Standby mode (VLO)
  • 0.7 μA real-time clock mode
  • 220 μA / MIPS active
  • Ultra-Fast Wake-Up From Standby Mode in <1 μs

Ordering LaunchPad (MSP-EXP430G2)

Tool Order Today! Ship Date Price Documentation
LaunchPad
(MSP-EXP430G2)
Mouser Please refer to each distribution site for price & Shipping and ship dates. Quick Start Guide
User's Guide
#LaunchPad_Documentation
Mouser Canada
Arrow
Digi-Key
Digi-Key Canada
Newark
AvnetExpress *
TI eStore We're building these as fast as we can!
Additional units are available every 2 weeks. Thanks for your patience!
$4.30 + Shipping

Extras

eZ430 board Pin Header (not included with LaunchPad)

The eZ430 header can be placed on J4 on the LaunchPad and allows connections to external eZ430 target boards like the eZ430-RF2500T or eZ430-T2012. The LaunchPad can be used to program these target boards or to add wireless capabilities.

Online Resources

LaunchPad Documentation

LaunchPad Online Learning Community

Visit LaunchPad's online learning community! Browse a growing list of TI and community-driven wiki articles that include code examples, pictures, videos, schematics, and other resources to quickly Launch your MSP430-based applications! We also provide a template for creating your own wiki articles, if you would like to showcase your own LaunchPad projects! Learning Community.PNG

Community-driven Resources

MSP430 LaunchPad One Day Workshop

The Getting Started with the MSP430 LaunchPad Workshop is free, on-line, in-depth introduction into MSP430 basics including:

  • An introduction to the Value Line series of products
  • An overview of Code Composer Studio 4.1
  • Initialization of the MSP430 and programming the GPIO
  • Use of the ADC10 analog-to-digital converter
  • Working with interrupts and the timer
  • Optimizing your code for low-power operation
  • Using serial communications

Each of these sections includes an in-depth lab that will step you through the usage, programming and testing of the peripherals(s) covered.

Check it out! Getting Started with the MSP430 LaunchPad Workshop

Projects

Cool Project Demonstrations!

Here are some community generated project demonstrations - check them out!

  • Launchpad driving 4 servo mecanum wheels via wireless Wii Nunchuk | Link Video
  • LCD Booster Pack for MSP430 Launchpad BY Tenet |tenetworld
  • Interfacing 2 digits, 7 segment indication - No additional ICs | Article | Video
  • Interfacing an LED array with Launchpad | tenetworld
  • Interfacing switches with Launchpad to control some peripherals | tenetworld
  • Interfacing 7 segment display with Launchpad to display numbers from 0 to 9 | tenetworld
  • Interfacing stepper motor with Launchpad to control elevator | tenetworld
  • Automatic table light control using MSP430 Launchpad | tenetworld
  • Interfacing Shift Register with MSP430 Launchpad | tenetworld
  • Led fading through Launchpad (Software PWM) | tenetworld
  • Interfacing 16x2 LCD with Launchpad | tenetworld
  • Interfacing servo motor with Launchpad and controlling through pot | tenetworld
  • Simple game created using LaunchPad | Video
  • DIY plug-in breadboard for LaunchPad | Video
  • Controlling RGB LED with LaunchPad using Linux | Video
  • LaunchPad + Sparkfun LCD: Button press counter | Video
  • LaunchPad controlling 2 servos | Video
  • Bi-color clock using LaunchPad | Article + Video
  • LaunchPad + piezo speaker: Playing The Imperial March! | Video
  • Our friends at Hack-a-day show how to port AVR code to an MSP430 using the LaunchPad! | Link
  • Interfacing with a TI TLV5620 DAC to create a waveform generator (with library for using the TLV5620) | Link
  • Interfacing with a TI TLV5618A DAC to create a waveform generator (with library for using the TLV5618A) | Link
  • LaunchPad Metronome: Using only onboard button and LED | Link
  • LaunchPad UART to SPI interface | Link
  • LaunchPad Capacitive Sensing Demo | Link
  • LaunchPad Morse Beacon | Link
  • LaunchPad interfacing with photo-resistive light sensor and BlueSMiRF bluetooth modem running off 9V battery | Link
  • LaunchPad-based photosensitive theremin instrument - the "glitchamin" | Link
  • LaunchPad-based white noise generator | Link
  • Interfacing Launchpad to Digital Caliper | Link
  • LaunchPad-based Tea Timer | Link
  • Simple voltmeter with data output to the serial port (website in German) | Link
  • Launchpad UART Morse Transmitter | Link
  • LaunchPad Clock with four digit 7-segment display | Article | Code
  • LaunchPad Simple Music Player | Code | Video 1 | Video 2
  • LaunchPad Metronome with Buzzer | Article | Video

Pre-programmed Demo Application - Internal Temperature Measurement

[
LaunchPad Kit Demo application - Click to watch a quick demo.
]

LaunchPad includes a pre-programmed MSP430G2231 device. Once LaunchPad is connected via USB, the demo will start an LED toggle sequence. Pressing button P1.3 will start the Temperature Measurement mode.

A reference temperature is measured at the beginning of this mode, and can be re-calibrated with another button press on P1.3. LaunchPad signals a rising or falling temperature by varying the brightness of the on-board red or green LED, respectively. Temperature data is also communicated via back-channel UART through USB to the PC, which can be displayed using the provided GUI or a terminal on the PC.

This demo application is using the on-chip peripherals of the MSP430G2231 device, such as the 10-bit ADC to sample the internal temperature sensor and 16-bit timers, which drive the PWM to vary brightness of the LEDs and enable a software UART for communication with the PC.

The source code for this pre-loaded demo application is available for download in the #Complete_Projects section of the wiki. Also available are the executable and source files for a GUI, which displays the data that is being communicated back to the PC from the LaunchPad board.

A Starter's First LaunchPad Project - Blink LaunchPad's on-board LEDs

[
Simple LED blinking project - Click to watch tutorial.
]

Follow this simple tutorial to quickly ramp up using CCS and LaunchPad. Both the video and PDF explain LaunchPad's pinout, walks through Code Composer Studio, and demonstrates how to use code examples to blink LaunchPad's on-board LEDs.

Simple LED Blinking Tutorial using CCS + LaunchPad - PDF version of tutorial.

Download all MSP430G2xx code examples

These zip files contains starter code for various MSP430G2xx Value Line devices as well as similarly configured MSP430F20xx devices. Please read the "readme.txt" file within the zip file to learn which code example fits your needs and current device configuration.

The complete collection of code examples for all MSP430 devices can be seen on the MSP430 code examples page.

Complete Projects

Function Description File Name
Temperature Sensor
(Preloaded demo provided with LaunchPad kit)
For use with MSP430 Value Line devices with on-chip 8ch 10-bit ADC. The on chip ADC samples the internal temperature of the microcontroller. It also leverages 16-bit timers of the MSP430G2231 device to drive a PWM to control LED brightness and enable a back channel UART interface for communication with a PC. Source for GUI created using Processing is available for download as well. Download project
GUI source files *Updated GUI 9/14/2010 to fix COM port issues.
  • Note: The project setup files in the zip file above are based on the MSP430F2012 device. This device shares the same project setup settings as the MSP430G2xx devices, and will not cause any issues.

To get the GUI to start displaying temperature data, type in the COM port index number, then press ENTER. If you haven't already done so, press the P1.3 button to start the temperature measurements and display the value on the GUI.

LaunchPad + Universities

Interested in learning or teaching with the MSP430 Value Line and LaunchPad?
Check out our University Resources.
And visit university ti.com/university

Available Accessories

Open Source Mini Proto Board Shield Includes Schematics and Gerber Files Mini Proto Shield.

Launchpad Electronics - Stackable Headers and Shields for the MSP430 Launchpad


Other Resources (SEO)

Microcontroller, MCU, Embedded Controller, 8 bit microcontroller alternatives, 16 bit microcontroller MSP430, Arm Microcontroller, Arm Processor, 32 bit microcontroller, DC motor controller, Capacitive Touch Microcontroller, Capacitive Touch MCU, Microcontroller Code, Microcontroller Projects, smart grid, 6LoWPAN, Safety Microcontroller, Automotive Microcontroller