← Commit history

Initial commit: component/stm32l021d4p7

Ray ·04728af474 ·2d ago
2 files changed +246
README.mdadded+50
@@ -0,0 +1,50 @@+# STM32L021D4P7++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · TSSOP-14++STM32L021D4P7 from STMicroelectronics, in a TSSOP-14. 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 | PB9-BOOT0 | input | Boot memory selection input (BOOT0), active high, determines boot from Flash or system bootloader |+| 2 | PC14-OSC32_IN | bidirectional | 32 kHz oscillator input for RTC, supports OSC32_IN function for external crystal connection |+| 3 | PC15-OSC32_OUT | bidirectional | 32 kHz oscillator output for RTC, supports OSC32_OUT function for external crystal connection |+| 4 | NRST | bidirectional | Device reset input/output (active low) with embedded weak pull-up resistor, 5V tolerant |+| 5 | PA0-CK_IN | bidirectional | Port A bit 0, ADC channel 0, 3.3V tolerant ADC input, supports alternate functions USART2_RX, LPTIM1_IN1, TIM2_CH1, LPUART1_RX, COMP1_OUT |+| 6 | PA1 | bidirectional | Port A bit 1, ADC channel 1, 5V tolerant I/O, supports alternate functions LPTIM1_IN2, TIM2_CH2, I2C1_SMBA, USART2_RTS_DE, LPUART1_TX, COMP1_INP |+| 7 | PA4 | bidirectional | Port A bit 4, ADC channel 4, 3.3V tolerant ADC input, supports alternate functions SPI1_NSS, LPTIM1 inputs, I2C1_SCL, USART2_CK, LPUART1_TX, COMP2_OUT |+| 8 | PA7 | bidirectional | Port A bit 7, ADC channel 7, 5V tolerant I/O, supports alternate functions SPI1_MOSI, LPTIM1_OUT, USART2_CTS, TIM21_ETR, COMP2_OUT, COMP2_INP |+| 9 | VSS | power_in | Digital and analog ground (GND) |+| 10 | VDD | power_in | Digital and analog power supply, 1.65V to 3.6V, internally connected to VDDA on TSSOP14 variant |+| 11 | PA9 | bidirectional | Port A bit 9, 5V tolerant FM+ capable I/O with 20mA output drive, supports MCO, I2C1_SCL, LPTIM1_OUT, USART2_TX, TIM21_CH2, COMP1_OUT |+| 12 | PA10 | bidirectional | Port A bit 10, 5V tolerant FM+ capable I/O with 20mA output drive, supports TIM21_CH1, I2C1_SDA, USART2_RX, TIM2_CH3, COMP1_OUT, RTC_REFIN |+| 13 | PA13 | bidirectional | Port A bit 13, 5V tolerant FM+ capable I/O, Serial Wire Debug Data I/O (SWDIO), supports alternate functions LPTIM1_ETR, I2C1_SDA, SPI1_SCK, LPUART1_RX, COMP1_OUT |+| 14 | PA14 | bidirectional | Port A bit 14, 5V tolerant I/O, Serial Wire Debug Clock (SWCLK), acts as SPI1_MISO when bootloader active, supports LPTIM1_OUT, I2C1_SMBA, USART2_TX, LPUART1_TX, COMP2_OUT |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | TSSOP-14 |+| Category | Embedded Processors & Controllers |+| Pins | 14 |++## CAD (KiCad official)++- Symbol: `STM32L021D4P7`+- Footprint: `Package_SO:TSSOP-14_4.4x5mm_P0.65mm`+- 3D model: TSSOP-14 (KiCad packages3D, STEP)+- 3D model files: `stm32l021d4p7-etched.step` / `stm32l021d4p7-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32l021d4p7.step` / `stm32l021d4p7.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/8588922176892514304) (114 pp, sha256 `97b23667dad711b9`, retrieved 2026-10-06, 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/stm32l021d4p7-datasheet.pdf)
page.jsonadded+196
@@ -0,0 +1,196 @@+{+  "slug": "stm32l021d4p7",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-14. Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "embedded processors & controllers",+    "stm32l021d4p7",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm32l021d4p7.kicad_sym",+    "stm32l021d4p7.kicad_mod",+    "stm32l021d4p7.glb",+    "stm32l021d4p7.step",+    "stm32l021d4p7.lbr",+    "docs/hero.png",+    "docs/stm32l021d4p7-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html",+    "stm32l021d4p7-hero.glb",+    "stm32l021d4p7-hero.overlay.json"+  ],+  "component": {+    "mpn": "STM32L021D4P7",+    "manufacturer": "STMicroelectronics",+    "package": "TSSOP-14",+    "pin_count": 14,+    "category": "Embedded Processors & Controllers",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922176892514304",+    "parts": {+      "symbol": "stm32l021d4p7.kicad_sym",+      "footprint": "stm32l021d4p7.kicad_mod",+      "model_3d": "stm32l021d4p7-hero.glb",+      "model_3d_plain": "stm32l021d4p7.glb",+      "model_3d_step": "stm32l021d4p7-etched.step",+      "model_3d_step_plain": "stm32l021d4p7.step",+      "lbr": "stm32l021d4p7.lbr"+    },+    "distributor_links": {+      "lcsc": 1340496,+      "digikey": "497-19666-ND",+      "mouser": "511-STM32L021D4P7"+    },+    "distributor_check": {+      "checked_at": "2026-10-06T17:30:00Z",+      "source": "Component Ocean /api/assign-pns",+      "digikey": {+        "pn": "497-19666-ND",+        "status": "found"+      },+      "mouser": {+        "pn": "511-STM32L021D4P7",+        "status": "found"+      }+    },+    "pins": [+      {+        "number": "1",+        "name": "PB9-BOOT0",+        "type": "input",+        "description": "Boot memory selection input (BOOT0), active high, determines boot from Flash or system bootloader"+      },+      {+        "number": "2",+        "name": "PC14-OSC32_IN",+        "type": "bidirectional",+        "description": "32 kHz oscillator input for RTC, supports OSC32_IN function for external crystal connection"+      },+      {+        "number": "3",+        "name": "PC15-OSC32_OUT",+        "type": "bidirectional",+        "description": "32 kHz oscillator output for RTC, supports OSC32_OUT function for external crystal connection"+      },+      {+        "number": "4",+        "name": "NRST",+        "type": "bidirectional",+        "description": "Device reset input/output (active low) with embedded weak pull-up resistor, 5V tolerant"+      },+      {+        "number": "5",+        "name": "PA0-CK_IN",+        "type": "bidirectional",+        "description": "Port A bit 0, ADC channel 0, 3.3V tolerant ADC input, supports alternate functions USART2_RX, LPTIM1_IN1, TIM2_CH1, LPUART1_RX, COMP1_OUT"+      },+      {+        "number": "6",+        "name": "PA1",+        "type": "bidirectional",+        "description": "Port A bit 1, ADC channel 1, 5V tolerant I/O, supports alternate functions LPTIM1_IN2, TIM2_CH2, I2C1_SMBA, USART2_RTS_DE, LPUART1_TX, COMP1_INP"+      },+      {+        "number": "7",+        "name": "PA4",+        "type": "bidirectional",+        "description": "Port A bit 4, ADC channel 4, 3.3V tolerant ADC input, supports alternate functions SPI1_NSS, LPTIM1 inputs, I2C1_SCL, USART2_CK, LPUART1_TX, COMP2_OUT"+      },+      {+        "number": "8",+        "name": "PA7",+        "type": "bidirectional",+        "description": "Port A bit 7, ADC channel 7, 5V tolerant I/O, supports alternate functions SPI1_MOSI, LPTIM1_OUT, USART2_CTS, TIM21_ETR, COMP2_OUT, COMP2_INP"+      },+      {+        "number": "9",+        "name": "VSS",+        "type": "power_in",+        "description": "Digital and analog ground (GND)"+      },+      {+        "number": "10",+        "name": "VDD",+        "type": "power_in",+        "description": "Digital and analog power supply, 1.65V to 3.6V, internally connected to VDDA on TSSOP14 variant"+      },+      {+        "number": "11",+        "name": "PA9",+        "type": "bidirectional",+        "description": "Port A bit 9, 5V tolerant FM+ capable I/O with 20mA output drive, supports MCO, I2C1_SCL, LPTIM1_OUT, USART2_TX, TIM21_CH2, COMP1_OUT"+      },+      {+        "number": "12",+        "name": "PA10",+        "type": "bidirectional",+        "description": "Port A bit 10, 5V tolerant FM+ capable I/O with 20mA output drive, supports TIM21_CH1, I2C1_SDA, USART2_RX, TIM2_CH3, COMP1_OUT, RTC_REFIN"+      },+      {+        "number": "13",+        "name": "PA13",+        "type": "bidirectional",+        "description": "Port A bit 13, 5V tolerant FM+ capable I/O, Serial Wire Debug Data I/O (SWDIO), supports alternate functions LPTIM1_ETR, I2C1_SDA, SPI1_SCK, LPUART1_RX, COMP1_OUT"+      },+      {+        "number": "14",+        "name": "PA14",+        "type": "bidirectional",+        "description": "Port A bit 14, 5V tolerant I/O, Serial Wire Debug Clock (SWCLK), acts as SPI1_MISO when bootloader active, supports LPTIM1_OUT, I2C1_SMBA, USART2_TX, LPUART1_TX, COMP2_OUT"+      }+    ],+    "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: PC14-OSC32_IN and PC15-OSC32_OUT (pins 2-3) are oscillator pins for 32kHz RTC crystal; verify actual; VDDA and VDD are internally connected on TSSOP14 package (note 4, page 40); confirm power distributi; PA14/SWCLK exhibits special behavior: acts as SPI1_MISO output when bootloader is active; see note 7",+          "1/14 pins cited to the wrong page (name found elsewhere): ['14:PA14@p36']"+        ],+        "pages_sent": 47,+        "cost_usd": 0.3094,+        "at": "2026-10-06T17:29:45"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922176892514304",+        "pages": 114,+        "sha256": "97b23667dad711b9",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 14,+        "described": 14,+        "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