main
Ray Publish 0.1.0 234e974

STC12H1K28-36I-SOP28

STC Micro · Microcontrollers (MCU/MPU/SOC) · SOP-28

STC12H1K28-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 and positive pulse output).
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 and negative pulse output).
3 P5.4/RST/MCLKO bidirectional Standard I/O port P5.4, which can be configured in ISP as the reset input (active low) or used as the divided master clock output MCLKO.
4 P3.0/RxD/INT4 bidirectional Standard I/O port P3.0 with alternate functions UART1 receive (RxD) and external interrupt 4 (INT4), and it is also the ISP download/emulation port.
5 P3.1/TxD bidirectional Standard I/O port P3.1 with alternate function UART1 transmit (TxD), and it is also the ISP download/emulation port.
6 P5.6/XTALO/RxD2_2/MCLKO_2 bidirectional Standard I/O port P5.6 with alternate functions external crystal output (XTALO), UART2 receive (RxD2_2) and divided master clock output (MCLKO_2).
7 P5.7/XTALI/TxD2_2 bidirectional Standard I/O port P5.7 with alternate functions external crystal/external clock input (XTALI) and UART2 transmit (TxD2_2).
8 P3.2/INT0/SCLK_4/SCL_4 bidirectional Standard I/O port P3.2 with alternate functions external interrupt 0 (INT0), 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 (INT1), SPI master-in slave-out (MISO_4) and I2C data line (SDA_4).
10 P3.4/T0/T1CLKO/MOSI_4/PWMETI/PWMETI2/ECI bidirectional Standard I/O port P3.4 with alternate functions timer 0 external clock input (T0), timer 1 clock output (T1CLKO), 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 (T1), timer 0 clock output (T0CLKO), UART1 receive (RxD_2), SPI slave select (SS_4), PWM6 capture/pulse I/O 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 PWM3 negative capture/pulse I/O (PWM3N_2).
14 Gnd/AGnd power_in Ground pin, shared with the ADC ground (AGnd).
15 P2.6/ADC12/PWM4P_2 bidirectional Standard I/O port P2.6 with alternate functions ADC analog input channel 12 and PWM4 positive capture/pulse I/O (PWM4P_2).
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 (PWM external fault detection input).
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 I/O 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 (RxD2), timer 3 clock output (T3CLKO) and PWM1 positive capture/pulse I/O (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 (TxD2), timer 4 clock output (T4CLKO) and PWM1 negative capture/pulse I/O (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 (T2) and PWM2 positive capture/pulse I/O (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 (T2CLKO) and PWM2 negative capture/pulse I/O (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 (SS) and PWM3 positive capture/pulse I/O (PWM3P).
23 P1.5/ADC5/MOSI/PWM3N bidirectional Standard I/O port P1.5 with alternate functions ADC analog input channel 5, SPI MOSI and PWM3 negative capture/pulse I/O (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 PWM4 positive capture/pulse I/O (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 PWM4 negative capture/pulse I/O (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 capture/pulse I/O 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 PWM1 negative capture/pulse I/O (PWM1N_2).
28 Vcc/AVcc/ADC_VRef+ power_in Power supply pin (1.9V to 5.5V operating range), also the ADC supply (AVcc) and ADC external reference input (ADC_VRef+), which must be tied to a reference of 2.4V to MCU-VCC and not left floating.

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
存储温度 (storage temperature) -55 150 ℃ 898
工作温度 (operating temperature) -40 85 ℃ 898
工作电压 (operating voltage) 1.9 5.5 V 898
VDD 对地电压 (VDD to ground voltage) VDD -0.3 5.5 V 898
I/O 口对地电压 (I/O to ground voltage) -0.3 V max printed as VDD+0.3 V 898

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: STC12H1K28-36I-SOP28
  • Footprint: Package_SO:SOP-28_8.4x18.16mm_P1.27mm
  • 3D model: SOP-28 (KiCad packages3D, STEP)
  • 3D model files: stc12h1k28-36i-sop28-etched.step / stc12h1k28-36i-sop28-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stc12h1k28-36i-sop28.step / stc12h1k28-36i-sop28.glb are 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, 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