component
STC32G8K48-42I-TSSOP20
Public Made by Adomby adom
STC Micro Microcontroller Units (MCUs/MPUs/SOCs), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
STC32G8K48-42I-TSSOP20
STC Micro · Microcontroller Units (MCUs/MPUs/SOCs) · TSSOP-20
STC32G8K48-42I-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 with ADC4 analog input and I2C SDA, SPI MISO and PWM3P alternate functions; high-impedance input after power-on until the port mode is set. |
| 2 | P1.5 | bidirectional | Standard I/O port with ADC5 analog input and I2C SCL, SPI SCLK and PWM3N alternate functions; high-impedance input after power-on until the port mode is set. |
| 3 | P1.6 | bidirectional | Standard I/O port with ADC6 analog input and XTALO external crystal output alternate functions; high-impedance input after power-on until the port mode is set. |
| 4 | P1.7 | bidirectional | Standard I/O port with ADC7 analog input and XTALI external crystal or clock input alternate functions; high-impedance input after power-on until the port mode is set. |
| 5 | P1.3 | bidirectional | Standard I/O port with ADC3 analog input and SPI MOSI alternate functions; high-impedance input after power-on until the port mode is set. |
| 6 | P1.2 | bidirectional | Standard I/O port with PWM2P output, SPI SS and Timer 2 external clock input alternate functions; high-impedance input after power-on until the port mode is set. |
| 7 | P5.4 | bidirectional | Standard I/O port that can be set by ISP download as the active-low reset pin nRST, in which case its internal 4K pull-up stays on. |
| 8 | Vcc | power_in | Main supply pin (also AVcc for the ADC) with an operating voltage of 1.9V to 5.5V. |
| 9 | ADC_VRef+ | input | ADC external reference voltage input that must be connected to an external reference between 2.4V and MCU-VCC, as a floating pin causes leakage current. |
| 10 | Gnd | power_in | Ground pin (Gnd/AGnd), shared with the ADC analog ground. |
| 11 | P3.0 | bidirectional | Port 3 I/O that is also UART1 RxD, USB D- data line and INT4 external interrupt; used for USB or serial download and emulation and weak pull-up after power-on. |
| 12 | P3.1 | bidirectional | Port 3 I/O that is also UART1 TxD and USB D+ data line; used for USB or serial download and emulation and weak pull-up after power-on. |
| 13 | P3.2 | bidirectional | Standard I/O with INT0 external interrupt and SPI, I2C and PWM external trigger alternates; sampled low at power-on together with P3.0 and P3.1 low to enter USB download mode. |
| 14 | P3.3 | bidirectional | Standard I/O with INT1 external interrupt and SPI MISO, I2C SDA and PWM4N/PWM7 alternate functions; high-impedance input after power-on until the port mode is set. |
| 15 | P3.4 | bidirectional | Standard I/O with Timer 0 external clock input, Timer 1 clock output, SPI MOSI and comparator output CMPO alternate functions; high-impedance input after power-on until the port mode is set. |
| 16 | P3.5 | bidirectional | Standard I/O with Timer 1 external clock input, Timer 0 clock output, SPI SS and PWM fault input PWMFLT alternate functions; high-impedance input after power-on until the port mode is set. |
| 17 | P3.6 | bidirectional | Standard I/O with INT2 external interrupt, UART1 RxD alternate and comparator negative input CMP-; high-impedance input after power-on until the port mode is set. |
| 18 | P3.7 | bidirectional | Standard I/O with INT3 external interrupt, UART2 TxD alternate and comparator positive input CMP+; high-impedance input after power-on until the port mode is set. |
| 19 | P1.1 | bidirectional | Standard I/O port with ADC1 analog input and PWM1N output, and UART2 TxD alternate function; high-impedance input after power-on until the port mode is set. |
| 20 | P1.0 | bidirectional | Standard I/O port with ADC0 analog input and PWM1P output, and UART2 RxD alternate function; high-impedance input after power-on until the port mode is set. |
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 |
|---|---|---|---|---|---|---|---|
| Operating temperature | -40 | 85 | ℃ | 使用内部高速 IRC 和外部晶振 | 1656 | ||
| Operating temperature (external high-temperature crystal) | -40 | 125 | ℃ | 当温度高于85℃时请使用外部耐高温晶振,且工作频率建议控制在24M以下 | 1656 | ||
| Operating voltage | 1.9 | 5.5 | V | 当工作温度低于-40℃时,工作电压不得低于3.0V | 1656 | ||
| Storage temperature | -55 | 155 | ℃ | 1656 | |||
| VDD to ground voltage | VDD | -0.3 | 5.5 | V | VDD 对地电压 | 1656 | |
| I/O port voltage to ground | -0.3 | V | I/O 口对地电压; max printed as VDD+0.3 | 1656 | |||
| Internal IRC temperature drift (-20℃ to 65℃) | -0.88 | 1.05 | % | -20℃~65℃, 参考温度25℃ | 1656 | ||
| Internal IRC temperature drift (-40℃ to 85℃) | -1.38 | 1.42 | % | -40℃~85℃, 参考温度25℃ | 1656 | ||
| Internal IRC temperature drift (-40℃ to 125℃) | -3 | 3 | % | -40℃~125℃, 参考温度25℃ | 1656 | ||
| Input low voltage (Schmitt trigger on) | VIL1 | 1.32 | V | VSS=0V,VDD=5.0V,测试温度=25℃; 打开施密特触发 | 1657 | ||
| Input low voltage (Schmitt trigger off) | VIL1 | 1.48 | V | VSS=0V,VDD=5.0V,测试温度=25℃; 关闭施密特触发 | 1657 | ||
| Input high voltage (general I/O, Schmitt trigger on) | VIH1 | 1.6 | V | VSS=0V,VDD=5.0V,测试温度=25℃; 打开施密特触发 | 1657 | ||
| Input high voltage (general I/O, Schmitt trigger off) | VIH1 | 1.54 | V | VSS=0V,VDD=5.0V,测试温度=25℃; 关闭施密特触发 | 1657 | ||
| Logic 0 input current | IIL | 50 | uA | VSS=0V,VDD=5.0V,测试温度=25℃; 端口电压 0V | 1657 | ||
| Logic 1 to 0 transition current | ITL | 100 | 270 | 600 | uA | VSS=0V,VDD=5.0V,测试温度=25℃; 端口电压 2.0V | 1657 |
| I/O pull-up resistor | RPU | 4.1 | 4.2 | 4.4 | KΩ | VSS=0V,VDD=5.0V,测试温度=25℃ | 1657 |
| Normal operating mode current | ICC | 4 | 20 | mA | VSS=0V,VDD=5.0V,测试温度=25℃ | 1657 |
CAD (KiCad official)
- Symbol:
STC32G8K48-42I-TSSOP20 - Footprint:
Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm - 3D model: TSSOP-20 (KiCad packages3D, STEP)
- 3D model files:
stc32g8k48-42i-tssop20-etched.step/stc32g8k48-42i-tssop20-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stc32g8k48-42i-tssop20.step/stc32g8k48-42i-tssop20.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: STC Micro datasheet (1887 pp, sha256
59bba1d366cc8d33, 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).
# STC32G8K48-42I-TSSOP20
**STC Micro** · Microcontroller Units (MCUs/MPUs/SOCs) · TSSOP-20
STC32G8K48-42I-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 with ADC4 analog input and I2C SDA, SPI MISO and PWM3P alternate functions; high-impedance input after power-on until the port mode is set. |
| 2 | P1.5 | bidirectional | Standard I/O port with ADC5 analog input and I2C SCL, SPI SCLK and PWM3N alternate functions; high-impedance input after power-on until the port mode is set. |
| 3 | P1.6 | bidirectional | Standard I/O port with ADC6 analog input and XTALO external crystal output alternate functions; high-impedance input after power-on until the port mode is set. |
| 4 | P1.7 | bidirectional | Standard I/O port with ADC7 analog input and XTALI external crystal or clock input alternate functions; high-impedance input after power-on until the port mode is set. |
| 5 | P1.3 | bidirectional | Standard I/O port with ADC3 analog input and SPI MOSI alternate functions; high-impedance input after power-on until the port mode is set. |
| 6 | P1.2 | bidirectional | Standard I/O port with PWM2P output, SPI SS and Timer 2 external clock input alternate functions; high-impedance input after power-on until the port mode is set. |
| 7 | P5.4 | bidirectional | Standard I/O port that can be set by ISP download as the active-low reset pin nRST, in which case its internal 4K pull-up stays on. |
| 8 | Vcc | power_in | Main supply pin (also AVcc for the ADC) with an operating voltage of 1.9V to 5.5V. |
| 9 | ADC_VRef+ | input | ADC external reference voltage input that must be connected to an external reference between 2.4V and MCU-VCC, as a floating pin causes leakage current. |
| 10 | Gnd | power_in | Ground pin (Gnd/AGnd), shared with the ADC analog ground. |
| 11 | P3.0 | bidirectional | Port 3 I/O that is also UART1 RxD, USB D- data line and INT4 external interrupt; used for USB or serial download and emulation and weak pull-up after power-on. |
| 12 | P3.1 | bidirectional | Port 3 I/O that is also UART1 TxD and USB D+ data line; used for USB or serial download and emulation and weak pull-up after power-on. |
| 13 | P3.2 | bidirectional | Standard I/O with INT0 external interrupt and SPI, I2C and PWM external trigger alternates; sampled low at power-on together with P3.0 and P3.1 low to enter USB download mode. |
| 14 | P3.3 | bidirectional | Standard I/O with INT1 external interrupt and SPI MISO, I2C SDA and PWM4N/PWM7 alternate functions; high-impedance input after power-on until the port mode is set. |
| 15 | P3.4 | bidirectional | Standard I/O with Timer 0 external clock input, Timer 1 clock output, SPI MOSI and comparator output CMPO alternate functions; high-impedance input after power-on until the port mode is set. |
| 16 | P3.5 | bidirectional | Standard I/O with Timer 1 external clock input, Timer 0 clock output, SPI SS and PWM fault input PWMFLT alternate functions; high-impedance input after power-on until the port mode is set. |
| 17 | P3.6 | bidirectional | Standard I/O with INT2 external interrupt, UART1 RxD alternate and comparator negative input CMP-; high-impedance input after power-on until the port mode is set. |
| 18 | P3.7 | bidirectional | Standard I/O with INT3 external interrupt, UART2 TxD alternate and comparator positive input CMP+; high-impedance input after power-on until the port mode is set. |
| 19 | P1.1 | bidirectional | Standard I/O port with ADC1 analog input and PWM1N output, and UART2 TxD alternate function; high-impedance input after power-on until the port mode is set. |
| 20 | P1.0 | bidirectional | Standard I/O port with ADC0 analog input and PWM1P output, and UART2 RxD alternate function; high-impedance input after power-on until the port mode is set. |
## 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 |
|---|---|---|---|---|---|---|---|
| Operating temperature | | -40 | | 85 | ℃ | 使用内部高速 IRC 和外部晶振 | 1656 |
| Operating temperature (external high-temperature crystal) | | -40 | | 125 | ℃ | 当温度高于85℃时请使用外部耐高温晶振,且工作频率建议控制在24M以下 | 1656 |
| Operating voltage | | 1.9 | | 5.5 | V | 当工作温度低于-40℃时,工作电压不得低于3.0V | 1656 |
| Storage temperature | | -55 | | 155 | ℃ | | 1656 |
| VDD to ground voltage | VDD | -0.3 | | 5.5 | V | VDD 对地电压 | 1656 |
| I/O port voltage to ground | | -0.3 | | | V | I/O 口对地电压; max printed as VDD+0.3 | 1656 |
| Internal IRC temperature drift (-20℃ to 65℃) | | -0.88 | | 1.05 | % | -20℃~65℃, 参考温度25℃ | 1656 |
| Internal IRC temperature drift (-40℃ to 85℃) | | -1.38 | | 1.42 | % | -40℃~85℃, 参考温度25℃ | 1656 |
| Internal IRC temperature drift (-40℃ to 125℃) | | -3 | | 3 | % | -40℃~125℃, 参考温度25℃ | 1656 |
| Input low voltage (Schmitt trigger on) | VIL1 | | | 1.32 | V | VSS=0V,VDD=5.0V,测试温度=25℃; 打开施密特触发 | 1657 |
| Input low voltage (Schmitt trigger off) | VIL1 | | | 1.48 | V | VSS=0V,VDD=5.0V,测试温度=25℃; 关闭施密特触发 | 1657 |
| Input high voltage (general I/O, Schmitt trigger on) | VIH1 | 1.6 | | | V | VSS=0V,VDD=5.0V,测试温度=25℃; 打开施密特触发 | 1657 |
| Input high voltage (general I/O, Schmitt trigger off) | VIH1 | 1.54 | | | V | VSS=0V,VDD=5.0V,测试温度=25℃; 关闭施密特触发 | 1657 |
| Logic 0 input current | IIL | | | 50 | uA | VSS=0V,VDD=5.0V,测试温度=25℃; 端口电压 0V | 1657 |
| Logic 1 to 0 transition current | ITL | 100 | 270 | 600 | uA | VSS=0V,VDD=5.0V,测试温度=25℃; 端口电压 2.0V | 1657 |
| I/O pull-up resistor | RPU | 4.1 | 4.2 | 4.4 | KΩ | VSS=0V,VDD=5.0V,测试温度=25℃ | 1657 |
| Normal operating mode current | ICC | | 4 | 20 | mA | VSS=0V,VDD=5.0V,测试温度=25℃ | 1657 |
## CAD (KiCad official)
- Symbol: `STC32G8K48-42I-TSSOP20`
- Footprint: `Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm`
- 3D model: TSSOP-20 (KiCad packages3D, STEP)
- 3D model files: `stc32g8k48-42i-tssop20-etched.step` / `stc32g8k48-42i-tssop20-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stc32g8k48-42i-tssop20.step` / `stc32g8k48-42i-tssop20.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [STC Micro datasheet](docs/stc32g8k48-42i-tssop20-datasheet.pdf) (1887 pp, sha256 `59bba1d366cc8d33`, 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](docs/stc32g8k48-42i-tssop20-datasheet.pdf)