PIC16F8X
8.3 Reset
The PIC16F8X differentiates between various kinds
of reset:
• Power-on Reset (POR)
• MCLR reset during normal operation
• MCLR reset during SLEEP
• WDT Reset (during normal operation)
• WDT Wake-up (during SLEEP)
Figure 8-8 shows a simplified block diagram of the
on-chip reset circuit. The MCLR reset path has a noise
filter to ignore small pulses. The electrical specifica-
tions state the pulse width requirements for the MCLR
pin.
Some registers are not affected in any reset condition;
their status is unknown on a POR reset and unchanged
in any other reset. Most other registers are reset to a
“reset state” on POR, MCLR or WDT reset during
normal operation and on MCLR reset during SLEEP.
They are not affected by a WDT reset during SLEEP,
since this reset is viewed as the resumption of normal
operation.
Table 8-3 gives a description of reset conditions for the
program counter (PC) and the STATUS register.
Table 8-4 gives a full description of reset states for all
registers.
The TO and PD bits are set or cleared differently in dif-
ferent reset situations (Section 8.7). These bits are
used in software to determine the nature of the reset.
FIGURE 8-8: SIMPLIFIED BLOCK DIAGRAM OF ON-CHIP RESET CIRCUIT
External
Reset
MCLR
VDD
SLEEP
WDT WDT
Module Time_Out
Reset
VDD rise
detect Power_on_Reset
OST/PWRT
OST
10-bit Ripple counter
OSC1/
CLKIN
PWRT
On-chip
RC OSC(1)
10-bit Ripple counter
S
Chip_Reset
R
Q
Note 1: This is a separate oscillator from the
RC oscillator of the CLKIN pin.
Enable PWRT
Enable OST
See Table 8-5
© 1998 Microchip Technology Inc.
DS30430C-page 41