main
Ray Publish 0.1.0 002117f 19d ago
{
  "slug": "stm32l031c4t6",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32l031c4t6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32l031c4t6.kicad_sym",
    "stm32l031c4t6.kicad_mod",
    "stm32l031c4t6.glb",
    "stm32l031c4t6.step",
    "stm32l031c4t6.lbr",
    "docs/hero.png",
    "docs/stm32l031c4t6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32l031c4t6-hero.glb",
    "stm32l031c4t6-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32L031C4T6",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-48(7x7)",
    "pin_count": 48,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922204574920704",
    "parts": {
      "symbol": "stm32l031c4t6.kicad_sym",
      "footprint": "stm32l031c4t6.kicad_mod",
      "model_3d": "stm32l031c4t6-hero.glb",
      "model_3d_plain": "stm32l031c4t6.glb",
      "model_3d_step": "stm32l031c4t6-etched.step",
      "model_3d_step_plain": "stm32l031c4t6.step",
      "lbr": "stm32l031c4t6.lbr"
    },
    "distributor_links": {
      "lcsc": "C1338860",
      "digikey": "497-17482-ND",
      "mouser": "511-STM32L031C4T6"
    },
    "distributor_check": {
      "checked_at": "2026-10-08T21:50:59Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-17482-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32L031C4T6",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PC0",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions LPTIM1_IN1, EVENTOUT and LPUART1_RX."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate function ANTI_TAMP and additional function TAMP1/WKUP2."
      },
      {
        "number": "3",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "General-purpose I/O with standard 3.3 V (TC) structure; its additional function is the OSC32_IN low-speed oscillator input."
      },
      {
        "number": "4",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "General-purpose I/O with standard 3.3 V (TC) structure; its additional function is the OSC32_OUT low-speed oscillator output."
      },
      {
        "number": "5",
        "name": "PH0-OSC_IN",
        "type": "bidirectional",
        "description": "I/O with standard 3.3 V (TC) structure; its alternate function is OSC_IN, the high-speed oscillator input."
      },
      {
        "number": "6",
        "name": "PH1-OSC_OUT",
        "type": "bidirectional",
        "description": "I/O with standard 3.3 V (TC) structure; its alternate function is OSC_OUT, the high-speed oscillator output."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Bidirectional reset pin with an embedded weak pull-up resistor."
      },
      {
        "number": "8",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground pin for the analog peripherals."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply pin for the analog peripherals; the datasheet gives a minimum VDDA of 1.65 V."
      },
      {
        "number": "10",
        "name": "PA0",
        "type": "bidirectional",
        "description": "General-purpose I/O with standard 3.3 V (TC) structure; alternate functions include LPTIM1_IN1, TIM2_CH1, USART2_CTS, TIM2_ETR and COMP1_OUT, and additional functions COMP1_INM6, ADC_IN0 and RTC_TAMP2/WKUP1."
      },
      {
        "number": "11",
        "name": "PA1",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include EVENTOUT, LPTIM1_IN2, TIM2_CH2, I2C1_SMBA, USART2_RTS/USART2_DE and TIM21_ETR, and additional functions COMP1_INP and ADC_IN1."
      },
      {
        "number": "12",
        "name": "PA2",
        "type": "bidirectional",
        "description": "General-purpose I/O with standard 3.3 V (TC) structure; alternate functions include TIM21_CH1, TIM2_CH3, USART2_TX, LPUART1_TX and COMP2_OUT, and additional functions COMP2_INM6, ADC_IN2 and RTC_TAMP3/RTC_TS/RTC_OUT/WKUP3."
      },
      {
        "number": "13",
        "name": "PA3",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include TIM21_CH2, TIM2_CH4, USART2_RX and LPUART1_RX, and additional functions COMP2_INP and ADC_IN3."
      },
      {
        "number": "14",
        "name": "PA4",
        "type": "bidirectional",
        "description": "General-purpose I/O with standard 3.3 V (TC) structure; alternate functions include SPI1_NSS, LPTIM1_IN1, USART2_CK and TIM22_ETR, and additional functions COMP1_INM4, COMP2_INM4 and ADC_IN4."
      },
      {
        "number": "15",
        "name": "PA5",
        "type": "bidirectional",
        "description": "General-purpose I/O with standard 3.3 V (TC) structure; alternate functions include SPI1_SCK, LPTIM1_IN2, TIM2_ETR and TIM2_CH1, and additional functions COMP1_INM5, COMP2_INM5 and ADC_IN5."
      },
      {
        "number": "16",
        "name": "PA6",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include SPI1_MISO, LPTIM1_ETR, LPUART1_CTS, TIM22_CH1, EVENTOUT and COMP1_OUT, and additional function ADC_IN6."
      },
      {
        "number": "17",
        "name": "PA7",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include SPI1_MOSI, LPTIM1_OUT, USART2_CTS, TIM22_CH2, EVENTOUT and COMP2_OUT, and additional function ADC_IN7."
      },
      {
        "number": "18",
        "name": "PB0",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include EVENTOUT, SPI1_MISO, USART2_RTS/USART2_DE and TIM2_CH3, and additional functions ADC_IN8 and VREF_OUT."
      },
      {
        "number": "19",
        "name": "PB1",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include USART2_CK, SPI1_MOSI, LPUART1_RTS/LPUART1_DE and TIM2_CH4, and additional functions ADC_IN9 and VREF_OUT."
      },
      {
        "number": "20",
        "name": "PB2",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate function is LPTIM1_OUT."
      },
      {
        "number": "21",
        "name": "PB10",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include TIM2_CH3 and LPUART1_TX."
      },
      {
        "number": "22",
        "name": "PB11",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include EVENTOUT, TIM2_CH4 and LPUART1_RX."
      },
      {
        "number": "23",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin of the digital supply domain."
      },
      {
        "number": "24",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital supply pin; the device operates from a 1.65 V to 3.6 V power supply."
      },
      {
        "number": "25",
        "name": "PB12",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include SPI1_NSS and EVENTOUT."
      },
      {
        "number": "26",
        "name": "PB13",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include SPI1_SCK, MCO, TIM21_CH1 and LPUART1_CTS."
      },
      {
        "number": "27",
        "name": "PB14",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include SPI1_MISO, RTC_OUT, TIM21_CH2 and LPUART1_RTS/LPUART1_DE."
      },
      {
        "number": "28",
        "name": "PB15",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include SPI1_MOSI and RTC_REFIN."
      },
      {
        "number": "29",
        "name": "PA8",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include MCO, LPTIM1_IN1, EVENTOUT, USART2_CK and TIM2_CH1."
      },
      {
        "number": "30",
        "name": "PA9",
        "type": "bidirectional",
        "description": "Fast Mode Plus capable 5 V tolerant I/O (FTf); alternate functions include MCO, I2C1_SCL, USART2_TX and TIM22_CH1."
      },
      {
        "number": "31",
        "name": "PA10",
        "type": "bidirectional",
        "description": "Fast Mode Plus capable 5 V tolerant I/O (FTf); alternate functions include I2C1_SDA, USART2_RX and TIM22_CH2."
      },
      {
        "number": "32",
        "name": "PA11",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include SPI1_MISO, EVENTOUT, USART2_CTS, TIM21_CH2 and COMP1_OUT."
      },
      {
        "number": "33",
        "name": "PA12",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include SPI1_MOSI, EVENTOUT, USART2_RTS/USART2_DE and COMP2_OUT."
      },
      {
        "number": "34",
        "name": "PA13",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include SWDIO, LPTIM1_ETR and LPUART1_RX."
      },
      {
        "number": "35",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin of the digital supply domain."
      },
      {
        "number": "36",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital supply pin; the device operates from a 1.65 V to 3.6 V power supply."
      },
      {
        "number": "37",
        "name": "PA14",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include SWCLK, LPTIM1_OUT, I2C1_SMBA, USART2_TX and LPUART1_TX."
      },
      {
        "number": "38",
        "name": "PA15",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include SPI1_NSS, TIM2_ETR, EVENTOUT, USART2_RX and TIM2_CH1."
      },
      {
        "number": "39",
        "name": "PB3",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include SPI1_SCK, TIM2_CH2 and EVENTOUT, and additional function COMP2_INN."
      },
      {
        "number": "40",
        "name": "PB4",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include SPI1_MISO, EVENTOUT and TIM22_CH1, and additional function COMP2_INP."
      },
      {
        "number": "41",
        "name": "PB5",
        "type": "bidirectional",
        "description": "General-purpose I/O with 5 V tolerant (FT) structure; alternate functions include SPI1_MOSI, LPTIM1_IN1, I2C1_SMBA and TIM22_CH2, and additional function COMP2_INP."
      },
      {
        "number": "42",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Fast Mode Plus capable 5 V tolerant I/O (FTf); alternate functions include USART2_TX, I2C1_SCL, LPTIM1_ETR and TIM21_CH1, and additional function COMP2_INP."
      },
      {
        "number": "43",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Fast Mode Plus capable 5 V tolerant I/O (FTf); alternate functions include USART2_RX, I2C1_SDA and LPTIM1_IN2, and additional functions COMP2_INP and VREF_PVD_IN."
      },
      {
        "number": "44",
        "name": "BOOT0",
        "type": "input",
        "description": "Dedicated BOOT0 pin used for boot mode selection."
      },
      {
        "number": "45",
        "name": "PB8",
        "type": "bidirectional",
        "description": "Fast Mode Plus capable 5 V tolerant I/O (FTf); alternate function is I2C1_SCL."
      },
      {
        "number": "46",
        "name": "PB9",
        "type": "bidirectional",
        "description": "Fast Mode Plus capable 5 V tolerant I/O (FTf); alternate functions include EVENTOUT and I2C1_SDA."
      },
      {
        "number": "47",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin of the digital supply domain."
      },
      {
        "number": "48",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital supply pin; the device operates from a 1.65 V to 3.6 V power supply."
      }
    ],
    "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: Figure 4 (LQFP48 pinout) is a graphic whose text layer is garbled, so the pin-to-position mapping wa; Table 15 gives no per-pin electrical limits. Descriptions state the I/O structure (FT, FTf, TC, B, R; Pin 3 and pin 4 (PC14/PC15) and pins 5 and 6 (PH0/PH1) carry oscillator functions with a different n"
        ],
        "pages_sent": 59,
        "cost_usd": 0.2507,
        "at": "2026-10-08T21:50:37"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922204574920704",
        "pages": 126,
        "sha256": "9726c48418e03f62",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 48,
        "described": 48,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm32l031c4t6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
        "checked": "2026-10-08",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32l031c4t6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "efb14e0aad72896e6014485c797acc28d2a1ff64c1d5e6d1bb021d8dfcf39b0e",
        "checked": "2026-10-08",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}