Selecting the A/D Conversion
The A/D conversion time per bit is defined as T
A/D conversion requires a minimum 12 T
conversion. The source of the A/D conversion clock is
software selected. The seven possible options for T
• 2 T
• 4 T
• 8 T
• 16 T
• 32 T
• 64 T
• Internal A/D module RC oscillator (2-6 s)
For correct A/D conversions, the A/D conversion clock
) must be selected to ensure a minimum T
of 1.6 s.
Table 11-1 shows the resultant T
times derived from
the device operating frequencies and the A/D clock
vs. MAXIMUM DEVICE OPERATING FREQUENCIES (STANDARD DEVICES (F))
AD Clock Source (T
(1, 2, 3)
The RC source has a typical T
When the device frequencies are greater than 1 MHz, the RC A/D conversion clock source is only
recommended for Sleep operation.
For extended voltage devices (LF), please refer to Section 17.0 “Electrical Characteristics”.
2001-2013 Microchip Technology Inc.
Configuring Analog Port Pins
The ADCON1 and TRIS registers control the operation
of the A/D port pins. The port pins that are desired as
analog inputs must have their corresponding TRIS bits
set (input). If the TRIS bit is cleared (output), the digital
output level (V
The A/D operation is independent of the state of the
CHS2:CHS0 bits and the TRIS bits.
Note 1: When reading the port register, any pin
configured as an analog input channel will
read as cleared (a low level). Pins config-
ured as digital inputs will convert an analog
input. Analog levels on a digitally config-
ured input will not affect the conversion
2: Analog levels on any pin that is defined as
a digital input (including the AN7:AN0
pins) may cause the input buffer to con-
sume current that is out of the device
time of 4 s but can vary between 2-6 s.
) will be converted.
Maximum Device Frequency