main
Ray Publish 0.1.0 ca0a60f
{
  "slug": "stm8l001j3m3",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), SOP-8-150mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm8l001j3m3",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8l001j3m3.kicad_sym",
    "stm8l001j3m3.kicad_mod",
    "stm8l001j3m3.glb",
    "stm8l001j3m3.step",
    "stm8l001j3m3.lbr",
    "docs/hero.png",
    "docs/stm8l001j3m3-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm8l001j3m3-hero.glb",
    "stm8l001j3m3-hero.overlay.json",
    "stm8l001j3m3-etched.glb"
  ],
  "component": {
    "mpn": "STM8L001J3M3",
    "manufacturer": "STMicroelectronics",
    "package": "SOP-8-150mil",
    "pin_count": 8,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588882490169151488",
    "parts": {
      "symbol": "stm8l001j3m3.kicad_sym",
      "footprint": "stm8l001j3m3.kicad_mod",
      "model_3d": "stm8l001j3m3-hero.glb",
      "model_3d_plain": "stm8l001j3m3-etched.glb",
      "model_3d_step": "stm8l001j3m3-etched.step",
      "model_3d_step_plain": "stm8l001j3m3.step",
      "lbr": "stm8l001j3m3.lbr"
    },
    "distributor_links": {
      "lcsc": "C173981",
      "mouser": "511-STM8L001J3M3"
    },
    "distributor_check": {
      "checked_at": "2026-11-10T08:25:18Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "deferred",
        "error": "shared DigiKey quota guard: 987 calls left today"
      },
      "mouser": {
        "pn": "511-STM8L001J3M3",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PA0/SWIM/BEEP/IR_TIM",
        "type": "bidirectional",
        "description": "PA0 is a high sink/source I/O with LED driver capability that serves as SWIM input/output, beep output and timer infrared output, and it is in input pull-up during reset; because pin 1 is shared, its pull-up state also affects PC3 and PC4 and the SWIM pin must be delayed (about 5 s in firmware) before switching to I/O mode."
      },
      {
        "number": "2",
        "name": "PA2 (shared with PA4/TIM2_BKIN and PA6/COMP_REF)",
        "type": "bidirectional",
        "description": "PA2 is a high sink/source I/O on the shared pin 2, where PA4 provides the Timer 2 break input and PA6 provides the comparator external reference, and push-pull configuration of PA2 also affects PA4 and PA6."
      },
      {
        "number": "3",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference pin for the device (all voltages are referred to VSS)."
      },
      {
        "number": "4",
        "name": "VDD",
        "type": "power_in",
        "description": "Power supply pin; the standard operating voltage is 1.8 V to 3.6 V (VDD = VSS-referenced, absolute maximum external supply -0.3 V to 4.0 V)."
      },
      {
        "number": "5",
        "name": "PD0/TIM3_CH2/COMP1_CH3 (shared with PB3/TIM2_ETR/COMP2_CH2 and PB5/SPI_SCK)",
        "type": "bidirectional",
        "description": "Pin 5 is a high sink/source I/O that provides Port D0 as Timer 3 channel 2 or comparator 1 channel 3, Port B3 as Timer 2 trigger or comparator 2 channel 2, and Port B5 as SPI clock."
      },
      {
        "number": "6",
        "name": "PB6/SPI_MOSI",
        "type": "bidirectional",
        "description": "Port B6 is a high sink/source I/O that serves as the SPI master output / slave input."
      },
      {
        "number": "7",
        "name": "PB7/SPI_MISO (shared with PC0/I2C_SDA)",
        "type": "bidirectional",
        "description": "Port B7 is a high sink/source I/O used as SPI master input / slave output, and because pin 7 is shared with PC0/I2C_SDA (true open drain), its VIN maximum is limited by the standard GPIO PB7."
      },
      {
        "number": "8",
        "name": "PC1/I2C_SCL (shared with PC2/USART_RX)",
        "type": "bidirectional",
        "description": "Port C1 is a true open-drain I/O used as I2C clock, and because pin 8 is shared with PC2/USART_RX its VIN maximum is limited by the standard GPIO PC2 (USART receive)."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The requested package hint 'SOP-8-150mil' corresponds to the datasheet's SO8N package (8-lead, 4.9 x; Several physical pins are shared by multiple GPIOs (pins 1, 2, 5, 7, 8). Each pin is listed once wit; The datasheet has no separate NRST pin on this device (pin 1 serves as SWIM/PA0 instead), and the pi"
        ],
        "pages_sent": 58,
        "cost_usd": 0.1922,
        "at": "2026-11-10T08:25:06"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588882490169151488",
        "pages": 58,
        "sha256": "477d3d595f6db0ec",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 8,
        "described": 8,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm8l001j3m3.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          4.9,
          1.75
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "07f46cff378d30e6c27dfd5a03092c795323f86d91c71fc7e743f4f418dc553a",
        "checked": "2026-11-10",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8l001j3m3-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          4.9,
          1.75
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "159f436ea5bd3d9c86dcb9d7690d680886df57b9b0c3adb3731401238101a628",
        "checked": "2026-11-10",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "SO8N",
      "source_page": 54,
      "D": {
        "nom_mm": 4.9,
        "range_mm": [
          4.8,
          5.0
        ]
      },
      "E1": {
        "nom_mm": 3.9,
        "range_mm": [
          3.8,
          4.0
        ]
      },
      "E": {
        "nom_mm": 6.0,
        "range_mm": [
          5.8,
          6.2
        ]
      },
      "e": {
        "nom_mm": 1.27,
        "range_mm": [
          null,
          null
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "stm8l001j3m3.step",
        "verdict": "PASS",
        "reasons": [
          "body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}