ATMEL AVR
ATMega32 Features
Lecture-12
By- Prof. Kanade D.G.
Index
1. RISC Vs CISC
2. Harvard Vs Von Neumann
3. Introduction to AVR
4. Features of ATMega32
Prof. Kanade Dnyaneshwar Department of Electronics Engineering
RISC Vs CISC
RISC- Reduced Instruction Set Computer
1. Few number of instructions
2. All the instructions perform simple operations
3. Instructions are executed in one cycle
4. Less complex circuitry
5. Compiler is more complex as compared to CISC
6. Cheaper than CISC
Prof. Kanade Dnyaneshwar Department of Electronics Engineering
RISC Vs CISC
CISC- Complex Instruction Set Computer
1. More number of instructions
2. Many instructions perform complex operations (MUL)
3. Most of the instructions take more than one clock cycle
4. Circuitry is complex
5. Compiler is less complex as compared to RISC
6. Costlier than RISC
Prof. Kanade Dnyaneshwar Department of Electronics Engineering
Harvard Vs Von-Neumann
Von-Neumann Architecture
•Computer architectures that used single storage and
signal pathways for their instructions and data.
•CPU can not read both an instruction and data from
memory at the same time that makes it slower.
Prof. Kanade Dnyaneshwar Department of Electronics Engineering
Harvard Vs Von-Neumann
Harvard Architecture
•Computer architectures that used physically separate
storage and signal pathways for their instructions and
data.
•CPU can read both an instruction and data from memory
at the same time that makes it faster.
• AVR uses Harvard Architecture
Prof. Kanade Dnyaneshwar Department of Electronics Engineering
ATMEL AVR Microcontrollers
Introduction :
Atmel Corporation is a worldwide leader in the design and
manufacture of
Microcontrollers
Capacitive touch solutions
Advanced logic
Mixed-signal
Non-volatile memory
Radio frequency (RF) components.
Prof. Kanade Dnyaneshwar Department of Electronics Engineering
ATMEL AVR Microcontrollers
Introduction :
AVR or Atmel AVR are RISC based family of microcontroller
produced by Atmel Corporations.
The acronym AVR has been reported to stand for: Advanced
Virtual RISC and also for the chip's designers: Alf-Egil
Bogen and Vegard Wollan who designed the basic
architecture at the Norwegian Institute of Technology.
Atmel says it is nothing more than only product name.
Prof. Kanade Dnyaneshwar Department of Electronics Engineering
ATMEL AVR Microcontrollers
Family Members:
tinyAVRs
• 0.5-16 kB Flash
• 6-32-pin package
• Limited peripheral set
• Small and Powerful
megaAVRs
• 4-256 kB program memory
• 28-100-pin package
• Extended instruction set and peripheral set
Application specific AVRs
• megaAVRs with special features not found on the other
members of the AVR family, such as LCD controller, USB
controller, advanced PWM etc.
Prof. Kanade Dnyaneshwar Department of Electronics Engineering
Features of ATMega32
Features
• High-performance, Low-power AVR® 8-bit Microcontroller
• Non-volatile Program and Data Memories
▫ 32K Bytes of In-System Self-Programmable Flash
▫ 1024 Bytes EEPROM
▫ 2K Byte Internal SRAM
• Advanced RISC Architecture
▫ 131 Powerful Instructions – Most Single-clock Cycle
Execution
▫ 32 x 8 General Purpose Working Registers
▫ Fully Static Operation
▫ Up to 16 MIPS Throughput at 16 MHz
▫ On-chip 2-cycle Multiplier
Prof. Kanade Dnyaneshwar Department of Electronics Engineering
Features of ATMega32
Peripheral Features
• Programming Lock for Software Security
• Two 8-bit Timer/Counters with Separate Prescalers and
Compare Modes
• One 16-bit Timer/Counter with Separate Prescaler,
Compare Mode, and Capture Mode
• Real Time Counter with Separate Oscillator
• Four PWM Channels
• 8-channel, 10-bit ADC
• Byte-oriented Two-wire Serial Interface
• Programmable Serial USART
• Master/Slave SPI Serial Interface
• Programmable Watchdog Timer
• On-chip Analog Comparator
Prof. Kanade Dnyaneshwar Department of Electronics Engineering
Features of ATMega32
Special Microcontroller Features
Power-on Reset and Programmable Brown-out Detection
▫ Internal Calibrated RC Oscillator
▫ External and Internal Interrupt Sources
▫ Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-
down, Standby and Extended Standby
• I/O and Packages
▫ 32 Programmable I/O Lines
▫ 40-pin PDIP, 44-lead TQFP, and 44-pad QFN/MLF
• Operating Voltages
▫ 2.7 - 5.5V for ATmega32L
▫ 4.5 - 5.5V for ATmega32
Prof. Kanade Dnyaneshwar Department of Electronics Engineering
Features of ATMega32
Features
Speed Grades
0 - 8 MHz for ATmega32L
0 - 16 MHz for ATmega32
JTAG (IEEE std. 1149.1 Compliant) Interface
Boundary-scan Capabilities According to the JTAG
Standard
Extensive On-chip Debug Support
Programming of Flash, EEPROM, Fuses, and Lock
Bits through the JTAG Interface
Prof. Kanade Dnyaneshwar Department of Electronics Engineering