main
Ray
Publish 0.1.0
a58a71e
STC8C2K64S4-36I-LQFP32
STC Micro · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-32(7x7)
STC8C2K64S4-36I-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 | bidirectional | Standard I/O port bit whose alternate function RxD2 is the serial port 2 receive pin, and which is high-impedance input after power-up. |
| 2 | P1.1/TxD2 | bidirectional | Standard I/O port bit whose alternate function TxD2 is the serial port 2 transmit pin. |
| 3 | P1.2 (SS, T2) | bidirectional | Standard I/O port bit with alternate functions SS (SPI slave select, output when operating as master) and T2 (Timer 2 external clock input). |
| 4 | P1.3 (MOSI, T2CLKO) | bidirectional | Standard I/O port bit with alternate functions MOSI (SPI master output/slave input) and T2CLKO (Timer 2 clock output, toggling on overflow). |
| 5 | P1.4 (MISO, SDA) | bidirectional | Standard I/O port bit with alternate functions MISO (SPI master input/slave output) and SDA (I2C data line). |
| 6 | P1.5 (SCLK, SCL) | bidirectional | Standard I/O port bit with alternate functions SCLK (SPI clock) and SCL (I2C clock line). |
| 7 | P1.6 (RxD_3, XTALO, MCLKO_2) | bidirectional | Standard I/O port bit with alternate functions RxD_3 (serial 1 receive), XTALO (external crystal output) and MCLKO_2 (divided master clock output). |
| 8 | P1.7 (TxD_3, XTALI) | bidirectional | Standard I/O port bit with alternate functions TxD_3 (serial 1 transmit) and XTALI (external crystal or external clock input). |
| 9 | P5.4/RST/MCLKO | bidirectional | Standard I/O port bit by default, which becomes an active-low RST reset input when selected as reset pin, with MCLKO as master clock output; its internal 4K pull-up stays on when used as RST. |
| 10 | Vcc | power_in | Power supply pin; the datasheet states an operating voltage of 1.9 V to 5.5 V. |
| 11 | P5.5 | bidirectional | Standard I/O port bit with no alternate function listed in the pin description table. |
| 12 | GND | power_in | Ground pin. |
| 13 | P3.0/RxD/INT4 | bidirectional | Standard I/O port bit (weak pull-up after power-up) with alternate functions RxD (serial 1 receive) and INT4 (external interrupt 4, falling edge only); P3.0, P3.1 and P3.2 must not all be low at power-up or the chip enters USB download mode. |
| 14 | P3.1/TxD | bidirectional | Standard I/O port bit (weak pull-up after power-up) whose alternate function TxD is the serial 1 transmit pin. |
| 15 | P3.2/INT0/SCLK_4/I2CSCL_4 | bidirectional | Standard I/O port bit with alternate functions INT0 (external interrupt 0), SCLK_4 (SPI clock) and SCL_4 (I2C clock). |
| 16 | P3.3/INT1/MISO_4/I2CSDA_4 | bidirectional | Standard I/O port bit with alternate functions INT1 (external interrupt 1), MISO_4 (SPI master input) and SDA_4 (I2C data). |
| 17 | P3.4/T0/T1CLKO/MOSI_4/CMPO | bidirectional | Standard I/O port bit with alternate functions T0 (Timer 0 external clock input), T1CLKO (Timer 1 clock output), MOSI_4 (SPI master output) and CMPO (comparator output). |
| 18 | P3.5/T1/T0CLKO/SS_4 | bidirectional | Standard I/O port bit with alternate functions T1 (Timer 1 external clock input), T0CLKO (Timer 0 clock output) and SS_4 (SPI slave select). |
| 19 | P3.6/INT2/WR_2/RxD_2/CMP- | bidirectional | Standard I/O port bit with alternate functions INT2 (falling-edge external interrupt 2), WR_2 (external bus write strobe), RxD_2 and CMP- (comparator negative input). |
| 20 | P3.7/INT3/RD_2/TxD_2/CMP+ | bidirectional | Standard I/O port bit with alternate functions INT3 (falling-edge external interrupt 3), RD_2 (external bus read strobe), TxD_2 and CMP+ (comparator positive input). |
| 21 | P2.0 | bidirectional | Standard I/O port bit as shown in the LQFP32 pin diagram, with no further alternate function listed for this package. |
| 22 | P2.1 | bidirectional | Standard I/O port bit as shown in the LQFP32 pin diagram, with no alternate function listed for this package. |
| 23 | P2.2/SS_2 | bidirectional | Standard I/O port bit with alternate function SS_2 (SPI slave select, group 2). |
| 24 | P2.3/MOSI_2 | bidirectional | Standard I/O port bit with alternate function MOSI_2 (SPI master output, group 2). |
| 25 | P2.4 (MISO_2, I2CSDA_2) | bidirectional | Standard I/O port bit with alternate functions MISO_2 (SPI master input, group 2) and I2CSDA_2 (I2C data, group 2). |
| 26 | P2.5 (SCLK_2, I2CSCL_2) | bidirectional | Standard I/O port bit with alternate functions SCLK_2 (SPI clock, group 2) and I2CSCL_2 (I2C clock, group 2). |
| 27 | P2.6 | bidirectional | Standard I/O port bit with no alternate function shown in the LQFP32 pin diagram. |
| 28 | P2.7 | bidirectional | Standard I/O port bit with no alternate function shown in the LQFP32 pin diagram. |
| 29 | P0.0 (RxD3) | bidirectional | Standard I/O port bit whose alternate function RxD3 is the serial 3 receive pin. |
| 30 | P0.1 (TxD3) | bidirectional | Standard I/O port bit whose alternate function TxD3 is the serial 3 transmit pin. |
| 31 | P0.2 (RxD4) | bidirectional | Standard I/O port bit whose alternate function RxD4 is the serial 4 receive pin. |
| 32 | P0.3 (TxD4) | bidirectional | Standard I/O port bit whose alternate function TxD4 is the serial 4 transmit pin. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STC Micro |
| Package | LQFP-32(7x7) |
| Category | Single Chip Microcomputer/Microcontroller |
| 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) | -55 | 150 | ℃ | 786 | |||
| 工作温度 (operating temperature) | -40 | 85 | ℃ | 786 | |||
| 工作电压 (operating voltage) | 1.9 | 5.5 | V | 786 | |||
| VDD 对地电压 (VDD to ground) | VDD | -0.3 | 5.5 | V | 786 | ||
| I/O 口对地电压 (I/O voltage to ground) | -0.3 | V | 786 | ||||
| 输入低电平 (input low voltage) | VIL1 | 0.99 | V | 打开施密特触发 | 787 | ||
| 输入低电平 (input low voltage) | VIL1 | 1.07 | V | 关闭施密特触发 | 787 | ||
| 输入高电平(普通 I/O)(input high voltage, standard I/O) | VIH1 | 1.18 | V | 打开施密特触发 | 787 | ||
| 输入高电平(普通 I/O)(input high voltage, standard I/O) | VIH1 | 1.09 | V | 关闭施密特触发 | 787 | ||
| 输入高电平(复位脚)(input high voltage, reset pin) | VIH2 | 1.18 | 0.99 | V | 787 | ||
| 逻辑 0 输入电流 (logic 0 input current) | IIL | 50 | uA | 端口电压 0V | 787 | ||
| 逻辑 1 到 0 的转移电流 (logic 1 to 0 transition current) | ITL | 100 | 270 | 600 | uA | 端口电压 2.0V | 787 |
| I/O 口上拉电阻 (I/O pull-up resistance) | RPU | 5.8 | 5.9 | 6 | KΩ | 787 |
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 | 419 |
CAD (KiCad official)
- Symbol:
STC8C2K64S4-36I-LQFP32 - Footprint:
Package_QFP:LQFP-32_7x7mm_P0.8mm - 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)
- 3D model files:
stc8c2k64s4-36i-lqfp32-etched.step/stc8c2k64s4-36i-lqfp32-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stc8c2k64s4-36i-lqfp32.step/stc8c2k64s4-36i-lqfp32.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: STC Micro datasheet, copy hosted by LCSC (956 pp, sha256
f8fa5bab02998432, retrieved 2026-11-20) - 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).
# STC8C2K64S4-36I-LQFP32
**STC Micro** · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-32(7x7)
STC8C2K64S4-36I-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 | bidirectional | Standard I/O port bit whose alternate function RxD2 is the serial port 2 receive pin, and which is high-impedance input after power-up. |
| 2 | P1.1/TxD2 | bidirectional | Standard I/O port bit whose alternate function TxD2 is the serial port 2 transmit pin. |
| 3 | P1.2 (SS, T2) | bidirectional | Standard I/O port bit with alternate functions SS (SPI slave select, output when operating as master) and T2 (Timer 2 external clock input). |
| 4 | P1.3 (MOSI, T2CLKO) | bidirectional | Standard I/O port bit with alternate functions MOSI (SPI master output/slave input) and T2CLKO (Timer 2 clock output, toggling on overflow). |
| 5 | P1.4 (MISO, SDA) | bidirectional | Standard I/O port bit with alternate functions MISO (SPI master input/slave output) and SDA (I2C data line). |
| 6 | P1.5 (SCLK, SCL) | bidirectional | Standard I/O port bit with alternate functions SCLK (SPI clock) and SCL (I2C clock line). |
| 7 | P1.6 (RxD_3, XTALO, MCLKO_2) | bidirectional | Standard I/O port bit with alternate functions RxD_3 (serial 1 receive), XTALO (external crystal output) and MCLKO_2 (divided master clock output). |
| 8 | P1.7 (TxD_3, XTALI) | bidirectional | Standard I/O port bit with alternate functions TxD_3 (serial 1 transmit) and XTALI (external crystal or external clock input). |
| 9 | P5.4/RST/MCLKO | bidirectional | Standard I/O port bit by default, which becomes an active-low RST reset input when selected as reset pin, with MCLKO as master clock output; its internal 4K pull-up stays on when used as RST. |
| 10 | Vcc | power_in | Power supply pin; the datasheet states an operating voltage of 1.9 V to 5.5 V. |
| 11 | P5.5 | bidirectional | Standard I/O port bit with no alternate function listed in the pin description table. |
| 12 | GND | power_in | Ground pin. |
| 13 | P3.0/RxD/INT4 | bidirectional | Standard I/O port bit (weak pull-up after power-up) with alternate functions RxD (serial 1 receive) and INT4 (external interrupt 4, falling edge only); P3.0, P3.1 and P3.2 must not all be low at power-up or the chip enters USB download mode. |
| 14 | P3.1/TxD | bidirectional | Standard I/O port bit (weak pull-up after power-up) whose alternate function TxD is the serial 1 transmit pin. |
| 15 | P3.2/INT0/SCLK_4/I2CSCL_4 | bidirectional | Standard I/O port bit with alternate functions INT0 (external interrupt 0), SCLK_4 (SPI clock) and SCL_4 (I2C clock). |
| 16 | P3.3/INT1/MISO_4/I2CSDA_4 | bidirectional | Standard I/O port bit with alternate functions INT1 (external interrupt 1), MISO_4 (SPI master input) and SDA_4 (I2C data). |
| 17 | P3.4/T0/T1CLKO/MOSI_4/CMPO | bidirectional | Standard I/O port bit with alternate functions T0 (Timer 0 external clock input), T1CLKO (Timer 1 clock output), MOSI_4 (SPI master output) and CMPO (comparator output). |
| 18 | P3.5/T1/T0CLKO/SS_4 | bidirectional | Standard I/O port bit with alternate functions T1 (Timer 1 external clock input), T0CLKO (Timer 0 clock output) and SS_4 (SPI slave select). |
| 19 | P3.6/INT2/WR_2/RxD_2/CMP- | bidirectional | Standard I/O port bit with alternate functions INT2 (falling-edge external interrupt 2), WR_2 (external bus write strobe), RxD_2 and CMP- (comparator negative input). |
| 20 | P3.7/INT3/RD_2/TxD_2/CMP+ | bidirectional | Standard I/O port bit with alternate functions INT3 (falling-edge external interrupt 3), RD_2 (external bus read strobe), TxD_2 and CMP+ (comparator positive input). |
| 21 | P2.0 | bidirectional | Standard I/O port bit as shown in the LQFP32 pin diagram, with no further alternate function listed for this package. |
| 22 | P2.1 | bidirectional | Standard I/O port bit as shown in the LQFP32 pin diagram, with no alternate function listed for this package. |
| 23 | P2.2/SS_2 | bidirectional | Standard I/O port bit with alternate function SS_2 (SPI slave select, group 2). |
| 24 | P2.3/MOSI_2 | bidirectional | Standard I/O port bit with alternate function MOSI_2 (SPI master output, group 2). |
| 25 | P2.4 (MISO_2, I2CSDA_2) | bidirectional | Standard I/O port bit with alternate functions MISO_2 (SPI master input, group 2) and I2CSDA_2 (I2C data, group 2). |
| 26 | P2.5 (SCLK_2, I2CSCL_2) | bidirectional | Standard I/O port bit with alternate functions SCLK_2 (SPI clock, group 2) and I2CSCL_2 (I2C clock, group 2). |
| 27 | P2.6 | bidirectional | Standard I/O port bit with no alternate function shown in the LQFP32 pin diagram. |
| 28 | P2.7 | bidirectional | Standard I/O port bit with no alternate function shown in the LQFP32 pin diagram. |
| 29 | P0.0 (RxD3) | bidirectional | Standard I/O port bit whose alternate function RxD3 is the serial 3 receive pin. |
| 30 | P0.1 (TxD3) | bidirectional | Standard I/O port bit whose alternate function TxD3 is the serial 3 transmit pin. |
| 31 | P0.2 (RxD4) | bidirectional | Standard I/O port bit whose alternate function RxD4 is the serial 4 receive pin. |
| 32 | P0.3 (TxD4) | bidirectional | Standard I/O port bit whose alternate function TxD4 is the serial 4 transmit pin. |
## Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STC Micro |
| Package | LQFP-32(7x7) |
| Category | Single Chip Microcomputer/Microcontroller |
| 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) | | -55 | | 150 | ℃ | | 786 |
| 工作温度 (operating temperature) | | -40 | | 85 | ℃ | | 786 |
| 工作电压 (operating voltage) | | 1.9 | | 5.5 | V | | 786 |
| VDD 对地电压 (VDD to ground) | VDD | -0.3 | | 5.5 | V | | 786 |
| I/O 口对地电压 (I/O voltage to ground) | | -0.3 | | | V | | 786 |
| 输入低电平 (input low voltage) | VIL1 | | | 0.99 | V | 打开施密特触发 | 787 |
| 输入低电平 (input low voltage) | VIL1 | | | 1.07 | V | 关闭施密特触发 | 787 |
| 输入高电平(普通 I/O)(input high voltage, standard I/O) | VIH1 | 1.18 | | | V | 打开施密特触发 | 787 |
| 输入高电平(普通 I/O)(input high voltage, standard I/O) | VIH1 | 1.09 | | | V | 关闭施密特触发 | 787 |
| 输入高电平(复位脚)(input high voltage, reset pin) | VIH2 | 1.18 | | 0.99 | V | | 787 |
| 逻辑 0 输入电流 (logic 0 input current) | IIL | | | 50 | uA | 端口电压 0V | 787 |
| 逻辑 1 到 0 的转移电流 (logic 1 to 0 transition current) | ITL | 100 | 270 | 600 | uA | 端口电压 2.0V | 787 |
| I/O 口上拉电阻 (I/O pull-up resistance) | RPU | 5.8 | 5.9 | 6 | KΩ | | 787 |
## 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 | 419 |
## CAD (KiCad official)
- Symbol: `STC8C2K64S4-36I-LQFP32`
- Footprint: `Package_QFP:LQFP-32_7x7mm_P0.8mm`
- 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)
- 3D model files: `stc8c2k64s4-36i-lqfp32-etched.step` / `stc8c2k64s4-36i-lqfp32-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stc8c2k64s4-36i-lqfp32.step` / `stc8c2k64s4-36i-lqfp32.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [STC Micro datasheet, copy hosted by LCSC](docs/stc8c2k64s4-36i-lqfp32-datasheet.pdf) (956 pp, sha256 `f8fa5bab02998432`, retrieved 2026-11-20)
- **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/stc8c2k64s4-36i-lqfp32-datasheet.pdf)