main
Ray Publish 0.1.0 a2e38ca 2d ago
{
  "slug": "stm32l152rbt6a",
  "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",
    "stm32l152rbt6a",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32l152rbt6a.kicad_sym",
    "stm32l152rbt6a.kicad_mod",
    "stm32l152rbt6a.glb",
    "stm32l152rbt6a.step",
    "stm32l152rbt6a.lbr",
    "docs/hero.png",
    "docs/stm32l152rbt6a-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32l152rbt6a-hero.glb",
    "stm32l152rbt6a-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32L152RBT6A",
    "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/8586181602359578624",
    "parts": {
      "symbol": "stm32l152rbt6a.kicad_sym",
      "footprint": "stm32l152rbt6a.kicad_mod",
      "model_3d": "stm32l152rbt6a-hero.glb",
      "model_3d_plain": "stm32l152rbt6a.glb",
      "model_3d_step": "stm32l152rbt6a-etched.step",
      "model_3d_step_plain": "stm32l152rbt6a.step",
      "lbr": "stm32l152rbt6a.lbr"
    },
    "distributor_links": {
      "lcsc": "C95580",
      "digikey": "497-15829-ND",
      "mouser": "511-STM32L152RBT6A"
    },
    "distributor_check": {
      "checked_at": "2026-10-08T00:10:07Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-15829-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32L152RBT6A",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VLCD",
        "type": "power_in",
        "description": "LCD power supply pin (VLCD); applicable to STM32L152xxxxA devices only, and in STM32L151xxxxA devices it must be connected to VDD."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with RTC_TAMP1, RTC_TS, RTC_OUT and WKUP2 wakeup functions, floating input after reset."
      },
      {
        "number": "3",
        "name": "PC14",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) that is used as OSC32_IN only when the LSE oscillator is on (LSEON bit), otherwise it is general-purpose PC14."
      },
      {
        "number": "4",
        "name": "PC15",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) that is used as OSC32_OUT only when the LSE oscillator is on (LSEON bit), otherwise it is general-purpose PC15."
      },
      {
        "number": "5",
        "name": "PH0",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) that is used as OSC_IN only when the HSE oscillator is on (HSEON bit), otherwise it is general-purpose PH0."
      },
      {
        "number": "6",
        "name": "PH1",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) that is used as OSC_OUT only when the HSE oscillator is on (HSEON bit), otherwise it is general-purpose 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 I/O (FT) with LCD_SEG18, ADC_IN10 and COMP1_INP functions."
      },
      {
        "number": "9",
        "name": "PC1",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with LCD_SEG19, ADC_IN11 and COMP1_INP functions."
      },
      {
        "number": "10",
        "name": "PC2",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with LCD_SEG20, ADC_IN12 and COMP1_INP functions."
      },
      {
        "number": "11",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with LCD_SEG21, ADC_IN13 and COMP1_INP functions; this pin exists in the LQFP64 package but not in TFBGA64."
      },
      {
        "number": "12",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground pin; per the ADC section, VSSA or VREF- must be tied to ground."
      },
      {
        "number": "13",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply pin; the ADC characteristics specify VDDA from 1.8 V to 3.6 V."
      },
      {
        "number": "14",
        "name": "PA0",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with WKUP1, USART2_CTS, TIM2_CH1_ETR, ADC_IN0, COMP1_INP and RTC_TAMP2 functions."
      },
      {
        "number": "15",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with USART2_RTS, TIM2_CH2, LCD_SEG0, ADC_IN1 and COMP1_INP functions."
      },
      {
        "number": "16",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with USART2_TX, TIM2_CH3, TIM9_CH1, LCD_SEG1, ADC_IN2 and COMP1_INP functions."
      },
      {
        "number": "17",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with USART2_RX, TIM2_CH4, TIM9_CH2, LCD_SEG2, ADC_IN3 and COMP1_INP functions."
      },
      {
        "number": "18",
        "name": "VSS_4",
        "type": "power_in",
        "description": "Digital ground pin."
      },
      {
        "number": "19",
        "name": "VDD_4",
        "type": "power_in",
        "description": "Digital supply pin; the device power supply range is 1.65 V to 3.6 V."
      },
      {
        "number": "20",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with SPI1_NSS, USART2_CK, ADC_IN4, DAC_OUT1 and COMP1_INP functions."
      },
      {
        "number": "21",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with SPI1_SCK, TIM2_CH1_ETR, ADC_IN5, DAC_OUT2 and COMP1_INP functions."
      },
      {
        "number": "22",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with SPI1_MISO, TIM3_CH1, LCD_SEG3, TIM10_CH1, ADC_IN6 and COMP1_INP functions."
      },
      {
        "number": "23",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with SPI1_MOSI, TIM3_CH2, LCD_SEG4, TIM11_CH1, ADC_IN7 and COMP1_INP functions."
      },
      {
        "number": "24",
        "name": "PC4",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with LCD_SEG22, ADC_IN14 and COMP1_INP functions."
      },
      {
        "number": "25",
        "name": "PC5",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with LCD_SEG23, ADC_IN15 and COMP1_INP functions."
      },
      {
        "number": "26",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with TIM3_CH3, LCD_SEG5, ADC_IN8, COMP1_INP, VREF_OUT and VLCDRAIL3 functions."
      },
      {
        "number": "27",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with TIM3_CH4, LCD_SEG6, ADC_IN9, COMP1_INP and VREF_OUT functions."
      },
      {
        "number": "28",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) that also carries the BOOT1 and VLCDRAIL1 functions."
      },
      {
        "number": "29",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with I2C2_SCL, USART3_TX, TIM2_CH3 and LCD_SEG10 functions."
      },
      {
        "number": "30",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with I2C2_SDA, USART3_RX, TIM2_CH4 and LCD_SEG11 functions."
      },
      {
        "number": "31",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Digital ground pin."
      },
      {
        "number": "32",
        "name": "VDD_1",
        "type": "power_in",
        "description": "Digital supply pin; the device power supply range is 1.65 V to 3.6 V."
      },
      {
        "number": "33",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with SPI2_NSS, I2C2_SMBA, USART3_CK, LCD_SEG12, TIM10_CH1, ADC_IN18, COMP1_INP and VLCDRAIL2 functions."
      },
      {
        "number": "34",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with SPI2_SCK, USART3_CTS, LCD_SEG13, TIM9_CH1, ADC_IN19 and COMP1_INP functions."
      },
      {
        "number": "35",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with SPI2_MISO, USART3_RTS, LCD_SEG14, TIM9_CH2, ADC_IN20 and COMP1_INP functions."
      },
      {
        "number": "36",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with SPI2_MOSI, LCD_SEG15, TIM11_CH1, ADC_IN21, COMP1_INP and RTC_REFIN functions."
      },
      {
        "number": "37",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with TIM3_CH1 and LCD_SEG24 functions."
      },
      {
        "number": "38",
        "name": "PC7",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with TIM3_CH2 and LCD_SEG25 functions."
      },
      {
        "number": "39",
        "name": "PC8",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with TIM3_CH3 and LCD_SEG26 functions."
      },
      {
        "number": "40",
        "name": "PC9",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with TIM3_CH4 and LCD_SEG27 functions."
      },
      {
        "number": "41",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with USART1_CK, MCO and LCD_COM0 functions."
      },
      {
        "number": "42",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with USART1_TX and LCD_COM1 functions."
      },
      {
        "number": "43",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with USART1_RX and LCD_COM2 functions."
      },
      {
        "number": "44",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with USART1_CTS, SPI1_MISO and USB_DM functions."
      },
      {
        "number": "45",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with USART1_RTS, SPI1_MOSI and USB_DP functions."
      },
      {
        "number": "46",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) whose main function after reset is the JTMS-SWDIO serial wire debug data 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; the device power supply range is 1.65 V to 3.6 V."
      },
      {
        "number": "49",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) whose main function after reset is the JTCK-SWCLK serial wire debug clock pin."
      },
      {
        "number": "50",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with JTDI, TIM2_CH1_ETR, SPI1_NSS and LCD_SEG17 functions."
      },
      {
        "number": "51",
        "name": "PC10",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with USART3_TX, LCD_SEG28, LCD_SEG40 and LCD_COM4 functions."
      },
      {
        "number": "52",
        "name": "PC11",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with USART3_RX, LCD_SEG29, LCD_SEG41 and LCD_COM5 functions."
      },
      {
        "number": "53",
        "name": "PC12",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with USART3_CK, LCD_SEG30, LCD_SEG42 and LCD_COM6 functions."
      },
      {
        "number": "54",
        "name": "PD2",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with TIM3_ETR, LCD_SEG31, LCD_SEG43 and LCD_COM7 functions."
      },
      {
        "number": "55",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) whose main function after reset is JTDO, with TIM2_CH2, SPI1_SCK, LCD_SEG7 and COMP2_INM functions."
      },
      {
        "number": "56",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) whose main function after reset is NJTRST, with TIM3_CH1, SPI1_MISO, LCD_SEG8 and COMP2_INP functions."
      },
      {
        "number": "57",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with I2C1_SMBA, TIM3_CH2, SPI1_MOSI, LCD_SEG9 and COMP2_INP functions."
      },
      {
        "number": "58",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with I2C1_SCL, TIM4_CH1 and USART1_TX functions."
      },
      {
        "number": "59",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with I2C1_SDA, TIM4_CH2, USART1_RX and PVD_IN functions."
      },
      {
        "number": "60",
        "name": "BOOT0",
        "type": "input",
        "description": "Dedicated BOOT0 input pin used to select the boot mode."
      },
      {
        "number": "61",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with TIM4_CH3, I2C1_SCL, LCD_SEG16 and TIM10_CH1 functions."
      },
      {
        "number": "62",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT) with TIM4_CH4, I2C1_SDA, LCD_COM3 and TIM11_CH1 functions."
      },
      {
        "number": "63",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Digital ground pin."
      },
      {
        "number": "64",
        "name": "VDD_3",
        "type": "power_in",
        "description": "Digital supply pin; the device power supply range is 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: Pin mapping taken from the LQFP64 column of Table 9 (pin definitions) and the alternate-function tab; Pin 1 is VLCD, which is only a real LCD supply on STM32L152 devices (this MPN is an L152); the datas; Pin types are KiCad-style inferences from the datasheet I/O structure codes: FT and TC I/Os are bidi"
        ],
        "pages_sent": 60,
        "cost_usd": 0.2836,
        "at": "2026-10-08T00:09:38"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586181602359578624",
        "pages": 130,
        "sha256": "e5e0ab791f4e7879",
        "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": "stm32l152rbt6a.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-08",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32l152rbt6a-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": "1182ae0fd886354113e68dc7a9fa530cac89eb30ddaa96c01c199cb032b39483",
        "checked": "2026-10-08",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}