PIC16F916-I/SP Microchip Technology Inc., PIC16F916-I/SP Datasheet - Page 97
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F916-I/SP
Manufacturer Part Number
PIC16F916-I/SP
Description
28 PIN, 14 KB FLASH, 352 RAM, 25 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F916-ISP.pdf
(272 pages)
Specifications of PIC16F916-I/SP
A/d Inputs
5-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
25
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SPDIP
Programmable Memory
14K Bytes
Ram Size
352 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
Company:
Part Number:
PIC16F916-I/SP
Manufacturer:
Microchip Technology
Quantity:
1 800
Company:
Part Number:
PIC16F916-I/SP
Manufacturer:
JST
Quantity:
4 300
- Current page: 97 of 272
- Download datasheet (5Mb)
8.3
There are eight modes of operation for the comparators.
The CMCON0 register is used to select these modes.
Figure 8-3 shows the eight possible modes.
FIGURE 8-3:
© 2005 Microchip Technology Inc.
Legend:
A = Analog Input, port reads zeros always.
Comparators Reset (POR Default Value)
CM<2:0> = 000
Two Independent Comparators
CM<2:0> = 100
Two Common Reference Comparators
CM<2:0> = 011
One Independent Comparator with Reference Option
CM<2:0> = 101
RA0/AN0/
C1-/SEG12
RA3/AN3/
C1+/V
SEG15
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
COM2
RA0/AN0/
C1-/SEG12
RA3/AN3/
C1+/V
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
RA0/AN0/
C1-/SEG12
RA3/AN3/
C1+/V
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
RA0/AN0/
C1-/SEG12
RA3/AN3/
C1+/V
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
REF
REF
REF
REF
REF
REF
REF
REF
Comparator Configuration
+/
-/
+/SEG15
-/COM2
+/SEG15
-/COM2
+/SEG15
-/COM2
A
A
D
D
A
A
A
Internal 0.6V reference
A
D
A
A
A
A
A
A
A
A
CIS = 0
CIS = 1
COMPARATOR I/O OPERATING MODES
V
V
IN
IN
V
V
V
V
V
V
-
+
V
V
V
V
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
V
V
-
+
-
+
V
V
IN
IN
IN
IN
C1
-
+
-
+
C2
C1
C2
C1
C2
C1
C2
Off (Read as ‘0’)
Off (Read as ‘0’)
C1OUT
C2OUT
C1OUT
C2OUT
Off (Read as ‘0’)
C2OUT
RA5
D = Digital Input.
Preliminary
PIC16F917/916/914/913
Two Common Reference Comparators with Outputs
CM<2:0> = 110
Comparators Off
CM<2:0> = 111
Four Inputs Multiplexed to Two Comparators
CM<2:0> = 010
Three Inputs Multiplexed to Two Comparators
CM<2:0> = 001
RA0/AN0/
C1-/SEG12
RA3/AN3/
C1+/V
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
RA0/AN0/
C1-/SEG12
RA3/AN3/
C1+/V
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
RA0/AN0/
C1-/SEG12
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
RA0/AN0/
C1-/SEG12
RA3/AN3/
C1+/V
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
If the Comparator mode is changed, the comparator
output level may not be valid for the specified mode
change delay shown in Section 19.0 “Electrical
Specifications”.
Note:
REF
REF
REF
REF
REF
REF
REF
CIS (CMCON0<3>) is the computer Input Switch.
+/SEG15
-/COM2
+/SEG15
-/COM2
-/COM2
+/SEG15
-/COM2
Comparator interrupts should be disabled
during a Comparator mode change.
Otherwise, a false interrupt may occur.
A
A
A
A
A
A
A
A
A
A
A
D
D
D
D
CIS = 0
CIS = 1
CIS = 0
CIS = 1
V
V
V
V
CIS = 0
CIS = 1
V
V
V
V
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
-
+
C1
C2
C1
C2
V
V
V
V
V
V
V
V
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
-
+
From CV
C1
C2
DS41250E-page 95
C1OUT
C2OUT
C1
C2
Off (Read as ‘0’)
Off (Read as ‘0’)
RA4
RA5
REF
C1OUT
C2OUT
C2OUT
C1OUT
Module
Related parts for PIC16F916-I/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F916-I/SO](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
28 PIN, 14 KB FLASH, 352 RAM, 25 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC16F1826-I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SOIC-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, DIP-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/MV](/photos/12/13/121305/c04-152_mv_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/MV](/photos/12/13/121305/c04-152_mv_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F727-E/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 20MHZ, DIP-40
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/MQ](/photos/18/99/189937/4243194_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-20/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 20MHZ, MQFP-44
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F690-E/ML](/photos/6/64/66481/c04-126_ml_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 20MHZ, QFN-20
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/MQ](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1526-I/PT](/photos/16/3/160367/tqfp-64_tmb.jpg)
Part Number:
Description:
MCU 14KB FLASH 768B RAM 64-TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-E/MQ](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
7 KB Flash, 384 Bytes RAM, 32 MHz Int. Osc, 16 I/0, Enhanced Mid Range Core, Low
Manufacturer:
Microchip Technology