a FEATURES 10-Bit Temperature-to-Digital Converter Temperature Range: -40C to +85C Typical Accuracy of 0.5C at 40C SMBus/I2C(R) Compatible Serial Interface 3 A Power-Down Current Temperature Conversion Time: 29 s Typ Space-Saving 6-Lead (AD7414) and 5-Lead (AD7415) SOT-23 Packages Pin Selectable Addressing via AS Overtemperature Indicator (AD7414 Only) SMBus Alert Function (AD7414 Only) 4 Versions Allow 8 I2C Addresses (AD7414) 2 Versions Allow 6 I2C Addresses (AD7415) APPLICATIONS Hard Disk Drives Personal Computers Electronic Test Equipment Office Equipment Domestic Appliances Process Control Cellular Phones 0.5C Accurate, 10-Bit Digital Temperature Sensors in SOT-23 AD7414/AD7415 FUNCTIONAL BLOCK DIAGRAM GND VDD CONFIGURATION REGISTER The AD7414/AD7415 provides a 2-wire serial interface that is compatible with SMBus and I2C interfaces. The part comes in four versions, the AD7414/AD7415-0, AD7414/AD7415-1, AD7414-2, and AD7414-3. The AD7414/AD7415-0 and AD7414/AD7415-1 versions provide a choice of three different SMBus addresses for each version. All four AD7414 versions give the possibility of eight different I2C addresses while the two AD7415 versions allow up to six I2C addresses to be used. The AD7414/AD7415's 2.7 V supply voltage, low supply current, serial interface, and small package size make it ideal for a variety of applications, including personal computers, office equipment, cellular phones, and domestic appliances. In the AD7414, on-chip registers can be programmed with high and low temperature limits, and an open-drain overtemperature indicator output (ALERT) that becomes active when a programmed limit is exceeded. A Configuration register allows programming of the state of the ALERT output (active high or active low). This output can be used as an interrupt or as an SMBus alert. TEMPERATURE VALUE REGISTER THIGH SETPOINT REGISTER SETPOINT COMPARATOR TLOW SETPOINT REGISTER SMBus/I2C INTERFACE AS ALERT SCL SDA AD7414 AD7415 GND GENERAL DESCRIPTION The AD7414/AD7415 is a complete temperature monitoring system in 6-lead and 5-lead SOT-23 packages. It contains a band gap temperature sensor and 10-bit ADC to monitor and digitize the temperature reading to a resolution of 0.25C. 10-BIT ANALOG-DIGITAL CONVERTER BAND GAP TEMPERATURE SENSOR 10-BIT ANALOG-DIGITAL CONVERTER BAND GAP TEMPERATURE SENSOR VDD TEMPERATURE VALUE REGISTER CONFIGURATION REGISTER AS SMBus/I2C INTERFACE SCL SDA PRODUCT HIGHLIGHTS 1. The AD7414/AD7415 has an on-chip temperature sensor that allows an accurate measurement of the ambient temperature to be made. It is capable of 0.5C temperature accuracy. 2. SMBus/I2C compatible serial interface with pin selectable choice of three addresses per version of the AD7414/AD7415, and eight address options in total for the AD7414 and six in total for the AD7415. 3. Supply voltage of 2.7 V to 5.5 V. 4. Space-saving 5-lead and 6-lead SOT-23 packages. 5. 10-bit temperature reading to 0.25C resolution. 6. The AD7414 has an overtemperature indicator that can be software disabled. Used as an interrupt of SMBus alert. 7. One-shot and automatic temperature conversion rates. REV. B Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective companies. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 www.analog.com Fax: 781/326-8703 (c) 2002 Analog Devices, Inc. All rights reserved. AD7414/AD7415-SPECIFICATIONS1 (T = T A Parameter MIN to TMAX, VDD = 2.7 V to 5.5 V, unless otherwise noted.) A Version Unit Test Conditions/Comments 0.5 -0.87 to +0.823 1.5 2.0 1.873 2.0 3.0 10 800 25 C typ C max C max C max C max C typ C max Bits ms typ ms typ VDD = 3 V @ +40C VDD = 3 V @ +40C VDD = 3 V @ -40C to +70C VDD = 3 V @ -40C to +85C VDD = 5.5 V @ +40C VDD = 5.5 V @ -40C to +85C VDD = 5.5 V @ -40C to +85C 1.2 900 mA typ mA max Current during Conversion Peak Current between Conversions 169 188 mA typ mA typ Supply Current with Serial Bus Inactive. Part not converting and D7 of Configuration Register = 0. 180 214 3 mA typ mA typ mA max Supply Current with Serial Bus Active. Part not converting and D7 of Configuration Register = 0. D7 of Configuration Register = 1. Typical values are 0.04 mA at 3 V and 0.5 mA at 5 V. DIGITAL INPUT Input High Voltage, VIH Input Low Voltage, VIL Input Current, IIN8 Input Capacitance, CIN 2.4 0.8 1 10 V min V max mA max pF max VIN = 0 V to VDD All Digital Inputs DIGITAL OUTPUT (OPEN-DRAIN) Output High Voltage, VOH Output Low Voltage, VOL Output High Current, IOH Output Capacitance, COUT ALERT Output Saturation Voltage 2.4 0.4 1 10 0.8 V min V max mA max pF max V max IOL = 1.6 mA VOH = 5 V Typ = 3 pF IOUT = 4 mA 2.5 50 0 ms min ns min ns min See Figure 1 See Figure 1 See Figure 1 50 ns min See Figure 1 50 90 4 ns min ns max ms typ See Figure 1 See Figure 1 TEMPERATURE SENSOR AND ADC Accuracy2 Resolution Update Rate, tR Temperature Conversion Time POWER SUPPLIES Supply Current4 Peak Supply Current5 Supply Current - Nonconverting Inactive Serial Bus6 Normal Mode @ 3 V Normal Mode @ 5 V Active Serial Bus7 Normal Mode @ 3 V Normal Mode @ 5 V Shutdown Mode AC ELECTRICAL CHARACTERISTICS9, 10 Serial Clock Period, t1 Data In Setup Time to SCL High, t2 Data Out Stable after SCL Low, t3 SDA Low Setup Time to SCL Low (Start Condition), t4 SDA High Hold Time after SCL High (Stop Condition), t5 SDA and SCL Fall Time, t6 Power-Up Time NOTES 1 Temperature range as follows: A Version = -40C to +85C. 2 Accuracy specifications apply only to voltages listed under Test Conditions. See Temperature Accuracy vs. Supply section for typical accuracy performance over the full VDD supply range. 3 100% production tested at 40C to these limits. 4 These current values can be used to determine average power consumption at different one-shot conversion rates. Average power consumption at the automatic conversion rate of 1.25 kHz is 940 mW. 5 This peak supply current is required for 29 ms (the conversion time plus power-up time) out of every 800 ms (the conversion rate). 6 These current values are derived by not issuing a stop condition at the end of a write or read, thus preventing the part from going into a conversion. 7 The current is derived assuming a 400 kHz serial clock being active continuously. 8 On power-up, the initial input current, I IN, on the AS pin is typically 50 mA. 9 The SDA and SCL timing is measured with the input filters turned on so as to meet the Fast Mode I 2C specification. Switching off the input filters improves the transfer rate but has a negative effect on the EMC behavior of the part. 10 Guaranteed by design. Not tested in production. Specifications subject to change without notice. -2- REV. B AD7414/AD7415 PIN FUNCTION DESCRIPTIONS PIN CONFIGURATIONS Mnemonic Description AS GND VDD SDA ALERT SCL SOT-23 Logic Input. Address select input that selects one of three I2C addresses for the AD7414/AD7415 (see Table I). Recommend a pull-up or pull-down resistor of 1 kW. Analog and Digital Ground Positive Supply Voltage, 2.7 V to 5.5 V Digital I/O. Serial bus bidirectional data. Open-drain output. AD7414 Digital Output. Overtemperature indicator becomes active when temperature exceeds THIGH. Open-drain output. Digital Input. Serial bus clock. AS AD7414 VDD 3 t1 t2 t5 SDA DATA IN SDA DATA OUT NC 8 NC 1 AD7414 SDA 2 TOP VIEW (Not to Scale) t3 7 AS 6 GND SCL 4 5 VDD NC = NO CONNECT SOT-23 AS 5 SDA 1 AD7415 GND 2 VDD 3 TOP VIEW (Not to Scale) 4 SCL Table I. I2C Address Selection Part Number AS Pin I2C Address AD7414-0 AD7414-0 AD7414-0 Float GND VDD 1001 000 1001 001 1001 010 AD7414-1 AD7414-1 AD7414-1 Float GND VDD 1001 100 1001 101 1001 110 AD7414-2 N/A 1001 011 AD7414-3 N/A 1001 111 AD7415-0 AD7415-0 AD7415-0 Float GND VDD 1001 000 1001 001 1001 010 AD7415-1 AD7415-1 AD7415-1 Float GND VDD 1001 100 1001 101 1001 110 t6 Figure 1. Diagram for Serial Bus Timing REV. B 4 SCL ALERT 3 NOTES 1 Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 2 Maximum junction temperature is calculated using: T J = TAMBMAX (JA WMAX). JA = Junction-to-Ambient Thermal Resistance, W MAX = Maximum Power Dissipated in the device, and T AMBMAX = Maximum Ambient Temperature. 5 ALERT MSOP VDD to GND . . . . . . . . . . . . . . . . . . . . . . . . . . -0.3 V to +7 V SDA Input Voltage to GND . . . . . . . . . . . . . . -0.3 V to +7 V SDA Output Voltage to GND . . . . . . . . . . . . . -0.3 V to +7 V SCL Input Voltage to GND . . . . . . . . . . . . . . -0.3 V to +7 V ALERT Output Voltage to GND . . . . . . . . . . -0.3 V to +7 V Operating Temperature Range . . . . . . . . . . . -40C to +85C Storage Temperature Range . . . . . . . . . . . . -65C to +150C Junction Temperature2 . . . . . . . . . . . . . . . . . . . . . . . . . 150C SOT-23, Power Dissipation . . . . . . . . . . . . . . . . . . . . 450 mW JA Thermal Impedance . . . . . . . . . . . . . . . . . . . . . . 240C/W Lead Temperature, Soldering Vapor Phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . . . . 215C Infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220C MSOP, Power Dissipation . . . . . . . . . . . . . . . . . . . . . 450 mW JA Thermal Impedance . . . . . . . . . . . . . . . . . . . . 206C/W Lead Temperature Soldering Vapor Phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . . . . 215C Infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . . 220C t4 TOP VIEW (Not to Scale) GND 2 ABSOLUTE MAXIMUM RATINGS 1 SCL 6 SDA 1 -3- AD7414/AD7415 ORDERING GUIDE Model Temperature Range Temperature Error @ 3 V Package Options Package Description Branding Information Minimum Quantities/Reel AD7414ART-0REEL7 AD7414ART-0REEL AD7414ART-0500RL7 AD7414ARM-0REEL7 AD7414ARM-0REEL AD7414ARM-02 -40C to +85C -40C to +85C -40C to +85C -40C to +85C -40C to +85C -40C to +85C 2C 2C 2C 2C 2C 2C RT-6 RT-6 RT-6 RM-8 RM-8 RM-8 6-Lead SOT-23 6-Lead SOT-23 6-Lead SOT-23 8-Lead MSOP 8-Lead MSOP 8-Lead MSOP CHA1 CHA1 CHA1 CHA1 CHA1 CHA1 3,000 10,000 500 3,000 10,000 AD7414ART-1REEL7 AD7414ART-1REEL AD7414ART-1500RL7 AD7414ARM-1REEL7 AD7414ARM-1REEL AD7414ARM-12 -40C to +85C -40C to +85C -40C to +85C -40C to +85C -40C to +85C -40C to +85C 2C 2C 2C 2C 2C 2C RT-6 RT-6 RT-6 RM-8 RM-8 RM-8 6-Lead SOT-23 6-Lead SOT-23 6-Lead SOT-23 8-Lead MSOP 8-Lead MSOP 8-Lead MSOP CHB3 CHB3 CHB3 CHB3 CHB3 CHB3 3,000 10,000 500 3,000 10,000 AD7414ART-2REEL7 AD7414ART-2REEL -40C to +85C -40C to +85C 2C 2C RT-6 RT-6 6-Lead SOT-23 6-Lead SOT-23 CHC3 CHC3 3,000 10,000 AD7414ART-3REEL7 AD7414ART-3REEL -40C to +85C -40C to +85C 2C 2C RT-6 RT-6 6-Lead SOT-23 6-Lead SOT-23 CHD3 CHD3 3,000 10,000 AD7415ART-0REEL7 AD7415ART-0REEL AD7415ART-0500RL7 -40C to +85C -40C to +85C -40C to +85C 2C 2C 2C RT-5 RT-5 RT-5 5-Lead SOT-23 5-Lead SOT-23 5-Lead SOT-23 CGA1 CGA1 CGA1 3,000 10,000 500 AD7415ART-1REEL7 AD7415ART-1REEL AD7415ART-1500RL7 -40C to +85C -40C to +85C -40C to +85C 2C 2C 2C RT-5 RT-5 RT-5 5-Lead SOT-23 5-Lead SOT-23 5-Lead SOT-23 CGB3 CGB3 CGB3 3,000 10,000 500 NOTES 1 Available to order. 2 This model shipped in tubes. 3 Contact factory for availability. CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the AD7414/AD7415 features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality. -4- WARNING! ESD SENSITIVE DEVICE REV. B AD7414/AD7415 CIRCUIT INFORMATION SUPPLY 2.7 V TO 5.5 V 10F The AD7414/AD7415 is a standalone digital temperature sensor. The on-chip temperature sensor allows an accurate measurement of the ambient device temperature to be made. The 10-bit A/D converter converts the temperature measured into a twos complement format for storage in the Temperature register. The A/D converter is made up of a conventional successive-approximation converter based around a capacitor DAC. The serial interface is I2C and SMBus compatible. The AD7414/AD7415 requires a 2.7 V to 5.5 V power supply. The temperature sensor has a working measurement range of -40C to +85C. 0.1F 1k VDD SDA AS SCL GND C/P ALERT AD7414 Figure 2. Typical Connection Diagram FUNCTIONAL DESCRIPTION Temperature measurement is initiated by a couple of methods. The first uses an internal clock countdown of 800 ms, and a conversion is performed. The internal oscillator is the only circuit that is powered up between conversions, and once it times out, every 800 ms, a wake-up signal is sent to power up the rest of the circuitry. A monostable is activated at the beginning of the wake-up signal to ensure that sufficient time is given to the power-up process. The monostable typically takes 4 ms to time out. It then takes typically 25 ms for each conversion to be completed. The new temperature value is loaded into the Temperature Value register and ready for reading by the I2C interface. A temperature measurement is also initiated every time the oneshot method is used. This method requires the user to write to the One-Shot bit in the Configuration register when a temperature measurement is needed. Setting the One-Shot bit to a 1 will start a temperature conversion directly after the write operation. The track-and-hold goes into hold approximately 4 ms (monostable timeout) after the STOP condition and a conversion is then initiated. Typically 25 ms later, the conversion is complete and the Temperature Value register is loaded with a new temperature value. MEASUREMENT TECHNIQUE A common method of measuring temperature is to exploit the negative temperature coefficient of a diode, or the base-emitter voltage of a transistor, operated at constant current. Unfortunately, this technique requires calibration to null out the effect of the absolute value of VBE, which varies from device to device. The technique used in the AD7414/AD7415 is to measure the change in VBE when the device is operated at two different currents. This is given by: where: K is Boltzmann's constant. q is the charge on the electron (1.6 10-19 Coulombs). T is the absolute temperature in Kelvins. N is the ratio of the two currents. I The measurement modes are compared with a high temperature limit, stored in an 8-bit read/write register. This is applicable only to the AD7414 since the AD7415 does not have an ALERT pin and subsequently does not have an overtemperature monitoring function. If the measurement is greater than the high limit, the ALERT pin is activated (if it has already been enabled in the Configuration register). There are two ways to deactivate the ALERT pin again: first when the Alert Reset bit in the Configuration register is set to a 1 by a write operation, and second when the temperature measured is less than the value in the TLOW register. This ALERT pin is compatible with the SMBus SMBALERT option. Enabling or disabling the SCL and SDA filters. Enabling or disabling the ALERT function. Setting ALERT pin polarity. REV. B NI VDD VOUT + TO ADC SENSING TRANSISTOR Configuration functions consist of: Switching between normal operation and full power-down. DVBE = KT q 1 n ( N ) SENSING TRANSISTOR VOUT - Figure 3. Temperature Measurement Technique Figure 3 shows the method the AD7414/AD7415 uses to measure the ambient device temperature. To measure DVBE, the sensor (substrate transistor) is switched between operating currents of I and N I. The resulting waveform is passed through a chopperstabilized amplifier that performs the functions of amplification and rectification of the waveform to produce a dc voltage proportional to DVBE. This voltage is measured by the ADC to give a temperature output in 10-bit twos complement format. -5- AD7414/AD7415 The AD7415 has three internal registers as shown in Figure 5. Two are data registers and one is an Address Pointer Register. TEMPERATURE DATA FORMAT The temperature resolution of the ADC is 0.25C, which corresponds to one LSB of the ADC. The ADC can theoretically measure a temperature span of 255C; the practical lowest value is limited to -40C due to the device maximum ratings. The A grade can measure a temperature range of -40C to +85C. (Temperature data format is shown in Table II.) TEMPERATURE VALUE REGISTER ADDRESS POINTER REGISTER CONFIGURATION REGISTER Table II. A Grade Temperature Data Format D A T A Digital Output DB9 . . . DB0 Temperature SDA -55C -50C -25C -0.25C 0C +0.25C +10C +25C +50C +75C +100C +125C 11 0010 0100 11 0011 1000 11 1001 1100 11 1111 1111 00 0000 0000 00 0000 0001 00 0010 1000 00 0110 0100 00 1100 1000 01 0010 1100 01 1001 0000 01 1111 0100 SERIAL BUS INTERFACE Figure 5. AD7415 Register Structure Each data register has an address pointed to by the Address Pointer register when communicating with it. The Temperature Value register is the only data register that is read-only. ADDRESS POINTER REGISTER The Address Pointer register is an 8-bit register that stores an address that points to one of the four data registers of the AD7414 and one of the two data registers of the AD7415. The first byte of every serial write operation to the AD7414/AD7415 is the address of one of the data registers, which is stored in the Address Pointer register, and selects the data register to which subsequent data bytes are written. Only the two LSBs of this register are used to select a data register. A Grade Temperature Conversion Formula: Positive Temperature = Negative Temperature = ADC Code 4 ( ADC* Code - 512) Table III. Address Pointer Register 4 *DB9 is removed from the ADC Code. INTERNAL REGISTER STRUCTURE P7 P6 P5 P4 P3 P2 P1 0 0 0 0 0 0 Register Select The AD7414 has five internal registers as shown in Figure 4. Four are data registers and one is an Address Pointer register. P1 P0 Registers 0 0 1 1 0 1 0 1 Temperature Value Register (Read-Only) Configuration Register (Read/Write) THIGH Register (Read/Write) TLOW Register (Read/Write) CONFIGURATION REGISTER THIGH REGISTER P0 Table IV. AD7414 Register Address TEMPERATURE VALUE REGISTER ADDRESS POINTER REGISTER SCL Table V. AD7415 Register Address D A T A P1 P0 Registers 0 0 0 1 Temperature Value Register (Read-Only) Configuration Register (Read/Write) TLOW REGISTER SDA SERIAL BUS INTERFACE SCL Figure 4. AD7414 Register Structure -6- REV. B AD7414/AD7415 Table VI. AD7414 Configuration Register D7 D6 D5 D4 D3 D2 Table VIII. AD7415 Configuration Register D1 D0 PD FLTR ALERT ALERT ALERT ONE EN POLARITY RESET SHOT MODE 0* 1* 0s* 0* 0* 0* TEST 0* *Default settings at power-up. PD FLTR 0* 1* D4 D3 D2 TEST MODE 0s* D1 D0 ONE SHOT TEST MODE 0s* 0s* Table IX. AD7415 Configuration Register Settings D7 D6 D2 Table VII. AD7414 Configuration Register Setting Full Power-Down if = 1. Bypass SDA and SCL filtering if = 0. Disable ALERT if = 1. ALERT is active low if D4 = 0, ALERT is active high if D4 = 1. Reset the ALERT pin if set to 1. The next temperature conversion will have the ability to activate the Alert function. The bit status is not stored; thus this bit will be "0" if read. Initiate a temperature conversion if set to a 1. The bit status is not stored; thus this bit will be "0" if read. D2 D5 In the AD7415, only three of the bits are used (D7, D6, and D2) to set the operating modes; see Table IX. D0, D1, and D3 to D5 are used for factory settings and must have zeros written to them during normal operation. The Configuration register is an 8-bit read/write register that is used to set the operating modes of the AD7414/AD7415. In the AD7414, six of the MSBs are used (D7 to D2) to set the operating modes; see Table VII. D0 and D1 are used for factory settings and must have zeros written to them during normal operation. D3 D6 *Default settings at power-up. CONFIGURATION REGISTER (ADDRESS 01H) D7 D6 D5 D4 D7 1 Full Power-Down if = 1. Bypass SDA and SCL filtering if = 0. Initiate a temperature conversion if set to a 1. The bit status is not stored; thus this bit will be "0" if read. If the AD7414/AD7415 is in power-down mode (D7 = 1), a temperature conversion can still be initiated by the one-shot operation. This involves a write operation to the Configuration register and setting the One-Shot bit to a 1 (D2 = 1), which will cause the AD7414/AD7415 to power up, perform a single conversion, and power down again. This is a very power efficient mode. 9 9 1 SCL 1 SDA 0 START BY MASTER 0 A2 1 A0 A1 FRAME 1 SERIAL BUS ADDRESS BYTE P6 P7 R/W P5 P3 P4 P1 P2 P0 ACK. BY AD7414/AD7415 FRAME 2 ADDRESS POINTER REGISTER BYTE ACK. BY AD7414/AD7415 STOP BY MASTER Figure 6. Writing to the Address Pointer Register to Select a Register for a Subsequent Read Operation 1 9 1 9 SCL SDA 1 0 0 1 A2 A1 START BY MASTER R/W A0 P7 P6 P5 P4 P3 P2 P1 P0 ACK. BY AD7414/AD7415 FRAME 2 ADDRESS POINTER REGISTER BYTE 9 ACK. BY AD7414/AD7415 FRAME 1 SERIAL BUS ADDRESS BYTE 1 SCL (CONTINUED) SDA (CONTINUED) D7 D6 D5 D4 D3 D2 FRAME 3 DATA BYTE D1 D0 ACK. BY STOP BY AD7414/AD7415 MASTER Figure 7. Writing to the Address Pointer Register Followed by a Single Byte of Data to the Selected Register REV. B -7- AD7414/AD7415 Table XI. AD7414 Temperature Value Register (Second Read) TEMPERATURE VALUE REGISTER (ADDRESS 00H) The Temperature Value register is a 10-bit read-only register that stores the temperature reading from the ADC in twos complement format. Two reads are necessary to read data from this register. Table X shows the contents of the first byte to be read, while Table XI and Table XII show the contents of the second byte to be read from AD7414 and AD7415, respectively. In Table XI, D3 to D5 of the second byte are used as flag bits and are obtained from other internal registers. They function as follows: ALERT_Flag: The state of this bit is the same as that of the ALERT pin. THIGH_Flag: This flag is set to a 1 when the temperature measured goes above the THIGH limit. It is reset when the second temperature byte (Table XI) is read. If the temperature is still greater than the THIGH limit after the read operation, the flag will be set again. TLOW_Flag: D6 D5 D4 D3 B1 LSB ALERT_ Flag THIGH_ TLOW_ Flag Flag D2 D1 D0 0 0 0 Table XII. AD7415 Temperature Value Register (Second Read) D7 D6 D5 D4 D3 D2 D1 D0 B1 LSB N/A N/A N/A N/A N/A N/A AD7414 THIGH REGISTER (Address 02h) The THIGH register is an 8-bit read/write register that stores the upper limit that will activate the ALERT output. Therefore if the value in the Temperature Value register is greater than the value in the THIGH register, the ALERT pin is activated (that is, if ALERT is enabled in the Configuration register). Since it is an 8-bit register, the temperature resolution is 1C. This flag is set to a 1 when the temperature measured goes below the TLOW limit. It is reset when the second temperature byte (Table XI) is read. If the temperature is still less than the TLOW limit after the read operation, the flag will be set again. Table XIII. THIGH Register The full theoretical span of the ADC is 255C, but in practice the temperature measurement range is limited to the operating range of the device, -40C to +85C for A grade. D7 D6 D5 D4 D3 D2 D1 D0 MSB B6 B5 B4 B3 B2 B1 B0 AD7414 TLOW REGISTER (Address 03h) The TLOW register is an 8-bit read/write register that stores the lower limit that will deactivate the ALERT output. Therefore, if the value in the Temperature Value register is less than the value in the TLOW register, the ALERT pin is deactivated (that is, if ALERT is enabled in the Configuration register). Since it is an 8-bit register, the temperature resolution is 1C. Table X. Temperature Value Register (First Read) D15 D14 D13 D12 D11 D10 D9 D8 MSB B8 B7 B6 B5 B4 B3 B2 1 D7 9 1 9 SCL SDA 1 0 0 1 A2 A1 A0 D7 R/W D6 D5 D4 D3 D2 D1 ACK. BY AD7414/AD7415 START BY MASTER D0 NO ACK. BY MASTER FRAME 1 SERIAL BUS ADDRESS BYTE STOP BY MASTER FRAME 2 SINGLE DATA BYTE FROM AD7414/AD7415 Figure 8. Reading a Single Byte of Data from a Selected Register 1 9 9 1 SCL SDA 1 0 0 1 A2 A1 A0 D15 R/W D14 D13 D12 D10 D11 D9 FRAME 1 SERIAL BUS ADDRESS BYTE D8 ACK. BY MASTER ACK. BY AD7414/AD7415 START BY MASTER FRAME 2 MOST SIGNIFICANT DATA BYTE FROM AD7414/AD7415 9 1 SCL (CONTINUED) SDA (CONTINUED) D6 D7 D5 D4 D3 D2 D1 D0 NO ACK. BY STOP BY MASTER MASTER FRAME 3 LEAST SIGNIFICANT DATA BYTE FROM AD7414/AD7415 Figure 9. Reading Two Bytes of Data from the Temperature Value Register -8- REV. B AD7414/AD7415 Table XIV. TLOW Register D7 D6 D5 D4 D3 D2 D1 D0 MSB B6 B5 B4 B3 B2 B1 B0 AD7414/AD7415 SERIAL INTERFACE Control of the AD7414/AD7415 is carried out via the I2C compatible serial bus. The AD7414/AD7415 is connected to this bus as a slave device, under the control of a master device, e.g., the processor. SERIAL BUS ADDRESS Like all I2C compatible devices, the AD7414/AD7415 has a 7-bit serial address. The four MSBs of this address for the AD7414/ AD7415 are set to 1001. The AD7414/AD7415 comes in four versions, the AD7414/AD7415-0, AD7414/AD7415-1, AD7414-2, and AD7414-3. The first two versions have three different I2C addresses available, which are selected by either tying the AS pin to GND, to VDD, or letting the pin float (see Table I). By giving different addresses for the four versions, up to eight AD7414s or six AD7415s can be connected to a single serial bus, or the addresses can be set to avoid conflicts with other devices on the bus. The serial bus protocol operates as follows: 1. The master initiates data transfer by establishing a START condition, defined as a high to low transition on the serial data line SDA, while the serial clock line SCL remains high. This indicates that an address/data stream will follow. All slave peripherals connected to the serial bus respond to the START condition and shift in the next eight bits, consisting of a 7-bit address (MSB first) plus a R/W bit, which determines the direction of the data transfer, i.e. whether data will be written to or read from the slave device. The peripheral whose address corresponds to the transmitted address responds by pulling the data line low during the low period before the ninth clock pulse, known as the Acknowledge bit. All other devices on the bus now remain idle while the selected device waits for data to be read from or written to it. If the R/W bit is a 0, the master will write to the slave device. If the R/W bit is a 1, the master will read from the slave device. 2. Data is sent over the serial bus in sequences of nine clock pulses, eight bits of data followed by an Acknowledge bit from the receiver of data. Transitions on the data line must occur during the low period of the clock signal and remain stable during the high period, since a low to high transition when the clock is high may be interpreted as a STOP signal. 3. When all data bytes have been read or written, stop conditions are established. In WRITE mode, the master will pull the data line high during the 10th clock pulse to assert a STOP condition. In READ mode, the master device will pull the data line high during the low period before the ninth clock pulse. This is known as No Acknowledge. The master will then take the data line low during the low period before the 10th clock pulse, then high during the 10th clock pulse to assert a STOP condition. REV. B Any number of bytes of data may be transferred over the serial bus in one operation, but it is not possible to mix read and write in one operation because the type of operation is determined at the beginning and cannot subsequently be changed without starting a new operation. WRITING TO THE AD7414/AD7415 Depending on the register being written to, there are two different writes for the AD7414/AD7415. Writing to the Address Pointer Register for a Subsequent Read In order to read data from a particular register, the Address Pointer register must contain the address of that register. If it does not, the correct address must be written to the Address Pointer register by performing a single-byte write operation, as shown in Figure 6. The write operation consists of the serial bus address followed by the address pointer byte. No data is written to any of the data registers. A read operation is then performed to read the register. Writing a Single Byte of Data to the Configuration Register, THIGH Register, or TLOW Register All three registers are 8-bit registers so only one byte of data can be written to each register. Writing a single byte of data to one of these registers consists of the serial bus address, the Data register address written to the Address Pointer register, followed by the data byte written to the selected data register. This is illustrated in Figure 7. READING DATA FROM THE AD7414/AD7415 Reading data from the AD7414/AD7415 is a 1- or 2-byte operation. Reading back the contents of the Configuration register, THIGH register, or TLOW register is a single-byte read operation, as shown in Figure 8. The register address was previously set up by a single-byte write operation to the Address Pointer register. Once the register address has been set up, any number of reads can subsequently be done from that register without having to write to the Address Pointer register again. To read from another register, the Address Pointer register will have to be written to again to set up the relevant register address. Reading data from the Temperature Value register is a 2-byte operation, as shown in Figure 9. The same rules apply for a 2-byte read as a single-byte read. SMBus ALERT The AD7414 ALERT output is an SMBus interrupt line for devices that want to trade their ability to master for an extra pin. The AD7414 is a slave-only device and uses the SMBus ALERT to signal to the host device that it wants to talk. The SMBus ALERT on the AD7414 is used as an overtemperature indicator. The ALERT pin has an open-drain configuration that allows the ALERT outputs of several AD7414s to be wired-AND together when the ALERT pin is active low. Use D4 of the Configuration register to set the active polarity of the ALERT output. The power-up default is active low. The ALERT function can be disabled or enabled by setting D5 of the Configuration register to 1 or 0, respectively. -9- AD7414/AD7415 When a temperature measurement is required, a write operation can be performed to power up the part and put it into one-shot mode (setting D2 of the Configuration register to a 1). The power-up takes approximately 4 ms. The part then performs a conversion and is returned to full power-down. The temperature value can be read in the full power-down mode since the serial interface is still powered up. The host device can process the ALERT interrupt and simultaneously access all SMBus ALERT devices through the alert response address. Only the device that pulled the ALERT low will acknowledge the ARA (Alert Response Address). If more than one device pulls the ALERT pin low, the highest priority (lowest address) device will win communication rights via standard I2C arbitration during the slave address transfer. The ALERT output becomes active when the value in the Temperature Value register exceeds the value in the THIGH register. It is reset when a write operation to the Configuration register sets D3 to a 1 or when the temperature falls below the value stored in the TLOW register. The ALERT output requires an external pull-up resistor. This can be connected to a voltage different from VDD provided the maximum voltage rating of the ALERT output pin is not exceeded. The value of the pull-up resistor depends on the application, but should be as large as possible to avoid excessive sink currents at the ALERT output, which can heat the chip and affect the temperature reading. POWER-ON DEFAULTS The AD7414/AD7415 always powers up with the following defaults: POWER VS. THROUGHPUT The two modes of operation for the AD7414/AD7415 will produce different power versus throughput performances. Mode 2 is the sleep mode of the part and it achieves the optimum power performance. Mode 1 In this mode, continuous conversions are performed at a rate of approximately one every 800 ms. Figure 10 shows the times and currents involved with this mode of operation for a 5 V supply. At 5 V, the current consumption for the part when converting is 1.1 mA typically and the quiescent current is 188 mA typically. The conversion time of 25 ms plus power-up time of typically 4 ms contributes 199.3 nW to the overall power dissipation in the following way: (29 ms / 800 ms) (5 1.1 mA) = 199.3 nW Address Pointer register pointing to the Temperature Value register. THIGH register loaded with 7F Hex. TLOW register loaded with 80 Hex. Configuration register loaded with 40 Hex. Note that the AD7415 does not have any THIGH or TLOW registers. The contribution to the total power dissipated by the remaining time is 939.96 mW. (799.971 ms / 800 ms) (5 1.1 mA) = 199.3 mW Thus the total power dissipated during each cycle is: 199.3 nW + 939.96 mW = 940.16 mW 1.1mA OPERATING MODES Mode 1 IDD 188A This is the power-on default mode of the AD7414/AD7415. In this mode, the AD7414/AD7415 does a temperature conversion every 800 ms and then partially powers down until the next conversion occurs. If a one-shot operation (setting D2 of the Configuration register to a 1) is performed between automatic conversions, a conversion is initiated right after the write operation. After this conversion, the part returns to performing a conversion every 800 ms. Depending on where a serial port access occurs during a conversion, that conversion might or might not be aborted. If the conversion is completed before the part recognizes a serial port access, the Temperature register will be updated with the new conversion. If the conversion is completed after the part recognizes a serial port access, the internal logic will prevent the Temperature register from being updated since corrupt data could be read. A temperature conversion can start anytime during a serial port access (other than a one-shot operation), but the result of that conversion will only be loaded into the Temperature register if the serial port access is not active at the end of the conversion. Mode 2 The only other mode in which the AD7414/AD7415 operates is the full power-down mode. This mode is usually used when temperature measurements are required at a very slow rate. The power consumption of the part can be greatly reduced in this mode by writing to the part to go to a full power-down. Full power-down is initiated right after D7 of the Configuration register is set to 1. 800ms 29s TIME Figure 10. Mode 1 Power Dissipation Mode 2 In this mode, the part is totally powered down. All circuitry except the serial interface is switched off. The most power efficient way of operating in this mode is to use the one-shot method. Write to the Configuration register and set the one-shot bit to a 1. The part will power up in approximately 4 ms and then perform a conversion. Once the conversion is finished, the device will power down again until the PD bit in the Configuration register is set to a 0 or the one-shot bit is set to 1. Figure 11 shows the same timing as Figure 10 in mode 1; a one-shot is initiated every 800 ms. If we take the voltage supply to be 5 V, we can work out the power dissipation in the following way. The current consumption for the part when converting is 1.1 mA typically and the quiescent current is 800 nA typically. The conversion time of 25 ms plus the power-up time of typically 4 ms contributes 199.3 nW to the overall power dissipation in the following way: (29 ms / 800 ms) (5V 1.1 mA) = 199.3 nW The contribution to the total power dissipated by the remaining time is 3.9 mW. (799.971 ms / 800 ms) (5V 800 nA) = 3.9 mW Thus the total power dissipated during each cycle is: -10- 199.3 nW + 3.9 mW = 4.1 mW REV. B AD7414/AD7415 4 1.1mA 3 TEMPERATURE ERROR - C IDD 800nA 29s 800ms TIME Figure 11. Mode 2 Power Dissipation MOUNTING THE AD7414/AD7415 The AD7414/AD7415 can be used for surface or air temperature sensing applications. If the device is cemented to a surface with thermally conductive adhesive, the die temperature will be within about 0.1C of the surface temperature, thanks to the device's low power consumption. Care should be taken to insulate the back and leads of the device from the air if the ambient air temperature is different from the surface temperature being measured. The ground pin provides the best thermal path to the die, so the temperature of the die will be close to that of the printed circuit ground track. Care should be taken to ensure that this is in good thermal contact with the surface being measured. 2 -40C 1 0 +40C -1 +85C -2 -3 -4 2.7 5.0 3.3 SUPPLY VOLTAGE - V 5.5 Figure 13. Typical Temperature Error vs. Supply for One Part TYPICAL TEMPERATURE ERROR GRAPH Figure 14 shows the typical temperature error plots for one device with VDD at 3.3 V and at 5.5 V. 4 As with any IC, the AD7414/AD7415 and its associated wiring and circuits must be kept free from moisture to prevent leakage and corrosion, particularly in cold conditions where condensation is more likely to occur. Water-resistant varnishes and conformal coatings can be used for protection. The small size of the AD7414/ AD7415 packages allows them to be mounted inside sealed metal probes, which provide a safe environment for the device. TEMPERATURE ERROR - C 3 SUPPLY DECOUPLING The AD7414/AD7415 should at least be decoupled with a 0.1 mF ceramic capacitor between VDD and GND. This is particularly important if the AD7414/AD7415 is mounted remote from the power supply. 2 5.5V 1 0 3.3V -1 -2 -3 -4 -40 -30 -20 -10 0 10 20 30 40 50 TEMPERATURE - C 60 70 80 90 TEMPERATURE ACCURACY VS. SUPPLY The temperature accuracy specifications are guaranteed for voltage supplies of 3 V and 5.5 V only. Figure 12 gives the typical performance characteristics of a large sample of parts over the full voltage range of 2.7 V to 5.5 V. Figure 13 gives the typical performance characteristics of one part over the full voltage range of 2.7 V to 5.5 V. Figure 14. Typical Temperature Error @ 3.3 V and 5.5 V Figure 15 shows a histogram of the temperature error at ambient temperature (40C) over approximately 6,000 units. Figure 15 shows that over 70% of the AD7414/AD7415 devices tested have a temperature error within 0.3C. 900 AMBIENT TEMPERATURE = 40C 4 800 2 700 NUMBER OF UNITS TEMPERATURE ERROR - C 3 -40C 1 0 +40C -1 +85C 400 300 100 -3 3.0 SUPPLY VOLTAGE - V 0 1.08 5.5 0.81 0.54 0.27 0 0.27 0.54 0.81 1.08 TEMPERATURE ERROR - C Figure 15. Ambient Temperature Error @ 3 V Figure 12. Typical Temperature Error vs. Supply for Large Sample of Parts REV. B 500 200 -2 -4 2.7 600 -11- AD7414/AD7415 OUTLINE DIMENSIONS 6-Lead Plastic Surface-Mount Package [SOT-23] (RT-6) 8-Lead MSOP Package [MSOP] (RM-8) Dimensions shown in millimeters Dimensions shown in millimeters 2.90 BSC 5 4 8 1 2 3 4 PIN 1 0.95 BSC 0.65 BSC 1.90 BSC 1.10 MAX 0.15 0.00 1.45 MAX 0.10 MAX 4.90 BSC 1 PIN 1 1.30 1.15 0.90 5 3.00 BSC 2.80 BSC 1.60 BSC C02463-0-11/02(B) 6 3.00 BSC 0.50 0.30 0.22 0.08 0.60 0.45 0.30 10 0 SEATING PLANE 0.38 0.22 COPLANARITY 0.10 0.23 0.08 8 0 0.80 0.40 SEATING PLANE COMPLIANT TO JEDEC STANDARDS MO-187AA COMPLIANT TO JEDEC STANDARDS MO-178AB 5-Lead Plastic Surface-Mount Package [SOT-23] (RT-5) Dimensions shown in millimeters 2.90 BSC 5 4 2.80 BSC 1.60 BSC 1 2 3 PIN 1 0.95 BSC 1.30 1.15 0.90 1.90 BSC 1.45 MAX 0.15 MAX 0.50 0.30 SEATING PLANE 0.22 0.08 10 0 0.60 0.45 0.30 COMPLIANT TO JEDEC STANDARDS MO-178AA Location Page 11/02--Data Sheet changed from REV. A to REV. B. Changes to ABSOLUTE MAXIMUM RATINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 10/02--Data Sheet changed from REV. 0 to REV. A. Changes to SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Changes to PIN FUNCTION DESCRIPTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Changes to ABSOLUTE MAXIMUM RATINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ORDERING GUIDE updated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Change to Figure 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Added to TYPICAL TEMPERATURE ERROR GRAPH section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Added Figure 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 OUTLINE DIMENSIONS updated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 -12- REV. B PRINTED IN U.S.A. Revision History