Texas Instruments MSP430G2313IPW20R
- Part No.:
- MSP430G2313IPW20R
- Manufacturer:
- Texas Instruments
- Category:
- Microcontrollers
- Package:
- 20-TSSOP (0.173", 4.40mm Width)
- Datasheet:
-
MSP430G2313IPW20R.pdf
- Description:
- IC MCU 16BIT 4KB FLASH 20TSSOP
- Quantity:
- Payment:

- Shipping:

Inventory:3,027
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
MSP430G2313IPW20R from Texas Instruments is an ultra-low-power 16-bit RISC microcontroller in 20-pin TSSOP package, featuring 4 KB Flash, 256 B RAM, two 16-bit Timer_A modules with three capture/compare registers each, on-chip comparator (Comp_A+), and Universal Serial Communication Interface (USCI) supporting UART, SPI, and I²C. It operates from 1.8 V to 3.6 V and targets battery-powered sensor nodes and portable instrumentation.
For engineers reviewing the MSP430G2313IPW20R datasheet, MSP430G2313IPW20R pinout, MSP430G2313IPW20R application, or MSP430G2313IPW20R equivalent, key selection criteria include its 4 KB Flash/256 B RAM configuration, absence of ADC10 (distinguishing it from G2x53 variants), 20-pin TSSOP footprint, USCI dual-channel support, and sub-1 µs wake-up from LPM4 standby mode.
Technical Context
The MSP430G2313IPW20R implements a 16-bit RISC CPU with 62.5-ns instruction cycle time, digitally controlled oscillator (DCO) calibrated for 1 MHz, 8 MHz, 12 MHz, and 16 MHz operation, and five software-selectable low-power modes (LPM0–LPM4). Its clock system integrates ACLK (from 32-kHz crystal or internal LF oscillator), MCLK (CPU clock), and SMCLK (peripheral clock).
It includes two independent 16-bit Timer_A modules (TA0 and TA1), each with three capture/compare registers and multiple output modes; Comp_A+ with eight selectable inputs for analog signal comparison or slope A/D conversion; and USCI_A0 (UART/SPI/IrDA/LIN) plus USCI_B0 (SPI/I²C) for flexible serial communication. Port P3 is not available in the 20-pin PW20 package.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 16-bit RISC CPU with 62.5-ns instruction cycle; enables deterministic real-time control in resource-constrained embedded systems. |
| Flash / RAM | 4 KB Flash program memory and 256 B RAM; sufficient for compact firmware with limited data buffering, no ADC calibration storage required. |
| Supply Voltage | 1.8 V to 3.6 V operation; supports direct connection to single-cell Li-ion or alkaline batteries without regulation. |
| Ultra-Low Power | Active mode: 230 µA at 1 MHz/2.2 V; Standby: 0.5 µA; Off mode (RAM retention): 0.1 µA - extends battery life in intermittent-sensing applications. |
| Timers | Two 16-bit Timer_A modules (TA0, TA1), each with three capture/compare registers; supports PWM generation, input capture, and interval timing across multiple peripherals. |
| Communication | USCI_A0 (UART/SPI/IrDA/LIN) + USCI_B0 (SPI/I²C); enables host interface, sensor bus connectivity, and bootloader over UART without external transceivers. |
| Comparator | Comp_A+ with eight analog inputs and CAOUT output; performs threshold detection, window comparison, or slope-based A/D conversion without ADC hardware. |
Pinout & Package
Package: 20-pin TSSOP (PW20), 0.65 mm pitch, body size 6.5 mm × 4.4 mm, RoHS-compliant, surface-mount compatible.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1 DVCC | Digital supply voltage | Primary 1.8–3.6 V power input for digital core and I/O banks; requires local 100 nF decoupling. |
| 2 P1.0/TA0CLK/ACLK/A0/CA0 | Multi-function I/O | Configurable as timer clock input, ACLK output, analog input A0, or comparator input CA0 - enables flexible clock tree or analog sensing. |
| 5 P1.3/ADC10CLK/CAOUT/VREF−/VEREF−/A3/CA3 | Comparator output & reference | CAOUT delivers comparator result; VREF−/VEREF− sets negative reference - used for precision thresholding or ratiometric measurements (no ADC10 present). |
| 6 P1.4/SMCLK/CA4/TCK/VREF+/VEREF+/A4/UCB0STE/UCA0CLK | System clock & interface control | SMCLK output drives peripherals; UCA0CLK selects synchronous UART clock; VREF+/VEREF+ sets positive reference for comparator - critical for stable analog comparisons. |
| 16 RST/NMI/SBWTDIO | Reset & debug I/O | Active-low reset input; NMI source; Spy-Bi-Wire data I/O - enables in-system programming and debugging via two-wire interface. |
| 17 TEST/SBWTCK | Debug clock | Spy-Bi-Wire test clock input - required for JTAG/SBW programming; must be pulled high during normal operation. |
| 19 XIN/P2.6/TA0.1 | Clock input & timer function | Accepts 32-kHz crystal for ACLK; also serves as TA0.1 compare output - allows shared pin usage between timing and peripheral functions. |
| 20 DVSS | Digital ground | Reference return path for digital logic and I/O; must be connected to system ground plane with low-inductance path. |
Key Features
| Feature | Design Value |
|---|---|
| Five low-power operating modes (LPM0–LPM4) | Enables <1 µs wake-up from LPM4, reducing average current in duty-cycled sensor nodes to sub-µA levels. |
| On-chip comparator (Comp_A+) with 8 inputs | Performs analog threshold detection, zero-crossing, or slope A/D without ADC hardware - saves Flash/RAM and simplifies BOM. |
| USCI_A0 + USCI_B0 dual serial interfaces | Supports simultaneous UART (host comms) and I²C (sensor bus) or dual SPI (memory + display), eliminating need for external protocol translators. |
| Capacitive-touch enabled I/O pins | Individual pin oscillator enable bits allow low-cost touch-button implementation using only MCU resources and PCB traces - no dedicated touch controller required. |
| Integrated Spy-Bi-Wire emulation logic | Enables full-speed debugging and flash programming via two pins (SBWTDIO, SBWTCK), reducing debug header footprint and cost vs. 4-pin JTAG. |
Applications
| Industrial Sensor Node | Portable Medical Monitor |
|---|---|
Use Scenario: Battery-powered temperature/humidity node transmitting data hourly via UART to gateway. IC Role / Device Role / Timing Role: Main controller executing sensor polling, data formatting, and low-power scheduling; uses LPM4 between transmissions and TA0 for precise sleep timing. Use Value: 0.1 µA off-mode current extends 2000 mAh battery life beyond 2 years; USCI_A0 handles UART framing without CPU overhead. | Use Scenario: Handheld pulse oximeter with LED drivers and photodiode amplifier requiring analog threshold detection. IC Role / Device Role / Timing Role: Signal conditioner and controller; Comp_A+ detects LED current thresholds and photodiode saturation; TA1 manages LED timing pulses. Use Value: Eliminates external comparator IC; 230 µA active current at 1 MHz enables responsive UI while preserving battery runtime. |
| Smart Meter Tamper Detection | Low-Cost Home Automation Controller |
Use Scenario: Utility meter monitoring case opening and magnetic tampering using reed switch and Hall sensor inputs. IC Role / Device Role / Timing Role: Tamper event processor; P1.x interrupts detect switch transitions; Comp_A+ monitors Hall voltage against reference for magnetic field detection. Use Value: Single-chip solution replaces discrete comparator + microcontroller; brownout detector ensures reliable reset during power glitches. | Use Scenario: Zigbee/Z-Wave edge controller managing relay outputs, button inputs, and status LEDs in wall switch form factor. IC Role / Device Role / Timing Role: System orchestrator; USCI_B0 communicates with wireless module over I²C; Timer_A generates LED PWM dimming waveforms. Use Value: 4 KB Flash accommodates Z-Wave stack + application logic; capacitive-touch I/O enables sleek bezel-free button design. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| MSP430G2213IPW20R | 2 KB Flash, 256 B RAM, same peripherals and package; lacks calibrated DCO frequencies above 1 MHz. | Suitable for simpler firmware with smaller code footprint; not recommended if >1 MHz clock stability or higher Flash headroom needed. | Select when cost sensitivity outweighs need for 4 KB Flash or multi-MHz DCO calibration. |
| MSP430G2353IPW20R | 4 KB Flash, 256 B RAM, adds 10-bit ADC10 with 8-channel autoscan and internal reference; identical pinout and core peripherals. | Required where analog sensor digitization (e.g., thermistor, potentiometer) is needed alongside comparator functions. | Choose when ADC functionality is mandatory; note ADC10 increases active current slightly and consumes additional Flash for driver code. |
Compared with MSP430G2213IPW20R, the MSP430G2313IPW20R provides double Flash capacity and factory-calibrated DCO up to 16 MHz for timing-critical tasks; versus MSP430G2353IPW20R, it omits ADC10 to reduce cost and power in purely comparator- or digital-sensing applications.
Availability
MSP430G2313IPW20R is available at Aetrix Electronics and suitable for industrial sensor nodes, portable medical monitors, smart meter tamper detection, and low-cost home automation controllers requiring stable component supply, long-term lifecycle support, and RoHS-compliant packaging.
Supply support for MSP430G2313IPW20R includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
Texas Instruments is a global semiconductor company delivering analog and embedded processing solutions, with leadership in low-power microcontrollers and signal chain technologies.
The MSP430G2xx family is designed for ultra-low-power mixed-signal applications including battery-operated sensors, portable instrumentation, and energy-harvesting systems where extended runtime and minimal BOM cost are critical.
FAQ
Does the MSP430G2313IPW20R include an analog-to-digital converter (ADC)?
No, the MSP430G2313IPW20R does not include the ADC10 module. It belongs to the G2x13 series, which features the on-chip comparator (Comp_A+) but omits the 10-bit ADC found in G2x53 variants like MSP430G2353IPW20R. Analog threshold detection must be performed using Comp_A+, and slope A/D conversion is supported via software-controlled timing loops.
What is the maximum operating frequency of the MSP430G2313IPW20R?
The MSP430G2313IPW20R supports a maximum DCO frequency of 16 MHz, calibrated and stored in information memory segment A. The device achieves this via RSEL and DCO register settings, with modulation (MODx bits) enabling fine frequency tuning. At 16 MHz, instruction execution time is 62.5 ns, and active current rises to approximately 420 µA at 3.3 V.
Can the MSP430G2313IPW20R be programmed in-system without a JTAG emulator?
Yes, the MSP430G2313IPW20R supports in-system programming via its built-in Bootstrap Loader (BSL) using UART. Pins P1.1 (UCA0RXD) and P1.5 (UCA0TXD) serve as BSL data I/O. Programming requires a password, and the BSL is protected by a security fuse. No external programming voltage is needed - operation is fully 1.8–3.6 V compatible.
How many I/O pins does the MSP430G2313IPW20R provide, and are they all individually configurable?
The MSP430G2313IPW20R provides 16 general-purpose I/O pins across Ports P1 and P2 (P1.0–P1.7 and P2.0–P2.7). Each pin is individually configurable for input/output direction, pullup/pulldown resistor enable, interrupt edge select (rising/falling), and peripheral function mapping. Port P3 is not available in the 20-pin TSSOP package.
What debug interface does the MSP430G2313IPW20R support, and what pins are required?
The MSP430G2313IPW20R supports Spy-Bi-Wire (SBW) debugging, a two-wire variant of JTAG. It requires only two pins: RST/NMI/SBWTDIO (Pin 16) for bidirectional data and TEST/SBWTCK (Pin 17) for clock. This reduces debug header footprint and cost compared to full 4-pin JTAG, while maintaining full-speed flash programming and real-time debugging capability.
MSP430G2313IPW20R Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Texas Instruments
- Package/Case:
- 20-TSSOP (0.173", 4.40mm Width)
- Series:
- MSP430G2xx
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- MSP430 CPU16
- Core Size:
- 16-Bit
- Speed:
- 16MHz
- Connectivity:
- I2C, IrDA, LINbus, SCI, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, DMA, POR, PWM, WDT
- Number of I/O:
- 16
- Program Memory Size:
- 4KB (4K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 256 x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 3.6V
- Data Converters:
- -
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
MSP430G2313IPW20R FAQ
1.How can I place an order for MSP430G2313IPW20R through Aetrix?
Please submit a Request for Quotation (RFQ) for MSP430G2313IPW20R on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for MSP430G2313IPW20R reliable?
The price and inventory of MSP430G2313IPW20R are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for MSP430G2313IPW20R is usually 5 days.
3.What payment methods are accepted for MSP430G2313IPW20R?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for MSP430G2313IPW20R transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for MSP430G2313IPW20R?
MSP430G2313IPW20R orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your MSP430G2313IPW20R order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for MSP430G2313IPW20R?
For technical support, including MSP430G2313IPW20R datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your MSP430G2313IPW20R requirements.
6.How does Aetrix verify that MSP430G2313IPW20R is sourced from the original manufacturer or authorized distributors?
All MSP430G2313IPW20R products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that MSP430G2313IPW20R meets industry standards.
7.What is the process for return or replacement of MSP430G2313IPW20R?
All MSP430G2313IPW20R units undergo pre-shipment inspection (PSI). If there is an issue with MSP430G2313IPW20R, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The MSP430G2313IPW20R part is unused and in its original packaging.
Return procedure for MSP430G2313IPW20R:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
MSP430G2313IPW20R Tags

-
ATTINY4-TSHR
Microchip Technology

-
ATTINY10-TSHR
Microchip Technology

-
ATTINY10-TS8R
Microchip Technology

-
ATTINY202-SSNR
Microchip Technology

-
ATTINY202-SSFR
Microchip Technology

-
ATTINY402-SSNR
Microchip Technology

-
PIC16F15213T-I/MF
Microchip Technology

-
PIC16F15213-E/MF
Microchip Technology

-
PIC10F200T-I/OT
Microchip Technology

-
ATTINY412-SSNR
Microchip Technology

-
PIC10F202T-I/OT
Microchip Technology

-
ATTINY404-SSNR
Microchip Technology
Tech Hub
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…

