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

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
PIC16F917/916/914/913
8.1
A single comparator is shown in Figure 8-1 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 8-1 represent
the uncertainty due to input offsets and response time.
The polarity of the comparator output can be inverted
by setting the CxINV bits (CMCON0<5:4>). Clearing
CxINV results in a non-inverted output. A complete
table showing the output state versus input conditions
and the polarity bit is shown in Table 8-1.
TABLE 8-1:
FIGURE 8-2:
DS41250E-page 94
Note:
Input Conditions
V
V
V
V
IN
IN
IN
IN
Comparator Operation
To use CIN+ and CIN- pins as analog
inputs, the appropriate bits must be
programmed in the CMCON0 (9Ch)
register.
- > V
- < V
- > V
- < V
VA
Legend: C
IN
IN
IN
IN
Rs < 10K
+
+
+
+
OUTPUT STATE VS. INPUT
CONDITIONS
IN
ANALOG INPUT MODEL
V
I
R
R
VA
-, the output of the comparator
LEAKAGE
T
PIN
IC
S
A
IN
= Input Capacitance
= Threshold Voltage
= Interconnect Resistance
= Source Impedance
= Analog Voltage
CINV
= Leakage Current at the pin due to various junctions
IN
C
5 pF
0
0
1
1
PIN
-, the output of the
CxOUT
IN
+ is less
0
1
1
0
IN
+ is
Preliminary
V
DD
V
V
T
T
= 0.6V
= 0.6V
FIGURE 8-1:
8.2
A simplified circuit for an analog input is shown in
Figure 8-2. Since the analog pins are connected to a
digital output, they have reverse biased diodes to V
and V
V
range by more than 0.6V in either direction, one of the
diodes is forward biased and a latch-up may occur. A
maximum source impedance of 10 k is recommended
for the analog sources. Any external component
connected to an analog input pin, such as a capacitor
or a Zener diode, should have very little leakage.
SS
Output
V
V
Output
IN
V
IN
V
IN–
IN+
and V
-
+
SS
V
V
IN
IN
. The analog input, therefore, must be between
Analog Input Connection
Considerations
Leakage
±500 nA
Vss
+
-
DD
. If the input voltage deviates from this
R
IC
+
SINGLE COMPARATOR
© 2005 Microchip Technology Inc.
Output
DD

Related parts for PIC16F913-I/SP