main
Ray Publish 0.1.1 979faee
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm32l152ret6",
  "title": "STM32L152RET6",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "version": "0.1.1",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32l152ret6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM32L152RET6",
    "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/8588922962245902336",
    "parts": {
      "symbol": "stm32l152ret6.kicad_sym",
      "footprint": "stm32l152ret6.kicad_mod",
      "model_3d": "stm32l152ret6-hero.glb",
      "model_3d_plain": "stm32l152ret6.glb",
      "model_3d_step": "stm32l152ret6-etched.step",
      "model_3d_step_plain": "stm32l152ret6.step",
      "lbr": "stm32l152ret6.lbr"
    },
    "distributor_links": {
      "lcsc": "C1337532",
      "digikey": "497-15830-ND",
      "mouser": "511-STM32L152RET6"
    },
    "distributor_check": {
      "checked_at": "2026-10-01T02:33:41Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-15830-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32L152RET6",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VLCD",
        "type": "power_in",
        "description": "LCD voltage supply pin for STM32L152xE devices; connect to VDD for STM32L151xE devices without LCD."
      },
      {
        "number": "2",
        "name": "PC13-WKUP2",
        "type": "bidirectional",
        "description": "Port C pin 13, 5V tolerant I/O, wakeup pin 2 and RTC tamper/timestamp functionality."
      },
      {
        "number": "3",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "Port C pin 14, 3.3V I/O, 32 kHz oscillator input when LSE oscillator enabled, usable as GPIO when LSE off."
      },
      {
        "number": "4",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "Port C pin 15, 3.3V I/O, 32 kHz oscillator output when LSE oscillator enabled, usable as GPIO when LSE off."
      },
      {
        "number": "5",
        "name": "PH0-OSC_IN",
        "type": "bidirectional",
        "description": "Port H pin 0, 3.3V I/O, HSE oscillator input when HSE enabled, usable as GPIO when HSE off."
      },
      {
        "number": "6",
        "name": "PH1-OSC_OUT",
        "type": "bidirectional",
        "description": "Port H pin 1, 3.3V I/O, HSE oscillator output when HSE enabled, usable as GPIO when HSE off."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Bidirectional reset pin with embedded weak pull-up resistor and debouncing logic."
      },
      {
        "number": "8",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Port C pin 0, 5V tolerant I/O, supports LCD segment output and ADC input channel 10."
      },
      {
        "number": "9",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Port C pin 1, 5V tolerant I/O, supports LCD segment output and ADC input channel 11."
      },
      {
        "number": "10",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Port C pin 2, 5V tolerant I/O, supports LCD segment output and ADC input channel 12."
      },
      {
        "number": "11",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Port C pin 3, 3.3V I/O, supports LCD segment output and ADC input channel 13."
      },
      {
        "number": "12",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground supply return pin."
      },
      {
        "number": "13",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply pin, 1.8V to 3.6V range."
      },
      {
        "number": "14",
        "name": "PA0-WKUP1",
        "type": "bidirectional",
        "description": "Port A pin 0, 5V tolerant I/O, wakeup pin 1, supports timer and USART alternate functions, ADC channel 0."
      },
      {
        "number": "15",
        "name": "PA1",
        "type": "bidirectional",
        "description": "Port A pin 1, 5V tolerant I/O, supports timer and USART functions, LCD segment output, ADC channel 1."
      },
      {
        "number": "16",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Port A pin 2, 5V tolerant I/O, supports timer and USART functions, LCD segment output, ADC channel 2."
      },
      {
        "number": "17",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Port A pin 3, 3.3V I/O, supports timer and USART functions, LCD segment output, OPAMP1 output, ADC channel 3."
      },
      {
        "number": "18",
        "name": "VSS_4",
        "type": "power_in",
        "description": "Ground supply return pin."
      },
      {
        "number": "19",
        "name": "VDD_4",
        "type": "power_in",
        "description": "Power supply pin, 1.65V to 3.6V range."
      },
      {
        "number": "20",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Port A pin 4, 3.3V I/O, supports SPI and I2S alternate functions, DAC output 1, ADC channel 4."
      },
      {
        "number": "21",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Port A pin 5, 3.3V I/O, supports SPI clock and timer functions, DAC output 2, ADC channel 5."
      },
      {
        "number": "22",
        "name": "PA6",
        "type": "bidirectional",
        "description": "Port A pin 6, 5V tolerant I/O, supports timer and SPI functions, LCD segment output, OPAMP2 input, ADC channel 6."
      },
      {
        "number": "23",
        "name": "PA7",
        "type": "bidirectional",
        "description": "Port A pin 7, 5V tolerant I/O, supports timer and SPI functions, LCD segment output, OPAMP2 input, ADC channel 7."
      },
      {
        "number": "24",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Port C pin 4, 5V tolerant I/O, supports LCD segment output, ADC input channel 14."
      },
      {
        "number": "25",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Port C pin 5, 5V tolerant I/O, supports LCD segment output, ADC input channel 15."
      },
      {
        "number": "26",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B pin 0, 3.3V I/O, supports timer function, LCD segment output, VREF output, OPAMP2 output, ADC channel 8."
      },
      {
        "number": "27",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B pin 1, 5V tolerant I/O, supports timer function, LCD segment output, VREF output, ADC channel 9."
      },
      {
        "number": "28",
        "name": "PB2/BOOT1",
        "type": "bidirectional",
        "description": "Port B pin 2, 5V tolerant I/O, BOOT1 configuration pin for boot mode selection, ADC input 0b."
      },
      {
        "number": "29",
        "name": "PB10",
        "type": "bidirectional",
        "description": "Port B pin 10, 5V tolerant I/O, supports timer and I2C2 functions, USART3 TX, LCD segment output."
      },
      {
        "number": "30",
        "name": "PB11",
        "type": "bidirectional",
        "description": "Port B pin 11, 5V tolerant I/O, supports timer and I2C2 functions, USART3 RX, LCD segment output."
      },
      {
        "number": "31",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Ground supply return pin."
      },
      {
        "number": "32",
        "name": "VDD_1",
        "type": "power_in",
        "description": "Power supply pin, 1.65V to 3.6V range."
      },
      {
        "number": "33",
        "name": "PB12",
        "type": "bidirectional",
        "description": "Port B pin 12, 5V tolerant I/O, supports timer, I2C2 SMBus, SPI2, and USART3 functions, ADC channel 18."
      },
      {
        "number": "34",
        "name": "PB13",
        "type": "bidirectional",
        "description": "Port B pin 13, 5V tolerant I/O, supports timer, SPI2, and USART3 functions, ADC channel 19."
      },
      {
        "number": "35",
        "name": "PB14",
        "type": "bidirectional",
        "description": "Port B pin 14, 5V tolerant I/O, supports timer, SPI2, and USART3 functions, ADC channel 20."
      },
      {
        "number": "36",
        "name": "PB15",
        "type": "bidirectional",
        "description": "Port B pin 15, 5V tolerant I/O, supports timer and SPI2 functions, RTC reference input, ADC channel 21."
      },
      {
        "number": "37",
        "name": "PC6",
        "type": "bidirectional",
        "description": "Port C pin 6, 5V tolerant I/O, supports timer and I2S MCK alternate functions, LCD segment output."
      },
      {
        "number": "38",
        "name": "PC7",
        "type": "bidirectional",
        "description": "Port C pin 7, 5V tolerant I/O, supports timer and I2S MCK alternate functions, LCD segment output."
      },
      {
        "number": "39",
        "name": "PC8",
        "type": "bidirectional",
        "description": "Port C pin 8, 5V tolerant I/O, supports timer function, LCD segment output."
      },
      {
        "number": "40",
        "name": "PC9",
        "type": "bidirectional",
        "description": "Port C pin 9, 5V tolerant I/O, supports timer function, LCD segment output."
      },
      {
        "number": "41",
        "name": "PA8",
        "type": "bidirectional",
        "description": "Port A pin 8, 5V tolerant I/O, supports USART1 clock, MCO output, LCD common output 0."
      },
      {
        "number": "42",
        "name": "PA9",
        "type": "bidirectional",
        "description": "Port A pin 9, 5V tolerant I/O, supports USART1 transmit and LCD common output 1."
      },
      {
        "number": "43",
        "name": "PA10",
        "type": "bidirectional",
        "description": "Port A pin 10, 5V tolerant I/O, supports USART1 receive and LCD common output 2."
      },
      {
        "number": "44",
        "name": "PA11",
        "type": "bidirectional",
        "description": "Port A pin 11, 5V tolerant I/O, supports USART1 CTS and SPI1 functions, USB DM line."
      },
      {
        "number": "45",
        "name": "PA12",
        "type": "bidirectional",
        "description": "Port A pin 12, 5V tolerant I/O, supports USART1 RTS and SPI1 functions, USB DP line."
      },
      {
        "number": "46",
        "name": "PA13",
        "type": "bidirectional",
        "description": "Port A pin 13, 5V tolerant I/O, JTAG/SWD debug pin (JTMS-SWDIO), shared with GPIO functionality."
      },
      {
        "number": "47",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Ground supply return pin."
      },
      {
        "number": "48",
        "name": "VDD_2",
        "type": "power_in",
        "description": "Power supply pin, 1.65V to 3.6V range."
      },
      {
        "number": "49",
        "name": "PA14",
        "type": "bidirectional",
        "description": "Port A pin 14, 5V tolerant I/O, JTAG/SWD debug pin (JTCK-SWCLK), shared with GPIO functionality."
      },
      {
        "number": "50",
        "name": "PA15",
        "type": "bidirectional",
        "description": "Port A pin 15, 5V tolerant I/O, JTAG debug pin (JTDI), supports timer and SPI functions, LCD segment output."
      },
      {
        "number": "51",
        "name": "PC10",
        "type": "bidirectional",
        "description": "Port C pin 10, 5V tolerant I/O, supports SPI3 and I2S3 functions, UART4 TX, LCD common/segment output."
      },
      {
        "number": "52",
        "name": "PC11",
        "type": "bidirectional",
        "description": "Port C pin 11, 5V tolerant I/O, supports SPI3 and UART functions, LCD common/segment output."
      },
      {
        "number": "53",
        "name": "PC12",
        "type": "bidirectional",
        "description": "Port C pin 12, 5V tolerant I/O, supports SPI3, I2S3, and UART functions, LCD common/segment output."
      },
      {
        "number": "54",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Port D pin 2, 5V tolerant I/O, supports timer and UART5 functions, LCD common/segment output."
      },
      {
        "number": "55",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B pin 3, 5V tolerant I/O, JTAG debug pin (JTDO), supports timer and SPI functions, LCD segment output."
      },
      {
        "number": "56",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B pin 4, 5V tolerant I/O, JTAG reset pin (NJTRST), supports timer and SPI functions, LCD segment output."
      },
      {
        "number": "57",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B pin 5, 5V tolerant I/O, supports timer, I2C1 SMBus, SPI, and I2S functions, LCD segment output."
      },
      {
        "number": "58",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B pin 6, 5V tolerant I/O, supports timer, I2C1 clock, and USART1 TX functions."
      },
      {
        "number": "59",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B pin 7, 5V tolerant I/O, supports timer, I2C1 data, and USART1 RX functions, PVD input."
      },
      {
        "number": "60",
        "name": "BOOT0",
        "type": "input",
        "description": "Dedicated BOOT0 pin, input only, configures device boot mode selection at power-up or reset."
      },
      {
        "number": "61",
        "name": "PB8",
        "type": "bidirectional",
        "description": "Port B pin 8, 5V tolerant I/O, supports timer and I2C1 functions, LCD segment output."
      },
      {
        "number": "62",
        "name": "PB9",
        "type": "bidirectional",
        "description": "Port B pin 9, 5V tolerant I/O, supports timer and I2C1 functions, LCD common output 3."
      },
      {
        "number": "63",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Ground supply return pin."
      },
      {
        "number": "64",
        "name": "VDD_3",
        "type": "power_in",
        "description": "Power supply pin, 1.65V to 3.6V range."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-4-5-20251001",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: VLCD pin requires note 3 reference indicating STM32L152xE devices only; STM32L151xE devices should c; PC14-OSC32_IN and PC15-OSC32_OUT pins require note 4 reference indicating they function as oscillato; PH0-OSC_IN and PH1-OSC_OUT pins require note 5 reference indicating they function as oscillator pins"
        ],
        "pages_sent": 62,
        "cost_usd": 0.4966,
        "at": "2026-10-01T02:33:15"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922962245902336",
        "pages": 136,
        "sha256": "0d2f673e0c6974fa",
        "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": "stm32l152ret6.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-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32l152ret6-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": "b1ba0ba514bcd3087bdd9b9b45437613dfd4fb55a29e57f6da456d3f45c1cd88",
        "checked": "2026-11-18",
        "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": [
    "stm32l152ret6"
  ],
  "discovery_pitch": "STM32L152RET6 (STMicroelectronics) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32l152ret6.kicad_sym",
    "stm32l152ret6.kicad_mod",
    "stm32l152ret6.glb",
    "stm32l152ret6.step",
    "stm32l152ret6.lbr",
    "docs/hero.png",
    "docs/stm32l152ret6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32l152ret6-etched.step",
    "stm32l152ret6-hero.glb",
    "stm32l152ret6-hero.overlay.json"
  ],
  "visibility": "public",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "org": "adom"
}