PIC16F870-E/SO Microchip Technology, PIC16F870-E/SO Datasheet - Page 94
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC16F870-E/SO
Manufacturer Part Number
PIC16F870-E/SO
Description
28 PIN, 3.5KB ENH FLASH, 128 RAM, 22 I/O,
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F870-ISO.pdf
(172 pages)
4.PIC16F870-ISO.pdf
(6 pages)
Specifications of PIC16F870-E/SO
Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
I3-DB16F871 - BOARD DAUGHTER ICEPIC3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC16F870/871
11.4
A Power-on Reset pulse is generated on-chip when
V
take advantage of the POR, tie the MCLR pin directly
(or through a resistor) to V
external RC components usually needed to create a
Power-on Reset. A maximum rise time for V
specified. See Electrical Specifications for details.
When the device starts normal operation (exits the
RESET condition), device operating parameters (volt-
age, frequency, temperature,...) must be met to 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
The Power-up Timer provides a fixed 72 ms nominal
time-out on power-up only from the POR. The Power-
up Timer operates on an internal RC oscillator. The
chip is kept in RESET as long as the PWRT is active.
The PWRT’s time delay allows V
acceptable level. A configuration bit is provided to
enable/disable the PWRT.
The power-up time delay will vary from chip to chip due
to V
parameters for details (T
11.6
The Oscillator Start-up Timer (OST) provides a delay of
1024 oscillator cycles (from OSC1 input) after the
PWRT delay is over (if PWRT is enabled). This helps to
ensure that the 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.
TABLE 11-3:
DS30569B-page 92
XT, HS, LP
RC
DD
Configuration
DD
Oscillator
rise is detected (in the range of 1.2V - 1.7V). To
, temperature and process variation. See DC
Power-on Reset (POR)
Power-up Timer (PWRT)
Oscillator Start-up Timer (OST)
TIME-OUT IN VARIOUS SITUATIONS
72 ms + 1024 T
PWRT
PWRTEN = 0
72 ms
, parameter #33).
DD
. This will eliminate
DD
Power-up
OSC
to rise to an
PWRTEN = 1
DD
1024 T
is
—
OSC
11.7
The configuration bit, BOREN, can enable or disable
the Brown-out Reset circuit. If V
(parameter D005, about 4V) for longer than T
(parameter #35, about 100 S), the brown-out situation
will reset the device. If V
than T
Once the brown-out occurs, the device will remain in
Brown-out Reset until V
Power-up Timer then keeps the device in RESET for
T
below V
cess will restart when V
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
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 imme-
diately. This is useful for testing purposes or to synchro-
nize more than one PIC16F870/871 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
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 checked on subsequent RESETS to see if
bit BOR cleared, indicating a BOR occurred. When the
Brown-out Reset is disabled, the state of the BOR bit is
unpredictable and is, therefore, not valid at any time.
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.
PWRT
72 ms + 1024 T
BOR
(parameter #33, about 72 ms). If V
BOR
Brown-out Reset (BOR)
Time-out Sequence
Power Control/Status Register
(PCON)
Brown-out
, a RESET may not occur.
72 ms
during T
PWRT
OSC
2003 Microchip Technology Inc.
DD
DD
DD
, the Brown-out Reset pro-
rises above V
falls below V
rises above V
Wake-up from SLEEP
DD
1024 T
falls below V
—
DD
BOR
BOR
OSC
should fall
BOR
with the
for less
. The
BOR
BOR