← Commit history

Initial commit: component/stm32l072cbt6

Ray ·26a3606bd3 ·
2 files changed +467
README.mdadded+84
@@ -0,0 +1,84 @@+# STM32L072CBT6++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · LQFP-48(7x7)++STM32L072CBT6 from STMicroelectronics, in a LQFP-48(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | VDD | power_in | Main power supply pin, connect to +1.65V to +3.6V. |+| 2 | PC13 | bidirectional | Port C pin 13, 5V tolerant I/O with RTC_TAMP1/RTC_TS/RTC_OUT/WKUP2 functionality. |+| 3 | PC14-OSC32_IN | bidirectional | Port C pin 14, 5V tolerant I/O for 32kHz oscillator input (OSC32_IN). |+| 4 | PC15-OSC32_OUT | bidirectional | Port C pin 15, 3.3V I/O for 32kHz oscillator output (OSC32_OUT). |+| 5 | PH0-OSC_IN | bidirectional | Port H pin 0, 3.3V I/O for main oscillator input with USB_CRS_SYNC alternate function. |+| 6 | PH1-OSC_OUT | bidirectional | Port H pin 1, 3.3V I/O for main oscillator output (OSC_OUT). |+| 7 | NRST | input | Reset input pin with embedded weak pull-up resistor for device reset control. |+| 8 | VSSA | power_in | Analog ground supply pin, connect to ground. |+| 9 | VDDA | power_in | Analog power supply pin, connect to +1.65V to +3.6V with 100nF capacitor. |+| 10 | PA0 | bidirectional | Port A pin 0, TTL I/O with ADC_IN0 and can function as TIM2_CH1, USART2_CTS, COMP1_OUT. |+| 11 | PA1 | bidirectional | Port A pin 1, 5V tolerant I/O with ADC_IN1 and can function as TIM2_CH2, USART2_RTS/DE. |+| 12 | PA2 | bidirectional | Port A pin 2, 5V tolerant I/O with ADC_IN2 and can function as TIM2_CH3, USART2_TX. |+| 13 | PA3 | bidirectional | Port A pin 3, 5V tolerant I/O with ADC_IN3 and can function as TIM2_CH4, USART2_RX. |+| 14 | PA4 | bidirectional | Port A pin 4, 3.3V I/O with ADC_IN4 and DAC_OUT1, reduced touch sensing sensitivity for sampling capacitor use. |+| 15 | PA5 | bidirectional | Port A pin 5, 3.3V I/O with ADC_IN5 and DAC_OUT2, can function as SPI1_SCK. |+| 16 | PA6 | bidirectional | Port A pin 6, 5V tolerant I/O with ADC_IN6 and can function as SPI1_MISO, TIM3_CH1. |+| 17 | PA7 | bidirectional | Port A pin 7, 5V tolerant I/O with ADC_IN7 and can function as SPI1_MOSI, TIM3_CH2. |+| 18 | PB0 | bidirectional | Port B pin 0, 5V tolerant I/O with ADC_IN8 and VREF_OUT capability, can function as TIM3_CH3. |+| 19 | PB1 | bidirectional | Port B pin 1, 5V tolerant I/O with ADC_IN9 and VREF_OUT capability, can function as TIM3_CH4. |+| 20 | PB2 | bidirectional | Port B pin 2, 5V tolerant I/O that can function as LPTIM1_OUT, TSC_G3_IO4, I2C3_SMBA. |+| 21 | PB10 | bidirectional | Port B pin 10, 5V tolerant I/O that can function as TIM2_CH3, SPI2_SCK, I2C2_SCL. |+| 22 | PB11 | bidirectional | Port B pin 11, 5V tolerant I/O that can function as TIM2_CH4, I2C2_SDA, LPUART1_RX/TX. |+| 23 | VSS | power_in | Ground supply pin, connect to ground potential. |+| 24 | VDD | power_in | Main power supply pin, connect to +1.65V to +3.6V. |+| 25 | PB12 | bidirectional | Port B pin 12, 5V tolerant I/O that can function as SPI2_NSS/I2S2_WS, LPUART1_RTS/DE. |+| 26 | PB13 | bidirectional | Port B pin 13, 5V tolerant FM+ capable I/O that can function as SPI2_SCK/I2S2_CK, MCO, TIM21_CH1. |+| 27 | PB14 | bidirectional | Port B pin 14, 5V tolerant FM+ capable I/O that can function as SPI2_MISO/I2S2_MCK, TIM21_CH2. |+| 28 | PB15 | bidirectional | Port B pin 15, 5V tolerant I/O that can function as SPI2_MOSI/I2S2_SD, RTC_REFIN. |+| 29 | PA8 | bidirectional | Port A pin 8, 5V tolerant FM+ capable I/O that can function as MCO, USART1_CK, I2C3_SCL. |+| 30 | PA9 | bidirectional | Port A pin 9, 5V tolerant FM+ capable I/O that can function as USART1_TX, I2C1_SCL, I2C3_SMBA. |+| 31 | PA10 | bidirectional | Port A pin 10, 5V tolerant FM+ capable I/O that can function as USART1_RX, I2C1_SDA. |+| 32 | PA11 | bidirectional | Port A pin 11, 5V tolerant I/O powered by VDD_USB with USB_DM and can function as SPI1_MISO. |+| 33 | PA12 | bidirectional | Port A pin 12, 5V tolerant I/O powered by VDD_USB with USB_DP and can function as SPI1_MOSI. |+| 34 | PA13 | bidirectional | Port A pin 13, 5V tolerant I/O that can function as SWDIO for serial wire debug, LPUART1_RX. |+| 35 | VSS | power_in | Ground supply pin, connect to ground potential. |+| 36 | VDD_USB | power_in | USB power supply pin, connect to +3.3V with 1µF capacitor for USB operation. |+| 37 | PA14 | bidirectional | Port A pin 14, 5V tolerant I/O that can function as SWCLK for serial wire debug, USART2_TX, LPUART1_TX. |+| 38 | PA15 | bidirectional | Port A pin 15, 5V tolerant I/O that can function as SPI1_NSS, TIM2_ETR, USART2_RX. |+| 39 | PB3 | bidirectional | Port B pin 3, 5V tolerant I/O with COMP2_INM and can function as SPI1_SCK, TIM2_CH2. |+| 40 | PB4 | bidirectional | Port B pin 4, 5V tolerant FM+ capable I/O with COMP2_INP and can function as SPI1_MISO, TIM3_CH1, I2C3_SDA. |+| 41 | PB5 | bidirectional | Port B pin 5, 5V tolerant I/O with COMP2_INP and can function as SPI1_MOSI, LPTIM1_IN1, I2C1_SMBA. |+| 42 | PB6 | bidirectional | Port B pin 6, 5V tolerant FM+ capable I/O with COMP2_INP and can function as USART1_TX, I2C1_SCL. |+| 43 | PB7 | bidirectional | Port B pin 7, 5V tolerant FM+ capable I/O with COMP2_INP and VREF_PVD_IN capability, USART1_RX, I2C1_SDA. |+| 44 | BOOT0 | input | Boot configuration pin, read during reset to select boot mode (Flash or system bootloader). |+| 45 | PB8 | bidirectional | Port B pin 8, 5V tolerant FM+ capable I/O that can function as TSC_SYNC, I2C1_SCL. |+| 46 | PB9 | bidirectional | Port B pin 9, 5V tolerant FM+ capable I/O that can function as I2C1_SDA, SPI2_NSS/I2S2_WS. |+| 47 | VSS | power_in | Ground supply pin, connect to ground potential. |+| 48 | VDD | power_in | Main power supply pin, connect to +1.65V to +3.6V. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | LQFP-48(7x7) |+| Category | Embedded Processors & Controllers |+| Pins | 48 |++## CAD (KiCad official)++- Symbol: `STM32L072CBT6`+- Footprint: `Package_QFP:LQFP-48_7x7mm_P0.5mm`+- 3D model: LQFP-48(7x7) (KiCad packages3D, STEP)+- 3D model files: `stm32l072cbt6-etched.step` / `stm32l072cbt6-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32l072cbt6.step` / `stm32l072cbt6.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/8588884848747925504) (160 pp, sha256 `13ea53054244ac9d`, retrieved 2026-09-23, 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/stm32l072cbt6-datasheet.pdf)
page.jsonadded+383
@@ -0,0 +1,383 @@+{+  "slug": "stm32l072cbt6",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "embedded processors & controllers",+    "stm32l072cbt6",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm32l072cbt6.kicad_sym",+    "stm32l072cbt6.kicad_mod",+    "stm32l072cbt6.glb",+    "stm32l072cbt6.step",+    "stm32l072cbt6.lbr",+    "docs/hero.png",+    "docs/stm32l072cbt6-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "STM32L072CBT6",+    "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/8588884848747925504",+    "parts": {+      "symbol": "stm32l072cbt6.kicad_sym",+      "footprint": "stm32l072cbt6.kicad_mod",+      "model_3d": "stm32l072cbt6-etched.glb",+      "model_3d_plain": "stm32l072cbt6.glb",+      "model_3d_step": "stm32l072cbt6-etched.step",+      "model_3d_step_plain": "stm32l072cbt6.step",+      "lbr": "stm32l072cbt6.lbr"+    },+    "distributor_links": {+      "lcsc": "C465977"+    },+    "pins": [+      {+        "number": "1",+        "name": "VDD",+        "type": "power_in",+        "description": "Main power supply pin, connect to +1.65V to +3.6V."+      },+      {+        "number": "2",+        "name": "PC13",+        "type": "bidirectional",+        "description": "Port C pin 13, 5V tolerant I/O with RTC_TAMP1/RTC_TS/RTC_OUT/WKUP2 functionality."+      },+      {+        "number": "3",+        "name": "PC14-OSC32_IN",+        "type": "bidirectional",+        "description": "Port C pin 14, 5V tolerant I/O for 32kHz oscillator input (OSC32_IN)."+      },+      {+        "number": "4",+        "name": "PC15-OSC32_OUT",+        "type": "bidirectional",+        "description": "Port C pin 15, 3.3V I/O for 32kHz oscillator output (OSC32_OUT)."+      },+      {+        "number": "5",+        "name": "PH0-OSC_IN",+        "type": "bidirectional",+        "description": "Port H pin 0, 3.3V I/O for main oscillator input with USB_CRS_SYNC alternate function."+      },+      {+        "number": "6",+        "name": "PH1-OSC_OUT",+        "type": "bidirectional",+        "description": "Port H pin 1, 3.3V I/O for main oscillator output (OSC_OUT)."+      },+      {+        "number": "7",+        "name": "NRST",+        "type": "input",+        "description": "Reset input pin with embedded weak pull-up resistor for device reset control."+      },+      {+        "number": "8",+        "name": "VSSA",+        "type": "power_in",+        "description": "Analog ground supply pin, connect to ground."+      },+      {+        "number": "9",+        "name": "VDDA",+        "type": "power_in",+        "description": "Analog power supply pin, connect to +1.65V to +3.6V with 100nF capacitor."+      },+      {+        "number": "10",+        "name": "PA0",+        "type": "bidirectional",+        "description": "Port A pin 0, TTL I/O with ADC_IN0 and can function as TIM2_CH1, USART2_CTS, COMP1_OUT."+      },+      {+        "number": "11",+        "name": "PA1",+        "type": "bidirectional",+        "description": "Port A pin 1, 5V tolerant I/O with ADC_IN1 and can function as TIM2_CH2, USART2_RTS/DE."+      },+      {+        "number": "12",+        "name": "PA2",+        "type": "bidirectional",+        "description": "Port A pin 2, 5V tolerant I/O with ADC_IN2 and can function as TIM2_CH3, USART2_TX."+      },+      {+        "number": "13",+        "name": "PA3",+        "type": "bidirectional",+        "description": "Port A pin 3, 5V tolerant I/O with ADC_IN3 and can function as TIM2_CH4, USART2_RX."+      },+      {+        "number": "14",+        "name": "PA4",+        "type": "bidirectional",+        "description": "Port A pin 4, 3.3V I/O with ADC_IN4 and DAC_OUT1, reduced touch sensing sensitivity for sampling capacitor use."+      },+      {+        "number": "15",+        "name": "PA5",+        "type": "bidirectional",+        "description": "Port A pin 5, 3.3V I/O with ADC_IN5 and DAC_OUT2, can function as SPI1_SCK."+      },+      {+        "number": "16",+        "name": "PA6",+        "type": "bidirectional",+        "description": "Port A pin 6, 5V tolerant I/O with ADC_IN6 and can function as SPI1_MISO, TIM3_CH1."+      },+      {+        "number": "17",+        "name": "PA7",+        "type": "bidirectional",+        "description": "Port A pin 7, 5V tolerant I/O with ADC_IN7 and can function as SPI1_MOSI, TIM3_CH2."+      },+      {+        "number": "18",+        "name": "PB0",+        "type": "bidirectional",+        "description": "Port B pin 0, 5V tolerant I/O with ADC_IN8 and VREF_OUT capability, can function as TIM3_CH3."+      },+      {+        "number": "19",+        "name": "PB1",+        "type": "bidirectional",+        "description": "Port B pin 1, 5V tolerant I/O with ADC_IN9 and VREF_OUT capability, can function as TIM3_CH4."+      },+      {+        "number": "20",+        "name": "PB2",+        "type": "bidirectional",+        "description": "Port B pin 2, 5V tolerant I/O that can function as LPTIM1_OUT, TSC_G3_IO4, I2C3_SMBA."+      },+      {+        "number": "21",+        "name": "PB10",+        "type": "bidirectional",+        "description": "Port B pin 10, 5V tolerant I/O that can function as TIM2_CH3, SPI2_SCK, I2C2_SCL."+      },+      {+        "number": "22",+        "name": "PB11",+        "type": "bidirectional",+        "description": "Port B pin 11, 5V tolerant I/O that can function as TIM2_CH4, I2C2_SDA, LPUART1_RX/TX."+      },+      {+        "number": "23",+        "name": "VSS",+        "type": "power_in",+        "description": "Ground supply pin, connect to ground potential."+      },+      {+        "number": "24",+        "name": "VDD",+        "type": "power_in",+        "description": "Main power supply pin, connect to +1.65V to +3.6V."+      },+      {+        "number": "25",+        "name": "PB12",+        "type": "bidirectional",+        "description": "Port B pin 12, 5V tolerant I/O that can function as SPI2_NSS/I2S2_WS, LPUART1_RTS/DE."+      },+      {+        "number": "26",+        "name": "PB13",+        "type": "bidirectional",+        "description": "Port B pin 13, 5V tolerant FM+ capable I/O that can function as SPI2_SCK/I2S2_CK, MCO, TIM21_CH1."+      },+      {+        "number": "27",+        "name": "PB14",+        "type": "bidirectional",+        "description": "Port B pin 14, 5V tolerant FM+ capable I/O that can function as SPI2_MISO/I2S2_MCK, TIM21_CH2."+      },+      {+        "number": "28",+        "name": "PB15",+        "type": "bidirectional",+        "description": "Port B pin 15, 5V tolerant I/O that can function as SPI2_MOSI/I2S2_SD, RTC_REFIN."+      },+      {+        "number": "29",+        "name": "PA8",+        "type": "bidirectional",+        "description": "Port A pin 8, 5V tolerant FM+ capable I/O that can function as MCO, USART1_CK, I2C3_SCL."+      },+      {+        "number": "30",+        "name": "PA9",+        "type": "bidirectional",+        "description": "Port A pin 9, 5V tolerant FM+ capable I/O that can function as USART1_TX, I2C1_SCL, I2C3_SMBA."+      },+      {+        "number": "31",+        "name": "PA10",+        "type": "bidirectional",+        "description": "Port A pin 10, 5V tolerant FM+ capable I/O that can function as USART1_RX, I2C1_SDA."+      },+      {+        "number": "32",+        "name": "PA11",+        "type": "bidirectional",+        "description": "Port A pin 11, 5V tolerant I/O powered by VDD_USB with USB_DM and can function as SPI1_MISO."+      },+      {+        "number": "33",+        "name": "PA12",+        "type": "bidirectional",+        "description": "Port A pin 12, 5V tolerant I/O powered by VDD_USB with USB_DP and can function as SPI1_MOSI."+      },+      {+        "number": "34",+        "name": "PA13",+        "type": "bidirectional",+        "description": "Port A pin 13, 5V tolerant I/O that can function as SWDIO for serial wire debug, LPUART1_RX."+      },+      {+        "number": "35",+        "name": "VSS",+        "type": "power_in",+        "description": "Ground supply pin, connect to ground potential."+      },+      {+        "number": "36",+        "name": "VDD_USB",+        "type": "power_in",+        "description": "USB power supply pin, connect to +3.3V with 1µF capacitor for USB operation."+      },+      {+        "number": "37",+        "name": "PA14",+        "type": "bidirectional",+        "description": "Port A pin 14, 5V tolerant I/O that can function as SWCLK for serial wire debug, USART2_TX, LPUART1_TX."+      },+      {+        "number": "38",+        "name": "PA15",+        "type": "bidirectional",+        "description": "Port A pin 15, 5V tolerant I/O that can function as SPI1_NSS, TIM2_ETR, USART2_RX."+      },+      {+        "number": "39",+        "name": "PB3",+        "type": "bidirectional",+        "description": "Port B pin 3, 5V tolerant I/O with COMP2_INM and can function as SPI1_SCK, TIM2_CH2."+      },+      {+        "number": "40",+        "name": "PB4",+        "type": "bidirectional",+        "description": "Port B pin 4, 5V tolerant FM+ capable I/O with COMP2_INP and can function as SPI1_MISO, TIM3_CH1, I2C3_SDA."+      },+      {+        "number": "41",+        "name": "PB5",+        "type": "bidirectional",+        "description": "Port B pin 5, 5V tolerant I/O with COMP2_INP and can function as SPI1_MOSI, LPTIM1_IN1, I2C1_SMBA."+      },+      {+        "number": "42",+        "name": "PB6",+        "type": "bidirectional",+        "description": "Port B pin 6, 5V tolerant FM+ capable I/O with COMP2_INP and can function as USART1_TX, I2C1_SCL."+      },+      {+        "number": "43",+        "name": "PB7",+        "type": "bidirectional",+        "description": "Port B pin 7, 5V tolerant FM+ capable I/O with COMP2_INP and VREF_PVD_IN capability, USART1_RX, I2C1_SDA."+      },+      {+        "number": "44",+        "name": "BOOT0",+        "type": "input",+        "description": "Boot configuration pin, read during reset to select boot mode (Flash or system bootloader)."+      },+      {+        "number": "45",+        "name": "PB8",+        "type": "bidirectional",+        "description": "Port B pin 8, 5V tolerant FM+ capable I/O that can function as TSC_SYNC, I2C1_SCL."+      },+      {+        "number": "46",+        "name": "PB9",+        "type": "bidirectional",+        "description": "Port B pin 9, 5V tolerant FM+ capable I/O that can function as I2C1_SDA, SPI2_NSS/I2S2_WS."+      },+      {+        "number": "47",+        "name": "VSS",+        "type": "power_in",+        "description": "Ground supply pin, connect to ground potential."+      },+      {+        "number": "48",+        "name": "VDD",+        "type": "power_in",+        "description": "Main power supply pin, connect to +1.65V to +3.6V."+      }+    ],+    "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: Datasheet does not explicitly specify maximum voltage ratings for individual GPIO pins; values are i; Pin type for PC14-OSC32_IN, PC15-OSC32_OUT, PH0-OSC_IN, and PH1-OSC_OUT interpreted as bidirectional"+        ],+        "pages_sent": 77,+        "cost_usd": 1.0095,+        "at": "2026-09-23T03:41:09"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588884848747925504",+        "pages": 160,+        "sha256": "13ea53054244ac9d",+        "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