TI LaunchPad

Develop. Make. Innovate.

  • Get started with microcontroller LaunchPad Evaluation Kits from Texas Instruments.
  • Choose from a variety of low-cost kits & BoosterPack plug-in modules.
  • Scalable software tools provide multiple points of entry for programming your LaunchPad.
>
Buy From TI Buy From Distributors

Meet your LaunchPad

On-board emulation

The MSP430 LaunchPad features on-board emulation, which means you can program and debug your projects without the need for additional tools.

BoosterPack-compatibility

All pins of the MSP430G2 device are fanned out for easy access. These pins make it easy to plug in 20-pin BoosterPacks that add additional functionality like wireless, capacitive touch and more

Switches & LEDs

A general purpose switch, reset switch and two LEDs are provided on-board for quick development.

What's included?

MSP430 LaunchPad includes everything you need to get started with MSP430 development!

  • MSP-EXP430G2 LaunchPad
  • MSP430G2553 microcontroller (with demo code)
  • MSP430G2452 microcontroller
  • Mini-USB cable
  • Quick Start Guide
  • 32kHz external crystal

Specs

Part Number

MSP-EXP430G2

Featured Microcontroller

MSP430G2553

Supported Family

MSP430 Value Line

Why this LaunchPad?

  • 20 pin DIP socket for easy breadboarding/prototyping
  • Great general purpose LaunchPad
  • Low power operation is great for battery-operated applications

Price

$9.99

BoosterPack connector

20-pin

Microcontroller Features

  • 16MHz
  • 16KB Flash
  • 512B RAM
  • 8ch 10-bit ADC
  • Comparator
  • 2 16-bit Timers
  • Up to 1 I2C, 2 SPI, 1 UART

Links

Tool Folder
eStore Page

Software

Energia: Open Source

Energia open source software
By the online community
  • Open source & community-driven
  • Simple code editing tool with built-in serial monitor
  • Compile & download your code directly to the LaunchPad
  • Supported by a robust framework of intuitive APIs, function calls & large repository of code examples
  • Currently only supports select MSP430 devices
Learn more about Energia Get support from our friends at 43oh!

Code Composer Studio

Code Composer Studio by Texas Instruments
By Texas Instruments
  • Full-featured code editing & debugging tool for all TI LaunchPad kits
  • Supports TI’s complete Embedded Processing portfolio from MCU to DSP
  • CCS provides a complete, professional environment with full debug capability
  • Free evaluation versions are available
Learn more about Code Composer Studio

IAR Embedded Workbench for TI MSP430

By IAR Systems

The LaunchPad ecosystem is also supported by a growing ecosystem of third party and community-driven software tools.

To see the available software solutions for each LaunchPad, explore the tabs above to learn more about any specific LaunchPad.

More

MSPGCC

By Texas Instruments and Red Hat
  • Open source compiler
  • Available standalone or integrated in Code Composer Studio
  • Works in Windows, Linux & Mac
  • Enables a free development on all MSP430 MCUs
More

MSP430 USB Developers Package

By Texas Instruments
  • Contains all necessary source code and sample applications to develop a USB-based MSP430 project
  • Supports CDC, HID, MSC and composite classes of USB
  • Updated Descriptor Tool quickly generates code for any combination of USB interfaces
More

ULP Advisor

Ensure that your code is as ultra-low power as possible. ULP Advisor will check your code against a set of Ultra-Low Power rules and best practices.

If there is any room for improvement, ULP Advisor will highlight your code and provide suggestions and tips on how to make your application more efficient!

More

MSP430Ware

The MSP430Ware resource package provides you with everything you need to be an MSP430 expert. Find code examples, datasheets, user's guides and other resources quickly through an intuitive graphical user interface.

MSP430Ware automatically updates over the web to ensure you have the latest and greatest content. It can also import code examples directly into Code Composer Studio.

More

Grace

Grace generates code that properly enables and configures your peripherals such as ADCs, timers, serila communication and GPIOs with an intuitive graphical user interface.

Grace generates fully-commented, easy-to-read C code that can be imported directly into your project to ensure that your peripherals and enabled and configuired correctly.

More

BoosterPacks

BoosterPacks are modular plug-in boards that fit on top of the LaunchPad baseboards. These modules introduce new functionality to the LaunchPad evaluation kits including wireless, capacitive touch, LED lighting and more!

BoosterPacks include everything you need to create compelling new applications based on the LaunchPad evaluation kits, including a plugin module, software and documentation.

Build Your Own
See BoosterPacks

More MSP430 Resources

Project 0

Blinking an LED is the "Hello World" of microcontrollers. Follow this simple tutorial to get you up and running within minutes!

More

MSP430 Online Workshop

Now that you're LED is blinking, check out this online workshop that goes into a little more detail to get you even more comfortable with the MSP430 LaunchPad.

More

Visit the MSP430 LaunchPad Wiki

Find more tutorials, code examples, videos and other resources in our LaunchPad wiki. Here, you will find content generated by both TI and the broader online community!

More

Project Zero: Blink your first LED

My First MSP430 LaunchPad Project

In this project, we will learn a few things:

  • How to create a new project with Code Composer Studio
  • Learn how to blink the on-board Red LED on the MSP430 LaunchPad
  • Change the speed of the blinking Red LED
  • Learn how to toggle between the Red and Green LED



Hardware setup

  1. The MSP430F5529 LaunchPad kit includes everything you need out of the box
  2. To start programming, you'll first have to install CCS which contains the required drivers for your new MSP430F5529 LaunchPad kit
  3. Plug your F5529 LaunchPad into the PC with the included USB cable
  4. If prompted, let Windows automatically install the software.

Create a new CCS workspace

  1. Upon opening CCS, it will ask you to select a workspace
  2. Since this is our first project, we'll create a new one called "LaunchPad_Projects". A workspace is where all of your Code Composer Studio projects will live. Once created, press OK

  3. Once CCS is opened, we can create a new project by going to File > New > CCS Project

  4. This will open up the "New CCS Project" Window. Within this window, we need to do 2 things. Name our project & choose our Device Variant. Let's name our project "Blink_LED"

    We also need to choose the appropriate MSP430 device. For this tutorial, we will program the MSP430G2553 device that comes pre-populated on the MSP430 LaunchPad. (Due to the simplicity of this particular tutorial, any of the MSP430G2xx devices will work for this example!) Then, click "Finish"

Writing code

Now, we have our blank canvas! We can finally start writing code!

#include  <msp430g2553.h>

 unsigned int i = 0;                         

    // Initialize variables. This will keep count of how many cycles between LED toggles


void main(void)
{
    WDTCTL = WDTPW + WDTHOLD;                 

    // Stop watchdog timer. This line of code is needed at the beginning of most MSP430 projects. 
    
    // This line of code turns off the watchdog timer, which can reset the device after a certain period of time.
    // P1DIR is a register that configures the direction (DIR) of a port pin as an output or an input.

    P1DIR |= 0x01;                             


    // To set a specific pin as output or input, we write a '1' or '0' on the appropriate bit of the register.


    // P1DIR = <PIN7><PIN6><PIN5><PIN4><PIN3><PIN2><PIN1><PIN0>


    // Since we want to blink the on-board red LED, we want to set the direction of Port 1, Pin 0 (P1.0) as an output

    // We do that by writing a 1 on the PIN0 bit of the P1DIR register
    // P1DIR = <PIN7><PIN6><PIN5><PIN4><PIN3><PIN2><PIN1><PIN0>
    // P1DIR = 0000 0001
    // P1DIR = 0x01     <-- this is the hexadecimal conversion of 0000 0001



    for (;;)                                  
    
    // This empty for-loop will cause the lines of code within to loop infinitely
    
        {



            P1OUT ^= 0x01;                          

    // Toggle P1.0 using exclusive-OR operation (^=)

    // P1OUT is another register which holds the status of the LED. 
    // '1' specifies that it's ON or HIGH, while '0' specifies that it's OFF or LOW
    // Since our LED is tied to P1.0, we will toggle the 0 bit of the P1OUT register
            
            for(i=0; i< 20000; i++);                

    // Delay between LED toggles. This for-loop will run until the condition is met. 
    //In this case, it will loop until the variable i increments to 20000.
        }
    }
  1. Now that we have written our code, we can download it to our MSP430 LaunchPad that is plugged into the USB port! We can do this by clicking the debug button

  2. Clicking the Debug button will take us to the CCS Debug View. Here, we can press the Run button to start running the code we just wrote.

  3. At this point, your Red LED should be blinking! Congratulations!

Other exercises

  1. Now that we have our LED blinking, play around with the number inside of the for-loop to change the speed of the blinking LED. The smaller the number, the shorter the delay between LED toggles. Alternatively, the larger the number, the longer the delay. Try values like 5000, 40000, etc.
  2. Another exercise is getting the green LED to blink as well. The green LED is tied to Port P1.6. Using the P1DIR and P1OUT registers we used above, see if you can get both LEDs to blink. Can you make them blink in unison? Can you make them blink alternatively?