main
Ray Set visibility: public c391826 18d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm32g051k8t6",
  "title": "STM32G051K8T6",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(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",
    "embedded processors & controllers",
    "stm32g051k8t6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM32G051K8T6",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-32(7x7)",
    "pin_count": 32,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590411941723070464",
    "parts": {
      "symbol": "stm32g051k8t6.kicad_sym",
      "footprint": "stm32g051k8t6.kicad_mod",
      "model_3d": "stm32g051k8t6-hero.glb",
      "model_3d_plain": "stm32g051k8t6.glb",
      "model_3d_step": "stm32g051k8t6-etched.step",
      "model_3d_step_plain": "stm32g051k8t6.step",
      "lbr": "stm32g051k8t6.lbr"
    },
    "distributor_links": {
      "lcsc": "C3220734",
      "digikey": "497-STM32G051K8T6-ND",
      "mouser": "511-STM32G051K8T6"
    },
    "distributor_check": {
      "checked_at": "2026-10-09T18:41:33Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-STM32G051K8T6-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32G051K8T6",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable I/O (FT_f) with alternate functions IR_OUT, TIM17_CH1, SPI2_NSS, I2C1_SDA and EVENTOUT."
      },
      {
        "number": "2",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT) supplied through the power switch, so it sinks only 3 mA and must not exceed 2 MHz at 30 pF or be used as a current source; it also serves as the OSC32_IN low-speed oscillator input."
      },
      {
        "number": "3",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT) supplied through the power switch, so it sinks only 3 mA and must not exceed 2 MHz at 30 pF or be used as a current source; it also serves as the OSC32_OUT low-speed oscillator output, with OSC32_EN, OSC_EN and TIM15_BKIN alternate functions."
      },
      {
        "number": "4",
        "name": "VDD/VDDA",
        "type": "power_in",
        "description": "Power supply pin: VDD is 1.7 V to 3.6 V for the internal regulator and system analog, and VDDA is 1.62 V (ADC and COMP), 1.8 V (DAC) or 2.4 V (VREFBUF) to 3.6 V for the analog peripherals."
      },
      {
        "number": "5",
        "name": "VSS/VSSA",
        "type": "power_in",
        "description": "Ground pin for the digital and analog supplies; all voltages are referenced to VSS."
      },
      {
        "number": "6",
        "name": "PF2-NRST",
        "type": "bidirectional",
        "description": "Bidirectional reset pin with embedded weak pull-up whose default function is NRST, with MCO as alternate function, and other I/Os connected to this pin need particular configuration care if it is used as a GPIO."
      },
      {
        "number": "7",
        "name": "PA0",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_a) with alternate functions SPI2_SCK, USART2_CTS, TIM2_CH1_ETR, LPTIM1_OUT and COMP1_OUT, and additional functions COMP1_INM8, ADC_IN0, TAMP_IN2 and WKUP1."
      },
      {
        "number": "8",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_ea) with alternate functions SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, TIM2_CH2, TIM15_CH1N, I2C1_SMBA and EVENTOUT, and additional functions COMP1_INP2 and ADC_IN1."
      },
      {
        "number": "9",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_a) with alternate functions SPI1_MOSI/I2S1_SD, USART2_TX, TIM2_CH3, TIM15_CH1, LPUART1_TX and COMP2_OUT, and additional functions COMP2_INM8, ADC_IN2, WKUP4 and LSCO."
      },
      {
        "number": "10",
        "name": "PA3",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_ea) with alternate functions SPI2_MISO, USART2_RX, TIM2_CH4, TIM15_CH2, LPUART1_RX and EVENTOUT, and additional functions COMP2_INP2 and ADC_IN3."
      },
      {
        "number": "11",
        "name": "PA4",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_a) with alternate functions SPI1_NSS/I2S1_WS, SPI2_MOSI, TIM14_CH1, LPTIM2_OUT and EVENTOUT, and additional functions ADC_IN4, DAC1_OUT1, TAMP_IN1, RTC_TS, RTC_OUT1 and WKUP2."
      },
      {
        "number": "12",
        "name": "PA5",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_ea) with alternate functions SPI1_SCK/I2S1_CK, TIM2_CH1_ETR, LPTIM2_ETR and EVENTOUT, and additional functions ADC_IN5 and DAC1_OUT2."
      },
      {
        "number": "13",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_ea) with alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1, LPUART1_CTS and COMP1_OUT, and additional function ADC_IN6."
      },
      {
        "number": "14",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_a) with alternate functions SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1, TIM17_CH1 and COMP2_OUT, and additional function ADC_IN7."
      },
      {
        "number": "15",
        "name": "PB0",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_ea) with alternate functions SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N, LPTIM1_OUT and COMP1_OUT, and additional function ADC_IN8."
      },
      {
        "number": "16",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_ea) with alternate functions TIM14_CH1, TIM3_CH4, TIM1_CH3N, LPTIM2_IN1, LPUART1_RTS_DE and EVENTOUT, and additional functions COMP1_INM6 and ADC_IN9."
      },
      {
        "number": "17",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_ea) with alternate functions SPI2_MISO, LPTIM1_OUT and EVENTOUT, and additional functions COMP1_INP1 and ADC_IN10."
      },
      {
        "number": "18",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT) with alternate functions MCO, SPI2_NSS, TIM1_CH1, LPTIM2_OUT and EVENTOUT."
      },
      {
        "number": "19",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable I/O (FT_f) with alternate functions MCO, USART1_TX, TIM1_CH2, SPI2_MISO, TIM15_BKIN, I2C1_SCL and EVENTOUT, and it can be remapped in place of PA11 through SYSCFG_CFGR1."
      },
      {
        "number": "20",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT) with alternate functions TIM3_CH1 and TIM2_CH3."
      },
      {
        "number": "21",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable I/O (FT_f) with alternate functions SPI2_MOSI, USART1_RX, TIM1_CH3, TIM17_BKIN, I2C1_SDA and EVENTOUT, and it can be remapped in place of PA12 through SYSCFG_CFGR1."
      },
      {
        "number": "22",
        "name": "PA11 [PA9]",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable analog-switch I/O (FT_fa) with alternate functions SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4, TIM1_BKIN2, I2C2_SCL and COMP1_OUT, and additional function ADC_IN15."
      },
      {
        "number": "23",
        "name": "PA12 [PA10]",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable analog-switch I/O (FT_fa) with alternate functions SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR, I2S_CKIN, I2C2_SDA and COMP2_OUT, and additional function ADC_IN16."
      },
      {
        "number": "24",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_ea) that defaults to the SWDIO function at reset with an internal pull-up enabled, with alternate functions IR_OUT and EVENTOUT, and additional function ADC_IN17."
      },
      {
        "number": "25",
        "name": "PA14-BOOT0",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_a) that defaults to the SWCLK function at reset with an internal pull-down enabled, with alternate functions USART2_TX and EVENTOUT, and additional functions ADC_IN18 and BOOT0 (boot-mode selection pin)."
      },
      {
        "number": "26",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT) with alternate functions SPI1_NSS/I2S1_WS, USART2_RX, TIM2_CH1_ETR and EVENTOUT."
      },
      {
        "number": "27",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_a) with alternate functions SPI1_SCK/I2S1_CK, TIM1_CH2, TIM2_CH2, USART1_RTS_DE_CK and EVENTOUT, and additional function COMP2_INM6."
      },
      {
        "number": "28",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_a) with alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, USART1_CTS, TIM17_BKIN and EVENTOUT, and additional function COMP2_INP0."
      },
      {
        "number": "29",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT) with alternate functions SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM16_BKIN, LPTIM1_IN1, I2C1_SMBA and COMP2_OUT, and additional function WKUP6."
      },
      {
        "number": "30",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable analog-switch I/O (FT_fa) with alternate functions USART1_TX, TIM1_CH3, TIM16_CH1N, SPI2_MISO, LPTIM1_ETR, I2C1_SCL and EVENTOUT, and additional function COMP2_INP1."
      },
      {
        "number": "31",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable analog-switch I/O (FT_fa) with alternate functions USART1_RX, SPI2_MOSI, TIM17_CH1N, LPTIM1_IN2, I2C1_SDA and EVENTOUT, and additional functions COMP2_INM7, ADC_IN11 and PVD_IN."
      },
      {
        "number": "32",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable I/O (FT_f) with alternate functions SPI2_SCK, TIM16_CH1, TIM15_BKIN, I2C1_SCL and EVENTOUT."
      }
    ],
    "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: VBAT and VREF+ have no pin on the LQFP32 package. Per the datasheet, VBAT is internally bonded to th; PC14 and PC15 are supplied through the power switch, which sinks only 3 mA. Their GPIO output use is; Table 12 lists PA4 twice. The LQFP32 pin 11 row gives additional functions ADC_IN4, DAC1_OUT1, TAMP_"
        ],
        "pages_sent": 57,
        "cost_usd": 0.2477,
        "at": "2026-10-09T18:41:15"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590411941723070464",
        "pages": 126,
        "sha256": "773ba84c25c7d2f3",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 32,
        "described": 32,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm32g051k8t6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "be0e412f1c66fee70039b0e109e0cc7c823161dda97593718afa97569bc61ce3",
        "checked": "2026-10-09",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32g051k8t6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "6d457b0058eca70a3aaa74bb96d1e9cc50adcb06e7bca5e1ae23bec973d3314a",
        "checked": "2026-10-09",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-32(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "32"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm32g051k8t6"
  ],
  "discovery_pitch": "STM32G051K8T6 (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",
    "stm32g051k8t6.kicad_sym",
    "stm32g051k8t6.kicad_mod",
    "stm32g051k8t6.glb",
    "stm32g051k8t6.step",
    "stm32g051k8t6.lbr",
    "docs/hero.png",
    "docs/stm32g051k8t6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32g051k8t6-hero.glb",
    "stm32g051k8t6-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}