a Low Voltage, 10-Bit Digital Temperature Sensor in 8-Lead MSOP AD7314 FEATURES 10-Bit Temperature-to-Digital Converter –35C to +85C Operating Temperature Range 2C Accuracy SPI® and DSP Compatible Serial Interface Shutdown Mode Space-Saving MSOP Package APPLICATIONS Hard Disk Drives Personal Computers Electronic Test Equipment Office Equipment Domestic Appliances Process Control Mobile Phones FUNCTIONAL BLOCK DIAGRAM BAND GAP TEMPERATURE SENSOR 10-BIT ANALOG-TO-DIGITAL CONVERTER ID GND AD7314 TEMPERATURE VALUE REGISTER SERIAL BUS INTERFACE VDD CE SCLK SDI SDO GENERAL DESCRIPTION PRODUCT HIGHLIGHTS The AD7314 is a complete temperature monitoring system in an 8-lead MSOP package. It contains a band gap temperature sensor and 10-bit ADC to monitor and digitize the temperature reading to a resolution of 0.25∞C. 1. The AD7314 has an on-chip temperature sensor that allows an accurate measurement of the ambient temperature. The measurable temperature range is –35∞C to +85∞C, with a ± 2∞C temperature accuracy. The AD7314 has a flexible serial interface that allows easy interfacing to most microcontrollers. The interface is compatible with SPI, QSPI™, and MICROWIRE™ protocols and is also compatible with DSPs. The part features a standby mode that is controlled via the serial interface. 2. Supply voltage of 2.65 V to 5.5 V. The AD7314’s low supply current and SPI compatible interface make it ideal for a variety of applications, including personal computers, office equipment, and domestic appliances. 3. Space-saving 8-lead MSOP package. 4. 10-bit temperature reading to 0.25∞C resolution. 5. The AD7314 features a standby mode that reduces the current consumption to 1 mA max. REV. A 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 owners. 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 © 2003 Analog Devices, Inc. All rights reserved. AD7314–SPECIFICATIONS*(T = T A Parameter Min MIN Typ to TMAX, VDD = 2.65 V to 5.5 V, unless otherwise noted.) Max Unit Test Conditions/Comments ± 2.0 ∞C ∞C Bits ms ms TA = –35∞C to +85∞C. VDD = 2.65 V to 2.9 V TA = –35∞C to +85∞C. VDD = 3 V to 5.5 V 5.5 V For Specified Performance 300 Power Dissipation 1 860 mA mA mA mA mA mA mW Power Dissipation 1 SPS 10 SPS 100 SPS 3 3.3 6 mW mW mW Part Not Converting, VDD = 2.65 V to 2.9 V Part Not Converting, VDD = 3 V to 5.5 V Part Converting, VDD = 2.65 V to 2.9 V Part Converting, VDD = 3 V to 5.5 V VDD = 2.65 V to 2.9 V VDD = 3 V to 5.5 V VDD = 2.65 V. Using Normal Mode (Auto Conversion) VDD = 2.65 V. Using Shutdown Mode TEMPERATURE SENSOR AND ADC Accuracy ± 1.0 10 400 25 Resolution Update Rate, tR Temperature Conversion Time SUPPLIES Supply Voltage Supply Current Normal Mode (Inactive) 2.65 250 275 1 1.2 Normal Mode (Active) Shutdown Mode 1 DIGITAL INPUT Input High Voltage, VIH Input Low Voltage, VIL Input High Voltage, VIH Input Low Voltage, VIL Input Current, IIN Input Capacitance, CIN 1.85 0.8 ±1 10 V V V V mA pF VDD = 2.65 V to 2.9 V VDD = 2.65 V to 2.9 V VDD = 3 V to 5.5 V VDD = 3 V to 5.5 V VIN = 0 V to VDD All Digital Inputs 0.4 50 V V pF ISOURCE = ISINK = 200 mA IOL = 200 mA 0.53 2.4 DIGITAL OUTPUT Output High Voltage, VOH Output Low Voltage, VOL Output Capacitance, COUT 2.4 *All specifications apply for –35∞C to +85∞C, unless otherwise noted. Specifications subject to change without notice. TIMING CHARACTERISTICS1, 2 (TA3 = TMIN to TMAX, VDD = 2.65 V to 5.5 V, unless otherwise noted. See Figure 1.) Parameter Limit Unit Comments t1 t2 t3 t4 4 t5 t6 t7 t8 4 0 50 50 35 20 0 0 40 ns min ns min ns min ns max ns min ns min ns min ns max CE to SCLK Setup Time SCLK High Pulse Width SCLK Low Pulse Width Data Access Time after SCLK Rising Edge Data Setup Time prior to SCLK Falling Edge Data Hold Time after SCLK Falling Edge CE to SCLK Hold Time CE to SDO High Impedance NOTES 1 Guaranteed by design and characterization, not production tested. 2 All input signals are specified with tr = tf = 5 ns (10% to 90% of V DD) and are timed from a voltage level of 1.6 V. 3 All specifications apply for –35∞C to +85∞C, unless otherwise noted. 4 Measured with the load circuit of Figure 2. Specifications subject to change without notice. –2– REV. A AD7314 CE t7 t2 t1 SCLK t3 t4 t8 SDO t5 t6 SDI Figure 1. Timing Diagram ABSOLUTE MAXIMUM RATINGS 1 VDD to GND . . . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V Digital Input Voltage to GND . . . . . . . –0.3 V to VDD + 0.3 V Digital Output Voltage to GND . . . . . –0.3 V to VDD + 0.3 V Operating Temperature Range . . . . . . . . . . . –35°C to +85°C Storage Temperature Range . . . . . . . . . . . . –65°C to +150°C Junction Temperature . . . . . . . . . . . . . . . . . . . . . . . . . 150°C MSOP Package, Power Dissipation . . . . . . . . . . . . . . 450 mW θJA Thermal Impedance . . . . . . . . . . . . . . . . . . . . 206°C/W Lead Temperature, Soldering Vapor Phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . 215°C Infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . 220°C Latch-Up for ID Pin2 . . . . . . . . . . . . . . . . . . . . . . . . ≤ –70 mA Latch-Up for All Other Pins . . . . . . . . . . . . . . . . . ≥ –110 mA 200A TO OUTPUT PIN IOL 1.6V CL 50pF 200A IOH Figure 2. Load Circuit for Data Access Time and Bus Relinquish Time 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 Correct usage of the ID pin will prevent any latch-up from occurring. In an application, the ID pin should be either tied to V DD via a 100 kΩ resistor or left open circuit. If the application complies with this recommendation, the ID pin will never see –70 mA. ORDERING GUIDE Model Temperature Range Temperature Error Package Description Package Option Branding AD7314ARM AD7314ARM-REEL AD7314ARM-REEL7 AD7314ARMZ* AD7314ARMZ-REEL* AD7314ARMZ-REEL7* –35°C to +85°C –35°C to +85°C –35°C to +85°C –35°C to +85°C –35°C to +85°C –35°C to +85°C ± 2°C ± 2°C ± 2°C ± 2°C ± 2°C ± 2°C 8-Lead MSOP 8-Lead MSOP 8-Lead MSOP 8-Lead MSOP 8-Lead MSOP 8-Lead MSOP RM-8 RM-8 RM-8 RM-8 RM-8 RM-8 CKA CKA CKA CKA CKA CKA *Z = Lead Free. 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 AD7314 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. REV. A –3– AD7314 PIN CONFIGURATION 8-Lead MSOP 8 VDD NC 1 CE 2 AD7314 7 ID TOP VIEW 6 SDI (Not to Scale) GND 4 5 SDO SCLK 3 NC = NO CONNECT PIN FUNCTION DESCRIPTIONS Pin No. Mnemonic Description 1 2 NC CE 3 SCLK 4 5 6 7 GND SDO SDI ID 8 VDD No Connect. Chip Enable Input. The device is selected when this input is high. The SCLK input is disabled when this pin is low. Serial Clock Input. This is the clock input for the serial port. The serial clock is used to clock data out of the temperature value register of the AD7314 and also to clock data into the control register on the part. Analog and Digital Ground. Serial Data Output. Logic output. Data is clocked out of the temperature value register at this pin. Serial Data Input. Serial data to be loaded to the parts’s control register is provided on this input. Identification. This pin can be used by a master device to identify the AD7314 in an SPI bus system. This pin has an internal pull-down resistor of 1 kW. Positive Supply Voltage, 2.65 V to 5.5 V. –4– REV. A AD7314 CIRCUIT INFORMATION Table I. Temperature Data Format The AD7314 is a 10-bit digital temperature sensor. The part houses an on-chip temperature sensor, a 10-bit A/D converter, and reference and serial interface logic functions in an MSOP package. The A/D converter section consists of a conventional successive approximation converter based around a capacitor DAC. The parts are capable of running on a 2.65 V to 5.5 V power supply. The on-chip temperature sensor allows an accurate measurement of the ambient device temperature to be made. The working measurement range of the AD7314 is –35∞C to +85∞C. CONVERTER DETAILS The conversion clock for the part is internally generated so no external clock is required except when reading from and writing to the serial port. In normal mode, an internal clock oscillator runs the automatic conversion sequence. A conversion is initiated every 400 ms. At this time, the part wakes up and performs a temperature conversion. This temperature conversion typically takes 25 ms, at which time the part automatically shuts down. The result of the most recent temperature conversion is available in the serial output register at any time. The AD7314 can be placed in a shutdown mode, via the control register, in which case the on-chip oscillator is shut down and no further conversions are initiated until the AD7314 is taken out of shutdown mode. The conversion result from the last conversion prior to shutdown can still be read from the AD7314 even when it is in shutdown mode. In the automatic conversion mode, every time a read or write operation takes place, the internal clock oscillator is restarted at the end of the read or write operation. The result of the conversion is available, typically 25 ms later. Similarly, when the part is taken out of shutdown mode, the internal clock oscillator is restarted and the conversion result is available, typically 25 ms later. Reading from the device again before conversion is complete will provide the same set of data. Temperature Value Register The temperature value register is a read-only register that stores the temperature reading from the ADC in 10-bit twos complement format. The temperature data format is shown in Table I. This shows the full theoretical range of the ADC from –128∞C to +127∞C, but in practice the temperature measurement range is limited to the operating temperature range of the device (–35∞C to +85∞C). Temperature (C) Digital Output DB9 . . . DB0 –128 –125 –100 –75 –50 –25 –0.25 0 0.25 10 25 50 75 100 125 127 10 0000 0000 10 0000 1100 10 0111 0000 10 1101 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 01 1111 1100 Serial Interface The serial interface on the AD7314 consists of four wires, CE, SCLK, SDI, and SDO. The interface can be operated in 3-wire mode with SDI tied to ground, in which case the interface has read-only capability, with data being read from the data register via the SDO line. The SDI line is used to write the part into standby mode, if required. The CE line is used to select the device when more than one device is connected to the serial clock and data lines. To ensure that the serial port is reset properly after power-up, the CE must be at a logic low before the first serial port access. The serial clock is active only when CE is high. For correct data synchronization, it is important that the CE be low when the serial port is not being accessed. The part operates in a slave mode and requires an externally applied serial clock to the SCLK input to access data from the data register. The serial interface on the AD7314 is designed to allow the part to be interfaced to systems that provide a serial clock that is synchronized to the serial data, such as the 80C51, 87C51, 68HC11, 68HC05, and PIC16Cxx microcontrollers as well as DSP processors. A read operation from the AD7314 accesses data from the temperature value register while a write operation to the part writes data to the control register. Input data is not loaded into the control register until the rising edge of the 15th SCLK cycle. Data on the SDI line is latched in on the falling edge of the serial clock while data is updated on the SDO line on the rising edge of the serial clock. Read Operation Figure 3 shows the interface diagram for a serial read from the AD7314. The CE line enables the SCLK input. A leading zero and 10 bits of data are transferred during a read operation. Read operations occur during streams of 16 clock pulses. Output data is updated on the rising edge of SCLK. The serial data is accessed in a number of bytes if 10 bits of data are being read. At the end of the read operation, the SDO line remains in the state of the last bit of data clocked out of the AD7314 until CE returns low, at which time the SDO line goes into three-state. REV. A –5– AD7314 CE DATA-IN IS LOADED INTO CONTROL REGISTER ON THIS EDGE SCLK 1 3 2 12 11 4 15 16 t4 LEADING ZERO SDO DB9 DB8 DB0 t6 DON'T CARE SDI DON'T CARE POWERDOWN Figure 3. Serial Interface Diagram pull-up resistor value for the ID pin. The recommended resistor value in Figure 5 minimizes the additional power the AD7314 has to dissipate, thus reducing any negative affects on the temperature sensor measurements. Write Operation Figure 3 also shows the interface diagram for a serial write to the AD7314. The write operation takes place at the same time as the read operation. Data is clocked into the control register on the falling edge of SCLK. Only the third bit in the data stream provides a user-controlled function. This third bit is the powerdown bit which, when set to a 1, puts the AD7314 into shutdown mode. The first two bits of the data stream are don’t cares while all other bits in the data stream other than the power-down bit should be 0 to ensure correct operation of the AD7314. Data is loaded into the control register on the 15th rising SCLK edge. The data takes effect at this time, i.e., if the part is programmed to go into shutdown, it does so at this point. If the CE is brought low before this 15th SCLK edge, the control register will not be loaded and the power-down status of the part will not change. 2.9V 1k *ADDITIONAL PINS OMITTED FOR CLARITY Figure 5. Typical ID Pin Interface The AD7314 serial interface allows for easy interface to most microcontrollers and microprocessors. A typical interface circuit is shown in Figure 4. MOUNTING THE AD7314 The AD7314 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.1∞C 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. CONTROLLER* SCLK SCLK SDI DOUT SDO DIN CE CE CONTROLLER* ID MICROCONTROLLER INTERFACING AD7314* 100k AD7314* 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. *ADDITIONAL PINS OMITTED FOR CLARITY As with any IC, the AD7314 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 AD7314 package allows it to be mounted inside sealed metal probes that provide a safe environment for the device. Figure 4. Typical Interface The ID pin of the AD7314 can be used to distinguish the device if used as a drop-in replacement temperature sensor. Connected to Pin 7 (ID pin) is a 1 kW internal pull-down resistor. If a pull-up resistor is used on Pin 7 to aid in identifying a device, then a pull-up value of 100 kW with VDD at 2.9 V nominal is recommended. Figure 5 shows the recommended –6– REV. A AD7314 2.0 SUPPLY DECOUPLING The AD7314 should at least be decoupled with a 0.1 mF ceramic capacitor between VDD and GND. This is particularly important if the AD7314 is mounted remote from the power supply. TEMPERATURE ERROR ( C) 1.5 TYPICAL TEMPERATURE ERROR GRAPHS Figure 6 shows a typical temperature error plot for one device with VDD at 2.65 V. 1.0 0.5 0 –0.5 –1.0 –1.5 –2.0 –55 –35 0 40 85 125 TEMPERATURE ( C) Figure 6. Typical Temperature Error @ 2.65 V REV. A –7– AD7314 OUTLINE DIMENSIONS 8-Lead Mini Small Outline Package [MSOP] (RM-8) C02414–0–10/03(A) Dimensions shown in millimeters 3.00 BSC 8 5 4.90 BSC 3.00 BSC 1 4 PIN 1 0.65 BSC 1.10 MAX 0.15 0.00 0.38 0.22 COPLANARITY 0.10 0.23 0.08 8ⴗ 0ⴗ 0.80 0.60 0.40 SEATING PLANE COMPLIANT TO JEDEC STANDARDS MO-187AA Revision History Location Page 10/03—Data Sheet changed from REV. 0 to REV. A. Change to PRODUCT HIGHLIGHTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Changes to SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Changes to ORDERING GUIDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Change to PIN FUNCTION DESCRIPTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Change to CIRCUIT INFORMATION section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Updated OUTLINE DIMENSIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 –8– REV. A