component
STM8AF6223PCX
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.
main
Ray
stm8af6223pcx: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding)
a14c8db
21h ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
{
"schema_version": 1,
"type": "component",
"slug": "stm8af6223pcx",
"title": "STM8AF6223PCX",
"brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
"version": "0.1.0",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"embedded processors & controllers",
"stm8af6223pcx"
],
"component": {
"mpn": "STM8AF6223PCX",
"manufacturer": "STMicroelectronics",
"package": "TSSOP-20",
"pin_count": 20,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588883742228697088",
"parts": {
"symbol": "stm8af6223pcx.kicad_sym",
"footprint": "stm8af6223pcx.kicad_mod",
"model_3d": "stm8af6223pcx-etched.glb",
"model_3d_plain": "stm8af6223pcx.glb",
"model_3d_step": "stm8af6223pcx-etched.step",
"model_3d_step_plain": "stm8af6223pcx.step",
"lbr": "stm8af6223pcx.lbr"
},
"distributor_links": {},
"pins": [
{
"number": "1",
"name": "PD4/TIM5_CH1/BEEP/[LINUART_CK]",
"type": "bidirectional",
"description": "General-purpose I/O Port D4 (high-sink, O3 speed, floating/pull-up input, OD/PP output). Default alternate: TIM5_CH1 or BEEP output; remap [AFR2] gives LINUART clock."
},
{
"number": "2",
"name": "PD5/AIN5/LINUART_TX",
"type": "bidirectional",
"description": "General-purpose I/O Port D5 (high-sink, O3 speed). Default alternate functions: analog input AIN5 for the 10-bit ADC and LINUART data transmit (TX)."
},
{
"number": "3",
"name": "PD6/AIN6/LINUART_RX",
"type": "bidirectional",
"description": "General-purpose I/O Port D6 (high-sink, O3 speed). Default alternate functions: analog input AIN6 for the 10-bit ADC and LINUART data receive (RX)."
},
{
"number": "4",
"name": "NRST",
"type": "bidirectional",
"description": "Active-low bidirectional reset pin with internal pull-up. Drive low externally to reset the MCU; internally driven low by watchdog/POR events. Requires filtering per Figure 35 recommended reset protection."
},
{
"number": "5",
"name": "PA1/OSCIN",
"type": "bidirectional",
"description": "General-purpose I/O Port A1 or HSE crystal/resonator oscillator input (OSCIN). Slow output speed (O1). In Halt/Active-halt PA1 is auto-configured as input weak pull-up and cannot wake the device."
},
{
"number": "6",
"name": "PA2/OSCOUT",
"type": "bidirectional",
"description": "General-purpose I/O Port A2 or HSE crystal/resonator oscillator output (OSCOUT). Slow output speed (O1)."
},
{
"number": "7",
"name": "VSS",
"type": "power_in",
"description": "Digital ground reference (0 V). Connect to the system ground plane with low-impedance return."
},
{
"number": "8",
"name": "VCAP",
"type": "passive",
"description": "Internal 1.8 V core regulator output stabilization pin. Requires an external decoupling capacitor to VSS (typ. 1 uF ceramic) - do not connect to any supply rail."
},
{
"number": "9",
"name": "VDD",
"type": "power_in",
"description": "Digital power supply, 3.0 V to 5.5 V operating range. Decouple to VSS with 100 nF (plus bulk capacitance) close to the pin."
},
{
"number": "10",
"name": "PA3/TIM5_CH3/[SPI_NSS]",
"type": "bidirectional",
"description": "General-purpose I/O Port A3 (high-sink, O3 speed). Default alternate: TIM5 channel 3; remap [AFR1] gives SPI slave-select NSS."
},
{
"number": "11",
"name": "PB5/I2C_SDA/[TIM1_BKIN]",
"type": "bidirectional",
"description": "Port B5 configured as true open-drain I/O (no P-buffer, no weak pull-up, no protection diode to VDD). Default alternate: I2C data (SDA); remap [AFR4] gives TIM1 break input."
},
{
"number": "12",
"name": "PB4/I2C_SCL/[ADC_ETR]",
"type": "bidirectional",
"description": "Port B4 configured as true open-drain I/O. Default alternate: I2C clock (SCL); remap [AFR4] gives ADC external trigger."
},
{
"number": "13",
"name": "PC3/TIM1_CH3/[TLI]/[TIM1_CH1N]",
"type": "bidirectional",
"description": "General-purpose I/O Port C3 (high-sink, O3 speed). Default alternate: TIM1 channel 3; remap [AFR3] gives TLI (top-level interrupt); remap [AFR7] gives TIM1 inverted channel 1."
},
{
"number": "14",
"name": "PC4/TIM1_CH4/CLK_CCO/AIN2/[TIM1_CH2N]",
"type": "bidirectional",
"description": "General-purpose I/O Port C4 (high-sink, O3 speed). Default alternates: TIM1 channel 4 or configurable clock output (CCO); remap [AFR2] gives ADC analog input AIN2; remap [AFR7] gives TIM1 inverted channel 2."
},
{
"number": "15",
"name": "PC5/SPI_SCK/[TIM5_CH1]",
"type": "bidirectional",
"description": "Port C5 (high-sink, O3 speed). Default alternate: SPI clock (SCK); remap [AFR0] gives TIM5 channel 1."
},
{
"number": "16",
"name": "PC6/SPI_MOSI/[TIM1_CH1]",
"type": "bidirectional",
"description": "Port C6 (high-sink, O3 speed). Default alternate: SPI MOSI (master-out/slave-in); remap [AFR0] gives TIM1 channel 1."
},
{
"number": "17",
"name": "PC7/SPI_MISO/[TIM1_CH2]",
"type": "bidirectional",
"description": "Port C7 (high-sink, O3 speed). Default alternate: SPI MISO (master-in/slave-out); remap [AFR0] gives TIM1 channel 2."
},
{
"number": "18",
"name": "PD1/SWIM",
"type": "bidirectional",
"description": "Port D1 (high-sink, O4 fast-default speed) doubling as the SWIM single-wire debug/programming data interface. PD1 is input pull-up during the reset phase and after internal reset release."
},
{
"number": "19",
"name": "PD2/AIN3/[TIM5_CH3]",
"type": "bidirectional",
"description": "General-purpose I/O Port D2 (high-sink, O3 speed). Remap [AFR2] gives ADC analog input AIN3; remap [AFR1] gives TIM5 channel 3."
},
{
"number": "20",
"name": "PD3/AIN4/TIM5_CH2/ADC_ETR",
"type": "bidirectional",
"description": "General-purpose I/O Port D3 (high-sink, O3 speed). Default alternate: analog input AIN4 / TIM5 channel 2 / ADC external trigger."
}
],
"provenance": {
"extractor": "ds2sf",
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588883742228697088",
"pages": 110,
"sha256": "ffb367d8b93062e4",
"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"
},
"models_3d": [
{
"file": "stm8af6223pcx.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6.4,
6.5,
1.2
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stm8af6223pcx-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6.4,
6.5,
1.2
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "caaf014317db9b4b54034a302242c2bab2705115962188f7d006fe5ab4f602ab",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "STMicroelectronics",
"Package": "TSSOP-20",
"Category": "Embedded Processors & Controllers",
"Pins": "20"
}
},
"variants": [
{
"mpn": "STM8AF6223PCX",
"kind": "packaging"
},
{
"mpn": "STM8AF6223PCXPCY",
"kind": "packaging"
},
{
"mpn": "STM8AF6223PCXPCU",
"kind": "packaging"
},
{
"mpn": "STM8AF6223PCXPAX",
"kind": "packaging"
},
{
"mpn": "STM8AF6223PCXPAY",
"kind": "packaging"
},
{
"mpn": "STM8AF6223PCXPAU",
"kind": "packaging"
},
{
"mpn": "STM8AF6223PCXPDX",
"kind": "packaging"
},
{
"mpn": "STM8AF6223PCXPDY",
"kind": "packaging"
},
{
"mpn": "STM8AF6223PCXPDU",
"kind": "packaging"
}
],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"stm8af6223pcx"
],
"discovery_pitch": "STM8AF6223PCX (STMicroelectronics) component page with datasheet-verified CAD.",
"author": {
"name": "Ray",
"email": "[email protected]"
},
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stm8af6223pcx.kicad_sym",
"stm8af6223pcx.kicad_mod",
"stm8af6223pcx.glb",
"stm8af6223pcx.step",
"stm8af6223pcx.lbr",
"docs/hero.png",
"docs/stm8af6223pcx-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html"
],
"visibility": {
"public": true
},
"updated_at": "2026-09-25T08:58:58.641Z"
}