main
Ray Publish 0.1.0 5421d02 15d ago
{
  "slug": "stm32l152ccu6",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), UFQFPN-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32l152ccu6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32l152ccu6.kicad_sym",
    "stm32l152ccu6.kicad_mod",
    "stm32l152ccu6.glb",
    "stm32l152ccu6.step",
    "stm32l152ccu6.lbr",
    "docs/hero.png",
    "docs/stm32l152ccu6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32l152ccu6-hero.glb",
    "stm32l152ccu6-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32L152CCU6",
    "manufacturer": "STMicroelectronics",
    "package": "UFQFPN-48(7x7)",
    "pin_count": 49,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8603119125493260288",
    "parts": {
      "symbol": "stm32l152ccu6.kicad_sym",
      "footprint": "stm32l152ccu6.kicad_mod",
      "model_3d": "stm32l152ccu6-hero.glb",
      "model_3d_plain": "stm32l152ccu6.glb",
      "model_3d_step": "stm32l152ccu6-etched.step",
      "model_3d_step_plain": "stm32l152ccu6.step",
      "lbr": "stm32l152ccu6.lbr"
    },
    "distributor_links": {
      "lcsc": "C5269804",
      "digikey": "497-18958-ND",
      "mouser": "511-STM32L152CCU6"
    },
    "distributor_check": {
      "checked_at": "2026-10-12T12:12:20Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-18958-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32L152CCU6",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VLCD",
        "type": "power_in",
        "description": "LCD power supply pin, applicable to STM32L152xC devices only; on STM32L151xC devices it should be connected to VDD."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, default function PC13; alternate WKUP2 wakeup, with RTC_TAMP1, RTC_TS and RTC_OUT as additional functions."
      },
      {
        "number": "3",
        "name": "PC14",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O, default function PC14; it is configured as OSC32_IN only when the LSE oscillator is on (LSEON in RCC_CSR), and LSE then has priority over the GPIO function."
      },
      {
        "number": "4",
        "name": "PC15",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O, default function PC15; it is configured as OSC32_OUT only when the LSE oscillator is on (LSEON in RCC_CSR), and LSE then has priority over the GPIO function."
      },
      {
        "number": "5",
        "name": "PH0",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O, default function PH0; it is configured as OSC_IN only when the HSE oscillator is on (HSEON in RCC_CR), and HSE then has priority over the GPIO function."
      },
      {
        "number": "6",
        "name": "PH1",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O, default function PH1; it is configured as OSC_OUT only when the HSE oscillator is on (HSEON in RCC_CR), and HSE then has priority over the GPIO function."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Bidirectional reset pin with an embedded weak pull-up resistor."
      },
      {
        "number": "8",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground pin; VSSA (or VREF-) must be tied to ground."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply pin; VDDA is specified from 1.8 V to 3.6 V for the ADC."
      },
      {
        "number": "10",
        "name": "PA0",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, default function PA0 (wakeup pin WKUP1); alternates TIM2_CH1_ETR, TIM5_CH1 and USART2_CTS, with RTC_TAMP2, ADC_IN0 and COMP1_INP as additional functions."
      },
      {
        "number": "11",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM2_CH2, TIM5_CH2, USART2_RTS and LCD_SEG0, with ADC_IN1, COMP1_INP and OPAMP1_VINP as additional functions."
      },
      {
        "number": "12",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM2_CH3, TIM5_CH3, TIM9_CH1, USART2_TX and LCD_SEG1, with ADC_IN2, COMP1_INP and OPAMP1_VINM as additional functions."
      },
      {
        "number": "13",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O; alternates TIM2_CH4, TIM5_CH4, TIM9_CH2, USART2_RX and LCD_SEG2, with ADC_IN3, COMP1_INP and OPAMP1_VOUT as additional functions."
      },
      {
        "number": "14",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O; alternates SPI1_NSS, SPI3_NSS, I2S3_WS, USART2_CK and TIMx_IC1, with ADC_IN4, DAC_OUT1 and COMP1_INP as additional functions."
      },
      {
        "number": "15",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O; alternates TIM2_CH1_ETR, SPI1_SCK and TIMx_IC2, with ADC_IN5, DAC_OUT2 and COMP1_INP as additional functions."
      },
      {
        "number": "16",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM3_CH1, TIM10_CH1, SPI1_MISO and LCD_SEG3, with ADC_IN6, COMP1_INP and OPAMP2_VINP as additional functions."
      },
      {
        "number": "17",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM3_CH2, TIM11_CH1, SPI1_MOSI and LCD_SEG4, with ADC_IN7, COMP1_INP and OPAMP2_VINM as additional functions."
      },
      {
        "number": "18",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) I/O; alternates TIM3_CH3 and LCD_SEG5, with ADC_IN8, COMP1_INP, OPAMP2_VOUT, VLCDRAIL3 and VREF_OUT as additional functions."
      },
      {
        "number": "19",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM3_CH4 and LCD_SEG6, with ADC_IN9, COMP1_INP and VREF_OUT as additional functions."
      },
      {
        "number": "20",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; main function BOOT1, with VLCDRAIL1 and ADCIN0b as additional functions."
      },
      {
        "number": "21",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM2_CH3, I2C2_SCL, USART3_TX and LCD_SEG10."
      },
      {
        "number": "22",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM2_CH4, I2C2_SDA, USART3_RX and LCD_SEG11."
      },
      {
        "number": "23",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Digital ground pin of the device."
      },
      {
        "number": "24",
        "name": "VDD_1",
        "type": "power_in",
        "description": "Digital supply pin of the device; the operating supply range is 1.65 V to 3.6 V."
      },
      {
        "number": "25",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM10_CH1, I2C2_SMBA, SPI2_NSS, I2S2_WS, USART3_CK and LCD_SEG12, with ADC_IN18, COMP1_INP and VLCDRAIL2 as additional functions."
      },
      {
        "number": "26",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM9_CH1, SPI2_SCK, I2S2_CK, USART3_CTS and LCD_SEG13, with ADC_IN19 and COMP1_INP as additional functions."
      },
      {
        "number": "27",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM9_CH2, SPI2_MISO, USART3_RTS and LCD_SEG14, with ADC_IN20 and COMP1_INP as additional functions."
      },
      {
        "number": "28",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM11_CH1, SPI2_MOSI, I2S2_SD and LCD_SEG15, with ADC_IN21, COMP1_INP and RTC_REFIN as additional functions."
      },
      {
        "number": "29",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates USART1_CK, MCO and LCD_COM0."
      },
      {
        "number": "30",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates USART1_TX and LCD_COM1."
      },
      {
        "number": "31",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates USART1_RX and LCD_COM2."
      },
      {
        "number": "32",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates USART1_CTS and SPI1_MISO, with USB_DM as an additional function."
      },
      {
        "number": "33",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates USART1_RTS and SPI1_MOSI, with USB_DP as an additional function."
      },
      {
        "number": "34",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; default function JTMS-SWDIO, the serial wire debug data pin (JTAG TMS shared with SWDAT)."
      },
      {
        "number": "35",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Digital ground pin of the device."
      },
      {
        "number": "36",
        "name": "VDD_2",
        "type": "power_in",
        "description": "Digital supply pin of the device; the operating supply range is 1.65 V to 3.6 V."
      },
      {
        "number": "37",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; default function JTCK-SWCLK, the serial wire debug clock pin (JTAG TCK shared with SWCLK)."
      },
      {
        "number": "38",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; default function JTDI; alternates TIM2_CH1_ETR, SPI1_NSS, SPI3_NSS, I2S3_WS and LCD_SEG17."
      },
      {
        "number": "39",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; default function JTDO; alternates TIM2_CH2, SPI1_SCK, SPI3_SCK, I2S3_CK and LCD_SEG7, with COMP2_INM as an additional function."
      },
      {
        "number": "40",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; default function NJTRST; alternates TIM3_CH1, SPI1_MISO, SPI3_MISO and LCD_SEG8, with COMP2_INP as an additional function."
      },
      {
        "number": "41",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM3_CH2, I2C1_SMBA, SPI1_MOSI, SPI3_MOSI, I2S3_SD and LCD_SEG9, with COMP2_INP as an additional function."
      },
      {
        "number": "42",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM4_CH1, I2C1_SCL and USART1_TX, with COMP2_INP as an additional function."
      },
      {
        "number": "43",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM4_CH2, I2C1_SDA and USART1_RX, with COMP2_INP and PVD_IN as additional functions."
      },
      {
        "number": "44",
        "name": "BOOT0",
        "type": "input",
        "description": "Dedicated BOOT0 boot-mode selection pin."
      },
      {
        "number": "45",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM4_CH3, TIM10_CH1, I2C1_SCL and LCD_SEG16."
      },
      {
        "number": "46",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O; alternates TIM4_CH4, TIM11_CH1, I2C1_SDA and LCD_COM3."
      },
      {
        "number": "47",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Digital ground pin of the device."
      },
      {
        "number": "48",
        "name": "VDD_3",
        "type": "power_in",
        "description": "Digital supply pin of the device; the operating supply range is 1.65 V to 3.6 V."
      },
      {
        "number": "49",
        "name": "EP",
        "type": "passive",
        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."
      }
    ],
    "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: The UFQFPN48 exposed die pad on the underside of the package is described in the text (Figure 41 not; Figure 7 (UFQFPN48 pinout) text layer is garbled. The pin-to-number mapping was taken from the LQFP4; VLCD (pin 1) is typed S in Table 9 and footnote 3 says it applies to STM32L152xC devices. The MPN is",
          "exposed pad 49 added from the footprint"
        ],
        "pages_sent": 62,
        "cost_usd": 0.2743,
        "at": "2026-10-12T12:12:03"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8603119125493260288",
        "pages": 136,
        "sha256": "5e6d5674cd06c108",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 49,
        "described": 49,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm32l152ccu6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.0,
          7.0,
          0.77
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "f2b38b0b4bf967c77e683e8d4599608b9f0503055ec535b93c4ebb5d0163e916",
        "checked": "2026-10-12",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32l152ccu6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.0,
          7.0,
          0.77
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "e2c7d3a57f2ed0f390df0fcad70cc3d9e1c182d612642a8548e8e7924265ce8f",
        "checked": "2026-10-12",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}