T89C5115 ATMEL Corporation, T89C5115 Datasheet - Page 62

no-image

T89C5115

Manufacturer Part Number
T89C5115
Description
Low Pin Count 8-bit MCU with A/D Converter and 16-Kbytes of Flash Memory
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
T89C5115-RATIM
Manufacturer:
TI
Quantity:
1 474
Part Number:
T89C5115-RATIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C5115-SISIM
Manufacturer:
Atmel
Quantity:
10 000
WatchDog Timer
Figure 29. WatchDog Timer
62
T89C5115
Fwd Clock
RESET
-
T89C5115 contains a powerful programmable hardware WatchDog Timer (WDT) that
automatically resets the chip if it software fails to reset the WDT before the selected time
interval has elapsed. It permits large Time-Out ranking from 16ms to 2s
@Fosc = 12 MHz in X1 mode.
This WDT consists of a 14-bit counter plus a 7-bit programmable counter, a WatchDog
Timer reset register (WDTRST) and a WatchDog Timer programming (WDTPRG) regis-
ter. When exiting reset, the WDT is -by default- disable.
To enable the WDT, the user has to write the sequence 1EH and E1H into WDTRST
register no instruction in between. When the WatchDog Timer is enabled, it will incre-
ment every machine cycle while the oscillator is running and there is no way to disable
the WDT except through reset (either hardware reset or WDT overflow reset). When
WDT overflows, it will generate an output RESET pulse at the RST pin. The RESET
pulse duration is 96xT
should be serviced in those sections of code that will periodically be executed within the
time required to prevent a WDT reset.
Note:
-
-
When the WatchDog is enable it is impossible to change its period.
WDTRST
-
WDTPRG
14-bit COUNTER
Enable
-
CLOCK
Fwd
2
OSC
1
, where T
0
WR
OSC
=1/F
Control
Decoder
÷ PS
OSC
7-bit COUNTER
. To make the best use of the WDT, it
÷ 6
Outputs
CPU and Peripheral
Clock
RESET
4128A–8051–04/02

Related parts for T89C5115