Datasheet
iii
ATmega8515(L)
2512G–AVR–03/05
USART .............................................................................................. 133
Single USART................................................................................................... 133
Clock Generation.............................................................................................. 135
Frame Formats ................................................................................................. 138
USART Initialization.......................................................................................... 139
Data Transmission – The USART Transmitter ................................................. 140
Data Reception – The USART Receiver .......................................................... 143
Asynchronous Data Reception ......................................................................... 146
Multi-processor Communication Mode ............................................................. 149
Accessing UBRRH/UCSRC Registers.............................................................. 151
USART Register Description ............................................................................ 153
Examples of Baud Rate Setting........................................................................ 157
Analog Comparator ......................................................................... 162
Boot Loader Support – Read-While-Write Self-Programming..... 164
Features............................................................................................................ 164
Application and Boot Loader Flash Sections.................................................... 164
Read-While-Write and No Read-While-Write Flash Sections........................... 164
Boot Loader Lock bits....................................................................................... 166
Entering the Boot Loader Program................................................................... 167
Addressing the Flash During Self-Programming .............................................. 169
Self-Programming the Flash............................................................................. 170
Memory Programming..................................................................... 177
Program and Data Memory Lock bits ............................................................... 177
Fuse bits ........................................................................................................... 178
Signature Bytes ................................................................................................ 179
Calibration Byte ................................................................................................ 179
Calibration Byte ................................................................................................ 179
Parallel Programming Parameters, Pin Mapping, and Commands .................. 180
Parallel Programming ....................................................................................... 182
Serial Downloading........................................................................................... 191
Serial Programming Pin Mapping..................................................................... 191
Electrical Characteristics................................................................ 195
External Clock Drive Waveforms...................................................................... 197
External Clock Drive ......................................................................................... 197
SPI Timing Characteristics ............................................................................... 198
External Data Memory Timing .......................................................................... 200
ATmega8515 Typical Characteristics ............................................ 205
Register Summary........................................................................... 237
Instruction Set Summary ................................................................ 239