main
Download ZIP Propose a change
Generated by kicad-footprint-generator · KiCad file format 20260206
Name Last commit message Last updated
docs Publish 0.1.0 · Ray
viewers stc15w4k48s4-30i-lqfp48: viewers · Ray
package.json Publish 0.1.0 · Ray
page.json Set visibility: public · Ray
README.md Publish 0.1.0 · Ray
stc15w4k48s4-30i-lqfp48-etched.glb stc15w4k48s4-30i-lqfp48: factory component page (tier=lcsc) · Ray
stc15w4k48s4-30i-lqfp48-etched.step stc15w4k48s4-30i-lqfp48: factory component page (tier=lcsc) · Ray
stc15w4k48s4-30i-lqfp48-hero.glb stc15w4k48s4-30i-lqfp48: hero GLB from the etched model (keeps the MPN mark) · Ray
stc15w4k48s4-30i-lqfp48-hero.overlay.json stc15w4k48s4-30i-lqfp48: hero GLB from the etched model (keeps the MPN mark) · Ray
stc15w4k48s4-30i-lqfp48.glb Publish 0.1.0 · Ray
stc15w4k48s4-30i-lqfp48.kicad_mod Publish 0.1.0 · Ray
stc15w4k48s4-30i-lqfp48.kicad_sym Publish 0.1.0 · Ray
stc15w4k48s4-30i-lqfp48.lbr Publish 0.1.0 · Ray
stc15w4k48s4-30i-lqfp48.step Publish 0.1.0 · Ray
verification.json Verified: Published by the parts factory: tier lcsc, 48 pins · Ray

STC15W4K48S4-30I-LQFP48

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

STC15W4K48S4-30I-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 TxD4_2/P5.3 bidirectional Standard quasi-bidirectional I/O P5.3 (PORT5[3]); alternate TxD4_2 is the UART4 transmit data output, selected via S4_S in P_SW2.
2 PWMFLT_2/T3/AD5/P0.5 bidirectional Standard I/O P0.5 (PORT0[5]); alternate AD5 address/data bus bit, T3 timer/counter 3 external input, and PWMFLT_2 PWM fault-stop control input.
3 PWM7_2/T4CLKO/AD6/P0.6 bidirectional Standard I/O P0.6 (PORT0[6]); alternate AD6 address/data bus bit, T4CLKO timer 4 clock output (enabled via T4T3M[4]), and PWM7_2 output channel 7, which is high-impedance after power-on and must be configured before use.
4 PWM6_2/AD7/P0.7 bidirectional Standard I/O P0.7 (PORT0[7]); alternate AD7 address/data bus bit, T4 timer/counter 4 external input, and PWM6_2 output channel 6, which is high-impedance after power-on and needs a pull-up if used in power-down mode.
5 RxD2/CCP1/ADC0/P1.0 bidirectional Standard I/O P1.0 (PORT1[0]); alternate ADC0 analog input channel 0, CCP1 capture/PWM channel 1, and RxD2 UART2 receive data input.
6 TxD2/CCP0/ADC1/P1.1 bidirectional Standard I/O P1.1 (PORT1[1]); alternate ADC1 analog input channel 1, CCP0 capture/PWM channel 0, and TxD2 UART2 transmit data output.
7 TxD2_2/P4.7 bidirectional Standard I/O P4.7 (PORT4[7]); alternate TxD2_2 UART2 transmit data output when S2_S selects this pin.
8 CMPO/ECI/SS/ADC2/P1.2 bidirectional Standard I/O P1.2 (PORT1[2]); alternate ADC2 input channel 2, CMPO comparator output, ECI CCP/PCA external count input, and SS SPI slave select.
9 MOSI/ADC3/P1.3 bidirectional Standard I/O P1.3 (PORT1[3]); alternate ADC3 analog input channel 3 and MOSI SPI master-out/slave-in data line.
10 MISO/ADC4/P1.4 bidirectional Standard I/O P1.4 (PORT1[4]); alternate ADC4 analog input channel 4 and MISO SPI master-in/slave-out data line.
11 SCLK/ADC5/P1.5 bidirectional Standard I/O P1.5 (PORT1[5]); alternate ADC5 analog input channel 5 and SCLK SPI serial clock.
12 PWM6/SysClkO_2/XTAL2/RxD_3/ADC6/P1.6 bidirectional Standard I/O P1.6 (PORT1[6]); alternate ADC6 input channel 6, RxD_3 UART1 receive, SysClkO_2 system clock output, XTAL2 crystal output, and PWM6 channel 6, which is high-impedance after power-on.
13 P1.7/ADC7/TxD_3/XTAL1/PWM7 bidirectional Standard I/O P1.7 (PORT1[7]); alternate ADC7 input channel 7, TxD_3 UART1 transmit, XTAL1 crystal/external clock input, and PWM7 channel 7, which is high-impedance after power-on.
14 P5.4/RST/SysClkO/SS_3/CMP- bidirectional Standard I/O P5.4 (PORT5[4]); RST is the active-high reset input, and alternate functions are SysClkO system clock output, SS_3 SPI slave select, and CMP- comparator negative input, which must be set high-impedance when used as CMP-.
15 Vcc power_in Positive power supply; the datasheet specifies an operating voltage of 2.5V to 5.5V.
16 P5.5/CMP+ bidirectional Standard I/O P5.5 (PORT5[5]); alternate CMP+ comparator positive input, which must be set high-impedance when used as CMP+.
17 Gnd power_in Power supply ground.
18 P4.0/MOSI_3 bidirectional Standard I/O P4.0 (PORT4[0]); alternate MOSI_3 SPI master-out/slave-in data line, selected via SPI_S1/SPI_S0.
19 P3.0/RxD/INT4/T2CLKO bidirectional Standard I/O P3.0 (PORT3[0]); alternate RxD UART1 receive (default), INT4 falling-edge-only external interrupt with power-down wake-up, and T2CLKO timer 2 clock output.
20 P3.1/TxD/T2 bidirectional Standard I/O P3.1 (PORT3[1]); alternate TxD UART1 transmit (default) and T2 timer/counter 2 external input.
21 P3.2/INT0 bidirectional Standard I/O P3.2 (PORT3[2]); alternate INT0 external interrupt 0, which is rising/falling-edge selectable by IT0 and supports power-down wake-up.
22 P3.3/INT1 bidirectional Standard I/O P3.3 (PORT3[3]); alternate INT1 external interrupt 1, which is rising/falling-edge selectable by IT1 and supports power-down wake-up.
23 P3.4/T0/T1CLKO/ECI_2 bidirectional Standard I/O P3.4 (PORT3[4]); alternate T0 timer 0 external input, T1CLKO timer 1 clock output (INT_CLKO[1]), and ECI_2 CCP/PCA external count input.
24 P5.0/RxD3_2 bidirectional Standard I/O P5.0 (PORT5[0]); alternate RxD3_2 UART3 receive data input when S3_S selects this pin.
25 P5.1/TxD3_2 bidirectional Standard I/O P5.1 (PORT5[1]); alternate TxD3_2 UART3 transmit data output when S3_S selects this pin.
26 P3.5/T1/T0CLKO/CCP0_2 bidirectional Standard I/O P3.5 (PORT3[5]); alternate T1 timer 1 external input, T0CLKO timer 0 clock output (INT_CLKO[0]), and CCP0_2 capture/PWM channel 0.
27 P3.6/INT2/RxD_2/CCP1_2 bidirectional Standard I/O P3.6 (PORT3[6]); alternate INT2 falling-edge-only external interrupt with power-down wake-up, RxD_2 UART1 alternate receive, and CCP1_2 capture/PWM channel 1.
28 P3.7/INT3/TxD_2/PWM2 bidirectional Standard I/O P3.7 (PORT3[7]); alternate INT3 falling-edge-only external interrupt with power-down wake-up, TxD_2 UART1 alternate transmit, and PWM2 channel 2, which is high-impedance after power-on.
29 P4.1/MISO_3 bidirectional Standard I/O P4.1 (PORT4[1]); alternate MISO_3 SPI master-in/slave-out data line.
30 P4.2/WR/PWM5_2 bidirectional Standard I/O P4.2 (PORT4[2]); alternate WR external data memory write strobe and PWM5_2 output channel 5, which is high-impedance after power-on.
31 P4.3/SCLK_3 bidirectional Standard I/O P4.3 (PORT4[3]); alternate SCLK_3 SPI serial clock.
32 P4.4/RD/PWM4_2 bidirectional Standard I/O P4.4 (PORT4[4]); alternate RD external data memory read strobe and PWM4_2 output channel 4, which is high-impedance after power-on.
33 P2.0/A8 bidirectional Standard I/O P2.0 (PORT2[0]); alternate A8 address bus bit 8 and RSTOUT_LOW, which outputs low after power-on and during reset.
34 P2.1/A9/SCLK_2/PWM3 bidirectional Standard I/O P2.1 (PORT2[1]); alternate A9 address bus bit 9, SCLK_2 SPI serial clock, and PWM3 channel 3, which is high-impedance after power-on.
35 P2.2/A10/MISO_2/PWM4 bidirectional Standard I/O P2.2 (PORT2[2]); alternate A10 address bus bit 10, MISO_2 SPI master-in/slave-out, and PWM4 channel 4, which is high-impedance after power-on.
36 P2.3/A11/MOSI_2/PWM5 bidirectional Standard I/O P2.3 (PORT2[3]); alternate A11 address bus bit 11, MOSI_2 SPI master-out/slave-in, and PWM5 channel 5, which is high-impedance after power-on.
37 PWMFLT/SS_2/ECI_3/A12/P2.4 bidirectional Standard I/O P2.4 (PORT2[4]); alternate A12 address bus bit 12, ECI_3 CCP/PCA external count input, SS_2 SPI slave select, and PWMFLT PWM fault-stop control input.
38 CCP0_3/A13/P2.5 bidirectional Standard I/O P2.5 (PORT2[5]); alternate A13 address bus bit 13 and CCP0_3 capture/PWM channel 0.
39 CCP1_3/A14/P2.6 bidirectional Standard I/O P2.6 (PORT2[6]); alternate A14 address bus bit 14 and CCP1_3 capture/PWM channel 1.
40 PWM2_2/A15/P2.7 bidirectional Standard I/O P2.7 (PORT2[7]); alternate A15 address bus bit 15 and PWM2_2 channel 2 per the pinout diagram (the pin table lists CCP2_3), which is high-impedance after power-on.
41 PWM3_2/ALE/P4.5 bidirectional Standard I/O P4.5 (PORT4[5]); alternate ALE address latch enable output and PWM3_2 channel 3, which is high-impedance after power-on.
42 RxD2_2/P4.6 bidirectional Standard I/O P4.6 (PORT4[6]); alternate RxD2_2 UART2 receive data input when S2_S selects this pin.
43 RxD3/AD0/P0.0 bidirectional Standard I/O P0.0 (PORT0[0]); alternate AD0 address/data bus bit 0 and RxD3 UART3 receive data input.
44 TxD3/AD1/P0.1 bidirectional Standard I/O P0.1 (PORT0[1]); alternate AD1 address/data bus bit 1 and TxD3 UART3 transmit data output.
45 RxD4/AD2/P0.2 bidirectional Standard I/O P0.2 (PORT0[2]); alternate AD2 address/data bus bit 2 and RxD4 UART4 receive data input.
46 TxD4/AD3/P0.3 bidirectional Standard I/O P0.3 (PORT0[3]); alternate AD3 address/data bus bit 3 and TxD4 UART4 transmit data output.
47 T3CLKO/AD4/P0.4 bidirectional Standard I/O P0.4 (PORT0[4]); alternate AD4 address/data bus bit 4 and T3CLKO timer 3 clock output (enabled via T4T3M[0]).
48 RxD4_2/P5.2 bidirectional Standard I/O P5.2 (PORT5[2]); alternate RxD4_2 UART4 receive data input when S4_S selects this pin.

Key specifications

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

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 ℃ 1184
Operating temperature (I) TA -40 85 ℃ 1184
DC power supply (5V) VDD - VSS -0.3 5.5 V 1184
DC power supply (3V) VDD - VSS -0.3 3.6 V 1184
Voltage on any pin -0.3 V 1184
VDD Operating Voltage (5V MCU) VDD 3.3 5 5.5 V 1184
VDD Operating Voltage (3V MCU) VDD 2.4 3.3 3.6 V 1184
Input Low (P0,P1,P2,P3) (5V MCU) VIL1 0.8 V 5V 1184
Input High (P0,P1,P2,P3) (5V MCU) VIH1 2 V 5V 1184
Input High (RESET) (5V MCU) VIH2 2.2 V 5V 1184
Operating Current (5V MCU) ICC 4 20 mA 5V 1184
Sourcing Current for output high (P0,P1,P2,P3) (Quasi-output) (5V MCU) IOH1 200 270 uA 5V 1184
Logic 0 input current (P0,P1,P2,P3) (5V MCU) IIL 50 uA Vpin=0V 1184
Logic 1 to 0 transition current (P0,P1,P2,P3) (5V MCU) ITL 100 270 600 uA Vpin=2.0V 1184
Input Low (P0,P1,P2,P3) (3V MCU) VIL1 0.8 V 3.3V 1184
Input High (P0,P1,P2,P3) (3V MCU) VIH1 2 V 3.3V 1184
Input High (RESET) (3V MCU) VIH2 2.2 V 3.3V 1184
Operating Current (3V MCU) ICC 4 10 mA 3.3V 1184
Sourcing Current for output high (P0,P1,P2,P3) (Quasi-output) (3V MCU) IOH1 140 170 uA 3.3V 1184
Logic 0 input current (P0,P1,P2,P3) (3V MCU) IIL 8 50 uA Vpin=0V 1184
Logic 1 to 0 transition current (P0,P1,P2,P3) (3V MCU) ITL 110 600 uA Vpin=2.0V 1184

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 following 441

CAD (KiCad official)

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

Provenance

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

  • Datasheet: STC Micro datasheet (1219 pp, sha256 cc8c299c891646e0, retrieved 2026-11-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: parts-factory 2.0.0 / extract_pins 0.3, primary claude-haiku-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