← Commit history

Initial commit: component/msp430g2402ipw20r

Ray ·c18bbc825a ·
2 files changed +271
README.mdadded+56
@@ -0,0 +1,56 @@+# MSP430G2402IPW20R++**Texas Instruments** · Microcontrollers (MCU/MPU/SOC) · TSSOP-20++MSP430G2402IPW20R from Texas Instruments, in a TSSOP-20. Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | DVCC | power_in | Positive digital supply voltage, rated 1.8 V to 3.6 V for normal operation |+| 2 | P1.0/TA0CLK/ACLK/A0 | bidirectional | Port 1 I/O bit 0; selectable as Timer0_A clock input (TA0CLK), ACLK signal output, or ADC10 analog input A0 (MSP430G2x32 only) |+| 3 | P1.1/TA0.0/A1 | bidirectional | Port 1 I/O bit 1; selectable as Timer0_A capture/compare output (TA0.0) or ADC10 analog input A1 (MSP430G2x32 only) |+| 4 | P1.2/TA0.1/A2 | bidirectional | Port 1 I/O bit 2; selectable as Timer0_A capture/compare output (TA0.1) or ADC10 analog input A2 (MSP430G2x32 only) |+| 5 | P1.3/ADC10CLK/A3/VREF-/VEREF- | bidirectional | Port 1 I/O bit 3; selectable as ADC10 conversion clock output, ADC10 analog input A3, or negative reference voltage (MSP430G2x32 only) |+| 6 | P1.4/TA0.2/SMCLK/A4/VREF+/VEREF+/TCK | bidirectional | Port 1 I/O bit 4; selectable as Timer0_A capture/compare output (TA0.2), SMCLK signal output, ADC10 analog input A4 (MSP430G2x32 only), positive reference voltage (MSP430G2x32 only), or JTAG test clock input |+| 7 | P1.5/TA0.0/A5/SCLK/TMS | bidirectional | Port 1 I/O bit 5; selectable as Timer0_A output (TA0.0), ADC10 analog input A5 (MSP430G2x32 only), USI serial clock, or JTAG test mode select |+| 8 | P2.0 | bidirectional | Port 2 I/O bit 0 with edge-selectable interrupt capability and programmable pull-down resistor |+| 9 | P2.1 | bidirectional | Port 2 I/O bit 1 with edge-selectable interrupt capability and programmable pull-down resistor |+| 10 | P2.2 | bidirectional | Port 2 I/O bit 2 with edge-selectable interrupt capability and programmable pull-down resistor |+| 11 | P2.3 | bidirectional | Port 2 I/O bit 3 with edge-selectable interrupt capability and programmable pull-down resistor |+| 12 | P2.4 | bidirectional | Port 2 I/O bit 4 with edge-selectable interrupt capability and programmable pull-down resistor |+| 13 | P2.5 | bidirectional | Port 2 I/O bit 5 with edge-selectable interrupt capability and programmable pull-down resistor |+| 14 | P1.6/TA0.1/A6/SDO/SCL/TDI/TCLK | bidirectional | Port 1 I/O bit 6; selectable as Timer0_A compare output (TA0.1), ADC10 analog input A6 (MSP430G2x32 only), USI serial data output (SDO), USI I2C clock (SCL), or JTAG test data input (TDI) |+| 15 | P1.7/SDI/SDA/A7/TDO/TDI | bidirectional | Port 1 I/O bit 7; selectable as USI serial data input (SDI), USI I2C data line (SDA), ADC10 analog input A7 (MSP430G2x32 only), or JTAG test data output/input (TDO/TDI) |+| 16 | RST/NMI/SBWTDIO | input | External reset input or nonmaskable interrupt input; also serves as Spy-Bi-Wire test data I/O during device programming; pulse width t(reset) must be ≥2 µs |+| 17 | TEST/SBWTCK | input | Test mode selection input for JTAG interface pins on Port 1; also serves as Spy-Bi-Wire test clock input; device protection fuse is connected to this pin |+| 18 | XOUT/P2.7 | bidirectional | Crystal oscillator output terminal or Port 2 I/O bit 7; oscillator driver remains connected until P2SEL.7 is cleared; excess current flows if used as input |+| 19 | XIN/P2.6/TA0.1 | bidirectional | Crystal oscillator input terminal or Port 2 I/O bit 6; selectable as Timer0_A compare output (TA0.1) when configured as P2.6 |+| 20 | DVSS | power_in | Digital ground reference |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | Texas Instruments |+| Package | TSSOP-20 |+| Category | Embedded Processors & Controllers |+| Pins | 20 |++## CAD (KiCad official)++- Symbol: `MSP430G2402IPW20R`+- Footprint: `Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm`+- 3D model: TSSOP-20 (KiCad packages3D, STEP)+- 3D model files: `msp430g2402ipw20r-etched.step` / `msp430g2402ipw20r-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `msp430g2402ipw20r.step` / `msp430g2402ipw20r.glb` are the bare package body.++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [Texas Instruments datasheet](https://www.ti.com/cn/lit/gpn/msp430g2232) (77 pp, sha256 `6df2cd5fcd8d8260`, retrieved 2026-09-23, tier: lcsc)+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.2`, primary `claude-haiku-4-5-20251001` (text), consensus `claude-sonnet-5` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/msp430g2402ipw20r-datasheet.pdf)
page.jsonadded+215
@@ -0,0 +1,215 @@+{+  "slug": "msp430g2402ipw20r",+  "version": "0.1.0",+  "type": "component",+  "description": "Texas Instruments Microcontrollers (MCU/MPU/SOC), TSSOP-20. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "embedded processors & controllers",+    "msp430g2402ipw20r",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "msp430g2402ipw20r.kicad_sym",+    "msp430g2402ipw20r.kicad_mod",+    "msp430g2402ipw20r.glb",+    "msp430g2402ipw20r.step",+    "msp430g2402ipw20r.lbr",+    "docs/hero.png",+    "docs/msp430g2402ipw20r-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "MSP430G2402IPW20R",+    "manufacturer": "Texas Instruments",+    "package": "TSSOP-20",+    "pin_count": 20,+    "category": "Embedded Processors & Controllers",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://www.ti.com/cn/lit/gpn/msp430g2232",+    "parts": {+      "symbol": "msp430g2402ipw20r.kicad_sym",+      "footprint": "msp430g2402ipw20r.kicad_mod",+      "model_3d": "msp430g2402ipw20r-etched.glb",+      "model_3d_plain": "msp430g2402ipw20r.glb",+      "model_3d_step": "msp430g2402ipw20r-etched.step",+      "model_3d_step_plain": "msp430g2402ipw20r.step",+      "lbr": "msp430g2402ipw20r.lbr"+    },+    "distributor_links": {+      "lcsc": "C2054121"+    },+    "pins": [+      {+        "number": "1",+        "name": "DVCC",+        "type": "power_in",+        "description": "Positive digital supply voltage, rated 1.8 V to 3.6 V for normal operation"+      },+      {+        "number": "2",+        "name": "P1.0/TA0CLK/ACLK/A0",+        "type": "bidirectional",+        "description": "Port 1 I/O bit 0; selectable as Timer0_A clock input (TA0CLK), ACLK signal output, or ADC10 analog input A0 (MSP430G2x32 only)"+      },+      {+        "number": "3",+        "name": "P1.1/TA0.0/A1",+        "type": "bidirectional",+        "description": "Port 1 I/O bit 1; selectable as Timer0_A capture/compare output (TA0.0) or ADC10 analog input A1 (MSP430G2x32 only)"+      },+      {+        "number": "4",+        "name": "P1.2/TA0.1/A2",+        "type": "bidirectional",+        "description": "Port 1 I/O bit 2; selectable as Timer0_A capture/compare output (TA0.1) or ADC10 analog input A2 (MSP430G2x32 only)"+      },+      {+        "number": "5",+        "name": "P1.3/ADC10CLK/A3/VREF-/VEREF-",+        "type": "bidirectional",+        "description": "Port 1 I/O bit 3; selectable as ADC10 conversion clock output, ADC10 analog input A3, or negative reference voltage (MSP430G2x32 only)"+      },+      {+        "number": "6",+        "name": "P1.4/TA0.2/SMCLK/A4/VREF+/VEREF+/TCK",+        "type": "bidirectional",+        "description": "Port 1 I/O bit 4; selectable as Timer0_A capture/compare output (TA0.2), SMCLK signal output, ADC10 analog input A4 (MSP430G2x32 only), positive reference voltage (MSP430G2x32 only), or JTAG test clock input"+      },+      {+        "number": "7",+        "name": "P1.5/TA0.0/A5/SCLK/TMS",+        "type": "bidirectional",+        "description": "Port 1 I/O bit 5; selectable as Timer0_A output (TA0.0), ADC10 analog input A5 (MSP430G2x32 only), USI serial clock, or JTAG test mode select"+      },+      {+        "number": "8",+        "name": "P2.0",+        "type": "bidirectional",+        "description": "Port 2 I/O bit 0 with edge-selectable interrupt capability and programmable pull-down resistor"+      },+      {+        "number": "9",+        "name": "P2.1",+        "type": "bidirectional",+        "description": "Port 2 I/O bit 1 with edge-selectable interrupt capability and programmable pull-down resistor"+      },+      {+        "number": "10",+        "name": "P2.2",+        "type": "bidirectional",+        "description": "Port 2 I/O bit 2 with edge-selectable interrupt capability and programmable pull-down resistor"+      },+      {+        "number": "11",+        "name": "P2.3",+        "type": "bidirectional",+        "description": "Port 2 I/O bit 3 with edge-selectable interrupt capability and programmable pull-down resistor"+      },+      {+        "number": "12",+        "name": "P2.4",+        "type": "bidirectional",+        "description": "Port 2 I/O bit 4 with edge-selectable interrupt capability and programmable pull-down resistor"+      },+      {+        "number": "13",+        "name": "P2.5",+        "type": "bidirectional",+        "description": "Port 2 I/O bit 5 with edge-selectable interrupt capability and programmable pull-down resistor"+      },+      {+        "number": "14",+        "name": "P1.6/TA0.1/A6/SDO/SCL/TDI/TCLK",+        "type": "bidirectional",+        "description": "Port 1 I/O bit 6; selectable as Timer0_A compare output (TA0.1), ADC10 analog input A6 (MSP430G2x32 only), USI serial data output (SDO), USI I2C clock (SCL), or JTAG test data input (TDI)"+      },+      {+        "number": "15",+        "name": "P1.7/SDI/SDA/A7/TDO/TDI",+        "type": "bidirectional",+        "description": "Port 1 I/O bit 7; selectable as USI serial data input (SDI), USI I2C data line (SDA), ADC10 analog input A7 (MSP430G2x32 only), or JTAG test data output/input (TDO/TDI)"+      },+      {+        "number": "16",+        "name": "RST/NMI/SBWTDIO",+        "type": "input",+        "description": "External reset input or nonmaskable interrupt input; also serves as Spy-Bi-Wire test data I/O during device programming; pulse width t(reset) must be ≥2 µs"+      },+      {+        "number": "17",+        "name": "TEST/SBWTCK",+        "type": "input",+        "description": "Test mode selection input for JTAG interface pins on Port 1; also serves as Spy-Bi-Wire test clock input; device protection fuse is connected to this pin"+      },+      {+        "number": "18",+        "name": "XOUT/P2.7",+        "type": "bidirectional",+        "description": "Crystal oscillator output terminal or Port 2 I/O bit 7; oscillator driver remains connected until P2SEL.7 is cleared; excess current flows if used as input"+      },+      {+        "number": "19",+        "name": "XIN/P2.6/TA0.1",+        "type": "bidirectional",+        "description": "Crystal oscillator input terminal or Port 2 I/O bit 6; selectable as Timer0_A compare output (TA0.1) when configured as P2.6"+      },+      {+        "number": "20",+        "name": "DVSS",+        "type": "power_in",+        "description": "Digital ground reference"+      }+    ],+    "provenance": {+      "extractor": "extract_pins 0.2",+      "factory_chain": {+        "factory": "2.0.0",+        "extractor": "extract_pins 0.2",+        "primary_model": "claude-haiku-4-5-20251001",+        "primary_mode": "text",+        "consensus_model": "claude-sonnet-5",+        "consensus": "agreed",+        "guards": "pin_guards 0.1: passed",+        "guard_notes": [+          "extractor flagged: ADC10 peripheral features including analog input pins (A0-A7), ADC10CLK, and reference voltage pins ; JTAG interface pins (P1.4/TCK, P1.5/TMS, P1.6/TDI/TCLK, P1.7/TDO/TDI) must not be driven externally ; RST/NMI pin (16) supports both external reset and nonmaskable interrupt functions; firmware must con"+        ],+        "pages_sent": 77,+        "cost_usd": 0.871,+        "at": "2026-09-23T18:16:54"+      },+      "datasheet": {+        "url": "https://www.ti.com/cn/lit/gpn/msp430g2232",+        "pages": 77,+        "sha256": "6df2cd5fcd8d8260",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 20,+        "described": 20,+        "cites_pages": true,+        "refuses_to_fabricate": true+      }+    },+    "viewers": {+      "symbol": "viewers/symbol.html",+      "footprint": "viewers/footprint.html"+    }+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file