Top

Product details

Parameters

Features Non-volatile memory (kB) 2 RAM (KB) 0.125 ADC 10-bit SAR ADC: channels (#) 8 GPIO pins (#) 10 I2C 1 SPI 1 UART 0 Comparator channels (#) 0 Timers - 16-bit 1 Bootloader (BSL) None Special I/O Operating temperature range (C) -40 to 85 Rating Catalog open-in-new Find other MSP430 ultra-low-power MCUs

Package | Pins | Size

PDIP (N) 14 181 mm² 19.3 x 9.4 TSSOP (PW) 14 32 mm² 5 x 6.4 VQFN (RSA) 16 16 mm² 4 x 4 open-in-new Find other MSP430 ultra-low-power MCUs

Features

  • Low Supply-Voltage Range: 1.8 V to 3.6 V
  • Ultra-Low Power Consumption
    • Active Mode: 220 µA at 1 MHz, 2.2 V
    • Standby Mode: 0.5 µA
    • Off Mode (RAM Retention): 0.1 µA
  • Five Power-Saving Modes
  • Ultra-Fast Wake-Up From Standby Mode in Less Than 1 µs
  • 16-Bit RISC Architecture, 62.5-ns Instruction Cycle Time
  • Basic Clock Module Configurations
    • Internal Frequencies up to 16 MHz With One Calibrated Frequency
    • Internal Very Low Power Low-Frequency (LF) Oscillator
    • 32-kHz Crystal
    • External Digital Clock Source
  • 16-Bit Timer_A With Two Capture/Compare Registers
  • Universal Serial Interface (USI) Supporting SPI and I2C
  • Brownout Detector
  • 10-Bit 200-ksps A/D Converter With Internal Reference, Sample-and-Hold, and Autoscan (See )
  • Serial Onboard Programming, No External Programming Voltage Needed, Programmable Code Protection by Security Fuse
  • On-Chip Emulation Logic With Spy-Bi-Wire Interface
  • Available in 14-Pin Plastic Small-Outline Thin Package (TSSOP) (PW), 14-Pin Plastic Dual Inline Package (PDIP) (N), and 16-Pin QFN Package (RSA)

open-in-new Find other MSP430 ultra-low-power MCUs

Description

The Texas Instruments MSP430 family of ultra-low-power microcontrollers consists of several devices featuring different sets of peripherals targeted for various applications. The architecture, combined with five low-power modes, is optimized to achieve extended battery life in portable measurement applications. The device features a powerful 16-bit RISC CPU, 16-bit registers, and constant generators that contribute to maximum code efficiency. The digitally controlled oscillator (DCO) allows wake-up from low-power modes to active mode in less than 1 µs.

The MSP430G2x21/G2x31 series is an ultra-low-power mixed signal microcontroller with a built-in 16-bit timer and ten I/O pins. The MSP430G2x31 family members have a 10-bit A/D converter and built-in communication capability using synchronous protocols (SPI or I2C).

Typical applications include low-cost sensor systems that capture analog signals, convert them to digital values, and then process the data for display or for transmission to a host system.

open-in-new Find other MSP430 ultra-low-power MCUs
Download
Similar products you might be interested in
open-in-new Compare products
Similar but not functionally equivalent to the compared device:
MSP430FR2311 ACTIVE 16MHz integrated analog microcontroller with 3.75KB FRAM, Op-Amp, TIA, Comparator w/ DAC, 10-bit ADC This product is a microcontroller with higher performance and more analog integration including OpAmps & ADCs.

Technical documentation

= Top documentation for this product selected by TI
No results found. Please clear your search and try again. View all 31
Type Title Date
* Datasheet MSP430G2x21, MSP430G2x31 Mixed Signal Microcontroller datasheet (Rev. J) Feb. 07, 2013
* Errata MSP430G2231 Device Erratasheet (Rev. H) May 29, 2018
* User guides MSP430x2xx Family User's Guide (Rev. J) Jul. 01, 2013
Application notes MSP430 System ESD Troubleshooting Guide Dec. 13, 2019
Application notes ESD Diode Current Specification (Rev. A) Jul. 10, 2019
Application notes Migrating from MSP430 F2xx and G2xx families to MSP430 FR4xx and FR2xx family (Rev. F) Mar. 26, 2019
Application notes Programming a Flash-Based MSP430 MCU Using the JTAG Interface (Rev. H) Mar. 15, 2019
White papers Debunking the Ultra-low Power Comparison: MSP430F2x MCUs vs. Microchip XLP Tech (Rev. A) Feb. 26, 2019
Application notes Interfacing MSP430™ MCUs With MMC or SD Flash Memory Cards (Rev. C) Aug. 24, 2018
Application notes MSP430 Flash Memory Characteristics (Rev. B) Aug. 24, 2018
Application notes QFN and SON PCB Attachment (Rev. B) Aug. 24, 2018
Application notes Understanding MSP430 Flash Data Retention (Rev. A) Aug. 24, 2018
Application notes Using the TPS3619 With MSP430 Microcontrollers (Rev. B) Aug. 06, 2018
Application notes Software Coding Techniques for MSP430™ MCUs (Rev. B) Mar. 14, 2018
Application notes MSP430 32-kHz Crystal Oscillators (Rev. D) Jul. 18, 2017
Application notes Migrating from the MSP430F2xx,G2xx Family to the MSP430FR58xx/FR59xx/68xx/69xx (Rev. E) Nov. 03, 2016
Application notes Advanced Debugging Using the Enhanced Emulation Module (EEM) With CCS v6 (Rev. F) Sep. 06, 2016
Application notes General Oversampling of MSP ADCs for Higher Resolution (Rev. A) Apr. 01, 2016
Technical articles “Touching” the smart grid infrastructure space with capacitive sensing technology Mar. 31, 2016
User guides Safety Manual for MSP430G2xx, F5xx, and FR57xx in IEC 60730 Safety Applications (Rev. A) Jan. 12, 2016
Technical articles Don’t miss out on the top training videos of 2015 Dec. 16, 2015
Application notes MSP Code Protection Features Dec. 07, 2015
Technical articles How fast is your 32-bit MCU? Jul. 15, 2015
Technical articles Lose power, not data with new FRAM microcontrollers May 20, 2015
Application notes Design Considerations When Using the MSP430 Graphics Library Oct. 05, 2012
Application notes Launchpad-Based MSP430 UART BSL Interface (Rev. A) Aug. 02, 2012
White papers Power Management Solutions for Ultra-Low-Power 16-Bit MSP430 MCUs (Rev. D) Mar. 28, 2012
Application notes Powering the MSP430 from a High Voltage Input using the TPS62122 (Rev. C) Jan. 12, 2012
Application notes Using the Real-Time-Clock Library (Rev. A) Jan. 11, 2011
Application notes 1.8V – 5.5V Input, High-Efficiency DCDC Converter Reference Design for MSP430 (Rev. B) Jun. 14, 2010
Application notes Tiny DCDC Converter Reference Design (Rev. A) Jun. 14, 2010

Design & development

For additional terms or required resources, click any title below to view the detail page where available.

Hardware development

DEVELOPMENT KITS Download
document-generic User guide
89
Description

The MSP-TS430PW14 is a standalone ZIF socket target board used to program and debug the MSP430 in-system through the JTAG interface or the Spy Bi-Wire (2-wire JTAG) protocol. The development board supports some MSP430 Flash parts in a 14-pin TSSOP package (TI package code: PW). Please check your (...)

Features
A separate debugging and programming interface is required to work with the MSP-TS430PW14. A flash emulation tool (FET) may be purchased independently (MSP-FET430UIF) or bundled with the MSP-TS430PW14 MSP-FET430U14.
DEVELOPMENT KITS Download
document-generic User guide
89
Description

The MSP-TS430PW28A is a standalone ZIF socket target board used to program and debug the MSP430 in-system through the JTAG interface or the Spy Bi-Wire (2-wire JTAG) protocol. The development board supports some MSP430F Flash parts in a 20- or 28-pin TSSOP package (TI package code: PW). Please check (...)

Features
  • Development board (MSP-TS430PW28A) with a ZIF socket fitting some MSP430 derivatives in 28-pin TSSOP (PW) packages includes an LED indicator, JTAG adapter, and header pin-outs for prototyping
  • Supports all debugging interfaces using a standard 14-pin JTAG header such as the MSP-FET430UIF

Software development

SOFTWARE DEVELOPMENT KITS (SDK) Download
MSP430Ware for MSP Microcontrollers
MSPWARE MSP430Ware is a collection of resources that help users to effectively create and build MSP430 code. These resources support ALL MSP430 microcontrollers (MCUs). As one user mentioned, “It’s essentially everything developers need to become MSP430 microcontroller experts!”

This complete collection of (...)

Features
  • Collection of MSP design resources
  • Available within CCS, as a standalone executable, or as part of TI’s new Cloud-based tools
  • Auto-updates through the web
  • Sleek & intuitive GUI for browsing content
  • Features the MSP Driver Library
  • Automatic filtering of content using a unique 2-pane view
CODE EXAMPLES & DEMOS Download
SLAC463I.ZIP (471 KB)
DRIVERS & LIBRARIES Download
Digital Signal Processing (DSP) Library for MSP430 Microcontrollers
MSP-DSPLIB — The Texas Instruments MSP430™ Digital Signal Processing library is a set of highly optimized functions to perform many common signal processing operations on fixed-point numbers for MSP430 microcontrollers. This function set is typically used in applications where processing-intensive (...)
DRIVERS & LIBRARIES Download
MSP Graphics Library
MSP-GRLIB The MSP Graphics Library is a royalty-free set of graphics primitives for creating graphical user interfaces on MSP430 and MSP432 microcontroller-based boards that have a graphical display. The graphical library consists of two building layers of functionality: the display driver layer, specific to (...)
Features
  • Free license and royalty-free use
  • Simplify and accelerate developmen tof applications
  • Easy-to-maintain code
DRIVERS & LIBRARIES Download
Fixed Point Math Library for MSP
MSP-IQMATHLIB The Texas Instruments® MSP IQmath and Qmath Libraries are a collection of highly optimized and high-precision mathematical functions for C programmers to seamlessly port a floating-point algorithm into fixed-point code on MSP430 and MSP432 devices. These routines are typically used in (...)
Features
  • Optimized fixed point functions - reduce development time and enable developers to focus on optimizing application code
  • Up to 100x higher performance when executing common fixed point scalar math functions in CCS – this means the MSP microcontroller can remain in low power modes longer than (...)
DRIVERS & LIBRARIES Download
Bootloader (BSL) for MSP low-power microcontrollers
MSPBSL The bootloader (BSL) on MSP430™ microcontrollers (MCUs) lets users communicate with embedded memory in the MSP MCUs during the prototyping phase, final production, and in service. This is done through standard interfaces such as UART, I2C, SPI, and USB. Both the programmable memory (...)
IDES, CONFIGURATION, COMPILERS & DEBUGGERS Download
Code Composer Studio™ Integrated Development Environment for MSP Microcontrollers
CCSTUDIO-MSP

Code Composer Studio is an integrated development environment (IDE) that supports TI's Microcontroller and Embedded Processors portfolio. Code Composer Studio comprises a suite of tools used to develop and debug embedded applications. It includes an optimizing C/C++ compiler, source code editor (...)

IDES, CONFIGURATION, COMPILERS & DEBUGGERS Download
Energia
ENERGIA Energia is an open source & community-driven integrated development environment (IDE) & software framework. Based on the Wiring framework, Energia provides an intuitive coding environment as well as a robust framework of easy-to-use functional APIs & libraries for programming a (...)
Features
  • Simple & easy-to-use code editor & compiler with built-in Serial Monitor/terminal
  • Features a robust framework of intuitive functional APIs for controlling microcontroller peripherals (i.e. digitalRead, digitalWrite, Serial.print, etc)
  • Support for various TI embedded devices (MSP430, TM4C, CC3200 (...)
IDES, CONFIGURATION, COMPILERS & DEBUGGERS Download
EnergyTrace Technology
ENERGYTRACE EnergyTrace™ software for MSP430™ MCUs, MSP432™ MCUs, CC13xx wireless MCUs and CC26xx wireless MCUs is an energy-based code analysis tool that measures and displays the energy profile of an application and helps optimize it for ultra-low-power consumption.

As most developers know, it is difficult to (...)

Features
  • Current measurement is enabled for all MSP430 MCUs, MSP432 MCUs and connectivity devices
  • Tracing of CPU states is available on selected MSP430 MCUs, MSP432 MCUs, CC13x2 wireless MCUs and CC26x2 wireless MCUs 
  • Tracing of peripheral states is also available on selected MSP430 MCUs, CC13x2 (...)
IDES, CONFIGURATION, COMPILERS & DEBUGGERS Download
IAR Embedded Workbench
Provided by IAR Systems IAR Embedded Workbench for MSP430 (EW430)
IAR Embedded Workbench for MSP430 is a complete debugger and C/C++ compiler toolchain for building and debugging embedded applications based on MSP430 microcontrollers. The Debugger is a fully integrated debugger for source and disassembly level debugging (...)
PROGRAMMING TOOLS Download
MSP MCU Programmer and Debugger
MSP-FET The MSP-FET is a powerful emulation development tool – often called a debug probe – which allows users to quickly begin development on MSP low-power microcontrollers (MCU).

It supports programming and real-time debugging over both JTAG and SBW interfaces. Furthermore, the MSP-FET also provides a (...)

115
Features
  • USB debugging interface to connect any MSP430 MCU to a computer for real-time, in-system programming and debugging
  • Enables EnergyTrace™ technology for energy measurement and debugging on all MSP430 and MSP432 devices in the Code Composer Studio and IAR Embedded Workbench development environments
  • (...)
PROGRAMMING TOOLS Download
MSP-GANG Production Programmer
MSP-GANG The MSP Gang Programmer (MSP-GANG) is a MSP430™/MSP432™ device programmer that can program up to eight identical MSP430/MSP432 Flash or FRAM devices at the same time. It connects to a host PC using a standard RS-232 or USB connection and provides flexible programming options that allow (...)
Features
  • Quickly and reliably program Flash or FRAM-based MSP devices via RS-232 or USB interface
  • Several programming modes:
    • Interactive Mode – Programming while connected to PC using the MSP GANG Programmer GUI
    • Program from Image – An image can be stored, which contains configuration options and code (...)
PROGRAMMING TOOLS Download
UniFlash stand-alone flash tool for microcontrollers, Sitara™; processors and SimpleLink™
UNIFLASH Supported devices: CC13xx, CC25xx, CC26xx, CC3x20, CC3x30, CC3x35, Tiva, C2000, MSP43x, Hercules, PGA9xx, IWR12xx, IWR14xx, IWR16xx, IWR18xx , IWR68xx, AWR12xx, AWR14xx, AWR16xx, AWR18xx.  Command line only: AM335x, AM437x, AM571x, AM572x, AM574x, AM65XX, K2G

CCS Uniflash is a standalone tool used to (...)

Design tools & simulation

CAD/CAE SYMBOLS Download
SLAC060E.ZIP (97 KB)

Reference designs

REFERENCE DESIGNS Download
90-265VAC, 91% Efficiency, >0.94 PF Buck-PFC plus 24V, 30W Brushless DC Motor Drive Reference Design
TIDA-00652 For achieving energy efficiency, ceiling fans and ventilation fans are moving from simple AC induction motors to brushless DC motors (BLDC). Operation of BLDC motors from AC supply requires AC-DC conversion with high efficiency and power factor. It also needs an inverter which is controlled (...)
document-generic Schematic document-generic User guide

CAD/CAE symbols

Package Pins Download
PDIP (N) 14 View options
QFN (RSA) 16 View options
TSSOP (PW) 14 View options

Ordering & quality

Recommended products may have parameters, evaluation modules or reference designs related to this TI product.

Support & training

TI E2E™ forums with technical support from TI engineers

Content is provided "as is" by TI and community contributors and does not constitute TI specifications. See terms of use.

If you have questions about quality, packaging or ordering TI products, see TI support. ​​​​​​​​​​​​​​

Videos

Related videos