PIC16F870/871
DS30569A-page 94 Preliminary
1999 Microchip Technology Inc.
11.4 Power-On Reset (POR)
A Power-on Reset pulse is generated on-chip when
V
DD rise is detected (in the range of 1.2V - 1.7V). To
take advantage of the POR, tie the MCLR
pin directly
(or through a resistor) to V
DD. This will eliminate exter-
nal RC compone nts u sua ll y n ee ded to create a P oweron Reset. A maximum rise time for VDD is specified.
See Electrical Specifications for details.
When the device starts normal operation (exits the
reset condition), device operating param ete rs (voltage,
frequency , te mperature ,...) must be met t o ensure operation. If these conditions are not met, the device must
be held in reset until the operating conditions are met.
Brown-out Reset may be used to meet the start-up conditions. For additional information, refer to Application
Note, AN007, “Power-up Trouble Shooting”,
(DS00007).
11.5 Power-up Timer (PWRT)
The Power-up Timer provides a fixed 72 ms nominal
time-out on power-up only from the POR. The Powerup Timer operates on an internal RC oscillator. The
chip is kept in re set a s long as th e PWR T i s act iv e . The
PWRT’s time delay allows V
DD to rise to an acceptable
level. A configuration bit is provided to enable/disable
the PWRT.
The power-up time de la y will v ary from chip to chip due
to V
DD, temperature and process variation. See DC
parameters for details (T
PWRT, parameter #33).
11.6 Oscillator Start-up Timer (OST)
The Oscillator Start-up Timer (OST) provides 1024
oscillator cycle (from OSC1 input) delay after the
PWRT dela y is o v er. This ensures that t he crystal oscillator or resonator has started and stabilized.
The OST time-out is invoked only for XT, LP and HS
modes and only on Power-on Reset or wake-up from
SLEEP.
11.7 Brown-Out Reset (BOR)
The configuration b it, BODEN, ca n enable or di sable
the Brown-out Reset cir cuit. If V
DD falls below VBOR
(parameter D005, about 4V) for longer than TBOR
(parameter #35, a bout 100µS), the brown-out si tuation will reset the device. If V
DD falls below VBOR for
less than T
BOR, a reset may not occur.
Once the brown-out occu rs, the device will rem ain in
brown-out reset until V
DD rises above VBOR. The
power-up timer then keeps the device in reset for
TPWRT (parameter #33, about 72mS). If VDD should
fall below V
BOR during TPWRT, the brown-out reset
process will restar t when V
DD rises above VBOR with
the power-up timer reset. The power-up timer is
always enabled when the brown-out reset circuit is
enabled regardless of the state of the PWRT configuration bit.
11.8 Time-out Sequence
On power-up, the time-out sequence is as follows: The
PWRT delay starts (if enabled) when a POR reset
occurs. Then OST starts counting 1024 oscillator
cycles when PWRT ends (LP, XT, HS). When the OST
ends, the device comes out of RESET.
If MCLR
is kept low long enough, the time-outs will
expire. Bringing MCLR
high will begin execution im m e-
diately . This is useful f or testing pu rposes or to synchronize more than one PIC16CXX device operating in
parallel.
Table 11-5 shows the reset conditions for the STATUS,
PCON and PC registers, while Table 11-6 shows the
reset conditions for all the registers.
11.9 P ower Control/Status Register
(PCON)
The Power Control/Status Register, PCON, has up to
two bits depending upon the device.
Bit0 is Brown-out Reset Status bit, BOR
. Bit BOR is
unknown on a Power-on Reset. It must then be set by
the user and ch eck ed o n subse quent res ets to s ee if b it
BOR
cleared, indicating a BOR occurred. The BOR bit
is a "don’t care" bit and is not nece ssarily predic tabl e if
the Brown-out Reset circuitry is disabled (by clearing
bit BODEN in the Configuration Word).
Bit1 is POR
(Power-on Reset Status bit). It is cleared on
a Power-on Reset and unaffected otherwise. The user
must set this bit following a Power-on Reset.