Hi Mostafaq,
- The ADC output code would be in 2's compliment form with the upper 4-bits being the same as the sign bit (20th bit). This means that the ADC output could be 0xD7AE1 = -165,151d and the 24-bit value with the sign extension will be 0xFD7AE1.
- If a full-scale voltage signal is applied to the input then the output swings approximately between 0xD7AE1 (-165,151d) and 0x2851F (+165,151d). This means that 0xD7AE1 is read as 0xFD7AE1 from the serial interface because of the sign extension.
- Note: the maximum positive value from the ADC is limited to 0x40000 (262,144d). The maximum negative value is limited to 0xC0000 (-262,144d). Although, these values would mean the analog inputs are being overranged and would no longer be operating in the specified operation range.
Regards,
Dlath