PIC16F913-I/SP Microchip Technology Inc., PIC16F913-I/SP Datasheet - Page 97

no-image

PIC16F913-I/SP

Manufacturer Part Number
PIC16F913-I/SP
Description
28 PIN, 7 KB FLASH, 352 RAM, 25 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F913-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
7K Bytes
Ram Size
256 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:
PIC16F913-I/SP
Manufacturer:
TI
Quantity:
212
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 PIC16F913-I/SP