When using FOSC as the clock source (ADCON0.CS = 0
) and any
clock divider setting other than FOSC/2 is selected, the ADGO bit remains set
and the conversion does not complete.
Method 1:
When using FOSC as the clock source (ADCON0.CS = 0
),
clear the ADCLK register value to zero (ADCLK.CS = 0
) and ensure
that the FOSC frequency does not violate any timing requirements for the
ADC.
Method 2:
Use ADCRC as the clock source (ADCON0.CS = 1
).
A2 | A3 |
X | X |