SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Downloaden Sie, um offline zu lesen
© Atmel Norway 2005
AVR Introduction
1www.atmel.com AVR Introduction
AVR Microcontrollers
2www.atmel.com AVR Introduction
The Growing AVR Family
The Growing AVR Family• TINY AVR family
• 8 - 32 pin general purpose microcontrollers
• 16 family members
• MEGA AVR family
• 32 - 100 pin general purpose microcontrollers
• 23 family members
• ASSP AVRs
• USB, CAN and LCD
• Motor Control and Lighting
• Automotive
• Battery Management
• 8 family members
3www.atmel.com AVR Introduction
Scalable
• Devices range from 1 to 256KB
• Pin count range from 8 to 100
• Full code compatibility
• Pin/feature compatible families
• One set of development tools
4www.atmel.com AVR Introduction
AVR Architecture
• RISC architecture with CISC instruction set
• Powerful instruction set for C and Assembly
• Scalable
• Same powerful AVR core in all devices
• Single cycle execution
• One instruction per external clock
• Low power consumption
• 32 Working Registers
• All Directly connected to ALU!
• Very efficient core
• 20 MIPS @ 20MHz
• High System Level Integration
• Lowest total system cost
5www.atmel.com AVR Introduction
Single Cycle Execution
Register File
ALU
Register operations
take ONE clock pulse
on the EXTERNAL clock
input
20MIPS @ 20MHz
6www.atmel.com AVR Introduction
High Code Density
• Architecture designed for C
• 32 general registers
• C-like addressing modes
• 16- and 32-bit arithmetic support
• Linear address maps
7www.atmel.com AVR Introduction
AVR Influenced by IAR
• Architecture and Instruction Set co-designed with IAR systems
through several iterations:
• Compiler development project initiated before architecture and instruction
set frozen
• Compiler experts’ advice implemented in hardware
• Potential HLL bottlenecks identified and removed
Auto Increment/Decrement Example:
C Source:
unsigned char *var1, *var2;
*var1++ = *--var2;
Generated assembly code:
LD R16,-X
ST Z+,R16
8www.atmel.com AVR Introduction
Example: A Small C Function
/* Return the maximum value of
a table of 16 integers */
int max(int *array)
{
char a;
int maximum=-32768;
for (a=0;a<16;a++)
if (array[a]>maximum)
maximum=array[a];
return (maximum);
}
9www.atmel.com AVR Introduction
Code Size and Execution Time
• MSP430 and AVR are running a close race
• But max speed on MSP430 is only 8MHz
• The C51 would have to run at 296 MHz to match the 16 MHz AVR
• PIC18 seems fast but require 3 times as much code space.
Device
Max Speed
[MHz]
Code Size
[Bytes]
Cycles
Execution Time
[uS]
ATmega16 16 32 227 14.2
MSP430 8 34 246 30.8
T89C51RD2 20 57 4200 210.0
PIC18F452 40 92 716 17.9
PIC16C74 20 87 2492 124.6
68HC11 12 59 1238 103.2
10www.atmel.com AVR Introduction
• Complete navigation application
• C bitfields
• Car Radio control
• DES encryption / decryption
• Three different modules from analog telephones
• Reed-Solomon (error correction) encoder/decoder
• Pager protocol
• Refridgerator control
• Battery charger
• Embedded web server
• Label/recite printer
Benchmark: Real-life Applications
11www.atmel.com AVR Introduction
0,0 % 50,0 % 100,0 % 150,0 % 200,0 % 250,0 % 300,0 %
mega128
MSP430
68HC12
ST7
M16C/1x-3x, M16C/6x
eZ80
TMP68HC11
SAM8
H8/300
78K4
68HC08
8051
c80xx251
MAXQ
PICmicro® 18
68HC16
PICmicro® 16, 17
COP8
ST five
Benchmark – Code size
12www.atmel.com AVR Introduction
High Integration
Analog
AVR core
Serial
Interfaces
NV-memory
Digital
13www.atmel.com AVR Introduction
AVR – Single-Chip Solution
Hardware
Multiplier
USART SPITWI
I/O pins
SRAM
A/D Converter
OTP Memory
Analog
Comparator
Register File
CPU CORE
Brown Out
Detector
Watchdog
Analog
Reference
In- Circuit
Emulator
LCD driverTest
Fixtures
Programming
Circuitry
Output
Driver
Many uC
only give you this
Temperature
Sensor
EEPROM
14www.atmel.com AVR Introduction
Flash
Hardware
Multiplier
TWI
I/O pins
Analog
Comparator
LCD driver
Output
Driver
Reset
Circuitry
LCD
Interface
Boundary
Scan
JTAG
On-Chip
Debug
Calibrated
Oscillator
In System
Programming
Programmable
Watchdog
Brown Out
Detector
AVR Integrates Much More!
USART SPI
EEPROM
SRAM
A/D Converter
Pull-Ups
On Demand
High Current
Outputs
Register File
CPU CORE
Analog
Reference
Temperature
Sensor
AVR – Single-Chip Solution
15www.atmel.com AVR Introduction
Highest System Level Integration
16www.atmel.com AVR Introduction
In-System Development
• In-System Programming
• In-System Debugging
• In-System Verification
17www.atmel.com AVR Introduction
AVR Self-Programming
• Redefining ISP Self-Programming
• The AVR reprograms itself
• Any existing communication interface
• Any voltage
• Any frequency
• Critical functions still operating
• Run code during programming (Read-While-Write)
• Software controlled programming
• Firmware updates
• Parameter updates
18www.atmel.com AVR Introduction
Boot Loader and Application Section
• The Flash program memory
• is divided into two sections
• Application Section
• Boot Loader Section
• The two sections enables the AVR to
handle two independent applications
• The Application section contain the main
application
• The Boot Loader section contain a Flash
programming application
• Note that small AVRs does not divide
the Flash
• The whole Flash can be considered as a Boot
Loader
• Only on devices with 4K Flash or less
19www.atmel.com AVR Introduction
Self-Programming Flexibility
• AVR Self-Programming is controlled by SW
• SPM instruction controls self-programming
• SPM is an AVR core feature
• Not a hard-coded firmware, but a part of the customer application
• The AVR updates its own Flash while running
• Similar to AVR EEPROM access
• Critical functions in the customers application can be maintained
• The upgrade data can be received from any interface
• No restricted communication protocol or interface
• No external hardware
• No restrictions to Vcc or Clock frequency
20www.atmel.com AVR Introduction
All AVRs have In System Debugging
• JTAG interface
• On High pin-count devices
• Uses 4 general I/O pins
• debugWIRE interface
• On Low pin-count devices
• Uses only Reset pin
Compared to JTAGs four pins, debugWIRE uses only one; Reset.
This is a big advantage on low pin count devices
21www.atmel.com AVR Introduction
Development Tools
• AVR Studio - front end for all AVR tools
• Free
• Starter kits and evaluation boards
• From $19
• On-Chip Debuggers and Emulators
• From $299
22www.atmel.com AVR Introduction
Support
• Fully updated product web
• Highly skilled Field Application Engineers
• Support mail handled by AVR experts
• Reference designs
• Application notes
• AVRfreaks community website
23www.atmel.com AVR Introduction
Summary
• High performance
• Low power consumption
• High code density
• Advanced memory technology
• High integration

Weitere ähnliche Inhalte

Was ist angesagt?

Advance Microcontroller AVR
Advance Microcontroller AVRAdvance Microcontroller AVR
Advance Microcontroller AVRDaksh Raj Chopra
 
Tutorial on avr atmega8 microcontroller, architecture and its applications
Tutorial on avr atmega8 microcontroller, architecture and its applicationsTutorial on avr atmega8 microcontroller, architecture and its applications
Tutorial on avr atmega8 microcontroller, architecture and its applicationsEdgefxkits & Solutions
 
Atmel microcontrollers-a tmega328-p_datasheet
Atmel microcontrollers-a tmega328-p_datasheetAtmel microcontrollers-a tmega328-p_datasheet
Atmel microcontrollers-a tmega328-p_datasheetAlexTronciu
 
AVR_Course_Day4 introduction to microcontroller
AVR_Course_Day4 introduction to microcontrollerAVR_Course_Day4 introduction to microcontroller
AVR_Course_Day4 introduction to microcontrollerMohamed Ali
 
ATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IVineethMP2
 
Overview of LPC213x MCUs
Overview of LPC213x MCUsOverview of LPC213x MCUs
Overview of LPC213x MCUsPremier Farnell
 
Atmel 42735-8-bit-avr-microcontroller-a tmega328-328-p_summary
Atmel 42735-8-bit-avr-microcontroller-a tmega328-328-p_summaryAtmel 42735-8-bit-avr-microcontroller-a tmega328-328-p_summary
Atmel 42735-8-bit-avr-microcontroller-a tmega328-328-p_summaryRajan Gautam
 
AVR_Course_Day6 external hardware interrupts and analogue to digital converter
AVR_Course_Day6 external hardware  interrupts and analogue to digital converterAVR_Course_Day6 external hardware  interrupts and analogue to digital converter
AVR_Course_Day6 external hardware interrupts and analogue to digital converterMohamed Ali
 
174085193 pic-prgm-manual
174085193 pic-prgm-manual174085193 pic-prgm-manual
174085193 pic-prgm-manualArun Shan
 
GPIO In Arm cortex-m4 tiva-c
GPIO In Arm cortex-m4 tiva-cGPIO In Arm cortex-m4 tiva-c
GPIO In Arm cortex-m4 tiva-cZakaria Gomaa
 
PIC Introduction and explained in detailed
PIC Introduction and explained in detailedPIC Introduction and explained in detailed
PIC Introduction and explained in detailedAnkita Tiwari
 
COMPLETE DETAIL OF ARM PART 3
COMPLETE DETAIL OF ARM PART 3COMPLETE DETAIL OF ARM PART 3
COMPLETE DETAIL OF ARM PART 3NOWAY
 

Was ist angesagt? (20)

Advance Microcontroller AVR
Advance Microcontroller AVRAdvance Microcontroller AVR
Advance Microcontroller AVR
 
Basics of ATmega32
Basics of ATmega32Basics of ATmega32
Basics of ATmega32
 
Avr and arm
Avr and armAvr and arm
Avr and arm
 
Tutorial on avr atmega8 microcontroller, architecture and its applications
Tutorial on avr atmega8 microcontroller, architecture and its applicationsTutorial on avr atmega8 microcontroller, architecture and its applications
Tutorial on avr atmega8 microcontroller, architecture and its applications
 
Atmel microcontrollers-a tmega328-p_datasheet
Atmel microcontrollers-a tmega328-p_datasheetAtmel microcontrollers-a tmega328-p_datasheet
Atmel microcontrollers-a tmega328-p_datasheet
 
AVR_Course_Day4 introduction to microcontroller
AVR_Course_Day4 introduction to microcontrollerAVR_Course_Day4 introduction to microcontroller
AVR_Course_Day4 introduction to microcontroller
 
ATMEGA 328
ATMEGA 328ATMEGA 328
ATMEGA 328
 
Atmega32
Atmega32Atmega32
Atmega32
 
3.TechieNest microcontrollers
3.TechieNest  microcontrollers3.TechieNest  microcontrollers
3.TechieNest microcontrollers
 
ATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part I
 
Overview of LPC213x MCUs
Overview of LPC213x MCUsOverview of LPC213x MCUs
Overview of LPC213x MCUs
 
Atmel 42735-8-bit-avr-microcontroller-a tmega328-328-p_summary
Atmel 42735-8-bit-avr-microcontroller-a tmega328-328-p_summaryAtmel 42735-8-bit-avr-microcontroller-a tmega328-328-p_summary
Atmel 42735-8-bit-avr-microcontroller-a tmega328-328-p_summary
 
AVR ATmega32
AVR ATmega32AVR ATmega32
AVR ATmega32
 
AVR_Course_Day6 external hardware interrupts and analogue to digital converter
AVR_Course_Day6 external hardware  interrupts and analogue to digital converterAVR_Course_Day6 external hardware  interrupts and analogue to digital converter
AVR_Course_Day6 external hardware interrupts and analogue to digital converter
 
174085193 pic-prgm-manual
174085193 pic-prgm-manual174085193 pic-prgm-manual
174085193 pic-prgm-manual
 
ATMEGA-169P.pdf
ATMEGA-169P.pdfATMEGA-169P.pdf
ATMEGA-169P.pdf
 
GPIO In Arm cortex-m4 tiva-c
GPIO In Arm cortex-m4 tiva-cGPIO In Arm cortex-m4 tiva-c
GPIO In Arm cortex-m4 tiva-c
 
PIC Introduction and explained in detailed
PIC Introduction and explained in detailedPIC Introduction and explained in detailed
PIC Introduction and explained in detailed
 
Atmega8u2 mur
Atmega8u2 murAtmega8u2 mur
Atmega8u2 mur
 
COMPLETE DETAIL OF ARM PART 3
COMPLETE DETAIL OF ARM PART 3COMPLETE DETAIL OF ARM PART 3
COMPLETE DETAIL OF ARM PART 3
 

Ähnlich wie AVR introduction

introduction to embedded systems part 2
introduction to embedded systems part 2introduction to embedded systems part 2
introduction to embedded systems part 2Hatem Abd El-Salam
 
Project Wireframes (1) (3).pptx
Project Wireframes (1) (3).pptxProject Wireframes (1) (3).pptx
Project Wireframes (1) (3).pptxRaokt1
 
Practical reverse engineering and exploit development for AVR-based Embedded ...
Practical reverse engineering and exploit development for AVR-based Embedded ...Practical reverse engineering and exploit development for AVR-based Embedded ...
Practical reverse engineering and exploit development for AVR-based Embedded ...Alexander Bolshev
 
Atmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdf
Atmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdfAtmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdf
Atmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdfMiguel Angel Sejas Villarroel
 
Features of 89c51,pic,avr &amp; arm processors
Features of 89c51,pic,avr &amp; arm processorsFeatures of 89c51,pic,avr &amp; arm processors
Features of 89c51,pic,avr &amp; arm processorsVikas Dongre
 
Introduction to Embedded Laboratory EC 8711
Introduction to Embedded Laboratory EC 8711 Introduction to Embedded Laboratory EC 8711
Introduction to Embedded Laboratory EC 8711 babuece
 
1.Introduction to AVR.pdf
1.Introduction to AVR.pdf1.Introduction to AVR.pdf
1.Introduction to AVR.pdfMostafaKhaled78
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advancedImran Sheikh
 
WIRELESS SURVILLANCE ROBOT
WIRELESS SURVILLANCE ROBOT WIRELESS SURVILLANCE ROBOT
WIRELESS SURVILLANCE ROBOT KrishGupta94
 
Ajal mod 1
Ajal mod 1Ajal mod 1
Ajal mod 1AJAL A J
 
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdfAVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdfIsmailkhan77481
 
Introduction to Avr Microcontrollers
Introduction to Avr MicrocontrollersIntroduction to Avr Microcontrollers
Introduction to Avr MicrocontrollersMohamed Tarek
 

Ähnlich wie AVR introduction (20)

Dsp on an-avr
Dsp on an-avrDsp on an-avr
Dsp on an-avr
 
introduction to embedded systems part 2
introduction to embedded systems part 2introduction to embedded systems part 2
introduction to embedded systems part 2
 
ankit
ankitankit
ankit
 
Micro controller
Micro controllerMicro controller
Micro controller
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
Arm processor
Arm processorArm processor
Arm processor
 
Project Wireframes (1) (3).pptx
Project Wireframes (1) (3).pptxProject Wireframes (1) (3).pptx
Project Wireframes (1) (3).pptx
 
Practical reverse engineering and exploit development for AVR-based Embedded ...
Practical reverse engineering and exploit development for AVR-based Embedded ...Practical reverse engineering and exploit development for AVR-based Embedded ...
Practical reverse engineering and exploit development for AVR-based Embedded ...
 
Atmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdf
Atmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdfAtmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdf
Atmel-7735-Automotive-Microcontrollers-ATmega169P_-968165.pdf
 
Atmega 128 datasheet
Atmega 128   datasheetAtmega 128   datasheet
Atmega 128 datasheet
 
Interfacing using ِAtmega16/32
Interfacing using ِAtmega16/32 Interfacing using ِAtmega16/32
Interfacing using ِAtmega16/32
 
Features of 89c51,pic,avr &amp; arm processors
Features of 89c51,pic,avr &amp; arm processorsFeatures of 89c51,pic,avr &amp; arm processors
Features of 89c51,pic,avr &amp; arm processors
 
Introduction to Embedded Laboratory EC 8711
Introduction to Embedded Laboratory EC 8711 Introduction to Embedded Laboratory EC 8711
Introduction to Embedded Laboratory EC 8711
 
1.Introduction to AVR.pdf
1.Introduction to AVR.pdf1.Introduction to AVR.pdf
1.Introduction to AVR.pdf
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
Processors selection
Processors selectionProcessors selection
Processors selection
 
WIRELESS SURVILLANCE ROBOT
WIRELESS SURVILLANCE ROBOT WIRELESS SURVILLANCE ROBOT
WIRELESS SURVILLANCE ROBOT
 
Ajal mod 1
Ajal mod 1Ajal mod 1
Ajal mod 1
 
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdfAVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
 
Introduction to Avr Microcontrollers
Introduction to Avr MicrocontrollersIntroduction to Avr Microcontrollers
Introduction to Avr Microcontrollers
 

Kürzlich hochgeladen

Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Call Girls in Nagpur High Profile
 
Call Girls Service Kolkata Aishwarya 🤌 8250192130 🚀 Vip Call Girls Kolkata
Call Girls Service Kolkata Aishwarya 🤌  8250192130 🚀 Vip Call Girls KolkataCall Girls Service Kolkata Aishwarya 🤌  8250192130 🚀 Vip Call Girls Kolkata
Call Girls Service Kolkata Aishwarya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service NashikLow Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...
VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...
VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...Suhani Kapoor
 
Develop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power pointDevelop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power pointGetawu
 
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Call Girls in Nagpur High Profile
 
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...nagunakhan
 
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...Amil baba
 
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...Pooja Nehwal
 
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...Call Girls in Nagpur High Profile
 
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | DelhiFULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhisoniya singh
 
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...Pooja Nehwal
 
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...anilsa9823
 
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...ur8mqw8e
 
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Naicy mandal
 
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...Call Girls in Nagpur High Profile
 
(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)
(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)
(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)kojalkojal131
 

Kürzlich hochgeladen (20)

Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
Call Girls Service Kolkata Aishwarya 🤌 8250192130 🚀 Vip Call Girls Kolkata
Call Girls Service Kolkata Aishwarya 🤌  8250192130 🚀 Vip Call Girls KolkataCall Girls Service Kolkata Aishwarya 🤌  8250192130 🚀 Vip Call Girls Kolkata
Call Girls Service Kolkata Aishwarya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service NashikLow Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
 
VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...
VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...
VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...
 
Develop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power pointDevelop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power point
 
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
 
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...
 
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
 
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
 
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
 
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
 
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | DelhiFULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
 
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
 
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...
 
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
 
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
 
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...
 
(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)
(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)
(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)
 

AVR introduction

  • 1. © Atmel Norway 2005 AVR Introduction
  • 3. 2www.atmel.com AVR Introduction The Growing AVR Family The Growing AVR Family• TINY AVR family • 8 - 32 pin general purpose microcontrollers • 16 family members • MEGA AVR family • 32 - 100 pin general purpose microcontrollers • 23 family members • ASSP AVRs • USB, CAN and LCD • Motor Control and Lighting • Automotive • Battery Management • 8 family members
  • 4. 3www.atmel.com AVR Introduction Scalable • Devices range from 1 to 256KB • Pin count range from 8 to 100 • Full code compatibility • Pin/feature compatible families • One set of development tools
  • 5. 4www.atmel.com AVR Introduction AVR Architecture • RISC architecture with CISC instruction set • Powerful instruction set for C and Assembly • Scalable • Same powerful AVR core in all devices • Single cycle execution • One instruction per external clock • Low power consumption • 32 Working Registers • All Directly connected to ALU! • Very efficient core • 20 MIPS @ 20MHz • High System Level Integration • Lowest total system cost
  • 6. 5www.atmel.com AVR Introduction Single Cycle Execution Register File ALU Register operations take ONE clock pulse on the EXTERNAL clock input 20MIPS @ 20MHz
  • 7. 6www.atmel.com AVR Introduction High Code Density • Architecture designed for C • 32 general registers • C-like addressing modes • 16- and 32-bit arithmetic support • Linear address maps
  • 8. 7www.atmel.com AVR Introduction AVR Influenced by IAR • Architecture and Instruction Set co-designed with IAR systems through several iterations: • Compiler development project initiated before architecture and instruction set frozen • Compiler experts’ advice implemented in hardware • Potential HLL bottlenecks identified and removed Auto Increment/Decrement Example: C Source: unsigned char *var1, *var2; *var1++ = *--var2; Generated assembly code: LD R16,-X ST Z+,R16
  • 9. 8www.atmel.com AVR Introduction Example: A Small C Function /* Return the maximum value of a table of 16 integers */ int max(int *array) { char a; int maximum=-32768; for (a=0;a<16;a++) if (array[a]>maximum) maximum=array[a]; return (maximum); }
  • 10. 9www.atmel.com AVR Introduction Code Size and Execution Time • MSP430 and AVR are running a close race • But max speed on MSP430 is only 8MHz • The C51 would have to run at 296 MHz to match the 16 MHz AVR • PIC18 seems fast but require 3 times as much code space. Device Max Speed [MHz] Code Size [Bytes] Cycles Execution Time [uS] ATmega16 16 32 227 14.2 MSP430 8 34 246 30.8 T89C51RD2 20 57 4200 210.0 PIC18F452 40 92 716 17.9 PIC16C74 20 87 2492 124.6 68HC11 12 59 1238 103.2
  • 11. 10www.atmel.com AVR Introduction • Complete navigation application • C bitfields • Car Radio control • DES encryption / decryption • Three different modules from analog telephones • Reed-Solomon (error correction) encoder/decoder • Pager protocol • Refridgerator control • Battery charger • Embedded web server • Label/recite printer Benchmark: Real-life Applications
  • 12. 11www.atmel.com AVR Introduction 0,0 % 50,0 % 100,0 % 150,0 % 200,0 % 250,0 % 300,0 % mega128 MSP430 68HC12 ST7 M16C/1x-3x, M16C/6x eZ80 TMP68HC11 SAM8 H8/300 78K4 68HC08 8051 c80xx251 MAXQ PICmicro® 18 68HC16 PICmicro® 16, 17 COP8 ST five Benchmark – Code size
  • 13. 12www.atmel.com AVR Introduction High Integration Analog AVR core Serial Interfaces NV-memory Digital
  • 14. 13www.atmel.com AVR Introduction AVR – Single-Chip Solution Hardware Multiplier USART SPITWI I/O pins SRAM A/D Converter OTP Memory Analog Comparator Register File CPU CORE Brown Out Detector Watchdog Analog Reference In- Circuit Emulator LCD driverTest Fixtures Programming Circuitry Output Driver Many uC only give you this Temperature Sensor EEPROM
  • 15. 14www.atmel.com AVR Introduction Flash Hardware Multiplier TWI I/O pins Analog Comparator LCD driver Output Driver Reset Circuitry LCD Interface Boundary Scan JTAG On-Chip Debug Calibrated Oscillator In System Programming Programmable Watchdog Brown Out Detector AVR Integrates Much More! USART SPI EEPROM SRAM A/D Converter Pull-Ups On Demand High Current Outputs Register File CPU CORE Analog Reference Temperature Sensor AVR – Single-Chip Solution
  • 16. 15www.atmel.com AVR Introduction Highest System Level Integration
  • 17. 16www.atmel.com AVR Introduction In-System Development • In-System Programming • In-System Debugging • In-System Verification
  • 18. 17www.atmel.com AVR Introduction AVR Self-Programming • Redefining ISP Self-Programming • The AVR reprograms itself • Any existing communication interface • Any voltage • Any frequency • Critical functions still operating • Run code during programming (Read-While-Write) • Software controlled programming • Firmware updates • Parameter updates
  • 19. 18www.atmel.com AVR Introduction Boot Loader and Application Section • The Flash program memory • is divided into two sections • Application Section • Boot Loader Section • The two sections enables the AVR to handle two independent applications • The Application section contain the main application • The Boot Loader section contain a Flash programming application • Note that small AVRs does not divide the Flash • The whole Flash can be considered as a Boot Loader • Only on devices with 4K Flash or less
  • 20. 19www.atmel.com AVR Introduction Self-Programming Flexibility • AVR Self-Programming is controlled by SW • SPM instruction controls self-programming • SPM is an AVR core feature • Not a hard-coded firmware, but a part of the customer application • The AVR updates its own Flash while running • Similar to AVR EEPROM access • Critical functions in the customers application can be maintained • The upgrade data can be received from any interface • No restricted communication protocol or interface • No external hardware • No restrictions to Vcc or Clock frequency
  • 21. 20www.atmel.com AVR Introduction All AVRs have In System Debugging • JTAG interface • On High pin-count devices • Uses 4 general I/O pins • debugWIRE interface • On Low pin-count devices • Uses only Reset pin Compared to JTAGs four pins, debugWIRE uses only one; Reset. This is a big advantage on low pin count devices
  • 22. 21www.atmel.com AVR Introduction Development Tools • AVR Studio - front end for all AVR tools • Free • Starter kits and evaluation boards • From $19 • On-Chip Debuggers and Emulators • From $299
  • 23. 22www.atmel.com AVR Introduction Support • Fully updated product web • Highly skilled Field Application Engineers • Support mail handled by AVR experts • Reference designs • Application notes • AVRfreaks community website
  • 24. 23www.atmel.com AVR Introduction Summary • High performance • Low power consumption • High code density • Advanced memory technology • High integration