Product Overview
The ATTINY2313A-SU is a low-power 8-bit AVR microcontroller from Microchip Technology (formerly Atmel). Based on the advanced RISC architecture, the ATtiny2313A delivers 20 MIPS of throughput at 20MHz while operating from a 1.8V to 5.5V supply voltage. It features 2KB of in-system self-programmable Flash memory, 128 bytes of EEPROM, 128 bytes of SRAM, and 18 general-purpose I/O lines. The peripheral set includes an 8-bit and a 16-bit timer with PWM, a USART, SPI, and an analog comparator. With on-chip debug support (debugWIRE) and a rich feature set in a small 20-pin SOIC package, the ATtiny2313A is an ideal solution for space-constrained, cost-sensitive applications including industrial control, automotive systems, consumer products, and battery-powered devices.
Key Specifications
| Parameter | Value |
| Manufacturer | Microchip Technology (Atmel) |
| Core Architecture | AVR 8-bit RISC |
| CPU Speed (max) | 20 MHz (20 MIPS) |
| Program Memory | 2KB (2K x 8) In-System Programmable Flash |
| EEPROM Data Memory | 128 bytes |
| SRAM Size | 128 bytes |
| Supply Voltage Range | 1.8V to 5.5V |
| I/O Pins | 18 GPIO |
| External Interrupts | 2 (INT0, INT1) + pin change interrupts |
| Timers | 1x 8-bit Timer/Counter (T0), 1x 16-bit Timer/Counter1 |
| PWM Channels | 2 channels (8-bit + 16-bit) |
| USART | 1 (full duplex UART/USI) |
| SPI | Universal Serial Interface (USI, SPI compatible) |
| Analog Comparator | 1 (on-chip analog comparator) |
| Watchdog Timer | Yes (WDT with separate oscillator) |
| Internal Oscillator | 8MHz calibrated internal RC oscillator |
| Brown-Out Detection | Yes (BOD with programmable levels) |
| debugWIRE | On-chip debug system |
| Operating Temperature | -40°C to +85°C (industrial) |
| Package | 20-SOIC (0.295″, 7.50mm Width) |
| Packaging | Tube, 40 pcs/tube |
Features
- High-performance, low-power AVR 8-bit RISC CPU
- 120 powerful instructions — most execute in one clock cycle
- 20 MIPS throughput at 20MHz
- 2KB in-system programmable Flash memory
- 128 bytes EEPROM with 100K write cycles
- 128 bytes internal SRAM
- 18 general-purpose I/O lines
- One 8-bit timer/counter with prescaler and PWM
- One 16-bit timer/counter with prescaler, PWM, input capture
- Full duplex USART with start condition detector
- Universal Serial Interface (USI) with start condition detector
- Analog comparator with programmable input multiplexer
- Programmable watchdog timer with on-chip oscillator
- Internal calibrated 8MHz RC oscillator
- External and internal interrupt sources
- Low power idle, ADC noise reduction, and power-down modes
- Enhanced Power-on Reset (POR)
- Programmable brown-out detection (BOD)
- debugWIRE on-chip debug system
- Wide operating voltage: 1.8V to 5.5V
- Temperature range: -40°C to +85°C
Applications
- Industrial control and sensor interfaces
- Automotive body electronics
- Consumer electronics and appliances
- LED lighting control
- Motor control and fan drives
- Battery chargers and power management
- Keypad and user interface controllers
- Smart sensors and IoT devices
- Security systems and access control
- General-purpose embedded control systems