AD1CO3Nbits.ADCS = 63, and Fosc = 14.783 Mhz, and PLL is used. ADC is using system clock.
AD1CON3bits.SAMC = 17;
what is the TAD selected?
What is the time allocated for auto sampling?
TAD = (ADCS + 1) * 2 * (1 / Fosc)
TAD = (63 + 1) * 2 * (1 / 14.783 MHz)
TAD = 8.64 microseconds
The time allocated for auto sampling is SAMC * TAD
Time allocated = 17 * 8.64 microseconds
Time allocated = 146.88 microseconds