Thanks Charles,

I will to study it. Maybe my problem is ADCON2. I go to read the datasheet again for more details. Thanks again.
And about pins 19 and 20. Do you now if is necessary to conect to VDD and VSS with analog features disable (all pins as diigital I/O)?

Pimentel