Hello guys
Tell me how to convert output codes od ADS1298 to volts.
I watched articles from the forum: https://e2e.ti.com/support/data-converters/f/73/t/772488 - I think there is an error in coverts data
I calculate the weight of one code using the formula: LSB = (2 * Vref_voltage) / Gain / (2^23)-1;
Then I check what is MSB:
Output_code_ADS1298 - Conversion result of ADS1298
Output_code_ADS1298 AND with mask 0x800000, if MSB=0, then Voltage = Output_code_ADS1298 * LSB
if MSB=1, then Voltage = (Output_code_ADS1298 - 2^23) * LSB;
When converting output codes to voltage, I get an incorrect voltage value.