main
History Download
Ray Publish 0.1.0 3750373 16d ago

STM8AF6266TAY

STMicroelectronics · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-32(7x7)

STM8AF6266TAY from STMicroelectronics, in a LQFP-32(7x7). 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 NRST bidirectional Reset pin (I/O) with weak pull-up enabled; its electrical limits are given in the NRST pin characteristics table.
2 PA1/OSCIN bidirectional Port A1 I/O (standard speed up to 2 MHz, weak pull-up, external interrupt) that serves as the resonator/crystal oscillator input OSCIN; in Halt/Active-halt its input/output path is disabled.
3 PA2/OSCOUT bidirectional Port A2 I/O (standard speed up to 2 MHz, weak pull-up, external interrupt) that serves as the resonator/crystal oscillator output OSCOUT.
4 VSS power_in Digital ground.
5 VCAP passive 1.8 V regulator capacitor pin; an external capacitor must be connected here as specified in the VCAP external capacitor section.
6 VDD power_in Digital power supply.
7 VDDIO_1 power_in I/O power supply.
8 PF4/AIN12 bidirectional Port F4 I/O with analog input AIN12 and a pull-up enabled during the reset phase; AIN12 is not selectable in ADC scan mode or with the analog watchdog.
9 VDDA power_in Analog power supply.
10 VSSA power_in Analog ground.
11 PB5/AIN5 bidirectional Port B5 I/O (standard speed up to 2 MHz) with analog input AIN5; alternate function I2C_SDA can be selected by remap option AFR6.
12 PB4/AIN4 bidirectional Port B4 I/O (standard speed up to 2 MHz) with analog input AIN4; alternate function I2C_SCL can be selected by remap option AFR6.
13 PB3/AIN3 bidirectional Port B3 I/O (standard speed up to 2 MHz) with analog input AIN3; alternate function TIM1_ETR can be selected by remap option AFR5.
14 PB2/AIN2 bidirectional Port B2 I/O (standard speed up to 2 MHz) with analog input AIN2; alternate function TIM1_CH3N can be selected by remap option AFR5.
15 PB1/AIN1 bidirectional Port B1 I/O (standard speed up to 2 MHz) with analog input AIN1; alternate function TIM1_CH2N can be selected by remap option AFR5.
16 PB0/AIN0 bidirectional Port B0 I/O (standard speed up to 2 MHz) with analog input AIN0; alternate function TIM1_CH1N can be selected by remap option AFR5.
17 PE5/SPI_NSS bidirectional Port E5 I/O (standard speed up to 2 MHz, external interrupt) used as the SPI master/slave select (NSS).
18 PC1/TIM1_CH1 bidirectional Port C1 high-sink I/O (8 mA, up to 2 MHz) with Timer 1 channel 1.
19 PC2/TIM1_CH2 bidirectional Port C2 high-sink I/O (8 mA, up to 2 MHz) with Timer 1 channel 2.
20 PC3/TIM1_CH3 bidirectional Port C3 high-sink I/O (8 mA, up to 2 MHz) with Timer 1 channel 3.
21 PC4/TIM1_CH4 bidirectional Port C4 high-sink I/O (8 mA, up to 2 MHz) with Timer 1 channel 4.
22 PC5/SPI_SCK bidirectional Port C5 I/O (fast, up to 10 MHz) used as the SPI clock.
23 PC6/SPI_MOSI bidirectional Port C6 I/O (fast/slow programmable, slow by default) used as SPI master out / slave in.
24 PC7/SPI_MISO bidirectional Port C7 I/O (fast/slow programmable, slow by default) used as SPI master in / slave out.
25 PD0/TIM3_CH2 bidirectional Port D0 high-sink I/O (8 mA) with Timer 3 channel 2; alternate functions TIM1_BKIN (AFR3) and CLK_CCO (AFR2) can be selected by remap option.
26 PD1/SWIM bidirectional Port D1 high-sink I/O (8 mA) used as the SWIM data interface; it is input with pull-up during the reset phase and after reset release.
27 PD2/TIM3_CH1 bidirectional Port D2 high-sink I/O (8 mA, up to 2 MHz) with Timer 3 channel 1; alternate function TIM2_CH3 can be selected by remap option AFR1.
28 PD3/TIM2_CH2 bidirectional Port D3 high-sink I/O (8 mA, up to 2 MHz) with Timer 2 channel 2; alternate function ADC_ETR can be selected by remap option AFR0.
29 PD4/TIM2_CH1/BEEP bidirectional Port D4 high-sink I/O (8 mA, up to 2 MHz) with Timer 2 channel 1; BEEP output can be selected by remap option AFR7.
30 PD5/LINUART_TX bidirectional Port D5 I/O (standard speed up to 2 MHz) used as the LINUART data transmit output.
31 PD6/LINUART_RX bidirectional Port D6 I/O (standard speed up to 2 MHz) used as the LINUART data receive input.
32 PD7/TLI bidirectional Port D7 I/O (standard speed up to 2 MHz) that serves as the top level interrupt (TLI) input when configured as an interrupt pin.

Key specifications

Parameter Value
Manufacturer STMicroelectronics
Package LQFP-32(7x7)
Category Single Chip Microcomputer/Microcontroller
Pins 32

CAD (KiCad official)

  • Symbol: STM8AF6266TAY
  • Footprint: Package_QFP:LQFP-32_7x7mm_P0.8mm
  • 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)
  • 3D model files: stm8af6266tay-etched.step / stm8af6266tay-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stm8af6266tay.step / stm8af6266tay.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: STMicroelectronics datasheet (99 pp, sha256 b2515811c84033b5, retrieved 2026-10-11, tier: lcsc)
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-haiku-5-5 (text), consensus claude-sonnet-5-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