Datasheet

TMP112
SBOS473B MARCH 2009 REVISED JUNE 2009 .........................................................................................................................................................
www.ti.com
Table 5. 12-Bit Temperature Data Format
(1)
TEMPERATURE ( ° C) DIGITAL OUTPUT (BINARY) HEX
128 0111 1111 1111 7FF
127.9375 0111 1111 1111 7FF
100 0110 0100 0000 640
80 0101 0000 0000 500
75 0100 1011 0000 4B0
50 0011 0010 0000 320
25 0001 1001 0000 190
0.25 0000 0000 0100 004
0 0000 0000 0000 000
0.25 1111 1111 1100 FFC
25 1110 0111 0000 E70
55 1100 1001 0000 C90
(1) The resolution for the Temp ADC in Internal Temperature mode is 0.0625 ° C/count.
For positive temperatures (for example, +50 ° C):
Twos complement is not performed on positive numbers. Therefore, simply convert the number to binary
code with the 12-bit, left-justified format, and MSB = 0 to denote a positive sign.
Example: (+50 ° C)/(0.0625 ° C/count) = 800 = 320h = 0011 0010 0000
For negative temperatures (for example, 25 ° C):
Generate the twos complement of a negative number by complementing the absolute value binary number
and adding 1. Denote a negative number with MSB = 1.
Example: (| 25 ° C|)/(0.0625 ° C/count) = 400 = 190h = 0001 1001 0000
Twos complement format: 1110 0110 1111 + 1 = 1110 0111 0000
Table 6. 13-Bit Temperature Data Format
TEMPERATURE ( ° C) DIGITAL OUTPUT (BINARY) HEX
150 0 1001 0110 0000 0960
128 0 1000 0000 0000 0800
127.9375 0 0111 1111 1111 07FF
100 0 0110 0100 0000 0640
80 0 0101 0000 0000 0500
75 0 0100 1011 0000 04B0
50 0 0011 0010 0000 0320
25 0 0001 1001 0000 0190
0.25 0 0000 0000 0100 0004
0 0 0000 0000 0000 0000
0.25 1 1111 1111 1100 1FFC
25 1 1110 0111 0000 1E70
55 1 1100 1001 0000 1C90
8 Submit Documentation Feedback Copyright © 2009, Texas Instruments Incorporated
Product Folder Link(s): TMP112