Datasheet
i
ATmega8515(L)
2512G–AVR–03/05
Table of Contents Features................................................................................................ 1
Pin Configurations............................................................................... 2
Overview............................................................................................... 3
Block Diagram ...................................................................................................... 3
Disclaimer............................................................................................................. 4
AT90S4414/8515 and ATmega8515 Compatibility............................................... 4
Pin Descriptions.................................................................................................... 5
About Code Examples......................................................................... 6
AVR CPU Core ..................................................................................... 7
Introduction........................................................................................................... 7
Architectural Overview.......................................................................................... 7
ALU – Arithmetic Logic Unit.................................................................................. 8
Status Register ..................................................................................................... 9
General Purpose Register File ........................................................................... 10
Stack Pointer ...................................................................................................... 11
Instruction Execution Timing............................................................................... 12
Reset and Interrupt Handling.............................................................................. 12
AVR ATmega8515 Memories ............................................................ 15
In-System Reprogrammable Flash Program memory ........................................ 15
SRAM Data Memory........................................................................................... 16
EEPROM Data Memory...................................................................................... 18
I/O Memory......................................................................................................... 23
External Memory Interface.................................................................................. 24
XMEM Register Description................................................................................ 28
System Clock and Clock Options .................................................... 33
Clock Systems and their Distribution.................................................................. 33
Clock Sources..................................................................................................... 34
Default Clock Source.......................................................................................... 34
Crystal Oscillator................................................................................................. 34
Low-frequency Crystal Oscillator........................................................................ 36
External RC Oscillator ........................................................................................ 37
Calibrated Internal RC Oscillator ........................................................................ 38
External Clock..................................................................................................... 39
Power Management and Sleep Modes............................................. 40
Idle Mode............................................................................................................ 41
Power-down Mode.............................................................................................. 41
Standby Mode..................................................................................................... 42
Minimizing Power Consumption ......................................................................... 42