component
STM32G031C6T6
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
Ray
stm32g031c6t6: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding)
400fbb8
1d ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495
{
"schema_version": 1,
"type": "component",
"slug": "stm32g031c6t6",
"title": "STM32G031C6T6",
"brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
"version": "0.1.0",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"mcu",
"stm32g031c6t6"
],
"component": {
"mpn": "STM32G031C6T6",
"manufacturer": "STMicroelectronics",
"package": "LQFP-48(7x7)",
"pin_count": 48,
"category": "MCU",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://www.st.com/resource/en/datasheet/stm32g031c6t6.pdf",
"parts": {
"symbol": "stm32g031c6t6.kicad_sym",
"footprint": "stm32g031c6t6.kicad_mod",
"model_3d": "stm32g031c6t6-etched.glb",
"model_3d_plain": "stm32g031c6t6.glb",
"model_3d_step": "stm32g031c6t6-etched.step",
"model_3d_step_plain": "stm32g031c6t6.step",
"lbr": "stm32g031c6t6.lbr"
},
"distributor_links": {},
"pins": [
{
"number": "1",
"name": "PC13",
"type": "bidirectional",
"description": "General-purpose 5 V-tolerant I/O. Additional functions: TAMP_IN1, RTC_TS, RTC_OUT1, WKUP2. Alternate: TIM1_BKIN."
},
{
"number": "2",
"name": "PC14-OSC32_IN",
"type": "bidirectional",
"description": "GPIO PC14 / 32 kHz LSE oscillator input (OSC32_IN). 5 V-tolerant I/O. Alt: TIM1_BKIN2."
},
{
"number": "3",
"name": "PC15-OSC32_OUT",
"type": "bidirectional",
"description": "GPIO PC15 / 32 kHz LSE oscillator output (OSC32_OUT). 5 V-tolerant. Alt: OSC32_EN, OSC_EN."
},
{
"number": "4",
"name": "VBAT",
"type": "power_in",
"description": "Backup supply for the RTC and backup registers when VDD is absent. Range 1.55 V to 3.6 V."
},
{
"number": "5",
"name": "VREF+",
"type": "power_in",
"description": "ADC/DAC external positive reference input. Can also drive VREF_OUT via the internal VREFBUF."
},
{
"number": "6",
"name": "VDD/VDDA",
"type": "power_in",
"description": "Main digital and analog supply. 1.7 V to 3.6 V. Decouple with 100 nF per pin near the package."
},
{
"number": "7",
"name": "VSS/VSSA",
"type": "power_in",
"description": "Common digital and analog ground reference (0 V)."
},
{
"number": "8",
"name": "PF0-OSC_IN",
"type": "bidirectional",
"description": "GPIO PF0 / HSE crystal oscillator input (OSC_IN, 4-48 MHz). 5 V-tolerant. Alt: TIM14_CH1."
},
{
"number": "9",
"name": "PF1-OSC_OUT",
"type": "bidirectional",
"description": "GPIO PF1 / HSE crystal oscillator output (OSC_OUT). 5 V-tolerant. Alt: OSC_EN."
},
{
"number": "10",
"name": "PF2-NRST",
"type": "bidirectional",
"description": "Bidirectional device reset input/output with embedded weak pull-up. Active low; can be reconfigured as GPIO PF2. Alt: MCO."
},
{
"number": "11",
"name": "PA0",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant with analog switch (FT_a). ADC_IN0, TAMP_IN2, WKUP1. Alt: SPI2_SCK, USART2_CTS, TIM2_CH1_ETR, LPTIM1_OUT."
},
{
"number": "12",
"name": "PA1",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, analog + diode-to-VDD (FT_ea). ADC_IN1. Alt: SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, TIM2_CH2, I2C1_SMBA, EVENTOUT."
},
{
"number": "13",
"name": "PA2",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, analog (FT_a). ADC_IN2, WKUP4, LSCO. Alt: SPI1_MOSI/I2S1_SD, USART2_TX, TIM2_CH3, LPUART1_TX."
},
{
"number": "14",
"name": "PA3",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, analog + diode-to-VDD (FT_ea). ADC_IN3. Alt: SPI2_MISO, USART2_RX, TIM2_CH4, LPUART1_RX, EVENTOUT."
},
{
"number": "15",
"name": "PA4",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, analog (FT_a). ADC_IN4, RTC_OUT2. Alt: SPI1_NSS/I2S1_WS, SPI2_MOSI, TIM14_CH1, LPTIM2_OUT, EVENTOUT."
},
{
"number": "16",
"name": "PA5",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, analog + diode (FT_ea). ADC_IN5. Alt: SPI1_SCK/I2S1_CK, TIM2_CH1_ETR, LPTIM2_ETR, EVENTOUT."
},
{
"number": "17",
"name": "PA6",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, analog + diode (FT_ea). ADC_IN6. Alt: SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1, LPUART1_CTS."
},
{
"number": "18",
"name": "PA7",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, analog (FT_a). ADC_IN7. Alt: SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1, TIM17_CH1."
},
{
"number": "19",
"name": "PB0",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, analog + diode (FT_ea). ADC_IN8. Alt: SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N, LPTIM1_OUT."
},
{
"number": "20",
"name": "PB1",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, analog + diode (FT_ea). ADC_IN9. Alt: TIM14_CH1, TIM3_CH4, TIM1_CH3N, LPTIM2_IN1, LPUART1_RTS_DE, EVENTOUT."
},
{
"number": "21",
"name": "PB2",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, analog + diode (FT_ea). ADC_IN10. Alt: SPI2_MISO, LPTIM1_OUT, EVENTOUT."
},
{
"number": "22",
"name": "PB10",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, Fm+ capable, analog (FT_fa). ADC_IN11. Alt: LPUART1_RX, TIM2_CH3, SPI2_SCK, I2C2_SCL."
},
{
"number": "23",
"name": "PB11",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, Fm+ capable, analog (FT_fa). ADC_IN15. Alt: SPI2_MOSI, LPUART1_TX, TIM2_CH4, I2C2_SDA."
},
{
"number": "24",
"name": "PB12",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, analog (FT_a). ADC_IN16. Alt: SPI2_NSS, LPUART1_RTS_DE, TIM1_BKIN, EVENTOUT."
},
{
"number": "25",
"name": "PB13",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, Fm+ capable (FT_f). Alt: SPI2_SCK, LPUART1_CTS, TIM1_CH1N, I2C2_SCL, EVENTOUT."
},
{
"number": "26",
"name": "PB14",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, Fm+ capable (FT_f). Alt: SPI2_MISO, TIM1_CH2N, I2C2_SDA, EVENTOUT."
},
{
"number": "27",
"name": "PB15",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant (FT). RTC_REFIN. Alt: SPI2_MOSI, TIM1_CH3N, EVENTOUT."
},
{
"number": "28",
"name": "PA8",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant (FT). Alt: MCO, SPI2_NSS, TIM1_CH1, LPTIM2_OUT, EVENTOUT."
},
{
"number": "29",
"name": "PA9",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, Fm+ capable (FT_f). Alt: MCO, USART1_TX, TIM1_CH2, SPI2_MISO, I2C1_SCL, EVENTOUT."
},
{
"number": "30",
"name": "PC6",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant (FT). Alt: TIM3_CH1, TIM2_CH3."
},
{
"number": "31",
"name": "PC7",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant (FT). Alt: TIM3_CH2, TIM2_CH4."
},
{
"number": "32",
"name": "PA10",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, Fm+ capable (FT_f). Alt: SPI2_MOSI, USART1_RX, TIM1_CH3, TIM17_BKIN, I2C1_SDA, EVENTOUT."
},
{
"number": "33",
"name": "PA11 [PA9]",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, Fm+ capable (FT_f). Alt: SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4, TIM1_BKIN2, I2C2_SCL. Remappable to PA9 via SYSCFG."
},
{
"number": "34",
"name": "PA12 [PA10]",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, Fm+ capable (FT_f). Alt: SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR, I2S_CKIN, I2C2_SDA. Remappable to PA10 via SYSCFG."
},
{
"number": "35",
"name": "PA13",
"type": "bidirectional",
"description": "SWDIO after reset (serial wire debug data). GPIO 5 V-tolerant, analog + diode (FT_ea). ADC_IN17. Alt: SWDIO, IR_OUT, EVENTOUT."
},
{
"number": "36",
"name": "PA14-BOOT0",
"type": "bidirectional",
"description": "SWCLK after reset (serial wire debug clock) and BOOT0 sampled at reset. GPIO 5 V-tolerant, analog (FT_a). ADC_IN18. Alt: SWCLK, USART2_TX, EVENTOUT."
},
{
"number": "37",
"name": "PA15",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant (FT). Alt: SPI1_NSS/I2S1_WS, USART2_RX, TIM2_CH1_ETR, EVENTOUT."
},
{
"number": "38",
"name": "PD0",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant (FT). Alt: EVENTOUT, SPI2_NSS, TIM16_CH1."
},
{
"number": "39",
"name": "PD1",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant (FT). Alt: EVENTOUT, SPI2_SCK, TIM17_CH1."
},
{
"number": "40",
"name": "PD2",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant (FT). Alt: TIM3_ETR, TIM1_CH1N."
},
{
"number": "41",
"name": "PD3",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant (FT). Alt: USART2_CTS, SPI2_MISO, TIM1_CH2N."
},
{
"number": "42",
"name": "PB3",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant (FT). Alt: SPI1_SCK/I2S1_CK, TIM1_CH2, TIM2_CH2, USART1_RTS_DE_CK, EVENTOUT."
},
{
"number": "43",
"name": "PB4",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant (FT). Alt: SPI1_MISO/I2S1_MCK, TIM3_CH1, USART1_CTS, TIM17_BKIN, EVENTOUT."
},
{
"number": "44",
"name": "PB5",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant (FT). WKUP6. Alt: SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM16_BKIN, LPTIM1_IN1, I2C1_SMBA."
},
{
"number": "45",
"name": "PB6",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, Fm+ capable (FT_f). Alt: USART1_TX, TIM1_CH3, TIM16_CH1N, SPI2_MISO, LPTIM1_ETR, I2C1_SCL, EVENTOUT."
},
{
"number": "46",
"name": "PB7",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, Fm+ capable (FT_f). PVD_IN. Alt: USART1_RX, SPI2_MOSI, TIM17_CH1N, LPTIM1_IN2, I2C1_SDA, EVENTOUT."
},
{
"number": "47",
"name": "PB8",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, Fm+ capable (FT_f). Alt: SPI2_SCK, TIM16_CH1, I2C1_SCL, EVENTOUT."
},
{
"number": "48",
"name": "PB9",
"type": "bidirectional",
"description": "GPIO 5 V-tolerant, Fm+ capable (FT_f). Alt: IR_OUT, TIM17_CH1, SPI2_NSS, I2C1_SDA, EVENTOUT."
}
],
"provenance": {
"extractor": "ds2sf",
"datasheet": {
"url": "https://www.st.com/resource/en/datasheet/stm32g031c6t6.pdf",
"pages": 117,
"sha256": "95ae804dbf135590",
"source_tier": "mfr"
},
"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"
},
"mcu": {
"part_number": "STM32G031C6T6",
"series": "STM32G0",
"subfamily": "STM32G031",
"core": "Arm Cortex-M0+",
"frequency_mhz": 64,
"flash_kb": 32,
"ram_kb": 8,
"io_count": 43,
"package": "LQFP 48 7x7x1.4 mm",
"marketing_status": "Active",
"fpu": null,
"supply_v_min": 1.7,
"supply_v_max": 3.6,
"temp_min_c": -40,
"temp_max_c": 85,
"adc_count": 1,
"timers": 5,
"in_distributor_stock": true,
"product_folder": "/en/microcontrollers-microprocessors/stm32g031c6.html",
"source": "st.com portfolio grid CL1734"
},
"models_3d": [
{
"file": "stm32g031c6t6.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-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stm32g031c6t6-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": "65b6f4544fa48ab2d936d5f5158b6f29f3d0f08c7283e2ba4856946ae1c703fc",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Core": "Arm Cortex-M0+",
"Max clock": "64 MHz",
"Flash": "32 kB",
"RAM": "8 kB",
"I/O pins": 43,
"ADC units": 1,
"ST status": "Active",
"Manufacturer": "STMicroelectronics",
"Package": "LQFP-48(7x7)",
"Category": "MCU",
"Pins": "48"
}
},
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"stm32g031c6t6"
],
"discovery_pitch": "STM32G031C6T6 (STMicroelectronics) component page with datasheet-verified CAD.",
"author": {
"name": "Ray",
"email": "[email protected]"
},
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stm32g031c6t6.kicad_sym",
"stm32g031c6t6.kicad_mod",
"stm32g031c6t6.glb",
"stm32g031c6t6.step",
"stm32g031c6t6.lbr",
"docs/hero.png",
"docs/stm32g031c6t6-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html"
],
"visibility": {
"public": true
},
"variants": [
{
"mpn": "STM32G031C6T6",
"kind": "packaging"
},
{
"mpn": "STM32G031C6T6CxT",
"kind": "packaging"
},
{
"mpn": "STM32G031C6T6CxU",
"kind": "packaging"
},
{
"mpn": "STM32G031C6T6KxT",
"kind": "packaging"
},
{
"mpn": "STM32G031C6T6KxU",
"kind": "packaging"
},
{
"mpn": "STM32G031C6T6GxU",
"kind": "packaging"
},
{
"mpn": "STM32G031C6T6Fx",
"kind": "packaging"
},
{
"mpn": "STM32G031C6T6Yx",
"kind": "packaging"
},
{
"mpn": "STM32G031C6T6Jx",
"kind": "packaging"
}
],
"updated_at": "2026-09-25T08:49:37.556Z"
}