main
Ray Publish 0.1.1 f48c8ac
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm8s103f3p3tr",
  "title": "STM8S103F3P3TR",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.1",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm8s103f3p3tr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM8S103F3P3TR",
    "manufacturer": "STMicroelectronics",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588941605310619648",
    "parts": {
      "symbol": "stm8s103f3p3tr.kicad_sym",
      "footprint": "stm8s103f3p3tr.kicad_mod",
      "model_3d": "stm8s103f3p3tr-hero.glb",
      "model_3d_plain": "stm8s103f3p3tr.glb",
      "model_3d_step": "stm8s103f3p3tr-etched.step",
      "model_3d_step_plain": "stm8s103f3p3tr.step",
      "lbr": "stm8s103f3p3tr.lbr"
    },
    "distributor_links": {
      "lcsc": "C2053135"
    },
    "pins": [
      {
        "number": "1",
        "name": "PD4/BEEP/TIM2_CH1/UART1_CK",
        "type": "bidirectional",
        "description": "I/O port pin with high-sink output capability; alternate functions include Timer 2 channel 1, BEEP output, or UART1 clock."
      },
      {
        "number": "2",
        "name": "PD5/AIN5/UART1_TX",
        "type": "bidirectional",
        "description": "I/O port pin with high-sink output capability; alternate functions include analog input AIN5 or UART1 transmit data."
      },
      {
        "number": "3",
        "name": "PD6/AIN6/UART1_RX",
        "type": "bidirectional",
        "description": "I/O port pin with high-sink output capability; alternate functions include analog input AIN6 or UART1 receive data."
      },
      {
        "number": "4",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Active-low reset input with internal weak pull-up resistor (30-80 kΩ) and open-drain output capability for device and external circuit reset control."
      },
      {
        "number": "5",
        "name": "PA1/OSCIN",
        "type": "bidirectional",
        "description": "General-purpose I/O port pin with oscillator crystal input capability; cannot be used for waking from Halt or Active-halt modes."
      },
      {
        "number": "6",
        "name": "PA2/OSCOUT",
        "type": "bidirectional",
        "description": "General-purpose I/O port pin with oscillator crystal output capability."
      },
      {
        "number": "7",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground power supply connection pin; all VSS pins must be connected to external power supply."
      },
      {
        "number": "8",
        "name": "VCAP",
        "type": "passive",
        "description": "External regulator capacitor connection pin; requires 470-3300 nF capacitor with ESR ≤ 0.3 Ω and ESL ≤ 15 nH at 1 MHz."
      },
      {
        "number": "9",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply pin with operating voltage range 2.95 to 5.5 V; all VDD pins must be connected to external power supply."
      },
      {
        "number": "10",
        "name": "PA3/TIM2_CH3 [SPI_NSS]",
        "type": "bidirectional",
        "description": "I/O port pin with high-sink output capability; Timer 2 channel 3 by default; remappable to SPI master/slave select via AFR1 option bit."
      },
      {
        "number": "11",
        "name": "PB5/I2C_SDA [TIM1_BKIN]",
        "type": "bidirectional",
        "description": "True open-drain I/O port pin without P-buffer or protection diode; I2C SDA by default; remappable to Timer 1 break input via AFR4 option bit."
      },
      {
        "number": "12",
        "name": "PB4/I2C_SCL",
        "type": "bidirectional",
        "description": "True open-drain I/O port pin without P-buffer or protection diode; I2C SCL by default; remappable to ADC external trigger via AFR4 option bit."
      },
      {
        "number": "13",
        "name": "PC3/TIM1_CH3 [TLI] [TIM1_CH1N]",
        "type": "bidirectional",
        "description": "I/O port pin with high-sink output capability; Timer 1 channel 3 by default; remappable to top-level interrupt (AFR3) or Timer 1 inverted channel 1 (AFR7)."
      },
      {
        "number": "14",
        "name": "PC4/CLK_CCO/TIM1_CH4/AIN2 [TIM1_CH2N]",
        "type": "bidirectional",
        "description": "I/O port pin with high-sink output capability; supports configurable clock output, Timer 1 channel 4, and analog input AIN2; remappable to Timer 1 inverted channel 2 via AFR7."
      },
      {
        "number": "15",
        "name": "PC5/SPI_SCK [TIM2_CH1]",
        "type": "bidirectional",
        "description": "I/O port pin with high-sink output capability; SPI clock by default; remappable to Timer 2 channel 1 via AFR0 option bit."
      },
      {
        "number": "16",
        "name": "PC6/SPI_MOSI [TIM1_CH1]",
        "type": "bidirectional",
        "description": "I/O port pin with high-sink output capability; SPI master-out/slave-in by default; remappable to Timer 1 channel 1 via AFR0 option bit."
      },
      {
        "number": "17",
        "name": "PC7/SPI_MISO [TIM1_CH2]",
        "type": "bidirectional",
        "description": "I/O port pin with high-sink output capability; SPI master-in/slave-out by default; remappable to Timer 1 channel 2 via AFR0 option bit."
      },
      {
        "number": "18",
        "name": "PD1/SWIM",
        "type": "bidirectional",
        "description": "I/O port pin with high-sink output capability; dedicated to SWIM single-wire debug interface and configurable as general-purpose I/O."
      },
      {
        "number": "19",
        "name": "PD2/AIN3 [TIM2_CH3]",
        "type": "bidirectional",
        "description": "I/O port pin with high-sink output capability; analog input AIN3 by default; remappable to Timer 2 channel 3 via AFR1 option bit."
      },
      {
        "number": "20",
        "name": "PD3/AIN4/TIM2_CH2/ADC_ETR",
        "type": "bidirectional",
        "description": "I/O port pin with high-sink output capability; supports analog input AIN4, Timer 2 channel 2, and ADC external trigger functions."
      }
    ],
    "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": 0.9114,
        "at": "2026-09-23T15:00:06"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588941605310619648",
        "pages": 121,
        "sha256": "ac23789ac0a2f408",
        "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": "stm8s103f3p3tr.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,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8s103f3p3tr-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,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "534a3391f331633738573ec313cbe47f1db9d23ee53a15e8f498307392ddceeb",
        "checked": "2026-11-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "TSSOP-20",
      "Category": "Embedded Processors & Controllers",
      "Pins": "20"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm8s103f3p3tr"
  ],
  "discovery_pitch": "STM8S103F3P3TR (STMicroelectronics) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8s103f3p3tr.kicad_sym",
    "stm8s103f3p3tr.kicad_mod",
    "stm8s103f3p3tr.glb",
    "stm8s103f3p3tr.step",
    "stm8s103f3p3tr.lbr",
    "docs/hero.png",
    "docs/stm8s103f3p3tr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm8s103f3p3tr-etched.step",
    "stm8s103f3p3tr-hero.glb",
    "stm8s103f3p3tr-hero.overlay.json"
  ],
  "visibility": "public",
  "updated_at": "2026-09-25T09:01:36.514Z",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Datasheet-verified pinout, KiCad symbol/footprint/3D.",
  "org": "adom"
}