main
Ray Set visibility: public 6345b2a 16d ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm32l152rbt6",
  "title": "STM32L152RBT6",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32l152rbt6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM32L152RBT6",
    "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/8586177021525299200",
    "parts": {
      "symbol": "stm32l152rbt6.kicad_sym",
      "footprint": "stm32l152rbt6.kicad_mod",
      "model_3d": "stm32l152rbt6-hero.glb",
      "model_3d_plain": "stm32l152rbt6.glb",
      "model_3d_step": "stm32l152rbt6-etched.step",
      "model_3d_step_plain": "stm32l152rbt6.step",
      "lbr": "stm32l152rbt6.lbr"
    },
    "distributor_links": {
      "lcsc": "C47912",
      "digikey": "497-11199-ND",
      "mouser": "511-STM32L152RBT6"
    },
    "distributor_check": {
      "checked_at": "2026-10-10T23:43:10Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-11199-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32L152RBT6",
        "status": "found",
        "lifecycle": "Not Recommended for New Designs"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VLCD",
        "type": "power_in",
        "description": "LCD power supply pin, applicable to STM32L152xx devices only (on STM32L151xx it should be connected to VDD)."
      },
      {
        "number": "2",
        "name": "PC13-WKUP2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PC13, also usable as RTC_TAMP1/RTC_TS/RTC_OUT and wakeup input WKUP2."
      },
      {
        "number": "3",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with default function PC14; it becomes OSC32_IN only when the LSE oscillator is on (LSEON bit), and the LSE has priority over the GPIO function."
      },
      {
        "number": "4",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with default function PC15; it becomes OSC32_OUT only when the LSE oscillator is on (LSEON bit), and the LSE has priority over the GPIO function."
      },
      {
        "number": "5",
        "name": "PH0-OSC_IN",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with default function PH0; it becomes OSC_IN only when the HSE oscillator is on (HSEON bit), and the HSE has priority over the GPIO function."
      },
      {
        "number": "6",
        "name": "PH1-OSC_OUT",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with default function PH1; it becomes OSC_OUT only when the HSE oscillator is on (HSEON bit), and the HSE has priority over the GPIO function."
      },
      {
        "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 with default function PC0; alternate functions LCD_SEG18 and ADC_IN10/COMP1_INP."
      },
      {
        "number": "9",
        "name": "PC1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PC1; alternate functions LCD_SEG19 and ADC_IN11/COMP1_INP."
      },
      {
        "number": "10",
        "name": "PC2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PC2; alternate functions LCD_SEG20 and ADC_IN12/COMP1_INP."
      },
      {
        "number": "11",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with default function PC3; alternate functions LCD_SEG21 and ADC_IN13/COMP1_INP."
      },
      {
        "number": "12",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground pin for the ADC, DAC and comparators."
      },
      {
        "number": "13",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply pin for the ADC, DAC and comparators."
      },
      {
        "number": "14",
        "name": "PA0-WKUP1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PA0; alternate functions USART2_CTS/TIM2_CH1_ETR, additional functions WKUP1, ADC_IN0 and COMP1_INP."
      },
      {
        "number": "15",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PA1; alternate functions USART2_RTS/TIM2_CH2/LCD_SEG0, additional functions ADC_IN1 and COMP1_INP."
      },
      {
        "number": "16",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PA2; alternate functions USART2_TX/TIM2_CH3/TIM9_CH1/LCD_SEG1, additional functions ADC_IN2 and COMP1_INP."
      },
      {
        "number": "17",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with default function PA3; alternate functions USART2_RX/TIM2_CH4/TIM9_CH2/LCD_SEG2, additional functions 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 power supply pin."
      },
      {
        "number": "20",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with default function PA4; alternate functions SPI1_NSS/USART2_CK, additional functions ADC_IN4, DAC_OUT1 and COMP1_INP."
      },
      {
        "number": "21",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with default function PA5; alternate functions SPI1_SCK/TIM2_CH1_ETR, additional functions ADC_IN5, DAC_OUT2 and COMP1_INP."
      },
      {
        "number": "22",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PA6; alternate functions SPI1_MISO/TIM3_CH1/LCD_SEG3/TIM10_CH1, additional functions ADC_IN6 and COMP1_INP."
      },
      {
        "number": "23",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PA7; alternate functions SPI1_MOSI/TIM3_CH2/LCD_SEG4/TIM11_CH1, additional functions ADC_IN7 and COMP1_INP."
      },
      {
        "number": "24",
        "name": "PC4",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PC4; alternate functions LCD_SEG22, ADC_IN14 and COMP1_INP."
      },
      {
        "number": "25",
        "name": "PC5",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PC5; alternate functions LCD_SEG23, ADC_IN15 and COMP1_INP."
      },
      {
        "number": "26",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) with default function PB0; alternate functions TIM3_CH3/LCD_SEG5, additional functions ADC_IN8, COMP1_INP and VREF_OUT."
      },
      {
        "number": "27",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PB1; alternate functions TIM3_CH4/LCD_SEG6, additional functions ADC_IN9, COMP1_INP and VREF_OUT."
      },
      {
        "number": "28",
        "name": "PB2/BOOT1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PB2, also usable as the BOOT1 pin."
      },
      {
        "number": "29",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PB10; alternate functions I2C2_SCL/USART3_TX/TIM2_CH3/LCD_SEG10."
      },
      {
        "number": "30",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PB11; alternate functions I2C2_SDA/USART3_RX/TIM2_CH4/LCD_SEG11."
      },
      {
        "number": "31",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Digital ground pin."
      },
      {
        "number": "32",
        "name": "VDD_1",
        "type": "power_in",
        "description": "Digital power supply pin."
      },
      {
        "number": "33",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PB12; alternate functions SPI2_NSS/I2C2_SMBA/USART3_CK/LCD_SEG12/TIM10_CH1, additional functions ADC_IN18 and COMP1_INP."
      },
      {
        "number": "34",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PB13; alternate functions SPI2_SCK/USART3_CTS/LCD_SEG13/TIM9_CH1, additional functions ADC_IN19 and COMP1_INP."
      },
      {
        "number": "35",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PB14; alternate functions SPI2_MISO/USART3_RTS/LCD_SEG14/TIM9_CH2, additional functions ADC_IN20 and COMP1_INP."
      },
      {
        "number": "36",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PB15; alternate functions SPI2_MOSI/LCD_SEG15/TIM11_CH1, additional functions ADC_IN21, COMP1_INP and RTC_REFIN."
      },
      {
        "number": "37",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PC6; alternate functions TIM3_CH1 and LCD_SEG24."
      },
      {
        "number": "38",
        "name": "PC7",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PC7; alternate functions TIM3_CH2 and LCD_SEG25."
      },
      {
        "number": "39",
        "name": "PC8",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PC8; alternate functions TIM3_CH3 and LCD_SEG26."
      },
      {
        "number": "40",
        "name": "PC9",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PC9; alternate functions TIM3_CH4 and LCD_SEG27."
      },
      {
        "number": "41",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PA8; alternate functions USART1_CK/MCO/LCD_COM0."
      },
      {
        "number": "42",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PA9; alternate functions USART1_TX/LCD_COM1."
      },
      {
        "number": "43",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PA10; alternate functions USART1_RX/LCD_COM2."
      },
      {
        "number": "44",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PA11; alternate functions USART1_CTS/SPI1_MISO, additional function USB_DM."
      },
      {
        "number": "45",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PA12; alternate functions USART1_RTS/SPI1_MOSI, additional function USB_DP."
      },
      {
        "number": "46",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function JTMS-SWDIO (serial wire debug data)."
      },
      {
        "number": "47",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Digital ground pin."
      },
      {
        "number": "48",
        "name": "VDD_2",
        "type": "power_in",
        "description": "Digital power supply pin."
      },
      {
        "number": "49",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function JTCK-SWCLK (serial wire debug clock)."
      },
      {
        "number": "50",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function JTDI; alternate functions TIM2_CH1_ETR/PA15/SPI1_NSS and LCD_SEG17."
      },
      {
        "number": "51",
        "name": "PC10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PC10; alternate functions USART3_TX, LCD_SEG28/LCD_SEG40 and LCD_COM4."
      },
      {
        "number": "52",
        "name": "PC11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PC11; alternate functions USART3_RX, LCD_SEG29/LCD_SEG41 and LCD_COM5."
      },
      {
        "number": "53",
        "name": "PC12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PC12; alternate functions USART3_CK, LCD_SEG30/LCD_SEG42 and LCD_COM6."
      },
      {
        "number": "54",
        "name": "PD2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PD2; alternate functions TIM3_ETR, LCD_SEG31/LCD_SEG43 and LCD_COM7."
      },
      {
        "number": "55",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function JTDO; alternate functions TIM2_CH2/PB3/SPI1_SCK and LCD_SEG7, additional function COMP2_INM."
      },
      {
        "number": "56",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function NJTRST; alternate functions TIM3_CH1/PB4/SPI1_MISO and LCD_SEG8, additional function COMP2_INP."
      },
      {
        "number": "57",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PB5; alternate functions I2C1_SMBA/TIM3_CH2/SPI1_MOSI and LCD_SEG9, additional function COMP2_INP."
      },
      {
        "number": "58",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PB6; alternate functions I2C1_SCL/TIM4_CH1/USART1_TX."
      },
      {
        "number": "59",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PB7; alternate functions I2C1_SDA/TIM4_CH2/USART1_RX, additional function PVD_IN."
      },
      {
        "number": "60",
        "name": "BOOT0",
        "type": "input",
        "description": "Dedicated BOOT0 input pin (input only, no I/O function)."
      },
      {
        "number": "61",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PB8; alternate functions TIM4_CH3/I2C1_SCL/LCD_SEG16/TIM10_CH1."
      },
      {
        "number": "62",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with default function PB9; alternate functions TIM4_CH4/I2C1_SDA/LCD_COM3/TIM11_CH1."
      },
      {
        "number": "63",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Digital ground pin."
      },
      {
        "number": "64",
        "name": "VDD_3",
        "type": "power_in",
        "description": "Digital power supply pin."
      }
    ],
    "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: VLCD is listed as applicable to STM32L152xx devices only; the requested MPN STM32L152RBT6 is an L152; PC14/OSC32_IN, PC15/OSC32_OUT, PH0/OSC_IN and PH1/OSC_OUT are oscillator pins only while the LSE/HSE; PB2 is printed as PB2/BOOT1; the table gives its main function as PB2/BOOT1 with BOOT1 as the altern"
        ],
        "pages_sent": 56,
        "cost_usd": 0.2731,
        "at": "2026-10-10T23:42:47"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586177021525299200",
        "pages": 132,
        "sha256": "3734b31e9efe1bce",
        "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": "stm32l152rbt6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12,
          12,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "b0c827bc5c05552175d28affe44a5bd2ab45c9c36efff6ff07a74cc449b13db4",
        "checked": "2026-10-10",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32l152rbt6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12,
          12,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "5511426c4e838c68d95148559b9797ae567adb55d81b3648064a156444e192ff",
        "checked": "2026-10-10",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-64(10x10)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "64"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm32l152rbt6"
  ],
  "discovery_pitch": "STM32L152RBT6 (STMicroelectronics) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32l152rbt6.kicad_sym",
    "stm32l152rbt6.kicad_mod",
    "stm32l152rbt6.glb",
    "stm32l152rbt6.step",
    "stm32l152rbt6.lbr",
    "docs/hero.png",
    "docs/stm32l152rbt6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32l152rbt6-hero.glb",
    "stm32l152rbt6-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}