at89c51ac3-s3sim ATMEL Corporation, at89c51ac3-s3sim Datasheet - Page 79

no-image

at89c51ac3-s3sim

Manufacturer Part Number
at89c51ac3-s3sim
Description
At89c51ac3 Enhanced 8-bit Microcontroller With 64kb Flash Memory
Manufacturer
ATMEL Corporation
Datasheet
Watchdog Timer
Figure 42. Watchdog Timer
4383D–8051–02/08
Fwd Clock
RESET
-
AT89C51AC3 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 =
12MHz 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:
-
WDTPRG
-
CLOCK
When the Watchdog is enable it is impossible to change its period.
WDTRST
Fwd
-
14-bit COUNTER
Enable
-
2
OSC
1
, where T
÷ PS
0
WR
OSC
÷ 6
=1/F
Control
Decoder
OSC
7-bit COUNTER
. To make the best use of the WDT, it
Outputs
CPU and Peripheral
Clock
RESET
79

Related parts for at89c51ac3-s3sim