Skip to main content
ATTINY45-20SU

ATTINY45-20SU AVR 8-bit MCU, 20 MHz, 4 KB Flash, 8-SOIC

MPNATTINY45-20SU
Active

Microchip AVR® ATtiny, Functional Safety (FuSa) series, ATTINY45-20SU, 8-Bit MCU, 20MHz, 4KB FLASH, 256 x 8 RAM, 256 x 8 EEPROM, 8-SOIC, -40°C~85°C.

$1.6600Ref. price · indicative, final on quote
Packaging8-SOIC (0.209", 5.30mm Width)
RoHSROHS3 Compliant
SeriesAVR® ATtiny, Functional Safety (FuSa)
Independent supplier — new & surplus stockAuthenticity-screened · ESD-safe packingListing updated Jul 2026

Specifications

ATTINY45-20SU specifications
ParameterValue
SeriesAVR® ATtiny, Functional Safety (FuSa)
MountingSurface Mount
Oscillator typeInternal
Program memory typeFLASH
Voltage - supply (Vcc (Vdd))2.7V ~ 5.5V
Operating temperature-40°C~85°C(TA)
Speed20MHz
PackageTube
RAM size256 x 8
Core size8-Bit
EEPROM size256 x 8
PeripheralsBrown-out Detect/Reset, POR, PWM, WDT
ConnectivityUSI
Number of i (O)6
Core processorAVR
Case8-SOIC (0.209\", 5.30mm Width)
Data convertersA/D 4x10b
Program memory size4KB (2K x 16)

Product details

20 MHz 8-bit AVR in an 8-SOIC — small-package control for industrial and battery applications

The Microchip ATTINY45-20SU is an 8-bit AVR microcontroller from the ATtiny family, qualified under the Functional Safety (FuSa) initiative. It runs at 20 MHz from an internal oscillator, with 4 KB of Flash program memory, 256 bytes of SRAM, and 256 bytes of EEPROM — a memory footprint sized for single-purpose control loops, state machines, and sensor conditioning. The 8-SOIC package keeps board area small, and the six general-purpose I/O lines (shared with the 4-channel 10-bit ADC and the Universal Serial Interface) handle basic switch sensing, PWM generation, and serial communication without external glue logic.

Brown-out detect and power-on reset are integrated, so a simple decoupling cap on the supply pin is enough for reliable startup.

At 20 MHz the AVR core executes most instructions in a single clock cycle, giving roughly 20 MIPS throughput. That is enough for 10 kHz to 50 kHz control loops with headroom for ADC conversions and USI-based serial polling.

Memory map and field-update reality

The 4 KB Flash is self-programmable via the bootloader section, so firmware updates over the USI or a custom protocol are possible — but 4 KB fills fast with a bootloader plus application code. The 256 bytes of EEPROM are useful for calibration constants and fault logs that survive power cycles; endurance is rated for 100k writes per byte in the AVR architecture. With only 256 bytes of SRAM, stack depth and interrupt nesting need careful budgeting — a deep function-call tree or large local arrays will overflow silently.

Frequently asked questions

What is the replacement or equivalent for ATTINY45-20SU?

Microchip does not list a direct pin-compatible replacement for the ATTINY45-20SU. The newer ATtiny3224 series (ATTINY3224-XUR) offers a 20 MHz core with 12 I/O and more memory, but in a different package — verify footprint compatibility before substituting.

Can ATTINY45-20SU be programmed with Arduino?

Yes — the ATtiny45 is supported by the Arduino IDE via the ATTinyCore or MicroCore board packages. Programming uses an ISP (SPI) interface through a standard Arduino board or a dedicated programmer like the USBasp.