main
Ray Set visibility: public 27788cf 16d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm32g041k8t6",
  "title": "STM32G041K8T6",
  "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",
    "stm32g041k8t6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM32G041K8T6",
    "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/8588907818660843520",
    "parts": {
      "symbol": "stm32g041k8t6.kicad_sym",
      "footprint": "stm32g041k8t6.kicad_mod",
      "model_3d": "stm32g041k8t6-hero.glb",
      "model_3d_plain": "stm32g041k8t6.glb",
      "model_3d_step": "stm32g041k8t6-etched.step",
      "model_3d_step_plain": "stm32g041k8t6.step",
      "lbr": "stm32g041k8t6.lbr"
    },
    "distributor_links": {
      "lcsc": "C724070",
      "digikey": "497-STM32G041K8T6-ND",
      "mouser": "511-STM32G041K8T6"
    },
    "distributor_check": {
      "checked_at": "2026-10-11T01:45:31Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-STM32G041K8T6-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32G041K8T6",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PB9",
        "type": "bidirectional",
        "description": "FT_f 5 V-tolerant I/O (Fm+ capable) with alternate functions IR_OUT, TIM17_CH1, SPI2_NSS, I2C1_SDA and EVENTOUT."
      },
      {
        "number": "2",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "FT I/O (after RTC-domain power-up it operates as GPIO), supplied through the power switch which sinks at most 3 mA, so output speed is limited to 2 MHz with a 30 pF maximum load and it must not source current such as driving an LED; alternate function TIM1_BK2, additional function OSC32_IN."
      },
      {
        "number": "3",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "FT I/O supplied through the same power switch with the same 3 mA sink limit, 2 MHz / 30 pF output speed limit and no current-source use; alternate functions OSC32_EN and OSC_EN, additional function OSC32_OUT."
      },
      {
        "number": "4",
        "name": "VDD/VDDA",
        "type": "power_in",
        "description": "Power supply VDD = 1.7 V to 3.6 V for the internal regulator, I/O ring and system analog; VDDA is 1.62 V minimum for the ADC and 2.4 V minimum for VREFBUF."
      },
      {
        "number": "5",
        "name": "VSS/VSSA",
        "type": "power_in",
        "description": "Ground reference (VSS) for the digital supply and analog ground (VSSA) for the analog peripherals; all voltages are referenced to VSS."
      },
      {
        "number": "6",
        "name": "PF2-NRST",
        "type": "bidirectional",
        "description": "Bidirectional reset pin with an embedded weak pull-up resistor, also selectable as PF2 with alternate function MCO."
      },
      {
        "number": "7",
        "name": "PA0",
        "type": "bidirectional",
        "description": "FT_a 5 V-tolerant I/O with analog switch function; 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": "FT_ea 5 V-tolerant I/O with analog switch and switchable diode to VDD; 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": "FT_a 5 V-tolerant I/O with analog switch; 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": "FT_ea 5 V-tolerant I/O with analog switch and switchable diode to VDD; alternate functions SPI2_MISO, USART2_RX, TIM2_CH4, LPUART1_RX, EVENTOUT; additional function ADC_IN3."
      },
      {
        "number": "11",
        "name": "PA4",
        "type": "bidirectional",
        "description": "FT_a 5 V-tolerant I/O with analog switch; 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": "FT_ea 5 V-tolerant I/O with analog switch and switchable diode to VDD; alternate functions SPI1_SCK/I2S1_CK, TIM2_CH1_ETR, LPTIM2_ETR, EVENTOUT; additional function ADC_IN5."
      },
      {
        "number": "13",
        "name": "PA6",
        "type": "bidirectional",
        "description": "FT_ea 5 V-tolerant I/O with analog switch and switchable diode to VDD; alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1, LPUART1_CTS; additional function ADC_IN6."
      },
      {
        "number": "14",
        "name": "PA7",
        "type": "bidirectional",
        "description": "FT_a 5 V-tolerant I/O with analog switch; 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": "FT_ea 5 V-tolerant I/O with analog switch and switchable diode to VDD; alternate functions SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N, LPTIM1_OUT; additional function ADC_IN8."
      },
      {
        "number": "16",
        "name": "PB1",
        "type": "bidirectional",
        "description": "FT_ea 5 V-tolerant I/O with analog switch and switchable diode to VDD; 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": "FT_ea 5 V-tolerant I/O with analog switch and switchable diode to VDD; alternate functions SPI2_MISO, LPTIM1_OUT, EVENTOUT; additional function ADC_IN10."
      },
      {
        "number": "18",
        "name": "PA8",
        "type": "bidirectional",
        "description": "FT 5 V-tolerant I/O; alternate functions MCO, SPI2_NSS, TIM1_CH1, LPTIM2_OUT, EVENTOUT."
      },
      {
        "number": "19",
        "name": "PA9",
        "type": "bidirectional",
        "description": "FT_f 5 V-tolerant I/O (Fm+ capable); alternate functions MCO, USART1_TX, TIM1_CH2, SPI2_MISO, I2C1_SCL, EVENTOUT."
      },
      {
        "number": "20",
        "name": "PC6",
        "type": "bidirectional",
        "description": "FT 5 V-tolerant I/O; alternate functions TIM3_CH1 and TIM2_CH3."
      },
      {
        "number": "21",
        "name": "PA10",
        "type": "bidirectional",
        "description": "FT_f 5 V-tolerant I/O (Fm+ capable); alternate functions SPI2_MOSI, USART1_RX, TIM1_CH3, TIM17_BKIN, I2C1_SDA, EVENTOUT."
      },
      {
        "number": "22",
        "name": "PA11 [PA9]",
        "type": "bidirectional",
        "description": "FT_fa 5 V-tolerant I/O (Fm+ capable) with analog switch; default function PA11, and PA9 can be remapped to this pin via SYSCFG_CFGR1; alternate functions SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4, TIM1_BKIN2, I2C2_SCL; additional function ADC_IN15."
      },
      {
        "number": "23",
        "name": "PA12 [PA10]",
        "type": "bidirectional",
        "description": "FT_fa 5 V-tolerant I/O (Fm+ capable) with analog switch; default function PA12, and PA10 can be remapped to this pin via SYSCFG_CFGR1; 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": "FT_ea 5 V-tolerant I/O with analog switch and switchable diode to VDD; at reset it is configured as SWDIO with the internal pull-up activated; alternate functions IR_OUT and EVENTOUT; additional function ADC_IN17."
      },
      {
        "number": "25",
        "name": "PA14-BOOT0",
        "type": "bidirectional",
        "description": "FT_a 5 V-tolerant I/O with analog switch; at reset it is configured as SWCLK with the internal pull-down activated, and it is also the BOOT0 boot pin selected through the boot option bit; alternate functions USART2_TX and EVENTOUT; additional functions ADC_IN18, BOOT0."
      },
      {
        "number": "26",
        "name": "PA15",
        "type": "bidirectional",
        "description": "FT 5 V-tolerant I/O; alternate functions SPI1_NSS/I2S1_WS, USART2_RX, TIM2_CH1_ETR, EVENTOUT."
      },
      {
        "number": "27",
        "name": "PB3",
        "type": "bidirectional",
        "description": "FT 5 V-tolerant I/O; alternate functions SPI1_SCK/I2S1_CK, TIM1_CH2, TIM2_CH2, USART1_RTS_DE_CK, EVENTOUT."
      },
      {
        "number": "28",
        "name": "PB4",
        "type": "bidirectional",
        "description": "FT 5 V-tolerant I/O; alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, USART1_CTS, TIM17_BKIN, EVENTOUT."
      },
      {
        "number": "29",
        "name": "PB5",
        "type": "bidirectional",
        "description": "FT 5 V-tolerant I/O; alternate functions SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM16_BKIN, LPTIM1_IN1, I2C1_SMBA; additional function WKUP6."
      },
      {
        "number": "30",
        "name": "PB6",
        "type": "bidirectional",
        "description": "FT_f 5 V-tolerant I/O (Fm+ capable); alternate functions USART1_TX, TIM1_CH3, TIM16_CH1N, SPI2_MISO, LPTIM1_ETR, I2C1_SCL, EVENTOUT."
      },
      {
        "number": "31",
        "name": "PB7",
        "type": "bidirectional",
        "description": "FT_fa 5 V-tolerant I/O (Fm+ capable) with analog switch; 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": "FT_f 5 V-tolerant I/O (Fm+ capable); alternate functions SPI2_SCK, TIM16_CH1, I2C1_SCL, 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: PC14 and PC15 are supplied through the RTC power switch (3 mA sink limit, 2 MHz / 30 pF output limit; PF2-NRST is listed as type I/O with no FT structure; it is mapped to bidirectional and described per; LQFP32 is not bonded for PC13, PF0, PF1, VBAT, VREF+ or PB10-PB15, PA4-only-on-48, PD0-PD3 or PC7, s"
        ],
        "pages_sent": 56,
        "cost_usd": 0.2503,
        "at": "2026-10-11T01:45:12"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588907818660843520",
        "pages": 118,
        "sha256": "586607fd294bd34f",
        "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": "stm32g041k8t6.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-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32g041k8t6-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": "7dd3abe8af91f5460688594b7c1f717248b518dffd01d31bf604e888de75f99d",
        "checked": "2026-10-11",
        "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": [
    "stm32g041k8t6"
  ],
  "discovery_pitch": "STM32G041K8T6 (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",
    "stm32g041k8t6.kicad_sym",
    "stm32g041k8t6.kicad_mod",
    "stm32g041k8t6.glb",
    "stm32g041k8t6.step",
    "stm32g041k8t6.lbr",
    "docs/hero.png",
    "docs/stm32g041k8t6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32g041k8t6-hero.glb",
    "stm32g041k8t6-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}