Other Parts Discussed in Thread: ADS1248
How to convert analog value from digital value
1. I am using internal ref = 2.048V , PGA = 1V & input voltage = +-2.048V.
Since it is 24 bit adc with msb for sign, so I get conversion factor= 2^23 - 1= 8388607.
So when I read +ve input voltage with digital data = 0x002222 = 8738d,
then analog value = 8738 / 8388607 = 1mV around
Similarly for -ve value i.e = 0x802222
then analog value = 0x802222 / 2^23
Is it right way to convert between values