main
Ray Publish 0.1.1 a6f19ee
{
  "slug": "stm8s105k6t6c",
  "version": "0.1.1",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Datasheet-verified pinout, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm8s105k6t6c",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8s105k6t6c.kicad_sym",
    "stm8s105k6t6c.kicad_mod",
    "stm8s105k6t6c.glb",
    "stm8s105k6t6c.step",
    "stm8s105k6t6c.lbr",
    "docs/hero.png",
    "docs/stm8s105k6t6c-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm8s105k6t6c-etched.step",
    "stm8s105k6t6c-hero.glb",
    "stm8s105k6t6c-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM8S105K6T6C",
    "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/8579708154585595904",
    "parts": {
      "symbol": "stm8s105k6t6c.kicad_sym",
      "footprint": "stm8s105k6t6c.kicad_mod",
      "model_3d": "stm8s105k6t6c-hero.glb",
      "model_3d_plain": "stm8s105k6t6c.glb",
      "model_3d_step": "stm8s105k6t6c-etched.step",
      "model_3d_step_plain": "stm8s105k6t6c.step",
      "lbr": "stm8s105k6t6c.lbr"
    },
    "distributor_links": {
      "lcsc": "C8254"
    },
    "pins": [
      {
        "number": "1",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Reset pin: internal pull-up (RPU 30-80 kΩ), drive low (VIL(NRST) max 0.3xVDD) to force an external reset, or the pin is driven low as an output during internal reset; minimum recommended external capacitor 100 nF."
      },
      {
        "number": "2",
        "name": "PA1/OSCIN",
        "type": "bidirectional",
        "description": "General-purpose I/O port A1 (floating/weak pull-up, output speed O1 up to 2 MHz), alternate function high-speed external crystal/resonator oscillator input or user external clock input (OSC_IN), 1-16 MHz."
      },
      {
        "number": "3",
        "name": "PA2/OSCOUT",
        "type": "bidirectional",
        "description": "General-purpose I/O port A2 (floating/weak pull-up, output speed O1 up to 2 MHz), alternate function high-speed external crystal/resonator oscillator output (OSC_OUT)."
      },
      {
        "number": "4",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground supply pin, referenced to 0 V for the digital core and I/O."
      },
      {
        "number": "5",
        "name": "VCAP",
        "type": "power_out",
        "description": "Internal 1.8 V main voltage regulator output; requires an external stabilization capacitor CEXT (470 nF to 3300 nF, ESR ≤0.3 Ω at 1 MHz, ESL ≤15 nH) connected to VSS."
      },
      {
        "number": "6",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply pin, operating voltage range 2.95 V to 5.5 V."
      },
      {
        "number": "7",
        "name": "VDDIO_1",
        "type": "power_in",
        "description": "I/O power supply pin for the associated port pins, 2.95 V to 5.5 V."
      },
      {
        "number": "8",
        "name": "PF4/AIN12",
        "type": "bidirectional",
        "description": "General-purpose I/O port F4 with pull-up applied during reset (floating input after reset release, output speed O1), alternate function ADC analog input AIN12; AIN12 is not selectable in ADC scan mode or with the analog watchdog and is stored only in ADC_DRH/DRL."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply pin for the ADC and analog blocks, 3.0 V to 5.5 V."
      },
      {
        "number": "10",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground supply pin."
      },
      {
        "number": "11",
        "name": "PB5/AIN5[I2C_SDA]",
        "type": "bidirectional",
        "description": "General-purpose I/O port B5 (floating/weak pull-up, output speed O1), default alternate function ADC analog input AIN5, remappable via option bit AFR6 to I2C data line (I2C_SDA)."
      },
      {
        "number": "12",
        "name": "PB4/AIN4[I2C_SCL]",
        "type": "bidirectional",
        "description": "General-purpose I/O port B4 (floating/weak pull-up, output speed O1), default alternate function ADC analog input AIN4, remappable via option bit AFR6 to I2C clock line (I2C_SCL)."
      },
      {
        "number": "13",
        "name": "PB3/AIN3[TIM1_ETR]",
        "type": "bidirectional",
        "description": "General-purpose I/O port B3 (floating/weak pull-up, output speed O1), default alternate function ADC analog input AIN3, remappable via option bit AFR5 to TIM1 external trigger input (TIM1_ETR)."
      },
      {
        "number": "14",
        "name": "PB2/AIN2[TIM1_CH3N]",
        "type": "bidirectional",
        "description": "General-purpose I/O port B2 (floating/weak pull-up, output speed O1), default alternate function ADC analog input AIN2, remappable via option bit AFR5 to TIM1 complementary output channel 3 (TIM1_CH3N)."
      },
      {
        "number": "15",
        "name": "PB1/AIN1[TIM1_CH2N]",
        "type": "bidirectional",
        "description": "General-purpose I/O port B1 (floating/weak pull-up, output speed O1), default alternate function ADC analog input AIN1, remappable via option bit AFR5 to TIM1 complementary output channel 2 (TIM1_CH2N)."
      },
      {
        "number": "16",
        "name": "PB0/AIN0[TIM1_CH1N]",
        "type": "bidirectional",
        "description": "General-purpose I/O port B0 (floating/weak pull-up, output speed O1), default alternate function ADC analog input AIN0, remappable via option bit AFR5 to TIM1 complementary output channel 1 (TIM1_CH1N)."
      },
      {
        "number": "17",
        "name": "PE5/SPI_NSS",
        "type": "bidirectional",
        "description": "General-purpose I/O port E5 (floating/weak pull-up, output speed O1), alternate function SPI master/slave select input (SPI_NSS)."
      },
      {
        "number": "18",
        "name": "PC1/TIM1_CH1/UART2_CK",
        "type": "bidirectional",
        "description": "General-purpose high-sink I/O port C1 (output speed O3, up to 10 MHz), alternate function TIM1 input capture/output compare channel 1 or UART2 synchronous clock (UART2_CK)."
      },
      {
        "number": "19",
        "name": "PC2/TIM1_CH2",
        "type": "bidirectional",
        "description": "General-purpose high-sink I/O port C2 (output speed O3), alternate function TIM1 input capture/output compare channel 2 (TIM1_CH2)."
      },
      {
        "number": "20",
        "name": "PC3/TIM1_CH3",
        "type": "bidirectional",
        "description": "General-purpose high-sink I/O port C3 (output speed O3), alternate function TIM1 input capture/output compare channel 3 (TIM1_CH3)."
      },
      {
        "number": "21",
        "name": "PC4/TIM1_CH4",
        "type": "bidirectional",
        "description": "General-purpose high-sink I/O port C4 (output speed O3), alternate function TIM1 input capture/output compare channel 4 (TIM1_CH4)."
      },
      {
        "number": "22",
        "name": "PC5/SPI_SCK",
        "type": "bidirectional",
        "description": "General-purpose high-sink I/O port C5 (output speed O3), alternate function SPI serial clock (SPI_SCK), up to 8 Mbit/s."
      },
      {
        "number": "23",
        "name": "PC6/SPI_MOSI",
        "type": "bidirectional",
        "description": "General-purpose high-sink I/O port C6 (output speed O3), alternate function SPI master-out/slave-in data line (SPI_MOSI)."
      },
      {
        "number": "24",
        "name": "PC7/SPI_MISO",
        "type": "bidirectional",
        "description": "General-purpose high-sink I/O port C7 (output speed O3), alternate function SPI master-in/slave-out data line (SPI_MISO)."
      },
      {
        "number": "25",
        "name": "PD0/TIM3_CH2[TIM1_BKIN][CLK_CCO]",
        "type": "bidirectional",
        "description": "General-purpose high-sink I/O port D0 (output speed O3), default alternate function TIM3 channel 2, remappable via AFR3 to TIM1 break input (TIM1_BKIN) or via AFR2 to configurable clock output (CLK_CCO); AFR2 has priority over AFR3 if both activated."
      },
      {
        "number": "26",
        "name": "PD1/SWIM",
        "type": "bidirectional",
        "description": "Single wire interface module (SWIM) data pin (input pull-up during and after reset release, output speed O4), also usable as high-sink general-purpose I/O port D1; SWIM max transmission speed 145 bytes/ms."
      },
      {
        "number": "27",
        "name": "PD2/TIM3_CH1[TIM2_CH3]",
        "type": "bidirectional",
        "description": "General-purpose high-sink I/O port D2 (output speed O3), default alternate function TIM3 channel 1, remappable via option bit AFR1 to TIM2 channel 3 (TIM2_CH3)."
      },
      {
        "number": "28",
        "name": "PD3/TIM2_CH2[ADC_ETR]",
        "type": "bidirectional",
        "description": "General-purpose high-sink I/O port D3 (output speed O3), default alternate function TIM2 channel 2, remappable via option bit AFR0 to ADC external trigger input (ADC_ETR)."
      },
      {
        "number": "29",
        "name": "PD4/TIM2_CH1[BEEP]",
        "type": "bidirectional",
        "description": "General-purpose high-sink I/O port D4 (output speed O3), default alternate function TIM2 channel 1, remappable via option bit AFR7 to beeper output (BEEP, 1/2/4 kHz square wave)."
      },
      {
        "number": "30",
        "name": "PD5/UART2_TX",
        "type": "bidirectional",
        "description": "General-purpose I/O port D5 (output speed O1), alternate function UART2 data transmit (UART2_TX)."
      },
      {
        "number": "31",
        "name": "PD6/UART2_RX",
        "type": "bidirectional",
        "description": "General-purpose I/O port D6 (output speed O1), alternate function UART2 data receive (UART2_RX)."
      },
      {
        "number": "32",
        "name": "PD7/TLI[TIM1_CH4]",
        "type": "bidirectional",
        "description": "General-purpose I/O port D7 (output speed O1), default alternate function top-level interrupt input (TLI), remappable via option bit AFR4 to TIM1 channel 4 (TIM1_CH4)."
      }
    ],
    "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": [],
        "pages_sent": 121,
        "cost_usd": 1.0242,
        "at": "2026-09-22T18:39:52"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8579708154585595904",
        "pages": 121,
        "sha256": "b1007bc27bb78327",
        "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": "stm8s105k6t6c.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "be0e412f1c66fee70039b0e109e0cc7c823161dda97593718afa97569bc61ce3",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8s105k6t6c-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "313bc61cd0752ac57e62cea0c9764dc4a5a8bf6320a34f9350c77b36ead1f509",
        "checked": "2026-11-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "ordering_variants": [
      {
        "mpn": "STM8S105K6T6CTR",
        "merged_from": "adom/stm8s105k6t6ctr",
        "digikey": "497-18856-2-ND",
        "mouser": "511-STM8S105K6T6CTR",
        "source": "Component Ocean /api/part"
      }
    ]
  },
  "title": "STM8S105K6T6C",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-32(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "32"
    }
  },
  "discovery_triggers": [
    "stm8s105k6t6c"
  ],
  "discovery_pitch": "STM8S105K6T6C (STMicroelectronics) component page with datasheet-verified CAD.",
  "visibility": "public"
}