main
Ray Publish 0.1.1 6b0ffa4
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm32l031k6u7",
  "title": "STM32L031K6U7",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), UFQFPN-32(5x5). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "version": "0.1.1",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32l031k6u7",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM32L031K6U7",
    "manufacturer": "STMicroelectronics",
    "package": "UFQFPN-32(5x5)",
    "pin_count": 33,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://www.st.com/resource/en/datasheet/stm32l031k6u7.pdf",
    "parts": {
      "symbol": "stm32l031k6u7.kicad_sym",
      "footprint": "stm32l031k6u7.kicad_mod",
      "model_3d": "stm32l031k6u7-hero.glb",
      "model_3d_plain": "stm32l031k6u7.glb",
      "model_3d_step": "stm32l031k6u7-etched.step",
      "model_3d_step_plain": "stm32l031k6u7.step",
      "lbr": "stm32l031k6u7.lbr"
    },
    "distributor_links": {
      "lcsc": "C1340820",
      "digikey": "497-16808-ND",
      "mouser": "511-STM32L031K6U7"
    },
    "distributor_check": {
      "checked_at": "2026-11-06T01:05:38Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-16808-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32L031K6U7",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VDD",
        "type": "power_in",
        "description": "Power supply pin; the device operates from a 1.65 V to 3.6 V supply."
      },
      {
        "number": "2",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) that also serves as the 32 kHz oscillator input OSC32_IN."
      },
      {
        "number": "3",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) that also serves as the 32 kHz oscillator output OSC32_OUT."
      },
      {
        "number": "4",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Bidirectional reset pin with embedded weak pull-up resistor."
      },
      {
        "number": "5",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply pin (VDDA)."
      },
      {
        "number": "6",
        "name": "PA0-CK_IN",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with alternate functions including LPTIM1_IN1, TIM2_CH1, USART2_CTS, COMP1_OUT and additional function ADC_IN0."
      },
      {
        "number": "7",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate functions including EVENTOUT, LPTIM1_IN2, TIM2_CH2, USART2_RTS/USART2_DE and additional function ADC_IN1."
      },
      {
        "number": "8",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with alternate functions including TIM21_CH1, TIM2_CH3, USART2_TX, LPUART1_TX, COMP2_OUT and additional function ADC_IN2."
      },
      {
        "number": "9",
        "name": "PA3",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate functions including TIM21_CH2, TIM2_CH4, USART2_RX, LPUART1_RX and additional function ADC_IN3."
      },
      {
        "number": "10",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with alternate functions including SPI1_NSS, LPTIM1_IN1, USART2_CK, TIM22_ETR and additional function ADC_IN4."
      },
      {
        "number": "11",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with alternate functions including SPI1_SCK, LPTIM1_IN2, TIM2_ETR, TIM2_CH1 and additional function ADC_IN5."
      },
      {
        "number": "12",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate functions including SPI1_MISO, LPTIM1_ETR, LPUART1_CTS, TIM22_CH1, EVENTOUT, COMP1_OUT and additional function ADC_IN6."
      },
      {
        "number": "13",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate functions including SPI1_MOSI, LPTIM1_OUT, USART2_CTS, TIM22_CH2, EVENTOUT, COMP2_OUT and additional function ADC_IN7."
      },
      {
        "number": "14",
        "name": "PB0",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate functions including EVENTOUT, SPI1_MISO, USART2_RTS/USART2_DE, TIM2_CH3 and additional functions ADC_IN8 and VREF_OUT."
      },
      {
        "number": "15",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate functions including USART2_CK, SPI1_MOSI, LPUART1_RTS/LPUART1_DE, TIM2_CH4 and additional functions ADC_IN9 and VREF_OUT."
      },
      {
        "number": "16",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate function LPTIM1_OUT."
      },
      {
        "number": "17",
        "name": "VDD",
        "type": "power_in",
        "description": "Power supply pin; the device operates from a 1.65 V to 3.6 V supply."
      },
      {
        "number": "18",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate functions including MCO, LPTIM1_IN1, EVENTOUT, USART2_CK and TIM2_CH1."
      },
      {
        "number": "19",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant, Fast-mode Plus capable I/O (FTf) with alternate functions including MCO, I2C1_SCL, USART2_TX and TIM22_CH1."
      },
      {
        "number": "20",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant, Fast-mode Plus capable I/O (FTf) with alternate functions including I2C1_SDA, USART2_RX and TIM22_CH2."
      },
      {
        "number": "21",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate functions including SPI1_MISO, EVENTOUT, USART2_CTS, TIM21_CH2 and COMP1_OUT."
      },
      {
        "number": "22",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate functions including SPI1_MOSI, EVENTOUT, USART2_RTS/USART2_DE and COMP2_OUT."
      },
      {
        "number": "23",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate functions including SWDIO, LPTIM1_ETR and LPUART1_RX."
      },
      {
        "number": "24",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate functions including SWCLK, LPTIM1_OUT, I2C1_SMBA, USART2_TX and LPUART1_TX."
      },
      {
        "number": "25",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate functions including SPI1_NSS, TIM2_ETR, EVENTOUT, USART2_RX and TIM2_CH1."
      },
      {
        "number": "26",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate functions including SPI1_SCK, TIM2_CH2, EVENTOUT and COMP2_INN."
      },
      {
        "number": "27",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate functions including SPI1_MISO, EVENTOUT, TIM22_CH1 and COMP2_INP."
      },
      {
        "number": "28",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with alternate functions including SPI1_MOSI, LPTIM1_IN1, I2C1_SMBA, TIM22_CH2 and COMP2_INP."
      },
      {
        "number": "29",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant, Fast-mode Plus capable I/O (FTf) with alternate functions including USART2_TX, I2C1_SCL, LPTIM1_ETR, TIM21_CH1 and COMP2_INP."
      },
      {
        "number": "30",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant, Fast-mode Plus capable I/O (FTf) with alternate functions including USART2_RX, I2C1_SDA, LPTIM1_IN2, COMP2_INP and VREF_PVD_IN."
      },
      {
        "number": "31",
        "name": "BOOT0",
        "type": "input",
        "description": "Dedicated BOOT0 input pin."
      },
      {
        "number": "32",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant, Fast-mode Plus capable I/O (FTf) with alternate function I2C1_SCL."
      },
      {
        "number": "33",
        "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: Table 15 lists VSSA with the UFQFPN32 entry printed as \"0\", which is not a valid pin number, so VSSA; Part MPN STM32L031K6U7 decodes to 32-pin (K), 32 KB Flash (6), UFQFPN package (U), so the UFQFPN32 5"
        ],
        "pages_sent": 59,
        "cost_usd": 0.0729,
        "at": "2026-11-06T01:05:26"
      },
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/stm32l031k6u7.pdf",
        "pages": 126,
        "sha256": "9726c48418e03f62",
        "source_tier": "mfr"
      },
      "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"
    },
    "models_3d": [
      {
        "file": "stm32l031k6u7.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5,
          5,
          1.1
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "90af021df1253eae35bee4f4a4f9ba63bcf4a308f6e9f12d58f6e00181c23140",
        "checked": "2026-11-06",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32l031k6u7-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5,
          5,
          1.1
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "9535d1ac09c73fc86742fb515033f87b1a707915ee790db25904bea02eebfae3",
        "checked": "2026-11-06",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "UFQFPN-32(5x5)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "33"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm32l031k6u7"
  ],
  "discovery_pitch": "STM32L031K6U7 (STMicroelectronics) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32l031k6u7.kicad_sym",
    "stm32l031k6u7.kicad_mod",
    "stm32l031k6u7.glb",
    "stm32l031k6u7.step",
    "stm32l031k6u7.lbr",
    "docs/hero.png",
    "docs/stm32l031k6u7-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32l031k6u7-hero.glb",
    "stm32l031k6u7-hero.overlay.json",
    "stm32l031k6u7-etched.glb",
    "stm32l031k6u7-etched.step"
  ],
  "visibility": "public",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), UFQFPN-32(5x5). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "org": "adom"
}