3D Model
Open in new tab ↗
Loads when you scroll to it. Unloads after 5 minutes in the background.
Symbol & Footprint
Schematic Symbol
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
PCB Footprint
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
Datasheet
Open in new tab ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
Contents
README
markdownSTC15F2K48S2-28I-LQFP32
STC Micro · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-32(7x7)
STC15F2K48S2-28I-LQFP32 from STC Micro, in a LQFP-32(7x7). 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 | P1.0/ADC0/CCP1/RxD2 | bidirectional | Port 1 bit 0 general I/O that can also be ADC input channel 0, CCP1 capture/PWM channel 1, or UART2 receive (RxD2). |
| 2 | P1.1/ADC1/CCP0/TxD2 | bidirectional | Port 1 bit 1 general I/O that can also be ADC input channel 1, CCP0 capture/PWM channel 0, or UART2 transmit (TxD2). |
| 3 | P1.2/ADC2/SS/ECI | bidirectional | Port 1 bit 2 general I/O that can also be ADC input channel 2, SPI slave select (SS), or the CCP/PCA counter external pulse input (ECI). |
| 4 | P1.3/ADC3/MOSI | bidirectional | Port 1 bit 3 general I/O that can also be ADC input channel 3 or SPI master-out slave-in (MOSI). |
| 5 | P1.4/ADC4/MISO | bidirectional | Port 1 bit 4 general I/O that can also be ADC input channel 4 or SPI master-in slave-out (MISO). |
| 6 | P1.5/ADC5/SCLK | bidirectional | Port 1 bit 5 general I/O that can also be ADC input channel 5 or the SPI clock (SCLK). |
| 7 | P1.6/ADC6/RxD_3/XTAL2 | bidirectional | Port 1 bit 6 general I/O that can also be ADC input channel 6, UART1 receive (RxD_3), or the crystal oscillator inverter output XTAL2. |
| 8 | P1.7/ADC7/TxD_3/XTAL1 | bidirectional | Port 1 bit 7 general I/O that can also be ADC input channel 7, UART1 transmit (TxD_3), or the crystal oscillator/external clock input XTAL1. |
| 9 | P5.4/RST/MCLKO | bidirectional | Port 5 bit 4 general I/O (default) that can be set via STC-ISP as the active-high reset pin RST or as main clock output MCLKO (MCLK/1, /2 or /4). |
| 10 | Vcc | power_in | Positive supply; the STC15F series operates from 5.5V to 4.5V. |
| 11 | P5.5 | bidirectional | Port 5 bit 5 standard general-purpose I/O. |
| 12 | Gnd | power_in | Ground (negative supply). |
| 13 | P3.0/RxD/INT4/T2CLKO | bidirectional | Port 3 bit 0 general I/O that can also be UART1 receive (RxD), falling-edge external interrupt 4 (INT4, power-down wake-up capable), or Timer 2 clock output (T2CLKO). |
| 14 | P3.1/TxD/T2 | bidirectional | Port 3 bit 1 general I/O that can also be UART1 transmit (TxD) or the Timer/Counter 2 external input (T2). |
| 15 | P3.2/INT0 | bidirectional | Port 3 bit 2 general I/O that can also be external interrupt 0 (INT0), rising/falling edge or falling-only if IT0 is set, with power-down wake-up. |
| 16 | P3.3/INT1 | bidirectional | Port 3 bit 3 general I/O that can also be external interrupt 1 (INT1), rising/falling edge or falling-only if IT1 is set, with power-down wake-up. |
| 17 | P3.4/T0/T1CLKO/ECI_2 | bidirectional | Port 3 bit 4 general I/O that can also be the Timer/Counter 0 external input (T0), Timer 1 clock output (T1CLKO), or the CCP/PCA counter pulse input (ECI_2). |
| 18 | P3.5/T1/T0CLKO/CCP0_2 | bidirectional | Port 3 bit 5 general I/O that can also be the Timer/Counter 1 external input (T1), Timer 0 clock output (T0CLKO), or CCP0_2 capture/PWM channel 0. |
| 19 | P3.6/INT2/RxD_2/CCP1_2 | bidirectional | Port 3 bit 6 general I/O that can also be falling-edge external interrupt 2 (INT2, power-down wake-up), UART1 receive (RxD_2), or CCP1_2 capture/PWM channel 1. |
| 20 | P3.7/INT3/TxD_2/CCP2/CCP2_2 | bidirectional | Port 3 bit 7 general I/O that can also be falling-edge external interrupt 3 (INT3, power-down wake-up), UART1 transmit (TxD_2), or CCP2/CCP2_2 capture/PWM channel 2. |
| 21 | P2.0/A8/RSTOUT_LOW | bidirectional | Port 2 bit 0 general I/O that can also be address bit A8 or RSTOUT_LOW, which outputs low after power-up and during reset until software sets it high or low. |
| 22 | P2.1/A9/SCLK_2 | bidirectional | Port 2 bit 1 general I/O that can also be address bit A9 or the alternate SPI clock (SCLK_2). |
| 23 | P2.2/A10/MISO_2 | bidirectional | Port 2 bit 2 general I/O that can also be address bit A10 or the alternate SPI master-in slave-out (MISO_2). |
| 24 | P2.3/A11/MOSI_2 | bidirectional | Port 2 bit 3 general I/O that can also be address bit A11 or the alternate SPI master-out slave-in (MOSI_2). |
| 25 | P2.4/A12/ECI_3/SS_2 | bidirectional | Port 2 bit 4 general I/O that can also be address bit A12, the CCP/PCA counter pulse input (ECI_3), or the alternate SPI slave select (SS_2). |
| 26 | P2.5/A13/CCP0_3 | bidirectional | Port 2 bit 5 general I/O that can also be address bit A13 or CCP0_3 capture/PWM channel 0. |
| 27 | P2.6/A14/CCP1_3 | bidirectional | Port 2 bit 6 general I/O that can also be address bit A14 or CCP1_3 capture/PWM channel 1. |
| 28 | P2.7/A15/CCP2_3 | bidirectional | Port 2 bit 7 general I/O that can also be address bit A15 or CCP2_3 capture/PWM channel 2. |
| 29 | P0.0/AD0 | bidirectional | Port 0 bit 0 general I/O or multiplexed low address/data bus bit 0 (not an ADC channel). |
| 30 | P0.1/AD1 | bidirectional | Port 0 bit 1 general I/O or multiplexed low address/data bus bit 1 (not an ADC channel). |
| 31 | P0.2/AD2 | bidirectional | Port 0 bit 2 general I/O or multiplexed low address/data bus bit 2 (not an ADC channel). |
| 32 | P0.3/AD3 | bidirectional | Port 0 bit 3 general I/O or multiplexed low address/data bus bit 3 (not an ADC channel). |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STC Micro |
| Package | LQFP-32(7x7) |
| Category | Embedded Processors & Controllers |
| Pins | 32 |
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 | ℃ | 1374 | ||
| Operating temperature (I) | TA | -40 | 85 | ℃ | 1374 | ||
| DC power supply (5V) | VDD - VSS | -0.3 | 5.5 | V | 1374 | ||
| Voltage on any pin | -0.3 | V | 1374 | ||||
| Operating Voltage (5V MCU) | VDD | 3.3 | 5 | 5.5 | V | 1374 | |
| Operating Current | ICC | 4 | 20 | mA | 5V | 1374 | |
| Input Low (P0,P1,P2,P3) | VIL1 | 0.8 | V | 5V | 1374 | ||
| Input High (P0,P1,P2,P3) | VIH1 | 2 | V | 5V | 1374 | ||
| Input High (RESET) | VIH2 | 2.2 | V | 5V | 1374 | ||
| Sourcing Current for output high (P0,P1,P2,P3) (Quasi-output) | IOH1 | 200 | 270 | uA | 5V | 1374 | |
| Logic 0 input current (P0,P1,P2,P3) | IIL | 50 | uA | Vpin=0V | 1374 | ||
| Logic 1 to 0 transition current (P0,P1,P2,P3) | ITL | 100 | 270 | 600 | uA | Vpin=2.0V | 1374 |
Materials and finish
As the datasheet states them (page.json metadata.appearance; the 3D model's colours follow it).
| Part | Material | Colour / plating | Datasheet says | Page |
|---|---|---|---|---|
| housing | PC | Accumulator contents and the contents of a sixteen-bit base register, which may be either the Data Pointer or the PC. In the latter case, the PC is incremented to the address of the | 524 |
CAD (KiCad official)
- Symbol:
STC15F2K48S2-28I-LQFP32 - Footprint:
Package_QFP:LQFP-32_7x7mm_P0.8mm - 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)
- 3D model files:
stc15f2k48s2-28i-lqfp32-etched.step/stc15f2k48s2-28i-lqfp32-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stc15f2k48s2-28i-lqfp32.step/stc15f2k48s2-28i-lqfp32.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: STC Micro datasheet (1473 pp, sha256
c1fab41b0006cc18, 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).