Hello!
I am going to use the ADS1256 sigma-delta ADC in my applications. While I was examining data sheet of ADS1256 I found something that was confused me. It is about ideal output code calculation on page 23 under chapter DATA FORMAT.
Why are you calculate LSB as like as 2*VREF/(2^(n-1) - 1)? Is it usual to calculate LSB as like as 2*VREF/(2^(n-1)) as like as used in application note SBAA133? (I assume PGA=1 in order to have simpler calculation)
You said that ADC produced output code 0x800000 when input voltage is less or equal -2*VREF*(2^23)/(2^23 - 1). Lets assume that we have 2.5V at VREF input.
According equation -2*VREF*(2^23)/(2^23 - 1) it is -5.000000596V. How ADC can measure less than -5V because 596nV is not equal to 1/2 LSB?
I have looked in data sheet of ADS1241, there is also 2*VREF/(2^(n-1) - 1).
Let assueme that we have same ADC but with only 4 bits resolution. For me, corect value of LSB will be 2*VREF/(2^(n-1) )=2*2.5/8=0.625V.
The lowest negative value will be -5V for code 0x8(0b1000) and the highest positive value will be 4.375V for 0x7 (0b0111).
Please, comment this kindly.
Best regards,
Josko