ATmega16 power failure detection

Publisher:数字行者Latest update time:2021-10-12 Source: eefocusKeywords:ATmega16 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

ATmega16 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 is set by the fuse bit BODLEVEL, 2.7V (BODLEVEL not programmed), 4.0V (BODLEVEL programmed). The BOD trigger level has a hysteresis function to eliminate the impact of power spikes. This hysteresis function can be interpreted as VBOT+ = VBOT + VHYST/2 and VBOT- = VBOT- VHYST/2.


The switch of the BOD circuit is controlled by the fuse bit BODEN. When BOD is enabled (BODEN is programmed), once VCC drops below the trigger level (VBOT-, Figure 19), the BOD reset is immediately triggered. When VCC rises above the trigger level (VBOT+, Figure 19), the delay counter starts counting, and once the overflow time tTOUT is exceeded, the MCU resumes operation.

If VCC remains below the trigger level and remains as tBOD as shown in Table 15, the BOD circuit will only detect voltage drop.


Keywords:ATmega16 Reference address:ATmega16 power failure detection

Previous article:ATmega16 External Reset
Next article:ATmega16 Power-On Reset

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

ATmega16 instruction execution timing
Figure 6 illustrates the concept of parallel instruction fetching and execution determined by the Harvard architecture, as well as the register file that can be accessed quickly. This is a basic pipeline concept with performance up to 1 MIPS/MHz, and excellent price/performance, function/clock ratio, and function/powe
[Microcontroller]
ATmega16 instruction execution timing
atmega16 on-chip A/D program - CVAVR program
/***************************************************** File name : AD_on chip.c Chip type : ATmega16L Program type : Application Clock frequency : 4.000000 MHz Memory model : Small External SRAM size : 0 Data Stack size : 256 Function : Internal AD conversion, digital tube display *****************************
[Microcontroller]
Design of wireless temperature measurement system based on C8051 and Atmega16
At present, temperature measurement has been widely used in various fields such as steel, metallurgy, industrial welding, wave soldering, and reflow soldering. The temperature to be measured in these applications is very high, and the measurement environment is very harsh. Traditional wired temperature measurement devi
[Microcontroller]
Design of wireless temperature measurement system based on C8051 and Atmega16
AVR Atmega16 external interrupt 0 simple application
#include avr/io.h   #include util/delay.h   #include avr/interrupt.h void port_init(void)  {     DDRB = 0xff;      PORTB = 0xff;      DDRD = 0x00;      PORTD |= (1 2);  }  int main(void)  {      port_init();      GICR |= (1 INT0);      sei();      while(1)      {      ;      }  } ISR(INT0_vect)  {          PORTB =
[Microcontroller]
ATMEGA16 12864LCD driver (KS0108 chip)
#include mega16.h    #include delay.h    #include ks0108.h //library function I wrote myself   void main(void)       {       PORTB=0;       PORTC=0;       DDRB=255;       DDRC=255;       delay_ms(100);       RESET=1; //Reset       delay_ms(100);              ks0108cls(); //Clear screen       ks0108putchar('A');       
[Microcontroller]
AVR microcontroller (learning) - (ten), ATMEGA16 synchronous serial interface - 01
10. ATMEGA16 Synchronous Serial Interface 10-(01) Introduction to the synchronous serial interface of ATMEGA16 1. SPI features of ATMEGA16 The Serial Peripheral Interface (SPI) allows high-speed synchronous data transfer between the ATmega16 and peripherals or other AVR devices. The features of the ATmega16 SPI are as
[Microcontroller]
AVR microcontroller (learning) - (ten), ATMEGA16 synchronous serial interface - 01
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号