main
Download ZIP Propose a change
Generated by kicad-footprint-generator · KiCad file format 20260206
Name Last commit message Last updated
docs Publish 0.1.0 · Ray
viewers stc32g8k64-42i-qfn32: viewers · Ray
package.json Publish 0.1.1 · Ray
page.json Publish 0.1.1 · Ray
README.md Publish 0.1.0 · Ray
stc32g8k64-42i-qfn32-etched.glb Publish 0.1.0 · Ray
stc32g8k64-42i-qfn32-etched.step stc32g8k64-42i-qfn32: factory component page (tier=lcsc) · Ray
stc32g8k64-42i-qfn32-hero.glb stc32g8k64-42i-qfn32: hero GLB from the etched model (keeps the MPN mark) · Ray
stc32g8k64-42i-qfn32-hero.overlay.json Publish 0.1.0 · Ray
stc32g8k64-42i-qfn32.glb Publish 0.1.0 · Ray
stc32g8k64-42i-qfn32.kicad_mod Publish 0.1.0 · Ray
stc32g8k64-42i-qfn32.kicad_sym Publish 0.1.0 · Ray
stc32g8k64-42i-qfn32.lbr Publish 0.1.0 · Ray
stc32g8k64-42i-qfn32.step Publish 0.1.0 · Ray
verification.json Verified: Published by the parts factory: tier lcsc, 33 pins · Ray

STC32G8K64-42I-QFN32

STC Micro · Microcontrollers (MCU/MPU/SOC) · QFN-32-EP(4x4)

STC32G8K64-42I-QFN32 from STC Micro, in a QFN-32-EP(4x4). 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 I/O port pin, also ADC0 analog input, PWM1P capture/output, and RxD2 (UART2 receive).
2 P1.1 bidirectional Standard I/O port pin, also ADC1 analog input, PWM1N complementary output, and TxD2 (UART2 transmit).
3 P1.4 bidirectional Standard I/O port pin, also ADC4 analog input, PWM3P output, SPI MISO, USART1/USART2 SPI MISO, and I2C SDA.
4 P1.5 bidirectional Standard I/O port pin, also ADC5 analog input, PWM3N output, SPI SCLK, USART1/USART2 SPI clock, I2C SCL, and I2S bit clock (I2SCK_2).
5 P1.6 bidirectional Standard I/O port pin, also ADC6 analog input, RxD_3 (UART1 receive), PWM4P, MCLKO_2 master clock output, XTALO external crystal output, and I2S master clock outputs.
6 P1.7 bidirectional Standard I/O port pin, also ADC7 analog input, TxD_3 (UART1 transmit), PWM4N, PWM5_2, and XTALI external crystal/clock input.
7 P1.3 bidirectional Standard I/O port pin, also ADC3 analog input, SPI MOSI, USART1/USART2 SPI MOSI, PWM2N complementary output, T2CLKO timer 2 clock output, and I2S data (I2SSD_2).
8 P1.2 bidirectional Standard I/O port pin, also PWM2P output, SPI SS, USART1/USART2 SPI SS, and T2 external timer 2 clock input; this package has no UCAP pin at this position.
9 P5.4 bidirectional Standard I/O port pin by default; can be set by ISP as active-low nRST reset input, also ADC2 input and MCLKO clock output, and its internal 4K pull-up stays on about 6.5 ms after power-up when used as I/O.
10 Vcc/AVcc power_in Main supply pin for the MCU (Vcc) and the ADC supply (AVcc); the feature table specifies 1.9 V to 5.5 V operation.
11 ADC_VRef+ power_in ADC external reference voltage pin, which must be connected to an external reference from 2.4 V up to MCU-VCC because floating causes leakage current.
12 Gnd/AGnd power_in Ground pin for the digital circuitry (Gnd) and the ADC analog ground (AGnd).
13 P3.0 bidirectional Standard I/O port pin (quasi-bidirectional after power-up), also UART1 receive RxD and external interrupt INT4; P3.0, P3.1 and P3.2 must not all be low at power-up unless USB ISP entry is wanted.
14 P3.1 bidirectional Standard I/O port pin (quasi-bidirectional after power-up), also UART1 transmit TxD; P3.0/P3.1 form the ISP download and emulation interface.
15 P3.2 bidirectional Standard I/O port pin, also external interrupt INT0, SPI SCLK_4, I2C SCL_4, PWM external trigger inputs PWMETI/PWMETI2, and I2S clock I2SCK; it is used for the ISP mode check at power-up.
16 P3.3 bidirectional Standard I/O port pin, also external interrupt INT1, SPI MISO_4, I2C SDA_4, PWM4N_4 complementary output, and PWM7_2.
17 P3.4 bidirectional Standard I/O port pin, also Timer 0 external clock input T0, T1CLKO timer 1 clock output, SPI MOSI_4, PWM4P_4, PWM8_2, comparator output CMPO, and I2S data (I2SSD).
18 P3.5 bidirectional Standard I/O port pin, also Timer 1 external clock input T1, T0CLKO timer 0 clock output, SPI SS_4, PWM external fault input PWMFLT/PWMFLT2, and I2S word select (I2SWS).
19 P3.6 bidirectional Standard I/O port pin, also external interrupt INT2, UART1 alternate receive RxD_2, and comparator negative input CMP-.
20 P3.7 bidirectional Standard I/O port pin, also external interrupt INT3, UART2 alternate transmit TxD_2, and comparator positive input CMP+.
21 P2.0 bidirectional Standard I/O port pin, also external address bus A8, PWM1P_2 capture/output, and PWM5 output.
22 P2.1 bidirectional Standard I/O port pin, also external address bus A9, PWM1N_2 complementary output, and PWM6 output.
23 P2.2 bidirectional Standard I/O port pin, also external address bus A10, PWM2P_2, PWM7, SPI SS_2, USART1/USART2 SPI SS, and I2S word select (I2SWS_3).
24 P2.3 bidirectional Standard I/O port pin, also external address bus A11, PWM2N_2, PWM8, SPI MOSI_2, USART1/USART2 SPI MOSI, and I2S data (I2SSD_3).
25 P2.4 bidirectional Standard I/O port pin, also external address bus A12, PWM3P_2, SPI MISO_2, USART1/USART2 SPI MISO, and I2C SDA_2.
26 P2.5 bidirectional Standard I/O port pin, also external address bus A13, PWM3N_2, SPI SCLK_2, USART1/USART2 SPI clock, I2C SCL_2, and I2S bit clock (I2SCK_3).
27 P2.6 bidirectional Standard I/O port pin, also external address bus A14 and PWM4P_2 capture/output.
28 P2.7 bidirectional Standard I/O port pin, also external address bus A15 and PWM4N_2 complementary output.
29 P0.0 bidirectional Standard I/O port pin, also address/data bus AD0, ADC8 analog input, UART3 receive RxD3, PWM5_3, Timer 3 external input T3_2, and CAN receive CAN_RX.
30 P0.1 bidirectional Standard I/O port pin, also address/data bus AD1, ADC9 analog input, UART3 transmit TxD3, PWM6_3, T3CLKO_2 timer 3 clock output, and CAN transmit CAN_TX.
31 P0.2 bidirectional Standard I/O port pin, also address/data bus AD2, ADC10 analog input, UART4 receive RxD4, PWM7_3, Timer 4 external input T4_2, CAN2_RX, and LIN_RX.
32 P0.3 bidirectional Standard I/O port pin, also address/data bus AD3, ADC11 analog input, UART4 transmit TxD4, PWM8_3, T4CLKO_2 timer 4 clock output, CAN2_TX, and LIN_TX.
33 EP passive Exposed pad (from the footprint; not named in the datasheet pin table).

Key specifications

Parameter Value
Manufacturer STC Micro
Package QFN-32-EP(4x4)
Category Embedded Processors & Controllers
Pins 33

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
工作温度 -40 125 ℃ 1656
工作电压 1.9 5.5 V 工作温度低于-40℃时,工作电压不得低于 3.0V 1656
VDD 对地电压 VDD -0.3 5.5 V 1656
I/O 口对地电压 -0.3 V 1656
存储温度 -55 155 ℃ 1656
内部 IRC 温漂 (-20℃~65℃) -0.88 1.05 % -20℃~65℃,参考温度 25℃ 1656
内部 IRC 温漂 (-40℃~85℃) -1.38 1.42 % -40℃~85℃,参考温度 25℃ 1656
内部 IRC 温漂 (-40℃~125℃) -3 3 % -40℃~125℃,参考温度 25℃ 1656
输入高电平(普通 I/O) VIH1 1.6 V VDD=5.0V, 25℃; 打开施密特触发 1657
输入高电平(普通 I/O) VIH1 1.54 V VDD=5.0V, 25℃; 关闭施密特触发 1657
输入低电平 VIL1 1.32 V VDD=5.0V, 25℃; 打开施密特触发 1657
输入低电平 VIL1 1.48 V VDD=5.0V, 25℃; 关闭施密特触发 1657
逻辑 0 输入电流 IIL 50 uA VDD=5.0V, 25℃; 端口电压 0V 1657
逻辑 1 到 0 的转移电流 ITL 100 270 600 uA VDD=5.0V, 25℃; 端口电压 2.0V 1657
I/O 口上拉电阻 RPU 4.1 4.2 4.4 KΩ VDD=5.0V, 25℃ 1657
普通工作模式电流 ICC 4 20 mA VDD=5.0V, 25℃ 1657

CAD (KiCad official)

  • Symbol: STC32G8K64-42I-QFN32
  • Footprint: Package_DFN_QFN:QFN-32-1EP_4x4mm_P0.4mm_EP2.9x2.9mm
  • 3D model: QFN-32-EP(4x4) (KiCad packages3D, STEP)
  • 3D model files: stc32g8k64-42i-qfn32-etched.step / stc32g8k64-42i-qfn32-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stc32g8k64-42i-qfn32.step / stc32g8k64-42i-qfn32.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-05, 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