main
Ray stc8g1k08-38i-tssop20: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding) b5d5712 22h ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc8g1k08-38i-tssop20",
  "title": "STC8G1K08-38I-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",
    "stc8g1k08-38i-tssop20"
  ],
  "component": {
    "mpn": "STC8G1K08-38I-TSSOP20",
    "manufacturer": "STC Micro",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "MCU",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/5b76295ab6e43792073a51d0ce1481a3.pdf",
    "parts": {
      "symbol": "stc8g1k08-38i-tssop20.kicad_sym",
      "footprint": "stc8g1k08-38i-tssop20.kicad_mod",
      "model_3d": "stc8g1k08-38i-tssop20-etched.glb",
      "model_3d_plain": "stc8g1k08-38i-tssop20.glb",
      "model_3d_step": "stc8g1k08-38i-tssop20-etched.step",
      "model_3d_step_plain": "stc8g1k08-38i-tssop20.step",
      "lbr": "stc8g1k08-38i-tssop20.lbr"
    },
    "distributor_links": {
      "lcsc": "C521757"
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.2/ADC2/SS/T2/ECI",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.2. Muxed alt-functions: ADC channel 2 (analog input), SPI slave-select SS (I/O), Timer 2 external clock input (T2), and PCA external pulse input (ECI). Post-reset state: high-impedance input."
      },
      {
        "number": "2",
        "name": "P1.3/ADC3/T2CLKO/MOSI",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.3. Muxed alt-functions: ADC channel 3, Timer 2 clock-divider output (T2CLKO), and SPI master-out/slave-in (MOSI, I/O)."
      },
      {
        "number": "3",
        "name": "P1.4/ADC4/MISO/SDA",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.4. Muxed alt-functions: ADC channel 4, SPI master-in/slave-out (MISO, I/O), and I2C data line (SDA, I/O, open-drain when used as I2C)."
      },
      {
        "number": "4",
        "name": "P1.5/ADC5/SCLK/SCL",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.5. Muxed alt-functions: ADC channel 5, SPI clock (SCLK, I/O), and I2C clock line (SCL, I/O)."
      },
      {
        "number": "5",
        "name": "P1.6/ADC6/RxD_3/MCLKO_2/XTALO",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.6. Muxed alt-functions: ADC channel 6, UART1 RxD alternate mapping 3, master-clock divider output (MCLKO_2), and external crystal output (XTALO) when using an external HSE crystal."
      },
      {
        "number": "6",
        "name": "P1.7/ADC7/TxD_3/XTALI",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.7. Muxed alt-functions: ADC channel 7, UART1 TxD alternate mapping 3, and external crystal input (XTALI) when using an external HSE crystal."
      },
      {
        "number": "7",
        "name": "P5.4/NRST/MCLKO",
        "type": "bidirectional",
        "description": "General-purpose I/O P5.4. Alt-functions: active-low external reset input (NRST, low-level reset) when configured as reset pin, or master-clock divider output (MCLKO). When used as reset, the internal ~4 kΩ pull-up stays on; when used as I/O, that pull-up still enables for ~6.5 ms on power-up before auto-disable."
      },
      {
        "number": "8",
        "name": "Vcc/AVcc/ADC_VRef+",
        "type": "power_in",
        "description": "Combined chip power supply (Vcc), analog ADC supply (AVcc) and ADC positive reference (ADC_VRef+). Operating supply 2.7-5.5 V typical for the STC8G family; this -38I variant is characterised over the 3.8-5.5 V industrial range. ADC_VRef+ must be tied to an external reference between 2.4 V and Vcc (floating causes leakage). Decouple with 10 µF bulk + 0.1 µF close to the pin."
      },
      {
        "number": "9",
        "name": "P5.5",
        "type": "bidirectional",
        "description": "General-purpose I/O P5.5, no alt-functions on this package. Post-reset state: high-impedance input."
      },
      {
        "number": "10",
        "name": "Gnd/AGnd",
        "type": "power_in",
        "description": "Combined digital and analog ground return. Digital Gnd and analog AGnd are bonded to a single package pin on TSSOP20."
      },
      {
        "number": "11",
        "name": "P3.0/RxD/ADC8/INT4",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.0. Muxed alt-functions: UART1 receive (RxD), ADC channel 8, and external interrupt 4 (INT4). After power-on P3.0 comes up in weak-pull-up / quasi-bidirectional mode (unlike other pins)."
      },
      {
        "number": "12",
        "name": "P3.1/TxD/ADC9",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.1. Muxed alt-functions: UART1 transmit (TxD, output) and ADC channel 9. After power-on P3.1 comes up in weak-pull-up / quasi-bidirectional mode."
      },
      {
        "number": "13",
        "name": "P3.2/INT0/ADC10/SCL_4/SCLK_4",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.2. Muxed alt-functions: external interrupt 0 (INT0), ADC channel 10, I2C clock alternate mapping 4 (SCL_4), and SPI clock alternate mapping 4 (SCLK_4)."
      },
      {
        "number": "14",
        "name": "P3.3/INT1/ADC11/SDA_4/MISO_4",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.3. Muxed alt-functions: external interrupt 1 (INT1), ADC channel 11, I2C data alternate mapping 4 (SDA_4), and SPI MISO alternate mapping 4 (MISO_4)."
      },
      {
        "number": "15",
        "name": "P3.4/T0/T1CLKO/ADC12/ECI_2/CMPO/MOSI_4",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.4. Muxed alt-functions: Timer 0 external clock input (T0), Timer 1 clock-divider output (T1CLKO), ADC channel 12, PCA external pulse input alternate 2 (ECI_2), comparator output (CMPO), and SPI MOSI alternate mapping 4 (MOSI_4)."
      },
      {
        "number": "16",
        "name": "P3.5/T1/T0CLKO/ADC13/CCP0_2/SS_4",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.5. Muxed alt-functions: Timer 1 external clock input (T1), Timer 0 clock-divider output (T0CLKO), ADC channel 13, PCA CCP0 capture/compare/PWM alternate mapping 2 (CCP0_2), and SPI slave-select alternate mapping 4 (SS_4)."
      },
      {
        "number": "17",
        "name": "P3.6/INT2/RxD_2/ADC14/CCP1_2/CMP-",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.6. Muxed alt-functions: external interrupt 2 (INT2), UART1 RxD alternate mapping 2, ADC channel 14, PCA CCP1 alternate mapping 2 (CCP1_2), and comparator negative input (CMP-)."
      },
      {
        "number": "18",
        "name": "P3.7/INT3/TxD_2/CCP2/CCP2_2/CMP+",
        "type": "bidirectional",
        "description": "General-purpose I/O P3.7. Muxed alt-functions: external interrupt 3 (INT3), UART1 TxD alternate mapping 2, PCA CCP2 capture/compare/PWM (default and alternate 2 mappings), and comparator positive input (CMP+). Also serves as internal ADC15 reference tap (1.19 V bandgap) when configured for internal-reference measurements."
      },
      {
        "number": "19",
        "name": "P1.0/RxD2/ADC0/CCP1",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.0. Muxed alt-functions: UART2 receive (RxD2), ADC channel 0, and PCA CCP1 capture/compare/PWM (default mapping)."
      },
      {
        "number": "20",
        "name": "P1.1/TxD2/ADC1/CCP0",
        "type": "bidirectional",
        "description": "General-purpose I/O P1.1. Muxed alt-functions: UART2 transmit (TxD2), ADC channel 1, and PCA CCP0 capture/compare/PWM (default mapping)."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/5b76295ab6e43792073a51d0ce1481a3.pdf",
        "pages": 1240,
        "sha256": "7d5e82c9f651aa92",
        "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"
    },
    "models_3d": [
      {
        "file": "stc8g1k08-38i-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.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc8g1k08-38i-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.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "cf7824ebcecf7c0033b228a688884c3d35d56012a01170dac4be87e88f25c190",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STC Micro",
      "Package": "TSSOP-20",
      "Category": "MCU",
      "Pins": "20"
    }
  },
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc8g1k08-38i-tssop20"
  ],
  "discovery_pitch": "STC8G1K08-38I-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",
    "stc8g1k08-38i-tssop20.kicad_sym",
    "stc8g1k08-38i-tssop20.kicad_mod",
    "stc8g1k08-38i-tssop20.glb",
    "stc8g1k08-38i-tssop20.step",
    "stc8g1k08-38i-tssop20-etched.step",
    "stc8g1k08-38i-tssop20.lbr",
    "docs/hero.png",
    "docs/stc8g1k08-38i-tssop20-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  },
  "variants": [
    {
      "mpn": "STC8G1K08-38I-TSSOP20",
      "kind": "packaging"
    },
    {
      "mpn": "STC8G1K08-38I-QFN20",
      "kind": "unknown"
    },
    {
      "mpn": "STC8G1K08-38I-SOP16",
      "kind": "unknown"
    }
  ],
  "updated_at": "2026-09-25T08:29:42.219Z"
}