PIC16F684-ISL

Manufacturer Part NumberPIC16F684-ISL
ManufacturerMicrochip Technology Inc.
PIC16F684-ISL datasheets
 


Specifications of PIC16F684-ISL

CaseN/ANotesNEW
Date_code11+  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Page 51
52
Page 52
53
Page 53
54
Page 54
55
Page 55
56
Page 56
57
Page 57
58
Page 58
59
Page 59
60
Page 60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
Page 58/164

Download datasheet (3Mb)Embed
PrevNext
PIC16F684
8.1
Comparator Operation
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
-, the output of the comparator
IN
is a digital low level. When the analog input at V
greater than the analog input V
-, the output of the
IN
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.
Note:
To use CIN+ and CIN- pins as analog
inputs, the appropriate bits must be
programmed in the CMCON0 (19h)
register.
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:
OUTPUT STATE VS. INPUT
CONDITIONS
Input Conditions
CINV
V
- > V
+
0
IN
IN
V
- < V
+
0
IN
IN
V
- > V
+
IN
IN
1
V
- < V
+
1
IN
IN
FIGURE 8-2:
ANALOG INPUT MODEL
Rs < 10K
A
IN
C
PIN
VA
5 pF
Legend: C
PIN
V
T
I
LEAKAGE
R
IC
R
S
VA
DS41202C-page 56
FIGURE 8-1:
V
+
IN
+ is less
IN
V
-
IN
+ is
IN
V
-
IN
V
IN–
V
+
IN
V
IN+
Output
Output
8.2
Analog Input Connection
Considerations
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
. The analog input, therefore, must be between
SS
V
and V
SS
DD
range by more than 0.6V in either direction, one of the
CxOUT
diodes is forward biased and a latch-up may occur. A
0
maximum source impedance of 10 k is recommended
for the analog sources. Any external component
1
connected to an analog input pin, such as a capacitor
1
or a Zener diode, should have very little leakage
0
current.
Note 1: When reading the PORT register, all pins
configured as analog inputs will read as a
‘0’. Pins configured as digital inputs will
convert as analog inputs according to the
input specification.
2: Analog levels on any pin defined as a
digital input may cause the input buffer to
consume more current than is specified.
V
DD
V
= 0.6V
T
Leakage
V
= 0.6V
T
±500 nA
Vss
= Input Capacitance
= Threshold Voltage
= Leakage Current at the pin due to various junctions
= Interconnect Resistance
= Source Impedance
= Analog Voltage
Preliminary
SINGLE COMPARATOR
+
Output
. If the input voltage deviates from this
R
IC
 2004 Microchip Technology Inc.
DD