SNIS153D July   2009  – October 2015 LM75B

PRODUCTION DATA.  

  1. Features
  2. Applications
  3. Description
  4. Revision History
  5. Pin Configuration and Functions
  6. Specifications
    1. 6.1 Absolute Maximum Ratings
    2. 6.2 ESD Ratings
    3. 6.3 Recommended Operating Conditions
    4. 6.4 Thermal Information
    5. 6.5 Temperature-to-Digital Converter Characteristics
    6. 6.6 Digital DC Characteristics
    7. 6.7 I2C Digital Switching Characteristics
    8. 6.8 Typical Characteristics
  7. Detailed Description
    1. 7.1 Overview
    2. 7.2 Functional Block Diagram
    3. 7.3 Feature Description
      1. 7.3.1 Digital Temperature Sensor
    4. 7.4 Device Functional Modes
    5. 7.5 Programming
      1. 7.5.1 I2C Bus Interface
      2. 7.5.2 Temperature Data Format
      3. 7.5.3 Shutdown Mode
      4. 7.5.4 Fault Queue
      5. 7.5.5 Comparator and Interrupt Mode
      6. 7.5.6 O.S. Output
      7. 7.5.7 O.S. Polarity
      8. 7.5.8 Internal Register Structure
    6. 7.6 Register Maps
      1. 7.6.1 Pointer Register (Selects Which Registers Will Be Read From or Written to):
      2. 7.6.2 Temperature Register (Read Only):
      3. 7.6.3 Configuration Register (Read/Write):
      4. 7.6.4 THYST and TOS Register (Read/Write):
  8. Application and Implementation
    1. 8.1 Application Information
    2. 8.2 Typical Application
      1. 8.2.1 Simple Fan Controller, Interface Optional
        1. 8.2.1.1 Design Requirements
        2. 8.2.1.2 Detailed Design Procedure
        3. 8.2.1.3 Application Curve
    3. 8.3 System Examples
      1. 8.3.1 Simple Thermostat, Interface Optional
      2. 8.3.2 Temperature Sensor with Loudmouth Alarm (Barking Watchdog)
  9. Power Supply Recommendations
  10. 10Layout
    1. 10.1 Layout Guidelines
      1. 10.1.1 Digital Noise Issues
    2. 10.2 Layout Example
  11. 11Device and Documentation Support
    1. 11.1 Related Links
    2. 11.2 Community Resources
    3. 11.3 Trademarks
    4. 11.4 Electrostatic Discharge Caution
    5. 11.5 Glossary
  12. 12Mechanical, Packaging, and Orderable Information

Package Options

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

7 Detailed Description

7.1 Overview

The LM75 temperature sensor incorporates a band-gap type temperature sensor and 9-bit ADC (Sigma-Delta Analog-to-Digital Converter). The temperature data output of the LM75 is available at all times via the I2C bus. If a conversion is in progress, it will be stopped and restarted after the read. A digital comparator is also incorporated that compares a series of readings, the number of which is user-selectable, to user-programmable setpoint and hysteresis values. The comparator trips the O.S. output line, which is programmable for mode and polarity.

The LM75B contains all the functionality of the LM75C, plus two additional features:

  • The LM75B has an integrated low-pass filter on both the SDA and the SCL line. These filters increase communications reliability in noisy environments.
  • The LM75B also has a bus fault timeout feature. If the SDA line is held low for longer than tTIMEOUT (see I2C Digital Switching Characteristics) the LM75B will reset to the IDLE state (SDA set to high impedance) and wait for a new start condition. The TIMEOUT feature is not functional in Shutdown Mode.

7.2 Functional Block Diagram

LM75B LM75C 30099801.gif

7.3 Feature Description

7.3.1 Digital Temperature Sensor

The LM75 is an industry-standard digital temperature sensor with an integrated Sigma-Delta analog-to-digital converter and I2C interface. The LM75 provides 9-bit digital temperature readings with an accuracy of ±2°C from –25°C to 100°C and ±3°C over –55°C to 125°C.

The LM75 operates with a single supply from 2.7 V to 5.5 V. Communication is accomplished over a 2-wire interface which operates up to 400kHz. The LM75 has three address pins, allowing up to eight LM75 devices to operate on the same 2-wire bus. The LM75 has a dedicated over-temperature output (O.S.) with programmable limit and hysteresis. This output has programmable fault tolerance, which allows the user to define the number of consecutive error conditions that must occur before O.S. is activated.

7.4 Device Functional Modes

In Comparator mode the O.S. Output behaves like a thermostat. The output becomes active when temperature exceeds the TOS limit, and leaves the active state when the temperature drops below the THYST limit. In this mode the O.S. output can be used to turn a cooling fan on, initiate an emergency system shutdown, or reduce system clock speed. Shutdown mode does not reset O.S. state in a comparator mode.

In Interrupt mode exceeding TOS also makes O.S. active but O.S. will remain active indefinitely until reset by reading any register via the I2C interface. Once O.S. has been activated by crossing TOS, then reset, it can be activated again only by Temperature going below THYST. Again, it will remain active indefinitely until being reset by a read. Placing the LM75 in shutdown mode also resets the O.S. Output.

The LM75B always powers up in a known state. The power up default conditions are:

  1. Comparator mode
  2. TOS = 80°C
  3. THYST = 75°C
  4. O.S. active low
  5. Pointer = “00”

When the supply voltage is less than about 1.7V, the LM75 is considered powered down. As the supply voltage rises above the nominal 1.7V power up threshold, the internal registers are reset to the power up default values listed above.

If the LM75 is not connected to the I2C bus on power up, it will act as a stand-alone thermostat with the power up default conditions listed above. It is optional, but recommended, to connect the address pins (A2, A1, A0) and the SCL and SDA pins together and to a 10k pull-up resistor to +VS for better noise immunity. Any of these pins may also be tied high separately through a 10k pull-up resistor.

7.5 Programming

7.5.1 I2C Bus Interface

The LM75 operates as a slave on the I2C bus, so the SCL line is an input (no clock is generated by the LM75) and the SDA line is a bi-directional serial data path. According to I2C bus specifications, the LM75 has a 7-bit slave address. The four most significant bits of the slave address are hard wired inside the LM75 and are “1001”. The three least significant bits of the address are assigned to pins A2–A0, and are set by connecting these pins to ground for a low, (0); or to +VS for a high, (1).

Therefore, the complete slave address is:

1 0 0 1 A2 A1 A0
MSB LSB
LM75B LM75C 30099807.png
These interrupt mode resets of O.S. occur only when LM75 is read or placed in shutdown. Otherwise, O.S. would remain active indefinitely for any event.
Figure 9. O.S. Output Temperature Response Diagram

7.5.2 Temperature Data Format

Temperature data can be read from the Temperature, TOS Set Point, and THYST Set Point registers; and written to the TOS Set Point, and THYST Set Point registers. Temperature data is represented by a 9-bit, two's complement word with an LSB (Least Significant Bit) equal to 0.5°C:

Temperature Digital Output
Binary Hex
125°C 0 1111 1010 0FAh
25°C 0 0011 0010 032h
0.5°C 0 0000 0001 001h
0°C 0 0000 0000 000h
−0.5°C 1 1111 1111 1FFh
−25°C 1 1100 1110 1CEh
−55°C 1 1001 0010 192h

7.5.3 Shutdown Mode

Shutdown mode is enabled by setting the shutdown bit in the Configuration register via the I2C bus. Shutdown mode reduces power supply current significantly. See specified quiescent current specification in the Temperature-to-Digital Converter Characteristics table. In Interrupt mode O.S. is reset if previously set and is undefined in Comparator mode during shutdown. The I2C interface remains active. Activity on the clock and data lines of the I2C bus may slightly increase shutdown mode quiescent current. TOS, THYST, and Configuration registers can be read from and written to in shutdown mode.

For the LM75B, the TIMEOUT feature is turned off in Shutdown Mode.

7.5.4 Fault Queue

A fault queue of up to 6 faults is provided to prevent false tripping of O.S. when the LM75 is used in noisy environments. The number of faults set in the queue must occur consecutively to set the O.S. output.

7.5.5 Comparator and Interrupt Mode

As indicated in the O.S. Output Temperature Response Diagram, Figure 9, the events that trigger O.S. are identical for either Comparator or Interrupt mode. The most important difference is that in Interrupt mode the O.S. will remain set indefinitely once it has been set. To reset O.S. while in Interrupt mode, perform a read from any register in the LM75.

7.5.6 O.S. Output

The O.S. output is an open-drain output and does not have an internal pull-up. A “high” level will not be observed on this pin until pull-up current is provided from some external source, typically a pull-up resistor. Choice of resistor value depends on many system factors but, in general, the pull-up resistor should be as large as possible. This will minimize any errors due to internal heating of the LM75. The maximum resistance of the pull up, based on LM75 specification for High Level Output Current, to provide a 2V high level, is 30 kΩ.

7.5.7 O.S. Polarity

The O.S. output can be programmed via the configuration register to be either active low (default mode), or active high. In active low mode the O.S. output goes low when triggered exactly as shown on the O.S. Output Temperature Response Diagram, Figure 9. Active high simply inverts the polarity of the O.S. output.

7.5.8 Internal Register Structure

LM75B LM75C 30099808.gif Figure 10. Iternal Register Structure

There are four data registers in the LM75B and LM75C selected by the Pointer register. At power-up the Pointer is set to “000”; the location for the Temperature Register. The Pointer register latches whatever the last location it was set to. In Interrupt Mode, a read from the LM75, or placing the device in shutdown mode, resets the O.S. output. All registers are read and write, except the Temperature register which is a read only.

A write to the LM75 will always include the address byte and the Pointer byte. A write to the Configuration register requires one data byte, and the TOS and THYST registers require two data bytes.

Reading the LM75 can take place either of two ways: If the location latched in the Pointer is correct (most of the time it is expected that the Pointer will point to the Temperature register because it will be the data most frequently read from the LM75), then the read can simply consist of an address byte, followed by retrieving the corresponding number of data bytes. If the Pointer needs to be set, then an address byte, pointer byte, repeat start, and another address byte will accomplish a read.

The first data byte is the most significant byte with most significant bit first, permitting only as much data as necessary to be read to determine temperature condition. For instance, if the first four bits of the temperature data indicates an overtemperature condition, the host processor could immediately take action to remedy the excessive temperatures. At the end of a read, the LM75 can accept either Acknowledge or No Acknowledge from the Master (No Acknowledge is typically used as a signal for the slave that the Master has read its last byte).

An inadvertent 8-bit read from a 16-bit register, with the D7 bit low, can cause the LM75 to stop in a state where the SDA line is held low as shown in Figure 11. This can prevent any further bus communication until at least 9 additional clock cycles have occurred. Alternatively, the master can issue clock cycles until SDA goes high, at which time issuing a “Stop” condition will reset the LM75.

LM75B LM75C 30099809.png Figure 11. Inadvertent 8-Bit Read from 16-Bit Register where D7 is Zero (“0”)

7.6 Register Maps

7.6.1 Pointer Register (Selects Which Registers Will Be Read From or Written to):

P7 P6 P5 P4 P3 P2 P1 P0
0 0 0 0 0 Register Select

P0-P1: Register Select:

P2 P1 P0 Register
0 0 0 Temperature (Read only) (Power-up default)
0 0 1 Configuration (Read/Write)
0 1 0 THYST (Read/Write)
0 1 1 TOS (Read/Write)

P3–P7: Must be kept zero.

7.6.2 Temperature Register (Read Only):

D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
MSB Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 LSB X X X X X X X

D0–D6: Undefined.    D7–D15: Temperature Data. One LSB = 0.5°C. Two's complement format.

7.6.3 Configuration Register (Read/Write):

D7 D6 D5 D4 D3 D2 D1 D0
0 0 0 Fault Queue O.S. Polarity Cmp/Int Shutdown

Power up default is with all bits “0” (zero).

D0: Shutdown: When set to 1 the LM75 goes to low power shutdown mode.

D1: Comparator/Interrupt mode: 0 is Comparator mode, 1 is Interrupt mode.

D2: O.S. Polarity: 0 is active low, 1 is active high. O.S. is an open-drain output under all conditions.

D3–D4: Fault Queue: Number of faults necessary to detect before setting O.S. output to avoid false tripping due to noise. Faults are determind at the end of a conversion. See specified temperature conversion time in the Temperature-to-Digital Converter Characteristics table.

D4 D3 Number of Faults
0 0 1 (Power-up default)
0 1 2
1 0 4
1 1 6

D5–D7: These bits are used for production testing and must be kept zero for normal operation.

7.6.4 THYST and TOS Register (Read/Write):

D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
MSB Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 LSB X X X X X X X

D0–D6: Undefined   D7–D15: THYST Or TOS Trip Temperature Data. Power up default is TOS = 80°C, THYST = 75°C