MCU Overview
MCU Overview
Family Overview
S u m a i y a Ta s n i m
Lecturer(Provisional)
Department of CSE
Va r e n d r a U n i v e r s i t y
CSE-425
Reference: Second chapter of textbook
Acknowledgment: Some websites and Chung-Ping Young from Dept. of Computer Science and
Information Engineering, National Cheng Kung University, TAIWAN
Lecture Objective
Meeting the computing needs of the task at hand efficiently and cost effectively
• Speed
• Packaging
• Power consumption
• The amount of RAM and ROM on chip
• The number of I/O pins and the timer on chip
• How easy to upgrade to higher performance or lower power-consumption versions
• Cost per unit
Criteria for Choosing a microcontroller:
• Availability of software development tools such as compilers, assemblers,
and debuggers
• Wide availability and reliable sources of the microcontroller
• The 8051 family has the largest number of diversified (multiple source) suppliers
• Intel (original)
• Atmel
• Philips/Signetics
• AMD
• Infineon (formerly Siemens)
• Matra
• Dallas Semiconductor/Maxim
Overview of the AVR family
A b r i e f h i s t o r y o f t h e AV R m i c ro c o n t ro l l e r :
• The basic architecture of AVR was designed by two students of Norwegian Institute of
Technology(NTH), Alf-Egil Bogen and Vegard Wollan and then was bought and developed by
Atmel in 1996.
• One might wonder what AVR stands for! AVR can have different meanings for different people!
According to Atmel, it is nothing more than a product name but it might stands for Advanced
Virtual RISC or Alf and Vegard RISC.
• There are many kinds of AVR microcontroller with different properties. Except for AVR32,
which is a 32 bit microcontroller, AVRs all are 8-bit microprocessors.
• One of the problems with the AVR microcontrollers is that they are not all 100% compatible in
terms of software. To run programs written for the ATtiny25 on a ATmega64, we must recompile
the program and possibly change some register locations before loading it into the ATmega64.
What’s special about AVR?
They are fast. An AVR microcontroller executes most of the instructions in single
execution cycle. AVRs are about 4 times faster than PICs, they consume less power and
can be operated in different power saving modes. Let’s do the comparison between the
three most commonly used families of microcontrollers:
CPU
• Operating Voltages
– 2.7 - 5.5V (ATmega8L)
– 4.5 - 5.5V (ATmega8)
Features of ATmega8
• Speed Grades
– 0 - 8 MHz (ATmega8L)
– 0 - 16 MHz (ATmega8)
Part Name ROM RAM EEPROM I/0 Timer Interrupts Operation V Operating Packaging
Pins oltage frequency
ATmega8 8KB 1KB 512B 23 3 19 4.5-5.5 V 0-16 MHz 28
ATmega8L 8KB 1KB 512B 23 3 19 2.7-5.5 V 0-8 MHz 28
ATmega16 16KB 1KB 512B 32 3 21 4.5-5.5 V 0-16 MHz 40