SBAS741B October 2015 – April 2020
PRODUCTION DATA.
For positive temperatures:
Twos complement is not performed on positive numbers. Therefore, simply convert the number to binary code in a 12-bit, left justified format with the MSB = 0 to denote the positive sign.
Example: 50°C / (0.125°C/count) = 400 = 190h = 0001 1001 0000
For negative temperatures:
Generate the twos complement of a negative number by complementing the absolute binary number and adding 1. Then, denote the negative sign with the MSB = 1.
Example: |–25°C| / (0.125/count) = 200 = 0C8h = 0000 1100 1000
Twos complement format: 1111 0011 01111 + 1 = 1111 0011 1000