main
Ray Publish 0.1.0 86d16ac 12h ago

STC32G8K48-42I-LQFP32

STC Micro · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-32(7x7)

STC32G8K48-42I-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 General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also ADC0 input, PWM1P and RxD2 for UART2 receive.
2 P1.1 bidirectional General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also ADC1 input, PWM1N and TxD2 for UART2 transmit.
3 P1.4 bidirectional General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also ADC4 input, PWM3P, SPI MISO and I2C SDA.
4 P1.5 bidirectional General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also ADC5 input, PWM3N, SPI SCLK and I2C SCL.
5 P1.6 bidirectional General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also ADC6 input, PWM4P, RxD_3 and XTALO external crystal output.
6 P1.7 bidirectional General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also ADC7 input, PWM4N, TxD_3 and XTALI external crystal/clock input.
7 P1.3 bidirectional General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also ADC3 input, SPI MOSI, PWM2N and T2CLKO timer 2 clock output.
8 P1.2 bidirectional General-purpose bidirectional I/O (standard quasi-bidirectional, push-pull, open-drain or high-impedance input mode); it is also PWM2P, SPI SS and external timer 2 clock input T2.
9 P5.4 bidirectional General-purpose I/O by default (high-impedance input after power-up); when set as reset pin it is active-low nRST, and it also carries ADC2, MCLKO and SPI slave-select functions.
10 Vcc/AVcc power_in Supply pin for the MCU and ADC analog supply, with operating voltage 1.9V to 5.5V per the datasheet.
11 ADC_VRef+ input ADC external reference voltage input, which must be connected to an external reference between 2.4V and MCU-VCC and must not float because leakage current results.
12 Gnd/AGnd power_in Ground pin shared by digital and ADC analog ground.
13 P3.0 bidirectional Standard I/O port with weak pull-up after power-on; it is also RxD for UART1 receive and external interrupt INT4, and is used with P3.1 for USB/ISP download detection.
14 P3.1 bidirectional Standard I/O port with weak pull-up after power-on; it is also TxD for UART1 transmit and is used with P3.0 for ISP/emulation interface.
15 P3.2 bidirectional Standard I/O port; it is also external interrupt INT0, SPI SCLK and I2C SCL, and is held high at power-on reset.
16 P3.3 bidirectional Standard I/O port; it is also external interrupt INT1, SPI MISO, I2C SDA and PWM4N/PWM7 outputs.
17 P3.4 bidirectional Standard I/O port; it is also timer 0 external input T0, T1 clock output, SPI MOSI, PWM4P/PWM8 and comparator output CMPO.
18 P3.5 bidirectional Standard I/O port; it is also timer 1 external input T1, T0 clock output, SPI slave select, PWM fault input PWMFLT and I2S word select.
19 P3.6 bidirectional Standard I/O port; it is also external interrupt INT2, UART2 receive RxD_2 and comparator negative input CMP-.
20 P3.7 bidirectional Standard I/O port; it is also external interrupt INT3, UART2 transmit TxD_2 and comparator positive input CMP+.
21 P2.0 bidirectional Standard I/O port; it is also address bus A8 for external bus, PWM1P_2 and PWM5 outputs.
22 P2.1 bidirectional Standard I/O port; it is also address bus A9 for external bus, PWM1N_2 and PWM6 outputs.
23 P2.2 bidirectional Standard I/O port; it is also address bus A10, PWM2P_2, PWM7, SPI slave select SS_2 and I2S word select.
24 P2.3 bidirectional Standard I/O port; it is also address bus A11, PWM2N_2, PWM8, SPI MOSI_2 and I2S data.
25 P2.4 bidirectional Standard I/O port; it is also address bus A12, PWM3P_2, SPI MISO_2 and I2C SDA_2.
26 P2.5 bidirectional Standard I/O port; it is also address bus A13, PWM3N_2, SPI SCLK_2 and I2C SCL_2.
27 P2.6 bidirectional Standard I/O port; it is also address bus A14 and PWM4P_2 output.
28 P2.7 bidirectional Standard I/O port; it is also address bus A15 and PWM4N_2 output.
29 P0.0 bidirectional Standard I/O port; it is also address/data bus AD0, ADC8 input, UART3 receive RxD3, CAN receive CAN_RX and PWM5_3.
30 P0.1 bidirectional Standard I/O port; it is also address/data bus AD1, ADC9 input, UART3 transmit TxD3, CAN transmit CAN_TX and PWM6_3.
31 P0.2 bidirectional Standard I/O port; it is also address/data bus AD2, ADC10 input, UART4 receive RxD4, CAN2 receive and LIN receive.
32 P0.3 bidirectional Standard I/O port; it is also address/data bus AD3, ADC11 input, UART4 transmit TxD4, CAN2 transmit and LIN transmit.

Key specifications

Parameter Value
Manufacturer STC Micro
Package LQFP-32(7x7)
Category Single Chip Microcomputer/Microcontroller
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
Internal IRC frequency drift -3 3 % 参考温度25℃, -40℃~125℃ 1618
Power-down mode current IPD 1 uA VSS=0V,VDD=5.0V,测试温度=25℃ 1619

CAD (KiCad official)

  • Symbol: STC32G8K48-42I-LQFP32
  • Footprint: Package_QFP:LQFP-32_7x7mm_P0.8mm
  • 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)
  • 3D model files: stc32g8k48-42i-lqfp32-etched.step / stc32g8k48-42i-lqfp32-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stc32g8k48-42i-lqfp32.step / stc32g8k48-42i-lqfp32.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-10-28, 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