← Commit history

Initial commit: component/stpm34tr

Ray ·bd6c11e984 ·19h ago
2 files changed +380
README.mdadded+69
@@ -0,0 +1,69 @@+# STPM34TR++**STMicroelectronics** · Energy Metering · QFN-32-EP(5x5)++STPM34TR from STMicroelectronics, in a QFN-32-EP(5x5). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | CLKOUT/ZCR | output | Multifunctional output for zero-crossing detector or system clock signal, output voltage 0 to VCC. |+| 2 | CLKIN/XTAL2 | input | External clock input or crystal oscillator input 2, input voltage 0 to VCC. |+| 3 | XTAL1 | input | Crystal oscillator input 1, input voltage 0 to VCC. |+| 4 | LED1 | output | Programmable pulse output 1 for energy metrics or primary current sigma-delta bitstream, output voltage 0 to VCC. |+| 5 | LED2 | output | Programmable pulse output 2 for energy metrics or secondary current sigma-delta bitstream, output voltage 0 to VCC. |+| 6 | INT1 | output | Programmable interrupt output 1 or primary voltage sigma-delta bitstream, output voltage 0 to VCC. |+| 7 | INT2 | output | Programmable interrupt output 2 or secondary voltage sigma-delta bitstream, output voltage 0 to VCC. |+| 8 | EN | input | Device enable input pin, input voltage 0 to VCC. |+| 9 | VIP1 | input | Positive voltage input for primary voltage measurement channel, input range -0.3 V to +0.3 V. |+| 10 | VIN1 | input | Negative voltage input for primary voltage measurement channel, input range -0.3 V to +0.3 V. |+| 11 | IIP1 | input | Positive current input for primary current measurement channel, input range -0.3 V to +0.3 V. |+| 12 | IIN1 | input | Negative current input for primary current measurement channel, input range -0.3 V to +0.3 V. |+| 13 | IIN2 | input | Negative current input for secondary current measurement channel, input range -0.3 V to +0.3 V. |+| 14 | IIP2 | input | Positive current input for secondary current measurement channel, input range -0.3 V to +0.3 V. |+| 15 | VIN2 | input | Negative voltage input for secondary voltage measurement channel, input range -0.3 V to +0.3 V. |+| 16 | VIP2 | input | Positive voltage input for secondary voltage measurement channel, input range -0.3 V to +0.3 V. |+| 17 | VREF1 | power_out | Output of voltage reference 1 for primary channel, output voltage 1.16 V to 1.18 V. |+| 18 | GND_REF | power_in | Analog ground of voltage reference 1. |+| 19 | VREF2 | power_out | Output of voltage reference 2 for secondary channel, output voltage 1.16 V to 1.18 V. |+| 20 | GNDA | power_in | Analog ground (shield). |+| 21 | VDDA | power_out | Output of analog voltage regulator, typical output 3.0 V. |+| 22 | GND_REG | power_in | Ground for voltage regulator. |+| 23 | VCC | power_in | Voltage supply input, range 3.0 V to 3.6 V. |+| 24 | NC | unconnected | Not connected. |+| 25 | GNDD | power_in | Digital ground. |+| 26 | GNDD | power_in | Digital ground. |+| 27 | VDDD | power_out | Output of digital voltage regulator, typical output 1.2 V. |+| 28 | SYN | input | Synchronization pin for multi-device coordination or GPIO, input voltage 0 to VCC. |+| 29 | SCS | input | SPI chip-select or UART/SPI interface selection pin, input voltage 0 to VCC. |+| 30 | SCL | input | SPI clock input, input voltage 0 to VCC. |+| 31 | MOSI/RXD | input | SPI master-out-slave-in or UART receive input, input voltage 0 to VCC. |+| 32 | MISO/TXD | output | SPI master-in-slave-out or UART transmit output, output voltage 0 to VCC. |+| 33 | EP | passive | Exposed pad (from the footprint; not named in the datasheet pin table). |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | QFN-32-EP(5x5) |+| Category | Data Acquisition |+| Pins | 33 |++## CAD (KiCad official)++- Symbol: `STPM34TR`+- Footprint: `Package_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.3x3.3mm`+- 3D model: QFN-32-EP(5x5) (KiCad packages3D, STEP)+- 3D model files: `stpm34tr-etched.step` / `stpm34tr-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stpm34tr.step` / `stpm34tr.glb` are the bare package body.++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [STMicroelectronics datasheet](https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586184102668349440) (122 pp, sha256 `fc11ae6e2a323f49`, retrieved 2026-10-05, tier: lcsc)+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.3`, primary `claude-haiku-4-5-20251001` (text), consensus `claude-sonnet-5-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/stpm34tr-datasheet.pdf)
page.jsonadded+311
@@ -0,0 +1,311 @@+{+  "slug": "stpm34tr",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Energy Metering, QFN-32-EP(5x5). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "data acquisition",+    "stpm34tr",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stpm34tr.kicad_sym",+    "stpm34tr.kicad_mod",+    "stpm34tr.glb",+    "stpm34tr.step",+    "stpm34tr.lbr",+    "docs/hero.png",+    "docs/stpm34tr-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html",+    "stpm34tr-hero.glb",+    "stpm34tr-hero.overlay.json"+  ],+  "component": {+    "mpn": "STPM34TR",+    "manufacturer": "STMicroelectronics",+    "package": "QFN-32-EP(5x5)",+    "pin_count": 33,+    "category": "Data Acquisition",+    "subcategory": "Energy Metering",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586184102668349440",+    "parts": {+      "symbol": "stpm34tr.kicad_sym",+      "footprint": "stpm34tr.kicad_mod",+      "model_3d": "stpm34tr-hero.glb",+      "model_3d_plain": "stpm34tr.glb",+      "model_3d_step": "stpm34tr-etched.step",+      "model_3d_step_plain": "stpm34tr.step",+      "lbr": "stpm34tr.lbr"+    },+    "distributor_links": {+      "lcsc": 129475,+      "digikey": "497-14670-2-ND",+      "mouser": "511-STPM34TR"+    },+    "distributor_check": {+      "checked_at": "2026-10-05T19:32:43Z",+      "source": "Component Ocean /api/assign-pns",+      "digikey": {+        "pn": "497-14670-2-ND",+        "status": "found",+        "lifecycle": "Active"+      },+      "mouser": {+        "pn": "511-STPM34TR",+        "status": "found"+      }+    },+    "pins": [+      {+        "number": "1",+        "name": "CLKOUT/ZCR",+        "type": "output",+        "description": "Multifunctional output for zero-crossing detector or system clock signal, output voltage 0 to VCC."+      },+      {+        "number": "2",+        "name": "CLKIN/XTAL2",+        "type": "input",+        "description": "External clock input or crystal oscillator input 2, input voltage 0 to VCC."+      },+      {+        "number": "3",+        "name": "XTAL1",+        "type": "input",+        "description": "Crystal oscillator input 1, input voltage 0 to VCC."+      },+      {+        "number": "4",+        "name": "LED1",+        "type": "output",+        "description": "Programmable pulse output 1 for energy metrics or primary current sigma-delta bitstream, output voltage 0 to VCC."+      },+      {+        "number": "5",+        "name": "LED2",+        "type": "output",+        "description": "Programmable pulse output 2 for energy metrics or secondary current sigma-delta bitstream, output voltage 0 to VCC."+      },+      {+        "number": "6",+        "name": "INT1",+        "type": "output",+        "description": "Programmable interrupt output 1 or primary voltage sigma-delta bitstream, output voltage 0 to VCC."+      },+      {+        "number": "7",+        "name": "INT2",+        "type": "output",+        "description": "Programmable interrupt output 2 or secondary voltage sigma-delta bitstream, output voltage 0 to VCC."+      },+      {+        "number": "8",+        "name": "EN",+        "type": "input",+        "description": "Device enable input pin, input voltage 0 to VCC."+      },+      {+        "number": "9",+        "name": "VIP1",+        "type": "input",+        "description": "Positive voltage input for primary voltage measurement channel, input range -0.3 V to +0.3 V."+      },+      {+        "number": "10",+        "name": "VIN1",+        "type": "input",+        "description": "Negative voltage input for primary voltage measurement channel, input range -0.3 V to +0.3 V."+      },+      {+        "number": "11",+        "name": "IIP1",+        "type": "input",+        "description": "Positive current input for primary current measurement channel, input range -0.3 V to +0.3 V."+      },+      {+        "number": "12",+        "name": "IIN1",+        "type": "input",+        "description": "Negative current input for primary current measurement channel, input range -0.3 V to +0.3 V."+      },+      {+        "number": "13",+        "name": "IIN2",+        "type": "input",+        "description": "Negative current input for secondary current measurement channel, input range -0.3 V to +0.3 V."+      },+      {+        "number": "14",+        "name": "IIP2",+        "type": "input",+        "description": "Positive current input for secondary current measurement channel, input range -0.3 V to +0.3 V."+      },+      {+        "number": "15",+        "name": "VIN2",+        "type": "input",+        "description": "Negative voltage input for secondary voltage measurement channel, input range -0.3 V to +0.3 V."+      },+      {+        "number": "16",+        "name": "VIP2",+        "type": "input",+        "description": "Positive voltage input for secondary voltage measurement channel, input range -0.3 V to +0.3 V."+      },+      {+        "number": "17",+        "name": "VREF1",+        "type": "power_out",+        "description": "Output of voltage reference 1 for primary channel, output voltage 1.16 V to 1.18 V."+      },+      {+        "number": "18",+        "name": "GND_REF",+        "type": "power_in",+        "description": "Analog ground of voltage reference 1."+      },+      {+        "number": "19",+        "name": "VREF2",+        "type": "power_out",+        "description": "Output of voltage reference 2 for secondary channel, output voltage 1.16 V to 1.18 V."+      },+      {+        "number": "20",+        "name": "GNDA",+        "type": "power_in",+        "description": "Analog ground (shield)."+      },+      {+        "number": "21",+        "name": "VDDA",+        "type": "power_out",+        "description": "Output of analog voltage regulator, typical output 3.0 V."+      },+      {+        "number": "22",+        "name": "GND_REG",+        "type": "power_in",+        "description": "Ground for voltage regulator."+      },+      {+        "number": "23",+        "name": "VCC",+        "type": "power_in",+        "description": "Voltage supply input, range 3.0 V to 3.6 V."+      },+      {+        "number": "24",+        "name": "NC",+        "type": "unconnected",+        "description": "Not connected."+      },+      {+        "number": "25",+        "name": "GNDD",+        "type": "power_in",+        "description": "Digital ground."+      },+      {+        "number": "26",+        "name": "GNDD",+        "type": "power_in",+        "description": "Digital ground."+      },+      {+        "number": "27",+        "name": "VDDD",+        "type": "power_out",+        "description": "Output of digital voltage regulator, typical output 1.2 V."+      },+      {+        "number": "28",+        "name": "SYN",+        "type": "input",+        "description": "Synchronization pin for multi-device coordination or GPIO, input voltage 0 to VCC."+      },+      {+        "number": "29",+        "name": "SCS",+        "type": "input",+        "description": "SPI chip-select or UART/SPI interface selection pin, input voltage 0 to VCC."+      },+      {+        "number": "30",+        "name": "SCL",+        "type": "input",+        "description": "SPI clock input, input voltage 0 to VCC."+      },+      {+        "number": "31",+        "name": "MOSI/RXD",+        "type": "input",+        "description": "SPI master-out-slave-in or UART receive input, input voltage 0 to VCC."+      },+      {+        "number": "32",+        "name": "MISO/TXD",+        "type": "output",+        "description": "SPI master-in-slave-out or UART transmit output, output voltage 0 to VCC."+      },+      {+        "number": "33",+        "name": "EP",+        "type": "passive",+        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."+      }+    ],+    "provenance": {+      "extractor": "extract_pins 0.3",+      "factory_chain": {+        "factory": "2.0.0",+        "extractor": "extract_pins 0.3",+        "primary_model": "claude-haiku-4-5-20251001",+        "primary_mode": "text",+        "consensus_model": "claude-sonnet-5-5",+        "consensus": "agreed",+        "guards": "pin_guards 0.1: passed",+        "guard_notes": [+          "extractor flagged: Pins 25 and 26 are both labeled GNDD in Table 2, indicating dual digital ground pins for the 32-pin ",+          "exposed pad 33 added from the footprint"+        ],+        "pages_sent": 29,+        "cost_usd": 0.2486,+        "at": "2026-10-05T19:32:27"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586184102668349440",+        "pages": 122,+        "sha256": "fc11ae6e2a323f49",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 33,+        "described": 33,+        "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