background image

Software Examples

www.ti.com

16

SLAU772A – June 2018 – Revised March 2020

Submit Documentation Feedback

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.

Section 3.1

BlinkLED_MSP-EXP430G2ET

None

Blinks an LED on the LaunchPad
development kit at a fixed interval.

Section 3.2

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

Section 4

.

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

).

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

MSP-EXP430G2ET OOBE GUI

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.

Содержание LaunchPad MSP430G2 Series

Страница 1: ...nt Kit is an inexpensive and easy to use evaluation module EVM for the MSP430G2xx entry level series of microcontrollers MCUs It contains everything needed to start developing on the ultra low power M...

Страница 2: ...ces 17 4 1 Integrated Development Environments 17 4 2 LaunchPad Development Kit Websites 20 4 3 MSPWare and TI Resource Explorer 21 4 4 MSP430G2553 MCU 21 4 5 Community Resources 22 5 FAQ 23 6 Schemat...

Страница 3: ...Devices 14 4 Hardware Change Log 15 5 Software Examples 16 6 IDE Minimum Requirements for MSP EXP430G2ET 16 7 Source File 16 8 Source File and Folders 17 9 How MSP Device Documentation is Organized 21...

Страница 4: ...and IAR Embedded Workbench for MSP430 IDE IAR EW430 Both of these IDEs support EnergyTrace technology for real time power profiling and debugging when paired with the MSP430G2553 LaunchPad developmen...

Страница 5: ...ailable for customization imported from the TI Cloud Gallery The serial communication port on the PC must be configured with 9600 bps one stop bit and no flow control to display the values correctly N...

Страница 6: ...et Reset button EnergyTrace Technology Hardware www ti com 6 SLAU772A June 2018 Revised March 2020 Submit Documentation Feedback Copyright 2018 2020 Texas Instruments Incorporated MSP430G2553 LaunchPa...

Страница 7: ...ts of peripherals targeted for various applications The MCU architecture combined with five low power modes is optimized to achieve extended battery life in portable measurement applications Device fe...

Страница 8: ...area The signals that cross this line can be disconnected by jumpers on J101 the isolation jumper block For details on the isolation jumper block see Section 2 2 3 The eZ FET also provides a backchan...

Страница 9: ...rail derived from VBUS in the eZ FET domain RXD Backchannel UART The target G2553 receives data through this signal The arrows indicate the direction of the signal TXD Backchannel UART The target G255...

Страница 10: ...COM port configure it in your host application according to its documentation You can then open the port and begin communication to it from the host On the target MSP430G2553 side the backchannel is c...

Страница 11: ...king and sourcing capability in the final measurement 3 Make sure there are no floating inputs outputs I Os on the MSP430G2553 These cause unnecessary extra current draw Every I O should either be dri...

Страница 12: ...nt kit adheres to the 20 pin LaunchPad development kit pinout standard A standard was created to aid compatibility between LaunchPad development kit and BoosterPack plug in module tools across the TI...

Страница 13: ...the dashed line shows only the applicable function for conforming to the standard However each pin has other functionality that can be configured by the software See the MSP430G2553 data sheet for mo...

Страница 14: ...Power Microcontroller 2KB Flash 128B RAM Comparator MSP430G2221 G2xx 16 bit Ultra Low Power Microcontroller 2KB Flash 128B RAM USI for SPI I2 C MSP430G2231 G2xx 16 bit Ultra Low Power Microcontroller...

Страница 15: ...w Power Microcontroller 8KB Flash 512B RAM 10 Bit SAR A D Comparator USCI for I2 C SPI UART MSP430G2453 G2xx 16 bit Ultra Low Power Microcontroller 8KB Flash 512B RAM 10 Bit SAR A D Comparator USCI fo...

Страница 16: ...lso implements a real time temperature sensor 3 1 1 Source File The OOBE project includes one main c source file see Table 7 Table 7 Source File Name Description main c Contains the main Out of Box de...

Страница 17: ...s way the demo can be used with any other MSP430G2xx MCU with an integrated ADC without any change in the program 3 2 Blink LED Example This simple software example shows how to software toggle a GPIO...

Страница 18: ...it build and debug applications for your LaunchPad development kit No need to download and install large software packages simply connect your LaunchPad development kit and begin You can choose to sel...

Страница 19: ...e code editor project build environment debugger profiler and many other features You can learn more about CCS and download it at http www ti com tool ccstudio CCS v7 0 or higher is required When CCS...

Страница 20: ...Debugger You can learn more about IAR Embedded Workbench for MSP430 and download it at the IAR website IAR EW430 v7 11 1 or higher is required To open the demo in IAR EW430 click File Open Workspace...

Страница 21: ...ackage essentially everything developers need to become MSP experts In addition to providing a complete collection of existing MSP design resources MSPWare also includes a high level API called MSP Dr...

Страница 22: ...very MSP derivative has a set of these code examples When starting a new project or adding a new peripheral these examples serve as a great starting point 4 4 3 MSP430 Application Notes and TI Designs...

Страница 23: ...ta it might be a problem on the host side Probe on TXD while sending data from the MSP If you don t see data it might be a configuration problem with the USCI module Q The device is not answering to a...

Страница 24: ...om 24 SLAU772A June 2018 Revised March 2020 Submit Documentation Feedback Copyright 2018 2020 Texas Instruments Incorporated MSP430G2553 LaunchPad Development Kit MSP EXP430G2ET 6 Schematics Figure 17...

Страница 25: ...chematics 25 SLAU772A June 2018 Revised March 2020 Submit Documentation Feedback Copyright 2018 2020 Texas Instruments Incorporated MSP430G2553 LaunchPad Development Kit MSP EXP430G2ET Figure 18 Schem...

Страница 26: ...ww ti com 26 SLAU772A June 2018 Revised March 2020 Submit Documentation Feedback Copyright 2018 2020 Texas Instruments Incorporated MSP430G2553 LaunchPad Development Kit MSP EXP430G2ET Figure 19 Schem...

Страница 27: ...ments Incorporated Revision History Revision History NOTE Page numbers for previous revisions may differ from page numbers in the current version Changes from May 1 2018 to March 20 2020 from Revision...

Страница 28: ...ther than TI b the nonconformity resulted from User s design specifications or instructions for such EVMs or improper system design or c User has not paid on time Testing and other quality control tec...

Страница 29: ...These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if not in...

Страница 30: ...instructions set forth by Radio Law of Japan which includes but is not limited to the instructions below with respect to EVMs which for the avoidance of doubt are stated strictly for convenience and s...

Страница 31: ...any interfaces electronic and or mechanical between the EVM and any human body are designed with suitable isolation and means to safely limit accessible leakage currents to minimize the risk of electr...

Страница 32: ...R DAMAGES ARE CLAIMED THE EXISTENCE OF MORE THAN ONE CLAIM SHALL NOT ENLARGE OR EXTEND THIS LIMIT 9 Return Policy Except as otherwise provided TI does not offer any refunds returns or exchanges Furthe...

Страница 33: ...e resources are subject to change without notice TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource Other reprod...

Отзывы: