Higher Microcontrollers
Higher Microcontrollers
AVR
HISTORY
AVR was developed in the year 1996 by Atmel Corporation. The architecture of AVR was developed byAlf-Egil Bogen and Vegard Wollan. AVR derives its name from its developers and stands for Alf-Egil Bogen Vegard Wollan RISC microcontroller, also known as Advanced Virtual RISC. The AT90S8515 was the first microcontroller which was based on AVR architecture however the first microcontroller to hit the commercial market was AT90S1200 in the year 1997.
AVR
Types of AVR
AVR microcontrollers are available in three categories: 1. TinyAVR Less memory, small size, suitable only for simpler applications 2. MegaAVR These are the most popular ones having good amount of memory (upto 256 KB), higher number of inbuilt peripherals and suitable for moderate to complex applications. 3. XmegaAVR Used commercially for complex applications, which require large program memory and high speed.
Types of AVR
Series Name Pins Flash Memory Special Feature TinyAVR 6-32 0.5-8 KB Small in size MegaAVR 28-100 4-256KB Extended peripherals XmegaAVR 44-100 16-384KB DMA , Event System included
Comparison
8051 SPEED Slow MEMORY Small ARCHITECTURE CISC ADC No Timers Inbuilt PWM Channels No PIC Moderate Large RISC Inbuilt Inbuilt Inbuilt AVR Fast Large RISC Inbuilt Inbuilt Inbuilt
Atmega16 microcontroller, which is a 40-pin IC and belongs to the megaAVR category of AVRfamily. Some of the features of Atmega16 are: 16KB of Flash memory 1KB of SRAM 512 Bytes of EEPROM Available in 40-Pin DIP 8-Channel 10-bit ADC Two 8-bit Timers/Counters One 16-bit Timer/Counter 4 PWM Channels In System Programmer (ISP) Serial USART SPI Interface Digital to Analog Comparator.
INSTRUCTION
SOME INSTRUCTIONS
STATUS REGISTER
ASSEMBLER DIRECTIVES
ON-CHIP ROM