Hi Prateek, The configuration settings are ok. The differential measurement you are making is across the the 10k resistor and not the 2k pot. So the voltage to be expected would be much larger the 0.41V. The voltage across the divider would be 2.50V*(10k/12k) which would be 2.083V. The code being returned (6990303) would be multiplied times the voltage value of 1 code (LSB) which is determined by +/-2.5V(2^24). This results in a calculated value of 2.083V. So you are getting back what you should expect, but you are using the wrong calculations. Best regards, Bob B
↧