component
STM32G051C8T6
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
{
"slug": "stm32g051c8t6",
"version": "0.1.0",
"type": "component",
"description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
"tags": [
"component",
"embedded processors & controllers",
"stm32g051c8t6",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stm32g051c8t6.kicad_sym",
"stm32g051c8t6.kicad_mod",
"stm32g051c8t6.glb",
"stm32g051c8t6.step",
"stm32g051c8t6.lbr",
"docs/hero.png",
"docs/stm32g051c8t6-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stm32g051c8t6-hero.glb",
"stm32g051c8t6-hero.overlay.json"
],
"component": {
"mpn": "STM32G051C8T6",
"manufacturer": "STMicroelectronics",
"package": "LQFP-48(7x7)",
"pin_count": 48,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590473703881809920",
"parts": {
"symbol": "stm32g051c8t6.kicad_sym",
"footprint": "stm32g051c8t6.kicad_mod",
"model_3d": "stm32g051c8t6-hero.glb",
"model_3d_plain": "stm32g051c8t6.glb",
"model_3d_step": "stm32g051c8t6-etched.step",
"model_3d_step_plain": "stm32g051c8t6.step",
"lbr": "stm32g051c8t6.lbr"
},
"distributor_links": {
"lcsc": "C3227130",
"digikey": "497-STM32G051C8T6-ND",
"mouser": "511-STM32G051C8T6"
},
"distributor_check": {
"checked_at": "2026-10-08T00:34:10Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": "497-STM32G051C8T6-ND",
"status": "found"
},
"mouser": {
"pn": "511-STM32G051C8T6",
"status": "found"
}
},
"pins": [
{
"number": "1",
"name": "PC13",
"type": "bidirectional",
"description": "5 V-tolerant (FT) I/O supplied through the RTC power switch, which sinks only 3 mA, so output use is limited to 2 MHz at 30 pF and it must not source current such as an LED."
},
{
"number": "2",
"name": "PC14-OSC32_IN",
"type": "bidirectional",
"description": "5 V-tolerant (FT) I/O on the RTC power switch with the same 3 mA, 2 MHz / 30 pF output limits as PC13, and alternate function OSC32_IN for the 32.768 kHz LSE crystal input."
},
{
"number": "3",
"name": "PC15-OSC32_OUT",
"type": "bidirectional",
"description": "5 V-tolerant (FT) I/O on the RTC power switch with the same output limits as PC13, and OSC32_OUT as the LSE 32.768 kHz crystal output."
},
{
"number": "4",
"name": "VBAT",
"type": "power_in",
"description": "Power supply for the RTC, TAMP, the 32.768 kHz oscillator and backup registers when VDD is not present, specified at 1.55 V to 3.6 V."
},
{
"number": "5",
"name": "VREF+",
"type": "power_in",
"description": "Analog peripheral reference voltage input, or the output of the internal voltage reference buffer when enabled; when VDDA < 2 V it must equal VDDA, and when VDDA ≥ 2 V it must be between 2 V and VDDA."
},
{
"number": "6",
"name": "VDD/VDDA",
"type": "power_in",
"description": "Main supply for the internal regulator, I/Os and analog blocks, specified at 1.7 V to 3.6 V (VDDA minimum 1.62 V for ADC and COMP)."
},
{
"number": "7",
"name": "VSS/VSSA",
"type": "power_in",
"description": "Ground reference for digital and analog circuits."
},
{
"number": "8",
"name": "PF0-OSC_IN",
"type": "bidirectional",
"description": "5 V-tolerant (FT) I/O with alternate function TIM14_CH1 and OSC_IN as the HSE crystal input."
},
{
"number": "9",
"name": "PF1-OSC_OUT",
"type": "bidirectional",
"description": "5 V-tolerant (FT) I/O with OSC_OUT as the HSE crystal output and alternate functions OSC_EN and TIM15_CH1N."
},
{
"number": "10",
"name": "PF2-NRST",
"type": "bidirectional",
"description": "Bidirectional reset pin with embedded weak pull-up whose default function is NRST; when used in this mode, other I/Os connected to it must be configured with care."
},
{
"number": "11",
"name": "PA0",
"type": "bidirectional",
"description": "5 V-tolerant (FT_a) I/O with analog switch function, also ADC_IN0, COMP1_INM8 and wakeup pin WKUP1."
},
{
"number": "12",
"name": "PA1",
"type": "bidirectional",
"description": "5 V-tolerant (FT_ea) I/O with analog switch function and switchable diode to VDD, also ADC_IN1 and COMP1_INP2."
},
{
"number": "13",
"name": "PA2",
"type": "bidirectional",
"description": "5 V-tolerant (FT_a) I/O with analog switch function, also ADC_IN2, COMP2_INM8, wakeup pin WKUP4 and LSCO output."
},
{
"number": "14",
"name": "PA3",
"type": "bidirectional",
"description": "5 V-tolerant (FT_ea) I/O with analog switch function and switchable diode to VDD, also ADC_IN3 and COMP2_INP2."
},
{
"number": "15",
"name": "PA4",
"type": "bidirectional",
"description": "5 V-tolerant (FT_a) I/O with analog switch function, also ADC_IN4, DAC1_OUT1 analog output and RTC_OUT2."
},
{
"number": "16",
"name": "PA5",
"type": "bidirectional",
"description": "5 V-tolerant (FT_ea) I/O with analog switch function and switchable diode to VDD, also ADC_IN5 and DAC1_OUT2 analog output."
},
{
"number": "17",
"name": "PA6",
"type": "bidirectional",
"description": "5 V-tolerant (FT_ea) I/O with analog switch function and switchable diode to VDD, also ADC_IN6 and alternate function COMP1_OUT."
},
{
"number": "18",
"name": "PA7",
"type": "bidirectional",
"description": "5 V-tolerant (FT_a) I/O with analog switch function, also ADC_IN7 and alternate function COMP2_OUT."
},
{
"number": "19",
"name": "PB0",
"type": "bidirectional",
"description": "5 V-tolerant (FT_ea) I/O with analog switch function and switchable diode to VDD, also ADC_IN8 and alternate function COMP1_OUT."
},
{
"number": "20",
"name": "PB1",
"type": "bidirectional",
"description": "5 V-tolerant (FT_ea) I/O with analog switch function and switchable diode to VDD, also ADC_IN9 and COMP1_INM6."
},
{
"number": "21",
"name": "PB2",
"type": "bidirectional",
"description": "5 V-tolerant (FT_ea) I/O with analog switch function and switchable diode to VDD, also ADC_IN10 and COMP1_INP1."
},
{
"number": "22",
"name": "PB10",
"type": "bidirectional",
"description": "5 V-tolerant (FT_fa) I/O, Fm+ capable and with analog switch function, also ADC_IN11 and alternate function COMP1_OUT."
},
{
"number": "23",
"name": "PB11",
"type": "bidirectional",
"description": "5 V-tolerant (FT_fa) I/O, Fm+ capable and with analog switch function, also ADC_IN15 and alternate function COMP2_OUT."
},
{
"number": "24",
"name": "PB12",
"type": "bidirectional",
"description": "5 V-tolerant (FT_a) I/O with analog switch function, also ADC_IN16 and alternate functions SPI2_NSS, LPUART1_RTS_DE and TIM1_BKIN."
},
{
"number": "25",
"name": "PB13",
"type": "bidirectional",
"description": "5 V-tolerant (FT_f) I/O, Fm+ capable, with alternate functions SPI2_SCK, LPUART1_CTS, TIM1_CH1N and I2C2_SCL."
},
{
"number": "26",
"name": "PB14",
"type": "bidirectional",
"description": "5 V-tolerant (FT_f) I/O, Fm+ capable, with alternate functions SPI2_MISO, TIM1_CH2N, TIM15_CH1 and I2C2_SDA."
},
{
"number": "27",
"name": "PB15",
"type": "bidirectional",
"description": "5 V-tolerant (FT) I/O with alternate functions SPI2_MOSI, TIM1_CH3N, TIM15_CH1N and TIM15_CH2, and additional function RTC_REFIN."
},
{
"number": "28",
"name": "PA8",
"type": "bidirectional",
"description": "5 V-tolerant (FT) I/O with alternate functions MCO, SPI2_NSS, TIM1_CH1, LPTIM2_OUT and EVENTOUT."
},
{
"number": "29",
"name": "PA9",
"type": "bidirectional",
"description": "5 V-tolerant (FT_f) I/O, Fm+ capable, with alternate functions MCO, USART1_TX, TIM1_CH2, SPI2_MISO and I2C1_SCL; it can be remapped in place of PA11 via SYSCFG_CFGR1."
},
{
"number": "30",
"name": "PC6",
"type": "bidirectional",
"description": "5 V-tolerant (FT) I/O with alternate functions TIM3_CH1 and TIM2_CH3."
},
{
"number": "31",
"name": "PC7",
"type": "bidirectional",
"description": "5 V-tolerant (FT) I/O with alternate functions TIM3_CH2 and TIM2_CH4."
},
{
"number": "32",
"name": "PA10",
"type": "bidirectional",
"description": "5 V-tolerant (FT_f) I/O, Fm+ capable, with alternate functions SPI2_MOSI, USART1_RX, TIM1_CH3, TIM17_BKIN and I2C1_SDA; it can be remapped in place of PA12 via SYSCFG_CFGR1."
},
{
"number": "33",
"name": "PA11 [PA9]",
"type": "bidirectional",
"description": "5 V-tolerant (FT_fa) I/O, Fm+ capable, with analog switch function, also ADC_IN15 and alternate functions USART1_CTS, TIM1_CH4, TIM1_BKIN2, I2C2_SCL and COMP1_OUT."
},
{
"number": "34",
"name": "PA12 [PA10]",
"type": "bidirectional",
"description": "5 V-tolerant (FT_fa) I/O, Fm+ capable, with analog switch function, also ADC_IN16 and alternate functions USART1_RTS_DE_CK, TIM1_ETR, I2S_CKIN, I2C2_SDA and COMP2_OUT."
},
{
"number": "35",
"name": "PA13",
"type": "bidirectional",
"description": "5 V-tolerant (FT_ea) I/O with switchable diode to VDD; it is configured as SWDIO after reset with the internal pull-up active, also ADC_IN17 and IR_OUT."
},
{
"number": "36",
"name": "PA14-BOOT0",
"type": "bidirectional",
"description": "5 V-tolerant (FT_a) I/O with analog switch function; after reset it is SWCLK with the internal pull-down active, and it also carries the BOOT0 boot-mode pin and ADC_IN18."
},
{
"number": "37",
"name": "PA15",
"type": "bidirectional",
"description": "5 V-tolerant (FT) I/O with alternate functions SPI1_NSS/I2S1_WS, USART2_RX, TIM2_CH1_ETR and EVENTOUT."
},
{
"number": "38",
"name": "PD0",
"type": "bidirectional",
"description": "5 V-tolerant (FT) I/O with alternate functions EVENTOUT, SPI2_NSS and TIM16_CH1."
},
{
"number": "39",
"name": "PD1",
"type": "bidirectional",
"description": "5 V-tolerant (FT) I/O with alternate functions EVENTOUT, SPI2_SCK and TIM17_CH1."
},
{
"number": "40",
"name": "PD2",
"type": "bidirectional",
"description": "5 V-tolerant (FT) I/O with alternate functions TIM3_ETR and TIM1_CH1N."
},
{
"number": "41",
"name": "PD3",
"type": "bidirectional",
"description": "5 V-tolerant (FT) I/O with alternate functions USART2_CTS, SPI2_MISO and TIM1_CH2N."
},
{
"number": "42",
"name": "PB3",
"type": "bidirectional",
"description": "5 V-tolerant (FT_a) I/O with analog switch function, with alternate functions SPI1_SCK/I2S1_CK, TIM1_CH2, TIM2_CH2 and USART1_RTS_DE_CK, and COMP2_INM6 additional function."
},
{
"number": "43",
"name": "PB4",
"type": "bidirectional",
"description": "5 V-tolerant (FT_a) I/O with analog switch function, with alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, USART1_CTS and TIM17_BKIN, and COMP2_INP0 additional function."
},
{
"number": "44",
"name": "PB5",
"type": "bidirectional",
"description": "5 V-tolerant (FT) I/O with alternate functions SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM16_BKIN, LPTIM1_IN1, I2C1_SMBA and COMP2_OUT, and wakeup pin WKUP6."
},
{
"number": "45",
"name": "PB6",
"type": "bidirectional",
"description": "5 V-tolerant (FT_fa) I/O, Fm+ capable, with analog switch function, with alternate functions USART1_TX, TIM1_CH3, TIM16_CH1N, SPI2_MISO, LPTIM1_ETR and I2C1_SCL, and COMP2_INP1 additional function."
},
{
"number": "46",
"name": "PB7",
"type": "bidirectional",
"description": "5 V-tolerant (FT_fa) I/O, Fm+ capable, with analog switch function, also ADC_IN11, COMP2_INM7 and PVD_IN, with alternate functions USART1_RX, SPI2_MOSI, TIM17_CH1N, LPTIM1_IN2 and I2C1_SDA."
},
{
"number": "47",
"name": "PB8",
"type": "bidirectional",
"description": "5 V-tolerant (FT_f) I/O, Fm+ capable, with alternate functions SPI2_SCK, TIM16_CH1, TIM15_BKIN and I2C1_SCL."
},
{
"number": "48",
"name": "PB9",
"type": "bidirectional",
"description": "5 V-tolerant (FT_f) I/O, Fm+ capable, with alternate functions IR_OUT, TIM17_CH1, SPI2_NSS and I2C1_SDA."
}
],
"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: Pin names in the datasheet are shown with bracketed remap names (PA11 [PA9], PA12 [PA10]) and the da; PC13, PC14 and PC15 are supplied through the RTC power switch (3 mA sink limit) and are restricted t; Pin 10 (PF2-NRST) is typed bidirectional per Table 11 (RST = bidirectional reset with weak pull-up)."
],
"pages_sent": 57,
"cost_usd": 0.2685,
"at": "2026-10-08T00:33:45"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590473703881809920",
"pages": 126,
"sha256": "773ba84c25c7d2f3",
"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": "stm32g051c8t6.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9.0,
9.0,
1.5
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
"checked": "2026-10-08",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stm32g051c8t6-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9.0,
9.0,
1.5
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "310c1105d917e21b78da490c41c56daf6ce05cddb4f6c3f52d0eccd686dc8f04",
"checked": "2026-10-08",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}