main
Ray Publish 0.1.0 85ef3ff 12d ago
{
  "slug": "stm32l031f6p7",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Datasheet-verified pinout, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32l031f6p7",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32l031f6p7.kicad_sym",
    "stm32l031f6p7.kicad_mod",
    "stm32l031f6p7.glb",
    "stm32l031f6p7.step",
    "stm32l031f6p7.lbr",
    "docs/hero.png",
    "docs/stm32l031f6p7-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "component": {
    "mpn": "STM32L031F6P7",
    "manufacturer": "STMicroelectronics",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://www.st.com/resource/en/datasheet/stm32l031f6p7.pdf",
    "parts": {
      "symbol": "stm32l031f6p7.kicad_sym",
      "footprint": "stm32l031f6p7.kicad_mod",
      "model_3d": "stm32l031f6p7-etched.glb",
      "model_3d_plain": "stm32l031f6p7.glb",
      "model_3d_step": "stm32l031f6p7-etched.step",
      "model_3d_step_plain": "stm32l031f6p7.step",
      "lbr": "stm32l031f6p7.lbr"
    },
    "distributor_links": {
      "lcsc": "C1337403"
    },
    "pins": [
      {
        "number": "1",
        "name": "BOOT0",
        "type": "input",
        "description": "Bootstrap pin to select boot mode (Flash memory, System memory, or embedded RAM) during device startup"
      },
      {
        "number": "2",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "32.768 kHz oscillator input pin for low-speed external crystal or general-purpose I/O pin configured as standard CMOS level"
      },
      {
        "number": "3",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "32.768 kHz oscillator output pin for low-speed external crystal or general-purpose I/O pin configured as standard CMOS level"
      },
      {
        "number": "4",
        "name": "NRST",
        "type": "bidirectional",
        "description": "External reset input pin with embedded weak pull-up resistor (25 to 65 k\u03a9) for device reset control"
      },
      {
        "number": "5",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply voltage (1.65 to 3.6 V) for ADC, reset blocks, RCs and PLL"
      },
      {
        "number": "6",
        "name": "PA0-CK_IN",
        "type": "bidirectional",
        "description": "General-purpose I/O port A pin 0, LPTIM input, timer channels, USART/LPUART signals, comparator output, or high-speed external clock input"
      },
      {
        "number": "7",
        "name": "PA1",
        "type": "bidirectional",
        "description": "General-purpose I/O port A pin 1 (5V tolerant), supports LPTIM, timer channels, I2C, USART, and event output functions"
      },
      {
        "number": "8",
        "name": "PA2",
        "type": "bidirectional",
        "description": "General-purpose I/O port A pin 2 (standard 3.3V I/O), supports timer channels, USART, LPUART, and comparator output functions"
      },
      {
        "number": "9",
        "name": "PA3",
        "type": "bidirectional",
        "description": "General-purpose I/O port A pin 3 (5V tolerant), supports timer channels, USART, and LPUART functions"
      },
      {
        "number": "10",
        "name": "PA4",
        "type": "bidirectional",
        "description": "General-purpose I/O port A pin 4 (standard 3.3V I/O), supports SPI, LPTIM, USART, timer, and comparator input functions"
      },
      {
        "number": "11",
        "name": "PA5",
        "type": "bidirectional",
        "description": "General-purpose I/O port A pin 5 (standard 3.3V I/O), supports SPI, LPTIM, and timer functions"
      },
      {
        "number": "12",
        "name": "PA6",
        "type": "bidirectional",
        "description": "General-purpose I/O port A pin 6 (5V tolerant), supports SPI, LPTIM, timer, event output, and comparator output functions"
      },
      {
        "number": "13",
        "name": "PA7",
        "type": "bidirectional",
        "description": "General-purpose I/O port A pin 7 (5V tolerant), supports SPI, LPTIM, timer, event output, and comparator output functions"
      },
      {
        "number": "14",
        "name": "PB1",
        "type": "bidirectional",
        "description": "General-purpose I/O port B pin 1 (5V tolerant), supports USART clock, SPI, and LPUART functions"
      },
      {
        "number": "15",
        "name": "VSS",
        "type": "power_out",
        "description": "Ground supply connection (0 V reference) for device"
      },
      {
        "number": "16",
        "name": "VDD",
        "type": "power_in",
        "description": "Main power supply voltage (1.65 to 3.6 V) for I/Os and internal regulator"
      },
      {
        "number": "17",
        "name": "PA9",
        "type": "bidirectional",
        "description": "General-purpose I/O port A pin 9 (5V tolerant with FM+ Fast Mode Plus capability), supports I2C, USART, and timer functions"
      },
      {
        "number": "18",
        "name": "PA10",
        "type": "bidirectional",
        "description": "General-purpose I/O port A pin 10 (5V tolerant with FM+ Fast Mode Plus capability), supports I2C, USART, and timer functions"
      },
      {
        "number": "19",
        "name": "PA13",
        "type": "bidirectional",
        "description": "General-purpose I/O port A pin 13 (5V tolerant), serial wire debug I/O (SWDIO), supports LPTIM and LPUART functions"
      },
      {
        "number": "20",
        "name": "PA14",
        "type": "bidirectional",
        "description": "General-purpose I/O port A pin 14 (5V tolerant), serial wire debug clock (SWCLK), supports I2C, USART, LPTIM, and LPUART functions"
      }
    ],
    "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",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: PC14-OSC32_IN (pin 2) and PC15-OSC32_OUT (pin 3) are oscillator pins that can also function as gener; NRST (pin 4) is a special purpose reset pin with open-drain behavior; classified as bidirectional du; All GPIO pins (PA0-PA14, PB1) support multiple alternate functions via GPIO alternate function regis",
          "5/20 pins cited to the wrong page (name found elsewhere): ['15:VSS@p21', '17:PA9@p39', '18:PA10@p39', '19:PA13@p39']"
        ],
        "pages_sent": 126,
        "cost_usd": 1.1854,
        "at": "2026-09-23T17:10:27"
      },
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/stm32l031f6p7.pdf",
        "pages": 126,
        "sha256": "9726c48418e03f62",
        "source_tier": "mfr"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 20,
        "described": 20,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    }
  }
}