PIC16F87-I/SO Microchip Technology, PIC16F87-I/SO Datasheet - Page 125
![IC MCU FLASH 4KX14 EEPROM 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16F87-I/SO
Manufacturer Part Number
PIC16F87-I/SO
Description
IC MCU FLASH 4KX14 EEPROM 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F818-ISO.pdf
(6 pages)
4.PIC16F87-IP.pdf
(228 pages)
5.PIC16F87-IP.pdf
(8 pages)
6.PIC16F87-IP.pdf
(4 pages)
7.PIC16F87-IP.pdf
(8 pages)
8.PIC16F87-IP.pdf
(24 pages)
9.PIC16F88-ISO.pdf
(214 pages)
Specifications of PIC16F87-I/SO
Program Memory Type
FLASH
Program Memory Size
7KB (4K x 14)
Package / Case
18-SOIC (7.5mm Width)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
368 B
Interface Type
SSP/USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA12XP080 - ADAPTER DEVICE FOR MPLAB-ICE
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F87-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
13.2
A single comparator is shown in Figure 13-2, along with
the relationship between the analog input levels and
the digital output. When the analog input at V
than the analog input V
is a digital low level. When the analog input at V
greater than the analog input V
comparator is a digital high level. The shaded areas of
the output of the comparator in Figure 13-2 represent
the uncertainty due to input offsets and response time.
13.3
An external or internal reference signal may be used
depending on the comparator operating mode. The
analog signal present at V
at V
adjusted accordingly (Figure 13-2).
FIGURE 13-2:
13.3.1
When external voltage references are used, the
comparator module can be configured to have the com-
parators operate from the same, or different reference
sources. However, threshold detector applications may
require the same reference. The reference signal must
be between V
pin of the comparator(s).
2003 Microchip Technology Inc.
Output
V
V
Output
IN
IN
V
V
IN
IN–
IN+
-
+
+, and the digital output of the comparator is
V
V
IN
IN
Comparator Operation
Comparator Reference
+
-
EXTERNAL REFERENCE SIGNAL
SS
and V
+
–
SINGLE COMPARATOR
IN
DD
-, the output of the comparator
, and can be applied to either
IN
- is compared to the signal
IN
-, the output of the
Output
IN
+ is less
IN
+ is
Preliminary
13.3.2
The comparator module also allows the selection of an
internally
comparators. Section 14.0 “Comparator Voltage
Reference Module” contains a detailed description of
the Comparator Voltage Reference module that pro-
vides this signal. The internal reference signal is used
when comparators are in mode CM<2:0> = 110
(Figure 13-1). In this mode, the internal voltage
reference is applied to the V
comparators.
13.4
Response time is the minimum time, after selecting a
new reference voltage or input source, before the
comparator output has a valid level. If the internal
reference is changed, the maximum delay of the inter-
nal voltage reference must be considered when using
the comparator outputs. Otherwise, the maximum
delay of the comparators should be used (Section 18.0
“Electrical Characteristics”).
13.5
The comparator outputs are read through the CMCON
register. These bits are read only. The comparator
outputs may also be directly output to the RA3 and RA4
I/O pins. When enabled, multiplexors in the output path
of the RA3 and RA4 pins will switch and the output of
each pin will be the unsynchronized output of the com-
parator. The uncertainty of each of the comparators is
related to the input offset voltage and the response time
given in the specifications. Figure 13-3 shows the
comparator output block diagram.
The TRISA bits will still function as an output enable/
disable for the RA3 and RA4 pins while in this mode.
The polarity of the comparator outputs can be changed
using the C2INV and C1INV bits (CMCON<4:5>).
Note 1: When reading the PORT register, all pins
2: Analog levels, on any pin defined as a
Comparator Response Time
Comparator Outputs
generated
INTERNAL REFERENCE SIGNAL
configured as analog inputs will read as a
‘0’. Pins configured as digital inputs will
convert an analog input, according to the
Schmitt Trigger input specification.
digital input, may cause the input buffer to
consume more current than is specified.
PIC16F87/88
voltage
reference
DS30487B-page 123
IN
+ pin of both
for
the