component
STC32G12K128-35I-QFN48
Public Made by Adomby adom
STC Micro Microcontrollers (MCU/MPU/SOC), QFN-48(6x6). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668
{
"schema_version": 1,
"type": "component",
"slug": "stc32g12k128-35i-qfn48",
"title": "STC32G12K128-35I-QFN48",
"brief": "STC Micro Microcontrollers (MCU/MPU/SOC), QFN-48(6x6). 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",
"stc32g12k128-35i-qfn48",
"factory-2.0.0",
"extractor-text"
],
"component": {
"mpn": "STC32G12K128-35I-QFN48",
"manufacturer": "STC Micro",
"package": "QFN-48(6x6)",
"pin_count": 49,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756362802066280448",
"parts": {
"symbol": "stc32g12k128-35i-qfn48.kicad_sym",
"footprint": "stc32g12k128-35i-qfn48.kicad_mod",
"model_3d": "stc32g12k128-35i-qfn48-hero.glb",
"model_3d_plain": "stc32g12k128-35i-qfn48-etched.glb",
"model_3d_step": "stc32g12k128-35i-qfn48-etched.step",
"model_3d_step_plain": "stc32g12k128-35i-qfn48.step",
"lbr": "stc32g12k128-35i-qfn48.lbr"
},
"distributor_links": {
"lcsc": "C20613513"
},
"distributor_check": {
"checked_at": "2026-10-19T05:27:07Z",
"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 I/O port pin, also serial 4 TxD4_2, CAN2_TX_2 and LIN_TX_2 outputs; port is high-impedance input after power-on until its mode is set."
},
{
"number": "2",
"name": "P0.5",
"type": "bidirectional",
"description": "Standard I/O port pin, also address/data bus AD5, ADC channel 13 input, and Timer 3 clock-divided output T3CLKO; high-impedance input after power-on until mode is set."
},
{
"number": "3",
"name": "P0.6",
"type": "bidirectional",
"description": "Standard I/O port pin, also address/data bus AD6, ADC channel 14 input, Timer 4 external clock input T4 and enhanced PWM fault input PWMFLT2_2."
},
{
"number": "4",
"name": "P0.7",
"type": "bidirectional",
"description": "Standard I/O port pin, also address/data bus AD7 and Timer 4 clock-divided output T4CLKO; high-impedance input after power-on until mode is set."
},
{
"number": "5",
"name": "P1.0",
"type": "bidirectional",
"description": "Standard I/O port pin, also ADC channel 0 input, PWM1 capture/pulse positive output PWM1P and serial 2 receive RxD2."
},
{
"number": "6",
"name": "P1.1",
"type": "bidirectional",
"description": "Standard I/O port pin, also ADC channel 1 input, PWM1 pulse negative output PWM1N and serial 2 transmit TxD2."
},
{
"number": "7",
"name": "P4.7",
"type": "bidirectional",
"description": "Standard I/O port pin, also serial 2 TxD2_2, CAN2_TX_3 and LIN_TX_3 outputs."
},
{
"number": "8",
"name": "P1.4",
"type": "bidirectional",
"description": "Standard I/O port pin, also ADC channel 4 input, PWM3 positive output PWM3P, SPI MISO/USART1-SPI/USART2-SPI data input and I2C data line SDA."
},
{
"number": "9",
"name": "P1.5",
"type": "bidirectional",
"description": "Standard I/O port pin, also ADC channel 5 input, PWM3 negative output PWM3N, SPI clock SCLK (plus USART1/USART2 SPI clocks) and I2C clock line SCL."
},
{
"number": "10",
"name": "P1.6",
"type": "bidirectional",
"description": "Standard I/O port pin, also ADC channel 6 input, serial 1 receive RxD_3, PWM4 positive output PWM4P, master clock output MCLKO_2 and external crystal output XTALO."
},
{
"number": "11",
"name": "P1.7",
"type": "bidirectional",
"description": "Standard I/O port pin, also ADC channel 7 input, serial 1 transmit TxD_3, PWM4 negative output PWM4N, PWM5 I/O and external crystal/clock input XTALI."
},
{
"number": "12",
"name": "P1.3",
"type": "bidirectional",
"description": "Standard I/O port pin, also ADC channel 3 input, SPI MOSI (plus USART1/USART2 SPI MOSI), PWM2 negative output PWM2N and Timer 2 clock-divided output T2CLKO."
},
{
"number": "13",
"name": "UCAP",
"type": "passive",
"description": "USB core power regulator stabilization pin, connected to an external capacitor (figure shows 0.1 uF to 10 uF)."
},
{
"number": "14",
"name": "P5.4",
"type": "bidirectional",
"description": "Standard I/O port pin that can be configured as the active-low reset input nRST (factory default is I/O; reset function requires ISP setting and power cycle), also MCLKO, ADC channel 2, PWM2P, PWM6_2, Timer 2 input T2 and SPI slave select lines."
},
{
"number": "15",
"name": "Vcc",
"type": "power_in",
"description": "MCU supply pin (Vcc/AVcc); operating voltage 1.9 V to 5.5 V per the datasheet feature list."
},
{
"number": "16",
"name": "ADC_VRef+",
"type": "input",
"description": "ADC external reference voltage pin, which must be connected to an external reference between 2.4 V and MCU-VCC, since floating it causes leakage current."
},
{
"number": "17",
"name": "Gnd",
"type": "power_in",
"description": "Ground pin (Gnd/AGnd), common ground for the digital core and ADC."
},
{
"number": "18",
"name": "P4.0",
"type": "bidirectional",
"description": "Standard I/O port pin, also SPI MOSI_3 and USART1/USART2 SPI MOSI_3 outputs (S1MOSI_3, S2MOSI_3)."
},
{
"number": "19",
"name": "P3.0",
"type": "bidirectional",
"description": "Standard I/O port pin with weak pull-up/quasi-bidirectional mode after power-on, also serial 1 receive RxD, USB data line D- and external interrupt INT4; used for USB/serial ISP download."
},
{
"number": "20",
"name": "P3.1",
"type": "bidirectional",
"description": "Standard I/O port pin with weak pull-up/quasi-bidirectional mode after power-on, also serial 1 transmit TxD and USB data line D+; used for USB/serial ISP download and simulation."
},
{
"number": "21",
"name": "P3.2",
"type": "bidirectional",
"description": "Standard I/O port pin, also external interrupt INT0, SPI/I2C pins SCLK_4/SCL_4 and PWM external trigger inputs PWMETI/PWMETI2; held high at power-on and used as the USB-download select pin when low."
},
{
"number": "22",
"name": "P3.3",
"type": "bidirectional",
"description": "Standard I/O port pin, also external interrupt INT1, SPI MISO_4, I2C data SDA_4, PWM4 negative output PWM4N_4 and PWM7 I/O PWM7_2."
},
{
"number": "23",
"name": "P3.4",
"type": "bidirectional",
"description": "Standard I/O port pin, also Timer 0 external clock input T0, Timer 1 clock-divided output T1CLKO, SPI MOSI_4, PWM4 positive output PWM4P_4, PWM8_2 and comparator output CMPO."
},
{
"number": "24",
"name": "P5.0",
"type": "bidirectional",
"description": "Standard I/O port pin, also serial 3 receive RxD3_2, comparator positive input CMP+_2 and CAN receive CAN_RX_2."
},
{
"number": "25",
"name": "P5.1",
"type": "bidirectional",
"description": "Standard I/O port pin, also serial 3 transmit TxD3_2, comparator positive input CMP+_3 and CAN transmit CAN_TX_2."
},
{
"number": "26",
"name": "P3.5",
"type": "bidirectional",
"description": "Standard I/O port pin, also Timer 1 external clock input T1, Timer 0 clock-divided output T0CLKO, SPI slave select SS_4 and enhanced PWM fault input PWMFLT."
},
{
"number": "27",
"name": "P3.6",
"type": "bidirectional",
"description": "Standard I/O port pin, also external interrupt INT2, serial 1 receive RxD_2 and comparator negative input CMP-."
},
{
"number": "28",
"name": "P3.7",
"type": "bidirectional",
"description": "Standard I/O port pin, also external interrupt INT3, serial 1 transmit TxD_2 and comparator positive input CMP+."
},
{
"number": "29",
"name": "P4.1",
"type": "bidirectional",
"description": "Standard I/O port pin, also SPI MISO_3 (plus USART1/USART2 SPI MISO_3 data), comparator output CMPO_2 and PWM external trigger input PWMETI_2."
},
{
"number": "30",
"name": "P4.2",
"type": "bidirectional",
"description": "Standard I/O port pin, also external bus write strobe WR and CAN receive CAN_RX_3."
},
{
"number": "31",
"name": "P4.3",
"type": "bidirectional",
"description": "Standard I/O port pin, also serial 4 receive RxD_4 and SPI clock SCLK_3 (plus USART1/USART2 SPI clocks S1SCLK_3, S2SCLK_3)."
},
{
"number": "32",
"name": "P4.4",
"type": "bidirectional",
"description": "Standard I/O port pin, also external bus read strobe RD and serial 4 transmit TxD_4."
},
{
"number": "33",
"name": "P2.0",
"type": "bidirectional",
"description": "Standard I/O port pin, also address bus A8, PWM1 positive output PWM1P_2 and PWM5 I/O."
},
{
"number": "34",
"name": "P2.1",
"type": "bidirectional",
"description": "Standard I/O port pin, also address bus A9, PWM1 negative output PWM1N_2 and PWM6 I/O."
},
{
"number": "35",
"name": "P2.2",
"type": "bidirectional",
"description": "Standard I/O port pin, also address bus A10, PWM2 positive output PWM2P_2, PWM7 I/O and SPI slave select SS_2."
},
{
"number": "36",
"name": "P2.3",
"type": "bidirectional",
"description": "Standard I/O port pin, also address bus A11, PWM2 negative output PWM2N_2, PWM8 I/O and SPI MOSI_2."
},
{
"number": "37",
"name": "P2.4",
"type": "bidirectional",
"description": "Standard I/O port pin, also address bus A12, PWM3 positive output PWM3P_2, I2C data SDA_2 and SPI MISO_2."
},
{
"number": "38",
"name": "P2.5",
"type": "bidirectional",
"description": "Standard I/O port pin, also address bus A13, PWM3 negative output PWM3N_2, I2C clock SCL_2 and SPI clock SCLK_2."
},
{
"number": "39",
"name": "P2.6",
"type": "bidirectional",
"description": "Standard I/O port pin, also address bus A14 and PWM4 positive output PWM4P_2."
},
{
"number": "40",
"name": "P2.7",
"type": "bidirectional",
"description": "Standard I/O port pin, also address bus A15 and PWM4 negative output PWM4N_2."
},
{
"number": "41",
"name": "P4.5",
"type": "bidirectional",
"description": "Standard I/O port pin, also ALE address latch enable output and CAN transmit CAN_TX_3."
},
{
"number": "42",
"name": "P4.6",
"type": "bidirectional",
"description": "Standard I/O port pin, also LIN receive LIN_RX_3, CAN2 receive CAN2_RX_3 and serial 2 receive RxD2_2."
},
{
"number": "43",
"name": "P0.0",
"type": "bidirectional",
"description": "Standard I/O port pin, also address/data bus AD0, ADC channel 8 input, serial 3 receive RxD3, PWM5 I/O PWM5_3, Timer 3 external clock T3_2 and CAN receive CAN_RX."
},
{
"number": "44",
"name": "P0.1",
"type": "bidirectional",
"description": "Standard I/O port pin, also address/data bus AD1, ADC channel 9 input, serial 3 transmit TxD3, PWM6 I/O PWM6_3, Timer 3 clock output T3CLKO_2 and CAN transmit CAN_TX."
},
{
"number": "45",
"name": "P0.2",
"type": "bidirectional",
"description": "Standard I/O port pin, also address/data bus AD2, ADC channel 10 input, serial 4 receive RxD4, PWM7 I/O PWM7_3, Timer 4 external clock T4_2, CAN2 receive CAN2_RX and LIN receive LIN_RX."
},
{
"number": "46",
"name": "P0.3",
"type": "bidirectional",
"description": "Standard I/O port pin, also address/data bus AD3, ADC channel 11 input, serial 4 transmit TxD4, PWM8 I/O PWM8_3, Timer 4 clock output T4CLKO_2, CAN2 transmit CAN2_TX and LIN transmit LIN_TX."
},
{
"number": "47",
"name": "P0.4",
"type": "bidirectional",
"description": "Standard I/O port pin, also address/data bus AD4, ADC channel 12 input and Timer 3 external clock input T3."
},
{
"number": "48",
"name": "P5.2",
"type": "bidirectional",
"description": "Standard I/O port pin, also serial 4 receive RxD4_2, CAN2 receive CAN2_RX_2 and LIN receive LIN_RX_2."
},
{
"number": "49",
"name": "EP",
"type": "passive",
"description": "Exposed pad (from the footprint; not named in the datasheet pin table)."
}
],
"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: Pinout taken from the QFN48 column of the LQFP48/QFN48 pin map (section 4.1.4, page 261) of the STC3; Pin 13 is labelled UCAP in the pin map and the pin table lists its type as 'I'. I classified it as p; Pin 16 ADC_VRef+ is typed as input per the pin table, but the datasheet notes it must be driven by a",
"exposed pad 49 added from the footprint"
],
"pages_sent": 108,
"cost_usd": 1.0918,
"at": "2026-10-19T05:26:18"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756362802066280448",
"pages": 1887,
"sha256": "59bba1d366cc8d33",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 49,
"described": 49,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "stc32g12k128-35i-qfn48.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6.02,
6.02,
0.9
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "7668dcc1fe3ff02ee57cebacf637e8c84ece29b1faac9866d85d1327b8ed6ad9",
"checked": "2026-10-19",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stc32g12k128-35i-qfn48-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6.02,
6.02,
0.9
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "61745f19052fcab7eaed4dc7ea41bca9db152420a2ee746fee7cdc6b53daea47",
"checked": "2026-10-19",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "STC Micro",
"Package": "QFN-48(6x6)",
"Category": "Embedded Processors & Controllers",
"Pins": "49"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "59bba1d366cc8d33c15d659c37a769d3d5458b5a2e474aec60e65aabc3257f00",
"rows": [
{
"name": "VIH1 input high level (general I/O), Schmitt trigger on",
"symbol": "VIH1",
"kind": "electrical",
"unit": "V",
"min": 1.6,
"typ": null,
"max": null,
"conditions": "VSS=0V, VDD=5.0V, 25℃; 打开施密特触发",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "VIH1 input high level (general I/O), Schmitt trigger off",
"symbol": "VIH1",
"kind": "electrical",
"unit": "V",
"min": 1.54,
"typ": null,
"max": null,
"conditions": "VSS=0V, VDD=5.0V, 25℃; 关闭施密特触发",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "VIL1 input low level, Schmitt trigger on",
"symbol": "VIL1",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 1.32,
"conditions": "VSS=0V, VDD=5.0V, 25℃; 打开施密特触发",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "VIL1 input low level, Schmitt trigger off",
"symbol": "VIL1",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 1.48,
"conditions": "VSS=0V, 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": "VSS=0V, VDD=5.0V, 25℃; 端口电压 0V",
"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": "VSS=0V, VDD=5.0V, 25℃; 端口电压 2.0V",
"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": "VSS=0V, VDD=5.0V, 25℃",
"source_page": 1657,
"source": "datasheet"
},
{
"name": "Internal IRC temperature drift, -20℃~65℃",
"symbol": "",
"kind": "tolerance",
"unit": "%",
"min": -0.88,
"typ": null,
"max": 1.05,
"conditions": "参考温度 25℃, 温度范围 -20℃~65℃",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "Internal IRC temperature drift, -40℃~85℃",
"symbol": "",
"kind": "tolerance",
"unit": "%",
"min": -1.38,
"typ": null,
"max": 1.42,
"conditions": "参考温度 25℃, 温度范围 -40℃~85℃",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "Internal IRC temperature drift, -40℃~125℃",
"symbol": "",
"kind": "tolerance",
"unit": "%",
"min": -3,
"typ": null,
"max": 3,
"conditions": "参考温度 25℃, 温度范围 -40℃~125℃",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "Operating voltage",
"symbol": "",
"kind": "recommended_operating",
"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": "",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": 5.5,
"conditions": "",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "I/O to ground voltage",
"symbol": "",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": null,
"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": "Operating temperature (internal high-speed IRC and external crystal)",
"symbol": "",
"kind": "absolute_maximum",
"unit": "℃",
"min": -40,
"typ": null,
"max": 85,
"conditions": "使用内部高速 IRC 和外部晶振",
"source_page": 1656,
"source": "datasheet"
},
{
"name": "Operating temperature (second listed range)",
"symbol": "",
"kind": "absolute_maximum",
"unit": "℃",
"min": -40,
"typ": null,
"max": 125,
"conditions": "",
"source_page": 1656,
"source": "datasheet"
}
]
}
},
"variants": [],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"stc32g12k128-35i-qfn48"
],
"discovery_pitch": "STC32G12K128-35I-QFN48 (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",
"stc32g12k128-35i-qfn48.kicad_sym",
"stc32g12k128-35i-qfn48.kicad_mod",
"stc32g12k128-35i-qfn48.glb",
"stc32g12k128-35i-qfn48.step",
"stc32g12k128-35i-qfn48.lbr",
"docs/hero.png",
"docs/stc32g12k128-35i-qfn48-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stc32g12k128-35i-qfn48-hero.glb",
"stc32g12k128-35i-qfn48-hero.overlay.json",
"stc32g12k128-35i-qfn48-etched.glb"
],
"visibility": {
"public": true
}
}