Symbol & Footprint

Schematic Symbol

Open full view ↗

PCB Footprint

Open full view ↗
Contents

README

markdown

STC8H8K64U-45I-LQFP48

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

STC8H8K64U-45I-LQFP48 from STC Micro, in a LQFP-48(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 P5.3/TxD4_2 bidirectional Standard bidirectional I/O P5.3; alternate: UART4 TX (TxD4_2).
2 P0.5/AD5/ADC13/T3CLKO bidirectional P0.5 GPIO / external-bus AD5 (address+data) / ADC channel 13 input / Timer3 clock-divider output.
3 P0.6/AD6/ADC14/T4/PWMETI2_2 bidirectional P0.6 GPIO / external-bus AD6 / ADC channel 14 / Timer4 external clock in / PWMB external trigger 2 (alt route).
4 P0.7/AD7/T4CLKO bidirectional P0.7 GPIO / external-bus AD7 / Timer4 clock-divider output.
5 P1.0/ADC0/PWM1P/RxD2 bidirectional P1.0 GPIO / ADC channel 0 / PWM1 positive capture-compare / UART2 RX.
6 P1.1/ADC1/PWM1N/TxD2 bidirectional P1.1 GPIO / ADC channel 1 / PWM1 negative output / UART2 TX.
7 P4.7/TxD2_2 bidirectional P4.7 GPIO / UART2 TX alt route (TxD2_2).
8 P1.4/ADC4/PWM3P/MISO/SDA bidirectional P1.4 GPIO / ADC ch4 / PWM3 positive / SPI MISO / I2C SDA.
9 P1.5/ADC5/PWM3N/SCLK/SCL bidirectional P1.5 GPIO / ADC ch5 / PWM3 negative / SPI SCLK / I2C SCL.
10 P1.6/XTALO/MCLKO_2/RxD_3/PWM4P/ADC6 bidirectional P1.6 GPIO / crystal-oscillator output XTALO / master clock output alt2 / UART1 RX alt3 / PWM4 positive / ADC ch6.
11 P1.7/XTALI/PWM5_2/TxD_3/PWM4N/ADC7 bidirectional P1.7 GPIO / crystal-oscillator input XTALI / PWM5 alt2 / UART1 TX alt3 / PWM4 negative / ADC ch7.
12 P1.3/ADC3/MOSI/PWM2N/T2CLKO bidirectional P1.3 GPIO / ADC ch3 / SPI MOSI / PWM2 negative / Timer2 clock-divider output.
13 UCAP passive USB core LDO stabilization capacitor pin - connect 0.1 µF (0.1-10 µF) to GND. Required for the built-in USB PHY regulator.
14 P5.4/nRST/MCLKO/SS/SS_3/PWM2P/PWM6_2/T2/ADC2 bidirectional Multi-function pin. Default at factory is GPIO P5.4 (low-active internal 4 kΩ pull-up briefly asserted 6.5 ms at power-up); can be configured as external reset nRST (active-low) via ISP. Also master-clock output MCLKO, SPI SS/SS_3, PWM2P, PWM6_2, Timer2 external clock, ADC ch2.
15 Vcc/AVcc power_in Main supply pin (also serves as ADC analog VCC). Operating range 1.9-5.5 V. Decouple with a 10 µF (or larger) bulk plus 0.1 µF ceramic near the pin.
16 ADC_VRef+ power_in ADC external positive reference voltage input (recommended 2.4 V to VCC). Do not leave floating (leakage current); can be tied to VCC if precision is not critical.
17 Gnd/AGnd power_in Ground return for both digital and ADC-analog sections (shared pad on this variant).
18 P4.0/MOSI_3 bidirectional P4.0 GPIO / SPI MOSI alt-route 3.
19 P3.0/RxD/D-/INT4 bidirectional P3.0 GPIO / UART1 RX / USB D- (D minus) / external interrupt 4. Used as the USB negative data line for hardware USB-HID ISP download.
20 P3.1/TxD/D+ bidirectional P3.1 GPIO / UART1 TX / USB D+ (D plus). Positive USB data line.
21 P3.2/INT0/SCLK_4/SCL_4/PWMETI/PWMETI2 bidirectional P3.2 GPIO / external interrupt 0 / SPI SCLK alt4 / I2C SCL alt4 / PWM external trigger inputs (PWMETI, PWMETI2). Sampled at reset for USB-ISP entry.
22 P3.3/INT1/MISO_4/SDA_4/PWM4N_4/PWM7_2 bidirectional P3.3 GPIO / external interrupt 1 / SPI MISO alt4 / I2C SDA alt4 / PWM4N alt4 / PWM7 alt2.
23 P3.4/T0/T1CLKO/MOSI_4/PWM4P_4/PWM8_2/CMPO bidirectional P3.4 GPIO / Timer0 external clock in / Timer1 clock divider out / SPI MOSI alt4 / PWM4P alt4 / PWM8 alt2 / analog comparator output CMPO.
24 P5.0/RxD3_2/CMP+_2 bidirectional P5.0 GPIO / UART3 RX alt2 / analog comparator positive input alt2.
25 P5.1/TxD3_2/CMP+_3 bidirectional P5.1 GPIO / UART3 TX alt2 / analog comparator positive input alt3.
26 P3.5/T1/T0CLKO/SS_4/PWMFLT/PWMFLT2 bidirectional P3.5 GPIO / Timer1 external clock in / Timer0 clock divider out / SPI SS alt4 / enhanced-PWMA fault-detect (PWMFLT) / enhanced-PWMB fault-detect (PWMFLT2).
27 P3.6/INT2/RxD_2/CMP- bidirectional P3.6 GPIO / external interrupt 2 / UART1 RX alt2 / analog comparator negative input.
28 P3.7/INT3/TxD_2/CMP+ bidirectional P3.7 GPIO / external interrupt 3 / UART1 TX alt2 / analog comparator positive input.
29 P4.1/MISO_3/CMPO_2/PWMETI_2 bidirectional P4.1 GPIO / SPI MISO alt3 / comparator output alt2 / PWM external trigger alt2.
30 P4.2/WR bidirectional P4.2 GPIO / external-bus write-strobe /WR output.
31 P4.3/RxD_4/SCLK_3 bidirectional P4.3 GPIO / UART1 RX alt4 / SPI SCLK alt3.
32 P4.4/RD/TxD_4 bidirectional P4.4 GPIO / external-bus read-strobe /RD / UART1 TX alt4.
33 P2.0/A8/PWM1P_2/PWM5 bidirectional P2.0 GPIO / external-bus address A8 / PWM1P alt2 / PWM5 capture-compare.
34 P2.1/A9/PWM1N_2/PWM6 bidirectional P2.1 GPIO / external-bus address A9 / PWM1N alt2 / PWM6.
35 P2.2/A10/SS_2/PWM2P_2/PWM7 bidirectional P2.2 GPIO / external-bus A10 / SPI SS alt2 / PWM2P alt2 / PWM7.
36 P2.3/A11/MOSI_2/PWM2N_2/PWM8 bidirectional P2.3 GPIO / external-bus A11 / SPI MOSI alt2 / PWM2N alt2 / PWM8.
37 P2.4/A12/MISO_2/SDA_2/PWM3P_2 bidirectional P2.4 GPIO / external-bus A12 / SPI MISO alt2 / I2C SDA alt2 / PWM3P alt2.
38 P2.5/A13/SCLK_2/SCL_2/PWM3N_2 bidirectional P2.5 GPIO / external-bus A13 / SPI SCLK alt2 / I2C SCL alt2 / PWM3N alt2.
39 P2.6/A14/PWM4P_2 bidirectional P2.6 GPIO / external-bus A14 / PWM4P alt2.
40 P2.7/A15/PWM4N_2 bidirectional P2.7 GPIO / external-bus A15 / PWM4N alt2.
41 P4.5/ALE bidirectional P4.5 GPIO / external-bus address-latch-enable ALE output.
42 P4.6/RxD2_2 bidirectional P4.6 GPIO / UART2 RX alt2.
43 P0.0/AD0/ADC8/RxD3/PWM5_3/T3_2 bidirectional P0.0 GPIO / external-bus AD0 / ADC ch8 / UART3 RX / PWM5 alt3 / Timer3 external clock alt2.
44 P0.1/AD1/ADC9/TxD3/PWM6_3/T3CLKO_2 bidirectional P0.1 GPIO / external-bus AD1 / ADC ch9 / UART3 TX / PWM6 alt3 / Timer3 clock divider out alt2.
45 P0.2/AD2/ADC10/RxD4/PWM7_3/T4_2 bidirectional P0.2 GPIO / external-bus AD2 / ADC ch10 / UART4 RX / PWM7 alt3 / Timer4 external clock alt2.
46 P0.3/AD3/ADC11/TxD4/PWM8_3/T4CLKO_2 bidirectional P0.3 GPIO / external-bus AD3 / ADC ch11 / UART4 TX / PWM8 alt3 / Timer4 clock divider out alt2.
47 P0.4/AD4/ADC12/T3 bidirectional P0.4 GPIO / external-bus AD4 / ADC ch12 / Timer3 external clock input.
48 P5.2/RxD4_2 bidirectional P5.2 GPIO / UART4 RX alt2 (RxD4_2).

Key specifications

Parameter Value
Manufacturer STC Micro
Package LQFP-48(7x7)
Category MCU
Pins 48

Ordering variants

Same part, different packaging or reel option.

  • STC8H8K64U-45I-LQFP48
  • STC8H8K64U-45I-QFN48
  • STC8H8K64U-45I-LQFP64
  • STC8H8K64U-45I-QFN64
  • STC8H8K64U-45I-LQFP44
  • STC8H8K64U-45I-LQFP32
  • STC8H8K64U-45I-QFN32
  • STC8H8K64U-45I-PDIP40
  • STC8H8K64U-45I-SKDIP28
  • STC8H8K64U-45I-TSSOP28
  • STC8H8K64U-45I-TSSOP20
  • STC8H8K64U-45I-SOP16

CAD (KiCad official)

  • Symbol: STC8H8K64U-45I-LQFP48
  • Footprint: Package_QFP:LQFP-48_7x7mm_P0.5mm
  • 3D model: LQFP-48(7x7) (KiCad packages3D, STEP)

Provenance

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

  • Datasheet: STC Micro datasheet (2180 pp, sha256 046aea020e4685f3, retrieved 2026-08-17, 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: ds2sf (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF