STLM75 Digital temperature sensor and thermal watchdog Features ■ Measures temperatures from –55°C to +125°C (–67°F to +257°F) – ±2°C accuracy from –25°C to +100°C (max) ■ Low operating current: 125µA (typ) ■ No external components required ■ 2-Wire I2C/SMBus-compatible serial interface – Supports bus time-out feature – Selectable bus address allows connection of up to eight devices on the bus ■ Wide power supply range-operating voltage range: 2.7V to 5.5V ■ Conversion time is 150ms (max) ■ Programmable temperature threshold and hysteresis set points ■ Pin- and software-compatible with LM75 (Dropin replacement) ■ Power-up defaults permit standalone operation as a thermostat ■ Shutdown mode to minimize power consumption ■ Output pin (open drain) can be configured for interrupt or comparator/thermostat mode (Dual Purpose Event Pin) ■ Packages: – SO8 – MSOP8 (TSSOP8)(a) SO8 (M) MSOP8 (TSSOP8) (DS) a. Contact locat ST sales office for availability June 2007 Rev 7 1/37 www.st.com 1 Contents STLM75 Contents 1 2 3 Summary description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.1 Serial communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2 Temperature sensor output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.3 Pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 SDA (open drain) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.3.2 SCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.3.3 OS/INT (open drain) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.3.4 GND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.3.5 A2, A1, A0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.3.6 VDD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.1 Applications information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2 Thermal alarm function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.3 Comparator mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.4 Interrupt mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.5 Fault tolerance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.6 Shutdown mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.7 Temperature data format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1 2/37 1.3.1 Registers and register set formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1.1 Command/Pointer register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1.2 Configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.1.3 Temperature register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.1.4 Over-Limit temperature register (TOS) . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.1.5 Hysteresis temperature register (THYS) . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.2 Power-up default conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.3 Serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.4 2-Wire bus characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.4.1 Bus not busy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.4.2 Start data transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.4.3 Stop data transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 STLM75 Contents 3.4.4 Data valid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.4.5 Acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.5 READ mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.6 WRITE mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 4 Typical operating characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 5 Maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 6 DC and AC parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7 Package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 8 Part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 3/37 List of tables STLM75 List of tables Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Table 11. Table 12. Table 13. Table 14. Table 15. Table 16. Table 17. 4/37 Signal names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Fault tolerance setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Relationship between temperature and digital output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Command/Pointer register Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Register pointers selection summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Configuration register format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Temperature register format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 TOS and THYS register format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 STLM75 serial bus slave addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Operating and AC measurement conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 DC and AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 SO8 – 8-lead plastic small outline package mechanical data. . . . . . . . . . . . . . . . . . . . . . . 33 MSOP8 (TSSOP8) – 8-lead, thin shrink small package (3x3) mechanical data . . . . . . . . . 34 Ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 STLM75 List of figures List of figures Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9. Figure 10. Figure 11. Figure 12. Figure 13. Figure 14. Figure 15. Figure 16. Figure 17. Figure 18. Logic Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Connections (SO8 and TSSOP8) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Functional block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Typical 2-Wire interface connections diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 OS output temperature response diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Serial bus data transfer sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Acknowledgement sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Slave address location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Typical 2-byte READ from preset pointer location (e.g. Temp - TOS, THYS). . . . . . . . . . . . 24 Typical pointer set followed by an immediate READ for 2-byte register (e.g. Temp) . . . . . 24 Typical 1-byte READ from the configuration register with preset pointer . . . . . . . . . . . . . . 24 Typical pointer set followed by an immediate READ from the configuration register . . . . . 25 Configuration register WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 TOS and THYS WRITE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Temperature variation vs. voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Bus timing requirements sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 SO8 – 8-lead plastic small package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 MSOP8 (TSSOP8) – 8-lead, thin shrink small package (3x3) outline. . . . . . . . . . . . . . . . . 34 5/37 Summary description 1 STLM75 Summary description The STLM75 is a high-precision digital CMOS temperature sensor IC with a sigma-delta temperature-to-digital converter and an I2C-compatible serial digital interface (see Figure 1 on page 7). It is targeted for general applications such as personal computers, system thermal management, electronics equipment, and industrial controllers, and is packaged in the industry standard 8-lead TSSOP and SO8 packages. The device contains a band gap temperature sensor and 9-bit ADC which monitor and digitize the temperature to a resolution up to 0.5°C. The STLM75 is typically accurate to (±3°C - max) over the full temperature measurement range of –55°C to 125°C with ±2°C accuracy in the –25°C to +100°C range. The STLM75 is pin-for-pin and software compatible with the LM75B. STLM75 is specified for operating at supply voltages from 2.7V to 5.5V. Operating at 3.3V, the supply current is typically (125µA). The on-board sigma-delta analog-to-digital converter (ADC) converts the measured temperature to a digital value that is calibrated in degrees Centigrade; for Fahrenheit applications a lookup table or conversion routine is required. The STLM75 is factory-calibrated and requires no external components to measure temperature. 1.1 Serial communications The STLM75 has a simple 2-wire I2C-compatible digital serial interface which allows the user to access the data in the temperature register at any time. It communicates via the serial interface with a master controller which operates at speeds up to 400kHz. Three pins (A0, A1, and A2) are available for address selection, and enable the user to connect up to 8 devices on the same bus without address conflict. In addition, the serial interface gives the user easy access to all STLM75 registers to customize operation of the device. 6/37 STLM75 1.2 Summary description Temperature sensor output The STLM75 Temperature Sensor has a dedicated open drain Over-Limit Signal/Interrupt (OS/INT) output which features a thermal Alarm function. This function provides a userprogrammable trip and turn-off temperature. It can operate in either of two selectable modes: ● Comparator mode, and ● Interrupt mode. At power-up the STLM75 immediately begins measuring the temperature and converting the temperature to a digital value. The measured temperature value is compared with a temperature limit (which is stored in the 16-bit (TOS) READ/WRITE register), and the hysteresis temperature (which is stored in the 16-bit (THYS) READ/WRITE register). If the measured value exceeds these limits, the OS/INT pin is activated (see Figure 3 on page 8 and Table 2 on page 14). Note: See Pin descriptions on page 9 for details. Figure 1. Logic Diagram VDD SDA(1) SCL A0 A1 A2 OS/INT(1) STLM75 GND AI11899 1. SDA and OS/INT are open drain. 7/37 Summary description Table 1. STLM75 Signal names Pin Sym Type/Direction 1 SDA(1) Input/ Output 2 SCL Input (1) Description Serial Data Input/Output Serial Clock Input 3 OS/INT Output Over-Limit Signal/Interrupt Alert Output 4 GND Supply Ground 5 A2 Input Address2 Input 6 A1 Input Address1 Input 7 A0 Input Address0 Input 8 VDD Supply Power Ground Supply Voltage (2.7V to 5.5V) 1. SDA and OS/INT are open drain. Figure 2. Connections (SO8 and TSSOP8) SDA(1) SCL OS/INT(1) GND 1 2 3 4 8 7 6 5 VDD A0 A1 A2 AI11841 1. SDA and OS/INT are open drain. Figure 3. Functional block diagram Temperature Sensor and Analog-to-Digital Converter (ADC) Σ-Δ Pointer Register Configuration Register Temperature Register THYS Set Point Register VDD Control and Logic Comparator TOS Set Point Register SDA A0 A1 OS/INT 2 2-wire I C Interface A2 SCL GND AI11833a 8/37 STLM75 1.3 Summary description Pin descriptions See Figure 1 on page 7 and Table 1 on page 8 for a brief overview of the signals connected to this device. 1.3.1 SDA (open drain) This is the Serial Data Input/Output pin for the 2-wire serial communication port. 1.3.2 SCL This is the Serial Clock Input pin for the 2-wire serial communication port. 1.3.3 OS/INT (open drain) This is the Over-Limit Signal/Interrupt Alert Output pin. It is open drain, so it needs a pull-up resistor. In Interrupt mode, it outputs a pulse whenever the measured temperature exceeds the programmed threshold (TOS). It behaves as a thermostat, toggling to indicate whether the measured temperature is above or below the threshold and hysteresis (THYS). 1.3.4 GND Ground; it is the reference for the power supply. It must be connected to system ground. 1.3.5 A2, A1, A0 A2, A1, and A0 are selectable address pins for the 3 LSBs of the I2C interface address. They can be set to VDD or GND to provide 8 unique address selections. 1.3.6 VDD This is the supply voltage pin, and ranges from +2.7V to +5.5V. 9/37 Operation 2 STLM75 Operation After each temperature measurement and analog-to-digital conversion, the STLM75 stores the temperature as a 16-bit two’s complement number (see Table 5: Register pointers selection summary on page 17) in the 2-byte Temperature register (see Table 7 on page 18). The most significant Bit (S) indicates if the temperature is positive or negative: ● for positive numbers S = 0, and ● for negative numbers S = 1. The most recently converted digital measurement can be read from the Temperature register at any time. Since temperature conversions are performed in the background, reading the Temperature register does not affect the operation in progress. The temperature data is provided by the 9 MSBs (Bits 15 through 7). Bits 6 through 0 are unused. Table 3 on page 15 gives examples of the digital output data and corresponding temperatures. The data is compared to the values in the TOS and THYS registers, and then the OS is updated based on the result of the comparison and the operating mode. The alarm fault tolerance is controlled by the FT1 and FT0 Bits in the Configuration register. They are used to set up a fault queue. This prevents false tripping of the OS/INT pin when the STLM75 is used in a noisy environment (see Table 3 on page 15). The active state of the OS output can be changed via the Polarity Bit (POL) in the Configuration register. The power-up default is active-low. If the user does not wish to use the thermostat capabilities of the STLM75, the OS output should be left floating. Note: 10/37 If the thermostat is not used, the TOS and THYS registers can be used for general storage of system data. STLM75 2.1 Operation Applications information STLM75 digital Temperature Sensors are optimal for thermal management and thermal protection applications. They require no external components for operations except for pullup resistors on SCL, SDA, and OS/INT outputs. A 0.1µF bypass capacitor on VDD is recommended. The sensing device of STLM75 is the chip itself. The typical interface connection for this type of digital sensor is shown in Figure 4 on page 11. Intended Applications include: ● System Thermal Management ● Computers/Disk Drivers ● Electronics/Test Equipment ● Power Supply Modules ● Consumer Products ● Battery Management ● FAX/Printers Management ● Automotive Figure 4. Typical 2-Wire interface connections diagram Pull-up VDD Pull-up VDD VDD VDD 10kΩ STLM75 O.S./INT(1) SCL A0 10kΩ 0.1μF Master Device SDA(1) I2C Address = 1001000 (1001A2A1A0) A1 A2 10kΩ GND AI12200 1. SDA and OS/INT are Open Drain. 11/37 Operation 2.2 STLM75 Thermal alarm function The STLM75 thermal alarm function provides user-programmable thermostat capability and allows the STLM75 to function as a standalone thermostat without using the serial interface. The OS output is the alarm output. This signal is an open drain output, and at power-up, this pin is configured with active-low polarity by default. 2.3 Comparator mode In Comparator mode, each time a temperature-to-digital (T-to-D) conversion occurs, the new digital temperature is compared to the value stored in the TOS and THYS registers. If a fault tolerance number of consecutive temperature measurements are greater than the value stored in the TOS register, the OS output will be asserted. For example, if the FT1 and FT0 Bits are equal to “10” (fault tolerance = 4), four consecutive temperature measurements must exceed TOS to activate the OS output. Once the OS output is active, it will remain active until the first time the measured temperature drops below the temperature stored in the THYS register. When the thermostat is in Comparator mode, the OS can be programmed to operate with any amount of hysteresis. The OS output becomes active when the measured temperature exceeds the TOS value a consecutive number of times as defined by the FT1 and FT0 fault tolerance (FT) Bits in the configuration register. The OS then stays active when the temperature falls below the value stored in THYS register for a consecutive number of times as defined by the fault tolerance bits (FT1 and FT0). Putting the device into shutdown mode does not clear OS in Comparator mode. 12/37 STLM75 2.4 Operation Interrupt mode In Interrupt mode, the OS output first becomes active when the measured temperature exceeds the TOS value a consecutive number of times as determined by the FT value in the Configuration register. Once activated, the OS can only be cleared by either putting the STLM75 into Shutdown mode or by reading from any register (temperature, configuration, TOS, or THYS) on the device. Once the OS has been deactivated, it will only be reactivated when the measured temperature falls below the THYS value a consecutive number of times equal to the FT value. Figure 5 illustrates typical OS output temperature response. Note: The OS can only be cleared by putting the device into Shutdown mode or reading any register. Thus, this interrupt/clear process is cyclical between the TOS and THYS events (i.e., TOS, clear, THYS, clear, TOS, clear, THYS, clear, and so forth). These interrupt mode resets of the OS/INT pin occur only when the STLM75 is read or placed into Shutdown mode. Otherwise, OS/INT would remain active independently for any event. Figure 5. OS output temperature response diagram (1) (1) (1) 1. These interrupt mode resets of O.S. occur only when STLM75 is read or placed in shutdown. Otherwise, O.S. would remain active indefinitely for any event.. 13/37 Operation 2.5 STLM75 Fault tolerance For both Comparator and Interrupt modes, the alarm “fault tolerance” setting plays a role in determining when the OS output will be activated. Fault tolerance refers to the number of consecutive times an error condition must be detected before the user is notified. Higher fault tolerance settings can help eliminate false alarms caused by noise in the system. The alarm fault tolerance is controlled by the bits (4 and 3) in the Configuration register. These bits can be used to set the fault tolerance to 1, 2, 4, or 6 as shown in Table 2. At power-up, these bits both default to logic '0'. Table 2. 2.6 Fault tolerance setting FT1 FT0 STLM75 (Consecutive Faults) 0 0 1 0 1 2 1 0 4 1 1 6 Comments Power-up Default Shutdown mode For power-sensitive applications, the STLM75 offers a low-power Shutdown mode. The SD Bit in the Configuration register controls Shutdown mode. When SD is changed to logic '1,' the conversion in progress will be completed and the result stored in the Temperature register, after which the STLM75 will go into a low-power standby state. The OS output will be cleared if the thermostat is operating in Interrupt mode and the OS will remain unchanged in Comparator mode. The 2-wire interface remains operational in Shutdown mode, and writing a '0' to the SD Bit returns the STLM75 to normal operation. 14/37 STLM75 2.7 Operation Temperature data format Table 3 shows the relationship between the output digital data and the external temperature. Temperature data for the Temperature, TOS, and THYS registers is represented as a 9-bit, two’s complement word. The left-most bit in the output data stream contains temperature polarity information for each conversion. If the sign bit is '0', the temperature is positive and if the sign bit is '1,' the temperature is negative. Table 3. Relationship between temperature and digital output Digital Output Temperature 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 –40°C 1 1011 0000 1B0h –55°C 1 1001 0010 192h 15/37 Functional description 3 STLM75 Functional description The STLM75 registers have unique pointer designations which are defined in Table 5 on page 17. Whenever any READ/WRITE operation to the STLM75 register is desired, the user must “point” to the device register to be accessed. All of these user-accessible registers can be accessed via the digital serial interface at anytime (see Serial interface on page 20), and they include: ● Command register/Address Pointer register ● Configuration register ● Temperature register ● Over-Limit Signal Temperature register (TOS) ● Hysteresis Temperature register (THYS) 3.1 Registers and register set formats 3.1.1 Command/Pointer register The Most Significant Bits (MSBs) of the Command register must always be zero. Writing a '1' into any of these bits will cause the current operation to be terminated (Bit 2 through Bit 7 must be kept '0', see Table 4). Table 4. Command/Pointer register Format MSB LSB Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 0 0 0 0 0 0 P1 P0 Pointer/Register Select Bits The Command register retains pointer information between operations (see Table 5). Therefore, this register only needs to be updated once for consecutive READ operations from the same register. All bits in the Command register default to '0' at power-up. 16/37 STLM75 Functional description Table 5. Register pointers selection summary Pointer P1 Value (H) 3.1.2 P0 Name Description Width (Bits) Type (R/W) Poweron Default Comments 00 0 0 TEMP Temperature Register 16 Readonly N/A To store Measured Temperature Data 01 0 1 CONF Configuration Register 8 R/W 00 02 1 0 THYS Hysteresis Register 16 R/W 4B00 Default = 75°C 03 1 1 TOS Overtemperature Shutdown 16 R/W 5000 Set point for Overtemperature Shutdown (TOS) limit default = 80°C Configuration register The Configuration register is used to store the device settings such as Device Operation mode, OS Operation mode, OS Polarity, and OS Fault Queue. The Configuration register allows the user to program various options such as thermostat fault tolerance, thermostat polarity, Thermostat Operating mode, and Shutdown mode. The user has READ/WRITE access to all of the bits in the Configuration register except the MSB (Bit7), which is reserved as a “Read only” bit (see Table 6). The entire register is volatile and thus powers-up in its default state only. Table 6. Configuration register format MSB LSB Byte Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 0 0 FT1 FT0 POL M SD 0 0 0 0 0 0 0 STLM75 Reserved Default 0 Keys: SD = Shutdown Control Bit Bit 5 = Must be set to '0'. Polarity(2) Bit 6 = Must be set to '0'. M = Thermostat POL = Output FT1 = Fault Tolerance1 Bit Mode(1) FT0 = Fault Tolerance0 Bit Bit 7 = Must be set to '0'. Reserved. 1. Indicates Operation mode; 0 = Comparator mode, and 1 = Interrupt mode (see Comparator mode and Interrupt mode on page 13). 2. The OS is active-low ('0'). 17/37 Functional description 3.1.3 STLM75 Temperature register The Temperature register is a two-byte (16-bit) “Read only” register (see Table 7 on page 18). Digital temperatures from the T-to-D converter are stored in the Temperature register in two’s complement format, and the contents of this register are updated each time the T-to-D conversion is finished. The user can read data from the Temperature register at any time. When a T-to-D conversion is completed, the new data is loaded into a comparator buffer to evaluate fault conditions, and will update the Temperature register if a read cycle is not ongoing. The STLM75 is continuously evaluating fault conditions regardless of READ or WRITE activity on the bus. If a READ is ongoing, the previous temperature will be read. The readable temperature will be updated upon the completion of the next T-to-D conversion that is not masked by a read cycle. All unused bits following the digital temperature will be zero. The MSB position of the Temperature register always contains the sign bit for the digital temperature, and Bit14 contains the temperature MSB. All bits in the Temperature register default to zero at powerup. Table 7. Temperature register format Bytes HS Byte MSB LS Byte TMSB TLSB LSB Bits 15 STLM75 14 13 12 11 10 9 8 7 TD8 TD7 TD TD TD TD TD TD TD0 (Sign) (TMSB) 6 5 4 3 2 1 (TLSB) 6 5 4 3 2 1 0 0 0 0 0 0 0 0 Keys: SB = Two’s complement Sign Bit TMSB = Temperature MSB TLSB = Temperature LSB TDx = Temperature Data bits Note: These are comparable formats to the LM75. 3.1.4 Over-Limit temperature register (TOS) The TOS register is a two-byte (16-bit) READ/WRITE register that stores the userprogrammable upper trip-point temperature for the thermal alarm in two’s complement format (see Table 8 on page 19). This register defaults to 80°C at power-up (i.e., 0101 0000 0000 0000). The format of the TOS register is identical to that of the Temperature register. The MSB position contains the sign bit for the digital temperature and Bit14 contains the temperature MSB. For 9-bit conversions, the trip-point temperature is defined by the 9 MSBs of the TOS register, and all remaining bits are “Don’t cares”. 18/37 STLM75 3.1.5 Functional description Hysteresis temperature register (THYS) THYS register is a two-byte (16-bit) READ/WRITE register that stores the userprogrammable lower trip-point temperature for the thermal alarm in two’s complement format (see Table 8). This register defaults to 75°C at power-up (i.e., 0100 1011 0000 0000). The format of this register is the same as that of the Temperature register. The MSB position contains the sign bit for the digital temperature and Bit14 contains the temperature MSB. Table 8. TOS and THYS register format Bytes HS Byte MSB LS Byte TMSB TLSB LSB Bits STLM75 15 14 SB TMSB 13 12 11 10 9 8 TD TD TD TD TD TD 7 6 5 4 3 2 1 0 9-bit TLSB 0 0 0 0 0 0 0 Keys: SB = Two’s complement Sign Bit TMSB = Temperature MSB TLSB = Temperature LSB TD = Temperature Data Note: These are comparable formats to the DS75 and LM75. 3.2 Power-up default conditions The STLM75 always powers up in the following default states: Note: ● Thermostat mode = Comparator Mode ● Polarity = Active-low ● Fault tolerance = 1 fault (i.e., relevant bits set to '0' in the Configuration register) ● TOS = 80°C ● THYS = 75°C ● Register pointer = 00 (Temperature register) After power-up these conditions can be reprogrammed via the serial interface. 19/37 Functional description 3.3 STLM75 Serial interface Writing to and reading from the STLM75 registers is accomplished via the two-wire serial interface protocol which requires that one device on the bus initiates and controls all READ and WRITE operations. This device is called the “master” device. The master device also generates the SCL signal which provides the clock signal for all other devices on the bus. These other devices on the bus are called “slave” devices. The STLM75 is a slave device (see Table 9). Both the master and slave devices can send and receive data on the bus. During operations, one data bit is transmitted per clock cycle. All operations follow a repeating, nine-clock-cycle pattern that consists of eight bits (one byte) of transmitted data followed by an acknowledge (ACK) or not acknowledge (NACK) from the receiving device. Note: There are no unused clock cycles during any operation, so there must not be any breaks in the data stream and ACKs/NACKs during data transfers. Consequently, having too few clock cycles can lead to incorrect operation if an inadvertent 8-bit READ from a 16-bit register occurs. So, the entire word must be transferred out regardless of the superflous trailing zeroes. Table 9. STLM75 serial bus slave addresses MSB 3.4 LSB Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 1 0 0 1 A2 A1 A0 R/W 2-Wire bus characteristics The bus is intended for communication between different ICs. It consists of two lines: a bidirectional data signal (SDA) and a clock signal (SCL). Both the SDA and SCL lines must be connected to a positive supply voltage via a pull-up resistor. The following protocol has been defined: ● Data transfer may be initiated only when the bus is not busy. ● During data transfer, the data line must remain stable whenever the clock line is High. ● Changes in the data line, while the clock line is High, will be interpreted as control signals. Accordingly, the following bus conditions have been defined (see Figure 6 on page 21): 3.4.1 Bus not busy Both data and clock lines remain High. 3.4.2 Start data transfer A change in the state of the data line, from high to Low, while the clock is High, defines the START condition. 3.4.3 Stop data transfer A change in the state of the data line, from Low to High, while the clock is High, defines the STOP condition. 20/37 STLM75 3.4.4 Functional description Data valid The state of the data line represents valid data when after a start condition, the data line is stable for the duration of the high period of the clock signal. The data on the line may be changed during the Low period of the clock signal. There is one clock pulse per bit of data. Each data transfer is initiated with a start condition and terminated with a stop condition. The number of data bytes transferred between the start and stop conditions is not limited. The information is transmitted byte-wide and each receiver acknowledges with a ninth bit. By definition a device that gives out a message is called “transmitter”, the receiving device that gets the message is called “receiver”. The device that controls the message is called “master”. The devices that are controlled by the master are called “slaves”. Figure 6. Serial bus data transfer sequence DATA LINE STABLE DATA VALID CLOCK DATA START CONDITION CHANGE OF DATA ALLOWED STOP CONDITION AI00587 21/37 Functional description 3.4.5 STLM75 Acknowledge Each byte of eight bits is followed by one Acknowledge Bit. This Acknowledge Bit is a low level put on the bus by the receiver whereas the master generates an extra acknowledge related clock pulse (see Figure 7). A slave receiver which is addressed is obliged to generate an acknowledge after the reception of each byte that has been clocked out of the slave transmitter. The device that acknowledges has to pull down the SDA line during the acknowledge clock pulse in such a way that the SDA line is a stable Low during the High period of the acknowledge related clock pulse. Of course, setup and hold times must be taken into account. A master receiver must signal an end of data to the slave transmitter by not generating an acknowledge on the last byte that has been clocked out of the slave. In this case the transmitter must leave the data line High to enable the master to generate the STOP condition. Figure 7. Acknowledgement sequence CLOCK PULSE FOR ACKNOWLEDGEMENT START SCL FROM MASTER DATA OUTPUT BY TRANSMITTER 1 MSB 2 8 9 LSB DATA OUTPUT BY RECEIVER AI00601 22/37 STLM75 3.5 Functional description READ mode In this mode the master reads the STLM75 slave after setting the slave address (see Figure 8). Following the WRITE mode Control Bit (R/W=0) and the Acknowledge Bit, the word address 'An' is written to the on-chip address pointer. There are two READ modes: Preset pointer locations (e.g. Temperature, TOS and THYS registers), and ● Pointer setting (the pointer has to be set for the register that is to be read). The Temperature register pointer is usually the default pointer. These modes are shown in the READ mode typical timing diagrams (see Figure 9, Figure 10, and Figure 11). Slave address location R/W START A SLAVE ADDRESS 1 LSB Figure 8. MSB Note: ● 0 0 1 A2 A1 A0 AI12226 23/37 Functional description Figure 9. STLM75 Typical 2-byte READ from preset pointer location (e.g. Temp - TOS, THYS) 1 9 0 1 0 Start by Master 1 1 A2 A1 A0 R/W 9 1 D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 Most Significant Data Byte Address Byte 9 Least Significant Data Byte ACK by STLM75 ACK by Master Stop Cond. by No ACK Master by Master AI12227 Figure 10. Typical pointer set followed by an immediate READ for 2-byte register (e.g. Temp) 1 1 9 0 Start by Master 0 1 A2 A1 A0 R/W 1 0 9 0 0 0 0 ACK by STLM75 1 ACK by STLM75 9 0 0 Repeat Start by Master 1 D1 D0 Pointer Byte Address Byte 1 0 1 A2 A1 A0 R/W 9 D7 D6 D5 D4 D3 D2 D1 D0 1 D7 D6 D5 D4 D3 D2 D1 D0 Most Significant Data Byte Address Byte Least Significant Data Byte ACK by STLM75 9 ACK by Master Stop Cond. No ACK by by Master Master AI12228 Figure 11. Typical 1-byte READ from the configuration register with preset pointer 1 1 Start by Master 9 0 0 1 A2 A1 A0 R/W 1 9 D7 D6 D5 D4 D3 D2 D1 D0 Data Byte Address Byte ACK by STLM75 Stop Cond. by No ACK Master by Master AI12229 24/37 STLM75 3.6 Functional description WRITE mode In this mode the master transmitter transmits to the STLM75 slave receiver. Bus protocol is shown in Figure 12. Following the START condition and slave address, a logic '0' (R/W = 0) is placed on the bus and indicates to the addressed device that word address will follow and is to be written to the on-chip address pointer. These modes are shown in the WRITE mode typical timing diagrams (see Figure 12, and Figure 13, and Figure 14). Figure 12. Typical pointer set followed by an immediate READ from the configuration register 1 9 0 1 0 Start by Master 1 1 A2 A1 A0 R/W 9 0 0 0 0 0 0 Pointer Byte Address Byte ACK by STLM75 ACK by STLM75 1 9 1 0 0 Repeat Start by Master 1 D1 D0 1 A2 A1 A0 R/W 9 D7 D6 D5 D4 D3 D2 D1 D0 Address Byte Stop Cond. No ACK by by Master STLM75 Data Byte ACK by STLM75 AI12230 Figure 13. Configuration register WRITE 1 1 Start by Master 9 0 0 1 A2 A1 A0 R/W 1 0 9 0 0 0 0 0 D1 D0 1 0 Pointer Byte Address Byte ACK by STLM75 9 0 0 D4 D3 D2 D1 D0 Configuration Byte ACK by STLM75 ACK by STLM75 Stop Cond. by Master AI12231 25/37 Functional description STLM75 Figure 14. TOS and THYS WRITE 1 9 0 1 Start by Master 0 1 1 A2 A1 A0 R/W 9 0 0 0 0 0 0 D1 D0 Pointer Byte Address Byte ACK by STLM75 ACK by STLM75 1 9 D7 D6 D5 D4 D3 D2 D1 D0 1 9 D7 D6 D5 D4 D3 D2 D1 D0 Most Significant Data Byte Least Significant Data Byte ACK by STLM75 ACK by STLM75 Stop Cond. by Master AI12232 26/37 STLM75 Typical operating characteristics Figure 15. Temperature variation vs. voltage 140 120 100 Temperature (°C) 4 Typical operating characteristics 80 –20 60 0.5 40 85 20 110 0 125 –20 –40 –60 2 3 4 5 6 Voltage (V) AI12258 27/37 Maximum ratings 5 STLM75 Maximum ratings Stressing the device above the ratings listed in the “Absolute maximum ratings” table may cause permanent damage to the device. These are stress ratings only and operation of the device at these or any other conditions above those indicated in the Operating sections of this specification is not implied. Exposure to Absolute maximum rating conditions for extended periods may affect device reliability. Refer also to the STMicroelectronics SURE Program and other relevant quality documents. Table 10. Absolute maximum ratings Symbol Parameter Value Unit TSTG Storage Temperature (VCC Off, VBAT Off) –60 to 150 °C TSLD(1) Lead Solder Temperature for 10 seconds 260 °C VCC +0.5 V VIO Input or Output Voltage VDD Supply Voltage 7.0 V VOUT Output Voltage VDD + 0.5 V IO Output Current 10 mA PD Power Dissipation 320 mW 1. Reflow at peak temperature of 255°C to 260°C for < 30 seconds (total thermal budget not to exceed 180°C for between 90 to 150 seconds). 28/37 STLM75 6 DC and AC parameters DC and AC parameters This section summarizes the operating measurement conditions, and the DC and AC characteristics of the device. The parameters in the DC and AC characteristics tables that follow, are derived from tests performed under the Measurement Conditions summarized in Table 11, Operating and AC Measurement Conditions. Designers should check that the operating conditions in their circuit match the operating conditions when relying on the quoted parameters. Table 11. Operating and AC measurement conditions Parameter Conditions Unit VDD Supply Voltage 2.7 to 5.5 V Ambient Operating Temperature (TA) –55 to 125 °C ≤5 ns Input Pulse Voltages 0.2 to 0.8VCC V Input and Output Timing Reference Voltages 0.3 to 0.7VCC V Input Rise and Fall Times 29/37 DC and AC parameters Table 12. Sym VDD IDD IDD1 STLM75 DC and AC characteristics Description Supply Voltage Test Condition(1) Min TA = –55 to +125°C 2.7 Typ(2) Max Unit 5.5 V VDD Supply Current, Active Temperature Conversions VDD = 3.3V 125 150 µA VDD Supply Current, Communication only TA = 25°C 70 100 µA Shutdown mode Supply Current, serial port inactive TA = 25°C 1.0 µA –25°C < TA < 100 ±2.0 °C –55°C < TA < 125 ±3.0 °C 0.5 °C/LSB 9 bits 150 ms Accuracy for corresponding range 2.7V ≤ VDD ≤ 5.5V Resolution 9-bit Temperature Data tCONV Conversion Time 9 TOS Over-Temperature Shutdown Default Value 80 °C THYS Hysteresis Default Value 75 °C VOL1 OS Saturation Voltage (VDD = 5V) 4mA sink current 0.5 V VIH Input Logic High Digital pins (SCL, SDA, A2-A0) 0.5xVDD VDD + 0.5 V VIL Input Logic Low Digital pins -0.45 0.3xVDD V VOL2 Output Logic Low (SDA) IOL2 = 3mA 0.4 V CIN Capacitance 5 pF 1. Valid for Ambient Operating Temperature: TA = –55 to 125°C; VDD = 2.7V to 5.5V (except where noted). 2. Typical number taken at VDD = 3V, TA = 25°C 30/37 STLM75 DC and AC parameters Figure 16. Bus timing requirements sequence SDA tBUF tHD:STA tR tHD:STA tF SCL tHIGH P S tLOW tSU:DAT tHD:DAT tSU:STA tSU:STO SR P AI00589 Table 13. AC characteristics Parameter(1) Sym fSCL SCL Clock Frequency tBUF Time the bus must be free before a new transmission can start tF tHD:DAT(2) Min Max Unit 0 400 kHz 1.3 SDA and SCL Fall Time 300 ns 0 µs START Condition Hold Time (after this period the first clock pulse is generated) 600 ns tHIGH Clock High Period 600 ns tLOW Clock Low Period 1.3 µs tHD:STA tR Data Hold Time µs SDA and SCL Rise Time 300 ns tSU:DAT Data Setup Time 100 ns tSU:STA START Condition Setup Time (only relevant for a repeated start condition) 600 ns tSU:STO STOP Condition Setup Time 600 ns tTIME-OUT SDA Time Low for Reset of Serial Interface(3) 75 325 ms 1. Valid for Ambient Operating Temperature: TA = –55 to 125°C; VDD = 2.7V to 5.5V (except where noted). 2. Transmitter must internally provide a hold time to bridge the undefined region (300ns max) of the falling edge of SCL. 3. For SMBus compatibility, the STLM75 supports bus time-out. Holding the SDA line low for a time greater than time-out will cause the STLM75 to reset the SDA to the idle state of serial bus communication (SDA set to high). 31/37 Package mechanical data 7 STLM75 Package mechanical data In order to meet environmental requirements, ST offers these devices in ECOPACK® packages. These packages have a Lead-free second level interconnect. The category of second Level Interconnect is marked on the package and on the inner box label, in compliance with JEDEC Standard JESD97. The maximum ratings related to soldering conditions are also marked on the inner box label. ECOPACK is an ST trademark. ECOPACK specifications are available at: www.st.com. 32/37 STLM75 Package mechanical data Figure 17. SO8 – 8-lead plastic small package outline h x 45˚ A2 A c ccc b e 0.25 mm GAUGE PLANE D k 8 E1 E 1 A1 L L1 SO-A Note: Drawing is not to scale. Table 14. SO8 – 8-lead plastic small outline package mechanical data mm inches Sym Typ Min A Max Typ Min 1.75 Max 0.069 A1 0.10 A2 1.25 b 0.28 0.48 0.011 0.019 c 0.17 0.23 0.007 0.009 ccc 0.25 0.004 0.010 0.049 0.10 0.004 D 4.90 4.80 5.00 0.193 0.189 0.197 E 6.00 5.80 6.20 0.236 0.228 0.244 E1 3.90 3.80 4.00 0.154 0.150 0.157 e 1.27 0.010 0.020 h 0.050 0.25 0.50 k 0° 8° 0° 8° L 0.40 0.127 0.016 0.050 L1 1.04 0.041 33/37 Package mechanical data STLM75 Figure 18. MSOP8 (TSSOP8) – 8-lead, thin shrink small package (3x3) outline D 8 5 c E1 1 E 4 k A1 A L L2 A2 L1 ccc b e E3_ME Note: Drawing is not to scale. Table 15. MSOP8 (TSSOP8) – 8-lead, thin shrink small package (3x3) mechanical data mm inches Sym Typ Min A 0.00 0.15 0.75 0.95 b 0.22 c A2 Typ Min 1.10 A1 0.85 Max 0.043 0.000 0.006 0.030 0.037 0.40 0.009 0.016 0.08 0.23 0.003 0.009 0.034 D 3.00 2.80 3.20 0.118 0.110 0.126 E 4.90 4.65 5.15 0.193 0.183 0.203 E1 3.00 2.80 3.10 0.118 0.110 0.122 e 0.65 L 0.60 0.016 0.032 L1 0.95 0.037 L2 0.25 0.010 0° 8° k ccc 34/37 Max 0.026 0.40 0° 0.80 8° 0.10 0.024 0.004 STLM75 8 Part numbering Part numbering Table 16. Ordering information scheme Example: STLM75 M 2 F Device Type STLM75 Package M = SO8 DS = MSSOP8 (TSSOP8)(1) Temperature Range 2 = –55 to 125°C Shipping Method F = ECOPACK Package, Tape & Reel E=ECOPACK Package, Tube 1. Contact local ST sales office for availability For other options, or for more information on any aspect of this device, please contact the ST Sales Office nearest you. 35/37 Revision History 9 STLM75 Revision History Table 17. 36/37 Revision History Date Revision Changes 23-Dec-2005 1 Initial release. 24-Feb-2006 2 Updated template, characteristics (Figure 1, 2, 3, 4, 5, ; Table 1, 6, 8, 11, 12, 13) 06-Mar-2006 3 Updated characteristics (Figure 5; Table 11, 12, 13) 28-Jul-2006 4 Updated figure 1 and 5 22-Jan-2007 5 Updated features (cover page), DC and AC characteristics (Table 12), package mechanical data (Figure 17, Figure 14, Figure 18, Table 15) and part numbering (Table 16). 01-Mar-2007 6 Updated cover page (package information); Section 2.3: Comparator mode; Table 12; package mechanical data (Figure 18, and Table 15); and part numbering (Table 16). 06-Jun-2007 7 Updated cover page, document status upgraded to full datasheet, updated Table 13. STLM75 Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. © 2007 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 37/37