main
Ray
stc12c5a48s2-35i-lqfp44: the pins were read twice by one model (sonnet); say so instead of 'cross-checked by two models'
ad42731
STC12C5A48S2-35I-LQFP44
STC Micro · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-44(10x10)
STC12C5A48S2-35I-LQFP44 from STC Micro, in a LQFP-44(10x10). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, read twice and the reads agreed); symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | MOSI/ADC5/P1.5 | bidirectional | P1.5 I/O (up to 20mA drive) with SPI MOSI and ADC channel 5 functions; for ADC use it must be set to open-drain or high-impedance input. |
| 2 | MISO/ADC6/P1.6 | bidirectional | P1.6 I/O (up to 20mA drive) with SPI MISO and ADC channel 6 functions; for ADC use it must be set to open-drain or high-impedance input. |
| 3 | SCLK/ADC7/P1.7 | bidirectional | P1.7 I/O (up to 20mA drive) with SPI SCLK and ADC channel 7 functions; for ADC use it must be set to open-drain or high-impedance input. |
| 4 | RST/P4.7 | bidirectional | Reset input or P4.7 I/O, selected during ISP programming; if set as P4.7 an external clock must be used. |
| 5 | RxD/P3.0 | bidirectional | P3.0 I/O and UART1 receive; can wake the chip from power-down mode. |
| 6 | SCLK/TxD2/CCP1/P4.3 | bidirectional | P4.3 I/O; the SPI SCLK, UART2 TxD2 and PCA CCP1 functions can be moved here from P1 via AUXR1. |
| 7 | TxD/P3.1 | bidirectional | P3.1 I/O and UART1 transmit. |
| 8 | INT0/P3.2 | bidirectional | P3.2 I/O and external interrupt 0 (low-level or falling-edge); can wake the chip from power-down mode. |
| 9 | INT1/P3.3 | bidirectional | P3.3 I/O and external interrupt 1 (low-level or falling-edge); can wake the chip from power-down mode. |
| 10 | CLKOUT0/T0/P3.4 | bidirectional | P3.4 I/O, Timer 0 external input and Timer 0 overflow clock output; can wake the chip from power-down mode. |
| 11 | CLKOUT1/T1/P3.5 | bidirectional | P3.5 I/O, Timer 1 external input and Timer 1 overflow clock output; can wake the chip from power-down mode. |
| 12 | P3.6/WR | bidirectional | P3.6 I/O and external data memory write strobe (WR). |
| 13 | P3.7/RD | bidirectional | P3.7 I/O and external data memory read strobe (RD). |
| 14 | XTAL2 | output | Crystal oscillator output; left floating when an external clock is fed to XTAL1 or the internal R/C oscillator is used. |
| 15 | XTAL1 | input | Crystal oscillator input, or direct external clock input. |
| 16 | Gnd | power_in | Ground. |
| 17 | P4.0/SS | bidirectional | P4.0 I/O; the SPI SS function can be moved here from P1.4 via AUXR1. |
| 18 | P2.0 | bidirectional | P2.0 general-purpose I/O with up to 20mA drive per pin. |
| 19 | P2.1 | bidirectional | P2.1 general-purpose I/O with up to 20mA drive per pin. |
| 20 | P2.2 | bidirectional | P2.2 general-purpose I/O with up to 20mA drive per pin. |
| 21 | P2.3 | bidirectional | P2.3 general-purpose I/O with up to 20mA drive per pin. |
| 22 | P2.4 | bidirectional | P2.4 general-purpose I/O with up to 20mA drive per pin. |
| 23 | P2.5 | bidirectional | P2.5 general-purpose I/O with up to 20mA drive per pin. |
| 24 | P2.6 | bidirectional | P2.6 general-purpose I/O with up to 20mA drive per pin. |
| 25 | P2.7 | bidirectional | P2.7 general-purpose I/O with up to 20mA drive per pin. |
| 26 | P4.4/NA | bidirectional | After reset the pin is a weak pull-up with no function; setting P4SW.4=1 makes it the P4.4 I/O. |
| 27 | P4.5/ALE | bidirectional | After reset the pin is the ALE signal, output only during MOVX access to external devices; setting P4SW.5=1 makes it the P4.5 I/O. |
| 28 | P4.1/ECI/MOSI | bidirectional | P4.1 I/O; the PCA ECI and SPI MOSI functions can be moved here from P1 via AUXR1. |
| 29 | P4.6/EX_LVD/RST2 | bidirectional | After reset the pin is the external low-voltage detect / second reset input, usable by polling or interrupt; setting P4SW.6=1 makes it the P4.6 I/O. |
| 30 | P0.7 | bidirectional | P0.7 general-purpose I/O with up to 20mA drive per pin. |
| 31 | P0.6 | bidirectional | P0.6 general-purpose I/O with up to 20mA drive per pin. |
| 32 | P0.5 | bidirectional | P0.5 general-purpose I/O with up to 20mA drive per pin. |
| 33 | P0.4 | bidirectional | P0.4 general-purpose I/O with up to 20mA drive per pin. |
| 34 | P0.3 | bidirectional | P0.3 general-purpose I/O with up to 20mA drive per pin. |
| 35 | P0.2 | bidirectional | P0.2 general-purpose I/O with up to 20mA drive per pin. |
| 36 | P0.1 | bidirectional | P0.1 general-purpose I/O with up to 20mA drive per pin. |
| 37 | P0.0 | bidirectional | P0.0 general-purpose I/O with up to 20mA drive per pin. |
| 38 | Vcc | power_in | Positive supply, stated as 5.5 ~ 3.3V in the feature list on page 44 (5.5 - 3.5V in the selection table on page 47). |
| 39 | MISO/RxD2/CCP0/P4.2 | bidirectional | P4.2 I/O; the SPI MISO, UART2 RxD2 and PCA CCP0 functions can be moved here from P1 via AUXR1. |
| 40 | CLKOUT2/ADC0/P1.0 | bidirectional | P1.0 I/O with ADC channel 0 and baud-rate-timer clock output (CLKOUT2); for ADC use it must be set to open-drain or high-impedance input. |
| 41 | ADC1/P1.1 | bidirectional | P1.1 I/O with ADC channel 1; for ADC use it must be set to open-drain or high-impedance input. |
| 42 | RxD2/ECI/ADC2/P1.2 | bidirectional | P1.2 I/O with UART2 receive, PCA external clock input (ECI) and ADC channel 2; for ADC use it must be set to open-drain or high-impedance input. |
| 43 | TxD2/CCP0/ADC3/P1.3 | bidirectional | P1.3 I/O with UART2 transmit, PCA CCP0 and ADC channel 3; for ADC use it must be set to open-drain or high-impedance input. |
| 44 | SS/CCP1/ADC4/P1.4 | bidirectional | P1.4 I/O with SPI SS, PCA CCP1 and ADC channel 4; for ADC use it must be set to open-drain or high-impedance input. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STC Micro |
| Package | LQFP-44(10x10) |
| Category | Embedded Processors & Controllers |
| Pins | 44 |
CAD (KiCad official)
- Symbol:
STC12C5A48S2-35I-LQFP44 - Footprint:
Package_QFP:LQFP-44_10x10mm_P0.8mm - 3D model: LQFP-44(10x10) (KiCad packages3D, STEP)
- 3D model files:
stc12c5a48s2-35i-lqfp44-etched.step/stc12c5a48s2-35i-lqfp44-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stc12c5a48s2-35i-lqfp44.step/stc12c5a48s2-35i-lqfp44.glbare 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-07, 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, primaryclaude-sonnet-5-5(text), consensusclaude-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).
# STC12C5A48S2-35I-LQFP44
**STC Micro** · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-44(10x10)
STC12C5A48S2-35I-LQFP44 from STC Micro, in a LQFP-44(10x10). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, read twice and the reads agreed); symbol, footprint, and 3D from KiCad-official CAD.
## Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | MOSI/ADC5/P1.5 | bidirectional | P1.5 I/O (up to 20mA drive) with SPI MOSI and ADC channel 5 functions; for ADC use it must be set to open-drain or high-impedance input. |
| 2 | MISO/ADC6/P1.6 | bidirectional | P1.6 I/O (up to 20mA drive) with SPI MISO and ADC channel 6 functions; for ADC use it must be set to open-drain or high-impedance input. |
| 3 | SCLK/ADC7/P1.7 | bidirectional | P1.7 I/O (up to 20mA drive) with SPI SCLK and ADC channel 7 functions; for ADC use it must be set to open-drain or high-impedance input. |
| 4 | RST/P4.7 | bidirectional | Reset input or P4.7 I/O, selected during ISP programming; if set as P4.7 an external clock must be used. |
| 5 | RxD/P3.0 | bidirectional | P3.0 I/O and UART1 receive; can wake the chip from power-down mode. |
| 6 | SCLK/TxD2/CCP1/P4.3 | bidirectional | P4.3 I/O; the SPI SCLK, UART2 TxD2 and PCA CCP1 functions can be moved here from P1 via AUXR1. |
| 7 | TxD/P3.1 | bidirectional | P3.1 I/O and UART1 transmit. |
| 8 | INT0/P3.2 | bidirectional | P3.2 I/O and external interrupt 0 (low-level or falling-edge); can wake the chip from power-down mode. |
| 9 | INT1/P3.3 | bidirectional | P3.3 I/O and external interrupt 1 (low-level or falling-edge); can wake the chip from power-down mode. |
| 10 | CLKOUT0/T0/P3.4 | bidirectional | P3.4 I/O, Timer 0 external input and Timer 0 overflow clock output; can wake the chip from power-down mode. |
| 11 | CLKOUT1/T1/P3.5 | bidirectional | P3.5 I/O, Timer 1 external input and Timer 1 overflow clock output; can wake the chip from power-down mode. |
| 12 | P3.6/WR | bidirectional | P3.6 I/O and external data memory write strobe (WR). |
| 13 | P3.7/RD | bidirectional | P3.7 I/O and external data memory read strobe (RD). |
| 14 | XTAL2 | output | Crystal oscillator output; left floating when an external clock is fed to XTAL1 or the internal R/C oscillator is used. |
| 15 | XTAL1 | input | Crystal oscillator input, or direct external clock input. |
| 16 | Gnd | power_in | Ground. |
| 17 | P4.0/SS | bidirectional | P4.0 I/O; the SPI SS function can be moved here from P1.4 via AUXR1. |
| 18 | P2.0 | bidirectional | P2.0 general-purpose I/O with up to 20mA drive per pin. |
| 19 | P2.1 | bidirectional | P2.1 general-purpose I/O with up to 20mA drive per pin. |
| 20 | P2.2 | bidirectional | P2.2 general-purpose I/O with up to 20mA drive per pin. |
| 21 | P2.3 | bidirectional | P2.3 general-purpose I/O with up to 20mA drive per pin. |
| 22 | P2.4 | bidirectional | P2.4 general-purpose I/O with up to 20mA drive per pin. |
| 23 | P2.5 | bidirectional | P2.5 general-purpose I/O with up to 20mA drive per pin. |
| 24 | P2.6 | bidirectional | P2.6 general-purpose I/O with up to 20mA drive per pin. |
| 25 | P2.7 | bidirectional | P2.7 general-purpose I/O with up to 20mA drive per pin. |
| 26 | P4.4/NA | bidirectional | After reset the pin is a weak pull-up with no function; setting P4SW.4=1 makes it the P4.4 I/O. |
| 27 | P4.5/ALE | bidirectional | After reset the pin is the ALE signal, output only during MOVX access to external devices; setting P4SW.5=1 makes it the P4.5 I/O. |
| 28 | P4.1/ECI/MOSI | bidirectional | P4.1 I/O; the PCA ECI and SPI MOSI functions can be moved here from P1 via AUXR1. |
| 29 | P4.6/EX_LVD/RST2 | bidirectional | After reset the pin is the external low-voltage detect / second reset input, usable by polling or interrupt; setting P4SW.6=1 makes it the P4.6 I/O. |
| 30 | P0.7 | bidirectional | P0.7 general-purpose I/O with up to 20mA drive per pin. |
| 31 | P0.6 | bidirectional | P0.6 general-purpose I/O with up to 20mA drive per pin. |
| 32 | P0.5 | bidirectional | P0.5 general-purpose I/O with up to 20mA drive per pin. |
| 33 | P0.4 | bidirectional | P0.4 general-purpose I/O with up to 20mA drive per pin. |
| 34 | P0.3 | bidirectional | P0.3 general-purpose I/O with up to 20mA drive per pin. |
| 35 | P0.2 | bidirectional | P0.2 general-purpose I/O with up to 20mA drive per pin. |
| 36 | P0.1 | bidirectional | P0.1 general-purpose I/O with up to 20mA drive per pin. |
| 37 | P0.0 | bidirectional | P0.0 general-purpose I/O with up to 20mA drive per pin. |
| 38 | Vcc | power_in | Positive supply, stated as 5.5 ~ 3.3V in the feature list on page 44 (5.5 - 3.5V in the selection table on page 47). |
| 39 | MISO/RxD2/CCP0/P4.2 | bidirectional | P4.2 I/O; the SPI MISO, UART2 RxD2 and PCA CCP0 functions can be moved here from P1 via AUXR1. |
| 40 | CLKOUT2/ADC0/P1.0 | bidirectional | P1.0 I/O with ADC channel 0 and baud-rate-timer clock output (CLKOUT2); for ADC use it must be set to open-drain or high-impedance input. |
| 41 | ADC1/P1.1 | bidirectional | P1.1 I/O with ADC channel 1; for ADC use it must be set to open-drain or high-impedance input. |
| 42 | RxD2/ECI/ADC2/P1.2 | bidirectional | P1.2 I/O with UART2 receive, PCA external clock input (ECI) and ADC channel 2; for ADC use it must be set to open-drain or high-impedance input. |
| 43 | TxD2/CCP0/ADC3/P1.3 | bidirectional | P1.3 I/O with UART2 transmit, PCA CCP0 and ADC channel 3; for ADC use it must be set to open-drain or high-impedance input. |
| 44 | SS/CCP1/ADC4/P1.4 | bidirectional | P1.4 I/O with SPI SS, PCA CCP1 and ADC channel 4; for ADC use it must be set to open-drain or high-impedance input. |
## Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STC Micro |
| Package | LQFP-44(10x10) |
| Category | Embedded Processors & Controllers |
| Pins | 44 |
## CAD (KiCad official)
- Symbol: `STC12C5A48S2-35I-LQFP44`
- Footprint: `Package_QFP:LQFP-44_10x10mm_P0.8mm`
- 3D model: LQFP-44(10x10) (KiCad packages3D, STEP)
- 3D model files: `stc12c5a48s2-35i-lqfp44-etched.step` / `stc12c5a48s2-35i-lqfp44-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stc12c5a48s2-35i-lqfp44.step` / `stc12c5a48s2-35i-lqfp44.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [STC Micro datasheet](docs/stc12c5a48s2-35i-lqfp44-datasheet.pdf) (1543 pp, sha256 `7fde44da8887b7a0`, retrieved 2026-11-07, 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:** KiCad official libraries (CC-BY-SA 4.0).
[Datasheet PDF](docs/stc12c5a48s2-35i-lqfp44-datasheet.pdf)