PIC18F2682-I/PT MICROCHIP [Microchip Technology], PIC18F2682-I/PT Datasheet - Page 263

no-image

PIC18F2682-I/PT

Manufacturer Part Number
PIC18F2682-I/PT
Description
28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
20.9
A simplified circuit for an analog input is shown in
Figure 20-4. Since the analog pins are connected to a
digital output, they have reverse biased diodes to V
and V
V
FIGURE 20-4:
TABLE 20-1:
© 2007 Microchip Technology Inc.
CMCON
CVRCON
INTCON
IPR2
PIR2
PIE2
PORTA
LATA
TRISA
Legend: — = unimplemented, read as ‘0’. Shaded cells are unused by the comparator module.
Note 1:
SS
Name
and V
SS
2:
3:
. The analog input, therefore, must be between
Analog Input Connection
Considerations
(3)
(3)
DD
PORTA pins are enabled based on oscillator configuration.
These bits are available in PIC18F4682/4685 devices and reserved in PIC18F2682/2685 devices.
These registers are unimplemented on PIC18F2682/2685 devices.
. If the input voltage deviates from this
VA
GIE/GIEH PEIE/GIEL TMR0IE
TRISA7
LATA7
OSCFIP
OSCFIF
OSCFIE
CVREN
C2OUT
RA7
Bit 7
REGISTERS ASSOCIATED WITH COMPARATOR MODULE
R
(1)
S
Legend:
(1)
(1)
< 10k
COMPARATOR ANALOG INPUT MODEL
TRISA6
A
LATA6
CVROE
CMIP
CMIF
CMIE
C1OUT
RA6
IN
Bit 6
C
V
I
R
R
VA
(1)
C
5 pF
LEAKAGE
(2)
(2)
(2)
T
(1)
PIN
IC
S
(1)
PIN
LATA Data Output Register
PORTA Data Direction Register
C2INV
CVRR
Bit 5
RA5
= Input Capacitance
= Threshold Voltage
= Leakage Current at the pin due to various junctions
= Interconnect Resistance
= Source Impedance
= Analog Voltage
PIC18F2682/2685/4682/4685
CVRSS
INT0IE
Preliminary
C1INV
EEIP
EEIE
DD
V
Bit 4
EEIF
RA4
DD
V
V
T
T
= 0.6V
= 0.6V
BCLIP
BCLIF
BCLIE
CVR3
RBIE
Bit 3
RA3
range by more than 0.6V in either direction, one of the
diodes is forward biased and a latch-up condition 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 current.
CIS
TMR0IF
HLVDIP
HLVDIE
HLVDIF
I
±500 nA
V
CVR2
LEAKAGE
Bit 2
CM2
RA2
SS
R
TMR3IP
TMR3IE
TMR3IF
INT0IF
IC
CVR1
Bit 1
CM1
RA1
ECCP1IP
ECCP1IF
ECCP1IE
CVR0
RBIF
Bit 0
CM0
Comparator
Input
RA0
DS39761B-page 261
(2)
(2)
(2)
on page
Values
Reset
51
51
52
51
52
52
52
52
52

Related parts for PIC18F2682-I/PT