main
Ray Publish 0.1.1 b1552d4
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612
{
  "slug": "stc32g8k64-42i-qfn32",
  "version": "0.1.1",
  "type": "component",
  "description": "STC Micro Microcontrollers (MCU/MPU/SOC), QFN-32-EP(4x4). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stc32g8k64-42i-qfn32",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc32g8k64-42i-qfn32.kicad_sym",
    "stc32g8k64-42i-qfn32.kicad_mod",
    "stc32g8k64-42i-qfn32.glb",
    "stc32g8k64-42i-qfn32.step",
    "stc32g8k64-42i-qfn32.lbr",
    "docs/hero.png",
    "docs/stc32g8k64-42i-qfn32-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc32g8k64-42i-qfn32-hero.glb",
    "stc32g8k64-42i-qfn32-hero.overlay.json",
    "stc32g8k64-42i-qfn32-etched.glb",
    "stc32g8k64-42i-qfn32-etched.step"
  ],
  "component": {
    "mpn": "STC32G8K64-42I-QFN32",
    "manufacturer": "STC Micro",
    "package": "QFN-32-EP(4x4)",
    "pin_count": 33,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/8fe4cdefdfe8ba1a5b5a614521aecf58.pdf",
    "parts": {
      "symbol": "stc32g8k64-42i-qfn32.kicad_sym",
      "footprint": "stc32g8k64-42i-qfn32.kicad_mod",
      "model_3d": "stc32g8k64-42i-qfn32-hero.glb",
      "model_3d_plain": "stc32g8k64-42i-qfn32.glb",
      "model_3d_step": "stc32g8k64-42i-qfn32-etched.step",
      "model_3d_step_plain": "stc32g8k64-42i-qfn32.step",
      "lbr": "stc32g8k64-42i-qfn32.lbr"
    },
    "distributor_links": {
      "lcsc": "C20613519"
    },
    "distributor_check": {
      "checked_at": "2026-11-05T10:33:15Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.0",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also ADC0 analog input, PWM1P capture/output, and RxD2 (UART2 receive)."
      },
      {
        "number": "2",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also ADC1 analog input, PWM1N complementary output, and TxD2 (UART2 transmit)."
      },
      {
        "number": "3",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also ADC4 analog input, PWM3P output, SPI MISO, USART1/USART2 SPI MISO, and I2C SDA."
      },
      {
        "number": "4",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also ADC5 analog input, PWM3N output, SPI SCLK, USART1/USART2 SPI clock, I2C SCL, and I2S bit clock (I2SCK_2)."
      },
      {
        "number": "5",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also ADC6 analog input, RxD_3 (UART1 receive), PWM4P, MCLKO_2 master clock output, XTALO external crystal output, and I2S master clock outputs."
      },
      {
        "number": "6",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also ADC7 analog input, TxD_3 (UART1 transmit), PWM4N, PWM5_2, and XTALI external crystal/clock input."
      },
      {
        "number": "7",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also ADC3 analog input, SPI MOSI, USART1/USART2 SPI MOSI, PWM2N complementary output, T2CLKO timer 2 clock output, and I2S data (I2SSD_2)."
      },
      {
        "number": "8",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also PWM2P output, SPI SS, USART1/USART2 SPI SS, and T2 external timer 2 clock input; this package has no UCAP pin at this position."
      },
      {
        "number": "9",
        "name": "P5.4",
        "type": "bidirectional",
        "description": "Standard I/O port pin by default; can be set by ISP as active-low nRST reset input, also ADC2 input and MCLKO clock output, and its internal 4K pull-up stays on about 6.5 ms after power-up when used as I/O."
      },
      {
        "number": "10",
        "name": "Vcc/AVcc",
        "type": "power_in",
        "description": "Main supply pin for the MCU (Vcc) and the ADC supply (AVcc); the feature table specifies 1.9 V to 5.5 V operation."
      },
      {
        "number": "11",
        "name": "ADC_VRef+",
        "type": "power_in",
        "description": "ADC external reference voltage pin, which must be connected to an external reference from 2.4 V up to MCU-VCC because floating causes leakage current."
      },
      {
        "number": "12",
        "name": "Gnd/AGnd",
        "type": "power_in",
        "description": "Ground pin for the digital circuitry (Gnd) and the ADC analog ground (AGnd)."
      },
      {
        "number": "13",
        "name": "P3.0",
        "type": "bidirectional",
        "description": "Standard I/O port pin (quasi-bidirectional after power-up), also UART1 receive RxD and external interrupt INT4; P3.0, P3.1 and P3.2 must not all be low at power-up unless USB ISP entry is wanted."
      },
      {
        "number": "14",
        "name": "P3.1",
        "type": "bidirectional",
        "description": "Standard I/O port pin (quasi-bidirectional after power-up), also UART1 transmit TxD; P3.0/P3.1 form the ISP download and emulation interface."
      },
      {
        "number": "15",
        "name": "P3.2",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also external interrupt INT0, SPI SCLK_4, I2C SCL_4, PWM external trigger inputs PWMETI/PWMETI2, and I2S clock I2SCK; it is used for the ISP mode check at power-up."
      },
      {
        "number": "16",
        "name": "P3.3",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also external interrupt INT1, SPI MISO_4, I2C SDA_4, PWM4N_4 complementary output, and PWM7_2."
      },
      {
        "number": "17",
        "name": "P3.4",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also Timer 0 external clock input T0, T1CLKO timer 1 clock output, SPI MOSI_4, PWM4P_4, PWM8_2, comparator output CMPO, and I2S data (I2SSD)."
      },
      {
        "number": "18",
        "name": "P3.5",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also Timer 1 external clock input T1, T0CLKO timer 0 clock output, SPI SS_4, PWM external fault input PWMFLT/PWMFLT2, and I2S word select (I2SWS)."
      },
      {
        "number": "19",
        "name": "P3.6",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also external interrupt INT2, UART1 alternate receive RxD_2, and comparator negative input CMP-."
      },
      {
        "number": "20",
        "name": "P3.7",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also external interrupt INT3, UART2 alternate transmit TxD_2, and comparator positive input CMP+."
      },
      {
        "number": "21",
        "name": "P2.0",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also external address bus A8, PWM1P_2 capture/output, and PWM5 output."
      },
      {
        "number": "22",
        "name": "P2.1",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also external address bus A9, PWM1N_2 complementary output, and PWM6 output."
      },
      {
        "number": "23",
        "name": "P2.2",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also external address bus A10, PWM2P_2, PWM7, SPI SS_2, USART1/USART2 SPI SS, and I2S word select (I2SWS_3)."
      },
      {
        "number": "24",
        "name": "P2.3",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also external address bus A11, PWM2N_2, PWM8, SPI MOSI_2, USART1/USART2 SPI MOSI, and I2S data (I2SSD_3)."
      },
      {
        "number": "25",
        "name": "P2.4",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also external address bus A12, PWM3P_2, SPI MISO_2, USART1/USART2 SPI MISO, and I2C SDA_2."
      },
      {
        "number": "26",
        "name": "P2.5",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also external address bus A13, PWM3N_2, SPI SCLK_2, USART1/USART2 SPI clock, I2C SCL_2, and I2S bit clock (I2SCK_3)."
      },
      {
        "number": "27",
        "name": "P2.6",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also external address bus A14 and PWM4P_2 capture/output."
      },
      {
        "number": "28",
        "name": "P2.7",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also external address bus A15 and PWM4N_2 complementary output."
      },
      {
        "number": "29",
        "name": "P0.0",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also address/data bus AD0, ADC8 analog input, UART3 receive RxD3, PWM5_3, Timer 3 external input T3_2, and CAN receive CAN_RX."
      },
      {
        "number": "30",
        "name": "P0.1",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also address/data bus AD1, ADC9 analog input, UART3 transmit TxD3, PWM6_3, T3CLKO_2 timer 3 clock output, and CAN transmit CAN_TX."
      },
      {
        "number": "31",
        "name": "P0.2",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also address/data bus AD2, ADC10 analog input, UART4 receive RxD4, PWM7_3, Timer 4 external input T4_2, CAN2_RX, and LIN_RX."
      },
      {
        "number": "32",
        "name": "P0.3",
        "type": "bidirectional",
        "description": "Standard I/O port pin, also address/data bus AD3, ADC11 analog input, UART4 transmit TxD4, PWM8_3, T4CLKO_2 timer 4 clock output, CAN2_TX, and LIN_TX."
      },
      {
        "number": "33",
        "name": "EP",
        "type": "passive",
        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."
      }
    ],
    "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 QFN32 4x4 package has an exposed pad, but the datasheet does not give its pad number or electric; The datasheet has no separate QFN32 pin table. Numbers come from the pin diagram on PAGE 271 (labell; The pin description table rows for P2.x and P3.7 (PAGE 318-319) are not in the provided text. Their ",
          "exposed pad 33 added from the footprint",
          "1/33 pins cited to the wrong page (name found elsewhere): ['11:ADC_VRef+@p316']"
        ],
        "pages_sent": 108,
        "cost_usd": 1.0837,
        "at": "2026-11-05T10:32:40"
      },
      "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": 33,
        "described": 33,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stc32g8k64-42i-qfn32.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          4.0,
          4.0,
          0.6
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "7b482a511cdf2cf875c31931f9fea7f745b8dac2ea6203531cd6604f40a290cb",
        "checked": "2026-11-05",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc32g8k64-42i-qfn32-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          4.0,
          4.0,
          0.6
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "f4f867a833f0346db3eeb3f1ba7ca47d5df96db26b0f1ca0b02013cc93cefc6b",
        "checked": "2026-11-05",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "QFN32 (4mm*4mm)",
      "source_page": 426,
      "D": {
        "nom_mm": 4.0,
        "range_mm": [
          3.9,
          4.1
        ]
      },
      "E1": {
        "nom_mm": 4.0,
        "range_mm": [
          3.9,
          4.1
        ]
      },
      "e": {
        "nom_mm": 0.4,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 0.75,
        "range_mm": [
          0.7,
          0.8
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "stc32g8k64-42i-qfn32.step",
        "verdict": "PASS",
        "reasons": [
          "height within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  },
  "title": "STC32G8K64-42I-QFN32",
  "brief": "STC Micro Microcontrollers (MCU/MPU/SOC), QFN-32-EP(4x4). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "metadata": {
    "specs": {
      "Manufacturer": "STC Micro",
      "Package": "QFN-32-EP(4x4)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "33"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "59bba1d366cc8d33c15d659c37a769d3d5458b5a2e474aec60e65aabc3257f00",
      "rows": [
        {
          "name": "工作温度",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "使用内部高速 IRC 和外部晶振",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "工作温度",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 125,
          "conditions": "",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "工作电压",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.9,
          "typ": null,
          "max": 5.5,
          "conditions": "工作温度低于-40℃时,工作电压不得低于 3.0V",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "VDD 对地电压",
          "symbol": "VDD",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "I/O 口对地电压",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "存储温度",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -55,
          "typ": null,
          "max": 155,
          "conditions": "",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "内部 IRC 温漂 (-20℃~65℃)",
          "symbol": "",
          "kind": "tolerance",
          "unit": "%",
          "min": -0.88,
          "typ": null,
          "max": 1.05,
          "conditions": "-20℃~65℃,参考温度 25℃",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "内部 IRC 温漂 (-40℃~85℃)",
          "symbol": "",
          "kind": "tolerance",
          "unit": "%",
          "min": -1.38,
          "typ": null,
          "max": 1.42,
          "conditions": "-40℃~85℃,参考温度 25℃",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "内部 IRC 温漂 (-40℃~125℃)",
          "symbol": "",
          "kind": "tolerance",
          "unit": "%",
          "min": -3,
          "typ": null,
          "max": 3,
          "conditions": "-40℃~125℃,参考温度 25℃",
          "source_page": 1656,
          "source": "datasheet"
        },
        {
          "name": "输入高电平(普通 I/O)",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 1.6,
          "typ": null,
          "max": null,
          "conditions": "VDD=5.0V, 25℃; 打开施密特触发",
          "source_page": 1657,
          "source": "datasheet"
        },
        {
          "name": "输入高电平(普通 I/O)",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 1.54,
          "typ": null,
          "max": null,
          "conditions": "VDD=5.0V, 25℃; 关闭施密特触发",
          "source_page": 1657,
          "source": "datasheet"
        },
        {
          "name": "输入低电平",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 1.32,
          "conditions": "VDD=5.0V, 25℃; 打开施密特触发",
          "source_page": 1657,
          "source": "datasheet"
        },
        {
          "name": "输入低电平",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 1.48,
          "conditions": "VDD=5.0V, 25℃; 关闭施密特触发",
          "source_page": 1657,
          "source": "datasheet"
        },
        {
          "name": "逻辑 0 输入电流",
          "symbol": "IIL",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": null,
          "max": 50,
          "conditions": "VDD=5.0V, 25℃; 端口电压 0V",
          "source_page": 1657,
          "source": "datasheet"
        },
        {
          "name": "逻辑 1 到 0 的转移电流",
          "symbol": "ITL",
          "kind": "electrical",
          "unit": "uA",
          "min": 100,
          "typ": 270,
          "max": 600,
          "conditions": "VDD=5.0V, 25℃; 端口电压 2.0V",
          "source_page": 1657,
          "source": "datasheet"
        },
        {
          "name": "I/O 口上拉电阻",
          "symbol": "RPU",
          "kind": "electrical",
          "unit": "KΩ",
          "min": 4.1,
          "typ": 4.2,
          "max": 4.4,
          "conditions": "VDD=5.0V, 25℃",
          "source_page": 1657,
          "source": "datasheet"
        },
        {
          "name": "普通工作模式电流",
          "symbol": "ICC",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 4,
          "max": 20,
          "conditions": "VDD=5.0V, 25℃",
          "source_page": 1657,
          "source": "datasheet"
        }
      ]
    }
  },
  "discovery_triggers": [
    "stc32g8k64-42i-qfn32"
  ],
  "discovery_pitch": "STC32G8K64-42I-QFN32 (STC Micro) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "visibility": "public"
}