Hi Hank,
I had a ton of trouble with the A/D with these chips. Turns out the Erata points at a big problem. http://ww1.microchip.com/downloads/e...Doc/80502C.pdf
You can't use the a/d as you normally would. I had to write a few lines of code to grab the a/d data (not using ADCIN), that included a pause to wait long enough for the a/d to complete. That is because the chip does not give valid data for the done bit.
In my opinion, this makes the chip kind of broken! But there are some cool aspects of the chip that make it nice to use in some projects. I wish they would tell you this in the data sheet, not just the erata. Maybe right under the analog to digital section of the data sheet, say something like "Oh by the way, you can't use the a/d like we said you could ..... and not like the way you use it in any of our other products". But maybe that's just me. I suppose the marketing department sent that back for editing.
Walter
Bookmarks