Introduction to the characteristics of AVR microcontroller

Publisher:BlossomBeautyLatest update time:2020-02-04 Source: eefocusKeywords:AVR Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

RISC (Reduced Instruction Set Computer) is relative to CISC (Complex Instruction Set Computer). RISC does not simply reduce instructions, but improves the computing speed by making the computer structure simpler and more reasonable. RISC gives priority to simple instructions with the highest frequency of use and avoids complex instructions: it also fixes the instruction width, reduces the types of instruction formats and addressing modes, thereby shortening the instruction cycle and improving the operating speed. Because AVR adopts this structure of RESC, the AVR series of microcontrollers have a high-speed processing capability of 1MIPS/MHz (million instructions per second/megahertz).


The AVR microcontroller absorbs the characteristics of the DSP dual bus and adopts the Harvard bus structure. Therefore, the program memory and data memory of the microcontroller are separated, and the program memory and data memory with the same address can be addressed independently.


In the AVR microcontroller, when the CPU executes the current instruction, it fetches the next instruction to be executed and puts it into the register, thus avoiding the occurrence of multiple instruction cycles in the traditional MCS51 series microcontrollers.


All data processing of traditional MCS51 series microcontrollers is based on an accumulator, so the data conversion between the accumulator and the program memory and data memory becomes the bottleneck of the microcontroller; in the AVR microcontroller, the registers are composed of 32 general working registers, and any register can act as an accumulator, which effectively avoids the bottleneck effect of the accumulator and improves the performance of the system.


AVR microcontrollers have good integration performance. AVR series microcontrollers all have online programming interfaces, and the Mega series also has JTAG simulation and download functions; they all contain on-chip watchdog circuits, on-chip program Flash, and synchronous serial interface SPI; most AVR microcontrollers also have built-in AD converters, EEPROM, analog comparators, PWM timer counters and other functions; the I/O interface of AVR microcontrollers has strong driving capabilities, and the current can directly drive relays, LEDs and other devices, thereby eliminating the need for drive circuits and saving system costs.


AVR microcontrollers are manufactured using low-power, non-volatile CMOS technology. In addition to having the characteristics of low power consumption and high density, they also support low-voltage online Flash and EEPROM writing functions.


AVR microcontrollers also support programming in high-level languages ​​such as Basic and C. Using high-level languages ​​to develop microcontroller systems is the development trend of microcontroller applications. Programming microcontrollers in high-level languages ​​can easily achieve system transplantation and speed up the software development process.


AVR microcontrollers have multiple series, including ATtiny, AT90, and ATmega. Each series includes multiple products, which are very different in function and memory capacity, but the basic structure and principle are similar, and the programming method is also the same.


AVR microcontroller series are complete and can be applied to various occasions. AVR microcontrollers are divided into three series:

Low-end: ATtiny

Mid-range: AT90

High-end: ATmega


Keywords:AVR Reference address:Introduction to the characteristics of AVR microcontroller

Previous article:AVR's excellent C language programming style
Next article:AVR microcontroller I²C bus experiment

Recommended ReadingLatest update time:2024-11-16 05:25

12864 LCD (AVR_Mega128) header file
When you use it, save this code as a .h header file and include this header file in the main program.   Just change the following port macro definition according to your LCD circuit       //CPU:ATmega128; clock frequency is 16MHz //Compilation environment is ICCAVR //head File #include iom128v.h #inc
[Microcontroller]
AVR CH451 Driver
AVR CH451 driver header file #ifndef _CH451_H  #define _CH451_H  #include avr/io.h   //CH451 command macro definition  #define CH451_RESET 0x0201 //Reset #define CH451_LEFT MOV 0x0300 //Set the movement mode - left shift  #define CH451_LEFTCYC 0x0301 //Set the movement mode - left cycle  #define CH451_RIGHT MOV 0x0302
[Microcontroller]
AVR-based escalator
1.1 Research Background Escalators are widely used in large shopping malls, supermarkets, airports, subways, hotels and other places. Most escalators work at rated operating conditions when there are large passenger flows, and still run at rated speeds when there are no passengers. They have the disadvantages of high
[Microcontroller]
AVR-based escalator
Learn MCU well, challenge high salary is not a dream
AVR MCU-Functional Features Introduction AVR microcontroller is a RISC microcontroller launched by Atmel in 1997. RISC (Reduced Instruction Set Computer) is relative to CISC (Complex Instruction Set Computer). RISC does not simply reduce instructions, but improves the computing speed by making the computer structure s
[Microcontroller]
Key points of designing AVR microcontroller timing counter based on PWM function
1. Key points of timer/counter PWM design  According to the characteristics of PWM (Pulse Width Modulation (PWM: (Pulse Width Modulation) is a very effective mode that uses the digital output of the microprocessor to control the analog circuit)), the following points should be noted when using the ATmega128 timer/co
[Microcontroller]
Power supply design based on AVR Butterfly
0 Preface With the development of embedded system design technology, system engineers have higher and higher requirements for power supply in design and simulation. When embedded system design uses 8031 ​​microcontrollers and 74 series integrated circuits, all circuit boards using 74 series integrated circuits can be
[Microcontroller]
Power supply design based on AVR Butterfly
AVR MCU Tutorial - Burning HEX Files
Every time you build a project, the compiler will generate multiple files, one of which is a hex file. The external tools configured in the IDE before is to burn this hex file into the microcontroller. However, sometimes you want to run someone else's program, but you can't get their source code, you can only get a
[Microcontroller]
AVR MCU Tutorial - Burning HEX Files
AVR shift algorithm detailed explanation
Many beginners are confused by the shift algorithm, which is in the form of (1 X). When experts write programs, they are used to using the shift algorithm to write the use of each register. For example, the following is the initialization code of AVR's USART.   UCSRC = (1 URSEL)|(1 UCSZ1)|(1 UCSZ0); UCSR0B = (1
[Microcontroller]
AVR shift algorithm detailed explanation
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号