Owner manual

1
2543A–AVR–08/03
Features
Utilizes the AVR
®
RISC Architecture
AVR – High-performance and Low-power RISC Architecture
120 Powerful Instructions – Most Single Clock Cycle Execution
32 x 8 General Purpose Working Registers
Fully Static Operation
Data and Non-volatile Program and Data Memories
2K Bytes of In-System Self Programmable Flash
Endurance 10,000 Write/Erase Cycles
128 Bytes In-System Programmable EEPROM
Endurance: 100,000 Write/Erase Cycles
128 Bytes Internal SRAM
Programming Lock for Flash Program and EEPROM Data Security
Peripheral Features
One 8-bit Timer/Counter with Separate Prescaler
One 16-bit Timer/Counter with Separate Prescaler,
Compare, Capture Modes and Two PWM Channels
On-chip Analog Comparator
Programmable Watchdog Timer with On-chip Oscillator
USI – Universal Serial Interface
Full Duplex UART
Special Microcontroller Features
debugWIRE On-chip Debugging
In-System Programmable via SPI Port
External and Internal Interrupt Sources
Low-power Idle, Power-down, and Standby Modes
Enhanced Power-on Reset Circuit
Programmable Brown-out Detection Circuit
Internal Calibrated Oscillator
I/O and Packages
18 Programmable I/O Lines
20-pin PDIP, 20-pin SOIC, and 32-pin MLF
Operating Voltages
1.8 - 5.5V (ATtiny2313)
Speed Grades
0 - 16MHz (ATtiny2313). For Speed vs. V
CC
: See Figure 81 on page 180.
Power Consumption Estimates
Active Mode
1 MHz, 1.8V: 300 µA
32 kHz, 1.8V: 20 µA (including oscillator)
Power-down Mode
0.5 µA at 1.8V
Pin Configurations
Figure 1. Pinout ATtiny2313
(RESET/dW)PA2
(RXD)PD0
(TXD)PD1
(XTAL2)PA1
(XTAL1)PA0
(CKOUT/XCK/INT0)PD2
(INT1)PD3
(T0)PD4
(OC0B/T1)PD5
GND
20
19
18
17
16
15
14
13
12
11
1
2
3
4
5
6
7
8
9
10
VCC
PB7(UCSK/SCK/PCINT7)
PB6(DO/PCINT6)
PB5(DI/SDA/PCINT5)
PB4(OC1B/PCINT4)
PB3(OC1A/PCINT3)
PB2(OC0A/PCINT2)
PB1(AIN1/PCINT1)
PB0(AIN0/PCINT0)
PD6(ICP)
8-bit
Microcontroller
with 2K Bytes
In-System
Programmable
Flash
ATtiny2313
Preliminary
Rev. 2543A–AVR–08/03

Summary of content (211 pages)