27.1.4 Conversion Clock

The conversion clock source is selected via the ADC Conversion Clock Select (CS) bits. The available clock sources include several derivatives of the system clock (FOSC), as well as a dedicated internal fixed-frequency clock referred to as the ADCRC.

The time to complete one bit conversion is defined as the TAD. Refer to Figure 27-2 for complete timing details of the ADC conversion.

For a correct conversion, the appropriate TAD specification must be met. Refer to the ADC Timing Specifications table in the Electrical Specifications chapter for more details. Table 27-1 gives examples of appropriate ADC clock selections.

Important:
  • With the exception of the ADCRC clock source, any changes in the system clock frequency will change the ADC clock frequency, which may adversely affect the ADC result.
  • The internal control logic of the ADC operates off of the clock selected by the CS bits. When the CS bits select the ADCRC, there may be unexpected delays in operation when setting the ADC control bits.
Table 27-1. ADC Clock Period (TAD) for Different Device Frequencies (FOSC)
ADC Clock Source CS[2:0]ADC Clock Period (TAD) for Different Device Frequencies (FOSC)
32 MHz20 MHz16 MHz8 MHz4 MHz1 MHz
FOSC/2‘b00062.5 ns(2)100 ns(2)125 ns(2)250 ns(2)500 ns(2)2.0 µs
FOSC/4‘b100125 ns(2)200 ns(2)250 ns(2)500 ns(2)1.0 µs4.0 µs
FOSC/8‘b001250 ns(2)400 ns(2)500 ns(2)1.0 µs2.0 µs8.0 µs
FOSC/16‘b101500 ns(2)800 ns(2)1.0 µs2.0 µs4.0 µs16.0 µs(2)
FOSC/32‘b0101.0 µs1.6 µs2.0 µs4.0 µs8.0 µs32.0 µs(2)
FOSC/64‘b1102.0 µs3.2 µs4.0 µs8.0 µs16.0 µs(2)64.0 µs(2)
ADCRC‘bx111.0 - 6.0(1,3)
Note:
  1. Refer to the Electrical Specifications chapter to see the TAD parameter for the ADCRC source typical TAD value.
  2. These values violate the required TAD time.
  3. The ADC clock period (TAD) and the total ADC conversion time can be minimized when the ADC clock is derived from the system clock FOSC. However, the ADCRC oscillator source must be used when conversions are to be performed with the device in Sleep mode.
Figure 27-2. 10-Bit Analog-to-Digital Conversion TAD Cycles