component
STC32G8K64-42I-LQFP48
Public Made by Adomby adom
STC Micro Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674
{
"schema_version": 1,
"type": "component",
"slug": "stc32g8k64-42i-lqfp48",
"title": "STC32G8K64-42I-LQFP48",
"brief": "STC Micro Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). 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",
"embedded processors & controllers",
"stc32g8k64-42i-lqfp48",
"factory-2.0.0",
"extractor-text"
],
"component": {
"mpn": "STC32G8K64-42I-LQFP48",
"manufacturer": "STC Micro",
"package": "LQFP-48(7x7)",
"pin_count": 48,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756362617621897216",
"parts": {
"symbol": "stc32g8k64-42i-lqfp48.kicad_sym",
"footprint": "stc32g8k64-42i-lqfp48.kicad_mod",
"model_3d": "stc32g8k64-42i-lqfp48-hero.glb",
"model_3d_plain": "stc32g8k64-42i-lqfp48-etched.glb",
"model_3d_step": "stc32g8k64-42i-lqfp48-etched.step",
"model_3d_step_plain": "stc32g8k64-42i-lqfp48.step",
"lbr": "stc32g8k64-42i-lqfp48.lbr"
},
"distributor_links": {
"lcsc": "C7419403"
},
"distributor_check": {
"checked_at": "2026-10-19T03:48:29Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "no match"
},
"mouser": {
"pn": null,
"status": "no match"
}
},
"pins": [
{
"number": "1",
"name": "P5.3",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P5.3, with alternate functions TxD4_2 (UART4 transmit), CAN2_TX_2 and LIN_TX_2."
},
{
"number": "2",
"name": "P0.5",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P0.5, with alternate functions AD5 (address/data bus), ADC13 analog input channel 13 and T3CLKO (Timer 3 clock-divided output)."
},
{
"number": "3",
"name": "P0.6",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P0.6, with alternate functions AD6, ADC14 analog input channel 14, T4 external clock input and PWMFLT2_2 (enhanced PWM external fault-detect input)."
},
{
"number": "4",
"name": "P0.7",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P0.7, with alternate functions AD7 (address/data bus) and T4CLKO (Timer 4 clock-divided output)."
},
{
"number": "5",
"name": "P1.0",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P1.0, with alternate functions ADC0 analog input channel 0, PWM1P (PWM1 capture input/positive pulse output) and RxD2 (UART2 receive)."
},
{
"number": "6",
"name": "P1.1",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P1.1, with alternate functions ADC1 analog input channel 1, PWM1N (PWM1 negative pulse output) and TxD2 (UART2 transmit)."
},
{
"number": "7",
"name": "P4.7",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P4.7, with alternate functions TxD2_2 (UART2 transmit), CAN2_TX_3 and LIN_TX_3."
},
{
"number": "8",
"name": "P1.4",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P1.4, with alternate functions ADC4, PWM3P, SPI MISO, USART1/USART2 SPI MISO and I2C SDA."
},
{
"number": "9",
"name": "P1.5",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P1.5, with alternate functions ADC5, PWM3N, SPI SCLK, USART1/USART2 SPI SCLK, I2C SCL and I2SBCK_2."
},
{
"number": "10",
"name": "P1.6",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P1.6, with alternate functions ADC6, RxD_3 (UART1 alternate receive), PWM4P, MCLKO_2 (master clock divided output), XTALO (external crystal output), I2SMCK_2 and I2SMCK_4."
},
{
"number": "11",
"name": "P1.7",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P1.7, with alternate functions ADC7, TxD_3 (UART1 alternate transmit), PWM4N, PWM5_2 and XTALI (external crystal/clock input)."
},
{
"number": "12",
"name": "P1.3",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P1.3, with alternate functions ADC3, SPI MOSI, USART1/USART2 SPI MOSI, PWM2N, T2CLKO (Timer 2 clock-divided output) and I2SSD_2."
},
{
"number": "13",
"name": "P1.2",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P1.2, with alternate functions PWM2P, SPI SS, USART1/USART2 SPI SS and T2 (Timer 2 external clock input)."
},
{
"number": "14",
"name": "P5.4",
"type": "bidirectional",
"description": "Standard I/O port P5.4 by default; it can be set as the active-low reset pin nRST via ISP (power-cycle required to take effect), with alternate functions MCLKO, ADC2, SS and I2S MCLK."
},
{
"number": "15",
"name": "Vcc/AVcc",
"type": "power_in",
"description": "Supply voltage pin for the MCU (Vcc) and the ADC (AVcc); the datasheet specifies an operating range of 1.9 V to 5.5 V."
},
{
"number": "16",
"name": "ADC_VRef+",
"type": "input",
"description": "ADC external reference voltage input, which must be connected to an external reference supply between 2.4 V and MCU-VCC, as floating it causes leakage current."
},
{
"number": "17",
"name": "Gnd/AGnd",
"type": "power_in",
"description": "Ground pin for the digital circuitry (GND) and the ADC ground (AGND)."
},
{
"number": "18",
"name": "P4.0",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P4.0, with alternate functions MOSI_3, S1MOSI_3, S2MOSI_3 and I2SSD_4."
},
{
"number": "19",
"name": "P3.0",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P3.0, weak pull-up/quasi-bidirectional after power-on, with alternate functions RxD (UART1 receive) and INT4; it is also used for the ISP download/emulation interface."
},
{
"number": "20",
"name": "P3.1",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P3.1, weak pull-up/quasi-bidirectional after power-on, with alternate function TxD (UART1 transmit); it is also used for the ISP download/emulation interface."
},
{
"number": "21",
"name": "P3.2",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P3.2, with alternate functions INT0, SCLK_4, SCL_4, PWMETI, PWMETI2 and I2SBCK; it must not be held low together with P3.0 and P3.1 at power-on, otherwise the chip enters USB download mode."
},
{
"number": "22",
"name": "P3.3",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P3.3, with alternate functions INT1, MISO_4, SDA_4, PWM4N_4 and PWM7_2."
},
{
"number": "23",
"name": "P3.4",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P3.4, with alternate functions T0 (Timer 0 external clock input), T1CLKO, MOSI_4, PWM4P_4, PWM8_2, CMPO (comparator output) and I2SSD."
},
{
"number": "24",
"name": "P5.0",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P5.0, with alternate functions RxD3_2 (UART3 receive), CMP+_2 (comparator positive input) and CAN_RX_2."
},
{
"number": "25",
"name": "P5.1",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P5.1, with alternate functions TxD3_2 (UART3 transmit), CMP+_3 (comparator positive input) and CAN_TX_2."
},
{
"number": "26",
"name": "P3.5",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P3.5, with alternate functions T1 (Timer 1 external clock input), T0CLKO, SS_4, PWMFLT (enhanced PWM external fault input), PWMFLT2 and I2SLRCK."
},
{
"number": "27",
"name": "P3.6",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P3.6, with alternate functions INT2, RxD_2 (UART1 alternate receive) and CMP- (comparator negative input)."
},
{
"number": "28",
"name": "P3.7",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P3.7, with alternate functions INT3, TxD_2 (UART1 alternate transmit) and CMP+ (comparator positive input)."
},
{
"number": "29",
"name": "P4.1",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P4.1, with alternate functions MISO_3, S1MISO_3, S2MISO_3, CMPO_2 (comparator output) and PWMETI_2."
},
{
"number": "30",
"name": "P4.2",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P4.2, with alternate functions WR (external bus write strobe) and CAN_RX_3."
},
{
"number": "31",
"name": "P4.3",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P4.3, with alternate functions RxD_4 (UART4 receive), SCLK_3, S1SCLK_3, S2SCLK_3 and I2SCK_4."
},
{
"number": "32",
"name": "P4.4",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P4.4, with alternate functions RD (external bus read strobe) and TxD_4 (UART4 transmit)."
},
{
"number": "33",
"name": "P2.0",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P2.0, with alternate functions A8 (address bus), PWM1P_2 and PWM5."
},
{
"number": "34",
"name": "P2.1",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P2.1, with alternate functions A9 (address bus), PWM1N_2 and PWM6."
},
{
"number": "35",
"name": "P2.2",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P2.2, with alternate functions A10 (address bus), PWM2P_2, PWM7, SS_2, S1SS_2, S2SS_2 and I2SWS_3."
},
{
"number": "36",
"name": "P2.3",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P2.3, with alternate functions A11 (address bus), PWM2N_2, PWM8, MOSI_2, S1MOSI_2, S2MOSI_2 and I2SSD_3."
},
{
"number": "37",
"name": "P2.4",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P2.4, with alternate functions A12 (address bus), PWM3P_2, SDA_2, MISO_2, S1MISO_2 and S2MISO_2."
},
{
"number": "38",
"name": "P2.5",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P2.5, with alternate functions I2SCK_3, S2SCLK_2, S1SCLK_2, SCLK_2, SCL_2, PWM3N_2 and A13 (address bus)."
},
{
"number": "39",
"name": "P2.6",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P2.6, with alternate functions A14 (address bus) and PWM4P_2."
},
{
"number": "40",
"name": "P2.7",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P2.7, with alternate functions A15 (address bus) and PWM4N_2."
},
{
"number": "41",
"name": "P4.5",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P4.5, with alternate functions ALE (address latch enable) and CAN_TX_3."
},
{
"number": "42",
"name": "P4.6",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P4.6, with alternate functions LIN_RX_3, CAN2_RX_3 and RxD2_2 (UART2 receive)."
},
{
"number": "43",
"name": "P0.0",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P0.0, with alternate functions AD0 (address/data bus), ADC8 analog input channel 8, RxD3 (UART3 receive), PWM5_3, T3_2 and CAN_RX."
},
{
"number": "44",
"name": "P0.1",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P0.1, with alternate functions AD1 (address/data bus), ADC9 analog input channel 9, TxD3 (UART3 transmit), PWM6_3, T3CLKO_2 and CAN_TX."
},
{
"number": "45",
"name": "P0.2",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P0.2, with alternate functions AD2 (address/data bus), ADC10 analog input channel 10, RxD4 (UART4 receive), PWM7_3, T4_2, CAN2_RX and LIN_RX."
},
{
"number": "46",
"name": "P0.3",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P0.3, with alternate functions AD3 (address/data bus), ADC11 analog input channel 11, TxD4 (UART4 transmit), PWM8_3, T4CLKO_2, CAN2_TX and LIN_TX."
},
{
"number": "47",
"name": "P0.4",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P0.4, with alternate functions AD4 (address/data bus), ADC12 analog input channel 12 and T3 (Timer 3 external clock input)."
},
{
"number": "48",
"name": "P5.2",
"type": "bidirectional",
"description": "Standard bidirectional I/O port P5.2, with alternate functions RxD4_2 (UART4 receive), CAN2_RX_2 and LIN_RX_2."
}
],
"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: Package size conflict: the requested package is LQFP-48 (7x7), but the datasheet lists LQFP48 only a; Pins 28-42 descriptions were taken from the LQFP48 pin map (PDF page 305) because the pin-descriptio; Pin 14 (P5.4) defaults to a standard I/O after power-up and only becomes nRST when enabled through I",
"1/48 pins cited to the wrong page (name found elsewhere): ['16:ADC_VRef+@p316']"
],
"pages_sent": 108,
"cost_usd": 1.1131,
"at": "2026-10-19T03:46:35"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756362617621897216",
"pages": 1887,
"sha256": "59bba1d366cc8d33",
"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"
},
"models_3d": [
{
"file": "stc32g8k64-42i-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-19",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stc32g8k64-42i-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": "51a944f4b8a30df217eb04589899a9e25753485a52ab761125d6b8fc6f67a6ce",
"checked": "2026-10-19",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "STC Micro",
"Package": "LQFP-48(7x7)",
"Category": "Embedded Processors & Controllers",
"Pins": "48"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "59bba1d366cc8d33c15d659c37a769d3d5458b5a2e474aec60e65aabc3257f00",
"rows": [
{
"name": "工作电压",
"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 对地电压",
"symbol": "VDD",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": 5.5,
"conditions": "",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "I/O 口对地电压",
"symbol": "",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": null,
"conditions": "",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "存储温度",
"symbol": "",
"kind": "absolute_maximum",
"unit": "℃",
"min": -55,
"typ": null,
"max": 155,
"conditions": "",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "工作温度",
"symbol": "",
"kind": "absolute_maximum",
"unit": "℃",
"min": -40,
"typ": null,
"max": 85,
"conditions": "使用内部高速 IRC 和外部晶振",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "工作温度",
"symbol": "",
"kind": "absolute_maximum",
"unit": "℃",
"min": -40,
"typ": null,
"max": 125,
"conditions": "",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "内部 IRC 温漂特性",
"symbol": "",
"kind": "tolerance",
"unit": "%",
"min": -0.88,
"typ": null,
"max": 1.05,
"conditions": "温度范围 -20℃~65℃",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "内部 IRC 温漂特性",
"symbol": "",
"kind": "tolerance",
"unit": "%",
"min": -1.38,
"typ": null,
"max": 1.42,
"conditions": "温度范围 -40℃~85℃",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "内部 IRC 温漂特性",
"symbol": "",
"kind": "tolerance",
"unit": "%",
"min": -3,
"typ": null,
"max": 3,
"conditions": "温度范围 -40℃~125℃",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "输入低电平",
"symbol": "VIL1",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 1.32,
"conditions": "打开施密特触发",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "输入低电平",
"symbol": "VIL1",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 1.48,
"conditions": "关闭施密特触发",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "输入高电平(普通 I/O)",
"symbol": "VIH1",
"kind": "electrical",
"unit": "V",
"min": 1.6,
"typ": null,
"max": null,
"conditions": "打开施密特触发",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "输入高电平(普通 I/O)",
"symbol": "VIH1",
"kind": "electrical",
"unit": "V",
"min": 1.54,
"typ": null,
"max": null,
"conditions": "关闭施密特触发",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "逻辑 0 输入电流",
"symbol": "IIL",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": null,
"max": 50,
"conditions": "端口电压 0V",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "逻辑 1 到 0 的转移电流",
"symbol": "ITL",
"kind": "electrical",
"unit": "uA",
"min": 100,
"typ": 270,
"max": 600,
"conditions": "端口电压 2.0V",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "I/O 口上拉电阻",
"symbol": "RPU",
"kind": "electrical",
"unit": "KΩ",
"min": 4.1,
"typ": 4.2,
"max": 4.4,
"conditions": "",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "普通工作模式电流",
"symbol": "ICC",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 4,
"max": 20,
"conditions": "",
"source_page": 1657,
"source": "datasheet"
}
]
}
},
"variants": [],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"stc32g8k64-42i-lqfp48"
],
"discovery_pitch": "STC32G8K64-42I-LQFP48 (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-lqfp48.kicad_sym",
"stc32g8k64-42i-lqfp48.kicad_mod",
"stc32g8k64-42i-lqfp48.glb",
"stc32g8k64-42i-lqfp48.step",
"stc32g8k64-42i-lqfp48.lbr",
"docs/hero.png",
"docs/stc32g8k64-42i-lqfp48-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stc32g8k64-42i-lqfp48-hero.glb",
"stc32g8k64-42i-lqfp48-hero.overlay.json",
"stc32g8k64-42i-lqfp48-etched.glb"
],
"visibility": {
"public": true
}
}