component
STC32G8K64-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
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758
{
"schema_version": 1,
"type": "component",
"slug": "stc32g8k64-42i-tssop20",
"title": "STC32G8K64-42I-TSSOP20",
"brief": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"version": "0.1.0",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"single chip microcomputer-microcontroller",
"stc32g8k64-42i-tssop20",
"factory-2.0.0",
"extractor-text"
],
"component": {
"mpn": "STC32G8K64-42I-TSSOP20",
"manufacturer": "STC Micro",
"package": "TSSOP-20",
"pin_count": 20,
"category": "Single Chip Microcomputer/Microcontroller",
"subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
"datasheet": "https://datasheet.lcsc.com/datasheet/pdf/8fe4cdefdfe8ba1a5b5a614521aecf58.pdf",
"parts": {
"symbol": "stc32g8k64-42i-tssop20.kicad_sym",
"footprint": "stc32g8k64-42i-tssop20.kicad_mod",
"model_3d": "stc32g8k64-42i-tssop20-hero.glb",
"model_3d_plain": "stc32g8k64-42i-tssop20-etched.glb",
"model_3d_step": "stc32g8k64-42i-tssop20-etched.step",
"model_3d_step_plain": "stc32g8k64-42i-tssop20.step",
"lbr": "stc32g8k64-42i-tssop20.lbr"
},
"distributor_links": {
"lcsc": "C20611528"
},
"distributor_check": {
"checked_at": "2026-10-26T23:41:52Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "no match"
},
"mouser": {
"pn": null,
"status": "no match"
}
},
"pins": [
{
"number": "1",
"name": "P1.4",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate functions ADC4, PWM3P, MISO, S1MISO, S2MISO and SDA (I2C data)."
},
{
"number": "2",
"name": "P1.5",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate functions ADC5, PWM3N, SCLK, S1SCLK, S2SCLK, SCL and I2SCK_2."
},
{
"number": "3",
"name": "P1.6",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate functions ADC6, RxD_3, PWM4P, MCLKO_2, XTALO (external crystal output) and I2SMCK_2/I2SMCK_4."
},
{
"number": "4",
"name": "P1.7",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate functions ADC7, TxD_3, PWM4N, PWM5_2 and XTALI (external crystal or clock input)."
},
{
"number": "5",
"name": "P1.3",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate functions ADC3, MOSI, S1MOSI, S2MOSI, PWM2N, T2CLKO and I2SData_2."
},
{
"number": "6",
"name": "P1.2",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate functions PWM2P, SS, S1SS, S2SS and T2 (timer 2 external clock input)."
},
{
"number": "7",
"name": "P5.4",
"type": "bidirectional",
"description": "Standard I/O port pin that can be configured as the active-low reset input nRST, with alternate functions ADC2, MCLKO, SS and PWM6_2."
},
{
"number": "8",
"name": "Vcc",
"type": "power_in",
"description": "Power supply pin for the MCU core and I/O, which also feeds AVcc for the ADC."
},
{
"number": "9",
"name": "ADC_VRef+",
"type": "input",
"description": "ADC external reference voltage pin that must be connected to an external reference of 2.4V to MCU-VCC, since floating it causes leakage current."
},
{
"number": "10",
"name": "Gnd",
"type": "power_in",
"description": "Ground pin, which is also the ADC analog ground AGnd."
},
{
"number": "11",
"name": "P3.0",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate functions UART1 receive RxD and external interrupt INT4, and it is weakly pulled up after power-on."
},
{
"number": "12",
"name": "P3.1",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate function UART1 transmit TxD, and it is weakly pulled up after power-on."
},
{
"number": "13",
"name": "P3.2",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate functions external interrupt INT0, SCLK_4, SCL_4, PWMETI, PWMETI2 and I2SCK; it is high level during power-on reset."
},
{
"number": "14",
"name": "P3.3",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate functions external interrupt INT1, MISO_4, SDA_4, PWM4N_4 and PWM7_2."
},
{
"number": "15",
"name": "P3.4",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate functions T0 external clock input, T1CLKO, MOSI_4, PWM4P_4, PWM8_2, comparator output CMPO and I2SData."
},
{
"number": "16",
"name": "P3.5",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate functions T1 external clock input, T0CLKO, SS_4, PWM fault input PWMFLT and I2SLRCK."
},
{
"number": "17",
"name": "P3.6",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate functions external interrupt INT2, UART1 receive RxD_2 and comparator negative input CMP-."
},
{
"number": "18",
"name": "P3.7",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate functions external interrupt INT3, TxD_2 and comparator positive input CMP+."
},
{
"number": "19",
"name": "P1.1",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate functions ADC1, PWM1N and UART2 transmit TxD2."
},
{
"number": "20",
"name": "P1.0",
"type": "bidirectional",
"description": "Standard I/O port pin with alternate functions ADC0, PWM1P and UART2 receive RxD2."
}
],
"provenance": {
"extractor": "extract_pins 0.3",
"factory_chain": {
"factory": "2.0.0",
"extractor": "extract_pins 0.3",
"primary_model": "claude-haiku-5-5",
"primary_mode": "text",
"consensus_model": "claude-sonnet-5-5",
"consensus": "agreed",
"guards": "pin_guards 0.1: passed",
"guard_notes": [
"extractor flagged: The pin-description row for P3.7 (pin 18) falls on datasheet page 280, which is not in the supplied ; The STC32G8K64 pin table (page 274 diagram, pages 276-279 table) lists TSSOP20 pin numbers 1-20 and ",
"1/20 pins cited to the wrong page (name found elsewhere): ['6:P1.2@p277']"
],
"pages_sent": 108,
"cost_usd": 0.2304,
"at": "2026-10-26T23:41:24"
},
"datasheet": {
"url": "https://datasheet.lcsc.com/datasheet/pdf/8fe4cdefdfe8ba1a5b5a614521aecf58.pdf",
"pages": 1887,
"sha256": "59bba1d366cc8d33",
"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"
},
"models_3d": [
{
"file": "stc32g8k64-42i-tssop20.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6.4,
6.5,
1.2
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
"checked": "2026-10-26",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stc32g8k64-42i-tssop20-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6.4,
6.5,
1.2
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "f3fd56538fbf7a7ef6a16c8092dd42d631eb6fd86637260b359a4c7815ae30d5",
"checked": "2026-10-26",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "STC Micro",
"Package": "TSSOP-20",
"Category": "Single Chip Microcomputer/Microcontroller",
"Pins": "20"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "59bba1d366cc8d33c15d659c37a769d3d5458b5a2e474aec60e65aabc3257f00",
"rows": [
{
"name": "Operating voltage",
"symbol": "",
"kind": "absolute_maximum",
"unit": "V",
"min": 1.9,
"typ": null,
"max": 5.5,
"conditions": "工作温度低于-40℃时,工作电压不得低于 3.0V",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "VDD to ground voltage",
"symbol": "VDD",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": 5.5,
"conditions": "",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "I/O port voltage to ground",
"symbol": "",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": null,
"conditions": "max printed as VDD+0.3",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "Operating temperature",
"symbol": "",
"kind": "absolute_maximum",
"unit": "℃",
"min": -40,
"typ": null,
"max": 85,
"conditions": "使用内部高速 IRC 和外部晶振",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "Operating temperature",
"symbol": "",
"kind": "absolute_maximum",
"unit": "℃",
"min": -40,
"typ": null,
"max": 125,
"conditions": "",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "Storage temperature",
"symbol": "",
"kind": "absolute_maximum",
"unit": "℃",
"min": -55,
"typ": null,
"max": 155,
"conditions": "",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "Internal IRC frequency drift",
"symbol": "",
"kind": "tolerance",
"unit": "%",
"min": -0.88,
"typ": null,
"max": 1.05,
"conditions": "-20℃~65℃, reference temperature 25℃",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "Internal IRC frequency drift",
"symbol": "",
"kind": "tolerance",
"unit": "%",
"min": -1.38,
"typ": null,
"max": 1.42,
"conditions": "-40℃~85℃, reference temperature 25℃",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "Internal IRC frequency drift",
"symbol": "",
"kind": "tolerance",
"unit": "%",
"min": -3,
"typ": null,
"max": 3,
"conditions": "-40℃~125℃, reference temperature 25℃",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "POR threshold",
"symbol": "",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": 1.9,
"max": null,
"conditions": "测试温度 25℃",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "LVR0 threshold",
"symbol": "",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": 2,
"max": null,
"conditions": "测试温度 25℃",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "LVR1 threshold",
"symbol": "",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": 2.4,
"max": null,
"conditions": "测试温度 25℃",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "LVR2 threshold",
"symbol": "",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": 2.7,
"max": null,
"conditions": "测试温度 25℃",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "LVR3 threshold",
"symbol": "",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": 3,
"max": null,
"conditions": "测试温度 25℃",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "Input low voltage",
"symbol": "VIL1",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 1.32,
"conditions": "打开施密特触发, VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Input low voltage",
"symbol": "VIL1",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 1.48,
"conditions": "关闭施密特触发, VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Input high voltage (normal I/O)",
"symbol": "VIH1",
"kind": "electrical",
"unit": "V",
"min": 1.6,
"typ": null,
"max": null,
"conditions": "打开施密特触发, VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Input high voltage (normal I/O)",
"symbol": "VIH1",
"kind": "electrical",
"unit": "V",
"min": 1.54,
"typ": null,
"max": null,
"conditions": "关闭施密特触发, VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Output low sink current",
"symbol": "IOL1",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 20,
"max": null,
"conditions": "端口电压 0.45V, VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Output high current (bidirectional mode)",
"symbol": "IOH1",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": 200,
"max": null,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Output high current (push-pull mode)",
"symbol": "IOH2",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 20,
"max": null,
"conditions": "端口电压 2.4V, VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Logic 0 input current",
"symbol": "IIL",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": null,
"max": 50,
"conditions": "端口电压 0V, VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Logic 1 to 0 transition current",
"symbol": "ITL",
"kind": "electrical",
"unit": "uA",
"min": 100,
"typ": 270,
"max": 600,
"conditions": "端口电压 2.0V, VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "I/O pull-up resistance",
"symbol": "RPU",
"kind": "electrical",
"unit": "KΩ",
"min": 4.1,
"typ": 4.2,
"max": 4.4,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Normal operating mode current",
"symbol": "ICC",
"kind": "electrical",
"unit": "mA",
"min": 4,
"typ": null,
"max": 20,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Power-down mode current",
"symbol": "IPD",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": 1,
"max": null,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Power-down wake-up timer current",
"symbol": "IWKT",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": 4.1,
"max": null,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Low-voltage detect module current",
"symbol": "ILVD",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": 425,
"max": null,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Idle mode current (6MHz)",
"symbol": "IIDL",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 1.55,
"max": null,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Idle mode current (11.0592MHz)",
"symbol": "IIDL",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 2.34,
"max": null,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Idle mode current (24MHz)",
"symbol": "IIDL",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 3.93,
"max": null,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Idle mode current (internal 32KHz)",
"symbol": "IIDL",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 0.57,
"max": null,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Normal mode current (6MHz)",
"symbol": "INOR",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 2.2,
"max": null,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Normal mode current (11.0592MHz)",
"symbol": "INOR",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 3.61,
"max": null,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Normal mode current (24MHz)",
"symbol": "INOR",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 6.45,
"max": null,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Normal mode current (internal 32KHz)",
"symbol": "INOR",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 0.57,
"max": null,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Power-down mode power with comparator enabled",
"symbol": "IPD2",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": 460,
"max": null,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Power-down mode power with LVD enabled",
"symbol": "IPD3",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": 520,
"max": null,
"conditions": "VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
}
]
}
},
"variants": [],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"stc32g8k64-42i-tssop20"
],
"discovery_pitch": "STC32G8K64-42I-TSSOP20 (STC Micro) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
"author": {
"name": "Ray",
"email": "[email protected]"
},
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stc32g8k64-42i-tssop20.kicad_sym",
"stc32g8k64-42i-tssop20.kicad_mod",
"stc32g8k64-42i-tssop20.glb",
"stc32g8k64-42i-tssop20.step",
"stc32g8k64-42i-tssop20.lbr",
"docs/hero.png",
"docs/stc32g8k64-42i-tssop20-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stc32g8k64-42i-tssop20-hero.glb",
"stc32g8k64-42i-tssop20-hero.overlay.json",
"stc32g8k64-42i-tssop20-etched.glb"
],
"visibility": {
"public": true
}
}