main
Ray Publish 0.1.0 bdfd8e0

STC12C5A32S2-35I-LQFP48

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

STC12C5A32S2-35I-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 General-purpose I/O port 5 bit 3, configurable via P5M1/P5M0 into quasi-bidirectional, push-pull, input-only or open-drain mode.
2 MOSI/ADC5/P1.5 bidirectional P1.5 I/O that serves as SPI MOSI or 10-bit ADC input channel 5; set to open-drain or input-only mode when used as ADC.
3 MISO/ADC6/P1.6 bidirectional P1.6 I/O that serves as SPI MISO or 10-bit ADC input channel 6; set to open-drain or input-only mode when used as ADC.
4 SCLK/ADC7/P1.7 bidirectional P1.7 I/O that serves as SPI clock (SCLK) or 10-bit ADC input channel 7; set to open-drain or input-only mode when used as ADC.
5 P4.7/RST bidirectional Reset input or P4.7 I/O, chosen at ISP programming time; if set as P4.7 I/O an external clock must be used.
6 RxD/P3.0 bidirectional P3.0 I/O that serves as UART1 receive (RxD) and can wake the part from power-down mode.
7 SCLK/TxD2/CCP1/P4.3 bidirectional P4.3 I/O that carries SPI SCLK, UART2 TxD2 or PCA CCP1 when the P4 alternate-pin option is selected in AUXR1.
8 TxD/P3.1 bidirectional P3.1 I/O that serves as UART1 transmit (TxD).
9 INT0/P3.2 bidirectional P3.2 I/O that serves as external interrupt 0 input and can wake the part from power-down mode.
10 INT1/P3.3 bidirectional P3.3 I/O that serves as external interrupt 1 input and can wake the part from power-down mode.
11 CLKOUT0/T0/P3.4 bidirectional P3.4 I/O that serves as Timer 0 external input or the Timer 0 overflow clock output (CLKOUT0), and can wake the part from power-down mode.
12 CLKOUT1/T1/P3.5 bidirectional P3.5 I/O that serves as Timer 1 external input or the Timer 1 overflow clock output (CLKOUT1), and can wake the part from power-down mode.
13 P3.6/WR bidirectional P3.6 I/O that serves as the external data memory write strobe (WR).
14 P3.7/RD bidirectional P3.7 I/O that serves as the external data memory read strobe (RD).
15 XTAL2 output Crystal oscillator output; leave floating when an external clock is fed into XTAL1.
16 XTAL1 input Crystal oscillator input or external clock input.
17 Gnd power_in Ground.
18 P4.0/SS bidirectional P4.0 I/O that serves as SPI slave select (SS) when SPI is switched to port 4.
19 P2.0 bidirectional General-purpose I/O port 2 bit 0, also the address bus bit for external memory access.
20 P2.1 bidirectional General-purpose I/O port 2 bit 1, also the address bus bit for external memory access.
21 P2.2 bidirectional General-purpose I/O port 2 bit 2, also the address bus bit for external memory access.
22 P2.3 bidirectional General-purpose I/O port 2 bit 3, also the address bus bit for external memory access.
23 P2.4 bidirectional General-purpose I/O port 2 bit 4, also the address bus bit for external memory access.
24 P5.0 bidirectional General-purpose I/O port 5 bit 0, configurable via P5M1/P5M0 into quasi-bidirectional, push-pull, input-only or open-drain mode.
25 P5.1 bidirectional General-purpose I/O port 5 bit 1, configurable via P5M1/P5M0 into quasi-bidirectional, push-pull, input-only or open-drain mode.
26 P2.5 bidirectional General-purpose I/O port 2 bit 5, also the address bus bit for external memory access.
27 P2.6 bidirectional General-purpose I/O port 2 bit 6, also the address bus bit for external memory access.
28 P2.7 bidirectional General-purpose I/O port 2 bit 7, also the address bus bit for external memory access.
29 P4.4/NA bidirectional After reset (P4SW.4=0) this pin is a weak pull-up with no function; setting P4SW.4=1 makes it the P4.4 I/O.
30 P4.5/ALE bidirectional After reset (P4SW.5=0) this pin carries the ALE signal, output only during MOVX access to external devices; setting P4SW.5=1 makes it the P4.5 I/O.
31 P4.1/ECI/MOSI bidirectional P4.1 I/O that carries PCA external clock input (ECI) or SPI MOSI when the P4 alternate-pin option is selected.
32 P4.6/EX_LVD/RST2 bidirectional After reset (P4SW.6=0) this is the external low-voltage detect input (EX_LVD) that can act as the second reset RST2 and wake power-down mode; setting P4SW.6=1 makes it the P4.6 I/O.
33 P0.7 bidirectional General-purpose I/O port 0 bit 7, also the data/address bus bit for external memory access.
34 P0.6 bidirectional General-purpose I/O port 0 bit 6, also the data/address bus bit for external memory access.
35 P0.5 bidirectional General-purpose I/O port 0 bit 5, also the data/address bus bit for external memory access.
36 P0.4 bidirectional General-purpose I/O port 0 bit 4, also the data/address bus bit for external memory access.
37 P0.3 bidirectional General-purpose I/O port 0 bit 3, also the data/address bus bit for external memory access.
38 P0.2 bidirectional General-purpose I/O port 0 bit 2, also the data/address bus bit for external memory access.
39 P0.1 bidirectional General-purpose I/O port 0 bit 1, also the data/address bus bit for external memory access.
40 P0.0 bidirectional General-purpose I/O port 0 bit 0, also the data/address bus bit for external memory access.
41 Vcc power_in Positive supply; the STC12C5A60S2 (C) series operates from 5.5V to 3.5V.
42 MISO/RxD2/CCP0/P4.2 bidirectional P4.2 I/O that carries SPI MISO, UART2 RxD2 or PCA CCP0 when the P4 alternate-pin option is selected.
43 CLKOUT2/ADC0/P1.0 bidirectional P1.0 I/O that serves as the baud-rate timer clock output (CLKOUT2) or 10-bit ADC input channel 0; set to open-drain or input-only mode when used as ADC.
44 ADC1/P1.1 bidirectional P1.1 I/O that serves as 10-bit ADC input channel 1; set to open-drain or input-only mode when used as ADC.
45 RxD2/ECI/ADC2/P1.2 bidirectional P1.2 I/O that serves as UART2 receive (RxD2), PCA external clock input (ECI) or 10-bit ADC input channel 2.
46 TxD2/CCP0/ADC3/P1.3 bidirectional P1.3 I/O that serves as UART2 transmit (TxD2), PCA/PWM channel CCP0 or 10-bit ADC input channel 3, and can wake power-down mode.
47 SS/CCP1/ADC4/P1.4 bidirectional P1.4 I/O that serves as SPI slave select (SS), PCA/PWM channel CCP1 or 10-bit ADC input channel 4, and can wake power-down mode.
48 P5.2 bidirectional General-purpose I/O port 5 bit 2, configurable via P5M1/P5M0 into quasi-bidirectional, push-pull, input-only or open-drain mode.

Key specifications

Parameter Value
Manufacturer STC Micro
Package LQFP-48(7x7)
Category Embedded Processors & Controllers
Pins 48

CAD (KiCad official)

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

Provenance

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

  • Datasheet: STC Micro datasheet (1543 pp, sha256 7fde44da8887b7a0, retrieved 2026-10-27, 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-sonnet-5-5 (text+vision), consensus claude-opus-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