Datasheet
i
ATmega8535(L)
2502K–AVR–10/06
Table of Contents Features................................................................................................ 1
Pin Configurations............................................................................... 2
Disclaimer ............................................................................................................. 2
Overview............................................................................................... 3
Block Diagram ...................................................................................................... 3
AT90S8535 Compatibility ..................................................................................... 4
Pin Descriptions.................................................................................................... 5
Resources ............................................................................................ 6
About Code Examples......................................................................... 7
AVR CPU Core ..................................................................................... 8
Introduction........................................................................................................... 8
Architectural Overview.......................................................................................... 8
ALU – Arithmetic Logic Unit.................................................................................. 9
Status Register ................................................................................................... 10
General Purpose Register File ........................................................................... 11
Stack Pointer ...................................................................................................... 12
Instruction Execution Timing............................................................................... 13
Reset and Interrupt Handling.............................................................................. 13
AVR ATmega8535 Memories ............................................................ 16
In-System Reprogrammable Flash Program Memory ........................................ 16
SRAM Data Memory........................................................................................... 17
EEPROM Data Memory...................................................................................... 18
I/O Memory ......................................................................................................... 23
System Clock and Clock Options .................................................... 24
Clock Systems and their Distribution .................................................................. 24
Clock Sources..................................................................................................... 25
Default Clock Source .......................................................................................... 25
Crystal Oscillator................................................................................................. 25
Low-frequency Crystal Oscillator ........................................................................ 28
External RC Oscillator ........................................................................................ 28
Calibrated Internal RC Oscillator ........................................................................ 29
External Clock..................................................................................................... 31
Timer/Counter Oscillator..................................................................................... 31
Power Management and Sleep Modes............................................. 32
Idle Mode ............................................................................................................ 33
ADC Noise Reduction Mode............................................................................... 33
Power-down Mode.............................................................................................. 33
Power-save Mode............................................................................................... 33