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.
3D Model
Open in new tab ↗
Loads when you scroll to it. Unloads after 5 minutes in the background.
Symbol & Footprint
Schematic Symbol
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
PCB Footprint
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
Datasheet
Open in new tab ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
README
markdownSTC32G12K128-35I-LQFP32
STC Micro · Microcontrollers (MCU/MPU/SOC) · LQFP-32(7x7)
STC32G12K128-35I-LQFP32 from STC Micro, in a LQFP-32(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | P1.0 | bidirectional | 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). |
| 2 | P1.1 | bidirectional | Standard bidirectional I/O port pin that also serves as ADC analog input channel 1, PWM1 negative pulse output, and UART2 transmit (TxD2). |
| 3 | P1.4 | bidirectional | 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. |
| 4 | P1.5 | bidirectional | 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. |
| 5 | P1.6 | bidirectional | 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). |
| 6 | P1.7 | bidirectional | 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). |
| 7 | P1.3 | bidirectional | 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). |
| 8 | UCap | passive | USB core power regulator stabilization pin. |
| 9 | P5.4 | bidirectional | 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. |
| 10 | Vcc/AVcc | power_in | 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. |
| 11 | ADC_VRef+ | input | 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. |
| 12 | Gnd/AGnd | power_in | Ground pin for the digital circuit (Gnd) and ADC ground (AGnd). |
| 13 | P3.0 | bidirectional | 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. |
| 14 | P3.1 | bidirectional | 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. |
| 15 | P3.2 | bidirectional | 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. |
| 16 | P3.3 | bidirectional | 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). |
| 17 | P3.4 | bidirectional | 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). |
| 18 | P3.5 | bidirectional | 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). |
| 19 | P3.6 | bidirectional | Standard I/O port pin that also serves as external interrupt INT2, UART1 receive (RxD_2), and comparator negative input (CMP-). |
| 20 | P3.7 | bidirectional | Standard I/O port pin that also serves as external interrupt INT3, UART2/UART TxD_2 transmit, and comparator positive input (CMP+). |
| 21 | P2.0 | bidirectional | 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. |
| 22 | P2.1 | bidirectional | Standard I/O port pin that also serves as address bus output A9 (external bus), PWM1 negative pulse output (PWM1N_2), and PWM6 output. |
| 23 | P2.2 | bidirectional | 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). |
| 24 | P2.3 | bidirectional | 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). |
| 25 | P2.4 | bidirectional | 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). |
| 26 | P2.5 | bidirectional | 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). |
| 27 | P2.6 | bidirectional | Standard I/O port pin that also serves as address bus output A14 (external bus) and PWM4 positive capture/pulse output (PWM4P_2). |
| 28 | P2.7 | bidirectional | Standard I/O port pin that also serves as address bus output A15 (external bus) and PWM4 negative pulse output (PWM4N_2). |
| 29 | P0.0 | bidirectional | 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). |
| 30 | P0.1 | bidirectional | 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). |
| 31 | P0.2 | bidirectional | 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). |
| 32 | P0.3 | bidirectional | 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). |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STC Micro |
| Package | LQFP-32(7x7) |
| Category | Embedded Processors & Controllers |
| Pins | 32 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| 工作温度 | -40 | 85 | ℃ | 使用内部高速 IRC 和外部晶振 | 1656 | ||
| 工作电压 | 1.9 | 5.5 | V | 当工作温度低于-40℃时,工作电压不得低于3.0V | 1656 | ||
| VDD 对地电压 | -0.3 | 5.5 | V | 1656 | |||
| I/O 口对地电压 | -0.3 | V | 1656 | ||||
| 存储温度 | -55 | 155 | ℃ | 1656 | |||
| 内部 IRC 温漂特性 | -0.88 | 1.05 | % | 温度范围 -20℃~65℃(参考温度 25℃) | 1656 | ||
| 内部 IRC 温漂特性 | -1.38 | 1.42 | % | 温度范围 -40℃~85℃(参考温度 25℃) | 1656 | ||
| VIL1 输入低电平 | VIL1 | 1.32 | V | 打开施密特触发 | 1657 | ||
| VIL1 输入低电平 | VIL1 | 1.48 | V | 关闭施密特触发 | 1657 | ||
| VIH1 输入高电平(普通 I/O) | VIH1 | 1.6 | V | 打开施密特触发 | 1657 | ||
| VIH1 输入高电平(普通 I/O) | VIH1 | 1.54 | V | 关闭施密特触发 | 1657 | ||
| 普通工作模式电流 | ICC | 4 | 20 | mA | 1657 | ||
| 逻辑 0 输入电流 | IIL | 50 | uA | 端口电压 0V | 1657 | ||
| 逻辑 1 到 0 的转移电流 | ITL | 100 | 270 | 600 | uA | 端口电压 2.0V | 1657 |
| I/O 口上拉电阻 | RPU | 4.1 | 4.2 | 4.4 | KΩ | 1657 |
CAD (KiCad official)
- Symbol:
STC32G12K128-35I-LQFP32 - Footprint:
Package_QFP:LQFP-32_7x7mm_P0.8mm - 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)
- 3D model files:
stc32g12k128-35i-lqfp32-etched.step/stc32g12k128-35i-lqfp32-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stc32g12k128-35i-lqfp32.step/stc32g12k128-35i-lqfp32.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: STC Micro datasheet (1887 pp, sha256
59bba1d366cc8d33, retrieved 2026-10-18, tier: lcsc) - Datasheet language: Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.
- Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-haiku-5-5(text), consensusclaude-sonnet-5-5(agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - CAD: KiCad official libraries (CC-BY-SA 4.0).