Found something ... BUT ...
Hi,
I finally found something ...
I used AN0 to AN2 ... and AN3 for external reference.
Innocently ... I had declared AN3 as analog in the ADCON1 register.
Looking closer to the Datasheet ... The reference DO NOT use the ADC multiplexer path.
So, I declared AN3 as digital ...
AND The right AN2 value re-appeared !!!
BUT that is because I do not use AN's inputs greater than 2 ... I would have to valid AN3 as Analog if using AN4 ...
So problem is still here.
I Just found a Turnaround ...
Alain