main
Ray stm8s105k4u6a: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding) d790ef1
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm8s105k4u6a",
  "title": "STM8S105K4U6A",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), QFN-32-EP(5x5). Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "mcu",
    "stm8s105k4u6a"
  ],
  "component": {
    "mpn": "STM8S105K4U6A",
    "manufacturer": "STMicroelectronics",
    "package": "QFN-32-EP(5x5)",
    "pin_count": 32,
    "category": "MCU",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://www.st.com/resource/en/datasheet/stm8s105k4u6a.pdf",
    "parts": {
      "symbol": "stm8s105k4u6a.kicad_sym",
      "footprint": "stm8s105k4u6a.kicad_mod",
      "model_3d": "stm8s105k4u6a-etched.glb",
      "model_3d_plain": "stm8s105k4u6a.glb",
      "model_3d_step": "stm8s105k4u6a-etched.step",
      "model_3d_step_plain": "stm8s105k4u6a.step",
      "lbr": "stm8s105k4u6a.lbr"
    },
    "distributor_links": {},
    "pins": [
      {
        "number": "1",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Bidirectional active-low reset. Weak pull-up input; can be driven low to force a reset and is pulled low by internal reset sources."
      },
      {
        "number": "2",
        "name": "PA1/OSC_IN",
        "type": "bidirectional",
        "description": "Port A1 general-purpose I/O. Alternate function: external crystal/resonator oscillator input (OSCIN) for the HSE clock source."
      },
      {
        "number": "3",
        "name": "PA2/OSC_OUT",
        "type": "bidirectional",
        "description": "Port A2 general-purpose I/O. Alternate function: external crystal/resonator oscillator output (OSCOUT) for the HSE clock source."
      },
      {
        "number": "4",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground reference for the MCU core."
      },
      {
        "number": "5",
        "name": "VCAP",
        "type": "passive",
        "description": "1.8 V internal regulator decoupling. Connect a 1 uF ceramic capacitor between this pin and VSS; do not tie to any supply."
      },
      {
        "number": "6",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital core supply, 2.95 V to 5.5 V. Must be decoupled to VSS."
      },
      {
        "number": "7",
        "name": "VDDIO",
        "type": "power_in",
        "description": "I/O power supply for GPIO drivers, 2.95 V to 5.5 V (VDDIO_1 rail in this package)."
      },
      {
        "number": "8",
        "name": "PF4/AIN12",
        "type": "bidirectional",
        "description": "Port F4 general-purpose I/O with weak pull-up applied during reset phase (floating after reset release). Alternate function: ADC analog input channel 12 (not usable in ADC scan mode or with analog watchdog)."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply for the ADC and analog reference. Tie to VDD via a filter for best ADC accuracy."
      },
      {
        "number": "10",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground reference for the ADC."
      },
      {
        "number": "11",
        "name": "PB5/AIN5/[I2C_SDA]",
        "type": "bidirectional",
        "description": "Port B5 GPIO. Alternate functions: ADC analog input 5 and remapped I2C data (I2C_SDA) when AFR6 option bit is set."
      },
      {
        "number": "12",
        "name": "PB4/AIN4/[I2C_SCL]",
        "type": "bidirectional",
        "description": "Port B4 GPIO. Alternate functions: ADC analog input 4 and remapped I2C clock (I2C_SCL) when AFR6 option bit is set."
      },
      {
        "number": "13",
        "name": "PB3/AIN3/[TIM1_ETR]",
        "type": "bidirectional",
        "description": "Port B3 GPIO. Alternate functions: ADC analog input 3 and remapped TIM1_ETR external trigger (AFR5 option bit)."
      },
      {
        "number": "14",
        "name": "PB2/AIN2/[TIM1_CH3N]",
        "type": "bidirectional",
        "description": "Port B2 GPIO. Alternate functions: ADC analog input 2 and remapped TIM1 channel 3 complementary output (AFR5 option bit)."
      },
      {
        "number": "15",
        "name": "PB1/AIN1/[TIM1_CH2N]",
        "type": "bidirectional",
        "description": "Port B1 GPIO. Alternate functions: ADC analog input 1 and remapped TIM1 channel 2 complementary output (AFR5 option bit)."
      },
      {
        "number": "16",
        "name": "PB0/AIN0/[TIM1_CH1N]",
        "type": "bidirectional",
        "description": "Port B0 GPIO. Alternate functions: ADC analog input 0 and remapped TIM1 channel 1 complementary output (AFR5 option bit)."
      },
      {
        "number": "17",
        "name": "PE5/SPI_NSS",
        "type": "bidirectional",
        "description": "Port E5 GPIO. Alternate function: SPI master/slave select (SPI_NSS)."
      },
      {
        "number": "18",
        "name": "PC1/TIM1_CH1/UART2_CK",
        "type": "bidirectional",
        "description": "Port C1 high-sink GPIO. Alternate functions: TIM1 channel 1 and UART2 synchronous clock (UART2_CK)."
      },
      {
        "number": "19",
        "name": "PC2/TIM1_CH2",
        "type": "bidirectional",
        "description": "Port C2 high-sink GPIO. Alternate function: TIM1 channel 2."
      },
      {
        "number": "20",
        "name": "PC3/TIM1_CH3",
        "type": "bidirectional",
        "description": "Port C3 high-sink GPIO. Alternate function: TIM1 channel 3."
      },
      {
        "number": "21",
        "name": "PC4/TIM1_CH4",
        "type": "bidirectional",
        "description": "Port C4 high-sink GPIO. Alternate function: TIM1 channel 4."
      },
      {
        "number": "22",
        "name": "PC5/SPI_SCK",
        "type": "bidirectional",
        "description": "Port C5 high-sink GPIO. Alternate function: SPI clock (SPI_SCK)."
      },
      {
        "number": "23",
        "name": "PC6/SPI_MOSI",
        "type": "bidirectional",
        "description": "Port C6 high-sink GPIO. Alternate function: SPI master-out/slave-in (SPI_MOSI)."
      },
      {
        "number": "24",
        "name": "PC7/SPI_MISO",
        "type": "bidirectional",
        "description": "Port C7 high-sink GPIO. Alternate function: SPI master-in/slave-out (SPI_MISO)."
      },
      {
        "number": "25",
        "name": "PD0/TIM3_CH2/[TIM1_BKIN]/[CLK_CCO]",
        "type": "bidirectional",
        "description": "Port D0 high-sink GPIO. Alternate functions: TIM3 channel 2 (default) and, via option bits, TIM1_BKIN (break input, AFR3) or configurable clock output CLK_CCO (AFR2)."
      },
      {
        "number": "26",
        "name": "PD1/SWIM",
        "type": "bidirectional",
        "description": "Port D1 high-sink GPIO. Alternate function: SWIM single-wire interface for programming and debugging. Pin is in input pull-up during and after reset."
      },
      {
        "number": "27",
        "name": "PD2/TIM3_CH1/[TIM2_CH3]",
        "type": "bidirectional",
        "description": "Port D2 high-sink GPIO. Alternate functions: TIM3 channel 1 (default) and TIM2 channel 3 when remapped via AFR1 option bit."
      },
      {
        "number": "28",
        "name": "PD3/TIM2_CH2/[ADC_ETR]",
        "type": "bidirectional",
        "description": "Port D3 high-sink GPIO. Alternate functions: TIM2 channel 2 (default) and ADC external trigger (ADC_ETR) when remapped via AFR0 option bit."
      },
      {
        "number": "29",
        "name": "PD4/TIM2_CH1/[BEEP]",
        "type": "bidirectional",
        "description": "Port D4 high-sink GPIO. Alternate functions: TIM2 channel 1 (default) and BEEP output when remapped via AFR7 option bit."
      },
      {
        "number": "30",
        "name": "PD5/UART2_TX",
        "type": "bidirectional",
        "description": "Port D5 GPIO. Alternate function: UART2 data transmit (UART2_TX)."
      },
      {
        "number": "31",
        "name": "PD6/UART2_RX",
        "type": "bidirectional",
        "description": "Port D6 GPIO. Alternate function: UART2 data receive (UART2_RX)."
      },
      {
        "number": "32",
        "name": "PD7/TLI/[TIM1_CH4]",
        "type": "bidirectional",
        "description": "Port D7 GPIO. Alternate functions: top-level interrupt input (TLI) and remapped TIM1 channel 4 (AFR4 option bit)."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/stm8s105k4u6a.pdf",
        "pages": 121,
        "sha256": "b1007bc27bb78327",
        "source_tier": "mfr"
      },
      "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": "stm8s105k4u6a.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5,
          5,
          0.875
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "5fa713ea46b36980895812ed853577889b7cb06d275041a39b99bc0be305dc79",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8s105k4u6a-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5,
          5,
          0.875
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "8d289aaaf92804add7344915c67208af6c51b819ee49194c47fc8b7eb8a4dd0c",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "QFN-32-EP(5x5)",
      "Category": "MCU",
      "Pins": "32"
    }
  },
  "variants": [
    {
      "mpn": "STM8S105K4U6A",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S105K4U6AK6U6A",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S105K4U6AK4T6A",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S105K4U6AK6T6A",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S105K4U6AS4T6A",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S105K4U6AS6T6A",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S105K4U6AC4T6A",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S105K4U6AC6T6A",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S105K4U6AK4B6A",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S105K4U6AK6B6A",
      "kind": "packaging"
    }
  ],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm8s105k4u6a"
  ],
  "discovery_pitch": "STM8S105K4U6A (STMicroelectronics) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8s105k4u6a.kicad_sym",
    "stm8s105k4u6a.kicad_mod",
    "stm8s105k4u6a.glb",
    "stm8s105k4u6a.step",
    "stm8s105k4u6a.lbr",
    "docs/hero.png",
    "docs/stm8s105k4u6a-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  },
  "updated_at": "2026-09-25T09:02:26.901Z"
}