Hey Adam,

Thank you for your help. I am scratching my head over the reference voltage. From all the ADCIN samples I have seen, I haven't seen one that says anything about a reference voltage. Is this done by setting a register?
I am reading the datasheet right now to see if I find something about that. My defines are in capital letter in my program.

Javier.