Generated by kicad-footprint-generator · KiCad file format 20260206
STC32G12K128-35I-LQFP48
STC Micro · Microcontrollers (MCU/MPU/SOC) · LQFP-48(7x7)
STC32G12K128-35I-LQFP48 from STC Micro, in a LQFP-48(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 | P5.3 | bidirectional | Standard I/O port P5.3 with alternate functions TxD4_2 (UART4 transmit), CAN2_TX_2 (CAN2 transmit) and LIN_TX_2 (LIN transmit). |
| 2 | P0.5 | bidirectional | Standard I/O port P0.5 with alternate functions AD5 (address/data bus), ADC13 (ADC channel 13), and T3CLKO (timer 3 clock divided output). |
| 3 | P0.6 | bidirectional | Standard I/O port P0.6 with alternate functions AD6, ADC14 (ADC channel 14), T4 (timer 4 external clock input) and PWMFLT2_2 (PWM external fault detection input). |
| 4 | P0.7 | bidirectional | Standard I/O port P0.7 with alternate functions AD7 (address/data bus) and T4CLKO (timer 4 clock divided output). |
| 5 | P1.0 | bidirectional | Standard I/O port P1.0 with alternate functions ADC0 (ADC channel 0), PWM1P (PWM1 capture input/pulse output positive) and RxD2 (UART2 receive). |
| 6 | P1.1 | bidirectional | Standard I/O port P1.1 with alternate functions ADC1 (ADC channel 1), PWM1N (PWM1 pulse output negative) and TxD2 (UART2 transmit). |
| 7 | P4.7 | bidirectional | Standard I/O port P4.7 with alternate functions TxD2_2 (UART2 transmit), CAN2_TX_3 (CAN2 transmit) and LIN_TX_3 (LIN transmit). |
| 8 | P1.4 | bidirectional | Standard I/O port P1.4 with alternate functions ADC4, PWM3P, MISO (SPI master input/slave output), S1MISO, S2MISO and SDA (I2C data line). |
| 9 | P1.5 | bidirectional | Standard I/O port P1.5 with alternate functions ADC5, PWM3N, SCLK (SPI clock), S1SCLK, S2SCLK and SCL (I2C clock line). |
| 10 | P1.6 | bidirectional | Standard I/O port P1.6 with alternate functions ADC6, RxD_3 (UART1 receive), PWM4P, MCLKO_2 (master clock divided output) and XTALO (external crystal output). |
| 11 | P1.7 | bidirectional | Standard I/O port P1.7 with alternate functions ADC7, TxD_3 (UART1 transmit), PWM4N, PWM5_2 and XTALI (external crystal/clock input). |
| 12 | P1.3 | bidirectional | Standard I/O port P1.3 with alternate functions ADC3, MOSI (SPI master output/slave input), S1MOSI, S2MOSI, PWM2N and T2CLKO (timer 2 clock divided output). |
| 13 | UCAP | passive | USB core power regulator pin (UCAP). |
| 14 | P5.4 | bidirectional | Standard I/O port P5.4 that can be set as the nRST reset pin (low-level reset) and also carries MCLKO, SS, ADC2, PWM2P and T2 alternate functions. |
| 15 | Vcc | power_in | Power supply pin Vcc (also AVcc for the ADC). |
| 16 | ADC_VRef+ | input | ADC external reference voltage pin, which must be connected to an external reference between 2.4V and MCU-VCC because floating causes leakage current. |
| 17 | Gnd | power_in | Ground pin (Gnd, also AGnd for the ADC). |
| 18 | P4.0 | bidirectional | Standard I/O port P4.0 with alternate functions MOSI_3, S1MOSI_3 and S2MOSI_3 (SPI master output/slave input). |
| 19 | P3.0 | bidirectional | Standard I/O port P3.0 with alternate functions RxD (UART1 receive), D- (USB data line) and INT4; P3.0 and P3.1 are weakly pulled-up quasi-bidirectional after power-up. |
| 20 | P3.1 | bidirectional | Standard I/O port P3.1 with alternate functions TxD (UART1 transmit) and D+ (USB data line); P3.0 and P3.1 are the download/emulation interface. |
| 21 | P3.2 | bidirectional | Standard I/O port P3.2 with alternate functions INT0 (external interrupt 0), SCLK_4, SCL_4, PWMETI and PWMETI2; it reads high at power-up and is used to select USB download when held low. |
| 22 | P3.3 | bidirectional | Standard I/O port P3.3 with alternate functions INT1 (external interrupt 1), MISO_4, SDA_4, PWM4N_4 and PWM7_2. |
| 23 | P3.4 | bidirectional | Standard I/O port P3.4 with alternate functions T0 (timer 0 external input), T1CLKO, MOSI_4, PWM4P_4, PWM8_2 and CMPO (comparator output). |
| 24 | P5.0 | bidirectional | Standard I/O port P5.0 with alternate functions RxD3_2 (UART3 receive), CMP+_2 (comparator positive input) and CAN_RX_2 (CAN receive). |
| 25 | P5.1 | bidirectional | Standard I/O port P5.1 with alternate functions TxD3_2 (UART3 transmit), CMP+_3 (comparator positive input) and CAN_TX_2 (CAN transmit). |
| 26 | P3.5 | bidirectional | Standard I/O port P3.5 with alternate functions T1 (timer 1 external input), T0CLKO, SS_4 (SPI slave select) and PWMFLT (PWM external fault input). |
| 27 | P3.6 | bidirectional | Standard I/O port P3.6 with alternate functions INT2 (external interrupt 2), RxD_2 (UART1 receive) and CMP- (comparator negative input). |
| 28 | P3.7 | bidirectional | Standard I/O port P3.7 with alternate functions INT3 (external interrupt 3), TxD_2 (UART1 transmit) and CMP+ (comparator positive input). |
| 29 | P4.1 | bidirectional | Standard I/O port P4.1 with alternate functions MISO_3, S1MISO_3, S2MISO_3 (SPI master input), CMPO_2 (comparator output) and PWMETI_2. |
| 30 | P4.2 | bidirectional | Standard I/O port P4.2 with alternate functions WR (external bus write strobe) and CAN_RX_3 (CAN receive). |
| 31 | P4.3 | bidirectional | Standard I/O port P4.3 with alternate functions RxD_4 (UART4 receive), SCLK_3, S1SCLK_3 and S2SCLK_3 (SPI clock). |
| 32 | P4.4 | bidirectional | Standard I/O port P4.4 with alternate functions RD (external bus read strobe) and TxD_4 (UART4 transmit). |
| 33 | P2.0 | bidirectional | Standard I/O port P2.0 with alternate functions A8 (address bus), PWM1P_2 and PWM5. |
| 34 | P2.1 | bidirectional | Standard I/O port P2.1 with alternate functions A9 (address bus), PWM1N_2 and PWM6. |
| 35 | P2.2 | bidirectional | Standard I/O port P2.2 with alternate functions A10 (address bus), PWM2P_2, PWM7, SS_2, S1SS_2 and S2SS_2. |
| 36 | P2.3 | bidirectional | Standard I/O port P2.3 with alternate functions A11 (address bus), PWM2N_2, PWM8, MOSI_2, S1MOSI_2 and S2MOSI_2. |
| 37 | P2.4 | bidirectional | Standard I/O port P2.4 with alternate functions A12 (address bus), PWM3P_2, SDA_2, MISO_2, S1MISO_2 and S2MISO_2. |
| 38 | P2.5 | bidirectional | Standard I/O port P2.5 with alternate functions A13 (address bus), PWM3N_2, SCL_2, SCLK_2, S1SCLK_2 and S2SCLK_2. |
| 39 | P2.6 | bidirectional | Standard I/O port P2.6 with alternate functions A14 (address bus) and PWM4P_2. |
| 40 | P2.7 | bidirectional | Standard I/O port P2.7 with alternate functions A15 (address bus) and PWM4N_2. |
| 41 | P4.5 | bidirectional | Standard I/O port P4.5 with alternate functions ALE (address latch enable) and CAN_TX_3 (CAN transmit). |
| 42 | P4.6 | bidirectional | Standard I/O port P4.6 with alternate functions LIN_RX_3, CAN2_RX_3 (CAN2 receive) and RxD2_2 (UART2 receive). |
| 43 | P0.0 | bidirectional | Standard I/O port P0.0 with alternate functions AD0 (address/data bus), ADC8 (ADC channel 8), RxD3 (UART3 receive) and CAN_RX (CAN receive). |
| 44 | P0.1 | bidirectional | Standard I/O port P0.1 with alternate functions AD1 (address/data bus), ADC9 (ADC channel 9), TxD3 (UART3 transmit), PWM6_3, T3CLKO_2 and CAN_TX (CAN transmit). |
| 45 | P0.2 | bidirectional | Standard I/O port P0.2 with alternate functions AD2 (address/data bus), ADC10 (ADC channel 10), RxD4 (UART4 receive), PWM7_3, T4_2, CAN2_RX and LIN_RX. |
| 46 | P0.3 | bidirectional | Standard I/O port P0.3 with alternate functions AD3 (address/data bus), ADC11 (ADC channel 11), TxD4 (UART4 transmit), PWM8_3, T4CLKO_2, CAN2_TX and LIN_TX. |
| 47 | P0.4 | bidirectional | Standard I/O port P0.4 with alternate functions AD4 (address/data bus), ADC12 (ADC channel 12) and T3 (timer 3 external clock input). |
| 48 | P5.2 | bidirectional | Standard I/O port P5.2 with alternate functions RxD4_2 (UART4 receive), CAN2_RX_2 (CAN2 receive) and LIN_RX_2 (LIN receive). |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STC Micro |
| Package | LQFP-48(7x7) |
| Category | Embedded Processors & Controllers |
| Pins | 48 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| 普通工作模式电流 | ICC | 4 | 20 | mA | 1657 | ||
| 输入低电平 | VIL1 | 1.32 | V | 打开施密特触发 | 1657 | ||
| 输入低电平 | VIL1 | 1.48 | V | 关闭施密特触发 | 1657 | ||
| 输入高电平(普通 I/O) | VIH1 | 1.6 | V | 打开施密特触发 | 1657 | ||
| 输入高电平(普通 I/O) | VIH1 | 1.54 | V | 关闭施密特触发 | 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 | |
| 工作电压 | 1.9 | 5.5 | V | 当工作温度低于-40℃时,工作电压不得低于 3.0V | 1656 | ||
| VDD 对地电压 | VDD | -0.3 | 5.5 | V | 1656 | ||
| 工作温度 | TA | -40 | 85 | ℃ | 使用内部高速 IRC 和外部晶振 | 1656 | |
| 工作温度 | TA | -40 | 125 | ℃ | 1656 | ||
| 存储温度 | TSTORE | -55 | 155 | ℃ | 1656 | ||
| 内部 IRC 温漂特性 | -0.88 | 1.05 | % | -20℃~65℃, reference temperature 25℃ | 1656 | ||
| 内部 IRC 温漂特性 | -1.38 | 1.42 | % | -40℃~85℃, reference temperature 25℃ | 1656 | ||
| 内部 IRC 温漂特性 | -3 | 3 | % | -40℃~125℃, reference temperature 25℃ | 1656 |
CAD (KiCad official)
- Symbol:
STC32G12K128-35I-LQFP48 - Footprint:
Package_QFP:LQFP-48_7x7mm_P0.5mm - 3D model: LQFP-48(7x7) (KiCad packages3D, STEP)
- 3D model files:
stc32g12k128-35i-lqfp48-etched.step/stc32g12k128-35i-lqfp48-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stc32g12k128-35i-lqfp48.step/stc32g12k128-35i-lqfp48.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: STC Micro datasheet, copy hosted by LCSC (1887 pp, sha256
59bba1d366cc8d33, retrieved 2026-11-22) - 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).