main
Ray Set visibility: public 2575aba 1d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc32g8k48-42i-tssop20",
  "title": "STC32G8K48-42I-TSSOP20",
  "brief": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "stc32g8k48-42i-tssop20",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STC32G8K48-42I-TSSOP20",
    "manufacturer": "STC Micro",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/8fe4cdefdfe8ba1a5b5a614521aecf58.pdf",
    "parts": {
      "symbol": "stc32g8k48-42i-tssop20.kicad_sym",
      "footprint": "stc32g8k48-42i-tssop20.kicad_mod",
      "model_3d": "stc32g8k48-42i-tssop20-hero.glb",
      "model_3d_plain": "stc32g8k48-42i-tssop20-etched.glb",
      "model_3d_step": "stc32g8k48-42i-tssop20-etched.step",
      "model_3d_step_plain": "stc32g8k48-42i-tssop20.step",
      "lbr": "stc32g8k48-42i-tssop20.lbr"
    },
    "distributor_links": {
      "lcsc": "C20613522"
    },
    "distributor_check": {
      "checked_at": "2026-10-27T02:05:24Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Standard I/O port with ADC4 analog input and I2C SDA, SPI MISO and PWM3P alternate functions; high-impedance input after power-on until the port mode is set."
      },
      {
        "number": "2",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Standard I/O port with ADC5 analog input and I2C SCL, SPI SCLK and PWM3N alternate functions; high-impedance input after power-on until the port mode is set."
      },
      {
        "number": "3",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Standard I/O port with ADC6 analog input and XTALO external crystal output alternate functions; high-impedance input after power-on until the port mode is set."
      },
      {
        "number": "4",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Standard I/O port with ADC7 analog input and XTALI external crystal or clock input alternate functions; high-impedance input after power-on until the port mode is set."
      },
      {
        "number": "5",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Standard I/O port with ADC3 analog input and SPI MOSI alternate functions; high-impedance input after power-on until the port mode is set."
      },
      {
        "number": "6",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Standard I/O port with PWM2P output, SPI SS and Timer 2 external clock input alternate functions; high-impedance input after power-on until the port mode is set."
      },
      {
        "number": "7",
        "name": "P5.4",
        "type": "bidirectional",
        "description": "Standard I/O port that can be set by ISP download as the active-low reset pin nRST, in which case its internal 4K pull-up stays on."
      },
      {
        "number": "8",
        "name": "Vcc",
        "type": "power_in",
        "description": "Main supply pin (also AVcc for the ADC) with an operating voltage of 1.9V to 5.5V."
      },
      {
        "number": "9",
        "name": "ADC_VRef+",
        "type": "input",
        "description": "ADC external reference voltage input that must be connected to an external reference between 2.4V and MCU-VCC, as a floating pin causes leakage current."
      },
      {
        "number": "10",
        "name": "Gnd",
        "type": "power_in",
        "description": "Ground pin (Gnd/AGnd), shared with the ADC analog ground."
      },
      {
        "number": "11",
        "name": "P3.0",
        "type": "bidirectional",
        "description": "Port 3 I/O that is also UART1 RxD, USB D- data line and INT4 external interrupt; used for USB or serial download and emulation and weak pull-up after power-on."
      },
      {
        "number": "12",
        "name": "P3.1",
        "type": "bidirectional",
        "description": "Port 3 I/O that is also UART1 TxD and USB D+ data line; used for USB or serial download and emulation and weak pull-up after power-on."
      },
      {
        "number": "13",
        "name": "P3.2",
        "type": "bidirectional",
        "description": "Standard I/O with INT0 external interrupt and SPI, I2C and PWM external trigger alternates; sampled low at power-on together with P3.0 and P3.1 low to enter USB download mode."
      },
      {
        "number": "14",
        "name": "P3.3",
        "type": "bidirectional",
        "description": "Standard I/O with INT1 external interrupt and SPI MISO, I2C SDA and PWM4N/PWM7 alternate functions; high-impedance input after power-on until the port mode is set."
      },
      {
        "number": "15",
        "name": "P3.4",
        "type": "bidirectional",
        "description": "Standard I/O with Timer 0 external clock input, Timer 1 clock output, SPI MOSI and comparator output CMPO alternate functions; high-impedance input after power-on until the port mode is set."
      },
      {
        "number": "16",
        "name": "P3.5",
        "type": "bidirectional",
        "description": "Standard I/O with Timer 1 external clock input, Timer 0 clock output, SPI SS and PWM fault input PWMFLT alternate functions; high-impedance input after power-on until the port mode is set."
      },
      {
        "number": "17",
        "name": "P3.6",
        "type": "bidirectional",
        "description": "Standard I/O with INT2 external interrupt, UART1 RxD alternate and comparator negative input CMP-; high-impedance input after power-on until the port mode is set."
      },
      {
        "number": "18",
        "name": "P3.7",
        "type": "bidirectional",
        "description": "Standard I/O with INT3 external interrupt, UART2 TxD alternate and comparator positive input CMP+; high-impedance input after power-on until the port mode is set."
      },
      {
        "number": "19",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "Standard I/O port with ADC1 analog input and PWM1N output, and UART2 TxD alternate function; high-impedance input after power-on until the port mode is set."
      },
      {
        "number": "20",
        "name": "P1.0",
        "type": "bidirectional",
        "description": "Standard I/O port with ADC0 analog input and PWM1P output, and UART2 RxD alternate function; high-impedance input after power-on until the port mode is set."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The datasheet gives no separate TSSOP-20 pinout for STC32G8K48. The pinout below is taken from the S",
          "1/20 pins cited to the wrong page (name found elsewhere): ['9:ADC_VRef+@p316']"
        ],
        "pages_sent": 108,
        "cost_usd": 0.2295,
        "at": "2026-10-27T02:05:09"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/8fe4cdefdfe8ba1a5b5a614521aecf58.pdf",
        "pages": 1887,
        "sha256": "59bba1d366cc8d33",
        "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": "stc32g8k48-42i-tssop20.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-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc32g8k48-42i-tssop20-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": "e6a115b2fa48ef01e5ce98515ad61bc183005b53b2db4f51159435eb67622741",
        "checked": "2026-10-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STC Micro",
      "Package": "TSSOP-20",
      "Category": "Single Chip Microcomputer/Microcontroller",
      "Pins": "20"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "59bba1d366cc8d33c15d659c37a769d3d5458b5a2e474aec60e65aabc3257f00",
      "rows": [
        {
          "name": "Operating temperature",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "使用内部高速 IRC 和外部晶振",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature (external high-temperature crystal)",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 125,
          "conditions": "当温度高于85℃时请使用外部耐高温晶振,且工作频率建议控制在24M以下",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "Operating voltage",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.9,
          "typ": null,
          "max": 5.5,
          "conditions": "当工作温度低于-40℃时,工作电压不得低于3.0V",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "Storage temperature",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -55,
          "typ": null,
          "max": 155,
          "conditions": "",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "VDD to ground voltage",
          "symbol": "VDD",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 5.5,
          "conditions": "VDD 对地电压",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "I/O port voltage to ground",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": null,
          "conditions": "I/O 口对地电压; max printed as VDD+0.3",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "Internal IRC temperature drift (-20℃ to 65℃)",
          "symbol": "",
          "kind": "tolerance",
          "unit": "%",
          "min": -0.88,
          "typ": null,
          "max": 1.05,
          "conditions": "-20℃~65℃, 参考温度25℃",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "Internal IRC temperature drift (-40℃ to 85℃)",
          "symbol": "",
          "kind": "tolerance",
          "unit": "%",
          "min": -1.38,
          "typ": null,
          "max": 1.42,
          "conditions": "-40℃~85℃, 参考温度25℃",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "Internal IRC temperature drift (-40℃ to 125℃)",
          "symbol": "",
          "kind": "tolerance",
          "unit": "%",
          "min": -3,
          "typ": null,
          "max": 3,
          "conditions": "-40℃~125℃, 参考温度25℃",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "Input low voltage (Schmitt trigger on)",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 1.32,
          "conditions": "VSS=0V,VDD=5.0V,测试温度=25℃; 打开施密特触发",
          "source_page": 1657,
          "source": "datasheet"
        },
        {
          "name": "Input low voltage (Schmitt trigger off)",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 1.48,
          "conditions": "VSS=0V,VDD=5.0V,测试温度=25℃; 关闭施密特触发",
          "source_page": 1657,
          "source": "datasheet"
        },
        {
          "name": "Input high voltage (general I/O, Schmitt trigger on)",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 1.6,
          "typ": null,
          "max": null,
          "conditions": "VSS=0V,VDD=5.0V,测试温度=25℃; 打开施密特触发",
          "source_page": 1657,
          "source": "datasheet"
        },
        {
          "name": "Input high voltage (general I/O, Schmitt trigger off)",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 1.54,
          "typ": null,
          "max": null,
          "conditions": "VSS=0V,VDD=5.0V,测试温度=25℃; 关闭施密特触发",
          "source_page": 1657,
          "source": "datasheet"
        },
        {
          "name": "Logic 0 input current",
          "symbol": "IIL",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": null,
          "max": 50,
          "conditions": "VSS=0V,VDD=5.0V,测试温度=25℃; 端口电压 0V",
          "source_page": 1657,
          "source": "datasheet"
        },
        {
          "name": "Logic 1 to 0 transition current",
          "symbol": "ITL",
          "kind": "electrical",
          "unit": "uA",
          "min": 100,
          "typ": 270,
          "max": 600,
          "conditions": "VSS=0V,VDD=5.0V,测试温度=25℃; 端口电压 2.0V",
          "source_page": 1657,
          "source": "datasheet"
        },
        {
          "name": "I/O pull-up resistor",
          "symbol": "RPU",
          "kind": "electrical",
          "unit": "KΩ",
          "min": 4.1,
          "typ": 4.2,
          "max": 4.4,
          "conditions": "VSS=0V,VDD=5.0V,测试温度=25℃",
          "source_page": 1657,
          "source": "datasheet"
        },
        {
          "name": "Normal operating mode current",
          "symbol": "ICC",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 4,
          "max": 20,
          "conditions": "VSS=0V,VDD=5.0V,测试温度=25℃",
          "source_page": 1657,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc32g8k48-42i-tssop20"
  ],
  "discovery_pitch": "STC32G8K48-42I-TSSOP20 (STC Micro) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc32g8k48-42i-tssop20.kicad_sym",
    "stc32g8k48-42i-tssop20.kicad_mod",
    "stc32g8k48-42i-tssop20.glb",
    "stc32g8k48-42i-tssop20.step",
    "stc32g8k48-42i-tssop20.lbr",
    "docs/hero.png",
    "docs/stc32g8k48-42i-tssop20-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc32g8k48-42i-tssop20-hero.glb",
    "stc32g8k48-42i-tssop20-hero.overlay.json",
    "stc32g8k48-42i-tssop20-etched.glb"
  ],
  "visibility": {
    "public": true
  }
}