component
STM32G031C6U6
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), UFQFPN-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
{
"slug": "stm32g031c6u6",
"version": "0.1.0",
"type": "component",
"description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), UFQFPN-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
"tags": [
"component",
"embedded processors & controllers",
"stm32g031c6u6",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stm32g031c6u6.kicad_sym",
"stm32g031c6u6.kicad_mod",
"stm32g031c6u6.glb",
"stm32g031c6u6.step",
"stm32g031c6u6.lbr",
"docs/hero.png",
"docs/stm32g031c6u6-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stm32g031c6u6-hero.glb",
"stm32g031c6u6-hero.overlay.json"
],
"component": {
"mpn": "STM32G031C6U6",
"manufacturer": "STMicroelectronics",
"package": "UFQFPN-48(7x7)",
"pin_count": 49,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886244483084288",
"parts": {
"symbol": "stm32g031c6u6.kicad_sym",
"footprint": "stm32g031c6u6.kicad_mod",
"model_3d": "stm32g031c6u6-hero.glb",
"model_3d_plain": "stm32g031c6u6.glb",
"model_3d_step": "stm32g031c6u6-etched.step",
"model_3d_step_plain": "stm32g031c6u6.step",
"lbr": "stm32g031c6u6.lbr"
},
"distributor_links": {
"lcsc": "C432208",
"digikey": "497-19559-ND",
"mouser": "511-STM32G031C6U6"
},
"distributor_check": {
"checked_at": "2026-10-08T01:58:07Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": "497-19559-ND",
"status": "found"
},
"mouser": {
"pn": "511-STM32G031C6U6",
"status": "found"
}
},
"pins": [
{
"number": "1",
"name": "PC13",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) with alternate function TIM1_BK and additional functions TAMP_IN1, RTC_TS, RTC_OUT1 and WKUP2."
},
{
"number": "2",
"name": "PC14-OSC32_IN",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) that doubles as the 32.768 kHz low-speed oscillator input OSC32_IN, with alternate function TIM1_BK2."
},
{
"number": "3",
"name": "PC15-OSC32_OUT",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) that doubles as the 32.768 kHz low-speed oscillator output OSC32_OUT, with alternate functions OSC32_EN and OSC_EN."
},
{
"number": "4",
"name": "VBAT",
"type": "power_in",
"description": "Backup-domain supply input (1.55 V to 3.6 V) that powers the RTC, TAMP, LSE oscillator and backup registers when VDD is not present."
},
{
"number": "5",
"name": "VREF+",
"type": "power_in",
"description": "ADC reference input or 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 pin of 1.7 V to 3.6 V for the core, I/O ring and analog blocks (ADC requires VDDA ≥ 1.62 V and VREFBUF requires VDDA ≥ 2.4 V)."
},
{
"number": "7",
"name": "VSS/VSSA",
"type": "power_in",
"description": "Ground pin for the digital and analog supplies, which must always be connected to the external ground."
},
{
"number": "8",
"name": "PF0-OSC_IN",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) that doubles as the high-speed oscillator input OSC_IN, with alternate function TIM14_CH1."
},
{
"number": "9",
"name": "PF1-OSC_OUT",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) that doubles as the high-speed oscillator output OSC_OUT, with alternate function OSC_EN."
},
{
"number": "10",
"name": "PF2-NRST",
"type": "bidirectional",
"description": "Bidirectional reset pin with embedded weak pull-up resistor (NRST), which also carries alternate function MCO on PF2."
},
{
"number": "11",
"name": "PA0",
"type": "bidirectional",
"description": "5 V-tolerant I/O with analog switch function (FT_a) offering SPI2_SCK, USART2_CTS, TIM2_CH1_ETR and LPTIM1_OUT, plus ADC_IN0, TAMP_IN2 and WKUP1 as additional functions."
},
{
"number": "12",
"name": "PA1",
"type": "bidirectional",
"description": "5 V-tolerant I/O with analog switch and switchable VDD diode (FT_ea) offering SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, TIM2_CH2, I2C1_SMBA and EVENTOUT, plus ADC_IN1."
},
{
"number": "13",
"name": "PA2",
"type": "bidirectional",
"description": "5 V-tolerant I/O with analog switch function (FT_a) offering SPI1_MOSI/I2S1_SD, USART2_TX, TIM2_CH3 and LPUART1_TX, plus ADC_IN2, WKUP4 and LSCO."
},
{
"number": "14",
"name": "PA3",
"type": "bidirectional",
"description": "5 V-tolerant I/O with analog switch and switchable VDD diode (FT_ea) offering SPI2_MISO, USART2_RX, TIM2_CH4, LPUART1_RX and EVENTOUT, plus ADC_IN3."
},
{
"number": "15",
"name": "PA4",
"type": "bidirectional",
"description": "5 V-tolerant I/O with analog switch function (FT_a) offering SPI1_NSS/I2S1_WS, SPI2_MOSI, TIM14_CH1, LPTIM2_OUT and EVENTOUT, plus ADC_IN4 and RTC_OUT2."
},
{
"number": "16",
"name": "PA5",
"type": "bidirectional",
"description": "5 V-tolerant I/O with analog switch and switchable VDD diode (FT_ea) offering SPI1_SCK/I2S1_CK, TIM2_CH1_ETR, LPTIM2_ETR and EVENTOUT, plus ADC_IN5."
},
{
"number": "17",
"name": "PA6",
"type": "bidirectional",
"description": "5 V-tolerant I/O with analog switch and switchable VDD diode (FT_ea) offering SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BK, TIM16_CH1 and LPUART1_CTS, plus ADC_IN6."
},
{
"number": "18",
"name": "PA7",
"type": "bidirectional",
"description": "5 V-tolerant I/O with analog switch function (FT_a) offering SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1 and TIM17_CH1, plus ADC_IN7."
},
{
"number": "19",
"name": "PB0",
"type": "bidirectional",
"description": "5 V-tolerant I/O with analog switch and switchable VDD diode (FT_ea) offering SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N and LPTIM1_OUT, plus ADC_IN8."
},
{
"number": "20",
"name": "PB1",
"type": "bidirectional",
"description": "5 V-tolerant I/O with analog switch and switchable VDD diode (FT_ea) offering TIM14_CH1, TIM3_CH4, TIM1_CH3N, LPTIM2_IN1, LPUART1_RTS_DE and EVENTOUT, plus ADC_IN9."
},
{
"number": "21",
"name": "PB2",
"type": "bidirectional",
"description": "5 V-tolerant I/O with analog switch and switchable VDD diode (FT_ea) offering SPI2_MISO, LPTIM1_OUT and EVENTOUT, plus ADC_IN10."
},
{
"number": "22",
"name": "PB10",
"type": "bidirectional",
"description": "5 V-tolerant I/O with Fm+ capability and analog switch function (FT_fa) offering LPUART1_RX, TIM2_CH3, SPI2_SCK and I2C2_SCL, plus ADC_IN11."
},
{
"number": "23",
"name": "PB11",
"type": "bidirectional",
"description": "5 V-tolerant I/O with Fm+ capability and analog switch function (FT_fa) offering SPI2_MOSI, LPUART1_TX, TIM2_CH4 and I2C2_SDA, plus ADC_IN15."
},
{
"number": "24",
"name": "PB12",
"type": "bidirectional",
"description": "5 V-tolerant I/O with analog switch function (FT_a) offering SPI2_NSS, LPUART1_RTS_DE, TIM1_BK and EVENTOUT, plus ADC_IN16."
},
{
"number": "25",
"name": "PB13",
"type": "bidirectional",
"description": "5 V-tolerant I/O with Fm+ capability (FT_f) offering SPI2_SCK, LPUART1_CTS, TIM1_CH1N, I2C2_SCL and EVENTOUT."
},
{
"number": "26",
"name": "PB14",
"type": "bidirectional",
"description": "5 V-tolerant I/O with Fm+ capability (FT_f) offering SPI2_MISO, TIM1_CH2N, I2C2_SDA and EVENTOUT."
},
{
"number": "27",
"name": "PB15",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) offering SPI2_MOSI, TIM1_CH3N and EVENTOUT, with RTC_REFIN as an additional function."
},
{
"number": "28",
"name": "PA8",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) offering MCO, SPI2_NSS, TIM1_CH1, LPTIM2_OUT and EVENTOUT."
},
{
"number": "29",
"name": "PA9",
"type": "bidirectional",
"description": "5 V-tolerant I/O with Fm+ capability (FT_f) offering MCO, USART1_TX, TIM1_CH2, SPI2_MISO, I2C1_SCL and EVENTOUT."
},
{
"number": "30",
"name": "PC6",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) offering TIM3_CH1 and TIM2_CH3."
},
{
"number": "31",
"name": "PC7",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) offering TIM3_CH2 and TIM2_CH4."
},
{
"number": "32",
"name": "PA10",
"type": "bidirectional",
"description": "5 V-tolerant I/O with Fm+ capability (FT_f) offering SPI2_MOSI, USART1_RX, TIM1_CH3, TIM17_BKIN, I2C1_SDA and EVENTOUT."
},
{
"number": "33",
"name": "PA11 [PA9]",
"type": "bidirectional",
"description": "5 V-tolerant I/O with Fm+ capability (FT_f) offering SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4, TIM1_BKIN2 and I2C2_SCL; the bracketed PA9 is the remap alternative name."
},
{
"number": "34",
"name": "PA12 [PA10]",
"type": "bidirectional",
"description": "5 V-tolerant I/O with Fm+ capability (FT_f) offering SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR, I2S_CKIN and I2C2_SDA; the bracketed PA10 is the remap alternative name."
},
{
"number": "35",
"name": "PA13",
"type": "bidirectional",
"description": "5 V-tolerant I/O with analog switch and switchable VDD diode (FT_ea) offering SWDIO, IR_OUT and EVENTOUT, plus ADC_IN17."
},
{
"number": "36",
"name": "PA14-BOOT0",
"type": "bidirectional",
"description": "5 V-tolerant I/O with analog switch function (FT_a) offering SWCLK, USART2_TX and EVENTOUT, which also serves as the BOOT0 boot-mode pin and ADC_IN18 input."
},
{
"number": "37",
"name": "PA15",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) offering SPI1_NSS/I2S1_WS, USART2_RX, TIM2_CH1_ETR and EVENTOUT."
},
{
"number": "38",
"name": "PD0",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) offering EVENTOUT, SPI2_NSS and TIM16_CH1."
},
{
"number": "39",
"name": "PD1",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) offering EVENTOUT, SPI2_SCK and TIM17_CH1."
},
{
"number": "40",
"name": "PD2",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) offering TIM3_ETR and TIM1_CH1N."
},
{
"number": "41",
"name": "PD3",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) offering USART2_CTS, SPI2_MISO and TIM1_CH2N."
},
{
"number": "42",
"name": "PB3",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) offering SPI1_SCK/I2S1_CK, TIM1_CH2, TIM2_CH2, USART1_RTS_DE_CK and EVENTOUT."
},
{
"number": "43",
"name": "PB4",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) offering SPI1_MISO/I2S1_MCK, TIM3_CH1, USART1_CTS, TIM17_BKIN and EVENTOUT."
},
{
"number": "44",
"name": "PB5",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) offering SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM16_BKIN, LPTIM1_IN1 and I2C1_SMBA, with WKUP6 as an additional function."
},
{
"number": "45",
"name": "PB6",
"type": "bidirectional",
"description": "5 V-tolerant I/O with Fm+ capability (FT_f) offering USART1_TX, TIM1_CH3, TIM16_CH1N, SPI2_MISO, LPTIM1_ETR, I2C1_SCL and EVENTOUT."
},
{
"number": "46",
"name": "PB7",
"type": "bidirectional",
"description": "5 V-tolerant I/O with Fm+ capability (FT_f) offering USART1_RX, SPI2_MOSI, TIM17_CH1N, LPTIM1_IN2, I2C1_SDA and EVENTOUT, with PVD_IN as an additional function."
},
{
"number": "47",
"name": "PB8",
"type": "bidirectional",
"description": "5 V-tolerant I/O with Fm+ capability (FT_f) offering SPI2_SCK, TIM16_CH1, I2C1_SCL and EVENTOUT."
},
{
"number": "48",
"name": "PB9",
"type": "bidirectional",
"description": "5 V-tolerant I/O with Fm+ capability (FT_f) offering IR_OUT, TIM17_CH1, SPI2_NSS, I2C1_SDA and EVENTOUT."
},
{
"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: The UFQFPN48 exposed die pad on the underside is not a numbered pin in Table 12 and is not included ; Table 12 has a single pin-number column shared by LQFP48 and UFQFPN48, so these numbers apply to the; Pin types use KiCad ERC classes. The datasheet lists all general-purpose I/Os and the reset pin as I",
"exposed pad 49 added from the footprint"
],
"pages_sent": 55,
"cost_usd": 0.2674,
"at": "2026-10-08T01:57:47"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886244483084288",
"pages": 117,
"sha256": "95ae804dbf135590",
"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": "stm32g031c6u6.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
7.0,
7.0,
0.77
],
"zmin_mm": 0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "f2b38b0b4bf967c77e683e8d4599608b9f0503055ec535b93c4ebb5d0163e916",
"checked": "2026-10-08",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stm32g031c6u6-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
7.0,
7.0,
0.77
],
"zmin_mm": 0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "f4eb826e8a96203b652869e411a91b456ec5aaa9333f4ed1bbe10885da90064f",
"checked": "2026-10-08",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}