Texas Instruments MSP430G2313IN20
- Part No.:
- MSP430G2313IN20
- Manufacturer:
- Texas Instruments
- Category:
- Microcontrollers
- Package:
- 20-DIP (0.300", 7.62mm)
- Datasheet:
-
MSP430G2313IN20.pdf
- Description:
- IC MCU 16BIT 4KB FLASH 20DIP
- Quantity:
- Payment:

- Shipping:

Inventory:262
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
MSP430G2313IN20 from Texas Instruments is an ultra-low-power 16-bit RISC mixed-signal microcontroller in 20-pin PDIP packaging, featuring 4 KB Flash, 256 B RAM, two 16-bit Timer_A modules with three capture/compare registers each, an 8-channel analog comparator (Comp_A+), and USCI_A0/USCI_B0 for UART, SPI, and I²C communication. It operates from 1.8 V to 3.6 V and targets battery-powered sensor nodes requiring fast wake-up (<1 µs) and capacitive-touch I/O.
For engineers reviewing the MSP430G2313IN20 datasheet, MSP430G2313IN20 pinout, MSP430G2313IN20 application, or MSP430G2313IN20 equivalent, key selection criteria include its 4 KB Flash/256 B RAM configuration, absence of ADC10 (distinguishing it from G2x53 variants), 20-pin PDIP package compatibility with legacy through-hole prototyping, and support for Spy-Bi-Wire programming and brownout detection.
Technical Context
The MSP430G2313IN20 implements a 16-bit CPU with seven addressing modes and 51 instructions, integrated with dual 16-bit Timer_A peripherals (TA0 and TA1), each with three capture/compare registers and independent clock sources (ACLK, SMCLK, MCLK). Its clock system includes a digitally controlled oscillator (DCO), internal LF oscillator, and external crystal support (32 kHz).
It supports five low-power modes (LPM0–LPM4), achieving 0.1 µA off-mode current with RAM retention and sub-1 µs wake-up from standby. The device lacks ADC10 - confirmed by Table 1 and repeated notes stating "ADC10 is available on MSP430G2x53 devices only" - and instead relies on Comp_A+ for analog signal comparison or slope A/D conversion.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 16-bit RISC CPU with 62.5-ns instruction cycle at 16 MHz; register-based execution enables high code efficiency in embedded control. |
| Memory | 4 KB Flash (main memory) + 256 B RAM; supports in-system programming via Spy-Bi-Wire and UART BSL. |
| Power Supply | 1.8 V to 3.6 V operation; enables direct use with single-cell Li-ion or two-cell alkaline batteries without regulation. |
| Low-Power Modes | Five software-selectable modes; LPM4 draws 0.1 µA with RAM retention - critical for multi-year battery life in remote sensors. |
| Timers | Two 16-bit Timer_A modules (TA0, TA1), each with three capture/compare registers; supports PWM generation, input capture, and interval timing. |
| Communication | USCI_A0 (UART/LIN/IrDA/SPI) and USCI_B0 (SPI/I²C); enables host connectivity and sensor network interfacing without external transceivers. |
| Analog Peripherals | 8-channel Comparator_A+ with programmable hysteresis and output routing; supports analog threshold detection and slope A/D conversion. |
Pinout & Package
Package: 20-pin PDIP (N20), 7.62 mm × 20.32 mm body, 2.54 mm pitch, through-hole mounting compatible with breadboards and legacy PCBs.
| 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 decoupling near pin. |
| 2 (P1.0/TA0CLK/ACLK/A0/CA0) | Multi-function I/O | Configurable as timer clock input, ACLK output, analog input A0, or comparator CA0 - enables flexible clock tree or analog sensing. |
| 5 (P1.3/ADC10CLK/CAOUT/VREF−/VEREF−/A3/CA3) | Comparator output & reference | CAOUT provides comparator result; VREF−/VEREF− sets negative reference for Comp_A+ - no ADC10 function active on this device. |
| 6 (P1.4/SMCLK/CA4/TCK/VREF+/VEREF+/A4/UCB0STE/UCA0CLK) | System clock & interface control | SMCLK output drives peripherals; TCK enables JTAG debugging; VREF+/VEREF+ sets positive comparator reference. |
| 16 (RST/NMI/SBWTDIO) | Reset & debug I/O | Active-low reset input; NMI source; bidirectional Spy-Bi-Wire data line for programming and emulation without full JTAG. |
| 17 (TEST/SBWTCK) | Debug clock | Input-only Spy-Bi-Wire clock; eliminates need for 4-wire JTAG, reducing debug footprint on space-constrained boards. |
| 19 (XIN/P2.6/TA0.1) | Clock input | Accepts 32 kHz crystal for ACLK; also serves as Timer_A0 compare output - enables precise real-time clock or PWM timing. |
| 20 (DVSS) | Digital ground | Return path for DVCC; must be connected to system ground plane with low-impedance trace to minimize noise coupling. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power standby mode | 0.5 µA consumption enables multi-month operation on coin-cell batteries in intermittent-sensing applications. |
| Spy-Bi-Wire interface | 2-pin debug and programming reduces PCB layout complexity versus 4-pin JTAG and avoids dedicated programming headers. |
| Capacitive-touch I/O capability | Individual pin oscillator enable bits on P1.x allow low-cost touch-button implementation without external components. |
| Built-in brownout detector | Prevents erratic operation during power ramp-up/down by holding reset until VCC stabilizes within 1.8–3.6 V range. |
| On-chip comparator with 8 channels | Eliminates need for external comparators in threshold-detection systems; supports rail-to-rail input and programmable hysteresis. |
Applications
| Smart Thermostat Sensor Node | Industrial Equipment Status Monitor |
|---|---|
Use Scenario: Battery-powered temperature/humidity node samples analog sensor outputs, compares against setpoints, and transmits alerts via UART to a gateway. IC Role / Device Role / Timing Role: MSP430G2313IN20 acts as the primary sensor interface and decision engine, using Comp_A+ for analog thresholding and USCI_A0 for serial telemetry. Use Value: 0.1 µA off-mode current extends battery life beyond 5 years; 20-pin PDIP simplifies field-replaceable module design. | Use Scenario: DIN-rail mounted panel monitors relay status, voltage presence, and fault conditions in factory machinery using discrete inputs and comparator-based level detection. IC Role / Device Role / Timing Role: MSP430G2313IN20 serves as a deterministic I/O controller with precise timing via Timer_A for pulse-width measurement and watchdog supervision. Use Value: Brownout protection ensures reliable reset during industrial power fluctuations; Spy-Bi-Wire enables in-field firmware updates without disassembly. |
| Portable Medical Pulse Oximeter | Energy Harvesting Environmental Logger |
Use Scenario: Wearable device measures photodiode signals, performs analog comparison for saturation detection, and logs events via I²C EEPROM. IC Role / Device Role / Timing Role: MSP430G2313IN20 functions as analog front-end supervisor and event sequencer, leveraging Comp_A+ for real-time signal integrity checks. Use Value: Sub-1 µs wake-up allows immediate response to physiological events; 1.8 V minimum supply supports direct harvesting from piezoelectric sources. | Use Scenario: Solar- or thermal-harvested sensor node captures ambient light/temperature data, stores locally, and transmits periodically over UART to a base station. IC Role / Device Role / Timing Role: MSP430G2313IN20 manages energy-aware scheduling, using LPM4 between measurements and USCI_B0 for I²C EEPROM writes. Use Value: 4 KB Flash accommodates robust logging firmware with error correction; 20-pin PDIP eases hand-soldering during low-volume prototyping. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| MSP430G2313IPW20 | Identical core specs (4 KB Flash, 256 B RAM, no ADC10), but in 20-pin TSSOP package with 0.65 mm pitch. | Requires surface-mount assembly; better thermal performance and smaller footprint than PDIP. | Select when automated SMT production is used and board space is constrained. |
| MSP430G2213IN20 | 2 KB Flash, 256 B RAM, same peripherals and package; lower memory capacity limits firmware complexity. | Suitable for simpler state-machine or polling-based tasks without protocol stacks or large buffers. | Select when cost sensitivity outweighs memory headroom and application logic fits within 2 KB. |
Compared with MSP430G2313IPW20, the MSP430G2313IN20 offers identical functionality with through-hole compatibility for rapid prototyping and serviceability; compared with MSP430G2213IN20, it doubles Flash capacity for more complex sensor fusion or communication protocols while retaining the same low-power profile and pinout.
Availability
MSP430G2313IN20 is available at Aetrix Electronics and suitable for smart thermostat sensor nodes, industrial equipment status monitors, portable medical pulse oximeters, and energy harvesting environmental loggers requiring stable component supply across long-lifecycle designs.
Supply support for MSP430G2313IN20 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 leader delivering analog, embedded processing, and connectivity solutions for industrial, automotive, and consumer markets.
The MSP430G2xx family was designed specifically for ultra-low-power mixed-signal applications where extended battery life, small form factor, and integrated analog peripherals are essential - exemplified by the MSP430G2313IN20's optimized balance of Flash, comparator resources, and PDIP accessibility.
FAQ
Does the MSP430G2313IN20 include an analog-to-digital converter (ADC)?
No, the MSP430G2313IN20 does not include the ADC10 module. Documentation explicitly states "ADC10 is available on MSP430G2x53 devices only", and Table 1 confirms zero ADC10 channels for all MSP430G2x13 variants including MSP430G2313IN20. Analog signal conditioning relies solely on the 8-channel Comparator_A+ for threshold detection or slope A/D conversion.
What is the maximum operating frequency of the MSP430G2313IN20?
The MSP430G2313IN20 supports internal DCO frequencies up to 16 MHz, as confirmed by the "Internal Frequencies up to 16 MHz With Four Calibrated Frequency" specification in the features list and functional block diagrams. This enables high-speed peripheral operation and efficient code execution while maintaining ultra-low power in active mode (230 µA at 1 MHz, 2.2 V).
Can the MSP430G2313IN20 be programmed using standard JTAG?
The MSP430G2313IN20 supports Spy-Bi-Wire (SBW), a 2-pin subset of JTAG, via pins RST/NMI/SBWTDIO (Pin 16) and TEST/SBWTCK (Pin 17). Full 4-wire JTAG is not supported; SBW provides equivalent debug and programming capability with reduced pin count and PCB footprint, as documented in the "On-Chip Emulation Logic With Spy-Bi-Wire Interface" feature and pin function table.
What package type does the MSP430G2313IN20 use, and is it RoHS compliant?
The MSP430G2313IN20 uses a 20-pin plastic dual in-line package (PDIP, N20 suffix), with lead spacing of 2.54 mm and body dimensions of 7.62 mm × 20.32 mm. Texas Instruments certifies all MSP430G2xx devices, including MSP430G2313IN20, as RoHS compliant per TI's official product change notices and packaging documentation.
How many I/O pins does the MSP430G2313IN20 provide, and which ports are available?
The MSP430G2313IN20 provides 16 general-purpose I/O pins across Ports P1 and P2 (8 pins each), as shown in the 20-pin PDIP pinout diagram. Port P3 is not available in the 20-pin package - confirmed by the note "Port P3 is available on 28-pin and 32-pin devices only" in the functional block diagrams and pin function tables.
MSP430G2313IN20 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Texas Instruments
- Package/Case:
- 20-DIP (0.300", 7.62mm)
- Series:
- MSP430G2xx
- Packaging:
- Tube
- 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:
- Through Hole
- Supplier Device Package:
MSP430G2313IN20 FAQ
1.How can I place an order for MSP430G2313IN20 through Aetrix?
Please submit a Request for Quotation (RFQ) for MSP430G2313IN20 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 MSP430G2313IN20 reliable?
The price and inventory of MSP430G2313IN20 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for MSP430G2313IN20 is usually 5 days.
3.What payment methods are accepted for MSP430G2313IN20?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for MSP430G2313IN20 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for MSP430G2313IN20?
MSP430G2313IN20 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your MSP430G2313IN20 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 MSP430G2313IN20?
For technical support, including MSP430G2313IN20 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your MSP430G2313IN20 requirements.
6.How does Aetrix verify that MSP430G2313IN20 is sourced from the original manufacturer or authorized distributors?
All MSP430G2313IN20 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 MSP430G2313IN20 meets industry standards.
7.What is the process for return or replacement of MSP430G2313IN20?
All MSP430G2313IN20 units undergo pre-shipment inspection (PSI). If there is an issue with MSP430G2313IN20, 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 MSP430G2313IN20 part is unused and in its original packaging.
Return procedure for MSP430G2313IN20:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
MSP430G2313IN20 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…

