SLAU318G July   2010  – March 2016

 

  1.   MSP-EXP430G2 LaunchPad™ Development Kit
    1.     Trademarks
    2. 1 Preface: Read This First
      1. 1.1 If You Need Assistance
      2. 1.2 Related Documentation From TI
    3. 2 MSP-EXP430G2 LaunchPad™ Development Kit Overview
      1. 2.1 Overview
      2. 2.2 Features
      3. 2.3 Kit Contents
      4. 2.4 Revisions
    4. 3 Installation
      1. 3.1 Download the Required Software
      2. 3.2 Install the Software
      3. 3.3 Install the Hardware
    5. 4 Getting Started With MSP-EXP430G2 LaunchPad™ Development Kit
      1. 4.1 Getting Started
      2. 4.2 Demo Application, Internal Temperature Measurement
    6. 5 Develop an Application With the MSP-EXP430G2 LaunchPad™ Development Kit
      1. 5.1 Developing an Application
      2. 5.2 Program and Debug the Temperature Measurement Demo Application
      3. 5.3 Disconnect Emulator From Target With Jumper J3
      4. 5.4 Program Connected eZ430™ Target Boards
      5. 5.5 Connecting a Crystal Oscillator
      6. 5.6 Connecting a BoosterPack™ Plug-in Module
      7. 5.7 Supported Devices
      8. 5.8 MSP-EXP430G2 On-Board Emulator
    7. 6 MSP-EXP430G2 Hardware
      1. 6.1 Device Pinout
      2. 6.2 Schematics
      3. 6.3 PCB Layout
      4. 6.4 Bill of Materials (BOM)
    8. 7 Suggested Reading
    9. 8 Frequently Asked Questions (FAQ)
  2.   Revision History

Demo Application, Internal Temperature Measurement

The LaunchPad development kit includes a pre-programmed MSP430G2553 device already installed in the target socket. When LaunchPad development kit is connected via USB, the demo starts with an LED toggle sequence. The onboard emulation generates the supply voltage and all the signals necessary to start.

Press button P1.3 to switch the application to a temperature measurement mode. A reference temperature is taken at the beginning of this mode, and the LEDs of the LaunchPad development kit signal a rise or fall in temperature by varying the brightness of the on-board red or green LED, respectively. The reference temperature can also be recalibrated with another button press on P1.3. The collected temperature data is also communicated via back-channel UART through the USB emulation circuitry back to the PC. The internal temperature sensor data from the MSP430G2553 device is sent to the PC to be displayed on the GUI. The pre-loaded demo application and the GUI are found in the Software Examples zip folder. The GUI is opened with LaunchPad_Temp_GUI.exe. This GUI is made with Processing (http://processing.org) with the source available for customization. The serial communication port on the PC must be configured with 2400 bps, one stop bit, and no flow control to display the values correctly.

The demo application uses the on-chip peripherals of the MSP430G2553 device such as the 10-bit ADC, which samples the internal temperature sensor, and 16-bit timers, which drive the PWM to vary brightness of the LEDs and enable software UART for communication with the PC. The MSP430G2553 offers a USCI interface that is capable of communicating through UART at up to 2 MBaud, but to be aligned with all the other MSP430G2xx devices, the demo uses the Timer UART implementation, which can be used on all the other devices. This way the demo can be used with any other MSP430G2xx device with an integrated ADC, without any change in the program.

The provided applications can be a great starting point for various custom applications and give a good overview of the various applications of the MSP430G2xx Value Line devices.