SLOS887F September   2014  – June 2022 TMP112-Q1

PRODUCTION DATA  

  1. Features
  2. Applications
  3. Description
  4. Revision History
  5. Description (continued)
  6. Pin Configuration and Functions
  7. Specifications
    1. 7.1 Absolute Maximum Ratings
    2. 7.2 ESD Ratings
    3. 7.3 Recommended Operating Conditions
    4. 7.4 Thermal Information
    5. 7.5 Electrical Characteristics
    6. 7.6 Specifications for User-Calibrated Systems
    7. 7.7 Timing Requirements
    8. 7.8 Typical Characteristics
  8. Detailed Description
    1. 8.1 Overview
    2. 8.2 Functional Block Diagram
    3. 8.3 Feature Description
      1. 8.3.1 Digital Temperature Output
      2. 8.3.2 Serial Interface
        1. 8.3.2.1 Bus Overview
        2. 8.3.2.2 Serial Bus Address
        3. 8.3.2.3 Writing and Reading Operation
        4. 8.3.2.4 Target Mode Operation
          1. 8.3.2.4.1 Target Receiver Mode
          2. 8.3.2.4.2 Target Transmitter Mode
        5. 8.3.2.5 SMBus Alert Function
        6. 8.3.2.6 General Call
        7. 8.3.2.7 High-Speed (Hs) Mode
        8. 8.3.2.8 Timeout Function
        9. 8.3.2.9 Timing Diagrams
          1. 8.3.2.9.1 Two-Wire Timing Diagrams
    4. 8.4 Device Functional Modes
      1. 8.4.1 Continuous-Conversion Mode
      2. 8.4.2 Extended Mode (EM)
      3. 8.4.3 Shutdown Mode (SD)
      4. 8.4.4 One-Shot and Conversion Ready Mode (OS)
      5. 8.4.5 Thermostat Mode (TM)
        1. 8.4.5.1 Comparator Mode (TM = 0)
        2. 8.4.5.2 Interrupt Mode (TM = 1)
    5. 8.5 Programming
      1. 8.5.1 Pointer Register
      2. 8.5.2 Temperature Register
      3. 8.5.3 Configuration Register
        1. 8.5.3.1 Shutdown Mode (SD)
        2. 8.5.3.2 Thermostat Mode (TM)
        3. 8.5.3.3 Polarity (POL)
        4. 8.5.3.4 Fault Queue (F1/F0)
        5. 8.5.3.5 Converter Resolution (R1 and R0)
        6. 8.5.3.6 One-Shot (OS)
        7. 8.5.3.7 Extended Mode (EM)
        8. 8.5.3.8 Alert (AL)
        9. 8.5.3.9 Conversion Rate (CR)
      4. 8.5.4 High- and Low-Limit Registers
  9. Application and Implementation
    1. 9.1 Application Information
      1. 9.1.1 Calibrating for Improved Accuracy
        1. 9.1.1.1 Example 1: Finding Worst-Case Accuracy From –15°C to 50°C
        2. 9.1.1.2 Example 2: Finding Worst-Case Accuracy From 25°C to 100°C
      2. 9.1.2 Using The Slope Specifications With a 1-Point Calibration
        1. 9.1.2.1 Power Supply-Level Contribution to Accuracy
    2. 9.2 Typical Application
      1. 9.2.1 Design Requirements
      2. 9.2.2 Detailed Design Procedure
      3. 9.2.3 Application Curve
  10. 10Power Supply Recommendations
  11. 11Layout
    1. 11.1 Layout Guidelines
    2. 11.2 Layout Example
  12. 12Device and Documentation Support
    1. 12.1 Documentation Support
      1. 12.1.1 Related Documentation
    2. 12.2 Receiving Notification of Documentation Updates
    3. 12.3 Community Resources
    4. 12.4 Trademarks
  13. 13Mechanical, Packaging, and Orderable Information

Package Options

Mechanical Data (Package|Pins)
Thermal pad, mechanical data (Package|Pins)
Orderable Information

Digital Temperature Output

The digital output from each temperature measurement conversion is stored in the read-only temperature register. The temperature register of the TMP112-Q1 device is configured as a 12-bit read-only register (setting the EM bit to 0 in the configuration register; see the Section 8.4.2 section), or as a 13-bit read-only register (setting the EM bit to 1 in the configuration register) that stores the output of the most recent conversion. Two bytes must be read to obtain data and are listed in Table 8-8. Byte 1 is the most significant byte (MSB), followed by byte 2, the least significant byte (LSB). The first 12 bits (13 bits in extended mode) are used to indicate temperature. The least significant byte does not have to be read if that information is not needed. The data format for temperature is listed in Table 8-2 and Table 8-3. One LSB equals 0.0625°C. Negative numbers are represented in binary twos complement format. Following power up or reset, the temperature register reads 0°C until the first conversion is complete. Bit D0 of byte 2 indicates normal mode (EM bit equals 0) or extended mode (EM bit equals 1), and can be used to distinguish between the two temperature register data formats. The unused bits in the temperature register always read 0.

Table 8-2 12-Bit Temperature Data Format(1)
TEMPERATURE (°C)DIGITAL OUTPUT (BINARY)HEX
1280111 1111 11117FF
127.93750111 1111 11117FF
1000110 0100 0000640
800101 0000 0000500
750100 1011 00004B0
500011 0010 0000320
250001 1001 0000190
0.250000 0000 0100004
00000 0000 0000000
–0.251111 1111 1100FFC
–251110 0111 0000E70
–551100 1001 0000C90
The resolution for the temperature ADC in internal temperature mode is 0.0625°C/count.

Table 8-2 does not list all temperatures. Use the following rules to obtain the digital data format for a given temperature or the temperature for a given digital data format.

To convert positive temperatures to a digital data format:

  1. Divide the temperature by the resolution
  2. Convert the result to binary code with a 12-bit, left-justified format, and MSB = 0 to denote a positive sign.

    Example: (50°C) / (0.0625°C / LSB) = 800 = 320h = 0011 0010 0000

To convert a positive digital data format to temperature:

  1. Convert the 12-bit, left-justified binary temperature result, with the MSB = 0 to denote a positive sign, to a decimal number.
  2. Multiply the decimal number by the resolution to obtain the positive temperature.

    Example: 0011 0010 0000 = 320h = 800 × (0.0625°C / LSB) = 50°C

To convert negative temperatures to a digital data format:

  1. Divide the absolute value of the temperature by the resolution, and convert the result to binary code with a 12-bit, left-justified format.
  2. Generate the twos complement of the result by complementing the binary number and adding one. Denote a negative number with MSB = 1.

    Example: (|–25°C|) / (0.0625°C / LSB) = 400 = 190h = 0001 1001 0000

    Two's complement format: 1110 0110 1111 + 1 = 1110 0111 0000

To convert a negative digital data format to temperature:

  1. Generate the twos compliment of the 12-bit, left-justified binary number of the temperature result (with MSB = 1, denoting negative temperature result) by complementing the binary number and adding one. This represents the binary number of the absolute value of the temperature.
  2. Convert to decimal number and multiply by the resolution to get the absolute temperature, then multiply by –1 for the negative sign.

    Example: 1110 0111 0000 has twos compliment of 0001 1001 0000 = 0001 1000 1111 + 1

    Convert to temperature: 0001 1001 0000 = 190h = 400; 400 × (0.0625°C / LSB) = 25°C = (|–25°C|); (|–25°C|) × (–1) = –25°C

Table 8-3 13-Bit Temperature Data Format
TEMPERATURE (°C)DIGITAL OUTPUT (BINARY)HEX
1500 1001 0110 00000960
1280 1000 0000 00000800
127.93750 0111 1111 111107FF
1000 0110 0100 00000640
800 0101 0000 00000500
750 0100 1011 000004B0
500 0011 0010 00000320
250 0001 1001 00000190
0.250 0000 0000 01000004
00 0000 0000 00000000
–0.251 1111 1111 11001FFC
–251 1110 0111 00001E70
–551 1100 1001 00001C90