main
Ray stm32l151ret6: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding) 23110a1
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm32l151ret6",
  "title": "STM32L151RET6",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "version": "0.2.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "mcu",
    "stm32l151ret6"
  ],
  "component": {
    "mpn": "STM32L151RET6",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-64(10x10)",
    "pin_count": 64,
    "category": "MCU",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://www.st.com/resource/en/datasheet/stm32l151ret6.pdf",
    "parts": {
      "symbol": "stm32l151ret6.kicad_sym",
      "footprint": "stm32l151ret6.kicad_mod",
      "model_3d": "stm32l151ret6-etched.glb",
      "model_3d_plain": "stm32l151ret6.glb",
      "model_3d_step": "stm32l151ret6-etched.step",
      "model_3d_step_plain": "stm32l151ret6.step",
      "lbr": "stm32l151ret6.lbr"
    },
    "distributor_links": {
      "digikey": "497-17527-ND",
      "lcsc": "C256869"
    },
    "pins": [
      {
        "number": "1",
        "name": "VLCD",
        "type": "power_in",
        "description": "LCD external voltage input. On STM32L151xE (no LCD), this pin should be connected to VDD."
      },
      {
        "number": "2",
        "name": "PC13-WKUP2",
        "type": "bidirectional",
        "description": "GPIO PC13, also wake-up 2 / RTC_TAMP1 / RTC_TS / RTC_OUT additional functions."
      },
      {
        "number": "3",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "LSE 32 kHz crystal input when LSEON=1; otherwise general-purpose PH0/PC14 GPIO. LSE has priority over GPIO."
      },
      {
        "number": "4",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "LSE 32 kHz crystal output when LSEON=1; otherwise GPIO PC15."
      },
      {
        "number": "5",
        "name": "PH0-OSC_IN",
        "type": "bidirectional",
        "description": "HSE crystal/clock input when HSEON=1, otherwise GPIO PH0. HSE has priority over GPIO."
      },
      {
        "number": "6",
        "name": "PH1-OSC_OUT",
        "type": "bidirectional",
        "description": "HSE crystal output when HSEON=1, otherwise GPIO PH1."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Bidirectional device reset input/open-drain output with embedded weak pull-up. Active low."
      },
      {
        "number": "8",
        "name": "PC0",
        "type": "bidirectional",
        "description": "GPIO PC0. Alt: LCD_SEG18. Additional: ADC_IN10 / COMP1_INP."
      },
      {
        "number": "9",
        "name": "PC1",
        "type": "bidirectional",
        "description": "GPIO PC1. Alt: LCD_SEG19. Additional: ADC_IN11 / COMP1_INP."
      },
      {
        "number": "10",
        "name": "PC2",
        "type": "bidirectional",
        "description": "GPIO PC2. Alt: LCD_SEG20. Additional: ADC_IN12 / COMP1_INP."
      },
      {
        "number": "11",
        "name": "PC3",
        "type": "bidirectional",
        "description": "GPIO PC3. Alt: LCD_SEG21. Additional: ADC_IN13 / COMP1_INP."
      },
      {
        "number": "12",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground reference for ADC, DAC, reset block, RCs and PLL."
      },
      {
        "number": "13",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply (1.65-3.6 V) for ADC, DAC, reset block, RCs, and PLL."
      },
      {
        "number": "14",
        "name": "PA0-WKUP1",
        "type": "bidirectional",
        "description": "GPIO PA0. Alt: TIM2_CH1_ETR / TIM5_CH1 / USART2_CTS. Additional: WKUP1/RTC_TAMP2/ADC_IN0/COMP1_INP."
      },
      {
        "number": "15",
        "name": "PA1",
        "type": "bidirectional",
        "description": "GPIO PA1. Alt: TIM2_CH2 / TIM5_CH2 / USART2_RTS / LCD_SEG0. Additional: ADC_IN1 / COMP1_INP / OPAMP1_VINP."
      },
      {
        "number": "16",
        "name": "PA2",
        "type": "bidirectional",
        "description": "GPIO PA2. Alt: TIM2_CH3 / TIM5_CH3 / TIM9_CH1 / USART2_TX / LCD_SEG1. Additional: ADC_IN2 / COMP1_INP / OPAMP1_VINM."
      },
      {
        "number": "17",
        "name": "PA3",
        "type": "bidirectional",
        "description": "GPIO PA3. Alt: TIM2_CH4 / TIM5_CH4 / TIM9_CH2 / USART2_RX / LCD_SEG2. Additional: ADC_IN3 / COMP1_INP / OPAMP1_VOUT."
      },
      {
        "number": "18",
        "name": "VSS_4",
        "type": "power_in",
        "description": "Ground reference for digital core (VSS domain 4)."
      },
      {
        "number": "19",
        "name": "VDD_4",
        "type": "power_in",
        "description": "Digital core power supply, 1.65-3.6 V (VDD domain 4)."
      },
      {
        "number": "20",
        "name": "PA4",
        "type": "bidirectional",
        "description": "GPIO PA4. Alt: SPI1_NSS / SPI3_NSS / I2S3_WS / USART2_CK. Additional: ADC_IN4 / DAC_OUT1 / COMP1_INP."
      },
      {
        "number": "21",
        "name": "PA5",
        "type": "bidirectional",
        "description": "GPIO PA5. Alt: TIM2_CH1_ETR / SPI1_SCK. Additional: ADC_IN5 / DAC_OUT2 / COMP1_INP."
      },
      {
        "number": "22",
        "name": "PA6",
        "type": "bidirectional",
        "description": "GPIO PA6. Alt: TIM3_CH1 / TIM10_CH1 / SPI1_MISO / LCD_SEG3. Additional: ADC_IN6 / COMP1_INP / OPAMP2_VINP."
      },
      {
        "number": "23",
        "name": "PA7",
        "type": "bidirectional",
        "description": "GPIO PA7. Alt: TIM3_CH2 / TIM11_CH1 / SPI1_MOSI / LCD_SEG4. Additional: ADC_IN7 / COMP1_INP / OPAMP2_VINM."
      },
      {
        "number": "24",
        "name": "PC4",
        "type": "bidirectional",
        "description": "GPIO PC4. Alt: LCD_SEG22. Additional: ADC_IN14 / COMP1_INP."
      },
      {
        "number": "25",
        "name": "PC5",
        "type": "bidirectional",
        "description": "GPIO PC5. Alt: LCD_SEG23. Additional: ADC_IN15 / COMP1_INP."
      },
      {
        "number": "26",
        "name": "PB0",
        "type": "bidirectional",
        "description": "GPIO PB0. Alt: TIM3_CH3 / LCD_SEG5. Additional: ADC_IN8 / COMP1_INP / OPAMP2_VOUT / VREF_OUT."
      },
      {
        "number": "27",
        "name": "PB1",
        "type": "bidirectional",
        "description": "GPIO PB1. Alt: TIM3_CH4 / LCD_SEG6. Additional: ADC_IN9 / COMP1_INP / VREF_OUT."
      },
      {
        "number": "28",
        "name": "PB2/BOOT1",
        "type": "bidirectional",
        "description": "GPIO PB2 doubling as BOOT1 latch during reset (selects boot memory area with BOOT0). Additional: ADC_IN0b."
      },
      {
        "number": "29",
        "name": "PB10",
        "type": "bidirectional",
        "description": "GPIO PB10. Alt: TIM2_CH3 / I2C2_SCL / USART3_TX / LCD_SEG10."
      },
      {
        "number": "30",
        "name": "PB11",
        "type": "bidirectional",
        "description": "GPIO PB11. Alt: TIM2_CH4 / I2C2_SDA / USART3_RX / LCD_SEG11."
      },
      {
        "number": "31",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Ground reference for digital core (VSS domain 1)."
      },
      {
        "number": "32",
        "name": "VDD_1",
        "type": "power_in",
        "description": "Digital core power supply, 1.65-3.6 V (VDD domain 1)."
      },
      {
        "number": "33",
        "name": "PB12",
        "type": "bidirectional",
        "description": "GPIO PB12. Alt: TIM10_CH1 / I2C2_SMBA / SPI2_NSS / I2S2_WS / USART3_CK / LCD_SEG12. Additional: ADC_IN18 / COMP1_INP."
      },
      {
        "number": "34",
        "name": "PB13",
        "type": "bidirectional",
        "description": "GPIO PB13. Alt: TIM9_CH1 / SPI2_SCK / I2S2_CK / USART3_CTS / LCD_SEG13. Additional: ADC_IN19 / COMP1_INP."
      },
      {
        "number": "35",
        "name": "PB14",
        "type": "bidirectional",
        "description": "GPIO PB14. Alt: TIM9_CH2 / SPI2_MISO / USART3_RTS / LCD_SEG14. Additional: ADC_IN20 / COMP1_INP."
      },
      {
        "number": "36",
        "name": "PB15",
        "type": "bidirectional",
        "description": "GPIO PB15. Alt: TIM11_CH1 / SPI2_MOSI / I2S2_SD / LCD_SEG15. Additional: ADC_IN21 / COMP1_INP / RTC_REFIN."
      },
      {
        "number": "37",
        "name": "PC6",
        "type": "bidirectional",
        "description": "GPIO PC6. Alt: TIM3_CH1 / I2S2_MCK / LCD_SEG24."
      },
      {
        "number": "38",
        "name": "PC7",
        "type": "bidirectional",
        "description": "GPIO PC7. Alt: TIM3_CH2 / I2S3_MCK / LCD_SEG25."
      },
      {
        "number": "39",
        "name": "PC8",
        "type": "bidirectional",
        "description": "GPIO PC8. Alt: TIM3_CH3 / LCD_SEG26."
      },
      {
        "number": "40",
        "name": "PC9",
        "type": "bidirectional",
        "description": "GPIO PC9. Alt: TIM3_CH4 / LCD_SEG27."
      },
      {
        "number": "41",
        "name": "PA8",
        "type": "bidirectional",
        "description": "GPIO PA8. Alt: USART1_CK / MCO / LCD_COM0."
      },
      {
        "number": "42",
        "name": "PA9",
        "type": "bidirectional",
        "description": "GPIO PA9. Alt: USART1_TX / LCD_COM1."
      },
      {
        "number": "43",
        "name": "PA10",
        "type": "bidirectional",
        "description": "GPIO PA10. Alt: USART1_RX / LCD_COM2."
      },
      {
        "number": "44",
        "name": "PA11",
        "type": "bidirectional",
        "description": "GPIO PA11. Alt: USART1_CTS / SPI1_MISO. Additional: USB_DM (USB 2.0 FS D-)."
      },
      {
        "number": "45",
        "name": "PA12",
        "type": "bidirectional",
        "description": "GPIO PA12. Alt: USART1_RTS / SPI1_MOSI. Additional: USB_DP (USB 2.0 FS D+)."
      },
      {
        "number": "46",
        "name": "PA13/JTMS-SWDIO",
        "type": "bidirectional",
        "description": "GPIO PA13; default after reset is JTMS-SWDIO serial-wire debug data."
      },
      {
        "number": "47",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Ground reference for digital core (VSS domain 2)."
      },
      {
        "number": "48",
        "name": "VDD_2",
        "type": "power_in",
        "description": "Digital core power supply, 1.65-3.6 V (VDD domain 2)."
      },
      {
        "number": "49",
        "name": "PA14/JTCK-SWCLK",
        "type": "bidirectional",
        "description": "GPIO PA14; default after reset is JTCK-SWCLK serial-wire/JTAG clock."
      },
      {
        "number": "50",
        "name": "PA15/JTDI",
        "type": "bidirectional",
        "description": "GPIO PA15; default after reset is JTDI JTAG data-in. Alt: TIM2_CH1_ETR / SPI1_NSS / SPI3_NSS / I2S3_WS / LCD_SEG17 / JTDI."
      },
      {
        "number": "51",
        "name": "PC10",
        "type": "bidirectional",
        "description": "GPIO PC10. Alt: SPI3_SCK / I2S3_CK / USART3_TX / UART4_TX / LCD_SEG28 / LCD_SEG40 / LCD_COM4."
      },
      {
        "number": "52",
        "name": "PC11",
        "type": "bidirectional",
        "description": "GPIO PC11. Alt: SPI3_MISO / USART3_RX / UART4_RX / LCD_SEG29 / LCD_SEG41 / LCD_COM5."
      },
      {
        "number": "53",
        "name": "PC12",
        "type": "bidirectional",
        "description": "GPIO PC12. Alt: SPI3_MOSI / I2S3_SD / USART3_CK / UART5_TX / LCD_SEG30 / LCD_SEG42 / LCD_COM6."
      },
      {
        "number": "54",
        "name": "PD2",
        "type": "bidirectional",
        "description": "GPIO PD2. Alt: TIM3_ETR / UART5_RX / LCD_SEG31 / LCD_SEG43 / LCD_COM7."
      },
      {
        "number": "55",
        "name": "PB3/JTDO",
        "type": "bidirectional",
        "description": "GPIO PB3; default after reset is JTDO JTAG data-out. Alt: TIM2_CH2 / SPI1_SCK / SPI3_SCK / I2S3_CK / LCD_SEG7 / JTDO. Additional: COMP2_INM."
      },
      {
        "number": "56",
        "name": "PB4/NJTRST",
        "type": "bidirectional",
        "description": "GPIO PB4; default after reset is NJTRST JTAG reset (active low). Alt: TIM3_CH1 / SPI1_MISO / SPI3_MISO / LCD_SEG8 / NJTRST. Additional: COMP2_INP."
      },
      {
        "number": "57",
        "name": "PB5",
        "type": "bidirectional",
        "description": "GPIO PB5. Alt: TIM3_CH2 / I2C1_SMBA / SPI1_MOSI / SPI3_MOSI / I2S3_SD / LCD_SEG9. Additional: COMP2_INP."
      },
      {
        "number": "58",
        "name": "PB6",
        "type": "bidirectional",
        "description": "GPIO PB6. Alt: TIM4_CH1 / I2C1_SCL / USART1_TX. Additional: COMP2_INP."
      },
      {
        "number": "59",
        "name": "PB7",
        "type": "bidirectional",
        "description": "GPIO PB7. Alt: TIM4_CH2 / I2C1_SDA / USART1_RX. Additional: COMP2_INP / PVD_IN."
      },
      {
        "number": "60",
        "name": "BOOT0",
        "type": "input",
        "description": "Boot memory select input, latched with BOOT1(PB2) at reset to choose Main Flash, System memory (bootloader), or SRAM as boot area."
      },
      {
        "number": "61",
        "name": "PB8",
        "type": "bidirectional",
        "description": "GPIO PB8. Alt: TIM4_CH3 / TIM10_CH1 / I2C1_SCL / LCD_SEG16."
      },
      {
        "number": "62",
        "name": "PB9",
        "type": "bidirectional",
        "description": "GPIO PB9. Alt: TIM4_CH4 / TIM11_CH1 / I2C1_SDA / LCD_COM3."
      },
      {
        "number": "63",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Ground reference for digital core (VSS domain 3)."
      },
      {
        "number": "64",
        "name": "VDD_3",
        "type": "power_in",
        "description": "Digital core power supply, 1.65-3.6 V (VDD domain 3)."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/stm32l151ret6.pdf",
        "pages": 136,
        "sha256": "0d2f673e0c6974fa",
        "source_tier": "mfr"
      },
      "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"
    },
    "pin1": {
      "pad": "1",
      "at": [
        -5.675,
        -3.75
      ],
      "corner": "top-left",
      "source": "silk-marker",
      "derived_from": "LQFP-64_10x10mm_P0.5mm@sha256:f5a3abeefd7fdfa3",
      "mark": "drawn"
    },
    "mcu": {
      "part_number": "STM32L151RET6",
      "series": "STM32L1",
      "subfamily": "STM32L151",
      "core": "Arm Cortex-M3",
      "frequency_mhz": 32,
      "flash_kb": 512,
      "ram_kb": 80,
      "io_count": 51,
      "package": "LQFP 64 10x10x1.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": false,
      "product_folder": "/en/microcontrollers-microprocessors/stm32l151re.html",
      "source": "st.com portfolio grid CL1734"
    },
    "models_3d": [
      {
        "file": "stm32l151ret6.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": "stm32l151ret6-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": "d38a34e3cfbe6a688312f8e2c8f83722524559080d872a8d635ee45cba6ffdfe",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Core": "Arm Cortex-M3",
      "Max clock": "32 MHz",
      "Flash": "512 kB",
      "RAM": "80 kB",
      "I/O pins": 51,
      "ADC units": 1,
      "ST status": "Active",
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-64(10x10)",
      "Category": "MCU",
      "Pins": "64"
    }
  },
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm32l151ret6"
  ],
  "discovery_pitch": "STM32L151RET6 (STMicroelectronics) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32l151ret6.kicad_sym",
    "stm32l151ret6.kicad_mod",
    "stm32l151ret6.glb",
    "stm32l151ret6.step",
    "stm32l151ret6-etched.step",
    "stm32l151ret6.lbr",
    "docs/hero.png",
    "docs/stm32l151ret6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  },
  "variants": [
    {
      "mpn": "STM32L151RET6",
      "kind": "packaging"
    },
    {
      "mpn": "STM32L151RET6TR",
      "kind": "packaging"
    },
    {
      "mpn": "STM32L151RET6RET7",
      "kind": "packaging"
    },
    {
      "mpn": "STM32L151RET6RET7TR",
      "kind": "packaging"
    },
    {
      "mpn": "STM32L151RET6VET6",
      "kind": "packaging"
    },
    {
      "mpn": "STM32L151RET6VET6TR",
      "kind": "packaging"
    },
    {
      "mpn": "STM32L151RET6VET7",
      "kind": "packaging"
    },
    {
      "mpn": "STM32L151RET6VET7TR",
      "kind": "packaging"
    },
    {
      "mpn": "STM32L151RET6ZET6",
      "kind": "packaging"
    },
    {
      "mpn": "STM32L151RET6ZET6TR",
      "kind": "packaging"
    },
    {
      "mpn": "STM32L151RET6ZET7",
      "kind": "packaging"
    },
    {
      "mpn": "STM32L151RET6ZET7TR",
      "kind": "packaging"
    },
    {
      "mpn": "STM32L151RET6QEH6",
      "kind": "packaging"
    },
    {
      "mpn": "STM32L151RET6QEH6TR",
      "kind": "packaging"
    },
    {
      "mpn": "STM32L151RET6UE",
      "kind": "packaging"
    }
  ],
  "updated_at": "2026-09-25T08:54:30.572Z"
}