component
STC32G12K128-35I-LQFP32
Public Made by Adomby adom
STC Micro Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
{
"slug": "stc32g12k128-35i-lqfp32",
"version": "0.1.0",
"type": "component",
"description": "STC Micro Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"tags": [
"component",
"embedded processors & controllers",
"stc32g12k128-35i-lqfp32",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stc32g12k128-35i-lqfp32.kicad_sym",
"stc32g12k128-35i-lqfp32.kicad_mod",
"stc32g12k128-35i-lqfp32.glb",
"stc32g12k128-35i-lqfp32.step",
"stc32g12k128-35i-lqfp32.lbr",
"docs/hero.png",
"docs/stc32g12k128-35i-lqfp32-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stc32g12k128-35i-lqfp32-hero.glb",
"stc32g12k128-35i-lqfp32-hero.overlay.json",
"stc32g12k128-35i-lqfp32-etched.glb"
],
"component": {
"mpn": "STC32G12K128-35I-LQFP32",
"manufacturer": "STC Micro",
"package": "LQFP-32(7x7)",
"pin_count": 32,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756362504647913472",
"parts": {
"symbol": "stc32g12k128-35i-lqfp32.kicad_sym",
"footprint": "stc32g12k128-35i-lqfp32.kicad_mod",
"model_3d": "stc32g12k128-35i-lqfp32-hero.glb",
"model_3d_plain": "stc32g12k128-35i-lqfp32-etched.glb",
"model_3d_step": "stc32g12k128-35i-lqfp32-etched.step",
"model_3d_step_plain": "stc32g12k128-35i-lqfp32.step",
"lbr": "stc32g12k128-35i-lqfp32.lbr"
},
"distributor_links": {
"lcsc": "C5210759"
},
"distributor_check": {
"checked_at": "2026-10-18T19:36:41Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "quota"
},
"mouser": {
"pn": null,
"status": "quota"
}
},
"pins": [
{
"number": "1",
"name": "P1.0",
"type": "bidirectional",
"description": "Standard bidirectional I/O port pin that also serves as ADC analog input channel 0, PWM1 positive capture input/pulse output, and UART2 receive (RxD2)."
},
{
"number": "2",
"name": "P1.1",
"type": "bidirectional",
"description": "Standard bidirectional I/O port pin that also serves as ADC analog input channel 1, PWM1 negative pulse output, and UART2 transmit (TxD2)."
},
{
"number": "3",
"name": "P1.4",
"type": "bidirectional",
"description": "Standard bidirectional I/O port pin that also serves as ADC analog input channel 4, PWM3 positive capture/pulse output, SPI MISO, USART1/USART2 SPI MISO, and I2C SDA."
},
{
"number": "4",
"name": "P1.5",
"type": "bidirectional",
"description": "Standard bidirectional I/O port pin that also serves as ADC analog input channel 5, PWM3 negative pulse output, SPI SCLK, USART1/USART2 SPI clock, and I2C SCL."
},
{
"number": "5",
"name": "P1.6",
"type": "bidirectional",
"description": "Standard bidirectional I/O port pin that also serves as ADC analog input channel 6, UART1 receive (RxD_3), PWM4 positive capture/pulse output, master clock output (MCLKO_2), and external crystal output (XTALO)."
},
{
"number": "6",
"name": "P1.7",
"type": "bidirectional",
"description": "Standard bidirectional I/O port pin that also serves as ADC analog input channel 7, UART1 transmit (TxD_3), PWM4 negative pulse output, PWM5 capture/pulse output, and external crystal/clock input (XTALI)."
},
{
"number": "7",
"name": "P1.3",
"type": "bidirectional",
"description": "Standard bidirectional I/O port pin that also serves as ADC analog input channel 3, SPI MOSI, USART1/USART2 SPI MOSI, PWM2 negative pulse output, and Timer 2 clock divider output (T2CLKO)."
},
{
"number": "8",
"name": "UCap",
"type": "passive",
"description": "USB core power regulator stabilization pin."
},
{
"number": "9",
"name": "P5.4",
"type": "bidirectional",
"description": "Standard I/O port pin; factory default is I/O, and it can be set as the active-low reset input nRST (reset level low) through ISP programming, which takes effect after a power cycle; it also serves as MCLKO, SPI/USART SS, Timer 2 input (T2), ADC analog input channel 2, and PWM2/PWM6 output."
},
{
"number": "10",
"name": "Vcc/AVcc",
"type": "power_in",
"description": "Main supply pin (Vcc) and ADC supply pin (AVcc); operating voltage is 1.9 V to 5.5 V, and must not be below 3.0 V when operating below -40 °C."
},
{
"number": "11",
"name": "ADC_VRef+",
"type": "input",
"description": "ADC external reference voltage pin, which must be connected to an external reference supply of 2.4 V to MCU-VCC, since floating it causes leakage current."
},
{
"number": "12",
"name": "Gnd/AGnd",
"type": "power_in",
"description": "Ground pin for the digital circuit (Gnd) and ADC ground (AGnd)."
},
{
"number": "13",
"name": "P3.0",
"type": "bidirectional",
"description": "Standard I/O port pin that is quasi-bidirectional (weak pull-up) after power-up and also serves as USB D- data, UART1 receive (RxD), and external interrupt INT4; it is used for ISP download/emulation, so it should not be loaded with other circuits."
},
{
"number": "14",
"name": "P3.1",
"type": "bidirectional",
"description": "Standard I/O port pin that is quasi-bidirectional (weak pull-up) after power-up and also serves as USB D+ data and UART1 transmit (TxD); it is used for ISP download/emulation, so it should not be loaded with other circuits."
},
{
"number": "15",
"name": "P3.2",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as external interrupt INT0, SPI SCLK/I2C SCL on alternate pins, and PWM external trigger inputs (PWMETI/PWMETI2); it is driven high at power-up and is sampled as the USB download select when pulled low."
},
{
"number": "16",
"name": "P3.3",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as external interrupt INT1, SPI MISO_4, I2C SDA_4, PWM4 negative pulse output (PWM4N_4), and PWM7 capture/pulse output (PWM7_2)."
},
{
"number": "17",
"name": "P3.4",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as Timer 0 external clock input (T0), Timer 1 clock divider output (T1CLKO), SPI MOSI_4, PWM4/PWM8 outputs, and comparator output (CMPO)."
},
{
"number": "18",
"name": "P3.5",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as Timer 1 external clock input (T1), Timer 0 clock divider output (T0CLKO), SPI SS_4, and enhanced PWM external fault detection input (PWMFLT/PWMFLT2)."
},
{
"number": "19",
"name": "P3.6",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as external interrupt INT2, UART1 receive (RxD_2), and comparator negative input (CMP-)."
},
{
"number": "20",
"name": "P3.7",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as external interrupt INT3, UART2/UART TxD_2 transmit, and comparator positive input (CMP+)."
},
{
"number": "21",
"name": "P2.0",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as address bus output A8 (external bus), PWM1 positive capture/pulse output (PWM1P_2), and PWM5 output."
},
{
"number": "22",
"name": "P2.1",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as address bus output A9 (external bus), PWM1 negative pulse output (PWM1N_2), and PWM6 output."
},
{
"number": "23",
"name": "P2.2",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as address bus output A10 (external bus), PWM2 positive capture/pulse output (PWM2P_2), PWM7 output, and SPI SS (SS_2, S1SS_2, S2SS_2)."
},
{
"number": "24",
"name": "P2.3",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as address bus output A11 (external bus), PWM2 negative pulse output (PWM2N_2), PWM8 output, and SPI MOSI (MOSI_2, S1MOSI_2, S2MOSI_2)."
},
{
"number": "25",
"name": "P2.4",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as address bus output A12 (external bus), PWM3 positive capture/pulse output (PWM3P_2), I2C SDA_2, and SPI MISO (MISO_2, S1MISO_2, S2MISO_2)."
},
{
"number": "26",
"name": "P2.5",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as address bus output A13 (external bus), PWM3 negative pulse output (PWM3N_2), I2C SCL_2, and SPI SCLK (SCLK_2, S1SCLK_2, S2SCLK_2)."
},
{
"number": "27",
"name": "P2.6",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as address bus output A14 (external bus) and PWM4 positive capture/pulse output (PWM4P_2)."
},
{
"number": "28",
"name": "P2.7",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as address bus output A15 (external bus) and PWM4 negative pulse output (PWM4N_2)."
},
{
"number": "29",
"name": "P0.0",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as address/data bus AD0, ADC analog input channel 8, UART3 receive (RxD3), PWM5 capture/pulse output, Timer 3 external clock input (T3_2), and CAN receive (CAN_RX)."
},
{
"number": "30",
"name": "P0.1",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as address/data bus AD1, ADC analog input channel 9, UART3 transmit (TxD3), PWM6 capture/pulse output, Timer 3 clock divider output (T3CLKO_2), and CAN transmit (CAN_TX)."
},
{
"number": "31",
"name": "P0.2",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as address/data bus AD2, ADC analog input channel 10, UART4 receive (RxD4), PWM7 capture/pulse output, Timer 4 external clock input (T4_2), CAN2 receive, and LIN receive (LIN_RX)."
},
{
"number": "32",
"name": "P0.3",
"type": "bidirectional",
"description": "Standard I/O port pin that also serves as address/data bus AD3, ADC analog input channel 11, UART4 transmit (TxD4), PWM8 capture/pulse output, Timer 4 clock divider output (T4CLKO_2), CAN2 transmit, and LIN transmit (LIN_TX)."
}
],
"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: Package size mismatch: the MPN hint says LQFP-32(7x7), but the datasheet lists LQFP32 as 9mm x 9mm (; Pins 20-32 descriptions are derived from the pin-function names printed on the LQFP32 pin diagram (P; Pin types are KiCad classes chosen from the datasheet: all general-purpose port pins are bidirection",
"1/32 pins cited to the wrong page (name found elsewhere): ['11:ADC_VRef+@p278']"
],
"pages_sent": 108,
"cost_usd": 1.0923,
"at": "2026-10-18T19:34:45"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756362504647913472",
"pages": 1887,
"sha256": "59bba1d366cc8d33",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 32,
"described": 32,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "stc32g12k128-35i-lqfp32.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9.0,
9.0,
1.5
],
"zmin_mm": 0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "be0e412f1c66fee70039b0e109e0cc7c823161dda97593718afa97569bc61ce3",
"checked": "2026-10-18",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stc32g12k128-35i-lqfp32-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9.0,
9.0,
1.5
],
"zmin_mm": 0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "70e34fc9ba789a5bbc74acc2cd8cbbe03d3ea017bb501487fdbac4d8f798551d",
"checked": "2026-10-18",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}