component
STM8AF6223IPCX
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20(4.4x6.4). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
Ray
Initial commit: component/stm8af6223ipcx
8bc21ea
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.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stm8af6223ipcx.step/stm8af6223ipcx.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: STMicroelectronics datasheet (112 pp, sha256
d9cd5dcf0815e39e, retrieved 2026-09-26, tier: lcsc) - Extractor: parts-factory
2.0.0/extract_pins 0.2, primaryclaude-haiku-4-5-20251001(text), consensusclaude-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).
# 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)