English
Language : 

PIC17C7XX_13 Datasheet, PDF (25/306 Pages) Microchip Technology – High-Performance 8-bit CMOS EPROM Microcontrollers with 10-bit A/D
PIC17C7XX
5.1.4 TIME-OUT SEQUENCE
On power-up, the time-out sequence is as follows: First,
the internal POR signal goes high when the POR trip
point is reached. If MCLR is high, then both the OST and
PWRT timers start. In general, the PWRT time-out is
longer, except with low frequency crystals/resonators.
The total time-out also varies based on oscillator config-
uration. Table 5-1 shows the times that are associated
with the oscillator configuration. Figure 5-5 and Figure 5-
6 display these time-out sequences.
If the device voltage is not within electrical specification
at the end of a time-out, the MCLR/VPP pin must be
held low until the voltage is within the device specifica-
tion. The use of an external RC delay is sufficient for
many of these applications.
The time-out sequence begins from the first rising edge
of MCLR.
Table 5-3 shows the RESET conditions for some spe-
cial registers, while Table 5-4 shows the initialization
conditions for all the registers.
TABLE 5-1: TIME-OUT IN VARIOUS SITUATIONS
Oscillator
Configuration
XT, LF
EC, RC
POR, BOR
Greater of: 96 ms or 1024TOSC
Greater of: 96 ms or 1024TOSC
Wake-up from
SLEEP
1024TOSC
—
MCLR Reset
—
—
TABLE 5-2: STATUS BITS AND THEIR SIGNIFICANCE
POR
BOR(1)
TO
PD
Event
0
0
1
1 Power-on Reset
1
1
1
0 MCLR Reset during SLEEP or interrupt wake-up from SLEEP
1
1
0
1 WDT Reset during normal operation
1
1
0
0 WDT Wake-up during SLEEP
1
1
1
1 MCLR Reset during normal operation
1
0
1
1 Brown-out Reset
0
0
0
x Illegal, TO is set on POR
0
0
x
0 Illegal, PD is set on POR
x
x
1
1 CLRWDT instruction executed
Note 1: When BODEN is enabled, else the BOR status bit is unknown.
TABLE 5-3: RESET CONDITION FOR THE PROGRAM COUNTER AND THE CPUSTA REGISTER
Event
PCH:PCL
CPUSTA(4)
OST Active
Power-on Reset
Brown-out Reset
0000h
--11 1100
Yes
0000h
--11 1110
Yes
MCLR Reset during normal operation
0000h
--11 1111
No
MCLR Reset during SLEEP
0000h
--11 1011
Yes(2)
WDT Reset during normal operation
0000h
--11 0111
No
WDT Reset during SLEEP(3)
0000h
--11 0011
Yes(2)
Interrupt Wake-up from SLEEP GLINTD is set
PC + 1
--11 1011
Yes(2)
GLINTD is clear
PC + 1(1)
--10 1011
Yes(2)
Legend: u = unchanged, x = unknown, - = unimplemented, read as '0'
Note 1: On wake-up, this instruction is executed. The instruction at the appropriate interrupt vector is fetched and
then executed.
2: The OST is only active (on wake-up) when the oscillator is configured for XT or LF modes.
3: The Program Counter = 0; that is, the device branches to the RESET vector and places SFRs in WDT
Reset states. This is different from the mid-range devices.
4: When BODEN is enabled, else the BOR status bit is unknown.
 1998-2013 Microchip Technology Inc.
DS30289C-page 25