main
Ray Set visibility: public c2c0939 5d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm8s105k4t6ctr",
  "title": "STM8S105K4T6CTR",
  "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",
    "stm8s105k4t6ctr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM8S105K4T6CTR",
    "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/8586182521273270272",
    "parts": {
      "symbol": "stm8s105k4t6ctr.kicad_sym",
      "footprint": "stm8s105k4t6ctr.kicad_mod",
      "model_3d": "stm8s105k4t6ctr-etched.glb",
      "model_3d_plain": "stm8s105k4t6ctr.glb",
      "model_3d_step": "stm8s105k4t6ctr-etched.step",
      "model_3d_step_plain": "stm8s105k4t6ctr.step",
      "lbr": "stm8s105k4t6ctr.lbr"
    },
    "distributor_links": {
      "lcsc": "C84776",
      "digikey": "497-19029-2-ND",
      "mouser": "511-STM8S105K4T6CTR"
    },
    "distributor_check": {
      "checked_at": "2026-10-01T00:19:40Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-19029-2-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM8S105K4T6CTR",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "NRST",
        "type": "bidirectional",
        "description": "System reset pin with internal weak pull-up and schmitt-triggered input; remains pulled low during reset phase and returns to pull-up after internal reset release."
      },
      {
        "number": "2",
        "name": "PA1/OSC_IN",
        "type": "bidirectional",
        "description": "Port A pin 1; can operate as general purpose I/O with floating input and push-pull output at slow speed (≤2 MHz), or as oscillator resonator/crystal input."
      },
      {
        "number": "3",
        "name": "PA2/OSC_OUT",
        "type": "bidirectional",
        "description": "Port A pin 2; can operate as general purpose I/O with floating input and push-pull output at slow speed (≤2 MHz), or as oscillator resonator/crystal output."
      },
      {
        "number": "4",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground reference for digital logic circuits."
      },
      {
        "number": "5",
        "name": "VCAP",
        "type": "passive",
        "description": "Capacitor connection for internal 1.8 V regulator; requires 1 µF external ceramic capacitor with ESR < 0.5 Ω."
      },
      {
        "number": "6",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply pin; operating range 2.95 V to 5.5 V."
      },
      {
        "number": "7",
        "name": "VDDIO_1",
        "type": "power_in",
        "description": "I/O power supply rail for digital I/O pins; shall be connected to VDD or to the same supply rail."
      },
      {
        "number": "8",
        "name": "PF4/AIN12",
        "type": "input",
        "description": "Port F pin 4; functions as floating analog input for ADC channel 12 (not selectable in ADC scan mode or analog watchdog mode), or general purpose input."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply pin for ADC circuit; operating range typically 3.0 V to 5.5 V."
      },
      {
        "number": "10",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground reference for ADC and analog circuits."
      },
      {
        "number": "11",
        "name": "PB5/AIN5",
        "type": "bidirectional",
        "description": "Port B pin 5; can operate as floating analog input for ADC channel 5, general purpose I/O with slow speed (≤2 MHz), or I2C_SDA with open-drain output (remappable via AFR6)."
      },
      {
        "number": "12",
        "name": "PB4/AIN4",
        "type": "bidirectional",
        "description": "Port B pin 4; can operate as floating analog input for ADC channel 4, general purpose I/O with slow speed (≤2 MHz), or I2C_SCL with open-drain output (remappable via AFR6)."
      },
      {
        "number": "13",
        "name": "PB3/AIN3",
        "type": "bidirectional",
        "description": "Port B pin 3; can operate as floating analog input for ADC channel 3 or general purpose I/O with slow speed (≤2 MHz); alternate function TIM1_ETR available via AFR5 remapping."
      },
      {
        "number": "14",
        "name": "PB2/AIN2",
        "type": "bidirectional",
        "description": "Port B pin 2; can operate as floating analog input for ADC channel 2 or general purpose I/O with slow speed (≤2 MHz); alternate function TIM1_CH3N available via AFR5 remapping."
      },
      {
        "number": "15",
        "name": "PB1/AIN1",
        "type": "bidirectional",
        "description": "Port B pin 1; can operate as floating analog input for ADC channel 1 or general purpose I/O with slow speed (≤2 MHz); alternate function TIM1_CH2N available via AFR5 remapping."
      },
      {
        "number": "16",
        "name": "PB0/AIN0",
        "type": "bidirectional",
        "description": "Port B pin 0; can operate as floating analog input for ADC channel 0 or general purpose I/O with slow speed (≤2 MHz); alternate function TIM1_CH1N available via AFR5 remapping."
      },
      {
        "number": "17",
        "name": "PE5/SPI_NSS",
        "type": "bidirectional",
        "description": "Port E pin 5; functions as SPI master/slave chip select signal or general purpose I/O with slow output speed (≤2 MHz) and push-pull output."
      },
      {
        "number": "18",
        "name": "PC1/TIM1_CH1/UART2_CK",
        "type": "output",
        "description": "Port C pin 1; functions as Timer 1 channel 1 output, UART2 synchronous clock output, or high-sink general purpose I/O with fast/slow programmable speed (default slow)."
      },
      {
        "number": "19",
        "name": "PC2/TIM1_CH2",
        "type": "output",
        "description": "Port C pin 2; functions as Timer 1 channel 2 output or high-sink general purpose I/O with fast/slow programmable speed (default slow)."
      },
      {
        "number": "20",
        "name": "PC3/TIM1_CH3",
        "type": "output",
        "description": "Port C pin 3; functions as Timer 1 channel 3 output or high-sink general purpose I/O with fast/slow programmable speed (default slow)."
      },
      {
        "number": "21",
        "name": "PC4/TIM1_CH4",
        "type": "output",
        "description": "Port C pin 4; functions as Timer 1 channel 4 output or high-sink general purpose I/O with fast/slow programmable speed (default slow)."
      },
      {
        "number": "22",
        "name": "PC5/SPI_SCK",
        "type": "output",
        "description": "Port C pin 5; functions as SPI serial clock output or high-sink general purpose I/O with fast/slow programmable speed (default slow)."
      },
      {
        "number": "23",
        "name": "PC6/SPI_MOSI",
        "type": "output",
        "description": "Port C pin 6; functions as SPI master out/slave in data output or high-sink general purpose I/O with fast/slow programmable speed (default slow)."
      },
      {
        "number": "24",
        "name": "PC7/SPI_MISO",
        "type": "input",
        "description": "Port C pin 7; functions as SPI master in/slave out data input or high-sink general purpose I/O with fast/slow programmable speed (default slow)."
      },
      {
        "number": "25",
        "name": "PD0/TIM3_CH2",
        "type": "output",
        "description": "Port D pin 0; functions as Timer 3 channel 2 output with high-sink capability or fast/slow programmable output speed (default slow); alternate functions include CLK_CCO (AFR2) or TIM1_BKIN (AFR3)."
      },
      {
        "number": "26",
        "name": "PD1/SWIM",
        "type": "bidirectional",
        "description": "Port D pin 1; functions as SWIM (Single Wire Interface Module) data interface with internal weak pull-up during reset phase and fast programmable output speed (default fast), or general purpose I/O with external interrupt capability."
      },
      {
        "number": "27",
        "name": "PD2/TIM3_CH1",
        "type": "output",
        "description": "Port D pin 2; functions as Timer 3 channel 1 output with high-sink capability or fast/slow programmable output speed (default slow); alternate function TIM2_CH3 available via AFR1 remapping."
      },
      {
        "number": "28",
        "name": "PD3/TIM2_CH2",
        "type": "output",
        "description": "Port D pin 3; functions as Timer 2 channel 2 output with high-sink capability or fast/slow programmable output speed (default slow); alternate function ADC_ETR available via AFR0 remapping."
      },
      {
        "number": "29",
        "name": "PD4/TIM2_CH1",
        "type": "output",
        "description": "Port D pin 4; functions as Timer 2 channel 1 output with high-sink capability or fast/slow programmable output speed (default slow); alternate function BEEP output available via AFR7 remapping."
      },
      {
        "number": "30",
        "name": "PD5/UART2_TX",
        "type": "output",
        "description": "Port D pin 5; functions as UART2 transmit data output or general purpose I/O with slow output speed (≤2 MHz) and push-pull output."
      },
      {
        "number": "31",
        "name": "PD6/UART2_RX",
        "type": "input",
        "description": "Port D pin 6; functions as UART2 receive data input or general purpose input with slow input speed (≤2 MHz) and floating input configuration."
      },
      {
        "number": "32",
        "name": "PD7/TLI",
        "type": "input",
        "description": "Port D pin 7; functions as top-level interrupt input or general purpose I/O with slow speed (≤2 MHz); alternate function TIM1_CH4 available via AFR4 remapping."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-4-5-20251001",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: OCR errors in Table 5 pin number columns for PA1 and PA2 (shown as '2227' and '3338'): inferred as p; Pin type classifications (input/output/bidirectional) are based on main function and alternate funct; Descriptions for timer and peripheral pins are abbreviated; the family reference manual (RM0016) sho"
        ],
        "pages_sent": 55,
        "cost_usd": 0.2038,
        "at": "2026-10-01T00:19:21"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586182521273270272",
        "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"
    }
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-32(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "32"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm8s105k4t6ctr"
  ],
  "discovery_pitch": "STM8S105K4T6CTR (STMicroelectronics) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8s105k4t6ctr.kicad_sym",
    "stm8s105k4t6ctr.kicad_mod",
    "stm8s105k4t6ctr.glb",
    "stm8s105k4t6ctr.step",
    "stm8s105k4t6ctr.lbr",
    "docs/hero.png",
    "docs/stm8s105k4t6ctr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  }
}