Académique Documents
Professionnel Documents
Culture Documents
• TINY
TheAVR family AVR Family
Growing
• 8 - 32 pin general purpose microcontrollers
• 16 family members
• ASSP AVRs
• USB, CAN and LCD
• Motor Control and Lighting
• Automotive
• Battery Management
• 8 family members
• Scalable
• Same powerful AVR core in all devices
• 32 Working Registers
• All Directly connected to ALU!
Register File
Register operations
take ONE clock pulse
on the EXTERNAL clock ALU
input
20MIPS @ 20MHz
www.atmel.com AVR Introduction 5
High Code Density
• 32 general registers
C Source:
unsigned char *var1, *var2;
*var1++ = *--var2;
for (a=0;a<16;a++)
if (array[a]>maximum)
maximum=array[a];
return (maximum);
}
• The C51 would have to run at 296 MHz to match the 16 MHz AVR
• C bitfields
• Pager protocol
• Refridgerator control
• Battery charger
• Label/recite printer
www.atmel.com AVR Introduction 10
Benchmark – Code size
ST five
COP8
PICmicro® 16, 17
68HC16
PICmicro® 18
MAXQ
c80xx251
8051
68HC08
78K4
H8/300
SAM8
TMP68HC11
eZ80
M16C/1x-3x, M16C/6x
ST7
68HC12
MSP430
mega128
NV-memory
Analog
AVR core
Serial
Interfaces
Digital
Brown Out
Detector Output
Driver
Watchdog
Many uC
In- Circuit only give you this
Emulator Programming
Circuitry
Hardware
Flash EEPROM
Multiplier
Analog
CPU CORE SRAM
Temperature Comparator
Sensor
A/D Converter Register File I/O pins
LCD driver
AVR Integrates Much More!
• In-System Programming
• In-System Debugging
• In-System Verification
• Reference designs
• Application notes
• High performance
• High integration