main
Ray Set visibility: public 71b6139 14d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm8af5268tay",
  "title": "STM8AF5268TAY",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm8af5268tay",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM8AF5268TAY",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-48(7x7)",
    "pin_count": 48,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922753903185920",
    "parts": {
      "symbol": "stm8af5268tay.kicad_sym",
      "footprint": "stm8af5268tay.kicad_mod",
      "model_3d": "stm8af5268tay-hero.glb",
      "model_3d_plain": "stm8af5268tay.glb",
      "model_3d_step": "stm8af5268tay-etched.step",
      "model_3d_step_plain": "stm8af5268tay.step",
      "lbr": "stm8af5268tay.lbr"
    },
    "distributor_links": {
      "lcsc": "C1340340",
      "digikey": "497-19211-ND",
      "mouser": "511-STM8AF5268TAY"
    },
    "distributor_check": {
      "checked_at": "2026-10-11T15:19:32Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-19211-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "511-STM8AF5268TAY",
        "status": "found",
        "lifecycle": "End of Life"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Reset pin whose main function is reset, with a weak pull-up per Table 11; its electrical limits are in Table 39, which is not in the provided pages."
      },
      {
        "number": "2",
        "name": "PA1/OSCIN",
        "type": "bidirectional",
        "description": "Port A1 I/O (CMOS input, standard speed up to 2 MHz, push-pull or open-drain output) whose default function is the resonator/crystal oscillator input OSCIN."
      },
      {
        "number": "3",
        "name": "PA2/OSCOUT",
        "type": "bidirectional",
        "description": "Port A2 I/O (CMOS input with external interrupt, standard speed up to 2 MHz) whose default function is the resonator/crystal oscillator output OSCOUT."
      },
      {
        "number": "4",
        "name": "VSSIO_1",
        "type": "power_in",
        "description": "I/O ground for the first I/O bank."
      },
      {
        "number": "5",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground."
      },
      {
        "number": "6",
        "name": "VCAP",
        "type": "power_out",
        "description": "1.8 V regulator capacitor pin, to which the external VCAP capacitor is connected."
      },
      {
        "number": "7",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply."
      },
      {
        "number": "8",
        "name": "VDDIO_1",
        "type": "power_in",
        "description": "I/O power supply for the first I/O bank."
      },
      {
        "number": "9",
        "name": "PA3/TIM2_CH3",
        "type": "bidirectional",
        "description": "Port A3 I/O (standard speed up to 2 MHz) whose default alternate function is Timer 2 channel 3, which can be remapped to TIM3_CH1 via option bit AFR1."
      },
      {
        "number": "10",
        "name": "PA4/USART_RX",
        "type": "bidirectional",
        "description": "Port A4 I/O (fast/slow programmable speed O3) whose default alternate function is USART receive."
      },
      {
        "number": "11",
        "name": "PA5/USART_TX",
        "type": "bidirectional",
        "description": "Port A5 I/O (fast/slow programmable speed O3) whose default alternate function is USART transmit."
      },
      {
        "number": "12",
        "name": "PA6/USART_CK",
        "type": "bidirectional",
        "description": "Port A6 I/O (fast/slow programmable speed O3) whose default alternate function is the USART synchronous clock."
      },
      {
        "number": "13",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply."
      },
      {
        "number": "14",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground."
      },
      {
        "number": "15",
        "name": "PB7/AIN7",
        "type": "bidirectional",
        "description": "Port B7 I/O (standard speed up to 2 MHz) with ADC analog input AIN7."
      },
      {
        "number": "16",
        "name": "PB6/AIN6",
        "type": "bidirectional",
        "description": "Port B6 I/O (standard speed up to 2 MHz) with ADC analog input AIN6."
      },
      {
        "number": "17",
        "name": "PB5/AIN5",
        "type": "bidirectional",
        "description": "Port B5 I/O (standard speed up to 2 MHz) with ADC analog input AIN5; alternate function I2C_SDA is available after remap via AFR6."
      },
      {
        "number": "18",
        "name": "PB4/AIN4",
        "type": "bidirectional",
        "description": "Port B4 I/O (standard speed up to 2 MHz) with ADC analog input AIN4; alternate function I2C_SCL is available after remap via AFR6."
      },
      {
        "number": "19",
        "name": "PB3/AIN3",
        "type": "bidirectional",
        "description": "Port B3 I/O (standard speed up to 2 MHz) with ADC analog input AIN3; alternate function TIM1_ETR is available after remap via AFR5."
      },
      {
        "number": "20",
        "name": "PB2/AIN2",
        "type": "bidirectional",
        "description": "Port B2 I/O (standard speed up to 2 MHz) with ADC analog input AIN2; alternate function TIM1_CH3N is available after remap via AFR5."
      },
      {
        "number": "21",
        "name": "PB1/AIN1",
        "type": "bidirectional",
        "description": "Port B1 I/O (standard speed up to 2 MHz) with ADC analog input AIN1; alternate function TIM1_CH2N is available after remap via AFR5."
      },
      {
        "number": "22",
        "name": "PB0/AIN0",
        "type": "bidirectional",
        "description": "Port B0 I/O (standard speed up to 2 MHz) with ADC analog input AIN0; alternate function TIM1_CH1N is available after remap via AFR5."
      },
      {
        "number": "23",
        "name": "PE7/AIN8",
        "type": "bidirectional",
        "description": "Port E7 I/O (standard speed up to 2 MHz) with ADC analog input AIN8."
      },
      {
        "number": "24",
        "name": "PE6/AIN9",
        "type": "bidirectional",
        "description": "Port E6 I/O (standard speed up to 2 MHz) with ADC analog input AIN9."
      },
      {
        "number": "25",
        "name": "PE5/SPI_NSS",
        "type": "bidirectional",
        "description": "Port E5 I/O (standard speed up to 2 MHz) whose default alternate function is the SPI master/slave select."
      },
      {
        "number": "26",
        "name": "PC1/TIM1_CH1",
        "type": "bidirectional",
        "description": "Port C1 high-sink I/O (8 mA, fast/slow programmable speed O3) whose default alternate function is Timer 1 channel 1."
      },
      {
        "number": "27",
        "name": "PC2/TIM1_CH2",
        "type": "bidirectional",
        "description": "Port C2 high-sink I/O (8 mA, fast/slow programmable speed O3) whose default alternate function is Timer 1 channel 2."
      },
      {
        "number": "28",
        "name": "PC3/TIM1_CH3",
        "type": "bidirectional",
        "description": "Port C3 high-sink I/O (8 mA, fast/slow programmable speed O3) whose default alternate function is Timer 1 channel 3."
      },
      {
        "number": "29",
        "name": "PC4/TIM1_CH4",
        "type": "bidirectional",
        "description": "Port C4 high-sink I/O (8 mA, fast/slow programmable speed O3) whose default alternate function is Timer 1 channel 4."
      },
      {
        "number": "30",
        "name": "PC5/SPI_SCK",
        "type": "bidirectional",
        "description": "Port C5 I/O (fast/slow programmable speed O3) whose default alternate function is the SPI clock."
      },
      {
        "number": "31",
        "name": "VSSIO_2",
        "type": "power_in",
        "description": "I/O ground for the second I/O bank."
      },
      {
        "number": "32",
        "name": "VDDIO_2",
        "type": "power_in",
        "description": "I/O power supply for the second I/O bank."
      },
      {
        "number": "33",
        "name": "PC6/SPI_MOSI",
        "type": "bidirectional",
        "description": "Port C6 I/O (fast/slow programmable speed O3) whose default alternate function is SPI master out / slave in."
      },
      {
        "number": "34",
        "name": "PC7/SPI_MISO",
        "type": "bidirectional",
        "description": "Port C7 I/O (fast/slow programmable speed O3) whose default alternate function is SPI master in / slave out."
      },
      {
        "number": "35",
        "name": "PG0/CAN_TX",
        "type": "bidirectional",
        "description": "Port G0 I/O (standard speed up to 2 MHz) whose default alternate function is CAN transmit."
      },
      {
        "number": "36",
        "name": "PG1/CAN_RX",
        "type": "bidirectional",
        "description": "Port G1 I/O (standard speed up to 2 MHz) whose default alternate function is CAN receive."
      },
      {
        "number": "37",
        "name": "PE3/TIM1_BKIN",
        "type": "bidirectional",
        "description": "Port E3 I/O (standard speed up to 2 MHz) whose default alternate function is the Timer 1 break input."
      },
      {
        "number": "38",
        "name": "PE2/I2C_SDA",
        "type": "bidirectional",
        "description": "Port E2 true open-drain I/O (no weak pull-up and no protection diode to VDD) whose default alternate function is the I2C data line."
      },
      {
        "number": "39",
        "name": "PE1/I2C_SCL",
        "type": "bidirectional",
        "description": "Port E1 true open-drain I/O (no weak pull-up and no protection diode to VDD) whose default alternate function is the I2C clock line."
      },
      {
        "number": "40",
        "name": "PE0/CLK_CCO",
        "type": "bidirectional",
        "description": "Port E0 I/O (fast/slow programmable speed O3) whose default alternate function is the configurable clock output CLK_CCO."
      },
      {
        "number": "41",
        "name": "PD0/TIM3_CH2",
        "type": "bidirectional",
        "description": "Port D0 high-sink I/O (8 mA) whose default alternate function is Timer 3 channel 2; after remap it can carry TIM1_BKIN (AFR3) or CLK_CCO (AFR2)."
      },
      {
        "number": "42",
        "name": "PD1/SWIM",
        "type": "bidirectional",
        "description": "Port D1 high-sink I/O (8 mA, fast/slow programmable speed O4) used as the SWIM data interface, held in input pull-up during reset and after reset release."
      },
      {
        "number": "43",
        "name": "PD2/TIM3_CH1",
        "type": "bidirectional",
        "description": "Port D2 high-sink I/O (8 mA) whose default alternate function is Timer 3 channel 1; after remap it can carry TIM2_CH3 (AFR1)."
      },
      {
        "number": "44",
        "name": "PD3/TIM2_CH2",
        "type": "bidirectional",
        "description": "Port D3 high-sink I/O (8 mA) whose default alternate function is Timer 2 channel 2; after remap it can carry ADC_ETR (AFR0)."
      },
      {
        "number": "45",
        "name": "PD4/TIM2_CH1/BEEP",
        "type": "bidirectional",
        "description": "Port D4 high-sink I/O (8 mA) whose default alternate function is Timer 2 channel 1; after remap it can carry the BEEP output (AFR7)."
      },
      {
        "number": "46",
        "name": "PD5/LINUART_TX",
        "type": "bidirectional",
        "description": "Port D5 I/O (standard speed up to 2 MHz) whose default alternate function is LINUART data transmit."
      },
      {
        "number": "47",
        "name": "PD6/LINUART_RX",
        "type": "bidirectional",
        "description": "Port D6 I/O (standard speed up to 2 MHz) whose default alternate function is LINUART data receive."
      },
      {
        "number": "48",
        "name": "PD7/TLI",
        "type": "bidirectional",
        "description": "Port D7 I/O (standard speed up to 2 MHz) whose default alternate function is the top level interrupt TLI; when configured as an interrupt pin it triggers the TLI."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: NRST is listed as type I/O in Table 11 with a weak pull-up; it is typed bidirectional here. Its elec; VCAP is typed power_out because Table 11 describes it as a 1.8 V regulator capacitor pin. The datash; Table 11 gives I/O type for every port pin but no per-pin electrical limits (those are in Table 38 a"
        ],
        "pages_sent": 60,
        "cost_usd": 0.2523,
        "at": "2026-10-11T15:19:12"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922753903185920",
        "pages": 125,
        "sha256": "3f11cfe069d4bf98",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 48,
        "described": 48,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm8af5268tay.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
        "checked": "2026-10-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8af5268tay-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "162bfaf20d5ddee768ad6d958f20c2bab3d0033211bbcb042ae626df4ddcc1b6",
        "checked": "2026-10-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-48(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "48"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm8af5268tay"
  ],
  "discovery_pitch": "STM8AF5268TAY (STMicroelectronics) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8af5268tay.kicad_sym",
    "stm8af5268tay.kicad_mod",
    "stm8af5268tay.glb",
    "stm8af5268tay.step",
    "stm8af5268tay.lbr",
    "docs/hero.png",
    "docs/stm8af5268tay-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm8af5268tay-hero.glb",
    "stm8af5268tay-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}