One thing I like about the SARs in the PICs is that they have very well defined, accurate, and sharp transitions between codes. This helps to improve differential nonlinearity greatly when dithering and oversampling. The product has been in production for nearly a year -- and I've shipped thousands of them. They work as advertised.Resolution I understand but to get 16 bit accuracy, the converter has to be 16-bit accurate.
How do you get that from a converter that's only accurate to 12 bits?
Note: the sharp transitions work against you if you don't have enough white noise on the input signal.
I did make one error in my overall description, and it has to do with this comment from the 18F87K90 errata:
One of the channels simply samples a 0V input signal. This is subtracted from the other 3 each sample period. The remaining three signal chains are then accumulated/boxcar'd/fir'd.A/D Offset The A/D may have high offset error, up to a maximum of 50 LSB; it can be used if the A/D is calibrated for the offset.
The errata also notes:
If they're there, I've never seen them.The A/D will meet the Microchip standard A/D specification when used as a 10-bit A/D. When used as a 12-bit A/D, the possible issues include ... high DNL error (up to a maximum of ±4 LSBs) and multiple missing codes (up to a maximum of 20)
No. .asm.@joeyd999
Did you do it in MikroC ?