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 6d ago
viewers stc8g2k32s4-36i-lqfp48: viewers · Ray 6d ago
package.json Publish 0.1.0 · Ray 6d ago
page.json Set visibility: public · Ray 6d ago
README.md Publish 0.1.0 · Ray 6d ago
stc8g2k32s4-36i-lqfp48-etched.glb Publish 0.1.0 · Ray 6d ago
stc8g2k32s4-36i-lqfp48-etched.step stc8g2k32s4-36i-lqfp48: factory component page (tier=lcsc) · Ray 6d ago
stc8g2k32s4-36i-lqfp48-hero.glb stc8g2k32s4-36i-lqfp48: hero GLB from the etched model (keeps the MPN mark) · Ray 6d ago
stc8g2k32s4-36i-lqfp48-hero.overlay.json Publish 0.1.0 · Ray 6d ago
stc8g2k32s4-36i-lqfp48.glb Publish 0.1.0 · Ray 6d ago
stc8g2k32s4-36i-lqfp48.kicad_mod Publish 0.1.0 · Ray 6d ago
stc8g2k32s4-36i-lqfp48.kicad_sym Publish 0.1.0 · Ray 6d ago
stc8g2k32s4-36i-lqfp48.lbr Publish 0.1.0 · Ray 6d ago
stc8g2k32s4-36i-lqfp48.step Publish 0.1.0 · Ray 6d ago

STC8G2K32S4-36I-LQFP48

STC Micro · Microcontrollers (MCU/MPU/SOC) · LQFP-48(7x7)

STC8G2K32S4-36I-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 GPIO P5.3 (quasi-bidirectional, push-pull, open-drain or high-impedance input mode); alternate functions are PWM53 enhanced-PWM output and TxD4_2 UART4 transmit.
2 P0.5 bidirectional Standard GPIO P0.5 with alternate functions PWM05 enhanced-PWM output, AD5 address/data bus, ADC13 analog input, and T3CLKO Timer3 clock output.
3 P0.6 bidirectional Standard GPIO P0.6 with alternate functions PWM06 output, AD6 address/data bus, ADC14 analog input, T4 Timer4 external clock input, and PWMFLT2 enhanced-PWM fault-detect input.
4 P0.7 bidirectional Standard GPIO P0.7 with alternate functions PWM07 output, AD7 address/data bus, T4CLKO Timer4 clock output, and PWMFLT3 enhanced-PWM fault-detect input.
5 P1.0 bidirectional Standard GPIO P1.0 with alternate functions PWM10 output, ADC0 analog input, CCP1 PCA capture/compare/PWM, and RxD2 UART2 receive.
6 P1.1 bidirectional Standard GPIO P1.1 with alternate functions PWM11 output, ADC1 analog input, CCP0 PCA capture/compare/PWM, and TxD2 UART2 transmit.
7 P4.7 bidirectional Standard GPIO P4.7 with alternate functions PWM47 enhanced-PWM output and TxD2_2 UART2 transmit (alternate pin).
8 P1.2 bidirectional Standard GPIO P1.2 with alternate functions PWM12 output, ADC2 analog input, ECI PCA external pulse input, SS SPI slave select, and T2 Timer2 external clock input.
9 P1.3 bidirectional Standard GPIO P1.3 with alternate functions PWM13 output, ADC3 analog input, MOSI SPI master-out/slave-in, and T2CLKO Timer2 clock output.
10 P1.4 bidirectional Standard GPIO P1.4 with alternate functions PWM14 output, ADC4 analog input, MISO SPI master-in/slave-out, and SDA I2C data line.
11 P1.5 bidirectional Standard GPIO P1.5 with alternate functions PWM15 output, ADC5 analog input, SCLK SPI clock, and SCL I2C clock line.
12 P1.6 bidirectional Standard GPIO P1.6 with alternate functions PWM16 output, ADC6 analog input, RxD_3 UART1 receive, MCLKO_2 master clock output, and XTALO external crystal output.
13 P1.7 bidirectional Standard GPIO P1.7 with alternate functions PWM17 output, ADC7 analog input, TxD_3 UART1 transmit, and XTALI external crystal/clock input.
14 P5.4 bidirectional Standard GPIO P5.4 that can be set by ISP download as the active-low reset pin nRST (factory default I/O); also provides MCLKO master clock output, PWM54 output and SS_3; when used as I/O its internal 4K pull-up stays on for about 6.5 ms after power-up.
15 Vcc power_in Main power supply pin (AVcc is the ADC supply on the same pin); the device operates from 1.9 V to 5.5 V.
16 ADC_VRef+ input ADC external reference voltage input that must be driven from an external reference of 2.4 V to MCU-VCC (floating causes leakage current); the datasheet notes it may be tied directly to VCC when low accuracy is acceptable.
17 Gnd power_in Ground pin for the MCU (AGnd is the ADC ground on the same pin).
18 P4.0 bidirectional Standard GPIO P4.0 with alternate functions PWM40 enhanced-PWM output and MOSI_3 SPI master-out/slave-in.
19 P3.0 bidirectional Standard GPIO P3.0 with alternate functions PWM30 output, RxD UART1 receive and INT4 external interrupt 4 (falling edge only); P3.0 and P3.1 are weak-pull-up quasi-bidirectional after power-up, and P3.0/P3.1/P3.2 must not all be low at power-on unless USB ISP download is intended.
20 P3.1 bidirectional Standard GPIO P3.1 with alternate functions PWM31 output and TxD UART1 transmit; it is quasi-bidirectional after power-up and is also used for ISP download.
21 P3.2 bidirectional Standard GPIO P3.2 with alternate functions PWM32 output, INT0 external interrupt 0, SCLK_4 SPI clock and SCL_4 I2C clock; it is part of the P3.0/P3.1/P3.2 power-on USB-ISP check.
22 P3.3 bidirectional Standard GPIO P3.3 with alternate functions PWM33 output, INT1 external interrupt 1, MISO_4 SPI master-in/slave-out and SDA_4 I2C data line.
23 P3.4 bidirectional Standard GPIO P3.4 with alternate functions PWM34 output, T0 Timer0 external clock input, T1CLKO Timer1 clock output, ECI_2 PCA external pulse input, MOSI_4 SPI master-out and CMPO comparator output.
24 P5.0 bidirectional Standard GPIO P5.0 with alternate functions PWM50 enhanced-PWM output and RxD3_2 UART3 receive (alternate pin).
25 P5.1 bidirectional Standard GPIO P5.1 with alternate functions PWM52 enhanced-PWM output and TxD3_2 UART3 transmit (alternate pin).
26 P3.5 bidirectional Standard GPIO P3.5 with alternate functions PWM35 output, T1 Timer1 external clock input, T0CLKO Timer0 clock output, SS_4 SPI slave select, CCP0_2 PCA channel and PWMFLT fault input.
27 P3.6 bidirectional Standard GPIO P3.6 with alternate functions PWM36 output, INT2 external interrupt 2 (falling edge only), RxD_2 UART1 receive, CMP- comparator negative input and CCP1_2 PCA channel.
28 P3.7 bidirectional Standard GPIO P3.7 with alternate functions PWM37 output, INT3 external interrupt 3 (falling edge only), TxD_2 UART1 transmit, CMP+ comparator positive input and CCP2/CCP2_2 PCA channel.
29 P4.1 bidirectional Standard GPIO P4.1 with alternate functions PWM41 output, MISO_3 SPI master-in/slave-out and CMPO_2 comparator output.
30 P4.2 bidirectional Standard GPIO P4.2 with alternate functions PWM42 output and WR external bus write strobe.
31 P4.3 bidirectional Standard GPIO P4.3 with alternate functions PWM43 output, RxD_4 UART4 receive and SCLK_3 SPI clock.
32 P4.4 bidirectional Standard GPIO P4.4 with alternate functions PWM44 output, RD external bus read strobe and TxD_4 UART4 transmit.
33 P2.0 bidirectional Standard GPIO P2.0 with alternate functions PWM20 output and A8 address bus.
34 P2.1 bidirectional Standard GPIO P2.1 with alternate functions PWM21 output and A9 address bus.
35 P2.2 bidirectional Standard GPIO P2.2 with alternate functions PWM22 output, A10 address bus and SS_2 SPI slave select.
36 P2.3 bidirectional Standard GPIO P2.3 with alternate functions PWM23 output, A11 address bus and MOSI_2 SPI master-out/slave-in.
37 P2.4 bidirectional Standard GPIO P2.4 with alternate functions PWM24 output, A12 address bus, ECI_3 PCA external pulse input, MISO_2 SPI and I2CSDA_2 I2C data line.
38 P2.5 bidirectional Standard GPIO P2.5 with alternate functions PWM25 output, A13 address bus, CCP0_3 PCA channel, SCLK_2 SPI clock and I2CSCL_2 I2C clock line.
39 P2.6 bidirectional Standard GPIO P2.6 with alternate functions PWM26 output, A14 address bus and CCP1_3 PCA channel.
40 P2.7 bidirectional Standard GPIO P2.7 with alternate functions PWM27 output, A15 address bus and CCP2_3 PCA channel.
41 P4.5 bidirectional Standard GPIO P4.5 with alternate functions PWM45 enhanced-PWM output and ALE address latch enable.
42 P4.6 bidirectional Standard GPIO P4.6 with alternate functions PWM46 enhanced-PWM output and RxD2_2 UART2 receive (alternate pin).
43 P0.0 bidirectional Standard GPIO P0.0 with alternate functions PWM00 output, ADC8 analog input, AD0 address/data bus and RxD3 UART3 receive.
44 P0.1 bidirectional Standard GPIO P0.1 with alternate functions PWM01 output, ADC9 analog input, AD1 address/data bus and TxD3 UART3 transmit.
45 P0.2 bidirectional Standard GPIO P0.2 with alternate functions PWM02 output, ADC10 analog input, AD2 address/data bus and RxD4 UART4 receive.
46 P0.3 bidirectional Standard GPIO P0.3 with alternate functions PWM03 output, ADC11 analog input, AD3 address/data bus and TxD4 UART4 transmit.
47 P0.4 bidirectional Standard GPIO P0.4 with alternate functions PWM04 output, ADC12 analog input, AD4 address/data bus and T3 Timer3 external clock input.
48 P5.2 bidirectional Standard GPIO P5.2 with alternate functions PWM52 enhanced-PWM output and RxD4_2 UART4 receive (alternate pin).

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
Operating temperature -40 85 ℃ 1052
Storage temperature -55 150 ℃ 1052
Operating voltage 1.9 5.5 V 1052
VDD to ground voltage -0.3 5.5 V 1052
I/O port to ground voltage -0.3 V 1052
Input low voltage (normal I/O), Schmitt trigger on VIL1 0.99 V Schmitt trigger on (打开施密特触发) 1053
Input low voltage (normal I/O), Schmitt trigger off VIL1 1.07 V Schmitt trigger off (关闭施密特触发) 1053
Input high voltage (normal I/O), Schmitt trigger on VIH1 1.18 V Schmitt trigger on (打开施密特触发) 1053
Input high voltage (normal I/O), Schmitt trigger off VIH1 1.09 V Schmitt trigger off (关闭施密特触发) 1053
Logic 0 input current IIL 50 uA Port voltage 0V 1053
Logic 1 to 0 transition current ITL 100 270 600 uA Port voltage 2.0V 1053
I/O pull-up resistance RPU 5.8 5.9 6 KΩ 1053
Thermal resistance 165 ℃/W 1052

Materials and finish

As the datasheet states them (page.json metadata.appearance; the 3D model's colours follow it).

Part Material Colour / plating Datasheet says Page
housing PC Accumulator contents and the contents of a sixteen-bit base register, which may be either the Data Pointer or the PC. In the latter case, the PC is incremented to the address of the following 548

CAD (KiCad official)

  • Symbol: STC8G2K32S4-36I-LQFP48
  • Footprint: Package_QFP:LQFP-48_7x7mm_P0.5mm
  • 3D model: LQFP-48(7x7) (KiCad packages3D, STEP)
  • 3D model files: stc8g2k32s4-36i-lqfp48-etched.step / stc8g2k32s4-36i-lqfp48-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stc8g2k32s4-36i-lqfp48.step / stc8g2k32s4-36i-lqfp48.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: STC Micro datasheet (1240 pp, sha256 7d5e82c9f651aa92, retrieved 2026-10-20, 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