← Commit history

Initial commit: component/stm32l031k6t6tr

Ray ·60872f7f3a ·5d ago
2 files changed +369
README.mdadded+68
@@ -0,0 +1,68 @@+# STM32L031K6T6TR++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · LQFP-32(7x7)++STM32L031K6T6TR from STMicroelectronics, in a LQFP-32(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 | VDD | power_in | Supply voltage input, operating range 1.65 V to 3.6 V. |+| 2 | PC14-OSC32_IN | bidirectional | Standard 3.3 V I/O; functions as 32 kHz oscillator input for the RTC. |+| 3 | PC15-OSC32_OUT | bidirectional | Standard 3.3 V I/O; functions as 32 kHz oscillator output for the RTC. |+| 4 | NRST | bidirectional | Bidirectional reset input pin with embedded weak pull-up resistor, active low. |+| 5 | VDDA | power_in | Analog power supply input, operating range 1.65 V to 3.6 V; requires decoupling capacitor. |+| 6 | PA0-CK_IN | bidirectional | General-purpose I/O, standard 3.3 V, selectable as external clock input; supports Timer, USART, comparator alternates and ADC, RTC tamper/wakeup functions. |+| 7 | PA1 | bidirectional | 5V-tolerant general-purpose I/O with ADC input; supports timer, USART, I2C, comparator alternate functions. |+| 8 | PA2 | bidirectional | Standard 3.3 V general-purpose I/O with ADC input; supports timer, USART, LPUART, comparator alternate functions. |+| 9 | PA3 | bidirectional | 5V-tolerant general-purpose I/O with ADC input; supports timer and USART/LPUART alternate functions. |+| 10 | PA4 | bidirectional | Standard 3.3 V general-purpose I/O with ADC input; supports SPI chip select, LPTIM, USART clock, timer alternate functions. |+| 11 | PA5 | bidirectional | Standard 3.3 V general-purpose I/O with ADC input; supports SPI clock and timer alternate functions. |+| 12 | PA6 | bidirectional | 5V-tolerant general-purpose I/O with ADC input; supports SPI MISO, LPTIM, LPUART CTS, timer, and comparator alternate functions. |+| 13 | PA7 | bidirectional | 5V-tolerant general-purpose I/O with ADC input; supports SPI MOSI, LPTIM, USART CTS, timer, and comparator alternate functions. |+| 14 | PB0 | bidirectional | 5V-tolerant general-purpose I/O with ADC input; supports SPI MISO, USART RTS, timer alternates; outputs voltage reference. |+| 15 | PB1 | bidirectional | 5V-tolerant general-purpose I/O with ADC input; supports USART clock, SPI MOSI, LPUART RTS, timer alternates; outputs voltage reference. |+| 16 | VSS | power_in | Ground supply pin. |+| 17 | VDD | power_in | Supply voltage input, operating range 1.65 V to 3.6 V. |+| 18 | PA8 | bidirectional | 5V-tolerant general-purpose I/O; supports master clock output, LPTIM input, event output, USART clock, and timer alternate functions. |+| 19 | PA9 | bidirectional | 5V-tolerant general-purpose I/O with FM+ I2C capability (up to 1 Mbit/s); supports MCO, I2C1 clock, USART TX, and timer alternate functions. |+| 20 | PA10 | bidirectional | 5V-tolerant general-purpose I/O with FM+ I2C capability (up to 1 Mbit/s); supports I2C1 data, USART RX, and timer alternate functions. |+| 21 | PA11 | bidirectional | 5V-tolerant general-purpose I/O; supports SPI MISO, USART CTS, timer, event output, and comparator alternate functions. |+| 22 | PA12 | bidirectional | 5V-tolerant general-purpose I/O; supports SPI MOSI, USART RTS, event output, and comparator alternate functions. |+| 23 | PA13 | bidirectional | 5V-tolerant general-purpose I/O dedicated to SWDIO debug interface; also supports LPTIM and LPUART alternate functions. |+| 24 | PA14 | bidirectional | 5V-tolerant general-purpose I/O dedicated to SWCLK debug interface; also supports LPTIM, I2C1 SMBus alert, USART TX, and LPUART alternate functions. |+| 25 | PA15 | bidirectional | 5V-tolerant general-purpose I/O; supports SPI chip select, timer, USART RX, and event output alternate functions. |+| 26 | PB3 | bidirectional | 5V-tolerant general-purpose I/O; supports SPI clock, timer, event output alternates and comparator inverting input function. |+| 27 | PB4 | bidirectional | 5V-tolerant general-purpose I/O; supports SPI MISO, timer, event output alternates and comparator non-inverting input function. |+| 28 | PB5 | bidirectional | 5V-tolerant general-purpose I/O; supports SPI MOSI, LPTIM input, I2C1 SMBus alert, timer alternates and comparator input function. |+| 29 | PB6 | bidirectional | 5V-tolerant general-purpose I/O with FM+ I2C capability (up to 1 Mbit/s); supports USART TX, I2C1 clock, LPTIM, timer alternates and comparator input. |+| 30 | PB7 | bidirectional | 5V-tolerant general-purpose I/O with FM+ I2C capability (up to 1 Mbit/s); supports USART RX, I2C1 data, LPTIM alternates; provides voltage reference and comparator inputs. |+| 31 | BOOT0 | input | Dedicated boot mode selection input; must be held low during reset to execute code from Flash memory. |+| 32 | VSS | power_in | Ground supply pin. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | LQFP-32(7x7) |+| Category | Embedded Processors & Controllers |+| Pins | 32 |++## CAD (KiCad official)++- Symbol: `STM32L031K6T6TR`+- Footprint: `Package_QFP:LQFP-32_7x7mm_P0.8mm`+- 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)+- 3D model files: `stm32l031k6t6tr-etched.step` / `stm32l031k6t6tr-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32l031k6t6tr.step` / `stm32l031k6t6tr.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/8588942007767347200) (126 pp, sha256 `9726c48418e03f62`, retrieved 2026-10-01, 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/stm32l031k6t6tr-datasheet.pdf)
page.jsonadded+301
@@ -0,0 +1,301 @@+{+  "slug": "stm32l031k6t6tr",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "embedded processors & controllers",+    "stm32l031k6t6tr",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm32l031k6t6tr.kicad_sym",+    "stm32l031k6t6tr.kicad_mod",+    "stm32l031k6t6tr.glb",+    "stm32l031k6t6tr.step",+    "stm32l031k6t6tr.lbr",+    "docs/hero.png",+    "docs/stm32l031k6t6tr-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "STM32L031K6T6TR",+    "manufacturer": "STMicroelectronics",+    "package": "LQFP-32(7x7)",+    "pin_count": 32,+    "category": "Embedded Processors & Controllers",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588942007767347200",+    "parts": {+      "symbol": "stm32l031k6t6tr.kicad_sym",+      "footprint": "stm32l031k6t6tr.kicad_mod",+      "model_3d": "stm32l031k6t6tr-etched.glb",+      "model_3d_plain": "stm32l031k6t6tr.glb",+      "model_3d_step": "stm32l031k6t6tr-etched.step",+      "model_3d_step_plain": "stm32l031k6t6tr.step",+      "lbr": "stm32l031k6t6tr.lbr"+    },+    "distributor_links": {+      "lcsc": "C2054289",+      "digikey": "497-18806-2-ND",+      "mouser": "511-STM32L031K6T6TR"+    },+    "distributor_check": {+      "checked_at": "2026-10-01T01:34:34Z",+      "source": "Component Ocean /api/assign-pns",+      "digikey": {+        "pn": "497-18806-2-ND",+        "status": "found"+      },+      "mouser": {+        "pn": "511-STM32L031K6T6TR",+        "status": "found"+      }+    },+    "pins": [+      {+        "number": "1",+        "name": "VDD",+        "type": "power_in",+        "description": "Supply voltage input, operating range 1.65 V to 3.6 V."+      },+      {+        "number": "2",+        "name": "PC14-OSC32_IN",+        "type": "bidirectional",+        "description": "Standard 3.3 V I/O; functions as 32 kHz oscillator input for the RTC."+      },+      {+        "number": "3",+        "name": "PC15-OSC32_OUT",+        "type": "bidirectional",+        "description": "Standard 3.3 V I/O; functions as 32 kHz oscillator output for the RTC."+      },+      {+        "number": "4",+        "name": "NRST",+        "type": "bidirectional",+        "description": "Bidirectional reset input pin with embedded weak pull-up resistor, active low."+      },+      {+        "number": "5",+        "name": "VDDA",+        "type": "power_in",+        "description": "Analog power supply input, operating range 1.65 V to 3.6 V; requires decoupling capacitor."+      },+      {+        "number": "6",+        "name": "PA0-CK_IN",+        "type": "bidirectional",+        "description": "General-purpose I/O, standard 3.3 V, selectable as external clock input; supports Timer, USART, comparator alternates and ADC, RTC tamper/wakeup functions."+      },+      {+        "number": "7",+        "name": "PA1",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC input; supports timer, USART, I2C, comparator alternate functions."+      },+      {+        "number": "8",+        "name": "PA2",+        "type": "bidirectional",+        "description": "Standard 3.3 V general-purpose I/O with ADC input; supports timer, USART, LPUART, comparator alternate functions."+      },+      {+        "number": "9",+        "name": "PA3",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC input; supports timer and USART/LPUART alternate functions."+      },+      {+        "number": "10",+        "name": "PA4",+        "type": "bidirectional",+        "description": "Standard 3.3 V general-purpose I/O with ADC input; supports SPI chip select, LPTIM, USART clock, timer alternate functions."+      },+      {+        "number": "11",+        "name": "PA5",+        "type": "bidirectional",+        "description": "Standard 3.3 V general-purpose I/O with ADC input; supports SPI clock and timer alternate functions."+      },+      {+        "number": "12",+        "name": "PA6",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC input; supports SPI MISO, LPTIM, LPUART CTS, timer, and comparator alternate functions."+      },+      {+        "number": "13",+        "name": "PA7",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC input; supports SPI MOSI, LPTIM, USART CTS, timer, and comparator alternate functions."+      },+      {+        "number": "14",+        "name": "PB0",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC input; supports SPI MISO, USART RTS, timer alternates; outputs voltage reference."+      },+      {+        "number": "15",+        "name": "PB1",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with ADC input; supports USART clock, SPI MOSI, LPUART RTS, timer alternates; outputs voltage reference."+      },+      {+        "number": "16",+        "name": "VSS",+        "type": "power_in",+        "description": "Ground supply pin."+      },+      {+        "number": "17",+        "name": "VDD",+        "type": "power_in",+        "description": "Supply voltage input, operating range 1.65 V to 3.6 V."+      },+      {+        "number": "18",+        "name": "PA8",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O; supports master clock output, LPTIM input, event output, USART clock, and timer alternate functions."+      },+      {+        "number": "19",+        "name": "PA9",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with FM+ I2C capability (up to 1 Mbit/s); supports MCO, I2C1 clock, USART TX, and timer alternate functions."+      },+      {+        "number": "20",+        "name": "PA10",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with FM+ I2C capability (up to 1 Mbit/s); supports I2C1 data, USART RX, and timer alternate functions."+      },+      {+        "number": "21",+        "name": "PA11",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O; supports SPI MISO, USART CTS, timer, event output, and comparator alternate functions."+      },+      {+        "number": "22",+        "name": "PA12",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O; supports SPI MOSI, USART RTS, event output, and comparator alternate functions."+      },+      {+        "number": "23",+        "name": "PA13",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O dedicated to SWDIO debug interface; also supports LPTIM and LPUART alternate functions."+      },+      {+        "number": "24",+        "name": "PA14",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O dedicated to SWCLK debug interface; also supports LPTIM, I2C1 SMBus alert, USART TX, and LPUART alternate functions."+      },+      {+        "number": "25",+        "name": "PA15",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O; supports SPI chip select, timer, USART RX, and event output alternate functions."+      },+      {+        "number": "26",+        "name": "PB3",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O; supports SPI clock, timer, event output alternates and comparator inverting input function."+      },+      {+        "number": "27",+        "name": "PB4",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O; supports SPI MISO, timer, event output alternates and comparator non-inverting input function."+      },+      {+        "number": "28",+        "name": "PB5",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O; supports SPI MOSI, LPTIM input, I2C1 SMBus alert, timer alternates and comparator input function."+      },+      {+        "number": "29",+        "name": "PB6",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with FM+ I2C capability (up to 1 Mbit/s); supports USART TX, I2C1 clock, LPTIM, timer alternates and comparator input."+      },+      {+        "number": "30",+        "name": "PB7",+        "type": "bidirectional",+        "description": "5V-tolerant general-purpose I/O with FM+ I2C capability (up to 1 Mbit/s); supports USART RX, I2C1 data, LPTIM alternates; provides voltage reference and comparator inputs."+      },+      {+        "number": "31",+        "name": "BOOT0",+        "type": "input",+        "description": "Dedicated boot mode selection input; must be held low during reset to execute code from Flash memory."+      },+      {+        "number": "32",+        "name": "VSS",+        "type": "power_in",+        "description": "Ground supply pin."+      }+    ],+    "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": [+          "extractor flagged: NRST pin structure: Table 15 shows I/O structure as '-' but Table 14 defines RST as a pin I/O struct; PA0 naming variance: Listed as 'PA0-CK_IN' in LQFP32 package but as 'PA0' in LQFP48/UFQFPN48 package; PC13-ANTI_TAMP entry in Table 15 shows unclear package assignment ('-- - ---22'); verify this pin is"+        ],+        "pages_sent": 59,+        "cost_usd": 0.453,+        "at": "2026-10-01T01:34:11"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588942007767347200",+        "pages": 126,+        "sha256": "9726c48418e03f62",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 32,+        "described": 32,+        "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