main
Ray stm8s103f3p6tr: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding) ca906fa
{
  "slug": "stm8s103f3p6tr",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm8s103f3p6tr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8s103f3p6tr.kicad_sym",
    "stm8s103f3p6tr.kicad_mod",
    "stm8s103f3p6tr.glb",
    "stm8s103f3p6tr.step",
    "stm8s103f3p6tr.lbr",
    "docs/hero.png",
    "docs/stm8s103f3p6tr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "component": {
    "mpn": "STM8S103F3P6TR",
    "manufacturer": "STMicroelectronics",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586178533168832512",
    "parts": {
      "symbol": "stm8s103f3p6tr.kicad_sym",
      "footprint": "stm8s103f3p6tr.kicad_mod",
      "model_3d": "stm8s103f3p6tr-etched.glb",
      "model_3d_plain": "stm8s103f3p6tr.glb",
      "model_3d_step": "stm8s103f3p6tr-etched.step",
      "model_3d_step_plain": "stm8s103f3p6tr.step",
      "lbr": "stm8s103f3p6tr.lbr"
    },
    "distributor_links": {
      "lcsc": "C92081",
      "digikey": "497-19684-2-ND",
      "mouser": "511-STM8S103F3P6TR"
    },
    "distributor_check": {
      "checked_at": "2026-09-26T19:22:33Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-19684-2-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "511-STM8S103F3P6TR",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PD4/BEEP/TIM2_CH1/UART1_CK",
        "type": "bidirectional",
        "description": "GPIO Port D4, configurable as BEEP output, TIM2 channel 1, or UART1 clock; high-sink capable."
      },
      {
        "number": "2",
        "name": "PD5/AIN5/UART1_TX",
        "type": "bidirectional",
        "description": "GPIO Port D5, configurable as UART1 transmit or analog input 5; high-sink capable."
      },
      {
        "number": "3",
        "name": "PD6/AIN6/UART1_RX",
        "type": "bidirectional",
        "description": "GPIO Port D6, configurable as UART1 receive or analog input 6; high-sink capable."
      },
      {
        "number": "4",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Active-low reset input with internal 30-80 kΩ pull-up resistor and open-drain output for device reset control."
      },
      {
        "number": "5",
        "name": "PA1/OSCIN",
        "type": "bidirectional",
        "description": "Oscillator crystal/resonator input supporting 1-16 MHz external clock source."
      },
      {
        "number": "6",
        "name": "PA2/OSCOUT",
        "type": "bidirectional",
        "description": "Oscillator crystal/resonator output supporting 1-16 MHz external clock source."
      },
      {
        "number": "7",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground; 0V reference for all circuits."
      },
      {
        "number": "8",
        "name": "VCAP",
        "type": "power_in",
        "description": "Internal regulator capacitor connection; attach 470-3300 nF capacitor with ESR <0.3 Ω to VSS for 1.8 V core supply."
      },
      {
        "number": "9",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply; provide +2.95 V to +5.5 V on all VDD pins."
      },
      {
        "number": "10",
        "name": "PA3/TIM2_CH3",
        "type": "bidirectional",
        "description": "GPIO Port A3, configurable as TIM2 channel 3 or SPI slave select (NSS) when AFR1 remapping enabled; high-sink capable."
      },
      {
        "number": "11",
        "name": "PB5/I2C_SDA",
        "type": "bidirectional",
        "description": "GPIO Port B5, true open-drain I2C data line (SDA) or TIM1 break input when remapped; I2C up to 400 kbit/s."
      },
      {
        "number": "12",
        "name": "PB4/I2C_SCL",
        "type": "bidirectional",
        "description": "GPIO Port B4, true open-drain I2C clock line (SCL) or ADC external trigger when remapped; I2C up to 400 kbit/s."
      },
      {
        "number": "13",
        "name": "PC3/TIM1_CH3",
        "type": "bidirectional",
        "description": "GPIO Port C3, configurable as TIM1 channel 3, top-level interrupt (TLI), or TIM1 inverted channel 1; high-sink capable."
      },
      {
        "number": "14",
        "name": "PC4/CLK_CCO/TIM1_CH4/AIN2",
        "type": "bidirectional",
        "description": "GPIO Port C4, configurable as clock output, TIM1 channel 4, analog input 2, or TIM1 inverted channel 2; high-sink capable."
      },
      {
        "number": "15",
        "name": "PC5/SPI_SCK",
        "type": "bidirectional",
        "description": "GPIO Port C5, configurable as SPI clock or TIM2 channel 1 when remapped; high-sink capable; SPI to 8 MHz."
      },
      {
        "number": "16",
        "name": "PC6/SPI_MOSI",
        "type": "bidirectional",
        "description": "GPIO Port C6, configurable as SPI master out/slave in or TIM1 channel 1 when remapped; high-sink capable; SPI to 8 MHz."
      },
      {
        "number": "17",
        "name": "PC7/SPI_MISO",
        "type": "bidirectional",
        "description": "GPIO Port C7, configurable as SPI master in/slave out or TIM1 channel 2 when remapped; high-sink capable; SPI to 8 MHz."
      },
      {
        "number": "18",
        "name": "PD1/SWIM",
        "type": "bidirectional",
        "description": "GPIO Port D1, SWIM single-wire interface module data pin for in-circuit debug and Flash programming; pull-up active during reset."
      },
      {
        "number": "19",
        "name": "PD2/AIN3",
        "type": "bidirectional",
        "description": "GPIO Port D2, configurable as analog input 3 or TIM2 channel 3 when remapped; high-sink capable."
      },
      {
        "number": "20",
        "name": "PD3/AIN4/TIM2_CH2/ADC_ETR",
        "type": "bidirectional",
        "description": "GPIO Port D3, configurable as analog input 4, TIM2 channel 2, or ADC external trigger; high-sink capable."
      }
    ],
    "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-4-6",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [],
        "pages_sent": 120,
        "cost_usd": 0.73,
        "at": "2026-09-26T19:22:11"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586178533168832512",
        "pages": 120,
        "sha256": "d303ed1ea52e91ea",
        "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": "stm8s103f3p6tr.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.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8s103f3p6tr-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.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "f894fabc8323f3c474ea4248115b33e7f2eb2b9930e63de3901d336358187d2c",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}