main
Ray Publish 0.1.0 63b3d6d

STC12C5A32S2-35I-PDIP40

STC Micro · Microcontroller Units (MCUs/MPUs/SOCs) · DIP-40

STC12C5A32S2-35I-PDIP40 from STC Micro, in a DIP-40. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model). Symbol and footprint from KiCad-official CAD; the 3D model is generated from the datasheet's package dimensions.

Pinout

Pin Name Type Function
1 P1.0 bidirectional P1.0 general I/O with ADC0 analog input and CLKOUT2 (BRT clock output); set to open-drain or high-impedance input when used as ADC.
2 P1.1 bidirectional P1.1 general I/O with ADC1 analog input.
3 P1.2 bidirectional P1.2 general I/O with ADC2 input, ECI (PCA external clock input) and RxD2 (UART2 receive).
4 P1.3 bidirectional P1.3 general I/O with ADC3 input, CCP0 (PCA/PWM channel 0) and TxD2 (UART2 transmit).
5 P1.4 bidirectional P1.4 general I/O with ADC4 input, CCP1 (PCA/PWM channel 1) and SPI SS.
6 P1.5 bidirectional P1.5 general I/O with ADC5 input and SPI MOSI.
7 P1.6 bidirectional P1.6 general I/O with ADC6 input and SPI MISO.
8 P1.7 bidirectional P1.7 general I/O with ADC7 input and SPI SCLK.
9 RST/P4.7 input Reset pin or P4.7 I/O, selected at ISP programming time; if set as P4.7 an external clock must be used.
10 P3.0 bidirectional P3.0 general I/O and RxD (UART1 receive); also INT-style power-down wakeup pin.
11 P3.1 bidirectional P3.1 general I/O and TxD (UART1 transmit).
12 P3.2 bidirectional P3.2 general I/O and INT0 external interrupt 0; can wake the CPU from power-down.
13 P3.3 bidirectional P3.3 general I/O and INT1 external interrupt 1; can wake the CPU from power-down.
14 P3.4 bidirectional P3.4 general I/O with T0 input and CLKOUT0 (Timer0 overflow clock output); can wake from power-down.
15 P3.5 bidirectional P3.5 general I/O with T1 input and CLKOUT1 (Timer1 overflow clock output); can wake from power-down.
16 P3.6 bidirectional P3.6 general I/O and WR (external data memory write strobe).
17 P3.7 bidirectional P3.7 general I/O and RD (external data memory read strobe).
18 XTAL2 passive Crystal oscillator output; leave floating when an external clock is driven on XTAL1 or the internal RC is used.
19 XTAL1 input Crystal oscillator input or external clock input.
20 Gnd power_in Ground.
21 P2.0 bidirectional P2.0 general I/O (port 2, external memory address high byte).
22 P2.1 bidirectional P2.1 general I/O (port 2).
23 P2.2 bidirectional P2.2 general I/O (port 2).
24 P2.3 bidirectional P2.3 general I/O (port 2).
25 P2.4 bidirectional P2.4 general I/O (port 2).
26 P2.5 bidirectional P2.5 general I/O (port 2).
27 P2.6 bidirectional P2.6 general I/O (port 2).
28 P2.7 bidirectional P2.7 general I/O (port 2).
29 P4.4/NA bidirectional After reset P4.4 is a weak pull-up with no function; setting P4SW.4=1 makes it I/O P4.4.
30 P4.5/ALE bidirectional After reset ALE signal output only during MOVX external access; setting P4SW.5=1 makes it I/O P4.5.
31 P4.6/EX_LVD/RST2 bidirectional External low-voltage detect / second reset pin after reset (threshold about 1.32V at 5V); setting P4SW.6=1 makes it I/O P4.6.
32 P0.7 bidirectional P0.7 general I/O (port 0, external bus data/address).
33 P0.6 bidirectional P0.6 general I/O (port 0).
34 P0.5 bidirectional P0.5 general I/O (port 0).
35 P0.4 bidirectional P0.4 general I/O (port 0).
36 P0.3 bidirectional P0.3 general I/O (port 0).
37 P0.2 bidirectional P0.2 general I/O (port 0).
38 P0.1 bidirectional P0.1 general I/O (port 0).
39 P0.0 bidirectional P0.0 general I/O (port 0).
40 Vcc power_in Positive supply, 5.5V to 3.5V for the STC12C5A series.

Key specifications

Parameter Value
Manufacturer STC Micro
Package DIP-40
Category Embedded Processors & Controllers
Pins 40

Electrical characteristics

Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).

Parameter Symbol Min Typ Max Unit Conditions Page
Storage temperature TST -55 125 ℃ 306
Operating Temperature (I) TA -40 85 ℃ Industrial grade 306
DC Power Supply (5V MCU) VDD-VSS -0.3 5.5 V 5V MCU 306
Voltage on any Pin -0.3 V Max printed as VCC+0.3 306
Operating Voltage VDD 3.3 5 5.5 V 306
Input low voltage (P0,P1,P2,P3) VIL1 0.8 V 5V 306
Input High voltage (P0,P1,P2,P3) VIH1 2 V 5V 306
Input High voltage (RESET) VIH2 2.2 V 5V 306
Logic 1 to 0 transition current (P0,P1,P2,P3) ITL 100 270 600 uA VPIN=2V 306
Sourcing Current for Output high, quasi-output (P0,P1,P2,P3) IOH1 150 230 uA 5V 306
Power Down Current IPWDN 0.1 uA 5V; printed <0.1 306
Operating Current ICC 4 20 mA 5V 306
Idle Current IIDLE 3 mA 5V 306
Sinking Current for Output Low (P0,P1,P2,P3) IOL1 20 mA 5V, Vpin=0.45V 306
Sourcing Current for Output High, push-pull (P0,P1,P2,P3) IOH2 20 mA 5V, Vpin=2.4V 306
Logic 0 input current (P0,P1,P2,P3) IIL 50 uA VPIN=0V 306

CAD (land: KiCad; 3D: generated from the datasheet)

  • Symbol: STC12C5A32S2-35I-PDIP40
  • Footprint: Package_DIP:DIP-40_W15.24mm
  • 3D model: DIP-40, generated on the KiCad land (body 13.84 x 52 mm, terminals on the pads, 4.83 mm tall, datasheet A, max). KiCad's stock model for this land is taller than the datasheet allows, so the model is generated from the datasheet drawing; the dimensions come from the datasheet drawing where it was read and are defaults otherwise (see provenance.model_3d_generated), not the manufacturer's CAD (STEP)
  • 3D model files: stc12c5a32s2-35i-pdip40-etched.step / stc12c5a32s2-35i-pdip40-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stc12c5a32s2-35i-pdip40.step / stc12c5a32s2-35i-pdip40.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-11-12, 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), 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: land: KiCad official libraries (CC-BY-SA 4.0); 3D: generated from the datasheet's package dimensions (provenance.model_3d_generated).

Datasheet PDF