English
Language : 

PIC16F627A Datasheet, PDF (101/168 Pages) Microchip Technology – FLASH-Based 8-Bit CMOS Microcontrollers
PIC16F627A/628A/648A
14.4.5 TIME OUT SEQUENCE
On power-up the time out sequence is as follows: First
PWRT time out is invoked after POR has expired. Then
OST is activated. The total time out will vary based on
oscillator configuration and PWRTE bit STATUS. For
example, in RC mode with PWRTE bit set (PWRT dis-
abled), there will be no time out at all. Figure 14-8,
Figure 14-9 and Figure 14-10 depict time out
sequences.
Since the time outs occur from the POR pulse, if MCLR
is kept low long enough, the time outs will expire. Then
bringing MCLR high will begin execution immediately
(see Figure 14-9). This is useful for testing purposes or
to synchronize more than one PIC16F627A/628A/
648A device operating in parallel.
Table 14-6 shows the RESET conditions for some spe-
cial registers, while Table 14-7 shows the RESET con-
ditions for all the registers.
14.4.6 POWER CONTROL (PCON) STATUS
REGISTER
The power control/STATUS register, PCON (address
8Eh) has two bits.
Bit0 is BOR (Brown-out Reset). BOR is unknown on
Power-on-Reset. It must then be set by the user and
checked on subsequent RESETS to see if BOR = 0
indicating that a brown-out has occurred. The BOR
STATUS bit is a don’t care and is not necessarily
predictable if the brown-out circuit is disabled (by
setting BOREN bit = 0 in the Configuration word).
Bit1 is POR (Power-on Reset). It is a ‘0’ on Power-on
Reset and unaffected otherwise. The user must write a
‘1’ to this bit following a Power-on Reset. On a subse-
quent RESET if POR is ‘0’, it will indicate that a Power-
on Reset must have occurred (VDD may have gone too
low).
TABLE 14-3: TIME OUT IN VARIOUS SITUATIONS
Oscillator Configuration
XT, HS, LP
RC, EC
INTOSC
Power-up
PWRTEN = 0
72 ms +
1024•TOSC
72 ms
72 ms
PWRTEN = 1
1024•TOSC
—
—
Brown-out Reset
PWRTEN = 0
72 ms +
1024•TOSC
72 ms
72 ms
PWRTEN = 1
1024•TOSC
—
—
Wake-up
from SLEEP
1024•TOSC
—
6 µs
TABLE 14-4: STATUS/PCON BITS AND THEIR SIGNIFICANCE
POR
BOR
TO
PD
Condition
0
X
1
1
Power-on Reset
0
X
0
X
Illegal, TO is set on POR
0
X
X
0
Illegal, PD is set on POR
1
0
X
X
Brown-out Reset
1
1
0
u
WDT Reset
1
1
0
0
WDT Wake-up
1
1
u
u
MCLR Reset during normal operation
1
1
1
0
Legend: u = unchanged, x = unknown.
MCLR Reset during SLEEP
 2002 Microchip Technology Inc.
Preliminary
DS40044A-page 99