← Commit history

Initial commit: component/stm8af6223pdau

Ray ·c235a08572 ·
2 files changed +271
README.mdadded+56
@@ -0,0 +1,56 @@+# STM8AF6223PDAU++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · TSSOP-20++STM8AF6223PDAU 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 | PD4 | bidirectional | High-sink I/O port configured as Timer 5 channel 1, BEEP output (1-4 kHz), SPI master/slave select, or LINUART clock with [AFR2] remapping option. |+| 2 | PD5 | bidirectional | High-sink I/O port functioning as analog input channel 5 (AIN5) or LINUART data transmit line, 10-bit ADC conversion with ±1 LSB accuracy. |+| 3 | PD6 | bidirectional | High-sink I/O port functioning as analog input channel 6 (AIN6) or LINUART data receive line, 10-bit ADC conversion with ±1 LSB accuracy. |+| 4 | NRST | input | Active-low asynchronous reset input with internal pull-up resistor (30-80 kΩ), triggers device reset when voltage falls below 0.3×VDD threshold. |+| 5 | PA1 | bidirectional | I/O port or high-speed external oscillator input (OSCIN) for 1-16 MHz crystal/resonator, weak pull-up in Halt/Active-halt mode. |+| 6 | PA2 | bidirectional | I/O port or high-speed external oscillator output (OSCOUT) for HSE crystal/resonator feedback connection. |+| 7 | VSS | power_in | Digital ground connection, must be connected to system ground reference. |+| 8 | VCAP | passive | 1.8 V internal regulator capacitor connection requiring external 470-3300 nF capacitor with ESR ≤0.3 Ω and ESL ≤15 nH. |+| 9 | VDD | power_out | Digital power supply pin, operating voltage 3.0-5.5 V, maximum total source current 100 mA into VDD. |+| 10 | PB5 | bidirectional | True open-drain I/O port with I2C data line (SDA) or Timer 1 break input [AFR4] remapping, pull-up resistor 30-80 kΩ, no internal protection diodes. |+| 11 | PB4 | bidirectional | True open-drain I/O port with I2C clock line (SCL) or ADC external trigger [AFR4] remapping, pull-up resistor 30-80 kΩ, no internal protection diodes. |+| 12 | PB1 | bidirectional | High-sink I/O port configured as Timer 1 inverted channel 2 output or analog input channel 1 (AIN1), 10-bit ADC conversion with ±1 LSB accuracy. |+| 13 | PB0 | bidirectional | High-sink I/O port configured as Timer 1 inverted channel 1 output or analog input channel 0 (AIN0), 10-bit ADC conversion with ±1 LSB accuracy. |+| 14 | PC4 | bidirectional | High-sink I/O port with Timer 1 channel 4, configurable clock output (CLK_CCO), analog input 2 [AFR2], or Timer 1 inverted channel 2 [AFR7] remapping option. |+| 15 | PC5 | bidirectional | High-sink I/O port with SPI clock line (SCK) or Timer 5 channel 1 [AFR0] remapping, maximum SPI speed 8 Mbit/s master or 6 Mbit/s slave mode. |+| 16 | PC6 | bidirectional | High-sink I/O port with SPI master out/slave in (MOSI) or Timer 1 channel 1 [AFR0] remapping, maximum SPI speed 8 Mbit/s master or 6 Mbit/s slave mode. |+| 17 | PC7 | bidirectional | High-sink I/O port with SPI master in/slave out (MISO) or Timer 1 channel 2 [AFR0] remapping, maximum SPI speed 8 Mbit/s master or 6 Mbit/s slave mode. |+| 18 | PD1 | bidirectional | High-sink I/O port with SWIM single-wire debug interface for programming and in-circuit debugging, weak pull-up during reset phase and after release. |+| 19 | PD2 | bidirectional | High-sink I/O port functioning as analog input channel 3 (AIN3) [AFR2] or Timer 5 channel 3 [AFR1] remapping, 10-bit ADC conversion with ±1 LSB accuracy. |+| 20 | PD3 | bidirectional | High-sink I/O port with analog input channel 4 (AIN4), Timer 5 channel 2 (TIM5_CH2), and ADC external trigger (ADC_ETR) capability, 10-bit ADC with ±1 LSB accuracy. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | TSSOP-20 |+| Category | Embedded Processors & Controllers |+| Pins | 20 |++## CAD (KiCad official)++- Symbol: `STM8AF6223PDAU`+- Footprint: `Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm`+- 3D model: TSSOP-20 (KiCad packages3D, STEP)+- 3D model files: `stm8af6223pdau-etched.step` / `stm8af6223pdau-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm8af6223pdau.step` / `stm8af6223pdau.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/8588940292930621440) (112 pp, sha256 `d9cd5dcf0815e39e`, 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/stm8af6223pdau-datasheet.pdf)
page.jsonadded+215
@@ -0,0 +1,215 @@+{+  "slug": "stm8af6223pdau",+  "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",+    "stm8af6223pdau",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm8af6223pdau.kicad_sym",+    "stm8af6223pdau.kicad_mod",+    "stm8af6223pdau.glb",+    "stm8af6223pdau.step",+    "stm8af6223pdau.lbr",+    "docs/hero.png",+    "docs/stm8af6223pdau-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "STM8AF6223PDAU",+    "manufacturer": "STMicroelectronics",+    "package": "TSSOP-20",+    "pin_count": 20,+    "category": "Embedded Processors & Controllers",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588940292930621440",+    "parts": {+      "symbol": "stm8af6223pdau.kicad_sym",+      "footprint": "stm8af6223pdau.kicad_mod",+      "model_3d": "stm8af6223pdau-etched.glb",+      "model_3d_plain": "stm8af6223pdau.glb",+      "model_3d_step": "stm8af6223pdau-etched.step",+      "model_3d_step_plain": "stm8af6223pdau.step",+      "lbr": "stm8af6223pdau.lbr"+    },+    "distributor_links": {+      "lcsc": "C1235429"+    },+    "pins": [+      {+        "number": "1",+        "name": "PD4",+        "type": "bidirectional",+        "description": "High-sink I/O port configured as Timer 5 channel 1, BEEP output (1-4 kHz), SPI master/slave select, or LINUART clock with [AFR2] remapping option."+      },+      {+        "number": "2",+        "name": "PD5",+        "type": "bidirectional",+        "description": "High-sink I/O port functioning as analog input channel 5 (AIN5) or LINUART data transmit line, 10-bit ADC conversion with ±1 LSB accuracy."+      },+      {+        "number": "3",+        "name": "PD6",+        "type": "bidirectional",+        "description": "High-sink I/O port functioning as analog input channel 6 (AIN6) or LINUART data receive line, 10-bit ADC conversion with ±1 LSB accuracy."+      },+      {+        "number": "4",+        "name": "NRST",+        "type": "input",+        "description": "Active-low asynchronous reset input with internal pull-up resistor (30-80 kΩ), triggers device reset when voltage falls below 0.3×VDD threshold."+      },+      {+        "number": "5",+        "name": "PA1",+        "type": "bidirectional",+        "description": "I/O port or high-speed external oscillator input (OSCIN) for 1-16 MHz crystal/resonator, weak pull-up in Halt/Active-halt mode."+      },+      {+        "number": "6",+        "name": "PA2",+        "type": "bidirectional",+        "description": "I/O port or high-speed external oscillator output (OSCOUT) for HSE crystal/resonator feedback connection."+      },+      {+        "number": "7",+        "name": "VSS",+        "type": "power_in",+        "description": "Digital ground connection, must be connected to system ground reference."+      },+      {+        "number": "8",+        "name": "VCAP",+        "type": "passive",+        "description": "1.8 V internal regulator capacitor connection requiring external 470-3300 nF capacitor with ESR ≤0.3 Ω and ESL ≤15 nH."+      },+      {+        "number": "9",+        "name": "VDD",+        "type": "power_out",+        "description": "Digital power supply pin, operating voltage 3.0-5.5 V, maximum total source current 100 mA into VDD."+      },+      {+        "number": "10",+        "name": "PB5",+        "type": "bidirectional",+        "description": "True open-drain I/O port with I2C data line (SDA) or Timer 1 break input [AFR4] remapping, pull-up resistor 30-80 kΩ, no internal protection diodes."+      },+      {+        "number": "11",+        "name": "PB4",+        "type": "bidirectional",+        "description": "True open-drain I/O port with I2C clock line (SCL) or ADC external trigger [AFR4] remapping, pull-up resistor 30-80 kΩ, no internal protection diodes."+      },+      {+        "number": "12",+        "name": "PB1",+        "type": "bidirectional",+        "description": "High-sink I/O port configured as Timer 1 inverted channel 2 output or analog input channel 1 (AIN1), 10-bit ADC conversion with ±1 LSB accuracy."+      },+      {+        "number": "13",+        "name": "PB0",+        "type": "bidirectional",+        "description": "High-sink I/O port configured as Timer 1 inverted channel 1 output or analog input channel 0 (AIN0), 10-bit ADC conversion with ±1 LSB accuracy."+      },+      {+        "number": "14",+        "name": "PC4",+        "type": "bidirectional",+        "description": "High-sink I/O port with Timer 1 channel 4, configurable clock output (CLK_CCO), analog input 2 [AFR2], or Timer 1 inverted channel 2 [AFR7] remapping option."+      },+      {+        "number": "15",+        "name": "PC5",+        "type": "bidirectional",+        "description": "High-sink I/O port with SPI clock line (SCK) or Timer 5 channel 1 [AFR0] remapping, maximum SPI speed 8 Mbit/s master or 6 Mbit/s slave mode."+      },+      {+        "number": "16",+        "name": "PC6",+        "type": "bidirectional",+        "description": "High-sink I/O port with SPI master out/slave in (MOSI) or Timer 1 channel 1 [AFR0] remapping, maximum SPI speed 8 Mbit/s master or 6 Mbit/s slave mode."+      },+      {+        "number": "17",+        "name": "PC7",+        "type": "bidirectional",+        "description": "High-sink I/O port with SPI master in/slave out (MISO) or Timer 1 channel 2 [AFR0] remapping, maximum SPI speed 8 Mbit/s master or 6 Mbit/s slave mode."+      },+      {+        "number": "18",+        "name": "PD1",+        "type": "bidirectional",+        "description": "High-sink I/O port with SWIM single-wire debug interface for programming and in-circuit debugging, weak pull-up during reset phase and after release."+      },+      {+        "number": "19",+        "name": "PD2",+        "type": "bidirectional",+        "description": "High-sink I/O port functioning as analog input channel 3 (AIN3) [AFR2] or Timer 5 channel 3 [AFR1] remapping, 10-bit ADC conversion with ±1 LSB accuracy."+      },+      {+        "number": "20",+        "name": "PD3",+        "type": "bidirectional",+        "description": "High-sink I/O port with analog input channel 4 (AIN4), Timer 5 channel 2 (TIM5_CH2), and ADC external trigger (ADC_ETR) capability, 10-bit ADC with ±1 LSB accuracy."+      }+    ],+    "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: MPN STM8AF6223PDAU contains 'A' in ADC variant position (7 channels), requiring use of Table 7 (STM8"+        ],+        "pages_sent": 112,+        "cost_usd": 0.9799,+        "at": "2026-09-24T04:57:08"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588940292930621440",+        "pages": 112,+        "sha256": "d9cd5dcf0815e39e",+        "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