main
Ray Brief states the pinout check that actually ran (was an unconditional "Datasheet-verified pinout") ecc4b79 12d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc8h3k64s2-45i-tssop20",
  "title": "STC8H3K64S2-45I-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",
    "stc8h3k64s2-45i-tssop20"
  ],
  "component": {
    "mpn": "STC8H3K64S2-45I-TSSOP20",
    "manufacturer": "STC Micro",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "MCU",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2406181641_STC-Micro-STC8H3K64S2-45I-TSSOP20_C2901851.pdf",
    "parts": {
      "symbol": "stc8h3k64s2-45i-tssop20.kicad_sym",
      "footprint": "stc8h3k64s2-45i-tssop20.kicad_mod",
      "model_3d": "stc8h3k64s2-45i-tssop20-etched.glb",
      "model_3d_plain": "stc8h3k64s2-45i-tssop20.glb",
      "model_3d_step": "stc8h3k64s2-45i-tssop20-etched.step",
      "model_3d_step_plain": "stc8h3k64s2-45i-tssop20.step",
      "lbr": "stc8h3k64s2-45i-tssop20.lbr"
    },
    "distributor_links": {},
    "pins": [
      {
        "number": "1",
        "name": "P1.0/ADC0/RxD2/PWM1P",
        "type": "bidirectional",
        "description": "Standard I/O P1.0; muxed with ADC channel 0 input, UART2 receive (RxD2), and PWM1 positive capture/output (PWM1P). Power-on state is high-impedance input (must be configured before use)."
      },
      {
        "number": "2",
        "name": "P1.6/ADC6/RxD_3/PWM4P/MCLKO_2/XTALO",
        "type": "bidirectional",
        "description": "Standard I/O P1.6; muxed with ADC channel 6, UART1 receive alt-3 (RxD_3), PWM4 positive output, master clock divided output (MCLKO_2), and external crystal output (XTALO)."
      },
      {
        "number": "3",
        "name": "P1.7/ADC7/TxD_3/PWM4N/PWM5_2/XTALI",
        "type": "bidirectional",
        "description": "Standard I/O P1.7; muxed with ADC channel 7, UART1 transmit alt-3 (TxD_3), PWM4 negative output, PWM5 capture/output alt-2, and external crystal/clock input (XTALI)."
      },
      {
        "number": "4",
        "name": "AGnd",
        "type": "power_in",
        "description": "ADC analog ground reference. Should be tied to the system ground plane at a single point near the MCU for best analog performance."
      },
      {
        "number": "5",
        "name": "ADC_VRef+",
        "type": "power_in",
        "description": "ADC external positive reference input, 2.4 V to MCU-VCC. Must be tied to an external reference (or AVcc for low-precision applications); leaving floating produces leakage current."
      },
      {
        "number": "6",
        "name": "AVcc",
        "type": "power_in",
        "description": "ADC analog supply pin (1.9 V to 5.5 V, matched to VCC). Decouple with 0.1 uF close to the pin."
      },
      {
        "number": "7",
        "name": "P5.4/nRST/MCLKO/SS_3/PWM6_2",
        "type": "bidirectional",
        "description": "Standard I/O P5.4; muxed with active-low external reset (nRST), master clock output (MCLKO), SPI slave-select alt-3 (SS_3), and PWM6 capture/output alt-2. Default at factory is P5.4 I/O; nRST function must be enabled via ISP option, which takes effect after a power cycle."
      },
      {
        "number": "8",
        "name": "Vcc",
        "type": "power_in",
        "description": "Main digital supply pin, 1.9 V to 5.5 V. Bulk decoupling of 10 uF plus 0.1 uF between Vcc and Gnd is recommended, placed close to the chip."
      },
      {
        "number": "9",
        "name": "P5.5",
        "type": "bidirectional",
        "description": "Standard general-purpose I/O port pin P5.5. Power-on state is high-impedance input; configure the port mode register before use."
      },
      {
        "number": "10",
        "name": "Gnd",
        "type": "power_in",
        "description": "Digital ground return for the main Vcc rail."
      },
      {
        "number": "11",
        "name": "P3.0/RxD/INT4",
        "type": "bidirectional",
        "description": "Standard I/O P3.0; muxed with UART1 receive (RxD) and external interrupt 4 (INT4). Also used together with P3.1/P3.2 by the mask-ROM bootloader to detect USB-ISP entry at reset."
      },
      {
        "number": "12",
        "name": "P3.1/TxD",
        "type": "bidirectional",
        "description": "Standard I/O P3.1; muxed with UART1 transmit (TxD). Powers up in weak pull-up (quasi-bidirectional) mode."
      },
      {
        "number": "13",
        "name": "P3.2/INT0/SCLK_4/SCL_4/PWMETI/PWMETI2",
        "type": "bidirectional",
        "description": "Standard I/O P3.2; muxed with external interrupt 0 (INT0), SPI clock alt-4 (SCLK_4), I2C clock alt-4 (SCL_4), and PWM external trigger inputs (PWMETI, PWMETI2)."
      },
      {
        "number": "14",
        "name": "P3.3/INT1/MISO_4/SDA_4/PWM4N_4/PWM7_2",
        "type": "bidirectional",
        "description": "Standard I/O P3.3; muxed with external interrupt 1 (INT1), SPI MISO alt-4, I2C SDA alt-4, PWM4 negative output alt-4, and PWM7 capture/output alt-2."
      },
      {
        "number": "15",
        "name": "P3.4/T0/T1CLKO/MOSI_4/PWM4P_4/PWM8_2/CMPO",
        "type": "bidirectional",
        "description": "Standard I/O P3.4; muxed with Timer 0 external clock input (T0), Timer 1 divided clock output (T1CLKO), SPI MOSI alt-4, PWM4 positive output alt-4, PWM8 capture/output alt-2, and analog comparator output (CMPO)."
      },
      {
        "number": "16",
        "name": "P3.5/T1/T0CLKO/SS_4/PWMFLT",
        "type": "bidirectional",
        "description": "Standard I/O P3.5; muxed with Timer 1 external clock input (T1), Timer 0 divided clock output (T0CLKO), SPI slave-select alt-4 (SS_4), and enhanced-PWM external fault input (PWMFLT)."
      },
      {
        "number": "17",
        "name": "P3.6/INT2/RxD_2/CMP-",
        "type": "bidirectional",
        "description": "Standard I/O P3.6; muxed with external interrupt 2 (INT2), UART1 receive alt-2 (RxD_2), and the analog comparator negative input (CMP-)."
      },
      {
        "number": "18",
        "name": "P3.7/INT3/TxD_2/CMP+",
        "type": "bidirectional",
        "description": "Standard I/O P3.7; muxed with external interrupt 3 (INT3), UART1 transmit alt-2 (TxD_2), and the analog comparator positive input (CMP+)."
      },
      {
        "number": "19",
        "name": "P1.2/ADC2/PWM2P/SS/T2",
        "type": "bidirectional",
        "description": "Standard I/O P1.2; muxed with ADC channel 2, PWM2 positive capture/output (PWM2P), SPI slave-select (SS), and Timer 2 external clock input (T2)."
      },
      {
        "number": "20",
        "name": "P1.1/ADC1/TxD2/PWM1N",
        "type": "bidirectional",
        "description": "Standard I/O P1.1; muxed with ADC channel 1, UART2 transmit (TxD2), and PWM1 negative output (PWM1N)."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2406181641_STC-Micro-STC8H3K64S2-45I-TSSOP20_C2901851.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"
    }
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STC Micro",
      "Package": "TSSOP-20",
      "Category": "MCU",
      "Pins": "20"
    }
  },
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc8h3k64s2-45i-tssop20"
  ],
  "discovery_pitch": "STC8H3K64S2-45I-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",
    "stc8h3k64s2-45i-tssop20.kicad_sym",
    "stc8h3k64s2-45i-tssop20.kicad_mod",
    "stc8h3k64s2-45i-tssop20.glb",
    "stc8h3k64s2-45i-tssop20.step",
    "stc8h3k64s2-45i-tssop20-etched.step",
    "stc8h3k64s2-45i-tssop20.lbr",
    "docs/hero.png",
    "docs/stc8h3k64s2-45i-tssop20-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  },
  "variants": [
    {
      "mpn": "STC8H3K64S2-45I-TSSOP20",
      "kind": "packaging"
    },
    {
      "mpn": "STC8H3K64S2-45I-LQFP48",
      "kind": "unknown"
    },
    {
      "mpn": "STC8H3K64S2-45I-QFN48",
      "kind": "unknown"
    },
    {
      "mpn": "STC8H3K64S2-45I-LQFP32",
      "kind": "unknown"
    },
    {
      "mpn": "STC8H3K64S2-45I-QFN32",
      "kind": "unknown"
    },
    {
      "mpn": "STC8H3K64S2-45I-PDIP40",
      "kind": "unknown"
    }
  ],
  "updated_at": "2026-09-25T08:30:46.975Z"
}