AVR MCU reset: watchdog reset, power-on reset, power-off reset

Publisher:淡雅时光Latest update time:2016-10-20 Source: eefocusKeywords:AVR Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
I see that you are still not very clear about reset, especially the reset function inside the AVR microcontroller. I will briefly explain it here, hoping that you can have a general understanding at home. If there are any mistakes, I hope you can point them out. If you think they are good, please help me to give a thumbs up.

There are four types of AVR microcontroller resets: power-on reset, power-off reset, watchdog timeout reset, and external reset.

Power-on reset: It is to reset the microcontroller when the power is turned on. This is the same as the function of our external RC reset circuit. The AVR microcontroller has a power-on reset function inside.

Power-off reset: When the voltage suddenly drops during the operation of the MCU, the MCU will have many uncertain phenomena, so it is necessary to reset the MCU to put it in a certain state. This is the BOD function, a very practical function, and the AVR MCU has this function.

Watchdog reset: This is what we often call a watchdog. When the program enters a certain place and there is no response for a long time, the microcontroller will be reset. The AVR microcontroller has a watchdog function.

External reset: Needless to say, this is to forcibly reset the microcontroller through the reset pin.

Old RC reset circuit: The external RC reset circuit can achieve the power-on reset function under normal power-on conditions, but it is powerless against the other types of reset mentioned above.

The AVR microcontroller has a fully functional reset circuit integrated inside, which can completely replace the professional reset circuit, not to mention the external RC circuit.

Therefore, the microcontroller can be used with confidence as long as a pull-up resistor is connected to the reset pin and the internal watchdog and BOD functions are turned on.

Keywords:AVR Reference address:AVR MCU reset: watchdog reset, power-on reset, power-off reset

Previous article:AVR MCU SPI port read and write AT45DB161D interface programming
Next article:ICCAVR bit operation macro definition

Latest Microcontroller Articles
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号