Generated by kicad-footprint-generator · KiCad file format 20260206
STC12H1K16-36I-SOP28
STC Micro · Microcontrollers (MCU/MPU/SOC) · SOP-28
STC12H1K16-36I-SOP28 from STC Micro, in a SOP-28. 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 | P2.2 | bidirectional | Standard I/O port P2.2 with alternate functions SS_2 (SPI slave select) and PWM2P_2 (PWM2 capture input/pulse output, positive). |
| 2 | P2.3 | bidirectional | Standard I/O port P2.3 with alternate functions MOSI_2 (SPI master out/slave in) and PWM2N_2 (PWM2 capture input/pulse output, negative). |
| 3 | P5.4/RST/MCLKO | bidirectional | Standard I/O port P5.4 that can be configured during ISP download as the reset input (active low) or as the divided main clock output MCLKO. |
| 4 | P3.0/RxD/INT4 | bidirectional | Standard I/O port P3.0 serving as UART1 receive and external interrupt 4 input; it is the ISP download/emulation port and powers up in weak-pull-up quasi-bidirectional mode. |
| 5 | P3.1/TxD | bidirectional | Standard I/O port P3.1 serving as UART1 transmit; it is the ISP download/emulation port and powers up in weak-pull-up quasi-bidirectional mode. |
| 6 | P5.6/RxD2_2/XTALO/MCLKO_2 | bidirectional | Standard I/O port P5.6 with alternate functions UART2 receive (RxD2_2), external crystal output (XTALO) and divided main clock output (MCLKO_2). |
| 7 | P5.7/TxD2_2/XTALI | bidirectional | Standard I/O port P5.7 with alternate functions UART2 transmit (TxD2_2) and external crystal/external clock input (XTALI). |
| 8 | P3.2/INT0/SCLK_4/SCL_4 | bidirectional | Standard I/O port P3.2 with alternate functions external interrupt 0 input, SPI clock (SCLK_4) and I2C clock line (SCL_4). |
| 9 | P3.3/INT1/MISO_4/SDA_4 | bidirectional | Standard I/O port P3.3 with alternate functions external interrupt 1 input, SPI master-in/slave-out (MISO_4) and I2C data line (SDA_4). |
| 10 | P3.4/T0/T1CLKO/MOSI_4/ECI | bidirectional | Standard I/O port P3.4 with alternate functions timer 0 external clock input, timer 1 clock output, SPI MOSI_4, PWM external trigger inputs PWMETI/PWMETI2 and PCA external pulse input ECI. |
| 11 | P3.5/T1/T0CLKO/RxD_2/SS_4/PWM6/CCP1 | bidirectional | Standard I/O port P3.5 with alternate functions timer 1 external clock input, timer 0 clock output, UART1 receive (RxD_2), SPI slave select (SS_4), PWM6 capture/pulse output and PCA CCP1. |
| 12 | P2.4/ADC10/MISO_2/SDA_2/PWM3P_2/PWM8/CCP3 | bidirectional | Standard I/O port P2.4 with alternate functions ADC analog input channel 10, SPI MISO_2, I2C data line SDA_2, PWM3P_2, PWM8 and PCA CCP3. |
| 13 | P2.5/ADC11/SCLK_2/SCL_2/PWM3N_2 | bidirectional | Standard I/O port P2.5 with alternate functions ADC analog input channel 11, SPI clock SCLK_2, I2C clock line SCL_2 and PWM3N_2. |
| 14 | Gnd/AGnd | power_in | Ground and ADC ground. |
| 15 | P2.6/ADC12/PWM4P_2 | bidirectional | Standard I/O port P2.6 with alternate functions ADC analog input channel 12 and PWM4P_2 (PWM4 capture input/pulse output, positive). |
| 16 | P2.7/ADC13/PWM4N_2/PWMFLT | bidirectional | Standard I/O port P2.7 with alternate functions ADC analog input channel 13, PWM4N_2 and PWMFLT (external fault detection input for the PWM). |
| 17 | P3.7/ADC14/TxD_2/PWM5/CCP0 | bidirectional | Standard I/O port P3.7 with alternate functions ADC analog input channel 14, UART1 transmit (TxD_2), PWM5 capture/pulse output and PCA CCP0. |
| 18 | P1.0/ADC0/RxD2/T3CLKO/PWM1P | bidirectional | Standard I/O port P1.0 with alternate functions ADC analog input channel 0, UART2 receive, timer 3 clock output and PWM1P. |
| 19 | P1.1/ADC1/TxD2/T4CLKO/PWM1N | bidirectional | Standard I/O port P1.1 with alternate functions ADC analog input channel 1, UART2 transmit, timer 4 clock output and PWM1N. |
| 20 | P1.2/ADC2/T2/PWM2P | bidirectional | Standard I/O port P1.2 with alternate functions ADC analog input channel 2, timer 2 external clock input and PWM2P. |
| 21 | P1.3/ADC3/T2CLKO/PWM2N | bidirectional | Standard I/O port P1.3 with alternate functions ADC analog input channel 3, timer 2 clock output and PWM2N. |
| 22 | P1.4/ADC4/SS/PWM3P | bidirectional | Standard I/O port P1.4 with alternate functions ADC analog input channel 4, SPI slave select and PWM3P. |
| 23 | P1.5/ADC5/MOSI/PWM3N | bidirectional | Standard I/O port P1.5 with alternate functions ADC analog input channel 5, SPI master-out/slave-in (MOSI) and PWM3N. |
| 24 | P1.6/ADC6/RxD_3/MISO/SDA/PWM4P | bidirectional | Standard I/O port P1.6 with alternate functions ADC analog input channel 6, UART1 receive (RxD_3), SPI MISO, I2C data line SDA and PWM4P. |
| 25 | P1.7/ADC7/TxD_3/SCLK/SCL/PWM4N | bidirectional | Standard I/O port P1.7 with alternate functions ADC analog input channel 7, UART1 transmit (TxD_3), SPI clock SCLK, I2C clock line SCL and PWM4N. |
| 26 | P2.0/ADC8/PWM1P_2/PWM7/CCP2 | bidirectional | Standard I/O port P2.0 with alternate functions ADC analog input channel 8, PWM1P_2, PWM7 and PCA CCP2. |
| 27 | P2.1/ADC9/PWM1N_2 | bidirectional | Standard I/O port P2.1 with alternate functions ADC analog input channel 9 and PWM1N_2. |
| 28 | Vcc/AVcc/ADC_VRef+ | power_in | Power supply (1.9V to 5.5V operating range), ADC supply and ADC external reference input, which must be tied to a 2.4V~MCU-VCC reference and not left floating to avoid leakage current. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STC Micro |
| Package | SOP-28 |
| Category | Embedded Processors & Controllers |
| Pins | 28 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| 工作电压 | 1.9 | 5.5 | V | 898 | |||
| VDD 对地电压 | VDD | -0.3 | 5.5 | V | 898 | ||
| 存储温度 | -55 | 150 | ℃ | 898 | |||
| 工作温度 | -40 | 85 | ℃ | 898 | |||
| I/O 口对地电压 | -0.3 | V | max printed as VDD+0.3 V | 898 | |||
| 输入低电平(打开施密特触发) | VIL1 | 0.99 | V | 打开施密特触发, VDD=3.3V, 25℃ | 899 | ||
| 输入低电平(关闭施密特触发) | VIL1 | 1.07 | V | 关闭施密特触发, VDD=3.3V, 25℃ | 899 | ||
| 输入高电平(普通 I/O,打开施密特触发) | VIH1 | 1.18 | V | 打开施密特触发, VDD=3.3V, 25℃ | 899 | ||
| 输入高电平(普通 I/O,关闭施密特触发) | VIH1 | 1.09 | V | 关闭施密特触发, VDD=3.3V, 25℃ | 899 | ||
| 输入高电平(复位脚) | VIH2 | 1.18 | 0.99 | V | VDD=3.3V, 25℃ | 899 | |
| 逻辑 0 输入电流 | IIL | 50 | uA | 端口电压 0V, VDD=3.3V, 25℃ | 899 | ||
| 逻辑 1 到 0 的转移电流 | ITL | 100 | 270 | 600 | uA | 端口电压 2.0V, VDD=3.3V, 25℃ | 899 |
| I/O 口上拉电阻 | RPU | 5.8 | 5.9 | 6 | KΩ | VDD=3.3V, 25℃ | 899 |
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 | 393 |
CAD (KiCad official)
- Symbol:
STC12H1K16-36I-SOP28 - Footprint:
Package_SO:SOP-28_8.4x18.16mm_P1.27mm - 3D model: SOP-28 (KiCad packages3D, STEP)
- 3D model files:
stc12h1k16-36i-sop28-etched.step/stc12h1k16-36i-sop28-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stc12h1k16-36i-sop28.step/stc12h1k16-36i-sop28.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: STC Micro datasheet (1019 pp, sha256
77659dc2f42f051a, retrieved 2026-10-27, 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).