Yes, thanks... Now it works... I had to configure properly the bits in ADCON1.
My mistake was to think that, using the CONFIG, it was automatically done...

stefano