I am having problems with this ADC. Here is the datasheet:
http://ww1.microchip.com/downloads/en/DeviceDoc/22072a.pdf
I connected it in Single-Ended Input, so I have 15-bits from 0v (0x0000) to 2.048v (0x7FFF).
According to the page 8 of the datasheet, the output code is (max code + 1)*((Vin+ - Vin-)/2.048)
So if I measure 0.994v (Vin+ - Vin-) I should get 15904 (decimal), but I get 7957 instead. This rule of the "half part" is always true.
Any idea of what I am doing wrong?
Thank you.