Thanks for your help.

Actually I'm using the code from post #3. (with pbp adcin). But I will certainly investigate the ADC special features of this PIC.

I've actually switched from 18F4620 to 18F4331 mainly because of the REALLY NICE QEI module. But if I've read the datasheet correctly we can't use the 4x PLL with the internal clock?

J-P