main
Ray Publish 0.1.0 d151c97 17d ago
{
  "slug": "stm32l152r8t6",
  "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",
    "stm32l152r8t6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32l152r8t6.kicad_sym",
    "stm32l152r8t6.kicad_mod",
    "stm32l152r8t6.glb",
    "stm32l152r8t6.step",
    "stm32l152r8t6.lbr",
    "docs/hero.png",
    "docs/stm32l152r8t6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32l152r8t6-hero.glb",
    "stm32l152r8t6-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32L152R8T6",
    "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/8588922351123226624",
    "parts": {
      "symbol": "stm32l152r8t6.kicad_sym",
      "footprint": "stm32l152r8t6.kicad_mod",
      "model_3d": "stm32l152r8t6-hero.glb",
      "model_3d_plain": "stm32l152r8t6.glb",
      "model_3d_step": "stm32l152r8t6-etched.step",
      "model_3d_step_plain": "stm32l152r8t6.step",
      "lbr": "stm32l152r8t6.lbr"
    },
    "distributor_links": {
      "lcsc": "C1337746",
      "digikey": "497-11198-ND",
      "mouser": "511-STM32L152R8T6"
    },
    "distributor_check": {
      "checked_at": "2026-10-11T01:56:19Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-11198-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32L152R8T6",
        "status": "found",
        "lifecycle": "Not Recommended for New Designs"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VLCD",
        "type": "power_in",
        "description": "LCD power supply pin; on STM32L152xx devices it is the LCD supply (on STM32L151xx it should be connected to VDD)."
      },
      {
        "number": "2",
        "name": "PC13-WKUP2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also RTC_TAMP1/RTC_TS/RTC_OUT and wakeup pin WKUP2."
      },
      {
        "number": "3",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O; used as OSC32_IN (LSE) only when the LSE oscillator is on (LSEON), otherwise usable as GPIO PC14."
      },
      {
        "number": "4",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O; used as OSC32_OUT (LSE) only when the LSE oscillator is on (LSEON), otherwise usable as GPIO PC15."
      },
      {
        "number": "5",
        "name": "PH0-OSC_IN",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O; used as HSE oscillator input OSC_IN only when HSE is on (HSEON), otherwise usable as GPIO PH0."
      },
      {
        "number": "6",
        "name": "PH1-OSC_OUT",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O; used as HSE oscillator output OSC_OUT only when HSE is on (HSEON), otherwise usable as GPIO PH1."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Bidirectional reset pin with embedded weak pull-up resistor."
      },
      {
        "number": "8",
        "name": "PC0",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also LCD_SEG18, ADC_IN10 and COMP1_INP."
      },
      {
        "number": "9",
        "name": "PC1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also LCD_SEG19, ADC_IN11 and COMP1_INP."
      },
      {
        "number": "10",
        "name": "PC2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also LCD_SEG20, ADC_IN12 and COMP1_INP."
      },
      {
        "number": "11",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O; also LCD_SEG21, ADC_IN13 and COMP1_INP."
      },
      {
        "number": "12",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground pin; VSSA must be tied to ground."
      },
      {
        "number": "13",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply pin; VDDA range is 1.8 V to 3.6 V."
      },
      {
        "number": "14",
        "name": "PA0-WKUP1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also USART2_CTS, TIM2_CH1_ETR, wakeup WKUP1, ADC_IN0 and COMP1_INP."
      },
      {
        "number": "15",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also USART2_RTS, TIM2_CH2, LCD_SEG0, ADC_IN1 and COMP1_INP."
      },
      {
        "number": "16",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also USART2_TX, TIM2_CH3, TIM9_CH1, LCD_SEG1, ADC_IN2 and COMP1_INP."
      },
      {
        "number": "17",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O; also USART2_RX, TIM2_CH4, TIM9_CH2, LCD_SEG2, ADC_IN3 and COMP1_INP."
      },
      {
        "number": "18",
        "name": "VSS_4",
        "type": "power_in",
        "description": "Digital ground pin."
      },
      {
        "number": "19",
        "name": "VDD_4",
        "type": "power_in",
        "description": "Digital supply pin; device operates from 1.65 V to 3.6 V."
      },
      {
        "number": "20",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O; also SPI1_NSS, USART2_CK, ADC_IN4, DAC_OUT1 and COMP1_INP."
      },
      {
        "number": "21",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O; also SPI1_SCK, TIM2_CH1_ETR, ADC_IN5, DAC_OUT2 and COMP1_INP."
      },
      {
        "number": "22",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also SPI1_MISO, TIM3_CH1, LCD_SEG3, TIM10_CH1, ADC_IN6 and COMP1_INP."
      },
      {
        "number": "23",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also SPI1_MOSI, TIM3_CH2, LCD_SEG4, TIM11_CH1, ADC_IN7 and COMP1_INP."
      },
      {
        "number": "24",
        "name": "PC4",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also LCD_SEG22, ADC_IN14 and COMP1_INP."
      },
      {
        "number": "25",
        "name": "PC5",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also LCD_SEG23, ADC_IN15 and COMP1_INP."
      },
      {
        "number": "26",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O; also TIM3_CH3, LCD_SEG5, ADC_IN8, COMP1_INP and VREF_OUT."
      },
      {
        "number": "27",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also TIM3_CH4, LCD_SEG6, ADC_IN9, COMP1_INP and VREF_OUT."
      },
      {
        "number": "28",
        "name": "PB2/BOOT1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also BOOT1 boot-mode selection pin."
      },
      {
        "number": "29",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also I2C2_SCL, USART3_TX, TIM2_CH3 and LCD_SEG10."
      },
      {
        "number": "30",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also I2C2_SDA, USART3_RX, TIM2_CH4 and LCD_SEG11."
      },
      {
        "number": "31",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Digital ground pin."
      },
      {
        "number": "32",
        "name": "VDD_1",
        "type": "power_in",
        "description": "Digital supply pin; device operates from 1.65 V to 3.6 V."
      },
      {
        "number": "33",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also SPI2_NSS, I2C2_SMBA, USART3_CK, LCD_SEG12, TIM10_CH1, ADC_IN18 and COMP1_INP."
      },
      {
        "number": "34",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also SPI2_SCK, USART3_CTS, LCD_SEG13, TIM9_CH1, ADC_IN19 and COMP1_INP."
      },
      {
        "number": "35",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also SPI2_MISO, USART3_RTS, LCD_SEG14, TIM9_CH2, ADC_IN20 and COMP1_INP."
      },
      {
        "number": "36",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also SPI2_MOSI, LCD_SEG15, TIM11_CH1, ADC_IN21, COMP1_INP and RTC_REFIN."
      },
      {
        "number": "37",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also TIM3_CH1 and LCD_SEG24."
      },
      {
        "number": "38",
        "name": "PC7",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also TIM3_CH2 and LCD_SEG25."
      },
      {
        "number": "39",
        "name": "PC8",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also TIM3_CH3 and LCD_SEG26."
      },
      {
        "number": "40",
        "name": "PC9",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also TIM3_CH4 and LCD_SEG27."
      },
      {
        "number": "41",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also USART1_CK, MCO and LCD_COM0."
      },
      {
        "number": "42",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also USART1_TX and LCD_COM1."
      },
      {
        "number": "43",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also USART1_RX and LCD_COM2."
      },
      {
        "number": "44",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also USART1_CTS, SPI1_MISO and USB_DM."
      },
      {
        "number": "45",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also USART1_RTS, SPI1_MOSI and USB_DP."
      },
      {
        "number": "46",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; after reset it is the JTMS-SWDIO serial wire debug pin."
      },
      {
        "number": "47",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Digital ground pin."
      },
      {
        "number": "48",
        "name": "VDD_2",
        "type": "power_in",
        "description": "Digital supply pin; device operates from 1.65 V to 3.6 V."
      },
      {
        "number": "49",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; after reset it is the JTCK-SWCLK serial wire debug pin."
      },
      {
        "number": "50",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also JTDI, TIM2_CH1_ETR, SPI1_NSS and LCD_SEG17."
      },
      {
        "number": "51",
        "name": "PC10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also USART3_TX, LCD_SEG28, LCD_SEG40 and LCD_COM4."
      },
      {
        "number": "52",
        "name": "PC11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also USART3_RX, LCD_SEG29, LCD_SEG41 and LCD_COM5."
      },
      {
        "number": "53",
        "name": "PC12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also USART3_CK, LCD_SEG30, LCD_SEG42 and LCD_COM6."
      },
      {
        "number": "54",
        "name": "PD2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also TIM3_ETR, LCD_SEG31, LCD_SEG43 and LCD_COM7."
      },
      {
        "number": "55",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also JTDO, TIM2_CH2, SPI1_SCK, LCD_SEG7 and COMP2_INM."
      },
      {
        "number": "56",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also NJTRST, TIM3_CH1, SPI1_MISO, LCD_SEG8 and COMP2_INP."
      },
      {
        "number": "57",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also I2C1_SMBA, TIM3_CH2, SPI1_MOSI, LCD_SEG9 and COMP2_INP."
      },
      {
        "number": "58",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also I2C1_SCL, TIM4_CH1 and USART1_TX."
      },
      {
        "number": "59",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also I2C1_SDA, TIM4_CH2, USART1_RX and PVD_IN."
      },
      {
        "number": "60",
        "name": "BOOT0",
        "type": "input",
        "description": "Dedicated BOOT0 boot-mode selection input pin."
      },
      {
        "number": "61",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also TIM4_CH3, I2C1_SCL, LCD_SEG16 and TIM10_CH1."
      },
      {
        "number": "62",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; also TIM4_CH4, I2C1_SDA, LCD_COM3 and TIM11_CH1."
      },
      {
        "number": "63",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Digital ground pin."
      },
      {
        "number": "64",
        "name": "VDD_3",
        "type": "power_in",
        "description": "Digital supply pin; device operates from 1.65 V to 3.6 V."
      }
    ],
    "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 8 gives only the pin function list and I/O structure class (FT = 5 V tolerant, TC = standard 3; Pin 1 (VLCD) is labelled as a note-3 pin: it applies to STM32L152xx devices only. The MPN STM32L152R; Pins 3-6 (PC14, PC15, PH0, PH1) are oscillator pins that act as GPIO only when the LSE/HSE oscillato"
        ],
        "pages_sent": 62,
        "cost_usd": 0.2895,
        "at": "2026-10-11T01:55:53"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922351123226624",
        "pages": 133,
        "sha256": "5223296de36fe904",
        "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": "stm32l152r8t6.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": "stm32l152r8t6-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": "d7b4642aece600e1c50ad526fa3a838d03902cb5ac7b0aab3e11d76a01eda4c8",
        "checked": "2026-10-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}