ATmega64 reset source

Publisher:梦中徐来Latest update time:2021-11-22 Source: eefocusKeywords:ATmega64 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Reset the AVR

At reset, all I/O registers are set to their initial values ​​and the program starts executing from the reset vector. The instruction at the reset vector must be an absolute jump JMP instruction so that the program jumps to the reset handling routine. If the program never enables interrupts, the interrupt vector can be overwritten by normal program code. Figure 22 shows the circuit diagram of the reset logic. Table 19 defines the electrical parameters of the reset circuit.


When the reset source takes effect, the I/O ports are immediately reset to their initial values ​​without any clock assistance.


When all reset signals disappear, the delay counter is activated, thereby extending the internal reset and allowing the power supply to reach a stable level before the MCU works normally. The overflow time of the delay counter is set by the user through the fuse bit CKSEL. For the selection of the delay time, please refer to P35 "Clock Source".


Reset Sources
ATmega64 has 5 reset sources:
• Power-on reset. When the power supply voltage is lower than the power-on reset threshold (VPOT), the MCU is reset.
• External reset. The MCU is reset when the low level on the RESET pin lasts longer than the minimum pulse width.
• Watchdog reset. A reset occurs when the watchdog is enabled and the watchdog timer times out.
• Brownout reset. When the brownout reset function is enabled, the MCU is reset when the power supply voltage is lower than the brownout reset threshold (VBOT).
• JTAG AVR reset: The MCU is reset when the reset register is 1. See P 235 “IEEE 1149.1 (JTAG) Boundary Scan”.

ATmega64 Reset Logic ATmega64 Reset Characteristics
Notes: 
1. During a voltage drop, a reset will only occur when the voltage is below VPOT. 
2. Some devices may have a VBOT lower than the nominal minimum operating voltage. These devices are tested during production testing with VCC = VBOT to ensure that a brownout detection reset occurs before VCC drops to a level that stops the processor from functioning properly. The test condition for the ATmega64L is BODLEVEL=1 and the test condition for the ATmega64 is BODLEVEL=0. BODLEVEL=1 is not applicable to the ATmega64.


Keywords:ATmega64 Reference address:ATmega64 reset source

Previous article:ATmega64 Power-On Reset
Next article:ATmega64 How to reduce power consumption

Recommended ReadingLatest update time:2024-11-16 14:30

ATmega64 power failure detection reset
ATmega64 has an on-chip BOD (Brown-out Detection) circuit that detects changes in VCC during operation by comparing it with a fixed trigger level. This trigger level can be set to 2.7V (BODLEVEL not programmed) or 4.0V (BODLEVEL programmed) by setting the fuse bit BODLEVEL. The trigger level also has a hysteresis func
[Microcontroller]
ATmega64 power failure detection reset
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号