main
Ray Publish 0.1.0 237fd6d

STC32G12K128-35I-TSSOP20

STC Micro · Microcontroller Units (MCUs/MPUs/SOCs) · TSSOP-20

STC32G12K128-35I-TSSOP20 from STC Micro, in a TSSOP-20. 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.4 bidirectional Standard I/O port pin P1.4 with ADC4 input, PWM3P, SPI MISO, USART1/USART2-SPI MISO and I2C SDA functions.
2 P1.5 bidirectional Standard I/O port pin P1.5 with ADC5 input, PWM3N, SPI SCLK, USART1/USART2-SPI SCLK and I2C SCL functions.
3 P1.6 bidirectional Standard I/O port pin P1.6 with ADC6 input, RxD_3, PWM4P, MCLKO_2 and XTALO external crystal output functions.
4 P1.7 bidirectional Standard I/O port pin P1.7 with ADC7 input, TxD_3, PWM4N, PWM5_2 and XTALI external crystal/clock input functions.
5 P1.3 bidirectional Standard I/O port pin P1.3 with ADC3 input, SPI/USART1-SPI/USART2-SPI MOSI, PWM2N and T2CLKO functions.
6 UCAP passive USB core power regulator pin; connect a 0.1u (0.1u~10u) capacitor.
7 P5.4 bidirectional Standard I/O port pin P5.4 that can be configured as active-low reset input nRST; also MCLKO, SPI slave selects, PWM2P, PWM6_2, T2 and ADC2 functions.
8 Vcc power_in Positive supply (also AVcc ADC supply), operating range 1.9V~5.5V.
9 ADC_VRef+ input ADC reference voltage pin; must be connected to an external reference of 2.4V to MCU-VCC, floating causes leakage current.
10 Gnd power_in Ground pin (also AGnd ADC ground).
11 P3.0 bidirectional Standard I/O port pin P3.0 with USB D-, UART1 RxD and INT4 functions; used for ISP download/debug.
12 P3.1 bidirectional Standard I/O port pin P3.1 with USB D+ and UART1 TxD functions; used for ISP download/debug.
13 P3.2 bidirectional Standard I/O port pin P3.2 with INT0, SPI SCLK_4, I2C SCL_4, PWMETI and PWMETI2 functions; low at power-up with P3.0/P3.1 low enters USB download mode.
14 P3.3 bidirectional Standard I/O port pin P3.3 with INT1, SPI MISO_4, I2C SDA_4, PWM4N_4 and PWM7_2 functions.
15 P3.4 bidirectional Standard I/O port pin P3.4 with T0, T1CLKO, SPI MOSI_4, PWM4P_4, PWM8_2 and comparator output CMPO functions.
16 P3.5 bidirectional Standard I/O port pin P3.5 with T1, T0CLKO, SPI SS_4 and PWMFLT external fault detection functions.
17 P3.6 bidirectional Standard I/O port pin P3.6 with INT2, RxD_2 and comparator negative input CMP- functions.
18 P3.7 bidirectional Standard I/O port pin P3.7 with INT3, TxD_2 and comparator positive input CMP+ functions.
19 P1.1 bidirectional Standard I/O port pin P1.1 with ADC1 input, PWM1N and UART2 TxD functions.
20 P1.0 bidirectional Standard I/O port pin P1.0 with ADC0 input, PWM1P and UART2 RxD functions.

Key specifications

Parameter Value
Manufacturer STC Micro
Package TSSOP-20
Category Single Chip Microcomputer/Microcontroller
Pins 20

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 TSTORE -55 155 ℃ 1656
Operating temperature TA -40 85 ℃ internal high-speed IRC and external crystal 1656
Operating temperature TA -40 125 ℃ above 85℃ use external high-temperature crystal; operating frequency recommended below 24 MHz 1656
Operating voltage 1.9 5.5 V operating temperature below -40℃ requires not less than 3.0V 1656
VDD to ground voltage VDD -0.3 5.5 V 1656
I/O port voltage to ground -0.3 V printed maximum is VDD+0.3 1656
Internal IRC temperature drift -0.88 1.05 % -20℃ to 65℃, reference 25℃ 1656
Internal IRC temperature drift -1.38 1.42 % -40℃ to 85℃, reference 25℃ 1656
Internal IRC temperature drift -3 3 % -40℃ to 125℃, reference 25℃ 1656
Input low level VIL1 1.32 V Schmitt trigger on 1657
Input low level VIL1 1.48 V Schmitt trigger off 1657
Input high level (normal I/O) VIH1 1.6 V Schmitt trigger on 1657
Input high level (normal I/O) VIH1 1.54 V Schmitt trigger off 1657
Logic 0 input current IIL 50 uA port voltage 0V 1657
Logic 1 to 0 transition current ITL 100 270 600 uA port voltage 2.0V 1657
I/O pull-up resistance RPU 4.1 4.2 4.4 KΩ 1657
Normal operating mode current ICC 4 20 mA VDD=5.0V, 25℃, normal operating mode 1657
Power-down mode current IPD 1 uA VDD=5.0V, 25℃ 1657
Power-down wake-up timer current IWKT 4.1 uA VDD=5.0V, 25℃ 1657
Low voltage detection module current ILVD 425 uA VDD=5.0V, 25℃ 1657
Idle mode current IIDL 1.55 mA 6MHz, VDD=5.0V, 25℃ 1657
Idle mode current IIDL 2.34 mA 11.0592MHz, VDD=5.0V, 25℃ 1657
Idle mode current IIDL 3.93 mA 24MHz, VDD=5.0V, 25℃ 1657
Idle mode current IIDL 0.57 mA internal 32KHz, VDD=5.0V, 25℃ 1657
Normal mode current INOR 2.2 mA 6MHz, VDD=5.0V, 25℃ 1657
Normal mode current INOR 3.61 mA 11.0592MHz, VDD=5.0V, 25℃ 1657
Normal mode current INOR 6.45 mA 24MHz, VDD=5.0V, 25℃ 1657
Normal mode current INOR 0.57 mA internal 32KHz, VDD=5.0V, 25℃ 1657
Output low sink current IOL1 20 mA port voltage 0.45V, VDD=5.0V, 25℃ 1657
Output high current (bidirectional mode) IOH1 200 uA bidirectional mode, VDD=5.0V, 25℃ 1657
Output high current (push-pull mode) IOH2 20 mA push-pull mode, port voltage 2.4V, VDD=5.0V, 25℃ 1657
I/O speed, large-current drive, fast slew 36 MHz PxDR=0, PxSR=0 1657
I/O speed, small-current drive, fast slew 32 MHz PxDR=1, PxSR=0 1657
I/O speed, large-current drive, slow slew 26 MHz PxDR=0, PxSR=1 1657
I/O speed, small-current drive, slow slew 22 MHz PxDR=1, PxSR=1 1657
Comparator fastest speed 10 MHz all analog and digital filters off 1657
Comparator analog filter time 0.1 us 1657
Comparator digital filter time 0 系统时钟 1657
Power-down mode power with comparator enabled IPD2 460 uA comparator enabled 1657
Power-down mode power with LVD enabled IPD3 520 uA LVD enabled 1657
Sector erase endurance NNED 10 万次 1656
Data retention time TDR 100 年 25℃ 1656
Data retention time TDR 20 年 105℃ 1656
Data retention time TDR 10 年 125℃ 1656
Low voltage reset threshold POR POR 1.9 V test temperature 25℃ 1656
Low voltage reset threshold LVR0 LVR0 2 V test temperature 25℃ 1656
Low voltage reset threshold LVR1 LVR1 2.4 V test temperature 25℃ 1656
Low voltage reset threshold LVR2 LVR2 2.7 V test temperature 25℃ 1656
Low voltage reset threshold LVR3 LVR3 3 V test temperature 25℃ 1656

CAD (KiCad official)

  • Symbol: STC32G12K128-35I-TSSOP20
  • Footprint: Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm
  • 3D model: TSSOP-20 (KiCad packages3D, STEP)
  • 3D model files: stc32g12k128-35i-tssop20-etched.step / stc32g12k128-35i-tssop20-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stc32g12k128-35i-tssop20.step / stc32g12k128-35i-tssop20.glb are the bare package body.

Provenance

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

  • Datasheet: STC Micro datasheet, copy hosted by JLCPCB (1887 pp, sha256 59bba1d366cc8d33, retrieved 2026-11-22)
  • 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