beautypg.com

Brown-out detection, Watchdog reset, Attiny26(l) – Rainbow Electronics ATtiny26L User Manual

Page 24

background image

24

ATtiny26(L)

1477B–AVR–04/02

Brown-out Detection

ATtiny26/L has an On-chip Brown-out Detection (BOD) circuit for monitoring the V

CC

level during the operation. The BOD circuit can be enabled/disabled by the fuse
BODEN. When the BOD is enabled (BODEN programmed), and V

CC

decreases below

the trigger level, the Brown-out Reset is immediately activated. When V

CC

increases

above the trigger level, the Brown-out Reset is deactivated after a delay. The delay is
defined by the user in the same way as the delay of POR signal, in Table 2. The trigger
level for the BOD can be selected by the fuse BODLEVEL to be 2.7V (BODLEVEL
unprogrammed), or 4.0V (BODLEVEL programmed). The trigger level has a hysteresis
of 50 mV to ensure spike free Brown-out Detection.

The BOD circuit will only detect a drop in V

CC

if the voltage stays below the trigger level

for longer than t

BOD

given in Table 3.

Figure 24. Brown-out Reset During Operation

Watchdog Reset

When the Watchdog times out, it will generate a short reset pulse of one CK cycle dura-
tion. On the falling edge of this pulse, the delay timer starts counting the Time-out period
t

TOUT

. Refer to page 58 for details on operation of the Watchdog.

Figure 25. Watchdog Time-out

V

CC

RESET

TIME-OUT

INTERNAL

RESET

V

BOT-

V

BOT+

t

TOUT

1 CK Cycle