So i'm trying to read a small signal of about 500mV (done with potentiometer voltage divider) with the AD7794. The use external reference is 3.3V.
When i let the AD do a single conversion the value is what i expect. When i set the gain to two, i get about double of the first value.
However if i increase the gain any further i don't get correct results.
Below are the measured values, i've added the readout of the config register to confirm the gain is actually set.
Other settings are: buffered, unipolar, refdetect
|ch2,GAIN1: 2465896||Config: 0b0001000000110001|
|ch2,GAIN2: 4927736||Config: 0b0001000100110001|
|ch2,GAIN4: 6097433||Config: 0b0001001000110001|
|ch2,GAIN8: 12050114||Config: 0b0001001100110001|
I expected gain 8 and higher to return full range and an error in the status register, but this doesn't happen.
Any idea what i'm doing wrong?