component
STC8G2K64S4-36I-LQFP48
Public Made by Adomby adom
STC Micro Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout extracted from the datasheet, KiCad symbol/footprint/3D.
main
Ray
stc8g2k64s4-36i-lqfp48: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding)
46851d7
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
{
"schema_version": 1,
"type": "component",
"slug": "stc8g2k64s4-36i-lqfp48",
"title": "STC8G2K64S4-36I-LQFP48",
"brief": "STC Micro Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
"version": "0.2.0",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"mcu",
"stc8g2k64s4-36i-lqfp48"
],
"component": {
"mpn": "STC8G2K64S4-36I-LQFP48",
"manufacturer": "STC Micro",
"package": "LQFP-48(7x7)",
"pin_count": 48,
"category": "MCU",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://datasheet.lcsc.com/datasheet/pdf/5b76295ab6e43792073a51d0ce1481a3.pdf",
"parts": {
"symbol": "stc8g2k64s4-36i-lqfp48.kicad_sym",
"footprint": "stc8g2k64s4-36i-lqfp48.kicad_mod",
"model_3d": "stc8g2k64s4-36i-lqfp48-etched.glb",
"model_3d_plain": "stc8g2k64s4-36i-lqfp48.glb",
"model_3d_step": "stc8g2k64s4-36i-lqfp48-etched.step",
"model_3d_step_plain": "stc8g2k64s4-36i-lqfp48.step",
"lbr": "stc8g2k64s4-36i-lqfp48.lbr"
},
"distributor_links": {
"lcsc": "C915668"
},
"pins": [
{
"number": "1",
"name": "P5.3/PWM53/TxD4_2",
"type": "bidirectional",
"description": "Standard I/O port P5.3. Muxed: enhanced PWM53 output, alternate UART4 TxD."
},
{
"number": "2",
"name": "P0.5/PWM05/AD5/ADC13/T3CLKO",
"type": "bidirectional",
"description": "Standard I/O port P0.5. Muxed: PWM05, external-bus AD5 address/data line, ADC channel 13, Timer3 clock-divider output."
},
{
"number": "3",
"name": "P0.6/PWM06/AD6/ADC14/T4/PWMFLT2",
"type": "bidirectional",
"description": "Standard I/O port P0.6. Muxed: PWM06, AD6 bus line, ADC channel 14, Timer4 external clock input, enhanced-PWM fault-detect input PWMFLT2."
},
{
"number": "4",
"name": "P0.7/PWM07/AD7/T4CLKO/PWMFLT3",
"type": "bidirectional",
"description": "Standard I/O port P0.7. Muxed: PWM07, AD7 bus line, Timer4 clock-divider output, PWM fault-detect input PWMFLT3."
},
{
"number": "5",
"name": "P1.0/PWM10/ADC0/CCP1/RxD2",
"type": "bidirectional",
"description": "Standard I/O port P1.0. Muxed: PWM10, ADC channel 0, PCA/CCP1 capture/compare/PWM, UART2 RxD."
},
{
"number": "6",
"name": "P1.1/PWM11/ADC1/CCP0/TxD2",
"type": "bidirectional",
"description": "Standard I/O port P1.1. Muxed: PWM11, ADC channel 1, PCA/CCP0, UART2 TxD."
},
{
"number": "7",
"name": "P4.7/PWM47/TxD2_2",
"type": "bidirectional",
"description": "Standard I/O port P4.7. Muxed: PWM47, alternate UART2 TxD."
},
{
"number": "8",
"name": "P1.2/PWM12/ADC2/ECI/SS/T2",
"type": "bidirectional",
"description": "Standard I/O port P1.2. Muxed: PWM12, ADC channel 2, PCA external ECI input, SPI slave-select, Timer2 external clock input."
},
{
"number": "9",
"name": "P1.3/PWM13/ADC3/MOSI/T2CLKO",
"type": "bidirectional",
"description": "Standard I/O port P1.3. Muxed: PWM13, ADC channel 3, SPI MOSI, Timer2 clock-divider output."
},
{
"number": "10",
"name": "P1.4/PWM14/ADC4/MISO/SDA",
"type": "bidirectional",
"description": "Standard I/O port P1.4. Muxed: PWM14, ADC channel 4, SPI MISO, I2C SDA data line."
},
{
"number": "11",
"name": "P1.5/PWM15/ADC5/SCLK/SCL",
"type": "bidirectional",
"description": "Standard I/O port P1.5. Muxed: PWM15, ADC channel 5, SPI SCLK, I2C SCL clock line."
},
{
"number": "12",
"name": "P1.6/PWM16/ADC6/RxD_3/MCLKO_2/XTALO",
"type": "bidirectional",
"description": "Standard I/O port P1.6. Muxed: PWM16, ADC channel 6, alt UART1 RxD, master-clock divider output, external crystal output (XTALO)."
},
{
"number": "13",
"name": "P1.7/PWM17/ADC7/TxD_3/XTALI",
"type": "bidirectional",
"description": "Standard I/O port P1.7. Muxed: PWM17, ADC channel 7, alt UART1 TxD, external crystal / external clock input (XTALI)."
},
{
"number": "14",
"name": "P5.4/PWM54/nRST/MCLKO/SS_3",
"type": "bidirectional",
"description": "Standard I/O port P5.4. Muxed with active-low reset input nRST, master-clock output MCLKO, and SPI alternate slave-select SS_3. When configured as reset, an internal ~4 kΩ pull-up is enabled continuously; when used as GPIO, the pull-up still asserts for ~6.5 ms after power-on."
},
{
"number": "15",
"name": "VCC/AVCC",
"type": "power_in",
"description": "Main digital supply VCC and analog supply AVCC (bonded to same pin on LQFP48). Operating range 2.0-5.5 V. Add 0.1 µF ceramic and ≥10 µF bulk decoupling close to the pin."
},
{
"number": "16",
"name": "ADC_VRef+",
"type": "input",
"description": "External ADC positive reference input, 2.4 V to VCC. Must be driven (do not leave floating - leakage present). Can be tied to VCC for low-precision use."
},
{
"number": "17",
"name": "GND/AGND",
"type": "power_in",
"description": "Combined digital and analog ground return."
},
{
"number": "18",
"name": "P4.0/PWM40/MOSI_3",
"type": "bidirectional",
"description": "Standard I/O port P4.0. Muxed: PWM40, alternate SPI MOSI (group 3)."
},
{
"number": "19",
"name": "P3.0/PWM30/RxD/INT4",
"type": "bidirectional",
"description": "Standard I/O port P3.0. Default UART1 RxD, external interrupt INT4, PWM30. Powers up as weak-pull-up quasi-bidirectional (unlike other I/Os which power up hi-Z). Combined low state on P3.0+P3.1+P3.2 at reset enters USB-ISP mode."
},
{
"number": "20",
"name": "P3.1/PWM31/TxD",
"type": "bidirectional",
"description": "Standard I/O port P3.1. Default UART1 TxD, PWM31. Powers up as weak-pull-up quasi-bidirectional; participates in USB-ISP entry detection."
},
{
"number": "21",
"name": "P3.2/PWM32/INT0/SCLK_4/SCL_4",
"type": "bidirectional",
"description": "Standard I/O port P3.2. Muxed: PWM32, external interrupt INT0, alt SPI SCLK (group 4), alt I2C SCL (group 4). Sampled at power-up for USB-ISP mode entry."
},
{
"number": "22",
"name": "P3.3/PWM33/INT1/MISO_4/SDA_4",
"type": "bidirectional",
"description": "Standard I/O port P3.3. Muxed: PWM33, external interrupt INT1, alt SPI MISO (group 4), alt I2C SDA (group 4)."
},
{
"number": "23",
"name": "P3.4/PWM34/T0/T1CLKO/ECI_2/MOSI_4/CMPO",
"type": "bidirectional",
"description": "Standard I/O port P3.4. Muxed: PWM34, Timer0 external clock in, Timer1 clock-divider out, alt PCA ECI, alt SPI MOSI (group 4), analog-comparator output CMPO."
},
{
"number": "24",
"name": "P5.0/PWM50/RxD3_2",
"type": "bidirectional",
"description": "Standard I/O port P5.0. Muxed: PWM50, alternate UART3 RxD."
},
{
"number": "25",
"name": "P5.1/PWM51/TxD3_2",
"type": "bidirectional",
"description": "Standard I/O port P5.1. Muxed: PWM51, alternate UART3 TxD."
},
{
"number": "26",
"name": "P3.5/PWM35/T1/T0CLKO/SS_4/CCP0_2/PWMFLT",
"type": "bidirectional",
"description": "Standard I/O port P3.5. Muxed: PWM35, Timer1 external clock in, Timer0 clock-divider out, SPI SS (group 4), PCA CCP0 (group 2), enhanced-PWM fault input PWMFLT."
},
{
"number": "27",
"name": "P3.6/PWM36/INT2/RxD_2/CMP-/CCP1_2",
"type": "bidirectional",
"description": "Standard I/O port P3.6. Muxed: PWM36, external interrupt INT2, alt UART1 RxD, comparator negative input CMP-, PCA CCP1 (group 2)."
},
{
"number": "28",
"name": "P3.7/PWM37/INT3/TxD_2/CMP+/CCP2/CCP2_2",
"type": "bidirectional",
"description": "Standard I/O port P3.7. Muxed: PWM37, external interrupt INT3, alt UART1 TxD, comparator positive input CMP+, PCA CCP2 (default and group-2 alternate)."
},
{
"number": "29",
"name": "P4.1/PWM41/MISO_3/CMPO_2",
"type": "bidirectional",
"description": "Standard I/O port P4.1. Muxed: PWM41, alt SPI MISO (group 3), alt comparator output CMPO."
},
{
"number": "30",
"name": "P4.2/PWM42/WR",
"type": "bidirectional",
"description": "Standard I/O port P4.2. Muxed: PWM42, external-bus write strobe WR."
},
{
"number": "31",
"name": "P4.3/PWM43/RxD_4/SCLK_3",
"type": "bidirectional",
"description": "Standard I/O port P4.3. Muxed: PWM43, alt UART1 RxD (group 4), alt SPI SCLK (group 3)."
},
{
"number": "32",
"name": "P4.4/PWM44/RD/TxD_4",
"type": "bidirectional",
"description": "Standard I/O port P4.4. Muxed: PWM44, external-bus read strobe RD, alt UART1 TxD (group 4)."
},
{
"number": "33",
"name": "P2.0/PWM20/A8",
"type": "bidirectional",
"description": "Standard I/O port P2.0. Muxed: PWM20, external-bus address A8."
},
{
"number": "34",
"name": "P2.1/PWM21/A9",
"type": "bidirectional",
"description": "Standard I/O port P2.1. Muxed: PWM21, address A9."
},
{
"number": "35",
"name": "P2.2/PWM22/A10/SS_2",
"type": "bidirectional",
"description": "Standard I/O port P2.2. Muxed: PWM22, address A10, alt SPI SS (group 2)."
},
{
"number": "36",
"name": "P2.3/PWM23/A11/MOSI_2/CCP0_2",
"type": "bidirectional",
"description": "Standard I/O port P2.3. Muxed: PWM23, address A11, alt SPI MOSI (group 2), alt PCA CCP0."
},
{
"number": "37",
"name": "P2.4/PWM24/A12/ECI_3/SDA_2/MISO_2",
"type": "bidirectional",
"description": "Standard I/O port P2.4. Muxed: PWM24, address A12, alt PCA ECI (group 3), alt I2C SDA (group 2), alt SPI MISO (group 2)."
},
{
"number": "38",
"name": "P2.5/PWM25/A13/CCP0_3/SCL_2/SCLK_2",
"type": "bidirectional",
"description": "Standard I/O port P2.5. Muxed: PWM25, address A13, alt PCA CCP0 (group 3), alt I2C SCL (group 2), alt SPI SCLK (group 2)."
},
{
"number": "39",
"name": "P2.6/PWM26/A14/CCP1_3",
"type": "bidirectional",
"description": "Standard I/O port P2.6. Muxed: PWM26, address A14, alt PCA CCP1 (group 3)."
},
{
"number": "40",
"name": "P2.7/PWM27/A15/CCP2_3",
"type": "bidirectional",
"description": "Standard I/O port P2.7. Muxed: PWM27, address A15, alt PCA CCP2 (group 3)."
},
{
"number": "41",
"name": "P4.5/PWM45/ALE",
"type": "bidirectional",
"description": "Standard I/O port P4.5. Muxed: PWM45, external-bus address latch enable ALE."
},
{
"number": "42",
"name": "P4.6/PWM46/RxD2_2",
"type": "bidirectional",
"description": "Standard I/O port P4.6. Muxed: PWM46, alt UART2 RxD."
},
{
"number": "43",
"name": "P0.0/PWM00/ADC8/AD0/RxD3",
"type": "bidirectional",
"description": "Standard I/O port P0.0. Muxed: PWM00, ADC channel 8, external-bus AD0, UART3 RxD (default)."
},
{
"number": "44",
"name": "P0.1/PWM01/ADC9/AD1/TxD3",
"type": "bidirectional",
"description": "Standard I/O port P0.1. Muxed: PWM01, ADC channel 9, AD1, UART3 TxD (default)."
},
{
"number": "45",
"name": "P0.2/PWM02/ADC10/AD2/RxD4",
"type": "bidirectional",
"description": "Standard I/O port P0.2. Muxed: PWM02, ADC channel 10, AD2, UART4 RxD (default)."
},
{
"number": "46",
"name": "P0.3/PWM03/ADC11/AD3/TxD4",
"type": "bidirectional",
"description": "Standard I/O port P0.3. Muxed: PWM03, ADC channel 11, AD3, UART4 TxD (default)."
},
{
"number": "47",
"name": "P0.4/PWM04/ADC12/AD4/T3",
"type": "bidirectional",
"description": "Standard I/O port P0.4. Muxed: PWM04, ADC channel 12, AD4, Timer3 external clock input."
},
{
"number": "48",
"name": "P5.2/PWM52/RxD4_2",
"type": "bidirectional",
"description": "Standard I/O port P5.2. Muxed: PWM52, alt UART4 RxD."
}
],
"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": 48,
"described": 48,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"pin1": {
"pad": "1",
"at": [
-4.1625,
-2.75
],
"corner": "top-left",
"source": "silk-marker",
"derived_from": "LQFP-48_7x7mm_P0.5mm@sha256:1ccc5ad4d95398a4",
"mark": "drawn"
},
"models_3d": [
{
"file": "stc8g2k64s4-36i-lqfp48.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9,
9,
1.5
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stc8g2k64s4-36i-lqfp48-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9,
9,
1.5
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "77b9ed9469cda3d8be12c7e534a8a694b57d32efa82c1860f74d3a9a36fc0b84",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "STC Micro",
"Package": "LQFP-48(7x7)",
"Category": "MCU",
"Pins": "48"
}
},
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"stc8g2k64s4-36i-lqfp48"
],
"discovery_pitch": "STC8G2K64S4-36I-LQFP48 (STC Micro) component page with datasheet-verified CAD.",
"author": {
"name": "Ray"
},
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stc8g2k64s4-36i-lqfp48.kicad_sym",
"stc8g2k64s4-36i-lqfp48.kicad_mod",
"stc8g2k64s4-36i-lqfp48.glb",
"stc8g2k64s4-36i-lqfp48.step",
"stc8g2k64s4-36i-lqfp48-etched.step",
"stc8g2k64s4-36i-lqfp48.lbr",
"docs/hero.png",
"docs/stc8g2k64s4-36i-lqfp48-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html"
],
"visibility": {
"public": true
},
"variants": [
{
"mpn": "STC8G2K64S4-36I-LQFP48",
"kind": "packaging"
},
{
"mpn": "STC8G2K64S4-36I-QFN48",
"kind": "unknown"
},
{
"mpn": "STC8G2K64S4-36I-LQFP32",
"kind": "unknown"
},
{
"mpn": "STC8G2K64S4-36I-QFN32",
"kind": "unknown"
},
{
"mpn": "STC8G2K64S4-36I-PDIP40",
"kind": "unknown"
}
],
"updated_at": "2026-09-25T08:30:06.206Z"
}