PIC16F946T-I/PT Microchip Technology, PIC16F946T-I/PT Datasheet - Page 98

Microcontroller

PIC16F946T-I/PT

Manufacturer Part Number
PIC16F946T-I/PT
Description
Microcontroller
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F946T-I/PT

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
336 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TFQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MA160011 - DAUGHTER BOARD PICDEM LCD 16F91X
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F946T-I/PT
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16F946T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16F946
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:
DS41265A-page 96
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 = Analog Voltage
-, the output of the comparator
LEAKAGE
T
PIN
IC
S
A
IN
= Input Capacitance
= Threshold Voltage
= Interconnect Resistance
= Source Impedance
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 PIC16F946T-I/PT