main
Ray
Publish 0.1.0
dea19f7
STC15W4K32S4-30I-LQFP32
STC Micro · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-32(7x7)
STC15W4K32S4-30I-LQFP32 from STC Micro, in a LQFP-32(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 | P1.0/RxD2/CCP1/ADC0 | bidirectional | Standard quasi-bidirectional I/O (PORT1[0]) that can also serve as ADC input channel 0, CCP1 capture/PWM output, or UART2 receive (RxD2); the port drives up to 20 mA and the whole chip must not exceed 90 mA for 32-pin packages. |
| 2 | P1.1/TxD2/CCP0/ADC1 | bidirectional | Standard quasi-bidirectional I/O (PORT1[1]) that can also serve as ADC input channel 1, CCP0 capture/PWM output, or UART2 transmit (TxD2); the port drives up to 20 mA. |
| 3 | P1.2/CMPO/ECI/SS/ADC2 | bidirectional | Standard I/O (PORT1[2]) that can also serve as ADC input channel 2, SPI slave select SS, CCP/PCA external counter input ECI, or comparator output CMPO. |
| 4 | P1.3/ADC3/MOSI | bidirectional | Standard I/O (PORT1[3]) that can also serve as ADC input channel 3 or SPI master-out/slave-in MOSI. |
| 5 | P1.4/MISO/ADC4 | bidirectional | Standard I/O (PORT1[4]) that can also serve as ADC input channel 4 or SPI master-in/slave-out MISO. |
| 6 | P1.5/SCLK/ADC5 | bidirectional | Standard I/O (PORT1[5]) that can also serve as ADC input channel 5 or SPI serial clock SCLK. |
| 7 | P1.6/PWM6/SysClkO_2/XTAL2/RxD_3/ADC6 | bidirectional | Standard I/O (PORT1[6]) that can also serve as ADC input channel 6, UART1 receive (RxD_3), system clock output SysClkO_2, crystal amplifier output XTAL2, or PWM6; PWM6 pins default to high-impedance input after power-on and must be set to another mode before use, and must not be high-impedance in power-down mode. |
| 8 | P1.7/PWM7/XTAL1/TxD_3/ADC7 | bidirectional | Standard I/O (PORT1[7]) that can also serve as ADC input channel 7, UART1 transmit (TxD_3), crystal amplifier input XTAL1 (external clock input when no crystal is used), or PWM7; PWM7 pins default to high-impedance input after power-on and must be set to another mode before use. |
| 9 | P5.4/RST/SysClkO/SS_3/CMP- | bidirectional | Standard I/O (PORT5[4]) that can also serve as the active-high reset input RST, system clock output SysClkO (SysClk/1, /2, /4 or /16), SPI slave select SS_3, or comparator negative input CMP- (must be set to high-impedance input when used as CMP-). |
| 10 | Vcc | power_in | Positive power supply; the series operates from 2.5 V to 5.5 V. |
| 11 | P5.5/CMP+ | bidirectional | Standard I/O (PORT5[5]) that can also serve as comparator positive input CMP+ (must be set to high-impedance input when used as CMP+). |
| 12 | Gnd | power_in | Power supply ground. |
| 13 | P3.0/RxD/INT4/T2CLKO | bidirectional | Standard I/O (PORT3[0]) that can also serve as UART1 receive (RxD), external interrupt INT4 (falling edge only, can wake power-down mode), or T2 clock output T2CLKO. |
| 14 | P3.1/TxD/T2 | bidirectional | Standard I/O (PORT3[1]) that can also serve as UART1 transmit (TxD) or external input of Timer/Counter 2 (T2). |
| 15 | P3.2/INT0 | bidirectional | Standard I/O (PORT3[2]) that can also serve as external interrupt 0; it is rising- or falling-edge triggered depending on IT0 and can wake power-down mode. |
| 16 | P3.3/INT1 | bidirectional | Standard I/O (PORT3[3]) that can also serve as external interrupt 1; it is rising- or falling-edge triggered depending on IT1 and can wake power-down mode. |
| 17 | P3.4/T0/T1CLKO/ECI_2 | bidirectional | Standard I/O (PORT3[4]) that can also serve as external input of Timer/Counter 0 (T0), Timer 1 clock output T1CLKO, or CCP/PCA external counter input ECI_2. |
| 18 | P3.5/T1/T0CLKO/CCP0_2 | bidirectional | Standard I/O (PORT3[5]) that can also serve as external input of Timer/Counter 1 (T1), Timer 0 clock output T0CLKO, or CCP0 channel CCP0_2. |
| 19 | P3.6/INT2/RxD_2/CCP1_2 | bidirectional | Standard I/O (PORT3[6]) that can also serve as external interrupt INT2 (falling edge only, can wake power-down mode), UART receive RxD_2, or CCP1_2. |
| 20 | P3.7/INT3/TxD_2/PWM2 | bidirectional | Standard I/O (PORT3[7]) that can also serve as external interrupt INT3 (falling edge only, can wake power-down mode), UART transmit TxD_2, or PWM2; the PWM2 pin defaults to high-impedance input after power-on and must be set to another mode before use. |
| 21 | P2.0/A8/RSTOUT_LOW | bidirectional | Standard I/O (PORT2[0]) that can also serve as address bus bit A8 or RSTOUT_LOW, which outputs low after power-on and during reset and can be set high or low by software. |
| 22 | P2.1/A9/SCLK_2/PWM3 | bidirectional | Standard I/O (PORT2[1]) that can also serve as address bus bit A9, SPI clock SCLK_2, or PWM3; the PWM3 pin defaults to high-impedance input after power-on and must be set to another mode before use. |
| 23 | P2.2/A10/MISO_2/PWM4 | bidirectional | Standard I/O (PORT2[2]) that can also serve as address bus bit A10, SPI master-in/slave-out MISO_2, or PWM4; the PWM4 pin defaults to high-impedance input after power-on and must be set to another mode before use. |
| 24 | P2.3/A11/MOSI_2/PWM5 | bidirectional | Standard I/O (PORT2[3]) that can also serve as address bus bit A11, SPI master-out/slave-in MOSI_2, or PWM5; the PWM5 pin defaults to high-impedance input after power-on and must be set to another mode before use. |
| 25 | P2.4/A12/ECI_3/SS_2/PWMFLT | bidirectional | Standard I/O (PORT2[4]) that can also serve as address bus bit A12, CCP/PCA external counter input ECI_3, SPI slave select SS_2, or PWM fault-stop control input PWMFLT. |
| 26 | P2.5/A13/CCP0_3 | bidirectional | Standard I/O (PORT2[5]) that can also serve as address bus bit A13 or CCP0 channel CCP0_3 (capture, high-speed output and PWM). |
| 27 | P2.6/A14/CCP1_3 | bidirectional | Standard I/O (PORT2[6]) that can also serve as address bus bit A14 or CCP1 channel CCP1_3 (capture, high-speed output and PWM). |
| 28 | P2.7/A15/PWM2_2 | bidirectional | Standard I/O (PORT2[7]) that can also serve as address bus bit A15 or PWM2 channel PWM2_2; the pin defaults to high-impedance input after power-on and must be set to another mode before use. |
| 29 | P0.0/AD0/RxD3 | bidirectional | Standard I/O (PORT0[0]) that can also serve as address/data bus bit AD0 or UART3 receive (RxD3). |
| 30 | P0.1/AD1/TxD3 | bidirectional | Standard I/O (PORT0[1]) that can also serve as address/data bus bit AD1 or UART3 transmit (TxD3). |
| 31 | P0.2/AD2/RxD4 | bidirectional | Standard I/O (PORT0[2]) that can also serve as address/data bus bit AD2 or UART4 receive (RxD4). |
| 32 | P0.3/AD3/TxD4 | bidirectional | Standard I/O (PORT0[3]) that can also serve as address/data bus bit AD3 or UART4 transmit (TxD4). |
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 | ℃ | 1184 | ||
| Operating temperature (I) | TA | -40 | 85 | ℃ | Grade (I), matches the -30I suffix | 1184 | |
| Voltage on any pin | -0.3 | V | Maximum printed as VCC + 0.3 | 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:
STC15W4K32S4-30I-LQFP32 - Footprint:
Package_QFP:LQFP-32_7x7mm_P0.8mm - 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)
- 3D model files:
stc15w4k32s4-30i-lqfp32-etched.step/stc15w4k32s4-30i-lqfp32-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stc15w4k32s4-30i-lqfp32.step/stc15w4k32s4-30i-lqfp32.glbare 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, primaryclaude-haiku-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).
# STC15W4K32S4-30I-LQFP32
**STC Micro** · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-32(7x7)
STC15W4K32S4-30I-LQFP32 from STC Micro, in a LQFP-32(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 | P1.0/RxD2/CCP1/ADC0 | bidirectional | Standard quasi-bidirectional I/O (PORT1[0]) that can also serve as ADC input channel 0, CCP1 capture/PWM output, or UART2 receive (RxD2); the port drives up to 20 mA and the whole chip must not exceed 90 mA for 32-pin packages. |
| 2 | P1.1/TxD2/CCP0/ADC1 | bidirectional | Standard quasi-bidirectional I/O (PORT1[1]) that can also serve as ADC input channel 1, CCP0 capture/PWM output, or UART2 transmit (TxD2); the port drives up to 20 mA. |
| 3 | P1.2/CMPO/ECI/SS/ADC2 | bidirectional | Standard I/O (PORT1[2]) that can also serve as ADC input channel 2, SPI slave select SS, CCP/PCA external counter input ECI, or comparator output CMPO. |
| 4 | P1.3/ADC3/MOSI | bidirectional | Standard I/O (PORT1[3]) that can also serve as ADC input channel 3 or SPI master-out/slave-in MOSI. |
| 5 | P1.4/MISO/ADC4 | bidirectional | Standard I/O (PORT1[4]) that can also serve as ADC input channel 4 or SPI master-in/slave-out MISO. |
| 6 | P1.5/SCLK/ADC5 | bidirectional | Standard I/O (PORT1[5]) that can also serve as ADC input channel 5 or SPI serial clock SCLK. |
| 7 | P1.6/PWM6/SysClkO_2/XTAL2/RxD_3/ADC6 | bidirectional | Standard I/O (PORT1[6]) that can also serve as ADC input channel 6, UART1 receive (RxD_3), system clock output SysClkO_2, crystal amplifier output XTAL2, or PWM6; PWM6 pins default to high-impedance input after power-on and must be set to another mode before use, and must not be high-impedance in power-down mode. |
| 8 | P1.7/PWM7/XTAL1/TxD_3/ADC7 | bidirectional | Standard I/O (PORT1[7]) that can also serve as ADC input channel 7, UART1 transmit (TxD_3), crystal amplifier input XTAL1 (external clock input when no crystal is used), or PWM7; PWM7 pins default to high-impedance input after power-on and must be set to another mode before use. |
| 9 | P5.4/RST/SysClkO/SS_3/CMP- | bidirectional | Standard I/O (PORT5[4]) that can also serve as the active-high reset input RST, system clock output SysClkO (SysClk/1, /2, /4 or /16), SPI slave select SS_3, or comparator negative input CMP- (must be set to high-impedance input when used as CMP-). |
| 10 | Vcc | power_in | Positive power supply; the series operates from 2.5 V to 5.5 V. |
| 11 | P5.5/CMP+ | bidirectional | Standard I/O (PORT5[5]) that can also serve as comparator positive input CMP+ (must be set to high-impedance input when used as CMP+). |
| 12 | Gnd | power_in | Power supply ground. |
| 13 | P3.0/RxD/INT4/T2CLKO | bidirectional | Standard I/O (PORT3[0]) that can also serve as UART1 receive (RxD), external interrupt INT4 (falling edge only, can wake power-down mode), or T2 clock output T2CLKO. |
| 14 | P3.1/TxD/T2 | bidirectional | Standard I/O (PORT3[1]) that can also serve as UART1 transmit (TxD) or external input of Timer/Counter 2 (T2). |
| 15 | P3.2/INT0 | bidirectional | Standard I/O (PORT3[2]) that can also serve as external interrupt 0; it is rising- or falling-edge triggered depending on IT0 and can wake power-down mode. |
| 16 | P3.3/INT1 | bidirectional | Standard I/O (PORT3[3]) that can also serve as external interrupt 1; it is rising- or falling-edge triggered depending on IT1 and can wake power-down mode. |
| 17 | P3.4/T0/T1CLKO/ECI_2 | bidirectional | Standard I/O (PORT3[4]) that can also serve as external input of Timer/Counter 0 (T0), Timer 1 clock output T1CLKO, or CCP/PCA external counter input ECI_2. |
| 18 | P3.5/T1/T0CLKO/CCP0_2 | bidirectional | Standard I/O (PORT3[5]) that can also serve as external input of Timer/Counter 1 (T1), Timer 0 clock output T0CLKO, or CCP0 channel CCP0_2. |
| 19 | P3.6/INT2/RxD_2/CCP1_2 | bidirectional | Standard I/O (PORT3[6]) that can also serve as external interrupt INT2 (falling edge only, can wake power-down mode), UART receive RxD_2, or CCP1_2. |
| 20 | P3.7/INT3/TxD_2/PWM2 | bidirectional | Standard I/O (PORT3[7]) that can also serve as external interrupt INT3 (falling edge only, can wake power-down mode), UART transmit TxD_2, or PWM2; the PWM2 pin defaults to high-impedance input after power-on and must be set to another mode before use. |
| 21 | P2.0/A8/RSTOUT_LOW | bidirectional | Standard I/O (PORT2[0]) that can also serve as address bus bit A8 or RSTOUT_LOW, which outputs low after power-on and during reset and can be set high or low by software. |
| 22 | P2.1/A9/SCLK_2/PWM3 | bidirectional | Standard I/O (PORT2[1]) that can also serve as address bus bit A9, SPI clock SCLK_2, or PWM3; the PWM3 pin defaults to high-impedance input after power-on and must be set to another mode before use. |
| 23 | P2.2/A10/MISO_2/PWM4 | bidirectional | Standard I/O (PORT2[2]) that can also serve as address bus bit A10, SPI master-in/slave-out MISO_2, or PWM4; the PWM4 pin defaults to high-impedance input after power-on and must be set to another mode before use. |
| 24 | P2.3/A11/MOSI_2/PWM5 | bidirectional | Standard I/O (PORT2[3]) that can also serve as address bus bit A11, SPI master-out/slave-in MOSI_2, or PWM5; the PWM5 pin defaults to high-impedance input after power-on and must be set to another mode before use. |
| 25 | P2.4/A12/ECI_3/SS_2/PWMFLT | bidirectional | Standard I/O (PORT2[4]) that can also serve as address bus bit A12, CCP/PCA external counter input ECI_3, SPI slave select SS_2, or PWM fault-stop control input PWMFLT. |
| 26 | P2.5/A13/CCP0_3 | bidirectional | Standard I/O (PORT2[5]) that can also serve as address bus bit A13 or CCP0 channel CCP0_3 (capture, high-speed output and PWM). |
| 27 | P2.6/A14/CCP1_3 | bidirectional | Standard I/O (PORT2[6]) that can also serve as address bus bit A14 or CCP1 channel CCP1_3 (capture, high-speed output and PWM). |
| 28 | P2.7/A15/PWM2_2 | bidirectional | Standard I/O (PORT2[7]) that can also serve as address bus bit A15 or PWM2 channel PWM2_2; the pin defaults to high-impedance input after power-on and must be set to another mode before use. |
| 29 | P0.0/AD0/RxD3 | bidirectional | Standard I/O (PORT0[0]) that can also serve as address/data bus bit AD0 or UART3 receive (RxD3). |
| 30 | P0.1/AD1/TxD3 | bidirectional | Standard I/O (PORT0[1]) that can also serve as address/data bus bit AD1 or UART3 transmit (TxD3). |
| 31 | P0.2/AD2/RxD4 | bidirectional | Standard I/O (PORT0[2]) that can also serve as address/data bus bit AD2 or UART4 receive (RxD4). |
| 32 | P0.3/AD3/TxD4 | bidirectional | Standard I/O (PORT0[3]) that can also serve as address/data bus bit AD3 or UART4 transmit (TxD4). |
## 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 | ℃ | | 1184 |
| Operating temperature (I) | TA | -40 | | 85 | ℃ | Grade (I), matches the -30I suffix | 1184 |
| Voltage on any pin | | -0.3 | | | V | Maximum printed as VCC + 0.3 | 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: `STC15W4K32S4-30I-LQFP32`
- Footprint: `Package_QFP:LQFP-32_7x7mm_P0.8mm`
- 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)
- 3D model files: `stc15w4k32s4-30i-lqfp32-etched.step` / `stc15w4k32s4-30i-lqfp32-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stc15w4k32s4-30i-lqfp32.step` / `stc15w4k32s4-30i-lqfp32.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [STC Micro datasheet](docs/stc15w4k32s4-30i-lqfp32-datasheet.pdf) (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](docs/stc15w4k32s4-30i-lqfp32-datasheet.pdf)