SBAS526D November 2012 – September 2019 ADS1018
PRODUCTION DATA.
To convert from digital codes to temperature, first check whether the MSB is a 0 or a 1. If the MSB is a 0, simply multiply the decimal code by 0.125°C to obtain the result. If the MSB = 1, subtract 1 from the result and complement all of the bits. Then, multiply the result by –0.125°C.
Example: The device reads back 258h: 258h has an MSB = 0.
258h × 0.125°C = 600 × 0.125°C = +75°C
Example: The device reads back F38h: F38h has an MSB = 1.
Subtract 1 and complement the result: F38h → C8h
C8h × (–0.125°C) = 200 × (–0.125°C) = –25°C