Datasheet

2003-2013 Microchip Technology Inc. DS30491D-page 447
PIC18F6585/8585/6680/8680
FIGURE 27-25: A/D CONVERSION TIMING
TABLE 27-26: A/D CONVERSION REQUIREMENTS
131
130
132
BSF ADCON0, GO
Q4
A/D CLK
A/D DATA
ADRES
ADIF
GO
SAMPLE
OLD_DATA
SAMPLING STOPPED
DONE
NEW_DATA
(Note 2)
987 21 0
Note 1: If the A/D clock source is selected as RC, a time of T
CY is added before the A/D clock starts. This allows the SLEEP instruction to be
executed.
2: This is a minimal RC delay (typically 100 ns) which also disconnects the holding capacitor from the analog input.
. . .
. . .
TCY
Param.
No.
Symbol Characteristic Min Max Units Conditions
130 T
AD A/D Clock Period PIC18FXX8X 1.6 20
(5)
sTOSC based, VREF 3.0V
PIC18LFXX8X 3.0 20
(5)
sTOSC based, VREF full range
PIC18FXX8X 2.0 6.0 s A/D RC mode
PIC18LFXX8X 3.0 9.0 s A/D RC mode
131 T
CNV Conversion Time
(not including acquisition time) (Note 1)
11 12 TAD
132 TACQ Acquisition Time (Note 3) 15
10
s
s
-40C Temp +125C
0C Temp +125C
135 T
SWC Switching Time from Convert Sample (Note 4)
136 T
AMP Amplifier Settling Time (Note 2) 1—s This may be used if the
“new” input voltage has not
changed by more than 1 LSb
(i.e., 5 mV @ 5.12V) from the
last sampled voltage (as
stated on C
HOLD).
Note 1: ADRES register may be read on the following T
CY cycle.
2: See Section 19.0 “10-bit Analog-to-Digital Converter (A/D) Module” for minimum conditions when input
voltage has changed more than 1 LSb.
3: The time for the holding capacitor to acquire the “New” input voltage when the voltage changes full scale
after the conversion (AV
DD to AVSS, or AVSS to AVDD). The source impedance (RS) on the input channels is
50.
4: On the next Q4 cycle of the device clock.
5: The time of the A/D clock period is dependent on the device frequency and the T
AD clock divider.
18F8680.book Page 447 Tuesday, January 29, 2013 1:32 PM