STCN75 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 – 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 45ms (typ) ■ Programmable temperature threshold and hysteresis set points ■ Pin- and software-compatible with TCN75 (Drop-in 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 local ST sales office for availability June 2007 Rev 5 1/35 www.st.com 1 Contents STCN75 Contents 1 2 3 Summary description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.1 Serial communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2 Temperature sensor output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.3 Pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 SDA (open drain) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.3.2 SCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.3.3 OS/INT (open drain) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.3 Comparator mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.4 Interrupt mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.5 Fault tolerance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.6 Shutdown mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.7 Temperature data format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1 2/35 1.3.1 Registers and register set formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1.1 Command/pointer register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1.2 Configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1.3 Temperature register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.1.4 Over-limit temperature register (TOS) . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.1.5 Hysteresis temperature register (THYS) . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.2 Power-up default conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.3 Serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.4 2-wire bus characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.4.1 Bus not busy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.4.2 Start data transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.4.3 Stop data transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 STCN75 Contents 3.4.4 Data valid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.4.5 Acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.5 READ mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.6 WRITE mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4 Typical operating characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5 Maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 6 DC and AC parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 7 Package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 8 Part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 9 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3/35 List of tables STCN75 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/35 Signal names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Fault tolerance setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Relationship between temperature and digital output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Command/pointer register format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Register pointers selection summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Configuration register format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Temperature register format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 TOS and THYS register format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 STCN75 serial bus slave addresses. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Operating and AC measurement conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 DC and AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 SO8 – 8-pin, plastic small outline, package mechanical data. . . . . . . . . . . . . . . . . . . . . . . 31 MSOP8 (TSSOP8) – 8-lead, thin shrink small package (3x3) mech. data . . . . . . . . . . . . . 32 Ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 STCN75 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. Logic diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Connections (SO8 and TSSOP8) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Functional block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Typical 2-wire interface connections diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Serial bus data transfer sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Acknowledgement sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Slave address location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Typical 2-byte READ from preset pointer location (e.g. Temp - TOS, THYS). . . . . . . . . . . . 22 Typical pointer set followed by an immediate READ for 2-byte register (e.g. temp). . . . . . 22 Typical 1-byte READ from the cofiguration register with preset pointer . . . . . . . . . . . . . . . 22 Typical pointer set followed by an immediate READ from the configuration register . . . . . 23 Configuration register WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 TOS and THYS WRITE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Temperature variation vs. voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Bus timing requirements sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 SO8 – 8-pin, plastic small package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 MSOP8 (TSSOP8) – 8-lead, thin shrink small package (3x3) outline. . . . . . . . . . . . . . . . . 32 5/35 Summary description 1 STCN75 Summary description The STCN75 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 SO8N 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 STCN75 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 STCN75 is pin-for-pin and software compatible with the TCN75. STCN75 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 STCN75 is factory-calibrated and requires no external components to measure temperature. 1.1 Serial communications The STCN75 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 STCN75 registers to customize operation of the device. 6/35 STCN75 1.2 Summary description Temperature sensor output The STCN75 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: ● Section 2.3: Comparator mode ● Section 2.4: Interrupt mode. At power-up the STCN75 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). Note: See Pin descriptions on page 8 for details. Figure 1. Logic diagram VDD OS/INT(1) SDA(1) SCL A0 STCN75 A1 A2 GND AI11899 1. SDA and OS/INT are open drain. Table 1. Signal names Pin Sym Type/direction 1 SDA(1) Input/ Output 2 SCL Input (1) Output Description Serial data input/output Serial clock input 3 OS/INT 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. 7/35 Summary description Figure 2. STCN75 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) S-D 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-wire I2C Interface A2 SCL GND AI11833a 1.3 Pin descriptions See Figure 1 on page 7 and Table 1 on page 7 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). 8/35 STCN75 1.3.4 Summary description 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/35 Operation 2 STCN75 Operation After each temperature measurement and analog-to-digital conversion, the STCN75 stores the temperature as a 16-bit two’s complement number (see Table 5: Register pointers selection summary on page 16) in the 2-byte Temperature register (see Table 7 on page 17). 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 14 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/INT 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 STCN75 is used in a noisy environment (see Table 2 on page 13). The active state of the OS/INT 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 STCN75, the OS/INToutput should be left floating. Note: 10/35 If the thermostat is not used, the TOS and THYS registers can be used for general storage of system data. STCN75 2.1 Operation Applications information STCN75 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 STCN75 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Ω STCN75 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. 2.2 Thermal alarm function The STCN75 thermal alarm function provides user-programmable thermostat capability and allows the STCN75 to function as a standalone thermostat without using the serial interface. The OS/INT 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. 11/35 Operation 2.3 STCN75 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/INT 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/INT output. Once the OS/INT output is active, it will remain active until the first time the measured temperature drops below the temperature stored in the THYS register, whereupon it will reset to its inactive state. Putting the device into Shutdown mode does not clear OS/INT in Comparator mode. 2.4 Interrupt mode In Interrupt mode, the OS/INT output becomes active when the measured temperature exceeds the TOS value a consecutive number of times as determined by the Fault Tolerance bits (FT1, FT0) value in the Configuration register. Once activated, the OS/INT can only be cleared by reading from any register (temperature, configuration, TOS, or THYS) on the device. Once the OS/INT 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. This mode is better suited for interrupt driven microprocessor based systems. 12/35 STCN75 2.5 Operation Fault tolerance For both Comparator and Interrupt modes, the alarm “fault tolerance” setting plays a role in determining when the OS/INT 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 STCN75 (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 STCN75 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 STCN75 will go into a low-power standby state. The OS/INT output will be cleared if the thermostat is operating in Interrupt mode and the OS/INT 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 STCN75 to normal operation. 13/35 Operation 2.7 STCN75 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 14/35 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 STCN75 3 Functional description Functional description The STCN75 registers have unique pointer designations which are defined in Table 5 on page 16. Whenever any READ/WRITE operation to the STCN75 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 (seeSection 3.3: Serial interface on page 19), 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 These bits must be ‘O’ 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. 15/35 Functional description Table 5. Register pointers selection summary Pointer value (H) P1 P0 00 0 0 TEMP 01 0 1 CON Configuration F register 02 1 0 THYS Hysteresis register TOS Overtemperature shutdown 03 3.1.2 STCN75 1 1 Name Description Temperature register Width Type (bits) (R/W) Power-on default Comments 16 Readonly N/A 8 R/W 00 16 R/W 4B00 Default = 75°C 5000 Set point for overtemperature shutdown (TOS) limit default = 80°C 16 R/W To store measured temperature data Configuration register The Configuration register is used to store the device settings such as Device Operation mode, OS/INT Operation mode, OS/INT Polarity, and OS/INT 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 STCN75 0 0 0 FT1 FT0 POL M SD Default 0 0 0 0 0 0 0 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'. 1. Indicates Operation mode; 0 = comparator mode, and 1 = Interrupt mode (see Section 2.3: Comparator mode and Section 2.4: Interrupt mode). 2. The OS is active-low ('0'). 16/35 STCN75 3.1.3 Functional description Temperature register The Temperature register is a two-byte (16-bit) “Read only” register (see Table 7). 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 STCN75 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 Bit 14 contains the temperature MSB. All bits in the Temperature register default to zero at powerup. Table 7. Temperature register format(1) Bytes HS byte MSB LS byte TMSB TLSB LSB Bits 15 STCN75 TD8 (S) 14 13 12 11 10 9 8 7 TD7 TD TD TD TD TD TD TD0 (TMSB) 6 5 4 3 2 1 (TLSB) 6 5 4 3 2 1 0 x x x x x x x Keys: S = Two’s complement sign bit TMSB = temperature MSB TLSB = temperature LSB TDx = temperature data bits 1. These are comparable formats to the LM75. 3.1.4 Over-limit temperature register (TOS) TOS register is a two-byte (16-bit) READ/WRITE register that stores the user-programmable upper trip-point temperature for the thermal alarm in two’s complement format (see Table 8 on page 18). 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” (x). 17/35 Functional description 3.1.5 STCN75 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(1) Bytes HS byte MSB LS byte TMSB TLSB LSB Bits STCN75 15 14 S 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: S = two’s complement sign bit TMSB = temperature MSB TLSB = temperature LSB TD = temperature Data 1. These are comparable formats to the DS75 and LM75. 3.2 Power-up default conditions The STCN75 always powers up in the following default states: Note: 18/35 ● 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. STCN75 3.3 Functional description Serial interface Writing to and reading from the STCN75 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 STCN75 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. STCN75 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 5 on page 20): 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. 19/35 Functional description 3.4.4 STCN75 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 5. Serial bus data transfer sequence DATA LINE STABLE DATA VALID CLOCK DATA START CONDITION CHANGE OF DATA ALLOWED STOP CONDITION AI00587 3.4.5 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 6 on page 21). 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. 20/35 STCN75 Functional description Figure 6. Acknowledgement sequence CLOCK PULSE FOR ACKNOWLEDGEMENT START SCL FROM MASTER 1 DATA OUTPUT BY TRANSMITTER 2 8 MSB 9 LSB DATA OUTPUT BY RECEIVER AI00601 3.5 READ mode In this mode the master reads the STCN75 slave after setting the slave address (see Figure 7). 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 8, Figure 9, and Figure 10 on page 22). Slave address location R/W START A SLAVE ADDRESS 1 LSB Figure 7. MSB Note: ● 0 0 1 A2 A1 A0 AI12226 21/35 Functional description Figure 8. STCN75 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 STCN75 ACK by Master Stop Cond. by No ACK Master by Master AI12227 Figure 9. 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 9 0 0 0 0 0 0 ACK by STCN75 1 9 0 0 1 D1 D0 Pointer Byte Address Byte 1 Repeat Start by Master 1 A2 A1 A0 R/W ACK by STCN75 1 9 D7 D6 D5 D4 D3 D2 D1 D0 1 D7 D6 D5 D4 D3 D2 D1 D0 Most Significant Data Byte Address Byte ACK by STCN75 9 Least Significant Data Byte ACK by Master Stop Cond. No ACK by by Master Master AI12228 Figure 10. Typical 1-byte READ from the cofiguration 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 STCN75 Stop Cond. by No ACK Master by Master AI12229 22/35 STCN75 3.6 Functional description WRITE mode In this mode the master transmitter transmits to the STCN75 slave receiver. Bus protocol is shown in Figure 11. 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 11, and Figure 12, and Figure 13 on page 24). Figure 11. Typical pointer set followed by an immediate READ from the configuration register 1 9 1 0 0 Start by Master 1 1 A2 A1 A0 R/W 9 0 0 0 0 0 0 D1 D0 Pointer Byte Address Byte ACK by STCN75 ACK by STCN75 1 1 9 0 Repeat Start by Master 0 1 A2 A1 A0 R/W 1 9 D7 D6 D5 D4 D3 D2 D1 D0 Address Byte Stop Cond. No ACK by by Master STCN75 Data Byte ACK by STCN75 AI12230 Figure 12. 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 STCN75 9 0 0 D4 D3 D2 D1 D0 Configuration Byte ACK by STCN75 Stop Cond. ACK by by Master STCN75 AI12231 23/35 Functional description STCN75 Figure 13. 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 STCN75 ACK by STCN75 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 STCN75 ACK by STCN75 Stop Cond. by Master AI12232 24/35 STCN75 Typical operating characteristics Figure 14. 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 25/35 Maximum ratings 5 STCN75 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). 26/35 STCN75 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 27/35 DC and AC parameters Table 12. Sym VDD IDD IDD1 STCN75 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.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 85 ms Accuracy for corresponding range 2.7V ≤ VDD ≤ 5.5V Resolution tCONV Test condition(1) 9-bit Temperature data Conversion time 9 45 TOS Over-temperature shutdown Default value 80 °C THYS Hysteresis Default value 75 °C VOL1 OS/INT 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) IOL = 3mA 0.4 V CIN Capacitance IOL SDA output low current 5 pF 6 mA 1. Valid for ambient operating temperature: TA = –55 to 125°C; VDD = 2.7V to 5.5V (except where noted). 2. Typical numbers taken at VDD= 3V, TA = 25°C. 28/35 STCN75 DC and AC parameters Figure 15. Bus timing requirements sequence SDA tBUF tHD:STA tHD:STA tR tF SCL tHIGH P S tLOW tSU:DAT tHD:DAT tSU:STA SR tSU:STO 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 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 29/35 Package mechanical data 7 STCN75 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. 30/35 STCN75 Package mechanical data Figure 16. SO8 – 8-pin, 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 1. Drawing is not to scale. Table 14. SO8 – 8-pin, plastic small outline, package mechanical data millimetres inches Symbol 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 1.27 0.016 0.050 L1 1.04 0.041 31/35 Package mechanical data STCN75 Figure 17. 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 1. Drawing is not to scale. Table 15. MSOP8 (TSSOP8) – 8-lead, thin shrink small package (3x3) mech. 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 32/35 Max 0.026 0.40 0° 0.80 8° 0.10 0.024 0.004 STCN75 8 Part numbering Part numbering Table 16. Ordering information scheme Example: STCN75 M 2 F Device type STCN75 Package M = SO8N DS = MSOP8 (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. 33/35 Revision history 9 STCN75 Revision history Table 17. 34/35 Revision history Date Revision Changes 25-Jul-2006 1 Initial release 17-Nov-2006 2 Changed document to new template; document status updated from target specification to preliminary data; updated footnotes in Table 1: Signal names; updated footnotes, VOL1, VIL, VOL2 and IOL in Table 12: DC and AC characteristics; deleted tTIME-OUT from Table 13: AC characteristics; updated package mechanical data for the SO8N package in Section 7. 22-Jan-2007 3 Updated information in features and cover page, DC and AC characteristics (Table 12), package mechanical information (Figure 17 and Table 15) and part numbering (Table 16). 02-Mar-2007 4 Updated cover page (package information); Section 2: Operation; Section 2.3: Comparator mode; Section 2.4: Interrupt mode; Table 4; Table 12; package mechanical data (Figure 17, Table 15); and part numbering (Table 16). 06-Jun-2007 5 Updated cover page, document status upgraded to full datasheet, updated Table 12. STCN75 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 35/35