Ok, tried increasing the acquisition time up to 1000us - no help. Then checked the voltage with PC-scope. Input voltage to PIC is stable (also used as Vref), and the ripple on the output from op.amp. is just a few percent, nothing like the error readings in the AD. Still looks like there is a configuration problem in my software?
Bookmarks