← Commit history

Initial commit: component/stm8l051f3p6

Ray ·39afc76820 ·
2 files changed +269
README.mdadded+56
@@ -0,0 +1,56 @@+# STM8L051F3P6++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · TSSOP-20++STM8L051F3P6 from STMicroelectronics, in a TSSOP-20. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | PC5 | bidirectional | Port C5 I/O pin with LSE oscillator input as main function; supports alternate mappings to SPI1 NSS, USART TX, and TIM2 channel 1. |+| 2 | PC6 | bidirectional | Port C6 I/O pin with LSE oscillator output as main function; supports alternate mappings to SPI1 SCK, USART RX, and TIM2 channel 2. |+| 3 | PA0 | bidirectional | Port A0 I/O pin with high-sink LED driver capability (up to 80 mA); functions as SWIM debug interface, beeper output, and infrared timer output. |+| 4 | NRST/PA1 | input | Active-low device reset input with internal pull-up (30-60 kΩ), VIL max 0.8V; can be remapped as Port A1 open-drain or push-pull output only. |+| 5 | PA2 | bidirectional | Port A2 I/O pin with HSE oscillator input as main function; supports alternate mappings to USART TX and SPI MISO. |+| 6 | PA3 | bidirectional | Port A3 I/O pin with HSE oscillator output as main function; supports alternate mappings to USART RX and SPI MOSI. |+| 7 | VSS/VREF-/VSSA | power_in | Ground connections (VSS, VSSA) and ADC negative reference (VREF-), 0V reference potential; must be connected to external power return. |+| 8 | VDD/VDDA/VREF+ | power_in | Power supply (VDD, VDDA) and ADC positive reference (VREF+) connections, 1.8-3.6V operating range, up to 80 mA total output current. |+| 9 | PD0 | bidirectional | Port D0 I/O pin with functions as Timer 3 channel 2 input/output, ADC1 trigger input, and ADC1 analog input channel 22. |+| 10 | PB0 | bidirectional | Port B0 I/O pin; functions as Timer 2 channel 1 input/output and ADC1 analog input channel 18; pull-up applied during reset phase only. |+| 11 | PB1 | bidirectional | Port B1 I/O pin with Timer 3 channel 1 input/output and ADC1 analog input channel 17 functions. |+| 12 | PB2 | bidirectional | Port B2 I/O pin with Timer 2 channel 2 input/output and ADC1 analog input channel 16 functions. |+| 13 | PB3 | bidirectional | Port B3 I/O pin functioning as Timer 2 external trigger input, RTC alarm output, and ADC1 analog input channel 15. |+| 14 | PB4 | bidirectional | Port B4 I/O pin functioning as SPI1 slave select (NSS) input and ADC1 analog input channel 14; pull-up applied during reset phase only. |+| 15 | PB5 | bidirectional | Port B5 I/O pin functioning as SPI1 clock (SCK) input/output and ADC1 analog input channel 13. |+| 16 | PB6 | bidirectional | Port B6 I/O pin functioning as SPI1 master-out/slave-in (MOSI) and ADC1 analog input channel 12. |+| 17 | PB7 | bidirectional | Port B7 I/O pin functioning as SPI1 master-in/slave-out (MISO) and ADC1 analog input channel 11. |+| 18 | PC0 | tri_state | I2C1 data (SDA) pin with true open-drain output, 5-volt tolerant input (up to 5.5V), and integrated weak pull-up (30-60 kΩ). |+| 19 | PC1 | tri_state | I2C1 clock (SCL) pin with true open-drain output, 5-volt tolerant input (up to 5.5V), and integrated weak pull-up (30-60 kΩ). |+| 20 | PC4 | bidirectional | Port C4 I/O pin with USART1 synchronous clock, I2C1 SMBus, configurable clock output, and ADC1 analog input channel 4 functions. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | TSSOP-20 |+| Category | Embedded Processors & Controllers |+| Pins | 20 |++## CAD (KiCad official)++- Symbol: `STM8L051F3P6`+- Footprint: `Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm`+- 3D model: TSSOP-20 (KiCad packages3D, STEP)+- 3D model files: `stm8l051f3p6-etched.step` / `stm8l051f3p6-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm8l051f3p6.step` / `stm8l051f3p6.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/8588882519592734720) (93 pp, sha256 `49eab539fe1f16e1`, 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/stm8l051f3p6-datasheet.pdf)
page.jsonadded+213
@@ -0,0 +1,213 @@+{+  "slug": "stm8l051f3p6",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "embedded processors & controllers",+    "stm8l051f3p6",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm8l051f3p6.kicad_sym",+    "stm8l051f3p6.kicad_mod",+    "stm8l051f3p6.glb",+    "stm8l051f3p6.step",+    "stm8l051f3p6.lbr",+    "docs/hero.png",+    "docs/stm8l051f3p6-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "STM8L051F3P6",+    "manufacturer": "STMicroelectronics",+    "package": "TSSOP-20",+    "pin_count": 20,+    "category": "Embedded Processors & Controllers",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588882519592734720",+    "parts": {+      "symbol": "stm8l051f3p6.kicad_sym",+      "footprint": "stm8l051f3p6.kicad_mod",+      "model_3d": "stm8l051f3p6-etched.glb",+      "model_3d_plain": "stm8l051f3p6.glb",+      "model_3d_step": "stm8l051f3p6-etched.step",+      "model_3d_step_plain": "stm8l051f3p6.step",+      "lbr": "stm8l051f3p6.lbr"+    },+    "distributor_links": {+      "lcsc": "C57363"+    },+    "pins": [+      {+        "number": "1",+        "name": "PC5",+        "type": "bidirectional",+        "description": "Port C5 I/O pin with LSE oscillator input as main function; supports alternate mappings to SPI1 NSS, USART TX, and TIM2 channel 1."+      },+      {+        "number": "2",+        "name": "PC6",+        "type": "bidirectional",+        "description": "Port C6 I/O pin with LSE oscillator output as main function; supports alternate mappings to SPI1 SCK, USART RX, and TIM2 channel 2."+      },+      {+        "number": "3",+        "name": "PA0",+        "type": "bidirectional",+        "description": "Port A0 I/O pin with high-sink LED driver capability (up to 80 mA); functions as SWIM debug interface, beeper output, and infrared timer output."+      },+      {+        "number": "4",+        "name": "NRST/PA1",+        "type": "input",+        "description": "Active-low device reset input with internal pull-up (30-60 kΩ), VIL max 0.8V; can be remapped as Port A1 open-drain or push-pull output only."+      },+      {+        "number": "5",+        "name": "PA2",+        "type": "bidirectional",+        "description": "Port A2 I/O pin with HSE oscillator input as main function; supports alternate mappings to USART TX and SPI MISO."+      },+      {+        "number": "6",+        "name": "PA3",+        "type": "bidirectional",+        "description": "Port A3 I/O pin with HSE oscillator output as main function; supports alternate mappings to USART RX and SPI MOSI."+      },+      {+        "number": "7",+        "name": "VSS/VREF-/VSSA",+        "type": "power_in",+        "description": "Ground connections (VSS, VSSA) and ADC negative reference (VREF-), 0V reference potential; must be connected to external power return."+      },+      {+        "number": "8",+        "name": "VDD/VDDA/VREF+",+        "type": "power_in",+        "description": "Power supply (VDD, VDDA) and ADC positive reference (VREF+) connections, 1.8-3.6V operating range, up to 80 mA total output current."+      },+      {+        "number": "9",+        "name": "PD0",+        "type": "bidirectional",+        "description": "Port D0 I/O pin with functions as Timer 3 channel 2 input/output, ADC1 trigger input, and ADC1 analog input channel 22."+      },+      {+        "number": "10",+        "name": "PB0",+        "type": "bidirectional",+        "description": "Port B0 I/O pin; functions as Timer 2 channel 1 input/output and ADC1 analog input channel 18; pull-up applied during reset phase only."+      },+      {+        "number": "11",+        "name": "PB1",+        "type": "bidirectional",+        "description": "Port B1 I/O pin with Timer 3 channel 1 input/output and ADC1 analog input channel 17 functions."+      },+      {+        "number": "12",+        "name": "PB2",+        "type": "bidirectional",+        "description": "Port B2 I/O pin with Timer 2 channel 2 input/output and ADC1 analog input channel 16 functions."+      },+      {+        "number": "13",+        "name": "PB3",+        "type": "bidirectional",+        "description": "Port B3 I/O pin functioning as Timer 2 external trigger input, RTC alarm output, and ADC1 analog input channel 15."+      },+      {+        "number": "14",+        "name": "PB4",+        "type": "bidirectional",+        "description": "Port B4 I/O pin functioning as SPI1 slave select (NSS) input and ADC1 analog input channel 14; pull-up applied during reset phase only."+      },+      {+        "number": "15",+        "name": "PB5",+        "type": "bidirectional",+        "description": "Port B5 I/O pin functioning as SPI1 clock (SCK) input/output and ADC1 analog input channel 13."+      },+      {+        "number": "16",+        "name": "PB6",+        "type": "bidirectional",+        "description": "Port B6 I/O pin functioning as SPI1 master-out/slave-in (MOSI) and ADC1 analog input channel 12."+      },+      {+        "number": "17",+        "name": "PB7",+        "type": "bidirectional",+        "description": "Port B7 I/O pin functioning as SPI1 master-in/slave-out (MISO) and ADC1 analog input channel 11."+      },+      {+        "number": "18",+        "name": "PC0",+        "type": "tri_state",+        "description": "I2C1 data (SDA) pin with true open-drain output, 5-volt tolerant input (up to 5.5V), and integrated weak pull-up (30-60 kΩ)."+      },+      {+        "number": "19",+        "name": "PC1",+        "type": "tri_state",+        "description": "I2C1 clock (SCL) pin with true open-drain output, 5-volt tolerant input (up to 5.5V), and integrated weak pull-up (30-60 kΩ)."+      },+      {+        "number": "20",+        "name": "PC4",+        "type": "bidirectional",+        "description": "Port C4 I/O pin with USART1 synchronous clock, I2C1 SMBus, configurable clock output, and ADC1 analog input channel 4 functions."+      }+    ],+    "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": [],+        "pages_sent": 93,+        "cost_usd": 0.8028,+        "at": "2026-09-24T03:33:54"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588882519592734720",+        "pages": 93,+        "sha256": "49eab539fe1f16e1",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 20,+        "described": 20,+        "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