STMicroelectronics

STM8AF5266TCY - 8-bit Automotive MCU, 32KB Flash, LQFP64 | STMicroelectronics

MPN: STM8AF5266TCY βœ“ Active
In Stock (99,999) Ships in 1-3 business days
3.3 V to 5.5 V Vdss LQFP-64 (10x10 mm) Package 24 MHz Speed 32 KB Memory
$3.85 USD / Unit
MOQ: 1 |
Volume Pricing
Qty Unit Price Extended
1 $3.85 $3.85
10 $3.47 $34.70
100 $3.08 $308.00
500 $2.77 $1,385.00
1,000 $2.46 $2,460.00
ℹ️ All prices are in USD

Drop-in alternatives for STM8AF5266TCY β€” same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

STM8AF5268TCY

βœ… Drop-In
STMicroelectronics
πŸ“¦ LQFP-64
STM8A 8-bit Β· 24 MHz Β· 32 KB Β· 2 KB Β· 1 KB Β· 3.0 V to 5.5 V Β· LQFP-64 (10x10 mm) Β· -40Β°C to +150Β°C

βœ“ 99,999 In Stock

$2.77 / Unit

View Datasheet β†’

STM8AF5288TCY

βœ… Drop-In
STMicroelectronics
πŸ“¦ LQFP-64
STM8A 8-bit Β· 24 MHz Β· 64 KB Β· 6 KB Β· 2 KB Β· 3.0 V to 5.5 V Β· 10-bit Β· 16

βœ“ 99,999 In Stock

$1.85 / Unit

View Datasheet β†’

STM8AF5266TAY

βœ… Drop-In
πŸ“¦ LQFP-64
Same package, different temperature grade (up to 125Β°C)

πŸ“‹ Reference alternative (not in catalog)

ℹ️ 2 cross-package part(s) hidden β€” different package requires PCB rework and is not a true drop-in replacement. Contact us if you need cross-package suggestions.

STM8AF5266TCY Maximum Ratings & Electrical Characteristics

Core STM8A 8-bit
Maximum Clock Frequency 24 MHz
Flash Memory 32 KB
SRAM 2 KB
EEPROM 1 KB
Supply Voltage 3.3 V to 5.5 V
Operating Temperature -40Β°C to +150Β°C
Package LQFP-64 (10x10 mm)
ADC Resolution 10-bit
ADC Channels 16
Timers 2x 16-bit, 1x 8-bit
Communication Interfaces SPI, I2C, UART, CAN 2.0B
GPIO Pins 52
DMA Channels 4
Low Power Modes Halt, Active-Halt, Wait
RoHS Status Compliant

STM8AF5266TCY Pin Configuration

QFP-64 Package Pinout Diagram QFP-64 10x10mm, P0.5mm, JEDEC MS-026. 1 16 QFP-64
Pin 1 PE2 β€” GPIO / SPI MISO
Pin 2 PE3 β€” GPIO / SPI MOSI
Pin 3 PE4 β€” GPIO / SPI SCK
Pin 4 PE5 β€” GPIO / SPI NSS
Pin 5 VSS β€” Ground
Pin 6 VDD β€” Power supply
Pin 7 PF0 β€” GPIO / ADC
Pin 8 PF1 β€” GPIO / ADC
Pin 9 PF2 β€” GPIO / ADC
Pin 10 PF3 β€” GPIO / ADC
Pin 11 PF4 β€” GPIO / ADC
Pin 12 PF5 β€” GPIO / ADC
Pin 13 PF6 β€” GPIO / ADC
Pin 14 PF7 β€” GPIO / ADC
Pin 15 VSS β€” Ground
Pin 16 VDD β€” Power supply
Pin 17 PH0 β€” GPIO / OSC_IN
Pin 18 PH1 β€” GPIO / OSC_OUT
Pin 19 NRST β€” Reset (active low)
Pin 20 PA0 β€” GPIO / UART_TX
Pin 21 PA1 β€” GPIO / UART_RX
Pin 22 PA2 β€” GPIO / UART_TX
Pin 23 PA3 β€” GPIO / UART_RX
Pin 24 VSS β€” Ground
Pin 25 VDD β€” Power supply
Pin 26 PA4 β€” GPIO / ADC
Pin 27 PA5 β€” GPIO / ADC
Pin 28 PA6 β€” GPIO / ADC
Pin 29 PA7 β€” GPIO / ADC
Pin 30 PB0 β€” GPIO / I2C_SCL
Pin 31 PB1 β€” GPIO / I2C_SDA
Pin 32 PB2 β€” GPIO / CAN_RX
Pin 33 PB3 β€” GPIO / CAN_TX
Pin 34 VSS β€” Ground
Pin 35 VDD β€” Power supply
Pin 36 PB4 β€” GPIO / Timer
Pin 37 PB5 β€” GPIO / Timer
Pin 38 PB6 β€” GPIO / Timer
Pin 39 PB7 β€” GPIO / Timer
Pin 40 PC0 β€” GPIO / Timer
Pin 41 PC1 β€” GPIO / Timer
Pin 42 PC2 β€” GPIO / Timer
Pin 43 PC3 β€” GPIO / Timer
Pin 44 VSS β€” Ground
Pin 45 VDD β€” Power supply
Pin 46 PC4 β€” GPIO / Timer
Pin 47 PC5 β€” GPIO / Timer
Pin 48 PC6 β€” GPIO / Timer
Pin 49 PC7 β€” GPIO / Timer
Pin 50 PD0 β€” GPIO / Timer
Pin 51 PD1 β€” GPIO / Timer
Pin 52 PD2 β€” GPIO / Timer
Pin 53 PD3 β€” GPIO / Timer
Pin 54 VSS β€” Ground
Pin 55 VDD β€” Power supply
Pin 56 PD4 β€” GPIO / Timer
Pin 57 PD5 β€” GPIO / Timer
Pin 58 PD6 β€” GPIO / Timer
Pin 59 PD7 β€” GPIO / Timer
Pin 60 PE0 β€” GPIO / Timer
Pin 61 PE1 β€” GPIO / Timer
Pin 62 VDDA β€” Analog power supply
Pin 63 VSSA β€” Analog ground
Pin 64 VREF β€” ADC reference voltage

Safe Operating Area (SOA) & Thermal Characteristics

Safe Operating Area Chart Default safe operating area chart for STM8AF5266TCY Drain-to-Source Voltage (Vds) Drain Current (Id)

No official SOA curve available for this digital IC. Always operate within absolute maximum ratings specified in the datasheet. Ensure adequate cooling and derate as needed.

Typical Applications

STM8AF5266TCY is suitable for 6 applications: Automotive Body Control Module, Automotive Lighting Control, Sensor Interface Module, Motor Control for Automotive, Industrial Automation Controller, Smart Sensor Node for IoT.

πŸš—

Automotive Body Control Module

The STM8AF5266TCY is ideal for body control modules (BCMs) that manage lighting, windows, and door locks. Its CAN 2.0B interface enables communication with the vehicle network, while the 32 KB Flash and 2 KB SRAM handle control algorithms. The wide operating temperature range (-40Β°C to +150Β°C) ensures reliable operation in harsh environments. The 10-bit ADC reads sensor inputs for ambient light and temperature, and the multiple timers generate PWM signals for motor control. The low-power modes reduce current draw when the vehicle is off, preserving battery life. The AEC-Q100 qualification guarantees automotive-grade reliability.

πŸ’‘

Automotive Lighting Control

The STM8AF5266TCY controls LED and halogen lighting systems in vehicles. Its PWM timers generate dimming signals, and the ADC monitors current for fault detection. The CAN interface receives commands from the BCM, and the GPIOs drive external MOSFETs for high-current loads. The 24 MHz core provides fast response to lighting commands, and the EEPROM stores calibration data. The device's robustness against voltage transients and wide temperature range make it suitable for under-hood lighting modules.

πŸ”§

Sensor Interface Module

The STM8AF5266TCY interfaces with various automotive sensors, including temperature, pressure, and position sensors. Its 10-bit ADC with 16 channels reads multiple analog sensors, while the SPI and I2C interfaces connect to digital sensors. The UART provides a diagnostic interface. The device's low-power modes are ideal for battery-powered sensor modules, and the EEPROM stores calibration coefficients. The wide supply voltage range (3.3V to 5.5V) accommodates different sensor supply rails.

⚑

Motor Control for Automotive

The STM8AF5266TCY controls DC and brushless DC motors in automotive applications such as seat adjusters and window lifts. Its 16-bit timers generate PWM signals for motor drivers, and the ADC monitors current for overcurrent protection. The CAN interface allows remote control from the BCM. The 24 MHz core executes control loops with low latency, and the watchdog timer ensures system reliability. The device's automotive qualification and wide temperature range make it suitable for under-dash and door-mounted modules.

🏭

Industrial Automation Controller

The STM8AF5266TCY can be used in industrial automation for controlling relays, reading sensors, and communicating over CAN or UART. Its robust design and wide temperature range make it suitable for factory floor environments. The 32 KB Flash stores control programs, and the 2 KB SRAM handles real-time data. The multiple timers generate precise timing signals, and the ADC reads analog sensors. The device's low cost and high reliability make it a good choice for cost-sensitive industrial applications.

🧩

Smart Sensor Node for IoT

The STM8AF5266TCY can serve as a low-power smart sensor node in IoT applications, collecting data from sensors and transmitting it over UART or SPI to a wireless module. Its low-power modes extend battery life, and the 10-bit ADC reads analog sensors. The 32 KB Flash stores firmware, and the EEPROM stores configuration data. The device's small LQFP-64 package is suitable for compact designs, and its wide supply voltage range allows operation from a single lithium battery.

Recommended Products Summary

TJA1050 CAN transceiver for physical layer Used in: Automotive Body Control Module L9377 Power switch for loads Used in: Automotive Body Control Module VN7004 High-side driver for LED loads Used in: Automotive Lighting Control TLE6250 CAN transceiver Used in: Automotive Lighting Control LM35 Temperature sensor Used in: Sensor Interface Module MPX5700 Pressure sensor Used in: Sensor Interface Module VNH5019 Motor driver Used in: Motor Control for Automotive TLE6209 H-bridge driver Used in: Motor Control for Automotive SN65HVD230 CAN transceiver Used in: Industrial Automation Controller ULN2003 Relay driver Used in: Industrial Automation Controller ESP8266 Wi-Fi module Used in: Smart Sensor Node for IoT SHT30 Temperature/humidity sensor Used in: Smart Sensor Node for IoT
What is the maximum clock frequency of STM8AF5266TCY?
The STM8AF5266TCY operates at a maximum clock frequency of 24 MHz. According to the STM8AF5266 datasheet, the STM8A core can execute up to 20 MIPS at this frequency, providing high performance for automotive control applications.
What is the flash memory size of STM8AF5266TCY?
The STM8AF5266TCY has 32 KB of Flash memory. This is sufficient for moderate-complexity automotive applications such as body control modules and sensor interfaces. The Flash supports read-while-write, allowing firmware updates without halting the core.
What is the operating temperature range of STM8AF5266TCY?
The STM8AF5266TCY operates over a temperature range of -40Β°C to +150Β°C. This extended range makes it suitable for under-hood automotive applications where ambient temperatures can be extreme.
Does STM8AF5266TCY have a CAN interface?
Yes, the STM8AF5266TCY includes a CAN 2.0B controller. This enables direct connection to automotive CAN networks, making it ideal for body control and powertrain applications. An external CAN transceiver is required for physical layer communication.
What is the supply voltage range of STM8AF5266TCY?
The STM8AF5266TCY operates from a supply voltage of 3.3V to 5.5V. This wide range allows direct connection to automotive battery voltages (12V) through a simple regulator, and supports both 3.3V and 5V logic systems.
How many GPIO pins does STM8AF5266TCY have?
The STM8AF5266TCY provides 52 GPIO pins. These are organized into ports A through H, each with configurable pull-ups, open-drain, and alternate functions. This ample GPIO count supports complex peripheral interfacing.
What is the ADC resolution of STM8AF5266TCY?
The STM8AF5266TCY features a 10-bit ADC with up to 16 channels. This resolution is adequate for most automotive sensor readings, such as temperature, pressure, and position sensors, providing 1024 discrete levels.
What low-power modes are available on STM8AF5266TCY?
The STM8AF5266TCY supports Halt, Active-Halt, and Wait low-power modes. In Halt mode, the CPU and peripherals are stopped, reducing current consumption to as low as 1 Β΅A. Active-Halt keeps the watchdog and some peripherals running, while Wait mode stops only the CPU.
Is STM8AF5266TCY AEC-Q100 qualified?
Yes, the STM8AF5266TCY is AEC-Q100 qualified, making it suitable for automotive applications. This qualification ensures the device meets stringent reliability and quality standards for automotive electronics.
What is the package type of STM8AF5266TCY?
The STM8AF5266TCY is available in an LQFP-64 package with a 10x10 mm body and 0.5 mm pitch. This surface-mount package is suitable for automated assembly and provides good thermal performance for moderate power dissipation.
Where can I buy STM8AF5266TCY online?
The STM8AF5266TCY is available from major distributors such as DigiKey and Mouser. As of 2026-08-11, the price is approximately $3.85 for single-unit quantities, with volume discounts available. Check current stock and lead times on their websites.
What is the price of STM8AF5266TCY?
As of 2026-08-11, the STM8AF5266TCY is priced at approximately $3.85 for a single unit, $3.47 for 10 units, $3.08 for 100 units, $2.77 for 500 units, and $2.46 for 1000 units. Prices may vary by distributor and quantity.
What is the lead time for STM8AF5266TCY?
The lead time for STM8AF5266TCY is typically 8-12 weeks from STMicroelectronics, depending on order quantity and current demand. Distributors like DigiKey and Mouser may have stock available for immediate shipment; check their websites for real-time availability.
STM8AF5266TCY vs STM8AF5268TCY - which is better for automotive body control?
The STM8AF5266TCY has 32 KB Flash, while the STM8AF5268TCY has 64 KB Flash. For body control modules requiring more memory for complex algorithms, the STM8AF5268TCY is better. For simpler applications, the STM8AF5266TCY offers sufficient memory at a lower cost. Both are pin-compatible in LQFP-64.
What is the difference between STM8AF5266TCY and STM8AF5266TDY?
The STM8AF5266TCY and STM8AF5266TDY are identical in core, memory, and peripherals, but differ in package: the TCY variant is LQFP-64, while the TDY variant is LQFP-48. The TCY offers more GPIO pins (52 vs 38) and is suitable for designs requiring more I/O.
When should I choose STM8AF5266TCY over STM8AF5268TCY?
Choose STM8AF5266TCY when your application requires up to 32 KB of Flash and you want to minimize cost. If your firmware exceeds 32 KB, or you need extra memory for data logging, choose the STM8AF5268TCY with 64 KB Flash. Both share the same LQFP-64 package, so PCB layout is identical.
What is the best drop-in replacement for STM8AF5266TCY?
The best drop-in replacement for STM8AF5266TCY is the STM8AF5268TCY, which is pin-compatible in the same LQFP-64 package and offers double the Flash memory (64 KB). Other pin-compatible options include the STM8AF5266TDY (LQFP-48, not drop-in) and the STM8AF5288TCY (128 KB Flash, same package).
Can STM8AF5268TCY replace STM8AF5266TCY?
Yes, the STM8AF5268TCY can replace the STM8AF5266TCY as a drop-in replacement. Both are in the LQFP-64 package with identical pinout, and the STM8AF5268TCY offers 64 KB Flash instead of 32 KB, providing additional memory headroom. No PCB changes are required.
Where to download STM8AF5266TCY datasheet PDF?
The STM8AF5266TCY datasheet PDF can be downloaded from the STMicroelectronics website at https://www.st.com/resource/en/datasheet/stm8af5266.pdf. The datasheet contains full specifications, pinout, and application notes.
Where to find STM8AF5266TCY pinout?
The STM8AF5266TCY pinout is detailed in the datasheet available at https://www.st.com/resource/en/datasheet/stm8af5266.pdf. The LQFP-64 package pin assignments are shown in the pinout diagram, with pin 1 marked by a dot on the package.
Hey Google, what can replace STM8AF5266TCY?
The STM8AF5266TCY can be replaced by the STM8AF5268TCY, which is a pin-compatible drop-in replacement with 64 KB Flash. Other alternatives include the STM8AF5288TCY (128 KB Flash) and the STM8AF5266TDY (LQFP-48, not pin-compatible). All are from STMicroelectronics and share the same STM8A core.
Is STM8AF5266TCY the same as STM8AF5268TCY?
No, the STM8AF5266TCY and STM8AF5268TCY are not the same. They differ in Flash memory size: the STM8AF5266TCY has 32 KB, while the STM8AF5268TCY has 64 KB. However, they are pin-compatible in the LQFP-64 package, so the STM8AF5268TCY can serve as a drop-in replacement.
What are the key specifications of STM8AF5266TCY that engineers should know?
The STM8AF5266TCY is an 8-bit automotive MCU with a 24 MHz STM8A core, 32 KB Flash, 2 KB SRAM, 1 KB EEPROM, 10-bit ADC with 16 channels, CAN 2.0B, SPI, I2C, UART, and 52 GPIOs. It operates from 3.3V to 5.5V and is AEC-Q100 qualified for -40Β°C to +150Β°C.
What is the best STMicroelectronics equivalent for STM8AF5266TCY?
The best STMicroelectronics equivalent for STM8AF5266TCY is the STM8AF5268TCY, which is a pin-compatible drop-in replacement with double the Flash memory (64 KB). For higher memory needs, the STM8AF5288TCY offers 128 KB Flash in the same package.

Engineering reference data for STM8AF5266TCY β€” comparison, design guidance, and compliance information.

Selection Guide

Choose the STM8AF5266TCY when you need an automotive-grade 8-bit MCU with 32 KB Flash and a wide operating temperature range (-40Β°C to +150Β°C) for applications such as body control, lighting, and sensor interfaces. If your firmware requires more than 32 KB of Flash, select the STM8AF5268TCY (64 KB) or STM8AF5288TCY (128 KB), both pin-compatible in the same LQFP-64 package. If you need fewer GPIOs and a smaller footprint, consider the STM8AF5266TDY (LQFP-48), but note it is not pin-compatible. For cost-sensitive designs with moderate memory needs, the STM8AF5266TCY offers the best balance of performance, temperature range, and price.

Comparison with Alternatives

Parameter This Product STM8AF5268TCY STM8AF5288TCY STM8AF5266TDY
Package LQFP-64 LQFP-64 LQFP-64 LQFP-48
Brand STMicroelectronics STMicroelectronics STMicroelectronics STMicroelectronics
Flash Memory 32 KB 64 KB 128 KB 32 KB
SRAM 2 KB 6 KB 6 KB 2 KB
EEPROM 1 KB 2 KB 2 KB 1 KB
GPIO Pins 52 52 52 38
ADC Channels 16 16 16 10
CAN Interface Yes Yes Yes Yes
Operating Temperature -40Β°C to +150Β°C -40Β°C to +150Β°C -40Β°C to +150Β°C -40Β°C to +150Β°C

Key Differentiators

  • Automotive-grade with AEC-Q100 qualification (vs STM8AF5266TAY)
  • LQFP-64 package with 52 GPIOs (vs STM8AF5266TDY)
  • Cost-effective 32 KB Flash option (vs STM8AF5268TCY)

Design Notes

Decouple the VDD and VDDA pins with 100 nF ceramic capacitors placed as close to the pins as possible. Additionally, use a 4.7 Β΅F bulk capacitor on the main supply. The VDDA pin should be connected to VDD through a ferrite bead to reduce noise coupling into the ADC. Ensure the supply voltage stays within 3.3V to 5.5V, and consider a voltage supervisor for brown-out protection.

For the LQFP-64 package, use a 4-layer PCB with a solid ground plane. Place the crystal oscillator (if used) close to the PH0/PH1 pins with load capacitors as specified in the datasheet. Keep the CAN bus traces (PB2/PB3) short and routed with a 120-ohm termination resistor at both ends. For ADC inputs, route analog traces away from digital switching signals to minimize noise.

Ensure the NRST pin has a 100 nF capacitor to ground and a 10 kΞ© pull-up resistor to VDD. Do not leave unused GPIO pins floating; configure them as outputs or enable internal pull-ups. When using the CAN interface, remember that an external transceiver is required. Also, verify that the firmware does not exceed the 32 KB Flash limit; consider the STM8AF5268TCY if more memory is needed.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Qualified
Lead Free
Yes
Halogen Free
Yes
Conflict Minerals
Compliant

AEC-Q100 qualified for automotive applications. RoHS and REACH compliant per STMicroelectronics product page.

Data verified on: 2026-08-11
Quick Quote RFQ
Fill in complete details β€” our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
βœ“
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details