main
Ray stm8s103k3t6c: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding) ae9f794
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm8s103k3t6c",
  "title": "STM8S103K3T6C",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.2.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "mcu",
    "stm8s103k3t6c"
  ],
  "component": {
    "mpn": "STM8S103K3T6C",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-32(7x7)",
    "pin_count": 32,
    "category": "MCU",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://www.st.com/resource/en/datasheet/stm8s103k3t6c.pdf",
    "parts": {
      "symbol": "stm8s103k3t6c.kicad_sym",
      "footprint": "stm8s103k3t6c.kicad_mod",
      "model_3d": "stm8s103k3t6c-etched.glb",
      "model_3d_plain": "stm8s103k3t6c.glb",
      "model_3d_step": "stm8s103k3t6c-etched.step",
      "model_3d_step_plain": "stm8s103k3t6c.step",
      "lbr": "stm8s103k3t6c.lbr"
    },
    "distributor_links": {},
    "pins": [
      {
        "number": "1",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Bidirectional device reset pin, active low. Internal pull-up holds the pin high; drive low to force a reset. Reset state is input with weak pull-up."
      },
      {
        "number": "2",
        "name": "PA1/OSCIN",
        "type": "bidirectional",
        "description": "Port A1 general-purpose I/O; alternate function is the HSE resonator/crystal input (OSCIN). Slow (O1) push-pull/open-drain output. In Halt/Active-halt mode PA1 is auto-configured as input weak pull-up and cannot wake the device."
      },
      {
        "number": "3",
        "name": "PA2/OSCOUT",
        "type": "bidirectional",
        "description": "Port A2 general-purpose I/O; alternate function is the HSE resonator/crystal output (OSCOUT). Slow (O1) push-pull/open-drain output."
      },
      {
        "number": "4",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground reference."
      },
      {
        "number": "5",
        "name": "VCAP",
        "type": "passive",
        "description": "1.8 V internal regulator decoupling capacitor pin. Connect an external ceramic capacitor to VSS as specified in the VCAP external capacitor section of the datasheet."
      },
      {
        "number": "6",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply, operating range 2.95 V to 5.5 V."
      },
      {
        "number": "7",
        "name": "PA3/TIM2_CH3/[SPI_NSS]",
        "type": "bidirectional",
        "description": "Port A3 GPIO with high-sink capability. Default alternate function: TIM2 channel 3. Remapped alternate function: SPI master/slave select (SPI_NSS) via option bit AFR1."
      },
      {
        "number": "8",
        "name": "PF4",
        "type": "bidirectional",
        "description": "Port F4 general-purpose I/O. Slow (O1) push-pull/open-drain output, no external interrupt or high-sink capability."
      },
      {
        "number": "9",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B7 general-purpose I/O with external interrupt capability. Slow (O1) push-pull/open-drain output."
      },
      {
        "number": "10",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B6 general-purpose I/O with external interrupt capability. Slow (O1) push-pull/open-drain output."
      },
      {
        "number": "11",
        "name": "PB5/I2C_SDA",
        "type": "bidirectional",
        "description": "Port B5 GPIO / I2C data (SDA). True open-drain output (no P-buffer, no pull-up, no VDD protection diode) - requires an external pull-up. I2C up to 400 kbit/s."
      },
      {
        "number": "12",
        "name": "PB4/I2C_SCL",
        "type": "bidirectional",
        "description": "Port B4 GPIO / I2C clock (SCL). True open-drain output (no P-buffer, no pull-up, no VDD protection diode) - requires an external pull-up. I2C up to 400 kbit/s."
      },
      {
        "number": "13",
        "name": "PB3/AIN3/TIM1_ETR",
        "type": "bidirectional",
        "description": "Port B3 GPIO with high-sink capability. Alternate functions: ADC analog input 3 (AIN3) and TIM1 external trigger input (TIM1_ETR)."
      },
      {
        "number": "14",
        "name": "PB2/AIN2/TIM1_CH3N",
        "type": "bidirectional",
        "description": "Port B2 GPIO with high-sink capability. Alternate functions: ADC analog input 2 (AIN2) and TIM1 inverted channel 3 output (TIM1_CH3N)."
      },
      {
        "number": "15",
        "name": "PB1/AIN1/TIM1_CH2N",
        "type": "bidirectional",
        "description": "Port B1 GPIO with high-sink capability. Alternate functions: ADC analog input 1 (AIN1) and TIM1 inverted channel 2 output (TIM1_CH2N)."
      },
      {
        "number": "16",
        "name": "PB0/AIN0/TIM1_CH1N",
        "type": "bidirectional",
        "description": "Port B0 GPIO with high-sink capability. Alternate functions: ADC analog input 0 (AIN0) and TIM1 inverted channel 1 output (TIM1_CH1N)."
      },
      {
        "number": "17",
        "name": "PE5/SPI_NSS",
        "type": "bidirectional",
        "description": "Port E5 GPIO with high-sink capability. Default alternate function: SPI master/slave select (SPI_NSS)."
      },
      {
        "number": "18",
        "name": "PC1/TIM1_CH1/UART1_CK",
        "type": "bidirectional",
        "description": "Port C1 GPIO with high-sink capability. Default alternate function: TIM1 channel 1 and UART1 synchronous clock output (UART1_CK)."
      },
      {
        "number": "19",
        "name": "PC2/TIM1_CH2",
        "type": "bidirectional",
        "description": "Port C2 GPIO with high-sink capability. Default alternate function: TIM1 channel 2."
      },
      {
        "number": "20",
        "name": "PC3/TIM1_CH3",
        "type": "bidirectional",
        "description": "Port C3 GPIO with high-sink capability. Default alternate function: TIM1 channel 3."
      },
      {
        "number": "21",
        "name": "PC4/TIM1_CH4/CLK_CCO",
        "type": "bidirectional",
        "description": "Port C4 GPIO with high-sink capability. Default alternate function: TIM1 channel 4 and configurable clock output (CLK_CCO)."
      },
      {
        "number": "22",
        "name": "PC5/SPI_SCK",
        "type": "bidirectional",
        "description": "Port C5 GPIO with high-sink capability. Default alternate function: SPI clock (SPI_SCK), up to 8 Mbit/s."
      },
      {
        "number": "23",
        "name": "PC6/SPI_MOSI",
        "type": "bidirectional",
        "description": "Port C6 GPIO with high-sink capability. Default alternate function: SPI master-out/slave-in (SPI_MOSI)."
      },
      {
        "number": "24",
        "name": "PC7/SPI_MISO",
        "type": "bidirectional",
        "description": "Port C7 GPIO with high-sink capability. Default alternate function: SPI master-in/slave-out (SPI_MISO)."
      },
      {
        "number": "25",
        "name": "PD0/TIM1_BKIN/[CLK_CCO]",
        "type": "bidirectional",
        "description": "Port D0 GPIO with high-sink capability. Default alternate function: TIM1 break input (TIM1_BKIN). Remapped alternate function: configurable clock output (CLK_CCO) via option bit AFR5."
      },
      {
        "number": "26",
        "name": "PD1/SWIM",
        "type": "bidirectional",
        "description": "Port D1 GPIO with high-sink capability. Default alternate function: SWIM (Single Wire Interface Module) data - used for on-chip programming and non-intrusive debugging. Pin is input pull-up during and after reset release."
      },
      {
        "number": "27",
        "name": "PD2/[TIM2_CH3]",
        "type": "bidirectional",
        "description": "Port D2 GPIO with high-sink capability. Remapped alternate function: TIM2 channel 3 via option bit AFR1."
      },
      {
        "number": "28",
        "name": "PD3/TIM2_CH2/ADC_ETR",
        "type": "bidirectional",
        "description": "Port D3 GPIO with high-sink capability. Default alternate functions: TIM2 channel 2 and ADC external trigger (ADC_ETR)."
      },
      {
        "number": "29",
        "name": "PD4/BEEP/TIM2_CH1",
        "type": "bidirectional",
        "description": "Port D4 GPIO with high-sink capability. Default alternate functions: TIM2 channel 1 and BEEP output (beeper)."
      },
      {
        "number": "30",
        "name": "PD5/UART1_TX",
        "type": "bidirectional",
        "description": "Port D5 GPIO with high-sink capability. Default alternate function: UART1 data transmit (UART1_TX). UART1 supports asynchronous, synchronous, Smartcard, IrDA, LIN master modes."
      },
      {
        "number": "31",
        "name": "PD6/UART1_RX",
        "type": "bidirectional",
        "description": "Port D6 GPIO with high-sink capability. Default alternate function: UART1 data receive (UART1_RX)."
      },
      {
        "number": "32",
        "name": "PD7/TLI/[TIM1_CH4]",
        "type": "bidirectional",
        "description": "Port D7 GPIO with high-sink capability. Default alternate function: top-level interrupt (TLI). Remapped alternate function: TIM1 channel 4 via option bit AFR6."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/stm8s103k3t6c.pdf",
        "pages": 117,
        "sha256": "1574cc17747269f6",
        "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": "stm8s103k3t6c.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "be0e412f1c66fee70039b0e109e0cc7c823161dda97593718afa97569bc61ce3",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8s103k3t6c-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "942c272e7a0968d7420adc1300b1daa2f86fdacc41192f01310056314d1c6dbc",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-32(7x7)",
      "Category": "MCU",
      "Pins": "32"
    }
  },
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm8s103k3t6c"
  ],
  "discovery_pitch": "STM8S103K3T6C (STMicroelectronics) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8s103k3t6c.kicad_sym",
    "stm8s103k3t6c.kicad_mod",
    "stm8s103k3t6c.glb",
    "stm8s103k3t6c.step",
    "stm8s103k3t6c-etched.step",
    "stm8s103k3t6c.lbr",
    "docs/hero.png",
    "docs/stm8s103k3t6c-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  },
  "variants": [
    {
      "mpn": "STM8S103K3T6C",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S103K3T6CT3C",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S103K3T6CU6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S103K3T6CU3",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S103K3T6CB6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S103K3T6CB3",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S103K3T6CP6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S103K3T6CP3",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S103K3T6CM6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8S103K3T6CM3",
      "kind": "packaging"
    }
  ],
  "updated_at": "2026-09-25T09:01:53.317Z"
}