English
Language : 

PIC18F47J53 Datasheet, PDF (451/586 Pages) Microchip Technology – 28/44-Pin, High-Performance USB Microcontrollers with nanoWatt XLP Technology
PIC18F47J53 FAMILY
28.2 Watchdog Timer (WDT)
PIC18F47J53 family devices have both a conventional
WDT circuit and a dedicated, Deep Sleep capable
Watchdog Timer. When enabled, the conventional
WDT operates in normal Run, Idle and Sleep modes.
This data sheet section describes the conventional
WDT circuit.
The dedicated, Deep Sleep capable WDT can only be
enabled in Deep Sleep mode. This timer is described in
Section 4.6.4 “Deep Sleep Watchdog Timer
(DSWDT)”.
The conventional WDT is driven by the INTRC oscilla-
tor. When the WDT is enabled, the clock source is also
enabled. The nominal WDT period is 4 ms and has the
same stability as the INTRC oscillator.
The 4 ms period of the WDT is multiplied by a 16-bit
postscaler. Any output of the WDT postscaler is
selected by a multiplexer, controlled by the WDTPS bits
in Configuration Register 2H. Available periods range
from about 4 ms to 135 seconds (2.25 minutes
depending on voltage, temperature and WDT
postscaler). The WDT and postscaler are cleared
whenever a SLEEP or CLRWDT instruction is executed,
or a clock failure (primary or Timer1 oscillator) has
occurred.
Note 1: The CLRWDT and SLEEP instructions
clear the WDT and postscaler counts
when executed.
2: When a CLRWDT instruction is executed,
the postscaler count will be cleared.
28.2.1 CONTROL REGISTER
The WDTCON register (Register 28-11) is a readable
and writable register. The SWDTEN bit enables or dis-
ables WDT operation. This allows software to override
the WDTEN Configuration bit and enable the WDT only
if it has been disabled by the Configuration bit.
LVDSTAT is a read-only status bit that is continuously
updated and provides information about the current
level of VDDCORE. This bit is only valid when the on-chip
voltage regulator is enabled.
FIGURE 28-1:
WDT BLOCK DIAGRAM
SWDTEN
INTRC Oscillator
Enable WDT
INTRC Control
WDT Counter
128
CLRWDT
All Device Resets
WDTPS<3:0>
Sleep
Programmable Postscaler Reset
1:1 to 1:32,768
WDT
4
Wake-up from
Power-Managed
Modes
WDT
Reset
 2010 Microchip Technology Inc.
Preliminary
DS39964B-page 451