← Commit history

Initial commit: component/stm32l151ccu6

Ray ·bb2d4817ce ·1d ago
2 files changed +530
README.mdadded+85
@@ -0,0 +1,85 @@+# STM32L151CCU6++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · UFQFPN-48(7x7)++STM32L151CCU6 from STMicroelectronics, in a UFQFPN-48(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model, then checked against ST open pin data); symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | VLCD | power_in | LCD power supply rail voltage 1.65 to 3.6 V, applicable to STM32L152xC devices only (connect to VDD for STM32L151xC) |+| 2 | PC13-WKUP2 | bidirectional | Port C bit 13 general-purpose I/O with 5V tolerance and wakeup/RTC tamper/timestamp functionality |+| 3 | PC14-OSC32_IN | bidirectional | Port C bit 14 configured as 32 kHz oscillator input at 3.3V logic levels when LSE enabled |+| 4 | PC15-OSC32_OUT | bidirectional | Port C bit 15 configured as 32 kHz oscillator output at 3.3V logic levels when LSE enabled |+| 5 | PH0-OSC_IN | bidirectional | Port H bit 0 configured as high-speed oscillator input at 3.3V logic levels when HSE enabled |+| 6 | PH1-OSC_OUT | bidirectional | Port H bit 1 configured as high-speed oscillator output at 3.3V logic levels when HSE enabled |+| 7 | NRST | bidirectional | Active-low bidirectional reset pin with embedded weak pull-up resistor requiring 0.1µF debouncing capacitor |+| 8 | VSSA | power_in | Analog ground supply reference pin, must be connected to system ground |+| 9 | VDDA | power_in | Analog power supply 1.8 to 3.6 V requiring external 100nF decoupling capacitor |+| 10 | PA0-WKUP1 | bidirectional | Port A bit 0 with 5V tolerance supporting timer/USART2/wakeup and ADC/comparator functions |+| 11 | PA1 | bidirectional | Port A bit 1 with 5V tolerance supporting timer/USART2/ADC/comparator and OpAmp functionality |+| 12 | PA2 | bidirectional | Port A bit 2 with 5V tolerance supporting timer/USART2/ADC and comparator functions |+| 13 | PA3 | bidirectional | Port A bit 3 with 3.3V logic supporting timer/USART2/LCD segment and ADC/comparator functions |+| 14 | PA4 | bidirectional | Port A bit 4 with 3.3V logic supporting SPI1/I2S chip select and DAC1 output |+| 15 | PA5 | bidirectional | Port A bit 5 with 3.3V logic supporting SPI1 serial clock and DAC2 output |+| 16 | PA6 | bidirectional | Port A bit 6 with 5V tolerance supporting timer/SPI1 MISO/LCD segment and ADC/comparator |+| 17 | PA7 | bidirectional | Port A bit 7 with 5V tolerance supporting timer/SPI1 MOSI/LCD segment and ADC/comparator |+| 18 | PB0 | bidirectional | Port B bit 0 with 3.3V logic supporting timer/LCD segment/ADC/comparator and OpAmp output |+| 19 | PB1 | bidirectional | Port B bit 1 with 5V tolerance supporting timer/LCD segment and ADC/comparator |+| 20 | PB2 | bidirectional | Port B bit 2 with 5V tolerance for BOOT1 mode selection and LCD voltage rail function |+| 21 | PB10 | bidirectional | Port B bit 10 with 5V tolerance supporting I2C2 clock/USART3 transmit and LCD segment |+| 22 | PB11 | bidirectional | Port B bit 11 with 5V tolerance supporting I2C2 data/USART3 receive and LCD segment |+| 23 | VSS_1 | power_in | Power supply ground reference pin, must be connected to system ground |+| 24 | VDD_1 | power_in | Core power supply 1.65 to 3.6 V requiring external 1µF and 100nF decoupling capacitors |+| 25 | PB12 | bidirectional | Port B bit 12 with 5V tolerance supporting timer/SPI2/I2S chip select/USART3 and LCD segment |+| 26 | PB13 | bidirectional | Port B bit 13 with 5V tolerance supporting timer/SPI2/I2S clock/USART3 and ADC input |+| 27 | PB14 | bidirectional | Port B bit 14 with 5V tolerance supporting timer/SPI2 MISO/USART3 and ADC input |+| 28 | PB15 | bidirectional | Port B bit 15 with 5V tolerance supporting timer/SPI2 MOSI/I2S data and LCD segment |+| 29 | PA8 | bidirectional | Port A bit 8 with 5V tolerance supporting microcontroller clock output/USART1 clock and LCD COM |+| 30 | PA9 | bidirectional | Port A bit 9 with 5V tolerance for USART1 transmit and LCD COM function |+| 31 | PA10 | bidirectional | Port A bit 10 with 5V tolerance for USART1 receive and LCD COM function |+| 32 | PA11 | bidirectional | Port A bit 11 with 5V tolerance supporting USART1 CTS/SPI1 MISO and USB pull-down |+| 33 | PA12 | bidirectional | Port A bit 12 with 5V tolerance supporting USART1 RTS/SPI1 MOSI and USB pull-up |+| 34 | PA13 | bidirectional | Port A bit 13 with 5V tolerance for JTAG/SWD SWDIO serial wire debug interface pin |+| 35 | VSS_2 | power_in | Power supply ground reference pin, must be connected to system ground |+| 36 | VDD_2 | power_in | Core power supply 1.65 to 3.6 V requiring external 1µF and 100nF decoupling capacitors |+| 37 | PA14 | bidirectional | Port A bit 14 with 5V tolerance for JTAG/SWD SWCLK serial wire debug interface pin |+| 38 | PA15 | bidirectional | Port A bit 15 with 5V tolerance supporting JTAG TDI/timer/SPI1,3 select and I2S3 functionality |+| 39 | PB3 | bidirectional | Port B bit 3 with 5V tolerance supporting JTAG TDO/timer/SPI1,3 clock and I2S3 clock |+| 40 | PB4 | bidirectional | Port B bit 4 with 5V tolerance for JTAG nTRST and SPI1/3 MISO functions |+| 41 | PB5 | bidirectional | Port B bit 5 with 5V tolerance supporting I2C1 alert/timer/SPI1,3 MOSI and I2S3 data |+| 42 | PB6 | bidirectional | Port B bit 6 with 5V tolerance supporting I2C1 clock/timer and USART1 transmit |+| 43 | PB7 | bidirectional | Port B bit 7 with 5V tolerance supporting I2C1 data/timer and USART1 receive |+| 44 | BOOT0 | input | Dedicated boot selection input pin read at power-up to determine bootloader or flash execution |+| 45 | PB8 | bidirectional | Port B bit 8 with 5V tolerance supporting I2C1 clock/timer and LCD segment |+| 46 | PB9 | bidirectional | Port B bit 9 with 5V tolerance supporting I2C1 data/timer and LCD COM function |+| 47 | VSS_3 | power_in | Power supply ground reference pin, must be connected to system ground |+| 48 | VDD_3 | power_in | Core power supply 1.65 to 3.6 V requiring external 1µF and 100nF decoupling capacitors |+| 49 | EP | passive | Exposed pad (from the footprint; not named in the datasheet pin table). |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | UFQFPN-48(7x7) |+| Category | Embedded Processors & Controllers |+| Pins | 49 |++## CAD (KiCad official)++- Symbol: `STM32L151CCU6`+- Footprint: `Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.15x5.15mm`+- 3D model: UFQFPN-48(7x7) (KiCad packages3D, STEP)+- 3D model files: `stm32l151ccu6-etched.step` / `stm32l151ccu6-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32l151ccu6.step` / `stm32l151ccu6.glb` are the bare package body.++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [STMicroelectronics datasheet](https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886246509068288) (136 pp, sha256 `5e6d5674cd06c108`, retrieved 2026-10-07, tier: lcsc)+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.3`, primary `claude-haiku-4-5-20251001` (text), consensus `claude-sonnet-5-5` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/stm32l151ccu6-datasheet.pdf)
page.jsonadded+445
@@ -0,0 +1,445 @@+{+  "slug": "stm32l151ccu6",+  "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",+    "stm32l151ccu6",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm32l151ccu6.kicad_sym",+    "stm32l151ccu6.kicad_mod",+    "stm32l151ccu6.glb",+    "stm32l151ccu6.step",+    "stm32l151ccu6.lbr",+    "docs/hero.png",+    "docs/stm32l151ccu6-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html",+    "stm32l151ccu6-hero.glb",+    "stm32l151ccu6-hero.overlay.json"+  ],+  "component": {+    "mpn": "STM32L151CCU6",+    "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/8588886246509068288",+    "parts": {+      "symbol": "stm32l151ccu6.kicad_sym",+      "footprint": "stm32l151ccu6.kicad_mod",+      "model_3d": "stm32l151ccu6-hero.glb",+      "model_3d_plain": "stm32l151ccu6.glb",+      "model_3d_step": "stm32l151ccu6-etched.step",+      "model_3d_step_plain": "stm32l151ccu6.step",+      "lbr": "stm32l151ccu6.lbr"+    },+    "distributor_links": {+      "lcsc": "C503082",+      "digikey": "497-17519-ND",+      "mouser": "511-STM32L151CCU6"+    },+    "distributor_check": {+      "checked_at": "2026-10-07T01:44:03Z",+      "source": "Component Ocean /api/assign-pns",+      "digikey": {+        "pn": "497-17519-ND",+        "status": "found"+      },+      "mouser": {+        "pn": "511-STM32L151CCU6",+        "status": "found"+      }+    },+    "pins": [+      {+        "number": "1",+        "name": "VLCD",+        "type": "power_in",+        "description": "LCD power supply rail voltage 1.65 to 3.6 V, applicable to STM32L152xC devices only (connect to VDD for STM32L151xC)"+      },+      {+        "number": "2",+        "name": "PC13-WKUP2",+        "type": "bidirectional",+        "description": "Port C bit 13 general-purpose I/O with 5V tolerance and wakeup/RTC tamper/timestamp functionality"+      },+      {+        "number": "3",+        "name": "PC14-OSC32_IN",+        "type": "bidirectional",+        "description": "Port C bit 14 configured as 32 kHz oscillator input at 3.3V logic levels when LSE enabled"+      },+      {+        "number": "4",+        "name": "PC15-OSC32_OUT",+        "type": "bidirectional",+        "description": "Port C bit 15 configured as 32 kHz oscillator output at 3.3V logic levels when LSE enabled"+      },+      {+        "number": "5",+        "name": "PH0-OSC_IN",+        "type": "bidirectional",+        "description": "Port H bit 0 configured as high-speed oscillator input at 3.3V logic levels when HSE enabled"+      },+      {+        "number": "6",+        "name": "PH1-OSC_OUT",+        "type": "bidirectional",+        "description": "Port H bit 1 configured as high-speed oscillator output at 3.3V logic levels when HSE enabled"+      },+      {+        "number": "7",+        "name": "NRST",+        "type": "bidirectional",+        "description": "Active-low bidirectional reset pin with embedded weak pull-up resistor requiring 0.1µF debouncing capacitor"+      },+      {+        "number": "8",+        "name": "VSSA",+        "type": "power_in",+        "description": "Analog ground supply reference pin, must be connected to system ground"+      },+      {+        "number": "9",+        "name": "VDDA",+        "type": "power_in",+        "description": "Analog power supply 1.8 to 3.6 V requiring external 100nF decoupling capacitor"+      },+      {+        "number": "10",+        "name": "PA0-WKUP1",+        "type": "bidirectional",+        "description": "Port A bit 0 with 5V tolerance supporting timer/USART2/wakeup and ADC/comparator functions"+      },+      {+        "number": "11",+        "name": "PA1",+        "type": "bidirectional",+        "description": "Port A bit 1 with 5V tolerance supporting timer/USART2/ADC/comparator and OpAmp functionality"+      },+      {+        "number": "12",+        "name": "PA2",+        "type": "bidirectional",+        "description": "Port A bit 2 with 5V tolerance supporting timer/USART2/ADC and comparator functions"+      },+      {+        "number": "13",+        "name": "PA3",+        "type": "bidirectional",+        "description": "Port A bit 3 with 3.3V logic supporting timer/USART2/LCD segment and ADC/comparator functions"+      },+      {+        "number": "14",+        "name": "PA4",+        "type": "bidirectional",+        "description": "Port A bit 4 with 3.3V logic supporting SPI1/I2S chip select and DAC1 output"+      },+      {+        "number": "15",+        "name": "PA5",+        "type": "bidirectional",+        "description": "Port A bit 5 with 3.3V logic supporting SPI1 serial clock and DAC2 output"+      },+      {+        "number": "16",+        "name": "PA6",+        "type": "bidirectional",+        "description": "Port A bit 6 with 5V tolerance supporting timer/SPI1 MISO/LCD segment and ADC/comparator"+      },+      {+        "number": "17",+        "name": "PA7",+        "type": "bidirectional",+        "description": "Port A bit 7 with 5V tolerance supporting timer/SPI1 MOSI/LCD segment and ADC/comparator"+      },+      {+        "number": "18",+        "name": "PB0",+        "type": "bidirectional",+        "description": "Port B bit 0 with 3.3V logic supporting timer/LCD segment/ADC/comparator and OpAmp output"+      },+      {+        "number": "19",+        "name": "PB1",+        "type": "bidirectional",+        "description": "Port B bit 1 with 5V tolerance supporting timer/LCD segment and ADC/comparator"+      },+      {+        "number": "20",+        "name": "PB2",+        "type": "bidirectional",+        "description": "Port B bit 2 with 5V tolerance for BOOT1 mode selection and LCD voltage rail function"+      },+      {+        "number": "21",+        "name": "PB10",+        "type": "bidirectional",+        "description": "Port B bit 10 with 5V tolerance supporting I2C2 clock/USART3 transmit and LCD segment"+      },+      {+        "number": "22",+        "name": "PB11",+        "type": "bidirectional",+        "description": "Port B bit 11 with 5V tolerance supporting I2C2 data/USART3 receive and LCD segment"+      },+      {+        "number": "23",+        "name": "VSS_1",+        "type": "power_in",+        "description": "Power supply ground reference pin, must be connected to system ground"+      },+      {+        "number": "24",+        "name": "VDD_1",+        "type": "power_in",+        "description": "Core power supply 1.65 to 3.6 V requiring external 1µF and 100nF decoupling capacitors"+      },+      {+        "number": "25",+        "name": "PB12",+        "type": "bidirectional",+        "description": "Port B bit 12 with 5V tolerance supporting timer/SPI2/I2S chip select/USART3 and LCD segment"+      },+      {+        "number": "26",+        "name": "PB13",+        "type": "bidirectional",+        "description": "Port B bit 13 with 5V tolerance supporting timer/SPI2/I2S clock/USART3 and ADC input"+      },+      {+        "number": "27",+        "name": "PB14",+        "type": "bidirectional",+        "description": "Port B bit 14 with 5V tolerance supporting timer/SPI2 MISO/USART3 and ADC input"+      },+      {+        "number": "28",+        "name": "PB15",+        "type": "bidirectional",+        "description": "Port B bit 15 with 5V tolerance supporting timer/SPI2 MOSI/I2S data and LCD segment"+      },+      {+        "number": "29",+        "name": "PA8",+        "type": "bidirectional",+        "description": "Port A bit 8 with 5V tolerance supporting microcontroller clock output/USART1 clock and LCD COM"+      },+      {+        "number": "30",+        "name": "PA9",+        "type": "bidirectional",+        "description": "Port A bit 9 with 5V tolerance for USART1 transmit and LCD COM function"+      },+      {+        "number": "31",+        "name": "PA10",+        "type": "bidirectional",+        "description": "Port A bit 10 with 5V tolerance for USART1 receive and LCD COM function"+      },+      {+        "number": "32",+        "name": "PA11",+        "type": "bidirectional",+        "description": "Port A bit 11 with 5V tolerance supporting USART1 CTS/SPI1 MISO and USB pull-down"+      },+      {+        "number": "33",+        "name": "PA12",+        "type": "bidirectional",+        "description": "Port A bit 12 with 5V tolerance supporting USART1 RTS/SPI1 MOSI and USB pull-up"+      },+      {+        "number": "34",+        "name": "PA13",+        "type": "bidirectional",+        "description": "Port A bit 13 with 5V tolerance for JTAG/SWD SWDIO serial wire debug interface pin"+      },+      {+        "number": "35",+        "name": "VSS_2",+        "type": "power_in",+        "description": "Power supply ground reference pin, must be connected to system ground"+      },+      {+        "number": "36",+        "name": "VDD_2",+        "type": "power_in",+        "description": "Core power supply 1.65 to 3.6 V requiring external 1µF and 100nF decoupling capacitors"+      },+      {+        "number": "37",+        "name": "PA14",+        "type": "bidirectional",+        "description": "Port A bit 14 with 5V tolerance for JTAG/SWD SWCLK serial wire debug interface pin"+      },+      {+        "number": "38",+        "name": "PA15",+        "type": "bidirectional",+        "description": "Port A bit 15 with 5V tolerance supporting JTAG TDI/timer/SPI1,3 select and I2S3 functionality"+      },+      {+        "number": "39",+        "name": "PB3",+        "type": "bidirectional",+        "description": "Port B bit 3 with 5V tolerance supporting JTAG TDO/timer/SPI1,3 clock and I2S3 clock"+      },+      {+        "number": "40",+        "name": "PB4",+        "type": "bidirectional",+        "description": "Port B bit 4 with 5V tolerance for JTAG nTRST and SPI1/3 MISO functions"+      },+      {+        "number": "41",+        "name": "PB5",+        "type": "bidirectional",+        "description": "Port B bit 5 with 5V tolerance supporting I2C1 alert/timer/SPI1,3 MOSI and I2S3 data"+      },+      {+        "number": "42",+        "name": "PB6",+        "type": "bidirectional",+        "description": "Port B bit 6 with 5V tolerance supporting I2C1 clock/timer and USART1 transmit"+      },+      {+        "number": "43",+        "name": "PB7",+        "type": "bidirectional",+        "description": "Port B bit 7 with 5V tolerance supporting I2C1 data/timer and USART1 receive"+      },+      {+        "number": "44",+        "name": "BOOT0",+        "type": "input",+        "description": "Dedicated boot selection input pin read at power-up to determine bootloader or flash execution"+      },+      {+        "number": "45",+        "name": "PB8",+        "type": "bidirectional",+        "description": "Port B bit 8 with 5V tolerance supporting I2C1 clock/timer and LCD segment"+      },+      {+        "number": "46",+        "name": "PB9",+        "type": "bidirectional",+        "description": "Port B bit 9 with 5V tolerance supporting I2C1 data/timer and LCD COM function"+      },+      {+        "number": "47",+        "name": "VSS_3",+        "type": "power_in",+        "description": "Power supply ground reference pin, must be connected to system ground"+      },+      {+        "number": "48",+        "name": "VDD_3",+        "type": "power_in",+        "description": "Core power supply 1.65 to 3.6 V requiring external 1µF and 100nF decoupling capacitors"+      },+      {+        "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-4-5-20251001",+        "primary_mode": "text",+        "consensus_model": "claude-sonnet-5-5",+        "consensus": "agreed",+        "guards": "pin_guards 0.1: passed",+        "guard_notes": [+          "exposed pad 49 added from the footprint"+        ],+        "pages_sent": 62,+        "cost_usd": 0.474,+        "at": "2026-10-07T01:43:42"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886246509068288",+        "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": "stm32l151ccu6.step",+        "role": "plain",+        "up": "Z",+        "units": "mm",+        "origin": "footprint origin = pad-pattern centre",+        "seat": "z = 0",+        "extents_mm": [+          7,+          7,+          0.77+        ],+        "zmin_mm": 0,+        "centre_offset_mm": 0,+        "footprint_binding": "identity",+        "sha256": "f2b38b0b4bf967c77e683e8d4599608b9f0503055ec535b93c4ebb5d0163e916",+        "checked": "2026-10-07",+        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+      },+      {+        "file": "stm32l151ccu6-etched.step",+        "role": "eda",+        "up": "Z",+        "units": "mm",+        "origin": "footprint origin = pad-pattern centre",+        "seat": "z = 0",+        "extents_mm": [+          7,+          7,+          0.77+        ],+        "zmin_mm": 0,+        "centre_offset_mm": 0,+        "footprint_binding": "identity",+        "sha256": "73bc04251604887c28102f2c11f4ce834486b2669e5b5fff5ff7dadaa682c5b9",+        "checked": "2026-10-07",+        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+      }+    ]+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file