component
STC32G12K128-35I-QFN32
Public Made by Adomby adom
STC Micro Microcontrollers (MCU/MPU/SOC), QFN-32(4x4). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
{
"slug": "stc32g12k128-35i-qfn32",
"version": "0.1.0",
"type": "component",
"description": "STC Micro Microcontrollers (MCU/MPU/SOC), QFN-32(4x4). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"tags": [
"component",
"embedded processors & controllers",
"stc32g12k128-35i-qfn32",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stc32g12k128-35i-qfn32.kicad_sym",
"stc32g12k128-35i-qfn32.kicad_mod",
"stc32g12k128-35i-qfn32.glb",
"stc32g12k128-35i-qfn32.step",
"stc32g12k128-35i-qfn32.lbr",
"docs/hero.png",
"docs/stc32g12k128-35i-qfn32-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stc32g12k128-35i-qfn32-hero.glb",
"stc32g12k128-35i-qfn32-hero.overlay.json"
],
"component": {
"mpn": "STC32G12K128-35I-QFN32",
"manufacturer": "STC Micro",
"package": "QFN-32(4x4)",
"pin_count": 33,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756362580740841472",
"parts": {
"symbol": "stc32g12k128-35i-qfn32.kicad_sym",
"footprint": "stc32g12k128-35i-qfn32.kicad_mod",
"model_3d": "stc32g12k128-35i-qfn32-hero.glb",
"model_3d_plain": "stc32g12k128-35i-qfn32.glb",
"model_3d_step": "stc32g12k128-35i-qfn32-etched.step",
"model_3d_step_plain": "stc32g12k128-35i-qfn32.step",
"lbr": "stc32g12k128-35i-qfn32.lbr"
},
"distributor_links": {
"lcsc": "C5457072"
},
"distributor_check": {
"checked_at": "2026-10-09T12:47:30Z",
"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 bidirectional GPIO that can also serve as ADC0 analog input, PWM1P capture/output positive, and UART2 RxD; it supports quasi-bidirectional, push-pull, open-drain and high-impedance input modes and is high-impedance after power-up until its mode is set."
},
{
"number": "2",
"name": "P1.1",
"type": "bidirectional",
"description": "Standard bidirectional GPIO that can also serve as ADC1 analog input, PWM1N complementary output and UART2 TxD; it is high-impedance after power-up until its mode is set."
},
{
"number": "3",
"name": "P1.4",
"type": "bidirectional",
"description": "Standard bidirectional GPIO that can also serve as ADC4 input, PWM3P output, SPI MISO/USART SPI MISO, or I2C SDA; it is high-impedance after power-up until its mode is set."
},
{
"number": "4",
"name": "P1.5",
"type": "bidirectional",
"description": "Standard bidirectional GPIO that can also serve as ADC5 input, PWM3N output, SPI SCLK or I2C SCL; it is high-impedance after power-up until its mode is set."
},
{
"number": "5",
"name": "P1.6",
"type": "bidirectional",
"description": "Standard bidirectional GPIO that can also serve as ADC6 input, UART1 RxD, PWM4P, main clock output MCLKO_2 and the external crystal output XTALO; it is high-impedance after power-up until its mode is set."
},
{
"number": "6",
"name": "P1.7",
"type": "bidirectional",
"description": "Standard bidirectional GPIO that can also serve as ADC7 input, UART1 TxD, PWM4N, PWM5 and the external crystal/clock input XTALI; it is high-impedance after power-up until its mode is set."
},
{
"number": "7",
"name": "P1.3",
"type": "bidirectional",
"description": "Standard bidirectional GPIO that can also serve as ADC3 input, SPI MOSI, PWM2N, Timer 2 clock output T2CLKO and I2S data; it is high-impedance after power-up until its mode is set."
},
{
"number": "8",
"name": "UCap",
"type": "passive",
"description": "USB core power regulator pin, which the datasheet describes as the USB core supply stabilization pin (connect per the application circuit; the text gives no further electrical limit)."
},
{
"number": "9",
"name": "P5.4",
"type": "bidirectional",
"description": "Standard I/O by default; it can be configured as the active-low reset input nRST through ISP (requires a power cycle to take effect), and when used as a reset pin its internal 4K pull-up stays on, while as a plain I/O it stays on for about 6.5 ms after power-up."
},
{
"number": "10",
"name": "Vcc/AVcc",
"type": "power_in",
"description": "Main supply pin for the MCU and the ADC supply; the part operates from 1.9 V to 5.5 V (below -40 °C the supply must not be under 3.0 V)."
},
{
"number": "11",
"name": "ADC_VRef+",
"type": "power_in",
"description": "External ADC reference voltage input that must be connected to a reference between 2.4 V and MCU-VCC, since leaving it floating causes leakage current."
},
{
"number": "12",
"name": "Gnd/AGnd",
"type": "power_in",
"description": "Ground pin for digital and analog (ADC) circuits."
},
{
"number": "13",
"name": "P3.0",
"type": "bidirectional",
"description": "Bidirectional GPIO that is weak-pull-up/quasi-bidirectional after power-up and also serves as USB D- data line, UART1 RxD and external interrupt INT4; during power-up P3.0 and P3.1 both low triggers USB download mode."
},
{
"number": "14",
"name": "P3.1",
"type": "bidirectional",
"description": "Bidirectional GPIO that is weak-pull-up/quasi-bidirectional after power-up and also serves as USB D+ data line and UART1 TxD; it is used with P3.0 for ISP/emulation."
},
{
"number": "15",
"name": "P3.2",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as external interrupt INT0, SPI SCLK_4, I2C SCL_4 and PWM external trigger inputs PWMETI/PWMETI2; it is driven high during power-up and is the USB download-mode select pin when held low at power-up."
},
{
"number": "16",
"name": "P3.3",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as external interrupt INT1, SPI MISO_4, I2C SDA_4, PWM4N_4 and PWM7_2 output."
},
{
"number": "17",
"name": "P3.4",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as Timer 0 external clock input T0, Timer 1 clock output T1CLKO, SPI MOSI_4, PWM4P_4, PWM8_2 and comparator output CMPO."
},
{
"number": "18",
"name": "P3.5",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as Timer 1 external clock input T1, Timer 0 clock output T0CLKO, SPI SS_4 and the enhanced-PWM external fault input PWMFLT."
},
{
"number": "19",
"name": "P3.6",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as external interrupt INT2, UART1 RxD_2 and comparator negative input CMP-."
},
{
"number": "20",
"name": "P3.7",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as external interrupt INT3, UART2 TxD_2 and comparator positive input CMP+."
},
{
"number": "21",
"name": "P2.0",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as address bus A8 (external bus), PWM1P_2 and PWM5 output."
},
{
"number": "22",
"name": "P2.1",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as address bus A9 (external bus), PWM1N_2 and PWM6 output."
},
{
"number": "23",
"name": "P2.2",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as address bus A10 (external bus), PWM2P_2, PWM7, and SPI SS_2 / USART SPI slave select."
},
{
"number": "24",
"name": "P2.3",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as address bus A11 (external bus), PWM2N_2, PWM8, and SPI MOSI_2 / USART SPI MOSI."
},
{
"number": "25",
"name": "P2.4",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as address bus A12 (external bus), PWM3P_2, I2C SDA_2 and SPI MISO_2 / USART SPI MISO."
},
{
"number": "26",
"name": "P2.5",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as address bus A13 (external bus), PWM3N_2, I2C SCL_2 and SPI SCLK_2 / USART SPI clock."
},
{
"number": "27",
"name": "P2.6",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as address bus A14 (external bus) and PWM4P_2 output."
},
{
"number": "28",
"name": "P2.7",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as address bus A15 (external bus) and PWM4N_2 output."
},
{
"number": "29",
"name": "P0.0",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as address/data bus AD0, ADC8 input, UART3 RxD, PWM5_3, Timer 3 external clock T3_2 and CAN RX."
},
{
"number": "30",
"name": "P0.1",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as address/data bus AD1, ADC9 input, UART3 TxD, PWM6_3, Timer 3 clock output T3CLKO_2 and CAN TX."
},
{
"number": "31",
"name": "P0.2",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as address/data bus AD2, ADC10 input, UART4 RxD, PWM7_3, Timer 4 external clock T4_2, CAN2 RX and LIN RX."
},
{
"number": "32",
"name": "P0.3",
"type": "bidirectional",
"description": "Bidirectional GPIO that also serves as address/data bus AD3, ADC11 input, UART4 TxD, PWM8_3, Timer 4 clock output T4CLKO_2, 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 provided text has no separate QFN32 pin table. The QFN32 pin map is the shared 'LQFP32/QFN32' dr; Pin descriptions for P2.0-P2.7 and P0.0 are in the pin description table on datasheet pages 242-244 ; Pin 8 UCap is typed 'passive'. The datasheet's own table marks it as 'I' (USB core power regulator p",
"exposed pad 33 added from the footprint"
],
"pages_sent": 108,
"cost_usd": 1.0811,
"at": "2026-10-09T12:44:56"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756362580740841472",
"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": "stc32g12k128-35i-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-10-09",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stc32g12k128-35i-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": "4bef0523300c01a2bef10e1a9087c603efdf7098255550440395bdfbc4dd0db1",
"checked": "2026-10-09",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}