← Commit history

Initial commit: component/stm8af6223ipcx

Ray ·8bc21ea3b1 ·
2 files changed +285
README.mdadded+56
@@ -0,0 +1,56 @@+# STM8AF6223IPCX++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · TSSOP-20(4.4x6.4)++STM8AF6223IPCX from STMicroelectronics, in a TSSOP-20(4.4x6.4). 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 | GPIO with high-sink output; selectable as TIM5_CH1, BEEP output, or LINUART_CK. |+| 2 | PD5 | bidirectional | GPIO with high-sink output; selectable as analog input 5 or LINUART transmit data. |+| 3 | PD6 | bidirectional | GPIO with high-sink output; selectable as analog input 6 or LINUART receive data. |+| 4 | NRST | tri_state | Active-low reset input with internal pull-up and open-drain output structure. |+| 5 | PA1 | bidirectional | GPIO selectable as crystal oscillator input (OSCIN) or standard I/O with weak pull-up in Halt mode. |+| 6 | PA2 | bidirectional | GPIO selectable as crystal oscillator output (OSCOUT) or standard I/O. |+| 7 | VSS | power_in | Digital ground reference. |+| 8 | VCAP | power_in | Internal 1.8 V regulator capacitor pin; connect 470 nF to 3.3 µF external capacitor. |+| 9 | VDD | power_out | Digital power supply input; 3.0 V to 5.5 V operating range. |+| 10 | PA3 | bidirectional | GPIO with high-sink output; selectable as TIM5_CH3 or SPI_NSS. |+| 11 | PB5 | tri_state | True open-drain GPIO; selectable as I2C_SDA or TIM1_BKIN. |+| 12 | PB4 | tri_state | True open-drain GPIO; selectable as I2C_SCL or ADC external trigger. |+| 13 | PC3 | bidirectional | GPIO with high-sink output; selectable as TIM1_CH3, TLI, or TIM1_CH1N. |+| 14 | PC4 | bidirectional | GPIO with high-sink output; selectable as TIM1_CH4, clock output, analog input 2, or TIM1_CH2N. |+| 15 | PC5 | bidirectional | GPIO with high-sink output; selectable as SPI_SCK or TIM5_CH1. |+| 16 | PC6 | bidirectional | GPIO with high-sink output; selectable as SPI_MOSI or TIM1_CH1. |+| 17 | PC7 | bidirectional | GPIO with high-sink output; selectable as SPI_MISO or TIM1_CH2. |+| 18 | PD1 | bidirectional | GPIO with high-sink output and weak pull-up during reset; selectable as SWIM single-wire debug interface. |+| 19 | PD2 | bidirectional | GPIO with high-sink output; selectable as analog input 3 or TIM5_CH3. |+| 20 | PD3 | bidirectional | GPIO with high-sink output; selectable as analog input 4, TIM5_CH2, or ADC external trigger. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | TSSOP-20(4.4x6.4) |+| Category | Embedded Processors & Controllers |+| Pins | 20 |++## CAD (KiCad official)++- Symbol: `STM8AF6223IPCX`+- Footprint: `Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm`+- 3D model: TSSOP-20(4.4x6.4) (KiCad packages3D, STEP)+- 3D model files: `stm8af6223ipcx-etched.step` / `stm8af6223ipcx-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm8af6223ipcx.step` / `stm8af6223ipcx.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/8588893748227293184) (112 pp, sha256 `d9cd5dcf0815e39e`, retrieved 2026-09-26, tier: lcsc)+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.2`, primary `claude-haiku-4-5-20251001` (text), consensus `claude-sonnet-4-6` (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/stm8af6223ipcx-datasheet.pdf)
page.jsonadded+229
@@ -0,0 +1,229 @@+{+  "slug": "stm8af6223ipcx",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20(4.4x6.4). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "embedded processors & controllers",+    "stm8af6223ipcx",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm8af6223ipcx.kicad_sym",+    "stm8af6223ipcx.kicad_mod",+    "stm8af6223ipcx.glb",+    "stm8af6223ipcx.step",+    "stm8af6223ipcx.lbr",+    "docs/hero.png",+    "docs/stm8af6223ipcx-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "STM8AF6223IPCX",+    "manufacturer": "STMicroelectronics",+    "package": "TSSOP-20(4.4x6.4)",+    "pin_count": 20,+    "category": "Embedded Processors & Controllers",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588893748227293184",+    "parts": {+      "symbol": "stm8af6223ipcx.kicad_sym",+      "footprint": "stm8af6223ipcx.kicad_mod",+      "model_3d": "stm8af6223ipcx-etched.glb",+      "model_3d_plain": "stm8af6223ipcx.glb",+      "model_3d_step": "stm8af6223ipcx-etched.step",+      "model_3d_step_plain": "stm8af6223ipcx.step",+      "lbr": "stm8af6223ipcx.lbr"+    },+    "distributor_links": {+      "lcsc": "C2054348",+      "digikey": "STM8AF6223IPCX-ND",+      "mouser": "511-STM8AF6223IPCX"+    },+    "distributor_check": {+      "checked_at": "2026-09-26T13:14:10Z",+      "source": "Component Ocean /api/assign-pns",+      "digikey": {+        "pn": "STM8AF6223IPCX-ND",+        "status": "found",+        "lifecycle": "Active"+      },+      "mouser": {+        "pn": "511-STM8AF6223IPCX",+        "status": "found",+        "lifecycle": "End of Life"+      }+    },+    "pins": [+      {+        "number": "1",+        "name": "PD4",+        "type": "bidirectional",+        "description": "GPIO with high-sink output; selectable as TIM5_CH1, BEEP output, or LINUART_CK."+      },+      {+        "number": "2",+        "name": "PD5",+        "type": "bidirectional",+        "description": "GPIO with high-sink output; selectable as analog input 5 or LINUART transmit data."+      },+      {+        "number": "3",+        "name": "PD6",+        "type": "bidirectional",+        "description": "GPIO with high-sink output; selectable as analog input 6 or LINUART receive data."+      },+      {+        "number": "4",+        "name": "NRST",+        "type": "tri_state",+        "description": "Active-low reset input with internal pull-up and open-drain output structure."+      },+      {+        "number": "5",+        "name": "PA1",+        "type": "bidirectional",+        "description": "GPIO selectable as crystal oscillator input (OSCIN) or standard I/O with weak pull-up in Halt mode."+      },+      {+        "number": "6",+        "name": "PA2",+        "type": "bidirectional",+        "description": "GPIO selectable as crystal oscillator output (OSCOUT) or standard I/O."+      },+      {+        "number": "7",+        "name": "VSS",+        "type": "power_in",+        "description": "Digital ground reference."+      },+      {+        "number": "8",+        "name": "VCAP",+        "type": "power_in",+        "description": "Internal 1.8 V regulator capacitor pin; connect 470 nF to 3.3 µF external capacitor."+      },+      {+        "number": "9",+        "name": "VDD",+        "type": "power_out",+        "description": "Digital power supply input; 3.0 V to 5.5 V operating range."+      },+      {+        "number": "10",+        "name": "PA3",+        "type": "bidirectional",+        "description": "GPIO with high-sink output; selectable as TIM5_CH3 or SPI_NSS."+      },+      {+        "number": "11",+        "name": "PB5",+        "type": "tri_state",+        "description": "True open-drain GPIO; selectable as I2C_SDA or TIM1_BKIN."+      },+      {+        "number": "12",+        "name": "PB4",+        "type": "tri_state",+        "description": "True open-drain GPIO; selectable as I2C_SCL or ADC external trigger."+      },+      {+        "number": "13",+        "name": "PC3",+        "type": "bidirectional",+        "description": "GPIO with high-sink output; selectable as TIM1_CH3, TLI, or TIM1_CH1N."+      },+      {+        "number": "14",+        "name": "PC4",+        "type": "bidirectional",+        "description": "GPIO with high-sink output; selectable as TIM1_CH4, clock output, analog input 2, or TIM1_CH2N."+      },+      {+        "number": "15",+        "name": "PC5",+        "type": "bidirectional",+        "description": "GPIO with high-sink output; selectable as SPI_SCK or TIM5_CH1."+      },+      {+        "number": "16",+        "name": "PC6",+        "type": "bidirectional",+        "description": "GPIO with high-sink output; selectable as SPI_MOSI or TIM1_CH1."+      },+      {+        "number": "17",+        "name": "PC7",+        "type": "bidirectional",+        "description": "GPIO with high-sink output; selectable as SPI_MISO or TIM1_CH2."+      },+      {+        "number": "18",+        "name": "PD1",+        "type": "bidirectional",+        "description": "GPIO with high-sink output and weak pull-up during reset; selectable as SWIM single-wire debug interface."+      },+      {+        "number": "19",+        "name": "PD2",+        "type": "bidirectional",+        "description": "GPIO with high-sink output; selectable as analog input 3 or TIM5_CH3."+      },+      {+        "number": "20",+        "name": "PD3",+        "type": "bidirectional",+        "description": "GPIO with high-sink output; selectable as analog input 4, TIM5_CH2, or ADC external trigger."+      }+    ],+    "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-4-6",+        "consensus": "agreed",+        "guards": "pin_guards 0.1: passed",+        "guard_notes": [],+        "pages_sent": 112,+        "cost_usd": 0.7376,+        "at": "2026-09-26T13:13:50"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588893748227293184",+        "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