main
Ray stm8af6223pdau: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding) 4fb9f69
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm8af6223pdau",
  "title": "STM8AF6223PDAU",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. 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",
    "stm8af6223pdau",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM8AF6223PDAU",
    "manufacturer": "STMicroelectronics",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588940292930621440",
    "parts": {
      "symbol": "stm8af6223pdau.kicad_sym",
      "footprint": "stm8af6223pdau.kicad_mod",
      "model_3d": "stm8af6223pdau-etched.glb",
      "model_3d_plain": "stm8af6223pdau.glb",
      "model_3d_step": "stm8af6223pdau-etched.step",
      "model_3d_step_plain": "stm8af6223pdau.step",
      "lbr": "stm8af6223pdau.lbr"
    },
    "distributor_links": {
      "lcsc": "C1235429"
    },
    "pins": [
      {
        "number": "1",
        "name": "PD4",
        "type": "bidirectional",
        "description": "High-sink I/O port configured as Timer 5 channel 1, BEEP output (1-4 kHz), SPI master/slave select, or LINUART clock with [AFR2] remapping option."
      },
      {
        "number": "2",
        "name": "PD5",
        "type": "bidirectional",
        "description": "High-sink I/O port functioning as analog input channel 5 (AIN5) or LINUART data transmit line, 10-bit ADC conversion with ±1 LSB accuracy."
      },
      {
        "number": "3",
        "name": "PD6",
        "type": "bidirectional",
        "description": "High-sink I/O port functioning as analog input channel 6 (AIN6) or LINUART data receive line, 10-bit ADC conversion with ±1 LSB accuracy."
      },
      {
        "number": "4",
        "name": "NRST",
        "type": "input",
        "description": "Active-low asynchronous reset input with internal pull-up resistor (30-80 kΩ), triggers device reset when voltage falls below 0.3×VDD threshold."
      },
      {
        "number": "5",
        "name": "PA1",
        "type": "bidirectional",
        "description": "I/O port or high-speed external oscillator input (OSCIN) for 1-16 MHz crystal/resonator, weak pull-up in Halt/Active-halt mode."
      },
      {
        "number": "6",
        "name": "PA2",
        "type": "bidirectional",
        "description": "I/O port or high-speed external oscillator output (OSCOUT) for HSE crystal/resonator feedback connection."
      },
      {
        "number": "7",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground connection, must be connected to system ground reference."
      },
      {
        "number": "8",
        "name": "VCAP",
        "type": "passive",
        "description": "1.8 V internal regulator capacitor connection requiring external 470-3300 nF capacitor with ESR ≤0.3 Ω and ESL ≤15 nH."
      },
      {
        "number": "9",
        "name": "VDD",
        "type": "power_out",
        "description": "Digital power supply pin, operating voltage 3.0-5.5 V, maximum total source current 100 mA into VDD."
      },
      {
        "number": "10",
        "name": "PB5",
        "type": "bidirectional",
        "description": "True open-drain I/O port with I2C data line (SDA) or Timer 1 break input [AFR4] remapping, pull-up resistor 30-80 kΩ, no internal protection diodes."
      },
      {
        "number": "11",
        "name": "PB4",
        "type": "bidirectional",
        "description": "True open-drain I/O port with I2C clock line (SCL) or ADC external trigger [AFR4] remapping, pull-up resistor 30-80 kΩ, no internal protection diodes."
      },
      {
        "number": "12",
        "name": "PB1",
        "type": "bidirectional",
        "description": "High-sink I/O port configured as Timer 1 inverted channel 2 output or analog input channel 1 (AIN1), 10-bit ADC conversion with ±1 LSB accuracy."
      },
      {
        "number": "13",
        "name": "PB0",
        "type": "bidirectional",
        "description": "High-sink I/O port configured as Timer 1 inverted channel 1 output or analog input channel 0 (AIN0), 10-bit ADC conversion with ±1 LSB accuracy."
      },
      {
        "number": "14",
        "name": "PC4",
        "type": "bidirectional",
        "description": "High-sink I/O port with Timer 1 channel 4, configurable clock output (CLK_CCO), analog input 2 [AFR2], or Timer 1 inverted channel 2 [AFR7] remapping option."
      },
      {
        "number": "15",
        "name": "PC5",
        "type": "bidirectional",
        "description": "High-sink I/O port with SPI clock line (SCK) or Timer 5 channel 1 [AFR0] remapping, maximum SPI speed 8 Mbit/s master or 6 Mbit/s slave mode."
      },
      {
        "number": "16",
        "name": "PC6",
        "type": "bidirectional",
        "description": "High-sink I/O port with SPI master out/slave in (MOSI) or Timer 1 channel 1 [AFR0] remapping, maximum SPI speed 8 Mbit/s master or 6 Mbit/s slave mode."
      },
      {
        "number": "17",
        "name": "PC7",
        "type": "bidirectional",
        "description": "High-sink I/O port with SPI master in/slave out (MISO) or Timer 1 channel 2 [AFR0] remapping, maximum SPI speed 8 Mbit/s master or 6 Mbit/s slave mode."
      },
      {
        "number": "18",
        "name": "PD1",
        "type": "bidirectional",
        "description": "High-sink I/O port with SWIM single-wire debug interface for programming and in-circuit debugging, weak pull-up during reset phase and after release."
      },
      {
        "number": "19",
        "name": "PD2",
        "type": "bidirectional",
        "description": "High-sink I/O port functioning as analog input channel 3 (AIN3) [AFR2] or Timer 5 channel 3 [AFR1] remapping, 10-bit ADC conversion with ±1 LSB accuracy."
      },
      {
        "number": "20",
        "name": "PD3",
        "type": "bidirectional",
        "description": "High-sink I/O port with analog input channel 4 (AIN4), Timer 5 channel 2 (TIM5_CH2), and ADC external trigger (ADC_ETR) capability, 10-bit ADC with ±1 LSB accuracy."
      }
    ],
    "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: MPN STM8AF6223PDAU contains 'A' in ADC variant position (7 channels), requiring use of Table 7 (STM8"
        ],
        "pages_sent": 112,
        "cost_usd": 0.9799,
        "at": "2026-09-24T04:57:08"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588940292930621440",
        "pages": 112,
        "sha256": "d9cd5dcf0815e39e",
        "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"
    },
    "models_3d": [
      {
        "file": "stm8af6223pdau.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          6.5,
          1.2
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8af6223pdau-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          6.5,
          1.2
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "6099478343484ccb82b3d26328bce36fd0f43616e47065fc9bfc1ffe4cdfcd4e",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "TSSOP-20",
      "Category": "Embedded Processors & Controllers",
      "Pins": "20"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm8af6223pdau"
  ],
  "discovery_pitch": "STM8AF6223PDAU (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",
    "stm8af6223pdau.kicad_sym",
    "stm8af6223pdau.kicad_mod",
    "stm8af6223pdau.glb",
    "stm8af6223pdau.step",
    "stm8af6223pdau.lbr",
    "docs/hero.png",
    "docs/stm8af6223pdau-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  }
}