← Commit history

Initial commit: component/stm32l412kbu6

Ray ·f317f34197 ·4d ago
2 files changed +374
README.mdadded+69
@@ -0,0 +1,69 @@+# STM32L412KBU6++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · UFQFPN-32(5x5)++STM32L412KBU6 from STMicroelectronics, in a UFQFPN-32(5x5). 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 | VDD | power_in | Main supply voltage (1.71 V to 3.6 V). |+| 2 | PC14-OSC32_IN | bidirectional | Port C pin 14, 32 kHz oscillator input; alternate functions: EVENTOUT; additional functions: OSC32_IN. |+| 3 | PC15-OSC32_OUT | bidirectional | Port C pin 15, 32 kHz oscillator output; alternate functions: EVENTOUT; additional functions: OSC32_OUT. |+| 4 | NRST | bidirectional | Active low reset input with embedded weak pull-up resistor. |+| 5 | VDDA/VREF+ | power_in | Analog supply voltage (1.62 V to 3.6 V when ADC/COMP used) and positive reference for ADC. |+| 6 | PA0 | bidirectional | Port A pin 0; alternate functions: TIM2_CH1, USART2_CTS, COMP1_OUT, TIM2_ETR, EVENTOUT; additional functions: OPAMP1_VINP, COMP1_INM, ADC1_IN5, RTC_TAMP2/WKUP1. |+| 7 | PA1 | bidirectional | Port A pin 1; alternate functions: TIM2_CH2, I2C1_SMBA, SPI1_SCK, USART2_RTS_DE, TIM15_CH1N, EVENTOUT; additional functions: OPAMP1_VINM, COMP1_INP, ADC1_IN6. |+| 8 | PA2 | bidirectional | Port A pin 2; alternate functions: TIM2_CH3, USART2_TX, LPUART1_TX, QUADSPI_BK1_NCS, TIM15_CH1, EVENTOUT; additional functions: ADC12_IN7, WKUP4/LSCO. |+| 9 | PA3 | bidirectional | Port A pin 3 (3.6 V tolerant); alternate functions: TIM2_CH4, USART2_RX, LPUART1_RX, QUADSPI_CLK, TIM15_CH2, EVENTOUT; additional functions: OPAMP1_VOUT, ADC12_IN8. |+| 10 | PA4 | bidirectional | Port A pin 4 (3.6 V tolerant); alternate functions: SPI1_NSS, USART2_CK, LPTIM2_OUT, EVENTOUT; additional functions: COMP1_INM, ADC12_IN9. |+| 11 | PA5 | bidirectional | Port A pin 5 (3.6 V tolerant); alternate functions: TIM2_CH1, TIM2_ETR, SPI1_SCK, LPTIM2_ETR, EVENTOUT; additional functions: COMP1_INM, ADC12_IN10. |+| 12 | PA6 | bidirectional | Port A pin 6; alternate functions: TIM1_BKIN, SPI1_MISO, COMP1_OUT, USART3_CTS, LPUART1_CTS, QUADSPI_BK1_IO3, TIM16_CH1, EVENTOUT; additional functions: ADC12_IN11. |+| 13 | PA7 | bidirectional | Port A pin 7 (FM+ capable); alternate functions: TIM1_CH1N, I2C3_SCL, SPI1_MOSI, QUADSPI_BK1_IO2, EVENTOUT; additional functions: ADC12_IN12. |+| 14 | PB0 | bidirectional | Port B pin 0; alternate functions: TRACED0, TIM1_CH2N, SPI1_NSS, USART3_CK, QUADSPI_BK1_IO1, COMP1_OUT, EVENTOUT; additional functions: ADC12_IN15. |+| 15 | PB1 | bidirectional | Port B pin 1; alternate functions: TRACED1, TIM1_CH3N, USART3_RTS_DE, LPUART1_RTS_DE, QUADSPI_BK1_IO0, LPTIM2_IN1, EVENTOUT; additional functions: COMP1_INM, ADC12_IN16. |+| 16 | VSS | power_in | Ground (0 V). |+| 17 | VDD | power_in | Main supply voltage (1.71 V to 3.6 V). |+| 18 | PA8 | bidirectional | Port A pin 8; alternate functions: MCO, TIM1_CH1, USART1_CK, LPTIM2_OUT, EVENTOUT. |+| 19 | PA9 | bidirectional | Port A pin 9 (FM+ capable); alternate functions: TIM1_CH2, I2C1_SCL, USART1_TX, TIM15_BKIN, EVENTOUT. |+| 20 | PA10 | bidirectional | Port A pin 10 (FM+ capable); alternate functions: TIM1_CH3, I2C1_SDA, USART1_RX, USB_CRS_SYNC, EVENTOUT. |+| 21 | PA11 | bidirectional | Port A pin 11 (USB function); alternate functions: TIM1_CH4, TIM1_BKIN2, SPI1_MISO, COMP1_OUT, USART1_CTS, USB_DM, TIM1_BKIN2_COMP1, EVENTOUT. |+| 22 | PA12 | bidirectional | Port A pin 12 (USB function); alternate functions: TIM1_ETR, SPI1_MOSI, USART1_RTS_DE, USB_DP, EVENTOUT. |+| 23 | PA13 | bidirectional | Port A pin 13, JTAG test mode select / SWD I/O; alternate functions: JTMS/SWDIO, IR_OUT, USB_NOE, EVENTOUT. |+| 24 | PA14 | bidirectional | Port A pin 14, JTAG test clock / SWD clock; alternate functions: JTCK/SWCLK, LPTIM1_OUT, I2C1_SMBA, EVENTOUT. |+| 25 | PA15 | bidirectional | Port A pin 15, JTAG test data in; alternate functions: JTDI, TIM2_CH1, TIM2_ETR, USART2_RX, SPI1_NSS, USART3_RTS_DE, TSC_G3_IO1, EVENTOUT. |+| 26 | PB3 | bidirectional | Port B pin 3, JTAG test data out / trace serial wire output; alternate functions: JTDO/TRACESWO, TIM2_CH2, SPI1_SCK, USART1_RTS_DE, EVENTOUT. |+| 27 | PB4 | bidirectional | Port B pin 4, JTAG nRESET (FM+ capable); alternate functions: NJTRST, I2C3_SDA, SPI1_MISO, USART1_CTS, TSC_G2_IO1, EVENTOUT. |+| 28 | PB5 | bidirectional | Port B pin 5; alternate functions: TRACED2, LPTIM1_IN1, I2C1_SMBA, SPI1_MOSI, USART1_CK, TSC_G2_IO2, TIM16_BKIN, EVENTOUT. |+| 29 | PB6 | bidirectional | Port B pin 6 (FM+ capable); alternate functions: TRACED3, LPTIM1_ETR, I2C1_SCL, USART1_TX, TSC_G2_IO3, TIM16_CH1N, EVENTOUT. |+| 30 | PB7 | bidirectional | Port B pin 7 (FM+ capable, PVD input); alternate functions: TRACECK, LPTIM1_IN2, I2C1_SDA, USART1_RX, TSC_G2_IO4, EVENTOUT; additional functions: PVD_IN. |+| 31 | PH3-BOOT0 | bidirectional | Port H pin 3, boot mode selection; alternate functions: EVENTOUT. |+| 32 | VSS | power_in | Ground (0 V). |+| 33 | EP | passive | Exposed pad (from the footprint; not named in the datasheet pin table). |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | UFQFPN-32(5x5) |+| Category | Embedded Processors & Controllers |+| Pins | 33 |++## CAD (KiCad official)++- Symbol: `STM32L412KBU6`+- Footprint: `Package_DFN_QFN:UFQFPN-32-1EP_5x5mm_P0.5mm_EP3.5x3.5mm`+- 3D model: UFQFPN-32(5x5) (KiCad packages3D, STEP)+- 3D model files: `stm32l412kbu6-etched.step` / `stm32l412kbu6-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32l412kbu6.step` / `stm32l412kbu6.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/8588906506029051904) (193 pp, sha256 `5104ae3be2936485`, retrieved 2026-10-01, tier: lcsc)+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.2`, 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/stm32l412kbu6-datasheet.pdf)
page.jsonadded+305
@@ -0,0 +1,305 @@+{+  "slug": "stm32l412kbu6",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), UFQFPN-32(5x5). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "embedded processors & controllers",+    "stm32l412kbu6",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm32l412kbu6.kicad_sym",+    "stm32l412kbu6.kicad_mod",+    "stm32l412kbu6.glb",+    "stm32l412kbu6.step",+    "stm32l412kbu6.lbr",+    "docs/hero.png",+    "docs/stm32l412kbu6-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "STM32L412KBU6",+    "manufacturer": "STMicroelectronics",+    "package": "UFQFPN-32(5x5)",+    "pin_count": 33,+    "category": "Embedded Processors & Controllers",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588906506029051904",+    "parts": {+      "symbol": "stm32l412kbu6.kicad_sym",+      "footprint": "stm32l412kbu6.kicad_mod",+      "model_3d": "stm32l412kbu6-etched.glb",+      "model_3d_plain": "stm32l412kbu6.glb",+      "model_3d_step": "stm32l412kbu6-etched.step",+      "model_3d_step_plain": "stm32l412kbu6.step",+      "lbr": "stm32l412kbu6.lbr"+    },+    "distributor_links": {+      "lcsc": "C529439",+      "digikey": "497-18230-ND",+      "mouser": "511-STM32L412KBU6"+    },+    "distributor_check": {+      "checked_at": "2026-10-01T18:08:15Z",+      "source": "Component Ocean /api/assign-pns",+      "digikey": {+        "pn": "497-18230-ND",+        "status": "found"+      },+      "mouser": {+        "pn": "511-STM32L412KBU6",+        "status": "found"+      }+    },+    "pins": [+      {+        "number": "1",+        "name": "VDD",+        "type": "power_in",+        "description": "Main supply voltage (1.71 V to 3.6 V)."+      },+      {+        "number": "2",+        "name": "PC14-OSC32_IN",+        "type": "bidirectional",+        "description": "Port C pin 14, 32 kHz oscillator input; alternate functions: EVENTOUT; additional functions: OSC32_IN."+      },+      {+        "number": "3",+        "name": "PC15-OSC32_OUT",+        "type": "bidirectional",+        "description": "Port C pin 15, 32 kHz oscillator output; alternate functions: EVENTOUT; additional functions: OSC32_OUT."+      },+      {+        "number": "4",+        "name": "NRST",+        "type": "bidirectional",+        "description": "Active low reset input with embedded weak pull-up resistor."+      },+      {+        "number": "5",+        "name": "VDDA/VREF+",+        "type": "power_in",+        "description": "Analog supply voltage (1.62 V to 3.6 V when ADC/COMP used) and positive reference for ADC."+      },+      {+        "number": "6",+        "name": "PA0",+        "type": "bidirectional",+        "description": "Port A pin 0; alternate functions: TIM2_CH1, USART2_CTS, COMP1_OUT, TIM2_ETR, EVENTOUT; additional functions: OPAMP1_VINP, COMP1_INM, ADC1_IN5, RTC_TAMP2/WKUP1."+      },+      {+        "number": "7",+        "name": "PA1",+        "type": "bidirectional",+        "description": "Port A pin 1; alternate functions: TIM2_CH2, I2C1_SMBA, SPI1_SCK, USART2_RTS_DE, TIM15_CH1N, EVENTOUT; additional functions: OPAMP1_VINM, COMP1_INP, ADC1_IN6."+      },+      {+        "number": "8",+        "name": "PA2",+        "type": "bidirectional",+        "description": "Port A pin 2; alternate functions: TIM2_CH3, USART2_TX, LPUART1_TX, QUADSPI_BK1_NCS, TIM15_CH1, EVENTOUT; additional functions: ADC12_IN7, WKUP4/LSCO."+      },+      {+        "number": "9",+        "name": "PA3",+        "type": "bidirectional",+        "description": "Port A pin 3 (3.6 V tolerant); alternate functions: TIM2_CH4, USART2_RX, LPUART1_RX, QUADSPI_CLK, TIM15_CH2, EVENTOUT; additional functions: OPAMP1_VOUT, ADC12_IN8."+      },+      {+        "number": "10",+        "name": "PA4",+        "type": "bidirectional",+        "description": "Port A pin 4 (3.6 V tolerant); alternate functions: SPI1_NSS, USART2_CK, LPTIM2_OUT, EVENTOUT; additional functions: COMP1_INM, ADC12_IN9."+      },+      {+        "number": "11",+        "name": "PA5",+        "type": "bidirectional",+        "description": "Port A pin 5 (3.6 V tolerant); alternate functions: TIM2_CH1, TIM2_ETR, SPI1_SCK, LPTIM2_ETR, EVENTOUT; additional functions: COMP1_INM, ADC12_IN10."+      },+      {+        "number": "12",+        "name": "PA6",+        "type": "bidirectional",+        "description": "Port A pin 6; alternate functions: TIM1_BKIN, SPI1_MISO, COMP1_OUT, USART3_CTS, LPUART1_CTS, QUADSPI_BK1_IO3, TIM16_CH1, EVENTOUT; additional functions: ADC12_IN11."+      },+      {+        "number": "13",+        "name": "PA7",+        "type": "bidirectional",+        "description": "Port A pin 7 (FM+ capable); alternate functions: TIM1_CH1N, I2C3_SCL, SPI1_MOSI, QUADSPI_BK1_IO2, EVENTOUT; additional functions: ADC12_IN12."+      },+      {+        "number": "14",+        "name": "PB0",+        "type": "bidirectional",+        "description": "Port B pin 0; alternate functions: TRACED0, TIM1_CH2N, SPI1_NSS, USART3_CK, QUADSPI_BK1_IO1, COMP1_OUT, EVENTOUT; additional functions: ADC12_IN15."+      },+      {+        "number": "15",+        "name": "PB1",+        "type": "bidirectional",+        "description": "Port B pin 1; alternate functions: TRACED1, TIM1_CH3N, USART3_RTS_DE, LPUART1_RTS_DE, QUADSPI_BK1_IO0, LPTIM2_IN1, EVENTOUT; additional functions: COMP1_INM, ADC12_IN16."+      },+      {+        "number": "16",+        "name": "VSS",+        "type": "power_in",+        "description": "Ground (0 V)."+      },+      {+        "number": "17",+        "name": "VDD",+        "type": "power_in",+        "description": "Main supply voltage (1.71 V to 3.6 V)."+      },+      {+        "number": "18",+        "name": "PA8",+        "type": "bidirectional",+        "description": "Port A pin 8; alternate functions: MCO, TIM1_CH1, USART1_CK, LPTIM2_OUT, EVENTOUT."+      },+      {+        "number": "19",+        "name": "PA9",+        "type": "bidirectional",+        "description": "Port A pin 9 (FM+ capable); alternate functions: TIM1_CH2, I2C1_SCL, USART1_TX, TIM15_BKIN, EVENTOUT."+      },+      {+        "number": "20",+        "name": "PA10",+        "type": "bidirectional",+        "description": "Port A pin 10 (FM+ capable); alternate functions: TIM1_CH3, I2C1_SDA, USART1_RX, USB_CRS_SYNC, EVENTOUT."+      },+      {+        "number": "21",+        "name": "PA11",+        "type": "bidirectional",+        "description": "Port A pin 11 (USB function); alternate functions: TIM1_CH4, TIM1_BKIN2, SPI1_MISO, COMP1_OUT, USART1_CTS, USB_DM, TIM1_BKIN2_COMP1, EVENTOUT."+      },+      {+        "number": "22",+        "name": "PA12",+        "type": "bidirectional",+        "description": "Port A pin 12 (USB function); alternate functions: TIM1_ETR, SPI1_MOSI, USART1_RTS_DE, USB_DP, EVENTOUT."+      },+      {+        "number": "23",+        "name": "PA13",+        "type": "bidirectional",+        "description": "Port A pin 13, JTAG test mode select / SWD I/O; alternate functions: JTMS/SWDIO, IR_OUT, USB_NOE, EVENTOUT."+      },+      {+        "number": "24",+        "name": "PA14",+        "type": "bidirectional",+        "description": "Port A pin 14, JTAG test clock / SWD clock; alternate functions: JTCK/SWCLK, LPTIM1_OUT, I2C1_SMBA, EVENTOUT."+      },+      {+        "number": "25",+        "name": "PA15",+        "type": "bidirectional",+        "description": "Port A pin 15, JTAG test data in; alternate functions: JTDI, TIM2_CH1, TIM2_ETR, USART2_RX, SPI1_NSS, USART3_RTS_DE, TSC_G3_IO1, EVENTOUT."+      },+      {+        "number": "26",+        "name": "PB3",+        "type": "bidirectional",+        "description": "Port B pin 3, JTAG test data out / trace serial wire output; alternate functions: JTDO/TRACESWO, TIM2_CH2, SPI1_SCK, USART1_RTS_DE, EVENTOUT."+      },+      {+        "number": "27",+        "name": "PB4",+        "type": "bidirectional",+        "description": "Port B pin 4, JTAG nRESET (FM+ capable); alternate functions: NJTRST, I2C3_SDA, SPI1_MISO, USART1_CTS, TSC_G2_IO1, EVENTOUT."+      },+      {+        "number": "28",+        "name": "PB5",+        "type": "bidirectional",+        "description": "Port B pin 5; alternate functions: TRACED2, LPTIM1_IN1, I2C1_SMBA, SPI1_MOSI, USART1_CK, TSC_G2_IO2, TIM16_BKIN, EVENTOUT."+      },+      {+        "number": "29",+        "name": "PB6",+        "type": "bidirectional",+        "description": "Port B pin 6 (FM+ capable); alternate functions: TRACED3, LPTIM1_ETR, I2C1_SCL, USART1_TX, TSC_G2_IO3, TIM16_CH1N, EVENTOUT."+      },+      {+        "number": "30",+        "name": "PB7",+        "type": "bidirectional",+        "description": "Port B pin 7 (FM+ capable, PVD input); alternate functions: TRACECK, LPTIM1_IN2, I2C1_SDA, USART1_RX, TSC_G2_IO4, EVENTOUT; additional functions: PVD_IN."+      },+      {+        "number": "31",+        "name": "PH3-BOOT0",+        "type": "bidirectional",+        "description": "Port H pin 3, boot mode selection; alternate functions: EVENTOUT."+      },+      {+        "number": "32",+        "name": "VSS",+        "type": "power_in",+        "description": "Ground (0 V)."+      },+      {+        "number": "33",+        "name": "EP",+        "type": "passive",+        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."+      }+    ],+    "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-5",+        "consensus": "agreed",+        "guards": "pin_guards 0.1: passed",+        "guard_notes": [],+        "pages_sent": 72,+        "cost_usd": 0.6475,+        "at": "2026-10-01T18:07:58"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588906506029051904",+        "pages": 193,+        "sha256": "5104ae3be2936485",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 33,+        "described": 33,+        "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