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.7 V to 5.5 V ■ Conversion time is 150 ms (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) July 2008 SO8 (M) MSOP8 (TSSOP8) (DS) Rev 9 1/37 www.st.com 1 Contents STLM75 Contents 1 2 3 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 2.8 Bus timeout feature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 STLM75 Contents 3.4.3 Stop data transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 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 Document 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 Description 1 STLM75 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.7 V to 5.5 V. Operating at 3.3 V, 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 400 kHz. 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 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 Description STLM75 Table 1. Signal names Pin Sym Type/direction 1 SDA(1) Input/ Output 2 SCL Input (1) Description Serial data input/output Serial clock input Output Over-limit signal/interrupt alert output 3 OS/INT 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.7 V to 5.5 V) 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) Σ-Δ Configuration Register Pointer Register Temperature Register THYS Set Point Register VDD Control and Logic Comparator TOS Set Point Register SDA A0 A1 OS/INT 2-wire I2C Interface A2 SCL GND AI11833a 8/37 STLM75 1.3 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.7 V to +5.5 V. 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Ω Master Device SDA(1) I2C Address = 1001000 (1001A2A1A0) A1 A2 10kΩ 0.1μF 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 2.8 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 Bus timeout feature The STLM75 supports an SMBus compatible timeout function which will reset the serial I2C/SMBus interface if SDA is held low for a period greater than the timeout duration between a START and STOP condition. If this occurs, the device will release the bus and wait for another START condition. 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. 3.1.2 Register pointers selection summary Pointer value (H) P1 P0 Name Description Width (bits) Type (R/W) Poweron default 00 0 0 TEMP Temperature register 16 Readonly N/A 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 Comments To store measured temperature data 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 FT1 = fault tolerance1 bit mode(1) Bit 5 = must be set to '0'. (2) POL = output polarity Bit 6 = must be set to '0'. FT0 = fault tolerance0 bit Bit 7 = must be set to '0'. Reserved. M = thermostat 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. If a READ is ongoing, the previous temperature will be read. Accessing the STLM75 continuously without waiting at least one conversion time between communications will prevent the device from updating the temperature register with a new temperature conversion result. Consequently, the STLM75 should not be accessed continuously with a wait time of less than tCONV (max). 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 Stop Cond. ACK by by Master STLM75 AI12231 25/37 Functional description STLM75 Figure 14. TOS and THYS WRITE 1 9 1 0 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 Min TA = –55 to +125°C 2.7 Typ(2) Max Unit 5.5 V VDD supply current, active temperature conversions VDD = 3.3 V 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.7 V ≤ VDD ≤ 5.5 V Resolution tCONV Test Condition(1) 9-bit temperature data Conversion time 9 TOS Over-temperature shutdown Default value 80 °C THYS Hysteresis Default value 75 °C VOL1 OS saturation voltage (VDD = 5V) 4 mA 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 = 3 mA 0.4 V CIN Capacitance 5 pF 1. Valid for ambient operating temperature: TA = –55 to 125°C; VDD = 2.7 V to 5.5 V (except where noted). 2. Typical number taken at VDD = 3 V, TA = 25°C 30/37 STLM75 DC and AC parameters Figure 16. Bus timing requirements sequence SDA tBUF tHD:STA tHD:STA tR 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 Min Max Unit 0 400 kHz 1.3 SDA and SCL fall time µs 300 tHD:DAT(2) Data hold time 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 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.7 V to 5.5 V (except where noted). 2. Transmitter must internally provide a hold time to bridge the undefined region (300 ns 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.050 h 0.25 0.50 0.010 0.020 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) Temperature range 2 = –55 to 125°C Shipping method F = ECOPACK® package, tape & reel E=ECOPACK® package, tube 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 Document 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. 07-Jul-2008 8 Minor text changes; added Section 2.8: Bus timeout feature; updated Section 3.1.3: Temperature register. 18-Jul-2008 9 Updated cover page and Table 16. 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. © 2008 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