component
STM32G031K8U6
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), UFQFPN-32(5x5). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
{
"schema_version": 1,
"type": "component",
"slug": "stm32g031k8u6",
"title": "STM32G031K8U6",
"brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), UFQFPN-32(5x5). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
"version": "0.1.0",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"embedded processors & controllers",
"stm32g031k8u6",
"factory-2.0.0",
"extractor-text"
],
"component": {
"mpn": "STM32G031K8U6",
"manufacturer": "STMicroelectronics",
"package": "UFQFPN-32(5x5)",
"pin_count": 33,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886244474425344",
"parts": {
"symbol": "stm32g031k8u6.kicad_sym",
"footprint": "stm32g031k8u6.kicad_mod",
"model_3d": "stm32g031k8u6-etched.glb",
"model_3d_plain": "stm32g031k8u6.glb",
"model_3d_step": "stm32g031k8u6-etched.step",
"model_3d_step_plain": "stm32g031k8u6.step",
"lbr": "stm32g031k8u6.lbr"
},
"distributor_links": {
"lcsc": "C432207",
"digikey": "497-19558-ND",
"mouser": "511-STM32G031K8U6"
},
"distributor_check": {
"checked_at": "2026-10-01T15:44:37Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": "497-19558-ND",
"status": "found"
},
"mouser": {
"pn": "511-STM32G031K8U6",
"status": "found"
}
},
"pins": [
{
"number": "1",
"name": "PB9",
"type": "bidirectional",
"description": "5V-tolerant, Fm+ capable I/O, default analog input at reset; alternate functions IR_OUT, TIM17_CH1, SPI2_NSS, I2C1_SDA, EVENTOUT."
},
{
"number": "2",
"name": "PC14-OSC32_IN",
"type": "bidirectional",
"description": "5V-tolerant I/O shared with the 32.768 kHz LSE oscillator input and, on this package, also carries the OSC_IN (HSE) function; alternate function TIM1_BK2."
},
{
"number": "3",
"name": "PC15-OSC32_OUT",
"type": "bidirectional",
"description": "5V-tolerant I/O shared with the 32.768 kHz LSE oscillator output; alternate/enable functions OSC32_EN, OSC_EN."
},
{
"number": "4",
"name": "VDD/VDDA",
"type": "power_in",
"description": "Digital and analog power supply input, 1.7 V (1.6 V min) to 3.6 V, also feeds VDDIO1 (I/O) and VDDA (ADC/VREFBUF) domains."
},
{
"number": "5",
"name": "VSS/VSSA",
"type": "power_in",
"description": "Digital and analog ground reference pin."
},
{
"number": "6",
"name": "PF2-NRST",
"type": "bidirectional",
"description": "Bidirectional reset I/O with embedded ~40 kΩ weak pull-up resistor, active low; also usable for the MCO alternate function."
},
{
"number": "7",
"name": "PA0",
"type": "bidirectional",
"description": "5V-tolerant I/O with analog switch, default analog input at reset; alternate functions SPI2_SCK, USART2_CTS, TIM2_CH1_ETR, LPTIM1_OUT; additional functions ADC_IN0, TAMP_IN2, WKUP1."
},
{
"number": "8",
"name": "PA1",
"type": "bidirectional",
"description": "5V-tolerant I/O with analog switch and switchable diode to VDD, default analog input at reset; alternate functions SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, TIM2_CH2, I2C1_SMBA, EVENTOUT; additional function ADC_IN1."
},
{
"number": "9",
"name": "PA2",
"type": "bidirectional",
"description": "5V-tolerant I/O with analog switch, default analog input at reset; alternate functions SPI1_MOSI/I2S1_SD, USART2_TX, TIM2_CH3, LPUART1_TX; additional functions ADC_IN2, WKUP4, LSCO."
},
{
"number": "10",
"name": "PA3",
"type": "bidirectional",
"description": "5V-tolerant I/O with analog switch and switchable diode to VDD, default analog input at reset; alternate functions SPI2_MISO, USART2_RX, TIM2_CH4, LPUART1_RX, EVENTOUT; additional function ADC_IN3."
},
{
"number": "11",
"name": "PA4",
"type": "bidirectional",
"description": "5V-tolerant I/O with analog switch, default analog input at reset; alternate functions SPI1_NSS/I2S1_WS, SPI2_MOSI, TIM14_CH1, LPTIM2_OUT, EVENTOUT; additional functions ADC_IN4, TAMP_IN1, RTC_TS, RTC_OUT1, WKUP2."
},
{
"number": "12",
"name": "PA5",
"type": "bidirectional",
"description": "5V-tolerant I/O with analog switch and switchable diode to VDD, default analog input at reset; alternate functions SPI1_SCK/I2S1_CK, TIM2_CH1_ETR, LPTIM2_ETR, EVENTOUT; additional function ADC_IN5."
},
{
"number": "13",
"name": "PA6",
"type": "bidirectional",
"description": "5V-tolerant I/O with analog switch and switchable diode to VDD, default analog input at reset; alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BK, TIM16_CH1, LPUART1_CTS; additional function ADC_IN6."
},
{
"number": "14",
"name": "PA7",
"type": "bidirectional",
"description": "5V-tolerant I/O with analog switch, default analog input at reset; alternate functions SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1, TIM17_CH1; additional function ADC_IN7."
},
{
"number": "15",
"name": "PB0",
"type": "bidirectional",
"description": "5V-tolerant I/O with analog switch and switchable diode to VDD, default analog input at reset; alternate functions SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N, LPTIM1_OUT; additional function ADC_IN8."
},
{
"number": "16",
"name": "PB1",
"type": "bidirectional",
"description": "5V-tolerant I/O with analog switch and switchable diode to VDD, default analog input at reset; alternate functions TIM14_CH1, TIM3_CH4, TIM1_CH3N, LPTIM2_IN1, LPUART1_RTS_DE, EVENTOUT; additional function ADC_IN9."
},
{
"number": "17",
"name": "PB2",
"type": "bidirectional",
"description": "5V-tolerant I/O with analog switch and switchable diode to VDD, default analog input at reset; alternate functions SPI2_MISO, LPTIM1_OUT, EVENTOUT; additional function ADC_IN10."
},
{
"number": "18",
"name": "PA8",
"type": "bidirectional",
"description": "5V-tolerant I/O, default analog input at reset; alternate functions MCO, SPI2_NSS, TIM1_CH1, LPTIM2_OUT, EVENTOUT."
},
{
"number": "19",
"name": "PA9",
"type": "bidirectional",
"description": "5V-tolerant, Fm+ capable I/O, default analog input at reset; alternate functions MCO, USART1_TX, TIM1_CH2, SPI2_MISO, I2C1_SCL, EVENTOUT."
},
{
"number": "20",
"name": "PC6",
"type": "bidirectional",
"description": "5V-tolerant I/O, default analog input at reset; alternate functions TIM3_CH1, TIM2_CH3."
},
{
"number": "21",
"name": "PA10",
"type": "bidirectional",
"description": "5V-tolerant, Fm+ capable I/O, default analog input at reset; alternate functions SPI2_MOSI, USART1_RX, TIM1_CH3, TIM17_BK, I2C1_SDA, EVENTOUT."
},
{
"number": "22",
"name": "PA11 [PA9]",
"type": "bidirectional",
"description": "5V-tolerant, Fm+ capable I/O with analog switch, remappable as PA9, default analog input at reset; alternate functions SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4, TIM1_BK2, I2C2_SCL; additional function ADC_IN15."
},
{
"number": "23",
"name": "PA12 [PA10]",
"type": "bidirectional",
"description": "5V-tolerant, Fm+ capable I/O with analog switch, remappable as PA10, default analog input at reset; alternate functions SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR, I2S_CKIN, I2C2_SDA; additional function ADC_IN16."
},
{
"number": "24",
"name": "PA13",
"type": "bidirectional",
"description": "5V-tolerant I/O with analog switch and switchable diode to VDD, default analog input at reset; primary alternate function SWDIO (serial-wire debug data), also IR_OUT, EVENTOUT; additional function ADC_IN17."
},
{
"number": "25",
"name": "PA14-BOOT0",
"type": "bidirectional",
"description": "5V-tolerant I/O with analog switch, default analog input at reset and also samples BOOT0 boot-mode selection at reset when enabled by option byte; alternate functions SWCLK (serial-wire debug clock), USART2_TX, EVENTOUT; additional function ADC_IN18."
},
{
"number": "26",
"name": "PA15",
"type": "bidirectional",
"description": "5V-tolerant I/O, default analog input at reset; alternate functions SPI1_NSS/I2S1_WS, USART2_RX, TIM2_CH1_ETR, EVENTOUT."
},
{
"number": "27",
"name": "PB3",
"type": "bidirectional",
"description": "5V-tolerant I/O, default analog input at reset; alternate functions SPI1_SCK/I2S1_CK, TIM1_CH2, TIM2_CH2, USART1_RTS_DE_CK, EVENTOUT."
},
{
"number": "28",
"name": "PB4",
"type": "bidirectional",
"description": "5V-tolerant I/O, default analog input at reset; alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, USART1_CTS, TIM17_BK, EVENTOUT."
},
{
"number": "29",
"name": "PB5",
"type": "bidirectional",
"description": "5V-tolerant I/O, default analog input at reset; alternate functions SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM16_BK, LPTIM1_IN1, I2C1_SMBA; additional function WKUP6."
},
{
"number": "30",
"name": "PB6",
"type": "bidirectional",
"description": "5V-tolerant, Fm+ capable I/O, default analog input at reset; alternate functions USART1_TX, TIM1_CH3, TIM16_CH1N, SPI2_MISO, LPTIM1_ETR, I2C1_SCL, EVENTOUT."
},
{
"number": "31",
"name": "PB7",
"type": "bidirectional",
"description": "5V-tolerant, Fm+ capable I/O with analog switch, default analog input at reset; alternate functions USART1_RX, SPI2_MOSI, TIM17_CH1N, LPTIM1_IN2, I2C1_SDA, EVENTOUT; additional functions ADC_IN11, PVD_IN."
},
{
"number": "32",
"name": "PB8",
"type": "bidirectional",
"description": "5V-tolerant, Fm+ capable I/O, default analog input at reset; alternate functions SPI2_SCK, TIM16_CH1, I2C1_SCL, EVENTOUT."
},
{
"number": "33",
"name": "EP",
"type": "passive",
"description": "Exposed pad (from the footprint; not named in the datasheet pin table)."
}
],
"provenance": {
"extractor": "extract_pins 0.2",
"factory_chain": {
"factory": "2.0.0",
"extractor": "extract_pins 0.2",
"primary_model": "claude-haiku-4-5-20251001",
"primary_mode": "text",
"consensus_model": "claude-sonnet-5-5",
"consensus": "agreed",
"guards": "pin_guards 0.1: passed",
"guard_notes": [
"extractor flagged: Pin 31 designation unclear from figure - diagram shows potential duplicate PA13 labeling; original f"
],
"pages_sent": 117,
"cost_usd": 0.3642,
"at": "2026-10-01T15:44:20"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886244474425344",
"pages": 117,
"sha256": "95ae804dbf135590",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 33,
"described": 33,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
}
},
"metadata": {
"specs": {
"Manufacturer": "STMicroelectronics",
"Package": "UFQFPN-32(5x5)",
"Category": "Embedded Processors & Controllers",
"Pins": "33"
}
},
"variants": [],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"stm32g031k8u6"
],
"discovery_pitch": "STM32G031K8U6 (STMicroelectronics) 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",
"stm32g031k8u6.kicad_sym",
"stm32g031k8u6.kicad_mod",
"stm32g031k8u6.glb",
"stm32g031k8u6.step",
"stm32g031k8u6.lbr",
"docs/hero.png",
"docs/stm32g031k8u6-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html"
],
"visibility": {
"public": true
}
}