Texas Instruments MSP430G2231 User Manual

Texas Instruments MSP430G2231 User Manual

Automotive mixed-signal microcontroller
Table of Contents

Advertisement

Quick Links

MSP430G2231 Automotive Mixed-Signal Microcontroller
1 Features
Qualified for Automotive Applications
1
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 Wakeup 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) Supports SPI and
2
I
C
Brownout Detector
10-Bit 200-ksps Analog-to-Digital Converter (ADC)
With Internal Reference, Sample-and-Hold, and
Autoscan
Serial Onboard Programming,
No External Programming Voltage Needed,
Programmable Code Protection by Security Fuse
On-Chip Emulation Logic With Spy-Bi-Wire
Interface
For Family Members Details, See
Characteristics
Available Packages
– 14-Pin Plastic Small-Outline Thin Package
(TSSOP) (PW)
– 16-Pin QFN Package (RSA)
For Complete Module Descriptions, See the
MSP430x2xx Family User's Guide (SLAU144)
1
An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications,
intellectual property matters and other important disclaimers. PRODUCTION DATA.
Sample &
Product
Buy
Folder
Device
Tools &
Technical
Software
Documents
SLAS787B – NOVEMBER 2011 – REVISED MARCH 2014
2 Applications
Low-Cost Sensor Systems
3 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 MSP430G2231 devices are ultra-low-power
mixed signal microcontrollers with a built-in 16-bit
timer and ten I/O pins. The MSP430G2231 devices
have
a
10-bit
communication
protocols (SPI or I2C). For configuration details, see
Table
1.
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.
Device Information
ORDER NUMBER
MSP430G2231IRSARQ1
MSP430G2231IPW4RQ1
(1) For the most current part, package, and ordering information,
see the Package Option Addendum at the end of this
document, or see the TI web site at www.ti.com.
Support &
Community
MSP430G2231-Q1
A/D
converter
and
capability
using
synchronous
(1)
PACKAGE
BODY SIZE
(PIN)
RSA (16)
4 mm x 4 mm
PW (14)
5 mm x 4.4 mm
built-in

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MSP430G2231 and is the answer not in the manual?

Questions and answers

Summary of Contents for Texas Instruments MSP430G2231

  • Page 1 – Internal Frequencies up to 16 MHz With One The MSP430G2231 devices are ultra-low-power Calibrated Frequency mixed signal microcontrollers with a built-in 16-bit – Internal Very Low Power Low-Frequency (LF) timer and ten I/O pins. The MSP430G2231 devices Oscillator have 10-bit converter...
  • Page 2 16 Registers Emulation Watchdog Timer0_A2 Brownout WDT+ Universal JTAG Protection 2 CC Serial Interface 15-Bit Registers Interface SPI, I2C Spy-Bi- Wire RST/NMI Figure 1. Functional Block Diagram Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 3: Table Of Contents

    LPM4) – Electrical Characteristics ......11.6 Glossary ............... 9.17 Typical Characteristics – DCO Clock Wakeup Time 12 Mechanical, Packaging, and Orderable From LPM3, LPM4 ..........Information ............Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 4: Description

    Product Preview release SLAS787A Production Data release Formatting and document organization changes throughout. Removed all information related to operation at 105°C. SLAS787B Removed all device variants except for MSP430G2231. Added Device and Documentation Support Mechanical, Packaging, and Orderable Information. 6 Device Characteristics Table 1 shows the features of the MSP430G2231 device.
  • Page 5: Terminal Configuration And Functions

    I/O information. 7.2 16-Pin RSA Package (Top View) P1.0/TA0CLK/ACLK/A0 XIN/P2.6/TA0.1 P1.1/TA0.0/A1 XOUT/P2.7 P1.2/TA0.1/A2 TEST/SBWTCK P1.3/ADC10CLK/A3/VREF-/VEREF- RST/NMI/SBWTDIO NOTE: See port schematics in I/O Port Schematics for detailed I/O information. Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 6: Terminal Functions

    (2) If XOUT/P2.7 is used as an input, excess current flows until P2SEL.7 is cleared. This is due to the oscillator output driver connection to this pad after reset. Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 7: Detailed Description

    ✓ MOV @Rn+,Rm MOV @R10+,R11 R10 + 2-- --> R10 Immediate ✓ MOV #X,TONI MOV #45,TONI #45 -- --> M(TONI) (1) S = source, D = destination Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 8: Operating Modes

    Low-power mode 4 (LPM4) – CPU is disabled – ACLK is disabled – MCLK and SMCLK are disabled – DCO's dc generator is disabled – Crystal oscillator is stopped Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 9: Interrupt Vector Addresses

    (5) MSP430G2x31 only (6) The interrupt vectors at addresses 0FFDEh to 0FFC0h are not used in this device and can be used for regular program code if necessary. Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 10: Special Function Registers (Sfrs)

    RSTIFG External reset interrupt flag. Set on a reset condition at RST/NMI pin in reset mode. Reset on V power-up. NMIIFG Set via RST/NMI pin Address Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 11: Memory Organization

    Segment A contains calibration data. After reset segment A is protected against programming and erasing. It can be unlocked but care should be taken not to erase this segment if the device-specific calibration data is required. Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 12: Peripherals

    If the selected time interval expires, a system reset is generated. If the watchdog function is not needed in an application, the module can be disabled or configured as an interval timer and can generate interrupts at selected time intervals. Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 13 DTC, for automatic conversion result handling, allowing ADC samples to be converted and stored without any CPU intervention. Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 14 Port P2 interrupt edge select P2IES 02Ch Port P2 interrupt flag P2IFG 02Bh Port P2 direction P2DIR 02Ah Port P2 output P2OUT 029h Port P2 input P2IN 028h Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 15 Port P1 input P1IN 020h Special Function SFR interrupt flag 2 IFG2 003h SFR interrupt flag 1 IFG1 002h SFR interrupt enable 2 001h SFR interrupt enable 1 000h Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 16: Specifications

    Supply Voltage - V Note: Minimum processor frequency is defined by system clock. Flash program or erase operations require a minimum V of 2.2 V. Figure 2. Safe Operating Area Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 17: Active Mode Supply Current Into

    − Supply Voltage − V − DCO Frequency − MHz Figure 3. Active Mode Current vs Supply Voltage, T = 25°C Figure 4. Active Mode Current vs DCO Frequency Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 18: Excluding External Current

    Vcc = 1.8 V 0.00 0.00 T – Temperature – °C T – Temperature – °C Figure 6. LPM4 Current vs Temperature Figure 5. LPM3 Current vs Temperature Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 19: Schmitt-Trigger Inputs - Ports Px

    The output is connected to the center tap of the divider. (2) The output voltage reaches at least 10% and 90% V at the specified toggle frequency. Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 20: Typical Characteristics - Outputs

    − High-Level Output Voltage − V − High-Level Output Voltage − V Figure 9. Typical High-Level Output Current vs High-Level Figure 10. Typical High-Level Output Current vs High-Level Output Voltage Output Voltage Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 21: Por, Bor

    − Pulse Width − µs − Pulse Width − µs Figure 12. V Level With a Square Voltage Drop to Generate a POR or BOR Signal CC(drop) Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 22 − Pulse Width − µs − Pulse Width − µs Figure 13. V Level With a Triangle Voltage Drop to Generate a POR or BOR Signal CC(drop) Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 23: Main Dco Characteristics

    1.35 ratio RSEL RSEL DCO(RSEL+1,DCO) DCO(RSEL,DCO) range RSEL and RSEL+1 Frequency step between 1.08 ratio DCO(RSEL,DCO+1) DCO(RSEL,DCO) tap DCO and DCO+1 Duty cycle Measured at SMCLK output Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 24: Calibrated Dco Frequencies - Tolerance

    9.17 Typical Characteristics – DCO Clock Wakeup Time From LPM3, LPM4 10.00 RSELx = 0...11 RSELx = 12...15 1.00 0.10 0.10 1.00 10.00 DCO Frequency − MHz Figure 14. DCO Wakeup Time From LPM3 vs DCO Frequency Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 25: Crystal Oscillator, Xt1, Low-Frequency Mode

    PARAMETER TEST CONDITIONS UNIT Internal: SMCLK, ACLK Timer_A input clock frequency External: TACLK, INCLK SYSTEM Duty cycle = 50% ± 10% Timer_A capture timing TA0, TA1 TA,cap Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 26: Usi, Universal Serial Interface

    − Low-Level Output Voltage − V − Low-Level Output Voltage − V Figure 15. USI Low-Level Output Voltage vs Output Current Figure 16. USI Low-Level Output Voltage vs Output Current Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 27: 10-Bit Adc, Power Supply And Input Range Conditions

    . Consumption is independent of the ADC10ON control bit, unless a conversion is active. The REFON bit enables the built-in reference to settle before starting an A/D conversion. Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 28: 10-Bit Adc, Built-In Voltage Reference

    VREF = 0.5 mA, VREF+ Settling time of reference REF2_5V = 1, REFON = 1, µs REFBURST buffer to 99.9% VREF REFBURST = 1, ADC10SR = 0 Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 29: 10-Bit Adc, External Reference

    UNIT Integral linearity error ±1 Differential linearity error ±1 Offset error Source impedance R < 100 Ω ±1 Gain error ±1.1 ±2 Total unadjusted error ±2 ±5 Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 30: 10-Bit Adc, Temperature Sensor And Built-In

    (1) The cumulative program time must not be exceeded when writing to a 64-byte flash block. This parameter applies to all programming methods: individual word/byte write and block write modes. (2) These values are hardwired into the Flash Controller's state machine (t = 1/f Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 31: Jtag And Spy-Bi-Wire Interface

    Time to blow fuse (1) Once the fuse is blown, no further access to the JTAG/Test, Spy-Bi-Wire, and emulation feature is possible, and JTAG is switched to bypass mode. Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 32: I/O Port Schematics

    0: Input 1: Output PxREN.y DV SS PxSEL.y DV CC PxOUT.y ACLK P1.0/TA0CLK/ACLK/A0 P1.1/TA0.0/A1 Keeper P1.2/TA0.1/A2 PxIN.y To Module PxIE.y PxIRQ.y PxIFG.y PxSEL.y Interrupt Edge Select PxIES.y Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 33: Port P1 Pin Schematic: P1.0 To P1.2, Input/Output With Schmitt Trigger

    P1.x (I/O) I: 0; O: 1 TA0.0/ TA0.0 TA0.CCI0A 1 (y = 1) P1.2/ P1.x (I/O) I: 0; O: 1 TA0.1/ TA0.1 TA0.CCI1A 1 (y = 2) Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 34: Port P1 Pin Schematic: P1.3, Input/Output With

    PIN NAME (P1.x) FUNCTION ADC10AE.x P1DIR.x P1SEL.x (INCH.x = 1) P1.3/ P1.x (I/O) I: 0; O: 1 ADC10CLK/ ADC10CLK 3 A3 1 (y = 3) VREF-/ VREF- VEREF- VEREF- Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 35: Port P1 Pin Schematic: P1.4, Input/Output With

    PIN NAME (P1.x) FUNCTION ADC10AE.x JTAG P1DIR.x P1SEL.x (INCH.x = 1) Mode P1.4/ P1.x (I/O) I: 0; O: 1 SMCLK/ SMCLK 1 (y = 4) VREF+/ VREF+ VEREF+/ VEREF+ Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 36: Port P1 Pin Schematic: P1.5, Input/Output With

    FUNCTION ADC10AE.x JTAG P1DIR.x P1SEL.x USIP.x (INCH.x = 1) Mode P1.5/ P1.x (I/O) I: 0; O: 1 TA0.0/ TA0.0 5 A5 1 (y = 5) SCLK/ SCLK Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 37: Port P1 Pin Schematic: P1.6, Input/Output With

    FUNCTION ADC10AE.x JTAG P1DIR.x P1SEL.x USIP.x (INCH.x = 1) Mode P1.6/ P1.x (I/O) I: 0; O: 1 TA0.1/ TA0.1 TA0.CCR1B 1 (y = 6) SDO/ TDI/TCLK TDI/TCLK Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 38: Port P1 Pin Schematic: P1.7, Input/Output With

    PIN NAME (P1.x) FUNCTION ADC10AE.x JTAG P1DIR.x P1SEL.x USIP.x (INCH.x = 1) Mode P1.7/ P1.x (I/O) I: 0; O: 1 1 (y = 7) SDI/SDO SDI/SDO TDO/TDI TDO/TDI Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 39: Port P2 Pin Schematic: P2.6, Input/Output With

    CONTROL BITS OR SIGNALS PIN NAME (P2.x) FUNCTION P2DIR.x P2SEL.6 P2SEL.7 P2.6 6 P2.x (I/O) I: 0; O: 1 TA0.1 TA0.1 (1) BCSCTL3.LFXT1Sx = 11 is required. Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 40: Port P2 Pin Schematic: P2.7, Input/Output With

    Table 20. Port P2 (P2.7) Pin Functions CONTROL BITS OR SIGNALS PIN NAME (P2.x) FUNCTION P2DIR.x P2SEL.6 P2SEL.7 XOUT XOUT P2.7 P2.x (I/O) I: 0; O: 1 Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 41: Device And Documentation Support

    MSP430 devices delivered in a convenient package. MSP430Ware is available as a component of CCS or as a standalone package. Submit Documentation Feedback Copyright © 2011–2014, Texas Instruments Incorporated Product Folder Links: MSP430G2231-Q1...
  • Page 42: Community Resources

    Predictions show that prototype devices (XMS and PMS) have a greater failure rate than the standard production devices. Texas Instruments recommends that these devices not be used in any production system because their expected end-use failure rate still is undefined. Only qualified production devices are to be used.
  • Page 43 Figure 17. Device Nomenclature 11.2 Documentation Support 11.2.1 Related Documents The following documents describe the MSP430G2231 device. Copies of these documents are available on the Internet at www.ti.com. SLAU144 MSP430x2xx Family User's Guide. Detailed information on the modules and peripherals available in this device family.
  • Page 44: Trademarks

    TI Embedded Processors Wiki Texas Instruments Embedded Processors Wiki. Established to help developers get started with embedded processors from Texas Instruments and to foster innovation and growth of general knowledge about the hardware and software surrounding these devices. 11.4 Trademarks MSP430, Code Composer Studio are trademarks of Texas Instruments.
  • Page 45 PACKAGE OPTION ADDENDUM www.ti.com 26-Nov-2014 PACKAGING INFORMATION Orderable Device Status Package Type Package Pins Package Eco Plan Lead/Ball Finish MSL Peak Temp Op Temp (°C) Device Marking Samples Drawing (4/5) MSP430G2231IPW4RQ1 ACTIVE TSSOP 2000 Green (RoHS CU NIPDAU Level-1-260C-UNLIM -40 to 85 G2231Q1 &...
  • Page 46 In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis. OTHER QUALIFIED VERSIONS OF MSP430G2231-Q1 :...
  • Page 47 PACKAGE MATERIALS INFORMATION www.ti.com 18-Mar-2015 TAPE AND REEL INFORMATION *All dimensions are nominal Device Package Package Pins Reel Reel Pin1 Type Drawing Diameter Width (mm) (mm) (mm) (mm) (mm) Quadrant (mm) W1 (mm) MSP430G2231IPW4RQ1 TSSOP 2000 330.0 12.4 12.0 MSP430G2231IRSARQ1 3000 330.0 12.4...
  • Page 48 PACKAGE MATERIALS INFORMATION www.ti.com 18-Mar-2015 *All dimensions are nominal Device Package Type Package Drawing Pins Length (mm) Width (mm) Height (mm) MSP430G2231IPW4RQ1 TSSOP 2000 367.0 367.0 35.0 MSP430G2231IRSARQ1 3000 367.0 367.0 35.0 Pack Materials-Page 2...
  • Page 54 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue.

Table of Contents