Symbol & Footprint

Schematic Symbol

Open full view ↗

PCB Footprint

Open full view ↗
Contents

README

markdown

STC8A8K64D4-45I-LQFP64

STC Micro · Microcontrollers (MCU/MPU/SOC) · LQFP-64(10x10)

STC8A8K64D4-45I-LQFP64 from STC Micro, in a LQFP-64(10x10). 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.2/RxD4_2 bidirectional General-purpose I/O P5.2. Alternate function: UART4 receive input (RxD4_2 remap).
2 P5.3/TxD4_2 bidirectional General-purpose I/O P5.3. Alternate function: UART4 transmit output (TxD4_2 remap).
3 P1.1/ADC1/PWM1_2/TxD2 bidirectional General-purpose I/O P1.1. Muxable to ADC channel 1, enhanced PWM channel 1 (route 2), or UART2 transmit output.
4 P1.2/ADC2/PWM2_2/SS/T2/ECI/ADC_ETR bidirectional General-purpose I/O P1.2. Muxable to ADC channel 2, PWM2 (route 2), SPI slave-select, Timer2 external clock, PCA external clock (ECI), or ADC external trigger.
5 P1.3/ADC3/PWM3_2/MOSI/T2CLKO bidirectional General-purpose I/O P1.3. Muxable to ADC channel 3, PWM3 (route 2), SPI MOSI, or Timer2 clock-divide output.
6 P6.0/PWM0_3 bidirectional General-purpose I/O P6.0. Alternate: enhanced PWM channel 0 output (route 3).
7 P6.1/PWM1_3 bidirectional General-purpose I/O P6.1. Alternate: enhanced PWM channel 1 output (route 3).
8 P6.2/PWM2_3 bidirectional General-purpose I/O P6.2. Alternate: enhanced PWM channel 2 output (route 3).
9 P6.3/PWM3_3 bidirectional General-purpose I/O P6.3. Alternate: enhanced PWM channel 3 output (route 3).
10 P1.4/ADC4/PWM4_2/MISO/SDA/CCP3 bidirectional General-purpose I/O P1.4. Muxable to ADC channel 4, PWM4 (route 2), SPI MISO, I2C data (SDA), or PCA/CCP channel 3.
11 P4.4/RD/TxD_4 bidirectional General-purpose I/O P4.4. Alternate: external bus RD (read strobe) output, or UART1 transmit output (route 4).
12 P1.5/ADC5/PWM5_2/SCLK/SCL/CCP2 bidirectional General-purpose I/O P1.5. Muxable to ADC channel 5, PWM5 (route 2), SPI clock, I2C clock (SCL), or PCA/CCP channel 2.
13 P1.6/ADC6/RxD_3/PWM6_2/MCLKO_2/CCP1/XTALO bidirectional General-purpose I/O P1.6. Muxable to ADC channel 6, UART1 RX (route 3), PWM6 (route 2), master-clock divide output, PCA/CCP channel 1, or external crystal output XTALO.
14 P1.7/ADC7/TxD_3/PWM7_2/CCP0/XTALI bidirectional General-purpose I/O P1.7. Muxable to ADC channel 7, UART1 TX (route 3), PWM7 (route 2), PCA/CCP channel 0, or external crystal input XTALI.
15 ADC_AGnd power_in ADC analog ground reference. Tie to system ground through a clean return, ideally via a single-point star to reduce digital noise coupling.
16 ADC_VRef+ input External ADC positive reference voltage input (AVref). Sets ADC full-scale; decouple with ~0.1 uF and larger bulk cap to ADC_AGnd.
17 ADC_AVcc power_in ADC analog supply. Connect to VCC through a ferrite bead or small RC filter and decouple to ADC_AGnd for best ADC accuracy.
18 P5.4/nRST/MCLKO bidirectional General-purpose I/O P5.4. Alternate: active-low external reset input nRST (enabled via RSTCFG) or master-clock divide output MCLKO.
19 VCC power_in Main digital supply (typ 2.5-5.5 V). Decouple with ~0.1 uF ceramic close to the pin plus a larger bulk capacitor (~10 uF) between VCC and GND.
20 P5.5 bidirectional General-purpose I/O P5.5. No datasheet-listed alternate peripheral function.
21 GND power_in Digital ground. Star-connect analog and digital grounds at this node when possible.
22 P4.0/WR_3/RxD2_2 bidirectional General-purpose I/O P4.0. Alternate: external bus WR write strobe (route 3) or UART2 receive (route 2).
23 P6.4/PWM4_3 bidirectional General-purpose I/O P6.4. Alternate: enhanced PWM channel 4 output (route 3).
24 P6.5/PWM5_3 bidirectional General-purpose I/O P6.5. Alternate: enhanced PWM channel 5 output (route 3).
25 P6.6/PWM6_3 bidirectional General-purpose I/O P6.6. Alternate: enhanced PWM channel 6 output (route 3).
26 P6.7/PWM7_3 bidirectional General-purpose I/O P6.7. Alternate: enhanced PWM channel 7 output (route 3).
27 P3.0/RxD/CCP3_4/INT4 bidirectional General-purpose I/O P3.0. Alternate: UART1 receive (RxD), PCA/CCP channel 3 (route 4), or external interrupt 4.
28 P3.1/TxD/CCP2_4 bidirectional General-purpose I/O P3.1. Alternate: UART1 transmit (TxD) or PCA/CCP channel 2 (route 4).
29 P3.2/INT0/CCP1_4/SCLK_4/SCL_4 bidirectional General-purpose I/O P3.2. Alternate: external interrupt 0, PCA/CCP channel 1 (route 4), SPI clock (route 4), or I2C clock SCL (route 4).
30 P3.3/INT1/CCP0_4/MISO_4/SDA_4 bidirectional General-purpose I/O P3.3. Alternate: external interrupt 1, PCA/CCP channel 0 (route 4), SPI MISO (route 4), or I2C data SDA (route 4).
31 P3.4/T0/T1CLKO/MOSI_4/CMPO bidirectional General-purpose I/O P3.4. Alternate: Timer0 external clock input, Timer1 clock-divide output, SPI MOSI (route 4), or comparator output CMPO.
32 P3.5/T1/T0CLKO/ECI_4/SS_4/PWMFLT bidirectional General-purpose I/O P3.5. Alternate: Timer1 external clock input, Timer0 clock-divide output, PCA external clock ECI (route 4), SPI slave-select (route 4), or PWM fault input.
33 P5.0/RxD3_2/CMP+_2 bidirectional General-purpose I/O P5.0. Alternate: UART3 receive (route 2) or comparator positive input (CMP+_2).
34 P5.1/TxD3_2/CMP+_3 bidirectional General-purpose I/O P5.1. Alternate: UART3 transmit (route 2) or comparator positive input (CMP+_3).
35 P3.6/INT2/WR_2/RxD_2/CMP- bidirectional General-purpose I/O P3.6. Alternate: external interrupt 2, external bus WR (route 2), UART1 RX (route 2), or comparator negative input CMP-.
36 P3.7/INT3/RD_2/TxD_2/CMP+ bidirectional General-purpose I/O P3.7. Alternate: external interrupt 3, external bus RD (route 2), UART1 TX (route 2), or comparator positive input CMP+.
37 P4.1/ALE/CMPO_2 bidirectional General-purpose I/O P4.1. Alternate: external-bus address latch enable ALE, or comparator output CMPO (route 2).
38 P7.0/CCP0_3 bidirectional General-purpose I/O P7.0. Alternate: PCA/CCP channel 0 (route 3).
39 P7.1/CCP1_3 bidirectional General-purpose I/O P7.1. Alternate: PCA/CCP channel 1 (route 3).
40 P7.2/CCP2_3 bidirectional General-purpose I/O P7.2. Alternate: PCA/CCP channel 2 (route 3).
41 P7.3/CCP3_3 bidirectional General-purpose I/O P7.3. Alternate: PCA/CCP channel 3 (route 3).
42 P2.0/A8/PWM0 bidirectional General-purpose I/O P2.0. Alternate: external-bus address line A8 or enhanced PWM channel 0 output.
43 P4.2/RD_3/TxD2_2 bidirectional General-purpose I/O P4.2. Alternate: external-bus RD strobe (route 3) or UART2 transmit (route 2).
44 P2.1/A9/PWM1 bidirectional General-purpose I/O P2.1. Alternate: external-bus address line A9 or enhanced PWM channel 1 output.
45 P2.2/A10/PWM2/SS_2/ECI_2 bidirectional General-purpose I/O P2.2. Alternate: address A10, PWM channel 2 output, SPI slave-select (route 2), or PCA external clock ECI (route 2).
46 P2.3/A11/PWM3/MOSI_2/CCP0_2 bidirectional General-purpose I/O P2.3. Alternate: address A11, PWM channel 3 output, SPI MOSI (route 2), or PCA/CCP channel 0 (route 2).
47 P2.4/A12/PWM4/MISO_2/SDA_2/CCP1_2 bidirectional General-purpose I/O P2.4. Alternate: address A12, PWM channel 4 output, SPI MISO (route 2), I2C data (route 2), or PCA/CCP channel 1 (route 2).
48 P2.5/A13/PWM5/SCLK_2/SCL_2/CCP2_2 bidirectional General-purpose I/O P2.5. Alternate: address A13, PWM channel 5 output, SPI clock (route 2), I2C clock (route 2), or PCA/CCP channel 2 (route 2).
49 P2.6/A14/PWM6/CCP3_2 bidirectional General-purpose I/O P2.6. Alternate: address A14, PWM channel 6 output, or PCA/CCP channel 3 (route 2).
50 P2.7/A15/PWM7 bidirectional General-purpose I/O P2.7. Alternate: address A15 or enhanced PWM channel 7 output.
51 P0.0/AD0/ADC8/RxD3 bidirectional General-purpose I/O P0.0. Alternate: multiplexed address/data AD0, ADC channel 8, or UART3 receive.
52 P0.1/AD1/ADC9/TxD3 bidirectional General-purpose I/O P0.1. Alternate: AD1, ADC channel 9, or UART3 transmit.
53 P0.2/AD2/ADC10/RxD4 bidirectional General-purpose I/O P0.2. Alternate: AD2, ADC channel 10, or UART4 receive.
54 P7.4/SS_3/ECI_3 bidirectional General-purpose I/O P7.4. Alternate: SPI slave-select (route 3) or PCA external clock ECI (route 3).
55 P7.5/MOSI_3 bidirectional General-purpose I/O P7.5. Alternate: SPI MOSI (route 3).
56 P7.6/MISO_3/SDA_3 bidirectional General-purpose I/O P7.6. Alternate: SPI MISO (route 3) or I2C data (route 3).
57 P7.7/SCLK_3/SCL_3 bidirectional General-purpose I/O P7.7. Alternate: SPI clock (route 3) or I2C clock (route 3).
58 P4.3/WR/RxD_4 bidirectional General-purpose I/O P4.3. Alternate: external-bus WR strobe or UART1 receive (route 4).
59 P0.3/AD3/ADC11/TxD4 bidirectional General-purpose I/O P0.3. Alternate: AD3, ADC channel 11, or UART4 transmit.
60 P0.4/AD4/ADC12/T3 bidirectional General-purpose I/O P0.4. Alternate: AD4, ADC channel 12, or Timer3 external clock input.
61 P0.5/AD5/ADC13/T3CLKO bidirectional General-purpose I/O P0.5. Alternate: AD5, ADC channel 13, or Timer3 clock-divide output.
62 P0.6/AD6/ADC14/T4 bidirectional General-purpose I/O P0.6. Alternate: AD6, ADC channel 14, or Timer4 external clock input.
63 P0.7/AD7/T4CLKO bidirectional General-purpose I/O P0.7. Alternate: AD7 or Timer4 clock-divide output.
64 P1.0/ADC0/PWM0_2/RxD2 bidirectional General-purpose I/O P1.0. Alternate: ADC channel 0, enhanced PWM channel 0 (route 2), or UART2 receive.

Key specifications

Parameter Value
Manufacturer STC Micro
Package LQFP-64(10x10)
Category MCU
Pins 64

Ordering variants

Same part, different packaging or reel option.

  • STC8A8K64D4-45I-LQFP64
  • STC8A8K64D4-45I-LQFP64QFN64
  • STC8A8K64D4-45I-LQFP48
  • STC8A8K64D4-45I-LQFP64QFN48
  • STC8A8K64D4-45I-LQFP44
  • STC8A8K64D4-45I-LQFP64PDIP40

CAD (KiCad official)

  • Symbol: STC8A8K64D4-45I-LQFP64
  • Footprint: Package_QFP:LQFP-64_10x10mm_P0.5mm
  • 3D model: LQFP-64(10x10) (KiCad packages3D, STEP)

3D model downloads

Two STEP files. Same geometry, different body top:

File Size Use it when
stc8a8k64d4-45i-lqfp64.step 847 KB You want the bare part, or you mark your own boards.
stc8a8k64d4-45i-lqfp64-etched.step 6.7 MB You want the part with STC8A8K64D4-45I-LQFP64 already on it.

The marking in the etched file is real recessed geometry cut into the solid, not a texture or a decal: 1659 faces against 995 in the bare model. It survives export, section views, and rendering in any CAD tool, and it drops straight into KiCad or Fusion with no extra setup.

Provenance

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

  • Datasheet: STC Micro datasheet (1168 pp, sha256 0df2991ceeae5ee1, 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