component
STC8G1K17-38I-TSSOP20
Public Made by Adomby adom
STC Micro Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.
main
Ray
Brief states the pinout check that actually ran (was an unconditional "Datasheet-verified pinout")
9243595
12d ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
{
"schema_version": 1,
"type": "component",
"slug": "stc8g1k17-38i-tssop20",
"title": "STC8G1K17-38I-TSSOP20",
"brief": "STC Micro Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
"version": "0.1.0",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"mcu",
"stc8g1k17-38i-tssop20"
],
"component": {
"mpn": "STC8G1K17-38I-TSSOP20",
"manufacturer": "STC Micro",
"package": "TSSOP-20",
"pin_count": 20,
"category": "MCU",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://datasheet.lcsc.com/datasheet/pdf/5b76295ab6e43792073a51d0ce1481a3.pdf",
"parts": {
"symbol": "stc8g1k17-38i-tssop20.kicad_sym",
"footprint": "stc8g1k17-38i-tssop20.kicad_mod",
"model_3d": "stc8g1k17-38i-tssop20-etched.glb",
"model_3d_plain": "stc8g1k17-38i-tssop20.glb",
"model_3d_step": "stc8g1k17-38i-tssop20-etched.step",
"model_3d_step_plain": "stc8g1k17-38i-tssop20.step",
"lbr": "stc8g1k17-38i-tssop20.lbr"
},
"distributor_links": {},
"pins": [
{
"number": "1",
"name": "P1.2/ADC2/SS/T2/ECI",
"type": "bidirectional",
"description": "Standard I/O port P1.2. Muxed with ADC channel 2 input, SPI slave-select (SS), Timer 2 external clock input (T2), and PCA external pulse input (ECI)."
},
{
"number": "2",
"name": "P1.3/ADC3/MOSI/T2CLKO",
"type": "bidirectional",
"description": "Standard I/O port P1.3. Muxed with ADC channel 3 input, SPI master-out/slave-in (MOSI), and Timer 2 clock divided output (T2CLKO)."
},
{
"number": "3",
"name": "P1.4/ADC4/MISO/SDA",
"type": "bidirectional",
"description": "Standard I/O port P1.4. Muxed with ADC channel 4 input, SPI master-in/slave-out (MISO), and I2C data line (SDA)."
},
{
"number": "4",
"name": "P1.5/ADC5/SCLK/SCL",
"type": "bidirectional",
"description": "Standard I/O port P1.5. Muxed with ADC channel 5 input, SPI clock (SCLK), and I2C clock line (SCL)."
},
{
"number": "5",
"name": "P1.6/ADC6/RxD_3/MCLKO_2/XTALO",
"type": "bidirectional",
"description": "Standard I/O port P1.6. Muxed with ADC channel 6, UART1 receive (alt 3), master clock divided output (alt 2), and external crystal output (XTALO)."
},
{
"number": "6",
"name": "P1.7/ADC7/TxD_3/XTALI",
"type": "bidirectional",
"description": "Standard I/O port P1.7. Muxed with ADC channel 7, UART1 transmit (alt 3), and external crystal input (XTALI)."
},
{
"number": "7",
"name": "P5.4/nRST/MCLKO",
"type": "bidirectional",
"description": "Standard I/O port P5.4. Configurable via ISP option as active-low reset input (nRST) or master clock divided output (MCLKO). When configured as reset the internal 4k pull-up is always enabled; as GPIO the pull-up stays enabled for ~6.5ms at power-up before auto-disabling."
},
{
"number": "8",
"name": "VCC/AVCC/ADC_VRef+",
"type": "power_in",
"description": "Positive supply pin for the MCU digital core, analog VCC, and the ADC positive reference input (ADC_VRef+). Supply range 1.9-5.5V. If a separate ADC reference is not driven, tie ADC_VRef+ to MCU VCC (floating causes leakage)."
},
{
"number": "9",
"name": "P5.5",
"type": "bidirectional",
"description": "Standard I/O port P5.5 with no alternate functions on this package."
},
{
"number": "10",
"name": "GND/AGND",
"type": "power_in",
"description": "Ground reference for digital core (Gnd) and analog/ADC (AGnd). Combined on a single package pin."
},
{
"number": "11",
"name": "P3.0/RxD/ADC8/INT4",
"type": "bidirectional",
"description": "Standard I/O port P3.0. Muxed with UART1 receive (RxD), ADC channel 8, and external interrupt 4 (INT4). Powers up in weak pull-up quasi-bidirectional mode."
},
{
"number": "12",
"name": "P3.1/TxD/ADC9",
"type": "bidirectional",
"description": "Standard I/O port P3.1. Muxed with UART1 transmit (TxD) and ADC channel 9. Powers up in weak pull-up quasi-bidirectional mode."
},
{
"number": "13",
"name": "P3.2/INT0/ADC10/SCL_4/SCLK_4",
"type": "bidirectional",
"description": "Standard I/O port P3.2. Muxed with external interrupt 0 (INT0), ADC channel 10, I2C clock (SCL alt 4), and SPI clock (SCLK alt 4)."
},
{
"number": "14",
"name": "P3.3/INT1/ADC11/SDA_4/MISO_4",
"type": "bidirectional",
"description": "Standard I/O port P3.3. Muxed with external interrupt 1 (INT1), ADC channel 11, I2C data (SDA alt 4), and SPI MISO (alt 4)."
},
{
"number": "15",
"name": "P3.4/T0/T1CLKO/ADC12/ECI_2/CMPO/MOSI_4",
"type": "bidirectional",
"description": "Standard I/O port P3.4. Muxed with Timer 0 external clock (T0), Timer 1 divided clock output (T1CLKO), ADC channel 12, PCA external pulse input (ECI alt 2), comparator output (CMPO), and SPI MOSI (alt 4)."
},
{
"number": "16",
"name": "P3.5/T1/T0CLKO/ADC13/CCP0_2/SS_4",
"type": "bidirectional",
"description": "Standard I/O port P3.5. Muxed with Timer 1 external clock (T1), Timer 0 divided clock output (T0CLKO), ADC channel 13, PCA CCP0 capture/PWM (alt 2), and SPI slave-select (SS alt 4)."
},
{
"number": "17",
"name": "P3.6/INT2/RxD_2/ADC14/CCP1_2/CMP-",
"type": "bidirectional",
"description": "Standard I/O port P3.6. Muxed with external interrupt 2 (INT2), UART1 receive (alt 2), ADC channel 14, PCA CCP1 capture/PWM (alt 2), and comparator negative input (CMP-)."
},
{
"number": "18",
"name": "P3.7/INT3/TxD_2/CCP2/CCP2_2/CMP+",
"type": "bidirectional",
"description": "Standard I/O port P3.7. Muxed with external interrupt 3 (INT3), UART1 transmit (alt 2), PCA CCP2 capture/PWM (default and alt 2 groups), and comparator positive input (CMP+)."
},
{
"number": "19",
"name": "P1.0/RxD2/ADC0/CCP1",
"type": "bidirectional",
"description": "Standard I/O port P1.0. Muxed with UART2 receive (RxD2), ADC channel 0, and PCA CCP1 capture/PWM."
},
{
"number": "20",
"name": "P1.1/TxD2/ADC1/CCP0",
"type": "bidirectional",
"description": "Standard I/O port P1.1. Muxed with UART2 transmit (TxD2), ADC channel 1, and PCA CCP0 capture/PWM."
}
],
"provenance": {
"extractor": "ds2sf",
"datasheet": {
"url": "https://datasheet.lcsc.com/datasheet/pdf/5b76295ab6e43792073a51d0ce1481a3.pdf",
"pages": 1240,
"sha256": "7d5e82c9f651aa92",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 20,
"described": 20,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
}
},
"metadata": {
"specs": {
"Manufacturer": "STC Micro",
"Package": "TSSOP-20",
"Category": "MCU",
"Pins": "20"
}
},
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"stc8g1k17-38i-tssop20"
],
"discovery_pitch": "STC8G1K17-38I-TSSOP20 (STC Micro) component page with datasheet-verified CAD.",
"author": {
"name": "Ray",
"email": "[email protected]"
},
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stc8g1k17-38i-tssop20.kicad_sym",
"stc8g1k17-38i-tssop20.kicad_mod",
"stc8g1k17-38i-tssop20.glb",
"stc8g1k17-38i-tssop20.step",
"stc8g1k17-38i-tssop20.lbr",
"docs/hero.png",
"docs/stc8g1k17-38i-tssop20-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stc8g1k17-38i-tssop20-etched.step"
],
"visibility": {
"public": true
},
"variants": [
{
"mpn": "STC8G1K17-38I-TSSOP20",
"kind": "packaging"
},
{
"mpn": "STC8G1K17-38I-QFN20",
"kind": "unknown"
},
{
"mpn": "STC8G1K17-38I-SOP16",
"kind": "unknown"
}
],
"updated_at": "2026-09-25T08:29:58.027Z"
}