Internal voltage reference, Voltage reference enable signals and start-up time, Watchdog timer – Rainbow Electronics ATmega64L User Manual
Page 39: Atmega16(l)

39
ATmega16(L)
2466B–09/01
Internal Voltage
Reference
ATmega16 features an internal bandgap reference. This reference is used for Brown-
out Detection, and it can be used as an input to the Analog Comparator or the ADC. The
2.56V reference to the ADC is generated from the internal bandgap reference.
Voltage Reference Enable
Signals and Start-up Time
The voltage reference has a start-up time that may influence the way it should be used.
The start-up time is given in Table 16. To save power, the reference is not always turned
on. The reference is on during the following situations:
1.
When the BOD is enabled (by programming the BODEN fuse).
2.
When the bandgap reference is connected to the Analog Comparator (by setting
the ACBG bit in ACSR).
3.
When the ADC is enabled.
Thus, when the BOD is not enabled, after setting the ACBG bit or enabling the ADC, the
user must always allow the reference to start up before the output from the Analog Com-
parator or ADC is used. To reduce power consumption in Power-down mode, the user
can avoid the three conditions above to ensure that the reference is turned off before
entering Power-down mode.
Note:
1. Values are guidelines only. Actual values are TBD.
Watchdog Timer
The Watchdog Timer is clocked from a separate On-chip oscillator which runs at 1 MHz.
This is the typical value at V
CC
= 5V. See characterization data for typical values at other
V
CC
levels. By controlling the Watchdog Timer prescaler, the Watchdog reset interval
can be adjusted as shown in Table 17 on page 41. The WDR – Watchdog Reset –
instruction resets the Watchdog Timer. The Watchdog Timer is also reset when it is dis-
abled and when a chip reset occurs. Eight different clock cycle periods can be selected
to determine the reset period. If the reset period expires without another Watchdog
reset, the ATmega16 resets and executes from the Reset vector. For timing details on
the Watchdog reset, refer to page 38.
To prevent unintentional disabling of the watchdog, a special turn-off sequence must be
followed when the watchdog is disabled. Refer to the description of the Watchdog Timer
Control Register for details.
Table 16. Internal Voltage Reference Characteristics
Symbol
Parameter
Condition
Min
Typ
Max
Units
V
BG
Bandgap reference voltage
TBD
TBD
1.23
TBD
V
t
BG
Bandgap reference start-up time
TBD
40
70
µs
I
BG
Bandgap reference current
consumption
TBD
10
TBD
µA