PIC16F88-I/SO Microchip Technology Inc., PIC16F88-I/SO Datasheet - Page 124

no-image

PIC16F88-I/SO

Manufacturer Part Number
PIC16F88-I/SO
Description
18 PIN, 7 KB FLASH, 368 RAM, 16 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F88-I/SO

A/d Inputs
7-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
16
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
18-pin SOIC
Programmable Memory
7K Bytes
Ram Size
368 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F88-I/SO
Manufacturer:
ROHM
Quantity:
15 000
Part Number:
PIC16F88-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F88-I/SO
0
PIC16F87/88
13.1
There are eight modes of operation for the compara-
tors. The CMCON register is used to select these
modes. Figure 13-1 shows the eight possible modes.
The TRISA register controls the data direction of the
comparator pins for each mode. If the Comparator
mode is changed, the comparator output level may not
be valid for the specified mode change delay shown in
Section 18.0 “Electrical Characteristics”.
FIGURE 13-1:
DS30487C-page 122
Comparators Reset
CM2:CM0 = 000
Two Independent Comparators
CM2:CM0 = 100
Two Common Reference Comparators
CM2:CM0 = 011
One Independent Comparator
CM2:CM0 = 101
A = Analog Input, port reads zeros always.
D = Digital Input.
CIS (CMCON<3>) is the Comparator Input Switch.
RA0/AN0
RA3/AN3/
C1OUT
RA1/AN1
RA2/AN2/
CV
RA0/AN0
RA3/AN3/
C1OUT
RA1/AN1
RA2/AN2/
CV
RA0/AN0
RA3/AN3/
C1OUT
RA1/AN1
RA2/AN2/
CV
RA0/AN0
RA3/AN3/
C1OUT
RA1/AN1
RA2/AN2/
CV
REF
REF
REF
REF
Comparator Configuration
A
A
A
A
A
A
A
A
A
D
A
A
D
D
A
A
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
COMPARATOR I/O OPERATING MODES
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
C1
C2
C1
C2
C1
C2
C1
C2
Off
Off
C1OUT
C2OUT
C1OUT
C2OUT
Off
C2OUT
(Read as ‘0’)
(Read as ‘0’)
(Read as ‘0’)
Two Common Reference Comparators with Outputs
CM2:CM0 = 110
RA4/T0CKI/C2OUT
Comparators Off (POR Default Value)
CM2:CM0 = 111
Four Inputs Multiplexed to Two Comparators
CM2:CM0 = 010
Three Inputs Multiplexed to Two Comparators
CM2:CM0 = 001
RA0/AN0
RA3/AN3/
C1OUT
RA1/AN1
RA2/AN2/
CV
RA0/AN0
RA3/AN3/
C1OUT
RA1/AN1
RA2/AN2/
CV
RA0/AN0
RA3/AN3/
C1OUT
RA1/AN1
RA2/AN2/
CV
RA0/AN0
RA3/AN3/
C1OUT
RA1/AN1
RA2/AN2/
CV
Note:
REF
REF
REF
REF
A
D
A
A
D
D
D
D
A
A
A
A
A
A
A
A
Comparator interrupts should be disabled
during a Comparator mode change;
otherwise, a false interrupt may occur.
V
V
V
V
V
V
V
V
CIS = 0
CIS = 1
CIS = 0
CIS = 1
CIS = 0
CIS = 1
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
-
+
C1
C2
 2005 Microchip Technology Inc.
C1
C2
V
V
V
V
V
V
V
V
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
-
+
C1OUT
C2OUT
Off
Off
C1
C2
C1
C2
From V
(Read as ‘0’)
(Read as ‘0’)
REF
C1OUT
C2OUT
C1OUT
C2OUT
Module

Related parts for PIC16F88-I/SO