main
Ray Publish 0.2.1 6ab204b
{
  "slug": "stm32l151cbt6a",
  "version": "0.2.1",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Datasheet-verified pinout, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "mcu",
    "stm32l151cbt6a"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32l151cbt6a.kicad_sym",
    "stm32l151cbt6a.kicad_mod",
    "stm32l151cbt6a.glb",
    "stm32l151cbt6a.step",
    "stm32l151cbt6a-etched.step",
    "stm32l151cbt6a.lbr",
    "docs/hero.png",
    "docs/stm32l151cbt6a-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32l151cbt6a-hero.glb",
    "stm32l151cbt6a-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32L151CBT6A",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-48(7x7)",
    "pin_count": 48,
    "category": "MCU",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://www.st.com/resource/en/datasheet/stm32l151cbt6a.pdf",
    "parts": {
      "symbol": "stm32l151cbt6a.kicad_sym",
      "footprint": "stm32l151cbt6a.kicad_mod",
      "model_3d": "stm32l151cbt6a-hero.glb",
      "model_3d_plain": "stm32l151cbt6a.glb",
      "model_3d_step": "stm32l151cbt6a-etched.step",
      "model_3d_step_plain": "stm32l151cbt6a.step",
      "lbr": "stm32l151cbt6a.lbr"
    },
    "distributor_links": {},
    "pins": [
      {
        "number": "1",
        "name": "VLCD",
        "type": "power_in",
        "description": "LCD driver rail input. STM32L151 devices have no LCD controller; tie this pin to VDD per note 3 in Table 9."
      },
      {
        "number": "2",
        "name": "PC13-WKUP2",
        "type": "bidirectional",
        "description": "General-purpose I/O port C bit 13. Additional functions: RTC_TAMP1/RTC_TS/RTC_OUT/WKUP2 low-power wake-up input. 5 V-tolerant FT I/O."
      },
      {
        "number": "3",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "General-purpose I/O port C bit 14 or LSE 32.768 kHz crystal input (OSC32_IN) when LSE oscillator is enabled. Standard 3.3 V TC I/O."
      },
      {
        "number": "4",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "General-purpose I/O port C bit 15 or LSE 32.768 kHz crystal output (OSC32_OUT) when LSE oscillator is enabled. Standard 3.3 V TC I/O."
      },
      {
        "number": "5",
        "name": "PH0-OSC_IN",
        "type": "bidirectional",
        "description": "General-purpose I/O port H bit 0 or HSE crystal input (OSC_IN) when HSE oscillator is enabled. Standard 3.3 V TC I/O."
      },
      {
        "number": "6",
        "name": "PH1-OSC_OUT",
        "type": "bidirectional",
        "description": "General-purpose I/O port H bit 1 or HSE crystal output (OSC_OUT) when HSE oscillator is enabled. Standard 3.3 V TC I/O."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Bidirectional device reset input/open-drain output with internal weak pull-up (~40 k). Drive low for at least tNRST to force a system reset."
      },
      {
        "number": "8",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground reference for the ADC, DAC, comparators and internal reference voltage. Tie to system ground through a low-impedance path."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply for the ADC, DAC, reset block, PLL, comparators and internal reference voltage. Operating range 1.8-3.6 V (down to 1.65 V with ADC/DAC/VREFINT limitations). Decouple with 100 nF + 1 uF to VSSA."
      },
      {
        "number": "10",
        "name": "PA0-WKUP1",
        "type": "bidirectional",
        "description": "GPIO PA0 or standby-mode wake-up input WKUP1. Alt functions USART2_CTS/TIM2_CH1_ETR; additional analog ADC_IN0/COMP1_INP/RTC_TAMP2. 5 V-tolerant FT I/O."
      },
      {
        "number": "11",
        "name": "PA1",
        "type": "bidirectional",
        "description": "GPIO PA1. Alt functions USART2_RTS/TIM2_CH2/LCD_SEG0; additional analog ADC_IN1/COMP1_INP. 5 V-tolerant FT I/O."
      },
      {
        "number": "12",
        "name": "PA2",
        "type": "bidirectional",
        "description": "GPIO PA2. Alt functions USART2_TX/TIM2_CH3/TIM9_CH1/LCD_SEG1; additional analog ADC_IN2/COMP1_INP. 5 V-tolerant FT I/O."
      },
      {
        "number": "13",
        "name": "PA3",
        "type": "bidirectional",
        "description": "GPIO PA3. Alt functions USART2_RX/TIM2_CH4/TIM9_CH2/LCD_SEG2; additional analog ADC_IN3/COMP1_INP. Standard 3.3 V TC I/O."
      },
      {
        "number": "14",
        "name": "PA4",
        "type": "bidirectional",
        "description": "GPIO PA4. Alt functions SPI1_NSS/USART2_CK; additional analog ADC_IN4/DAC_OUT1/COMP1_INP. Standard 3.3 V TC I/O."
      },
      {
        "number": "15",
        "name": "PA5",
        "type": "bidirectional",
        "description": "GPIO PA5. Alt functions SPI1_SCK/TIM2_CH1_ETR; additional analog ADC_IN5/DAC_OUT2/COMP1_INP. Standard 3.3 V TC I/O."
      },
      {
        "number": "16",
        "name": "PA6",
        "type": "bidirectional",
        "description": "GPIO PA6. Alt functions SPI1_MISO/TIM3_CH1/LCD_SEG3/TIM10_CH1; additional analog ADC_IN6/COMP1_INP. 5 V-tolerant FT I/O."
      },
      {
        "number": "17",
        "name": "PA7",
        "type": "bidirectional",
        "description": "GPIO PA7. Alt functions SPI1_MOSI/TIM3_CH2/LCD_SEG4/TIM11_CH1; additional analog ADC_IN7/COMP1_INP. 5 V-tolerant FT I/O."
      },
      {
        "number": "18",
        "name": "PB0",
        "type": "bidirectional",
        "description": "GPIO PB0. Alt functions TIM3_CH3/LCD_SEG5; additional analog ADC_IN8/COMP1_INP/VREF_OUT/VLCDRAIL3. Standard 3.3 V TC I/O."
      },
      {
        "number": "19",
        "name": "PB1",
        "type": "bidirectional",
        "description": "GPIO PB1. Alt functions TIM3_CH4/LCD_SEG6; additional analog ADC_IN9/COMP1_INP/VREF_OUT. 5 V-tolerant FT I/O."
      },
      {
        "number": "20",
        "name": "PB2/BOOT1",
        "type": "bidirectional",
        "description": "GPIO PB2, also latched at reset as BOOT1 boot-mode select bit; additional VLCDRAIL1. 5 V-tolerant FT I/O."
      },
      {
        "number": "21",
        "name": "PB10",
        "type": "bidirectional",
        "description": "GPIO PB10. Alt functions I2C2_SCL/USART3_TX/TIM2_CH3/LCD_SEG10. 5 V-tolerant FT I/O."
      },
      {
        "number": "22",
        "name": "PB11",
        "type": "bidirectional",
        "description": "GPIO PB11. Alt functions I2C2_SDA/USART3_RX/TIM2_CH4/LCD_SEG11. 5 V-tolerant FT I/O."
      },
      {
        "number": "23",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Digital ground return for the digital core and I/O ring (VDD_1 pair)."
      },
      {
        "number": "24",
        "name": "VDD_1",
        "type": "power_in",
        "description": "Digital supply, 1.65-3.6 V. All VDD pins must be tied together and decoupled locally with 100 nF to the paired VSS."
      },
      {
        "number": "25",
        "name": "PB12",
        "type": "bidirectional",
        "description": "GPIO PB12. Alt functions SPI2_NSS/I2C2_SMBA/USART3_CK/LCD_SEG12/TIM10_CH1; additional analog ADC_IN18/COMP1_INP/VLCDRAIL2. 5 V-tolerant FT I/O."
      },
      {
        "number": "26",
        "name": "PB13",
        "type": "bidirectional",
        "description": "GPIO PB13. Alt functions SPI2_SCK/USART3_CTS/LCD_SEG13/TIM9_CH1; additional analog ADC_IN19/COMP1_INP. 5 V-tolerant FT I/O."
      },
      {
        "number": "27",
        "name": "PB14",
        "type": "bidirectional",
        "description": "GPIO PB14. Alt functions SPI2_MISO/USART3_RTS/LCD_SEG14/TIM9_CH2; additional analog ADC_IN20/COMP1_INP. 5 V-tolerant FT I/O."
      },
      {
        "number": "28",
        "name": "PB15",
        "type": "bidirectional",
        "description": "GPIO PB15. Alt functions SPI2_MOSI/LCD_SEG15/TIM11_CH1; additional analog ADC_IN21/COMP1_INP/RTC_REFIN. 5 V-tolerant FT I/O."
      },
      {
        "number": "29",
        "name": "PA8",
        "type": "bidirectional",
        "description": "GPIO PA8. Alt functions USART1_CK/MCO (master clock output)/LCD_COM0. 5 V-tolerant FT I/O."
      },
      {
        "number": "30",
        "name": "PA9",
        "type": "bidirectional",
        "description": "GPIO PA9. Alt functions USART1_TX/LCD_COM1. 5 V-tolerant FT I/O."
      },
      {
        "number": "31",
        "name": "PA10",
        "type": "bidirectional",
        "description": "GPIO PA10. Alt functions USART1_RX/LCD_COM2. 5 V-tolerant FT I/O."
      },
      {
        "number": "32",
        "name": "PA11",
        "type": "bidirectional",
        "description": "GPIO PA11. Alt functions USART1_CTS/SPI1_MISO; additional function USB_DM (USB 2.0 FS D-). 5 V-tolerant FT I/O."
      },
      {
        "number": "33",
        "name": "PA12",
        "type": "bidirectional",
        "description": "GPIO PA12. Alt functions USART1_RTS/SPI1_MOSI; additional function USB_DP (USB 2.0 FS D+). 5 V-tolerant FT I/O."
      },
      {
        "number": "34",
        "name": "PA13",
        "type": "bidirectional",
        "description": "GPIO PA13, default alt function JTMS-SWDIO (JTAG mode select / Serial Wire Data). 5 V-tolerant FT I/O."
      },
      {
        "number": "35",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Digital ground return paired with VDD_2."
      },
      {
        "number": "36",
        "name": "VDD_2",
        "type": "power_in",
        "description": "Digital supply, 1.65-3.6 V, paired with VSS_2. Decouple locally with 100 nF."
      },
      {
        "number": "37",
        "name": "PA14",
        "type": "bidirectional",
        "description": "GPIO PA14, default alt function JTCK-SWCLK (JTAG clock / Serial Wire clock). 5 V-tolerant FT I/O."
      },
      {
        "number": "38",
        "name": "PA15",
        "type": "bidirectional",
        "description": "GPIO PA15, default alt function JTDI (JTAG data-in). Alt functions TIM2_CH1_ETR/SPI1_NSS/LCD_SEG17. 5 V-tolerant FT I/O."
      },
      {
        "number": "39",
        "name": "PB3",
        "type": "bidirectional",
        "description": "GPIO PB3, default alt function JTDO (JTAG data-out); alt TIM2_CH2/SPI1_SCK/LCD_SEG7; additional COMP2_INM. 5 V-tolerant FT I/O."
      },
      {
        "number": "40",
        "name": "PB4",
        "type": "bidirectional",
        "description": "GPIO PB4, default alt function NJTRST (JTAG reset, active low with internal pull-up); alt TIM3_CH1/SPI1_MISO/LCD_SEG8; additional COMP2_INP. 5 V-tolerant FT I/O."
      },
      {
        "number": "41",
        "name": "PB5",
        "type": "bidirectional",
        "description": "GPIO PB5. Alt functions I2C1_SMBA/TIM3_CH2/SPI1_MOSI/LCD_SEG9; additional COMP2_INP. 5 V-tolerant FT I/O."
      },
      {
        "number": "42",
        "name": "PB6",
        "type": "bidirectional",
        "description": "GPIO PB6. Alt functions I2C1_SCL/TIM4_CH1/USART1_TX. 5 V-tolerant FT I/O with true open-drain option for I2C."
      },
      {
        "number": "43",
        "name": "PB7",
        "type": "bidirectional",
        "description": "GPIO PB7. Alt functions I2C1_SDA/TIM4_CH2/USART1_RX; additional PVD_IN (programmable voltage detector input). 5 V-tolerant FT I/O."
      },
      {
        "number": "44",
        "name": "BOOT0",
        "type": "input",
        "description": "Dedicated boot-mode select input, latched on the rising edge of NRST. Together with BOOT1 (PB2) selects boot from Flash, System memory or SRAM."
      },
      {
        "number": "45",
        "name": "PB8",
        "type": "bidirectional",
        "description": "GPIO PB8. Alt functions TIM4_CH3/I2C1_SCL/LCD_SEG16/TIM10_CH1. 5 V-tolerant FT I/O."
      },
      {
        "number": "46",
        "name": "PB9",
        "type": "bidirectional",
        "description": "GPIO PB9. Alt functions TIM4_CH4/I2C1_SDA/LCD_COM3/TIM11_CH1. 5 V-tolerant FT I/O."
      },
      {
        "number": "47",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Digital ground return paired with VDD_3."
      },
      {
        "number": "48",
        "name": "VDD_3",
        "type": "power_in",
        "description": "Digital supply, 1.65-3.6 V, paired with VSS_3. Decouple locally with 100 nF."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/stm32l151cbt6a.pdf",
        "pages": 130,
        "sha256": "e5e0ab791f4e7879",
        "source_tier": "mfr"
      },
      "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"
    },
    "mcu": {
      "part_number": "STM32L151CBT6A",
      "series": "STM32L1",
      "subfamily": "STM32L151",
      "core": "Arm Cortex-M3",
      "frequency_mhz": 32,
      "flash_kb": 128,
      "ram_kb": 32,
      "io_count": 37,
      "package": "LQFP 48 7x7x1.4 mm",
      "marketing_status": "Active",
      "fpu": null,
      "supply_v_min": 1.65,
      "supply_v_max": 3.6,
      "temp_min_c": -40,
      "temp_max_c": 85,
      "adc_count": 1,
      "timers": 8,
      "in_distributor_stock": true,
      "product_folder": "/en/microcontrollers-microprocessors/stm32l151cb-a.html",
      "source": "st.com portfolio grid CL1734"
    },
    "models_3d": [
      {
        "file": "stm32l151cbt6a.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32l151cbt6a-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "2a3647550bed2a8737e511ce51f788e3d72689aa467fa3b7d544138cae73a882",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "title": "STM32L151CBT6A",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "metadata": {
    "specs": {
      "Core": "Arm Cortex-M3",
      "Max clock": "32 MHz",
      "Flash": "128 kB",
      "RAM": "32 kB",
      "I/O pins": 37,
      "ADC units": 1,
      "ST status": "Active",
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-48(7x7)",
      "Category": "MCU",
      "Pins": "48"
    }
  },
  "discovery_triggers": [
    "stm32l151cbt6a"
  ],
  "discovery_pitch": "STM32L151CBT6A (STMicroelectronics) component page with datasheet-verified CAD.",
  "visibility": "public"
}