Hello everyone ..

For a long time I've been struggling with these settings ... When one would like to perform an ADC reading what kind of settings he must add into his code ?

As far as I read the datasheet of 16F1827 , I see the following details about this setting

Code:
ADCS<2:0>:A/D Conversion Clock Select bits
000=FOSC/2
001=FOSC/8
010=FOSC/32
011=FRC(clock supplied from a dedicated RC oscillator)
100=FOSC/4
101=FOSC/16
110=FOSC/64
111=FRC(clock supplied from a dedicated RC oscillator)
So , If I'm running my PIC at 32 MHZ internal oscillator , the setting should be 011 or 010 ?

and the SECOND QUESTION :

What is the maximum ADC conversion time at 32MHZ for the PIC16F1827 ...
When I look at the conversion tables that Microchip has published for this PIC , I can't understand which is the exact time at the selected OSC frequency that takes for a complete ADC conversion time ..

Thanks in advance ...