main
Ray stm8s005k6t6ctr: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding) a12f94f
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm8s005k6t6ctr",
  "title": "STM8S005K6T6CTR",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). 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",
    "embedded processors & controllers",
    "stm8s005k6t6ctr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM8S005K6T6CTR",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-32(7x7)",
    "pin_count": 32,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589864427039461376",
    "parts": {
      "symbol": "stm8s005k6t6ctr.kicad_sym",
      "footprint": "stm8s005k6t6ctr.kicad_mod",
      "model_3d": "stm8s005k6t6ctr-etched.glb",
      "model_3d_plain": "stm8s005k6t6ctr.glb",
      "model_3d_step": "stm8s005k6t6ctr-etched.step",
      "model_3d_step_plain": "stm8s005k6t6ctr.step",
      "lbr": "stm8s005k6t6ctr.lbr"
    },
    "distributor_links": {
      "lcsc": "C967653"
    },
    "pins": [
      {
        "number": "1",
        "name": "NRST",
        "type": "input",
        "description": "Reset input pin with internal weak pull-up (30-80 kΩ), slow speed (O1 ≤2 MHz), filtered pulse width ≤75 ns."
      },
      {
        "number": "2",
        "name": "PA1/OSCIN",
        "type": "input",
        "description": "Port A bit 1 / high-speed external crystal oscillator input (1-16 MHz) with leakage current ±1 µA."
      },
      {
        "number": "3",
        "name": "PA2/OSCOUT",
        "type": "output",
        "description": "Port A bit 2 / high-speed external crystal oscillator output (1-16 MHz), slow speed (O1 ≤2 MHz)."
      },
      {
        "number": "4",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground reference pin, must be connected to external power supply."
      },
      {
        "number": "5",
        "name": "VCAP",
        "type": "passive",
        "description": "External capacitor connection (470 nF to 3.3 µF, ESR ≤0.3 Ω, ESL <15 nH) for 1.8 V internal voltage regulator stabilization."
      },
      {
        "number": "6",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply pin (2.95-5.5 V), must be connected to external power supply."
      },
      {
        "number": "7",
        "name": "VDDIO",
        "type": "power_in",
        "description": "I/O power supply pin (2.95-5.5 V) for input/output port voltage reference."
      },
      {
        "number": "8",
        "name": "PF4/AIN12",
        "type": "bidirectional",
        "description": "Port F bit 4 / analog input channel 12 (0-VDDA), 10-bit ADC conversion, not selectable in scan mode or watchdog."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply pin (2.75-VDDA V), must be connected to external power supply for ADC."
      },
      {
        "number": "10",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground reference pin for ADC, must be connected to external ground."
      },
      {
        "number": "11",
        "name": "PB5/AIN5",
        "type": "bidirectional",
        "description": "Port B bit 5 / analog input channel 5 (0-VDDA), I2C SDA alternate function (AFR6), slow speed (O1 ≤2 MHz)."
      },
      {
        "number": "12",
        "name": "PB4/AIN4",
        "type": "bidirectional",
        "description": "Port B bit 4 / analog input channel 4 (0-VDDA), I2C SCL alternate function (AFR6), slow speed (O1 ≤2 MHz)."
      },
      {
        "number": "13",
        "name": "PB3/AIN3",
        "type": "bidirectional",
        "description": "Port B bit 3 / analog input channel 3 (0-VDDA), TIM1 external trigger alternate function (AFR5), slow speed (O1 ≤2 MHz)."
      },
      {
        "number": "14",
        "name": "PB2/AIN2",
        "type": "bidirectional",
        "description": "Port B bit 2 / analog input channel 2 (0-VDDA), TIM1 CH3N complementary output alternate function (AFR5), slow speed (O1 ≤2 MHz)."
      },
      {
        "number": "15",
        "name": "PB1/AIN1",
        "type": "bidirectional",
        "description": "Port B bit 1 / analog input channel 1 (0-VDDA), TIM1 CH2N complementary output alternate function (AFR5), slow speed (O1 ≤2 MHz)."
      },
      {
        "number": "16",
        "name": "PB0/AIN0",
        "type": "bidirectional",
        "description": "Port B bit 0 / analog input channel 0 (0-VDDA), TIM1 CH1N complementary output alternate function (AFR5), slow speed (O1 ≤2 MHz)."
      },
      {
        "number": "17",
        "name": "PE5/SPI_NSS",
        "type": "bidirectional",
        "description": "Port E bit 5 / SPI master/slave select (NSS) chip select pin, slow speed (O1 ≤2 MHz)."
      },
      {
        "number": "18",
        "name": "PC1/TIM1_CH1/UART2_CK",
        "type": "bidirectional",
        "description": "Port C bit 1 / TIM1 channel 1 PWM/capture output / UART2 synchronous clock, high sink (16 mA), fast/slow programmable (O3)."
      },
      {
        "number": "19",
        "name": "PC2/TIM1_CH2",
        "type": "bidirectional",
        "description": "Port C bit 2 / TIM1 channel 2 PWM/capture output, high sink (16 mA), fast/slow programmable (O3)."
      },
      {
        "number": "20",
        "name": "PC3/TIM1_CH3",
        "type": "bidirectional",
        "description": "Port C bit 3 / TIM1 channel 3 PWM/capture output, high sink (16 mA), fast/slow programmable (O3)."
      },
      {
        "number": "21",
        "name": "PC4/TIM1_CH4",
        "type": "bidirectional",
        "description": "Port C bit 4 / TIM1 channel 4 PWM/capture output, high sink (16 mA), fast/slow programmable (O3)."
      },
      {
        "number": "22",
        "name": "PC5/SPI_SCK",
        "type": "bidirectional",
        "description": "Port C bit 5 / SPI clock (SCK) pin, high sink (16 mA), fast/slow programmable (O3)."
      },
      {
        "number": "23",
        "name": "PC6/SPI_MOSI",
        "type": "bidirectional",
        "description": "Port C bit 6 / SPI master out/slave in (MOSI) data pin, high sink (16 mA), fast/slow programmable (O3)."
      },
      {
        "number": "24",
        "name": "PC7/SPI_MISO",
        "type": "bidirectional",
        "description": "Port C bit 7 / SPI master in/slave out (MISO) data pin, high sink (16 mA), fast/slow programmable (O3)."
      },
      {
        "number": "25",
        "name": "PD0/TIM3_CH2",
        "type": "bidirectional",
        "description": "Port D bit 0 / TIM3 channel 2 PWM/capture, TIM1 break input (AFR3) or configurable clock output (AFR2) alternate functions, high sink, fast/slow programmable (O3)."
      },
      {
        "number": "26",
        "name": "PD1/SWIM",
        "type": "bidirectional",
        "description": "Port D bit 1 / SWIM single-wire debug/programming interface data pin with internal pull-up after reset, high sink, fast/slow programmable default fast (O4)."
      },
      {
        "number": "27",
        "name": "PD2/TIM3_CH1",
        "type": "bidirectional",
        "description": "Port D bit 2 / TIM3 channel 1 PWM/capture output, TIM2 channel 3 alternate function (AFR1), high sink, fast/slow programmable (O3)."
      },
      {
        "number": "28",
        "name": "PD3/TIM2_CH2",
        "type": "bidirectional",
        "description": "Port D bit 3 / TIM2 channel 2 PWM/capture output, ADC external trigger alternate function (AFR0), high sink, fast/slow programmable (O3)."
      },
      {
        "number": "29",
        "name": "PD4/TIM2_CH1",
        "type": "bidirectional",
        "description": "Port D bit 4 / TIM2 channel 1 PWM/capture output, beeper output alternate function (AFR7) 1-4 kHz, high sink, fast/slow programmable (O3)."
      },
      {
        "number": "30",
        "name": "PD5/UART2_TX",
        "type": "bidirectional",
        "description": "Port D bit 5 / UART2 data transmit (TX) pin, full duplex 1 Mbit/s SCI communication, slow speed (O1 ≤2 MHz)."
      },
      {
        "number": "31",
        "name": "PD6/UART2_RX",
        "type": "bidirectional",
        "description": "Port D bit 6 / UART2 data receive (RX) pin, full duplex 1 Mbit/s SCI communication, slow speed (O1 ≤2 MHz)."
      },
      {
        "number": "32",
        "name": "PD7/TLI",
        "type": "input",
        "description": "Port D bit 7 / top-level external interrupt input pin, TIM1 channel 4 alternate function (AFR4), slow speed (O1 ≤2 MHz)."
      }
    ],
    "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: GPIO pins (PA, PB, PC, PD, PE, PF) are classified as bidirectional since they are configurable as in; PD5/UART2_TX and PD6/UART2_RX could also be classified as output and input respectively when used in"
        ],
        "pages_sent": 100,
        "cost_usd": 0.9117,
        "at": "2026-09-24T08:32:35"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589864427039461376",
        "pages": 100,
        "sha256": "9db816856b93bc4a",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 32,
        "described": 32,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm8s005k6t6ctr.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "be0e412f1c66fee70039b0e109e0cc7c823161dda97593718afa97569bc61ce3",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8s005k6t6ctr-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "4c31df0958f6cf38bd94ddc04fead4968c328b48d000f48aa0954f3380531e81",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-32(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "32"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm8s005k6t6ctr"
  ],
  "discovery_pitch": "STM8S005K6T6CTR (STMicroelectronics) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8s005k6t6ctr.kicad_sym",
    "stm8s005k6t6ctr.kicad_mod",
    "stm8s005k6t6ctr.glb",
    "stm8s005k6t6ctr.step",
    "stm8s005k6t6ctr.lbr",
    "docs/hero.png",
    "docs/stm8s005k6t6ctr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  }
}