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.
Loads when you scroll to it. Unloads after 5 minutes in the background.
Download PDF
Contents

README

markdown

STC32G12K64-35I-LQFP64

STC Micro · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-64(10x10)

STC32G12K64-35I-LQFP64 from STC Micro, in a LQFP-64(10x10). 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 alternates TxD4_2 (UART4 TX), CAN2_TX_2 (CAN2 TX) and LIN_TX_2 (LIN TX); all GPIO support quasi-bidirectional, push-pull, open-drain and high-impedance input modes.
2 P0.5 bidirectional Standard I/O port P0.5 with alternates AD5 (address/data bus), ADC13 (ADC input 13) and T3CLKO (Timer 3 clock output).
3 P0.6 bidirectional Standard I/O port P0.6 with alternates AD6, ADC14 (ADC input 14), T4 (Timer 4 external clock input) and PWMFLT2_2 (enhanced PWM external fault input).
4 P0.7 bidirectional Standard I/O port P0.7 with alternates AD7 (address/data bus) and T4CLKO (Timer 4 clock output).
5 P6.0 bidirectional Standard I/O port P6.0 with alternate PWM1P_3 (PWM1 capture input / positive pulse output).
6 P6.1 bidirectional Standard I/O port P6.1 with alternate PWM1N_3 (PWM1 negative pulse output).
7 P6.2 bidirectional Standard I/O port P6.2 with alternate PWM2P_3 (PWM2 capture input / positive pulse output).
8 P6.3 bidirectional Standard I/O port P6.3 with alternate PWM2N_3 (PWM2 negative pulse output).
9 P1.0 bidirectional Standard I/O port P1.0 with alternates ADC0 (ADC input 0), PWM1P (PWM1 capture / positive output) and RxD2 (UART2 receive).
10 P1.1 bidirectional Standard I/O port P1.1 with alternates ADC1 (ADC input 1), PWM1N (PWM1 negative output) and TxD2 (UART2 transmit).
11 P4.7 bidirectional Standard I/O port P4.7 with alternates TxD2_2 (UART2 TX), CAN2_TX_3 (CAN2 TX) and LIN_TX_3 (LIN TX).
12 P1.4 bidirectional Standard I/O port P1.4 with alternates ADC4, PWM3P, MISO, S1MISO, S2MISO and SDA (I2C data line).
13 P1.5 bidirectional Standard I/O port P1.5 with alternates ADC5, PWM3N, SCLK, S1SCLK, S2SCLK and SCL (I2C clock line).
14 P1.6 bidirectional Standard I/O port P1.6 with alternates ADC6, RxD_3 (UART1 receive), PWM4P, MCLKO_2 (master clock output) and XTALO (external crystal output).
15 P1.7 bidirectional Standard I/O port P1.7 with alternates ADC7, TxD_3 (UART1 transmit), PWM4N, PWM5_2 and XTALI (external crystal / external clock input).
16 P1.3 bidirectional Standard I/O port P1.3 with alternates ADC3, MOSI, S1MOSI, S2MOSI, PWM2N and T2CLKO (Timer 2 clock output).
17 UCAP passive USB core power regulator decoupling pin; the application diagram shows a 4.7 µF (0.1 µF to 10 µF) capacitor on UCap.
18 P5.4 bidirectional Standard I/O port P5.4 (default I/O function after power-up), which can be set as active-low reset pin nRST via ISP, with alternates MCLKO, SS, S1SS, S2SS, PWM2P, PWM6_2, ADC2 and T2; with P5.4 used as I/O its internal 4K pull-up stays on for about 6.5 ms after power-up.
19 Vcc/AVcc power_in Supply pin for the MCU core (Vcc) and the ADC (AVcc); operating voltage is 1.9 V to 5.5 V.
20 VRef+ power_in ADC external reference voltage input (ADC_VRef+) that must be connected to an external reference between 2.4 V and MCU-VCC, since floating it causes leakage current.
21 Gnd power_in Ground pin (GND / AGnd) for the digital and analog circuits.
22 P4.0 bidirectional Standard I/O port P4.0 with alternates MOSI_3, S1MOSI_3 and S2MOSI_3 (SPI master out / slave in).
23 P6.4 bidirectional Standard I/O port P6.4 with alternates PWM3P_3 (PWM3 capture / positive output) and S1SS_4 (USART1 SPI slave select input).
24 P6.5 bidirectional Standard I/O port P6.5 with alternates PWM3N_3 (PWM3 negative output) and S1MOSI_4 (USART1 SPI MOSI).
25 P6.6 bidirectional Standard I/O port P6.6 with alternates PWM4P_3 (PWM4 capture / positive output) and S1MISO_4 (USART1 SPI MISO).
26 P6.7 bidirectional Standard I/O port P6.7 with alternates PWM4N_3 (PWM4 negative output) and S1SCLK_4 (USART1 SPI clock).
27 P3.0 bidirectional Standard I/O port P3.0 that is weak-pull-up quasi-bidirectional after power-up, also used as USB D- data line, UART1 receive (RxD) and external interrupt INT4, and used for ISP/emulation.
28 P3.1 bidirectional Standard I/O port P3.1 that is weak-pull-up quasi-bidirectional after power-up, also used as USB D+ data line and UART1 transmit (TxD), and used for ISP/emulation.
29 P3.2 bidirectional Standard I/O port P3.2 with alternates INT0 (external interrupt 0), SCLK_4, SCL_4, PWMETI and PWMETI2; it is driven high at power-up and is sampled low to enter USB download mode when USB is connected.
30 P3.3 bidirectional Standard I/O port P3.3 with alternates INT1 (external interrupt 1), MISO_4, SDA_4, PWM4N_4 and PWM7_2.
31 P3.4 bidirectional Standard I/O port P3.4 with alternates T0 (Timer 0 external input), T1CLKO, MOSI_4, PWM4P_4, PWM8_2 and CMPO (comparator output).
32 P5.0 bidirectional Standard I/O port P5.0 with alternates RxD3_2 (UART3 receive), CMP+_2 (comparator positive input) and CAN_RX_2 (CAN receive).
33 P5.1 bidirectional Standard I/O port P5.1 with alternates TxD3_2 (UART3 transmit), CMP+_3 (comparator positive input) and CAN_TX_2 (CAN transmit).
34 P3.5 bidirectional Standard I/O port P3.5 with alternates T1 (Timer 1 external input), T0CLKO (Timer 0 clock output), SS_4 (SPI slave select) and PWMFLT (enhanced PWM external fault input).
35 P3.6 bidirectional Standard I/O port P3.6 with alternates INT2 (external interrupt 2), RxD_2 (UART1 receive) and CMP- (comparator negative input).
36 P3.7 bidirectional Standard I/O port P3.7 with alternates INT3 (external interrupt 3), TxD_2 (UART1 transmit) and CMP+ (comparator positive input).
37 P7.0 bidirectional Standard I/O port P7.0 with alternate CAN_RX_4 (CAN receive).
38 P7.1 bidirectional Standard I/O port P7.1 with alternate CAN_TX_4 (CAN transmit).
39 P7.2 bidirectional Standard I/O port P7.2 with alternates CAN2_RX_4 (CAN2 receive) and LIN_RX_4 (LIN receive).
40 P7.3 bidirectional Standard I/O port P7.3 with alternates CAN2_TX_4 (CAN2 transmit), LIN_TX_4 (LIN transmit) and PWMETI_3 (PWM external trigger input).
41 P4.1 bidirectional Standard I/O port P4.1 with alternates MISO_3, S1MISO_3, S2MISO_3, CMPO_2 (comparator output) and PWMETI_2 (PWM external trigger input).
42 P4.2 bidirectional Standard I/O port P4.2 with alternates WR (external bus write strobe) and CAN_RX_3 (CAN receive).
43 P4.3 bidirectional Standard I/O port P4.3 with alternates RxD_4 (UART4 receive), SCLK_3, S1SCLK_3 and S2SCLK_3 (SPI clock).
44 P4.4 bidirectional Standard I/O port P4.4 with alternates RD (external bus read strobe) and TxD_4 (UART4 transmit).
45 P2.0 bidirectional Standard I/O port P2.0 with alternates A8 (address bus bit 8), PWM1P_2 and PWM5.
46 P2.1 bidirectional Standard I/O port P2.1 with alternates A9 (address bus bit 9), PWM1N_2 and PWM6.
47 P2.2 bidirectional Standard I/O port P2.2 with alternates A10 (address bus bit 10), PWM2P_2, PWM7, SS_2, S1SS_2 and S2SS_2.
48 P2.3 bidirectional Standard I/O port P2.3 with alternates A11 (address bus bit 11), PWM2N_2, PWM8, MOSI_2, S1MOSI_2 and S2MOSI_2.
49 P2.4 bidirectional Standard I/O port P2.4 with alternates A12 (address bus bit 12), PWM3P_2, SDA_2, MISO_2, S1MISO_2 and S2MISO_2.
50 P2.5 bidirectional Standard I/O port P2.5 with alternates A13 (address bus bit 13), PWM3N_2, SCL_2, SCLK_2, S1SCLK_2 and S2SCLK_2.
51 P2.6 bidirectional Standard I/O port P2.6 with alternates A14 (address bus bit 14) and PWM4P_2.
52 P2.7 bidirectional Standard I/O port P2.7 with alternates A15 (address bus bit 15) and PWM4N_2.
53 P7.4 bidirectional Standard I/O port P7.4 with alternates S2SS_4 (USART2 SPI slave select) and PWM5_4.
54 P7.5 bidirectional Standard I/O port P7.5 with alternates S2MOSI_4 (USART2 SPI MOSI) and PWM6_4.
55 P7.6 bidirectional Standard I/O port P7.6 with alternates S2MISO_4 (USART2 SPI MISO) and PWM7_4.
56 P7.7 bidirectional Standard I/O port P7.7 with alternates S2SCLK_4 (USART2 SPI clock) and PWM8_4.
57 P4.5 bidirectional Standard I/O port P4.5 with alternates CAN_TX_3 (CAN transmit) and ALE (address latch enable).
58 P4.6 bidirectional Standard I/O port P4.6 with alternates LIN_RX_3 (LIN receive), CAN2_RX_3 (CAN2 receive) and RxD2_2 (UART2 receive).
59 P0.0 bidirectional Standard I/O port P0.0 with alternates AD0 (address/data bus), ADC8 (ADC input 8), RxD3 (UART3 receive), PWM5_3, T3_2 (Timer 3 external input) and CAN_RX (CAN receive).
60 P0.1 bidirectional Standard I/O port P0.1 with alternates AD1, ADC9 (ADC input 9), TxD3 (UART3 transmit), PWM6_3, T3CLKO_2 and CAN_TX (CAN transmit).
61 P0.2 bidirectional Standard I/O port P0.2 with alternates AD2, ADC10 (ADC input 10), RxD4 (UART4 receive), PWM7_3, T4_2, CAN2_RX and LIN_RX.
62 P0.3 bidirectional Standard I/O port P0.3 with alternates AD3, ADC11 (ADC input 11), TxD4 (UART4 transmit), PWM8_3, T4CLKO_2, CAN2_TX and LIN_TX.
63 P0.4 bidirectional Standard I/O port P0.4 with alternates AD4, ADC12 (ADC input 12) and T3 (Timer 3 external input).
64 P5.2 bidirectional Standard I/O port P5.2 with alternates RxD4_2 (UART4 receive), CAN2_RX_2 (CAN2 receive) and LIN_RX_2 (LIN receive).

Key specifications

Parameter Value
Manufacturer STC Micro
Package LQFP-64(10x10)
Category Single Chip Microcomputer/Microcontroller
Pins 64

Electrical characteristics

Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).

Parameter Symbol Min Typ Max Unit Conditions Page
存储温度 -55 155 ℃ 1656
工作温度 -40 85 ℃ 使用内部高速 IRC 和外部晶振 1656
工作温度 -40 125 ℃ 当温度高于 85℃时请使用外部耐高温晶振,且工作频率建议控制在 24M 以下 1656
工作电压 1.9 5.5 V 当工作温度低于-40℃时,工作电压不得低于 3.0V 1656
VDD 对地电压 VDD -0.3 5.5 V 1656
I/O 口对地电压 -0.3 V 1656
内部 IRC 温漂(-20℃~65℃) -0.88 1.05 % 参考温度 25℃,温度范围 -20℃~65℃ 1656
内部 IRC 温漂(-40℃~85℃) -1.38 1.42 % 参考温度 25℃,温度范围 -40℃~85℃ 1656
内部 IRC 温漂(-40℃~125℃) -3 3 % 参考温度 25℃,温度范围 -40℃~125℃ 1656
普通工作模式电流 ICC 4 20 mA VSS=0V,VDD=5.0V,测试温度=25℃ 1657
输入低电平(打开施密特触发) VIL1 1.32 V 打开施密特触发,VSS=0V,VDD=5.0V,测试温度=25℃ 1657
输入低电平(关闭施密特触发) VIL1 1.48 V 关闭施密特触发,VSS=0V,VDD=5.0V,测试温度=25℃ 1657
输入高电平(普通 I/O,打开施密特触发) VIH1 1.6 V 打开施密特触发,VSS=0V,VDD=5.0V,测试温度=25℃ 1657
输入高电平(普通 I/O,关闭施密特触发) VIH1 1.54 V 关闭施密特触发,VSS=0V,VDD=5.0V,测试温度=25℃ 1657
逻辑 0 输入电流 IIL 50 uA 端口电压 0V,VSS=0V,VDD=5.0V,测试温度=25℃ 1657
逻辑 1 到 0 的转移电流 ITL 100 270 600 uA 端口电压 2.0V,VSS=0V,VDD=5.0V,测试温度=25℃ 1657
I/O 口上拉电阻 RPU 4.1 4.2 4.4 KΩ VSS=0V,VDD=5.0V,测试温度=25℃ 1657
掉电模式电流 IPD 1 uA VSS=0V,VDD=5.0V,测试温度=25℃ 1657
掉电唤醒定时器电流 IWKT 4.1 uA VSS=0V,VDD=5.0V,测试温度=25℃ 1657
低压检测模块电流 ILVD 425 uA VSS=0V,VDD=5.0V,测试温度=25℃ 1657
空闲模式电流(6MHz) IIDL 1.55 mA VSS=0V,VDD=5.0V,测试温度=25℃ 1657
空闲模式电流(11.0592MHz) IIDL 2.34 mA VSS=0V,VDD=5.0V,测试温度=25℃ 1657
空闲模式电流(24MHz) IIDL 3.93 mA VSS=0V,VDD=5.0V,测试温度=25℃ 1657
空闲模式电流(内部 32KHz) IIDL 0.57 mA VSS=0V,VDD=5.0V,测试温度=25℃ 1657
正常模式电流(6MHz) INOR 2.2 mA VSS=0V,VDD=5.0V,测试温度=25℃ 1657
正常模式电流(11.0592MHz) INOR 3.61 mA VSS=0V,VDD=5.0V,测试温度=25℃ 1657
正常模式电流(24MHz) INOR 6.45 mA VSS=0V,VDD=5.0V,测试温度=25℃ 1657
正常模式电流(内部 32KHz) INOR 0.57 mA VSS=0V,VDD=5.0V,测试温度=25℃ 1657
输出低电平的灌电流 IOL1 20 mA 端口电压 0.45V,VSS=0V,VDD=5.0V,测试温度=25℃ 1657
输出高电平电流(双向模式) IOH1 200 uA VSS=0V,VDD=5.0V,测试温度=25℃ 1657
输出高电平电流(推挽模式) IOH2 20 mA 端口电压 2.4V,VSS=0V,VDD=5.0V,测试温度=25℃ 1657
使能比较器时掉电模式功耗 IPD2 460 uA VSS=0V,VDD=5.0V,测试温度=25℃ 1657
使能 LVD 时掉电模式功耗 IPD3 520 uA VSS=0V,VDD=5.0V,测试温度=25℃ 1657
扇区擦除次数 NNED 10 万次 1656
数据保持时间 TDR 100 年 @25℃ 1656
数据保持时间 TDR 20 年 @105℃ 1656
数据保持时间 TDR 10 年 @125℃ 1656
低压复位门槛电压 POR POR 1.9 V 测试温度 25℃ 1656
低压复位门槛电压 LVR0 LVR0 2 V 测试温度 25℃ 1656
低压复位门槛电压 LVR1 LVR1 2.4 V 测试温度 25℃ 1656
低压复位门槛电压 LVR2 LVR2 2.7 V 测试温度 25℃ 1656
低压复位门槛电压 LVR3 LVR3 3 V 测试温度 25℃ 1656

CAD (KiCad official)

  • Symbol: STC32G12K64-35I-LQFP64
  • Footprint: Package_QFP:LQFP-64_10x10mm_P0.5mm
  • 3D model: LQFP-64(10x10) (KiCad packages3D, STEP)
  • 3D model files: stc32g12k64-35i-lqfp64-etched.step / stc32g12k64-35i-lqfp64-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stc32g12k64-35i-lqfp64.step / stc32g12k64-35i-lqfp64.glb are 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-11-13, 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, primary claude-haiku-5-5 (text), consensus claude-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).

Datasheet PDF