← Commit history

Initial commit: component/stm32l151c8t6

Ray ·ce6fdd03bd ·
2 files changed +467
README.mdadded+84
@@ -0,0 +1,84 @@+# STM32L151C8T6++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · LQFP-48(7x7)++STM32L151C8T6 from STMicroelectronics, in a LQFP-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_out | LCD voltage output for internal step-up converter (STM32L152xx only), connect to VDD for STM32L151xx |+| 2 | PC13-WKUP2 | bidirectional | GPIO port C pin 13 with wakeup capability, functions as RTC_TAMP1/RTC_TS/RTC_OUT, 5V tolerant |+| 3 | PC14-OSC32_IN | passive | 32.768 kHz oscillator input pin for low-speed external crystal |+| 4 | PC15-OSC32_OUT | passive | 32.768 kHz oscillator output pin for low-speed external crystal |+| 5 | PH0-OSC_IN | passive | High-speed external oscillator input pin for 1-24 MHz crystal oscillator |+| 6 | PH1-OSC_OUT | passive | High-speed external oscillator output pin for 1-24 MHz crystal oscillator |+| 7 | NRST | input | Reset pin with internal pull-up resistor and Schmitt trigger input, active low |+| 8 | VSSA | power_in | Analog ground connection for ADC/DAC/comparator/RTC circuits |+| 9 | VDDA | power_in | Analog power supply 1.8-3.6 V for ADC, DAC, comparators, and internal reference voltage |+| 10 | PA0-WKUP1 | bidirectional | GPIO port A pin 0 with wakeup capability, ADC_IN0, TIM2_CH1_ETR, COMP1_INP, 5V tolerant |+| 11 | PA1 | bidirectional | GPIO port A pin 1, functions as USART2_RTS/ADC_IN1/TIM2_CH2/LCD_SEG0/COMP1_INP, 5V tolerant |+| 12 | PA2 | bidirectional | GPIO port A pin 2, functions as USART2_TX/ADC_IN2/TIM2_CH3/TIM9_CH1/LCD_SEG1/COMP1_INP, 5V tolerant |+| 13 | PA3 | bidirectional | GPIO port A pin 3, functions as USART2_RX/ADC_IN3/TIM2_CH4/TIM9_CH2/LCD_SEG2/COMP1_INP |+| 14 | PA4 | bidirectional | GPIO port A pin 4, functions as SPI1_NSS/USART2_CK/ADC_IN4/DAC_OUT1/COMP1_INP |+| 15 | PA5 | bidirectional | GPIO port A pin 5, functions as SPI1_SCK/ADC_IN5/DAC_OUT2/TIM2_CH1_ETR/COMP1_INP |+| 16 | PA6 | bidirectional | GPIO port A pin 6, functions as SPI1_MISO/ADC_IN6/TIM3_CH1/LCD_SEG3/TIM10_CH1/COMP1_INP, 5V tolerant |+| 17 | PA7 | bidirectional | GPIO port A pin 7, functions as SPI1_MOSI/ADC_IN7/TIM3_CH2/LCD_SEG4/TIM11_CH1/COMP1_INP, 5V tolerant |+| 18 | PB0 | bidirectional | GPIO port B pin 0, functions as ADC_IN8/TIM3_CH3/LCD_SEG5/COMP1_INP/VREF_OUT |+| 19 | PB1 | bidirectional | GPIO port B pin 1, functions as ADC_IN9/TIM3_CH4/LCD_SEG6/COMP1_INP/VREF_OUT, 5V tolerant |+| 20 | PB2 | bidirectional | GPIO port B pin 2 with boot pin capability (BOOT1), selects boot source when set high, 5V tolerant |+| 21 | PB10 | bidirectional | GPIO port B pin 10, functions as I2C2_SCL/USART3_TX/TIM2_CH3/LCD_SEG10, 5V tolerant |+| 22 | PB11 | bidirectional | GPIO port B pin 11, functions as I2C2_SDA/USART3_RX/TIM2_CH4/LCD_SEG11, 5V tolerant |+| 23 | VSS_1 | power_in | Ground connection for main digital logic circuits |+| 24 | VDD_1 | power_in | Main power supply 1.65-3.6 V for digital logic and I/Os |+| 25 | PB12 | bidirectional | GPIO port B pin 12, functions as SPI2_NSS/I2C2_SMBA/USART3_CK/LCD_SEG12/ADC_IN18/COMP1_INP/TIM10_CH1, 5V tolerant |+| 26 | PB13 | bidirectional | GPIO port B pin 13, functions as SPI2_SCK/USART3_CTS/LCD_SEG13/ADC_IN19/COMP1_INP/TIM9_CH1, 5V tolerant |+| 27 | PB14 | bidirectional | GPIO port B pin 14, functions as SPI2_MISO/USART3_RTS/LCD_SEG14/ADC_IN20/COMP1_INP/TIM9_CH2, 5V tolerant |+| 28 | PB15 | bidirectional | GPIO port B pin 15, functions as SPI2_MOSI/LCD_SEG15/ADC_IN21/COMP1_INP/TIM11_CH1/RTC_REFIN, 5V tolerant |+| 29 | PA8 | bidirectional | GPIO port A pin 8, functions as USART1_CK/MCO/LCD_COM0, 5V tolerant |+| 30 | PA9 | bidirectional | GPIO port A pin 9, functions as USART1_TX/LCD_COM1, 5V tolerant |+| 31 | PA10 | bidirectional | GPIO port A pin 10, functions as USART1_RX/LCD_COM2, 5V tolerant |+| 32 | PA11 | bidirectional | GPIO port A pin 11, functions as USART1_CTS/USB_DM/SPI1_MISO, 5V tolerant |+| 33 | PA12 | bidirectional | GPIO port A pin 12, functions as USART1_RTS/USB_DP/SPI1_MOSI, 5V tolerant |+| 34 | PA13 | bidirectional | GPIO port A pin 13, JTMS/SWDAT for JTAG test mode select and serial wire debug data, 5V tolerant |+| 35 | VSS_2 | power_in | Ground connection for main digital logic circuits |+| 36 | VDD_2 | power_in | Main power supply 1.65-3.6 V for digital logic and I/Os |+| 37 | PA14 | bidirectional | GPIO port A pin 14, JTCK/SWCLK for JTAG test clock and serial wire debug clock, 5V tolerant |+| 38 | PA15 | bidirectional | GPIO port A pin 15, JTDI/TIM2_CH1_ETR/SPI1_NSS/LCD_SEG17 for JTAG data in, 5V tolerant |+| 39 | PB3 | bidirectional | GPIO port B pin 3, JTDO/TIM2_CH2/SPI1_SCK/COMP2_INM/LCD_SEG7 for JTAG data out, 5V tolerant |+| 40 | PB4 | bidirectional | GPIO port B pin 4, NJTRST/TIM3_CH1/SPI1_MISO/COMP2_INP/LCD_SEG8 for JTAG negate test reset, 5V tolerant |+| 41 | PB5 | bidirectional | GPIO port B pin 5, functions as I2C1_SMBA/TIM3_CH2/SPI1_MOSI/COMP2_INP/LCD_SEG9, 5V tolerant |+| 42 | PB6 | bidirectional | GPIO port B pin 6, functions as I2C1_SCL/TIM4_CH1/USART1_TX, 5V tolerant |+| 43 | PB7 | bidirectional | GPIO port B pin 7, functions as I2C1_SDA/TIM4_CH2/USART1_RX/PVD_IN, 5V tolerant |+| 44 | BOOT0 | input | Boot mode selection input pin, selects between Flash memory, system memory bootloader, or RAM boot |+| 45 | PB8 | bidirectional | GPIO port B pin 8, functions as TIM4_CH3/I2C1_SCL/LCD_SEG16/TIM10_CH1, 5V tolerant |+| 46 | PB9 | bidirectional | GPIO port B pin 9, functions as TIM4_CH4/I2C1_SDA/LCD_COM3/TIM11_CH1, 5V tolerant |+| 47 | VSS_3 | power_in | Ground connection for main digital logic circuits |+| 48 | VDD_3 | power_in | Main power supply 1.65-3.6 V for digital logic and I/Os |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | LQFP-48(7x7) |+| Category | Embedded Processors & Controllers |+| Pins | 48 |++## CAD (KiCad official)++- Symbol: `STM32L151C8T6`+- Footprint: `Package_QFP:LQFP-48_7x7mm_P0.5mm`+- 3D model: LQFP-48(7x7) (KiCad packages3D, STEP)+- 3D model files: `stm32l151c8t6-etched.step` / `stm32l151c8t6-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32l151c8t6.step` / `stm32l151c8t6.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/8579708230895140865) (117 pp, sha256 `f6403fa4ebb08ec3`, retrieved 2026-09-24, tier: lcsc)+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.2`, primary `claude-haiku-4-5-20251001` (text), consensus `claude-sonnet-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/stm32l151c8t6-datasheet.pdf)
page.jsonadded+383
@@ -0,0 +1,383 @@+{+  "slug": "stm32l151c8t6",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "embedded processors & controllers",+    "stm32l151c8t6",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm32l151c8t6.kicad_sym",+    "stm32l151c8t6.kicad_mod",+    "stm32l151c8t6.glb",+    "stm32l151c8t6.step",+    "stm32l151c8t6.lbr",+    "docs/hero.png",+    "docs/stm32l151c8t6-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "STM32L151C8T6",+    "manufacturer": "STMicroelectronics",+    "package": "LQFP-48(7x7)",+    "pin_count": 48,+    "category": "Embedded Processors & Controllers",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8579708230895140865",+    "parts": {+      "symbol": "stm32l151c8t6.kicad_sym",+      "footprint": "stm32l151c8t6.kicad_mod",+      "model_3d": "stm32l151c8t6-etched.glb",+      "model_3d_plain": "stm32l151c8t6.glb",+      "model_3d_step": "stm32l151c8t6-etched.step",+      "model_3d_step_plain": "stm32l151c8t6.step",+      "lbr": "stm32l151c8t6.lbr"+    },+    "distributor_links": {+      "lcsc": "C9861"+    },+    "pins": [+      {+        "number": "1",+        "name": "VLCD",+        "type": "power_out",+        "description": "LCD voltage output for internal step-up converter (STM32L152xx only), connect to VDD for STM32L151xx"+      },+      {+        "number": "2",+        "name": "PC13-WKUP2",+        "type": "bidirectional",+        "description": "GPIO port C pin 13 with wakeup capability, functions as RTC_TAMP1/RTC_TS/RTC_OUT, 5V tolerant"+      },+      {+        "number": "3",+        "name": "PC14-OSC32_IN",+        "type": "passive",+        "description": "32.768 kHz oscillator input pin for low-speed external crystal"+      },+      {+        "number": "4",+        "name": "PC15-OSC32_OUT",+        "type": "passive",+        "description": "32.768 kHz oscillator output pin for low-speed external crystal"+      },+      {+        "number": "5",+        "name": "PH0-OSC_IN",+        "type": "passive",+        "description": "High-speed external oscillator input pin for 1-24 MHz crystal oscillator"+      },+      {+        "number": "6",+        "name": "PH1-OSC_OUT",+        "type": "passive",+        "description": "High-speed external oscillator output pin for 1-24 MHz crystal oscillator"+      },+      {+        "number": "7",+        "name": "NRST",+        "type": "input",+        "description": "Reset pin with internal pull-up resistor and Schmitt trigger input, active low"+      },+      {+        "number": "8",+        "name": "VSSA",+        "type": "power_in",+        "description": "Analog ground connection for ADC/DAC/comparator/RTC circuits"+      },+      {+        "number": "9",+        "name": "VDDA",+        "type": "power_in",+        "description": "Analog power supply 1.8-3.6 V for ADC, DAC, comparators, and internal reference voltage"+      },+      {+        "number": "10",+        "name": "PA0-WKUP1",+        "type": "bidirectional",+        "description": "GPIO port A pin 0 with wakeup capability, ADC_IN0, TIM2_CH1_ETR, COMP1_INP, 5V tolerant"+      },+      {+        "number": "11",+        "name": "PA1",+        "type": "bidirectional",+        "description": "GPIO port A pin 1, functions as USART2_RTS/ADC_IN1/TIM2_CH2/LCD_SEG0/COMP1_INP, 5V tolerant"+      },+      {+        "number": "12",+        "name": "PA2",+        "type": "bidirectional",+        "description": "GPIO port A pin 2, functions as USART2_TX/ADC_IN2/TIM2_CH3/TIM9_CH1/LCD_SEG1/COMP1_INP, 5V tolerant"+      },+      {+        "number": "13",+        "name": "PA3",+        "type": "bidirectional",+        "description": "GPIO port A pin 3, functions as USART2_RX/ADC_IN3/TIM2_CH4/TIM9_CH2/LCD_SEG2/COMP1_INP"+      },+      {+        "number": "14",+        "name": "PA4",+        "type": "bidirectional",+        "description": "GPIO port A pin 4, functions as SPI1_NSS/USART2_CK/ADC_IN4/DAC_OUT1/COMP1_INP"+      },+      {+        "number": "15",+        "name": "PA5",+        "type": "bidirectional",+        "description": "GPIO port A pin 5, functions as SPI1_SCK/ADC_IN5/DAC_OUT2/TIM2_CH1_ETR/COMP1_INP"+      },+      {+        "number": "16",+        "name": "PA6",+        "type": "bidirectional",+        "description": "GPIO port A pin 6, functions as SPI1_MISO/ADC_IN6/TIM3_CH1/LCD_SEG3/TIM10_CH1/COMP1_INP, 5V tolerant"+      },+      {+        "number": "17",+        "name": "PA7",+        "type": "bidirectional",+        "description": "GPIO port A pin 7, functions as SPI1_MOSI/ADC_IN7/TIM3_CH2/LCD_SEG4/TIM11_CH1/COMP1_INP, 5V tolerant"+      },+      {+        "number": "18",+        "name": "PB0",+        "type": "bidirectional",+        "description": "GPIO port B pin 0, functions as ADC_IN8/TIM3_CH3/LCD_SEG5/COMP1_INP/VREF_OUT"+      },+      {+        "number": "19",+        "name": "PB1",+        "type": "bidirectional",+        "description": "GPIO port B pin 1, functions as ADC_IN9/TIM3_CH4/LCD_SEG6/COMP1_INP/VREF_OUT, 5V tolerant"+      },+      {+        "number": "20",+        "name": "PB2",+        "type": "bidirectional",+        "description": "GPIO port B pin 2 with boot pin capability (BOOT1), selects boot source when set high, 5V tolerant"+      },+      {+        "number": "21",+        "name": "PB10",+        "type": "bidirectional",+        "description": "GPIO port B pin 10, functions as I2C2_SCL/USART3_TX/TIM2_CH3/LCD_SEG10, 5V tolerant"+      },+      {+        "number": "22",+        "name": "PB11",+        "type": "bidirectional",+        "description": "GPIO port B pin 11, functions as I2C2_SDA/USART3_RX/TIM2_CH4/LCD_SEG11, 5V tolerant"+      },+      {+        "number": "23",+        "name": "VSS_1",+        "type": "power_in",+        "description": "Ground connection for main digital logic circuits"+      },+      {+        "number": "24",+        "name": "VDD_1",+        "type": "power_in",+        "description": "Main power supply 1.65-3.6 V for digital logic and I/Os"+      },+      {+        "number": "25",+        "name": "PB12",+        "type": "bidirectional",+        "description": "GPIO port B pin 12, functions as SPI2_NSS/I2C2_SMBA/USART3_CK/LCD_SEG12/ADC_IN18/COMP1_INP/TIM10_CH1, 5V tolerant"+      },+      {+        "number": "26",+        "name": "PB13",+        "type": "bidirectional",+        "description": "GPIO port B pin 13, functions as SPI2_SCK/USART3_CTS/LCD_SEG13/ADC_IN19/COMP1_INP/TIM9_CH1, 5V tolerant"+      },+      {+        "number": "27",+        "name": "PB14",+        "type": "bidirectional",+        "description": "GPIO port B pin 14, functions as SPI2_MISO/USART3_RTS/LCD_SEG14/ADC_IN20/COMP1_INP/TIM9_CH2, 5V tolerant"+      },+      {+        "number": "28",+        "name": "PB15",+        "type": "bidirectional",+        "description": "GPIO port B pin 15, functions as SPI2_MOSI/LCD_SEG15/ADC_IN21/COMP1_INP/TIM11_CH1/RTC_REFIN, 5V tolerant"+      },+      {+        "number": "29",+        "name": "PA8",+        "type": "bidirectional",+        "description": "GPIO port A pin 8, functions as USART1_CK/MCO/LCD_COM0, 5V tolerant"+      },+      {+        "number": "30",+        "name": "PA9",+        "type": "bidirectional",+        "description": "GPIO port A pin 9, functions as USART1_TX/LCD_COM1, 5V tolerant"+      },+      {+        "number": "31",+        "name": "PA10",+        "type": "bidirectional",+        "description": "GPIO port A pin 10, functions as USART1_RX/LCD_COM2, 5V tolerant"+      },+      {+        "number": "32",+        "name": "PA11",+        "type": "bidirectional",+        "description": "GPIO port A pin 11, functions as USART1_CTS/USB_DM/SPI1_MISO, 5V tolerant"+      },+      {+        "number": "33",+        "name": "PA12",+        "type": "bidirectional",+        "description": "GPIO port A pin 12, functions as USART1_RTS/USB_DP/SPI1_MOSI, 5V tolerant"+      },+      {+        "number": "34",+        "name": "PA13",+        "type": "bidirectional",+        "description": "GPIO port A pin 13, JTMS/SWDAT for JTAG test mode select and serial wire debug data, 5V tolerant"+      },+      {+        "number": "35",+        "name": "VSS_2",+        "type": "power_in",+        "description": "Ground connection for main digital logic circuits"+      },+      {+        "number": "36",+        "name": "VDD_2",+        "type": "power_in",+        "description": "Main power supply 1.65-3.6 V for digital logic and I/Os"+      },+      {+        "number": "37",+        "name": "PA14",+        "type": "bidirectional",+        "description": "GPIO port A pin 14, JTCK/SWCLK for JTAG test clock and serial wire debug clock, 5V tolerant"+      },+      {+        "number": "38",+        "name": "PA15",+        "type": "bidirectional",+        "description": "GPIO port A pin 15, JTDI/TIM2_CH1_ETR/SPI1_NSS/LCD_SEG17 for JTAG data in, 5V tolerant"+      },+      {+        "number": "39",+        "name": "PB3",+        "type": "bidirectional",+        "description": "GPIO port B pin 3, JTDO/TIM2_CH2/SPI1_SCK/COMP2_INM/LCD_SEG7 for JTAG data out, 5V tolerant"+      },+      {+        "number": "40",+        "name": "PB4",+        "type": "bidirectional",+        "description": "GPIO port B pin 4, NJTRST/TIM3_CH1/SPI1_MISO/COMP2_INP/LCD_SEG8 for JTAG negate test reset, 5V tolerant"+      },+      {+        "number": "41",+        "name": "PB5",+        "type": "bidirectional",+        "description": "GPIO port B pin 5, functions as I2C1_SMBA/TIM3_CH2/SPI1_MOSI/COMP2_INP/LCD_SEG9, 5V tolerant"+      },+      {+        "number": "42",+        "name": "PB6",+        "type": "bidirectional",+        "description": "GPIO port B pin 6, functions as I2C1_SCL/TIM4_CH1/USART1_TX, 5V tolerant"+      },+      {+        "number": "43",+        "name": "PB7",+        "type": "bidirectional",+        "description": "GPIO port B pin 7, functions as I2C1_SDA/TIM4_CH2/USART1_RX/PVD_IN, 5V tolerant"+      },+      {+        "number": "44",+        "name": "BOOT0",+        "type": "input",+        "description": "Boot mode selection input pin, selects between Flash memory, system memory bootloader, or RAM boot"+      },+      {+        "number": "45",+        "name": "PB8",+        "type": "bidirectional",+        "description": "GPIO port B pin 8, functions as TIM4_CH3/I2C1_SCL/LCD_SEG16/TIM10_CH1, 5V tolerant"+      },+      {+        "number": "46",+        "name": "PB9",+        "type": "bidirectional",+        "description": "GPIO port B pin 9, functions as TIM4_CH4/I2C1_SDA/LCD_COM3/TIM11_CH1, 5V tolerant"+      },+      {+        "number": "47",+        "name": "VSS_3",+        "type": "power_in",+        "description": "Ground connection for main digital logic circuits"+      },+      {+        "number": "48",+        "name": "VDD_3",+        "type": "power_in",+        "description": "Main power supply 1.65-3.6 V for digital logic and I/Os"+      }+    ],+    "provenance": {+      "extractor": "extract_pins 0.2",+      "factory_chain": {+        "factory": "2.0.0",+        "extractor": "extract_pins 0.2",+        "primary_model": "claude-haiku-4-5-20251001",+        "primary_mode": "text",+        "consensus_model": "claude-sonnet-5",+        "consensus": "agreed",+        "guards": "pin_guards 0.1: passed",+        "guard_notes": [+          "extractor flagged: PC3 and VREF+/VREF- pins are not present in LQFP48 package variant; they are only available in the 6; GPIO pins PC0-PC12, PD0-PD15, PE0-PE15 and extended peripheral functions are not available in LQFP48; VLCD pin function is applicable only to STM32L152xx devices with LCD controller; on STM32L151xx vari"+        ],+        "pages_sent": 117,+        "cost_usd": 1.3244,+        "at": "2026-09-24T04:06:02"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8579708230895140865",+        "pages": 117,+        "sha256": "f6403fa4ebb08ec3",+        "source_tier": "lcsc"+      },+      "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"+    }+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file