Software Examples
16
SLAU772A – June 2018 – Revised March 2020
Copyright © 2018–2020, Texas Instruments Incorporated
MSP430G2553 LaunchPad™ Development Kit (MSP
‑
EXP430G2ET)
Table 5. Software Examples
Demo Name
BoosterPack Plug-in
Module Required
Description
More Details
OutOfBox_MSP-EXP430G2ET
None
The out-of-box demo preprogrammed on
the LaunchPad development kit from the
factory. Demonstrates features of the
MSP430G2553 MCU.
BlinkLED_MSP-EXP430G2ET
None
Blinks an LED on the LaunchPad
development kit at a fixed interval.
To use any of the software examples with the LaunchPad development kit, you must have an integrated
development environment (IDE) that supports the MSP430G2553 MCU.
Table 6. IDE Minimum Requirements for MSP-EXP430G2ET
Code Composer Studio IDE
IAR Embedded Workbench for MSP430 IDE
v7.0 or later
v7.11.1 or later
For more details on how to get started quickly, and where to download the latest CCS and IAR IDEs, see
3.1
Out-of-Box Software Example
This section describes the functionality and structure of the out-of-box software that is preloaded on the
EVM.
The Out-of-Box demo for the MSP-EXP430G2ET LaunchPad development kit starts with a two LED toggle
sequence. The demo also implements a real-time temperature sensor.
3.1.1
Source File
The OOBE project includes one main.c source file (see
Table 7. Source File
Name
Description
main.c
Contains the main Out-of-Box demo and auxiliary functions
3.1.2
Overview
The online cloud-based
can be used to download this demo to your board
and visualize the temperature data. A serial terminal can also be used to display the data being sent from
the demo to the PC (application UART settings: 9600, 8, 1, n).
When powering up the Out-of-Box demo, the MSP-EXP430G2ET LaunchPad development kit starts with
a two LED toggle sequence. At any time, press S1 to switch to the Live Temperature mode.
3.1.3
Live Temperature Mode
In this mode, the LaunchPad development kit repeatedly measures the MSP430G2553 MCU internal
temperature and transfers the data to the PC through UART.
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 application keeps track of the temperature threshold, and when a new temperature data is acquired, it
is compared against the threshold. If measured temperature is below the threshold, the red LED will
illuminate, and if the measured temperature is above the threshold, the green LED will illuminate.