FAQ: What is the equation for calculating Internal Temperature Sensor for AD719x family in unipolar mode?
For AD719x the sensitivity of the internal temperature sensor is 2815 codes/°C, approximately when Vref = AVDD. Both unipolar and bipolar coding can be used when reading the internal temperature sensor.
The formula to convert the ADC output code to a temperature when operating in unipolar mode is:
Temp (K) = Conversion / (2*2815) K
Temp (°C) = Temp (K) – 273
ADC is configured in unipolar. The output code of the AD719x internal temp sensor at ambient temperature is 1677740 this code to a temperature is done as follows
Temp (K) = Conversion / (2 x 2815) K
Substitute Conversion = 1677740,
Temp (K) = 1677740/ (2 x 2815) K = 298 K
Temp (°C) = Temp (K) – 273 = 298 – 273 = 25 °C