Hi,
I have a circuit like below:
The input range is 1 to 3V, I intended to use single-ended. Since I have only a positive signal, I connected the -IN pin to GND.
But when I tested I found that I have to do "4 * " to get the reading to match the input:
For example: if I have 1V at input:
I got adcRawValue = 0x0a5f, voltage = adcRawValue * 3V / 2^15 = 0.243079931
But if I do voltage = 4 * adcRawValue * 3V / 2^15 = 4* 0.243079931 =0.972319722
Could you please let me know if I have anything wrong with the circuit? Must the IC have a common-mode voltage at the input?
Thanks and regards,
Jenny