main
Ray Set visibility: public badedd8 5h ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stpm32tr",
  "title": "STPM32TR",
  "brief": "STMicroelectronics Energy Metering, QFN-24-EP(4x4). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "data acquisition",
    "stpm32tr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STPM32TR",
    "manufacturer": "STMicroelectronics",
    "package": "QFN-24-EP(4x4)",
    "pin_count": 25,
    "category": "Data Acquisition",
    "subcategory": "Energy Metering",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586183916181475328",
    "parts": {
      "symbol": "stpm32tr.kicad_sym",
      "footprint": "stpm32tr.kicad_mod",
      "model_3d": "stpm32tr-hero.glb",
      "model_3d_plain": "stpm32tr.glb",
      "model_3d_step": "stpm32tr-etched.step",
      "model_3d_step_plain": "stpm32tr.step",
      "lbr": "stpm32tr.lbr"
    },
    "distributor_links": {
      "lcsc": "C128380",
      "digikey": "497-15634-2-ND",
      "mouser": "512-STPM32TR"
    },
    "distributor_check": {
      "checked_at": "2026-10-07T07:38:19Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-15634-2-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "512-STPM32TR",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "CLKOUT/ZCR",
        "type": "output",
        "description": "Zero-crossing output or system clock output (configurable), voltage 0 to VCC."
      },
      {
        "number": "2",
        "name": "CLKIN/XTAL2",
        "type": "input",
        "description": "External clock input or crystal oscillator 2 input, voltage 0 to VCC."
      },
      {
        "number": "3",
        "name": "XTAL1",
        "type": "input",
        "description": "Crystal oscillator 1 input, voltage 0 to VCC."
      },
      {
        "number": "4",
        "name": "LED1",
        "type": "output",
        "description": "Programmable pulse output 1 for energy pulses or sigma-delta bitstream, voltage 0 to VCC."
      },
      {
        "number": "5",
        "name": "LED2",
        "type": "output",
        "description": "Programmable pulse output 2 for energy pulses or sigma-delta bitstream, voltage 0 to VCC."
      },
      {
        "number": "6",
        "name": "INT1",
        "type": "output",
        "description": "Programmable interrupt 1 output or sigma-delta bitstream output, voltage 0 to VCC."
      },
      {
        "number": "7",
        "name": "EN",
        "type": "input",
        "description": "Enable pin for device operation control, voltage 0 to VCC."
      },
      {
        "number": "8",
        "name": "VIP1",
        "type": "input",
        "description": "Positive voltage input for primary channel measurement, voltage -0.3 V to 0.3 V."
      },
      {
        "number": "9",
        "name": "VIN1",
        "type": "input",
        "description": "Negative voltage input for primary channel measurement, voltage -0.3 V to 0.3 V."
      },
      {
        "number": "10",
        "name": "IIP1",
        "type": "input",
        "description": "Positive current input for primary channel measurement, voltage -0.3 V to 0.3 V."
      },
      {
        "number": "11",
        "name": "IIN1",
        "type": "input",
        "description": "Negative current input for primary channel measurement, voltage -0.3 V to 0.3 V."
      },
      {
        "number": "12",
        "name": "VREF1",
        "type": "power_out",
        "description": "Voltage reference 1 output from internal bandgap reference, voltage 1.16 V to 1.18 V."
      },
      {
        "number": "13",
        "name": "GND_REF",
        "type": "power_in",
        "description": "Analog ground reference for voltage reference 1."
      },
      {
        "number": "14",
        "name": "GNDA",
        "type": "power_in",
        "description": "Analog ground (shield) for analog measurement circuits."
      },
      {
        "number": "15",
        "name": "VDDA",
        "type": "power_out",
        "description": "Analog power supply regulator output, 3.0 V typical."
      },
      {
        "number": "16",
        "name": "GND_REG",
        "type": "power_in",
        "description": "Ground reference for internal regulators and digital circuits."
      },
      {
        "number": "17",
        "name": "VCC",
        "type": "power_in",
        "description": "Main supply voltage input, voltage range 3.0 V to 3.6 V."
      },
      {
        "number": "18",
        "name": "GNDD",
        "type": "power_in",
        "description": "Digital ground."
      },
      {
        "number": "19",
        "name": "VDDD",
        "type": "power_out",
        "description": "Digital power supply regulator output, 1.2 V typical."
      },
      {
        "number": "20",
        "name": "SYN",
        "type": "input",
        "description": "Synchronization pin for pulse generation or measurement register latching, voltage 0 to VCC."
      },
      {
        "number": "21",
        "name": "SCS",
        "type": "input",
        "description": "Chip-select pin for SPI interface or interface mode selection at power-up, voltage 0 to VCC."
      },
      {
        "number": "22",
        "name": "SCL",
        "type": "input",
        "description": "SPI serial clock input, voltage 0 to VCC."
      },
      {
        "number": "23",
        "name": "MOSI/RXD",
        "type": "input",
        "description": "SPI master-out-slave-in data input or UART receive data input, voltage 0 to VCC."
      },
      {
        "number": "24",
        "name": "MISO/TXD",
        "type": "output",
        "description": "SPI master-in-slave-out data output or UART transmit data output, voltage 0 to VCC."
      },
      {
        "number": "25",
        "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": [
          "exposed pad 25 added from the footprint"
        ],
        "pages_sent": 29,
        "cost_usd": 0.2177,
        "at": "2026-10-07T07:38:06"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586183916181475328",
        "pages": 122,
        "sha256": "fc11ae6e2a323f49",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 25,
        "described": 25,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stpm32tr.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          4,
          4,
          0.77
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "096fc110543e6d324c5120c2d38e3dca87a389da9b6fac234f1fe40856295ef4",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stpm32tr-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          4,
          4,
          0.77
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "d30bd2cc3f2d2a0b80eadcd28cfe19612ffd85e489f957d4922922320dd6d7ee",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "QFN-24-EP(4x4)",
      "Category": "Data Acquisition",
      "Pins": "25"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stpm32tr"
  ],
  "discovery_pitch": "STPM32TR (STMicroelectronics) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stpm32tr.kicad_sym",
    "stpm32tr.kicad_mod",
    "stpm32tr.glb",
    "stpm32tr.step",
    "stpm32tr.lbr",
    "docs/hero.png",
    "docs/stpm32tr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stpm32tr-hero.glb",
    "stpm32tr-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}