main
Ray Brief states the pinout check that actually ran (was an unconditional "Datasheet-verified pinout") e272682 12d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc8h1k17-36i-tssop20",
  "title": "STC8H1K17-36I-TSSOP20",
  "brief": "STC Micro Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.2.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "mcu",
    "stc8h1k17-36i-tssop20"
  ],
  "component": {
    "mpn": "STC8H1K17-36I-TSSOP20",
    "manufacturer": "STC Micro",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "MCU",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/a8d48f5a5d6882ba282e36788e4bfb6e.pdf",
    "parts": {
      "symbol": "stc8h1k17-36i-tssop20.kicad_sym",
      "footprint": "stc8h1k17-36i-tssop20.kicad_mod",
      "model_3d": "stc8h1k17-36i-tssop20-etched.glb",
      "model_3d_plain": "stc8h1k17-36i-tssop20.glb",
      "model_3d_step": "stc8h1k17-36i-tssop20-etched.step",
      "model_3d_step_plain": "stc8h1k17-36i-tssop20.step",
      "lbr": "stc8h1k17-36i-tssop20.lbr"
    },
    "distributor_links": {
      "lcsc": "C915675"
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.2/T2/SS/PWM2P",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.2. Muxed functions: Timer 2 external clock/gate input (T2), SPI slave-select (SS), advanced PWM channel 2 positive output (PWM2P)."
      },
      {
        "number": "2",
        "name": "P1.3/T2CLKO/MOSI/PWM2N",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.3. Alternate functions: Timer 2 clock output (T2CLKO), SPI master-out/slave-in (MOSI), advanced PWM channel 2 negative output (PWM2N)."
      },
      {
        "number": "3",
        "name": "P1.4/I2CSDA/MISO/PWM3P",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.4. Alternate functions: I2C data (SDA), SPI master-in/slave-out (MISO), advanced PWM channel 3 positive output (PWM3P)."
      },
      {
        "number": "4",
        "name": "P1.5/I2CSCL/SCLK/PWM3N",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.5. Alternate functions: I2C clock (SCL), SPI clock (SCLK), advanced PWM channel 3 negative output (PWM3N)."
      },
      {
        "number": "5",
        "name": "P1.6/XTALO/MCLKO_2/RxD_3/PWM4P",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.6. Alternate functions: external crystal oscillator output (XTALO), master-clock output alt-2 (MCLKO_2), UART1 RxD alternate-3, advanced PWM channel 4 positive output (PWM4P)."
      },
      {
        "number": "6",
        "name": "P1.7/XTALI/TxD_3/PWM5_2/PWM4N",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.7. Alternate functions: external crystal oscillator input (XTALI), UART1 TxD alternate-3, PWM channel 5 alt-2, advanced PWM channel 4 negative output (PWM4N)."
      },
      {
        "number": "7",
        "name": "P5.4/MCLKO/PWM6_2/nRST",
        "type": "bidirectional",
        "description": "GPIO P5.4 by factory default; can be configured via ISP option as the active-low external reset input (nRST). Alternate functions: master-clock output (MCLKO), PWM channel 6 alt-2. Internal 4 kΩ pull-up is always enabled when configured as nRST; when used as I/O the pull-up stays on for ~6.5 ms after power-up before automatically releasing."
      },
      {
        "number": "8",
        "name": "VCC/AVCC",
        "type": "power_in",
        "description": "Digital and analog supply input, 1.9 V to 5.5 V. Decouple with a ≥10 µF bulk capacitor plus a 0.1 µF ceramic between VCC and GND placed close to the pin."
      },
      {
        "number": "9",
        "name": "ADC_VREF+",
        "type": "power_in",
        "description": "External ADC positive reference input. Must be driven by an external reference between 2.4 V and VCC when the ADC is used; if left floating it will exhibit leakage current."
      },
      {
        "number": "10",
        "name": "GND/AGND",
        "type": "power_in",
        "description": "Common digital and analog ground return."
      },
      {
        "number": "11",
        "name": "P3.0/ADC8/RxD/INT4",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.0. Powers up as quasi-bidirectional with weak pull-up (default UART download RxD pin). Alternate functions: ADC channel 8, UART1 receive (RxD), external interrupt INT4 (falling-edge only)."
      },
      {
        "number": "12",
        "name": "P3.1/ADC9/TxD",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.1. Powers up as quasi-bidirectional with weak pull-up (default UART download TxD pin). Alternate functions: ADC channel 9, UART1 transmit (TxD)."
      },
      {
        "number": "13",
        "name": "P3.2/ADC10/INT0/SCLK_4/I2CSCL_4/PWMETI/PWMETI2",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.2. Alternate functions: ADC channel 10, external interrupt INT0 (rising/falling edge), SPI clock alt-4, I2C clock alt-4, PWMA/PWMB external trigger inputs (PWMETI, PWMETI2)."
      },
      {
        "number": "14",
        "name": "P3.3/ADC11/INT1/MISO_4/I2CSDA_4/PWM4N_2/PWM7_2",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.3. Alternate functions: ADC channel 11, external interrupt INT1 (rising/falling edge), SPI MISO alt-4, I2C SDA alt-4, PWM4N alt-2, PWM7 alt-2."
      },
      {
        "number": "15",
        "name": "P3.4/ADC12/T0/T1CLKO/MOSI_4/PWM4P_2/PWM8_2/CMPO",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.4. Alternate functions: ADC channel 12, Timer 0 external input (T0), Timer 1 clock output (T1CLKO), SPI MOSI alt-4, PWM4P alt-2, PWM8 alt-2, analog comparator output (CMPO)."
      },
      {
        "number": "16",
        "name": "P3.5/ADC13/T1/T0CLKO/SS_4/PWMFLT/PWMFLT2",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.5. Alternate functions: ADC channel 13, Timer 1 external input (T1), Timer 0 clock output (T0CLKO), SPI slave-select alt-4, PWMA/PWMB fault inputs (PWMFLT, PWMFLT2)."
      },
      {
        "number": "17",
        "name": "P3.6/ADC14/INT2/RxD_2/CMP-",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.6. Alternate functions: ADC channel 14, external interrupt INT2 (falling edge only), UART1 receive alt-2 (RxD_2), analog comparator inverting input (CMP-)."
      },
      {
        "number": "18",
        "name": "P3.7/INT3/TxD_2/CMP+",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.7. Alternate functions: external interrupt INT3 (falling edge only), UART1 transmit alt-2 (TxD_2), analog comparator non-inverting input (CMP+)."
      },
      {
        "number": "19",
        "name": "P1.0/ADC0/RxD2/PWM1P",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.0. Alternate functions: ADC channel 0, UART2 receive (RxD2), advanced PWM channel 1 positive output (PWM1P)."
      },
      {
        "number": "20",
        "name": "P1.1/ADC1/TxD2/PWM1N",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.1. Alternate functions: ADC channel 1, UART2 transmit (TxD2), advanced PWM channel 1 negative output (PWM1N)."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/a8d48f5a5d6882ba282e36788e4bfb6e.pdf",
        "pages": 2180,
        "sha256": "046aea020e4685f3",
        "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"
    },
    "pin1": {
      "pad": "1",
      "at": [
        -2.8625,
        -2.925
      ],
      "corner": "top-left",
      "source": "silk-marker",
      "derived_from": "TSSOP-20_4.4x6.5mm_P0.65mm@sha256:b7ca3a31dd45c122",
      "mark": "drawn"
    }
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STC Micro",
      "Package": "TSSOP-20",
      "Category": "MCU",
      "Pins": "20"
    }
  },
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc8h1k17-36i-tssop20"
  ],
  "discovery_pitch": "STC8H1K17-36I-TSSOP20 (STC Micro) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc8h1k17-36i-tssop20.kicad_sym",
    "stc8h1k17-36i-tssop20.kicad_mod",
    "stc8h1k17-36i-tssop20.glb",
    "stc8h1k17-36i-tssop20.step",
    "stc8h1k17-36i-tssop20-etched.step",
    "stc8h1k17-36i-tssop20.lbr",
    "docs/hero.png",
    "docs/stc8h1k17-36i-tssop20-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  },
  "variants": [
    {
      "mpn": "STC8H1K17-36I-TSSOP20",
      "kind": "packaging"
    },
    {
      "mpn": "STC8H1K17-36I-SOP20",
      "kind": "unknown"
    },
    {
      "mpn": "STC8H1K17-36I-QFN20",
      "kind": "unknown"
    },
    {
      "mpn": "STC8H1K17-36I-SOP16",
      "kind": "unknown"
    }
  ],
  "updated_at": "2026-09-25T08:30:30.777Z"
}