main
Ray Publish 0.1.0 ea7a4d2 16d ago
{
  "slug": "stm32l051r8t7",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32l051r8t7",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32l051r8t7.kicad_sym",
    "stm32l051r8t7.kicad_mod",
    "stm32l051r8t7.glb",
    "stm32l051r8t7.step",
    "stm32l051r8t7.lbr",
    "docs/hero.png",
    "docs/stm32l051r8t7-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32l051r8t7-hero.glb",
    "stm32l051r8t7-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32L051R8T7",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-64(10x10)",
    "pin_count": 64,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588924061325922304",
    "parts": {
      "symbol": "stm32l051r8t7.kicad_sym",
      "footprint": "stm32l051r8t7.kicad_mod",
      "model_3d": "stm32l051r8t7-hero.glb",
      "model_3d_plain": "stm32l051r8t7.glb",
      "model_3d_step": "stm32l051r8t7-etched.step",
      "model_3d_step_plain": "stm32l051r8t7.step",
      "lbr": "stm32l051r8t7.lbr"
    },
    "distributor_links": {
      "lcsc": "C1339834",
      "digikey": "497-18573-ND",
      "mouser": "511-STM32L051R8T7"
    },
    "distributor_check": {
      "checked_at": "2026-10-11T15:17:37Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-18573-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32L051R8T7",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply pin of the MCU."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO that also provides RTC_TAMP1, RTC_TS, RTC_OUT and WKUP2 functions."
      },
      {
        "number": "3",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO that is also the OSC32_IN input of the 32 kHz low-speed oscillator."
      },
      {
        "number": "4",
        "name": "PC15-OSC32_OUT (PC15)",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) GPIO that is also the OSC32_OUT output of the 32 kHz low-speed oscillator."
      },
      {
        "number": "5",
        "name": "PH0-OSC_IN",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) GPIO that is also the OSC_IN input of the high-speed external oscillator."
      },
      {
        "number": "6",
        "name": "PH1-OSC_OUT (PH1)",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) GPIO that is also the OSC_OUT output of the high-speed external oscillator."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Bidirectional reset pin with an embedded weak pull-up resistor."
      },
      {
        "number": "8",
        "name": "PC0",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions LPTIM1_IN1 and EVENTOUT and analog input ADC_IN10."
      },
      {
        "number": "9",
        "name": "PC1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions LPTIM1_OUT and EVENTOUT and analog input ADC_IN11."
      },
      {
        "number": "10",
        "name": "PC2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions LPTIM1_IN2 and SPI2_MISO/I2S2_MCK and analog input ADC_IN12."
      },
      {
        "number": "11",
        "name": "PC3",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions LPTIM1_ETR and SPI2_MOSI/I2S2_SD and analog input ADC_IN13."
      },
      {
        "number": "12",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground pin."
      },
      {
        "number": "13",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply pin."
      },
      {
        "number": "14",
        "name": "PA0",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) GPIO with alternate functions TIM2_CH1, USART2_CTS, TIM2_ETR and COMP1_OUT, plus analog inputs COMP1_INM6, ADC_IN0 and RTC_TAMP2/WKUP1."
      },
      {
        "number": "15",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions EVENTOUT, TIM2_CH2, USART2_RTS/USART2_DE and TIM21_ETR, plus analog inputs COMP1_INP and ADC_IN1."
      },
      {
        "number": "16",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions TIM21_CH1, TIM2_CH3, USART2_TX and COMP2_OUT, plus analog inputs COMP2_INM6 and ADC_IN2."
      },
      {
        "number": "17",
        "name": "PA3",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions TIM21_CH2, TIM2_CH4 and USART2_RX, plus analog inputs COMP2_INP and ADC_IN3."
      },
      {
        "number": "18",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin."
      },
      {
        "number": "19",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply pin of the MCU."
      },
      {
        "number": "20",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) GPIO with alternate functions SPI1_NSS, USART2_CK and TIM22_ETR, plus analog inputs COMP1_INM4, COMP2_INM4 and ADC_IN4."
      },
      {
        "number": "21",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) GPIO with alternate functions SPI1_SCK, TIM2_ETR and TIM2_CH1, plus analog inputs COMP1_INM5, COMP2_INM5 and ADC_IN5."
      },
      {
        "number": "22",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SPI1_MISO, LPUART1_CTS, TIM22_CH1, EVENTOUT and COMP1_OUT, plus analog input ADC_IN6."
      },
      {
        "number": "23",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SPI1_MOSI, TIM22_CH2, EVENTOUT and COMP2_OUT, plus analog input ADC_IN7."
      },
      {
        "number": "24",
        "name": "PC4",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions EVENTOUT and LPUART1_TX, plus analog input ADC_IN14."
      },
      {
        "number": "25",
        "name": "PC5",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate function LPUART1_RX, plus analog input ADC_IN15."
      },
      {
        "number": "26",
        "name": "PB0",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate function EVENTOUT, plus analog input ADC_IN8 and VREF_OUT."
      },
      {
        "number": "27",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate function LPUART1_RTS/LPUART1_DE, plus analog input ADC_IN9 and VREF_OUT."
      },
      {
        "number": "28",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate function LPTIM1_OUT."
      },
      {
        "number": "29",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions TIM2_CH3, LPUART1_TX, SPI2_SCK and I2C2_SCL."
      },
      {
        "number": "30",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions EVENTOUT, TIM2_CH4, LPUART1_RX and I2C2_SDA."
      },
      {
        "number": "31",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin."
      },
      {
        "number": "32",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply pin of the MCU."
      },
      {
        "number": "33",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SPI2_NSS/I2S2_WS, LPUART1_RTS/LPUART1_DE and EVENTOUT."
      },
      {
        "number": "34",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V tolerant, FM+ capable (FTf) GPIO with alternate functions SPI2_SCK/I2S2_CK, LPUART1_CTS, I2C2_SCL and TIM21_CH1."
      },
      {
        "number": "35",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V tolerant, FM+ capable (FTf) GPIO with alternate functions SPI2_MISO/I2S2_MCK, RTC_OUT, LPUART1_RTS/LPUART1_DE, I2C2_SDA and TIM21_CH2."
      },
      {
        "number": "36",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SPI2_MOSI/I2S2_SD and RTC_REFIN."
      },
      {
        "number": "37",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate function TIM22_CH1."
      },
      {
        "number": "38",
        "name": "PC7",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate function TIM22_CH2."
      },
      {
        "number": "39",
        "name": "PC8",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate function TIM22_ETR."
      },
      {
        "number": "40",
        "name": "PC9",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate function TIM21_ETR."
      },
      {
        "number": "41",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions MCO, EVENTOUT and USART1_CK."
      },
      {
        "number": "42",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions MCO and USART1_TX."
      },
      {
        "number": "43",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate function USART1_RX."
      },
      {
        "number": "44",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO supplied by VDDIO2, with alternate functions SPI1_MISO, EVENTOUT, USART1_CTS and COMP1_OUT."
      },
      {
        "number": "45",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO supplied by VDDIO2, with alternate functions SPI1_MOSI, EVENTOUT, USART1_RTS/USART1_DE and COMP2_OUT."
      },
      {
        "number": "46",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate function SWDIO (serial wire debug data)."
      },
      {
        "number": "47",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin."
      },
      {
        "number": "48",
        "name": "VDDIO2",
        "type": "power_in",
        "description": "I/O supply pin for PA11 and PA12, per the pin definitions note 2."
      },
      {
        "number": "49",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SWCLK and USART2_TX."
      },
      {
        "number": "50",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SPI1_NSS, TIM2_ETR, EVENTOUT, USART2_RX and TIM2_CH1."
      },
      {
        "number": "51",
        "name": "PC10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate function LPUART1_TX."
      },
      {
        "number": "52",
        "name": "PC11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate function LPUART1_RX."
      },
      {
        "number": "53",
        "name": "PC12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with no alternate function listed in Table 15."
      },
      {
        "number": "54",
        "name": "PD2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate function LPUART1_RTS/LPUART1_DE."
      },
      {
        "number": "55",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SPI1_SCK, TIM2_CH2 and EVENTOUT, plus analog comparator input COMP2_INN."
      },
      {
        "number": "56",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SPI1_MISO, EVENTOUT and TIM22_CH1, plus comparator input COMP2_INP."
      },
      {
        "number": "57",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SPI1_MOSI, LPTIM1_IN1, I2C1_SMBA and TIM22_CH2, plus comparator input COMP2_INP."
      },
      {
        "number": "58",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant, FM+ capable (FTf) GPIO with alternate functions USART1_TX, I2C1_SCL and LPTIM1_ETR, plus comparator input COMP2_INP."
      },
      {
        "number": "59",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant, FM+ capable (FTf) GPIO with alternate functions USART1_RX, I2C1_SDA and LPTIM1_IN2, plus comparator input COMP2_INP and PVD_IN."
      },
      {
        "number": "60",
        "name": "BOOT0",
        "type": "input",
        "description": "Dedicated BOOT0 boot-mode pin."
      },
      {
        "number": "61",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant, FM+ capable (FTf) GPIO with alternate function I2C1_SCL."
      },
      {
        "number": "62",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V tolerant, FM+ capable (FTf) GPIO with alternate functions EVENTOUT, I2C1_SDA and SPI2_NSS/I2S2_WS."
      },
      {
        "number": "63",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin."
      },
      {
        "number": "64",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply pin of the MCU."
      }
    ],
    "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: Pin mapping was taken from the LQFP64 column of Table 15 (pin definitions, pages 38-42) because the ; PC15 I/O structure is TC in Table 15 (pin 4), but the Rev 5 revision history says the I/O structure ; VREF+ is not bonded on the LQFP64 package (it appears only for TFBGA64 and WLCSP36 in Table 15), so "
        ],
        "pages_sent": 59,
        "cost_usd": 0.2651,
        "at": "2026-10-11T15:17:13"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588924061325922304",
        "pages": 133,
        "sha256": "232fdca5c41218a1",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 64,
        "described": 64,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm32l051r8t7.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "b0c827bc5c05552175d28affe44a5bd2ab45c9c36efff6ff07a74cc449b13db4",
        "checked": "2026-10-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32l051r8t7-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "c636728755486c09874a8b02b316b5c1fa7d29a32dd0f0505357e397397c8814",
        "checked": "2026-10-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}