LC2MOS 16-Bit A/D Converter AD7701 FEATURES Monolithic 16-Bit ADC 0.0015% Linearity Error On-Chip Self-Calibration Circuitry Programmable Low-Pass Filter 0.1 Hz to 10 Hz Corner Frequency 0 V to +2.5 V or 2.5 V Analog Input Range 4 kSPS Output Data Rate Flexible Serial Interface Ultralow Power APPLICATIONS Industrial Process Control Weigh Scales Portable Instrumentation Remote Data Acquisition FUNCTIONAL BLOCK DIAGRAM AVDD DVDD AVSS DVSS 14 15 7 SC1 SC2 4 17 6 AD7701 CALIBRATION SRAM AIN AGND 12 BP/UP ANALOG MODULATOR 6-POLE GAUSSIAN LOW-PASS DIGITAL FILTER 11 SLEEP 8 CLOCK GENERATOR DGND 13 CAL 16-BIT A/D CONVERTER 9 VREF 10 CALIBRATION MICROCONTROLLER SERIAL INTERFACE LOGIC 20 SDATA 19 SCLK 5 3 2 1 16 18 CLKIN CLKOUT MODE CS DRDY GENERAL DESCRIPTION PRODUCT HIGHLIGHTS The AD7701 is a 16-bit ADC that uses a sigma-delta conversion technique. The analog input is continuously sampled by an analog modulator whose mean output duty cycle is proportional to the input signal. The modulator output is processed by an on-chip digital filter with a six-pole Gaussian response, which updates the output data register with 16-bit binary words at word rates up to 4 kHz. The sampling rate, filter corner frequency, and output word rate are set by a master clock input that may be supplied externally, or by a crystal controlled on-chip clock oscillator. 1. The AD7701 offers 16-bit resolution coupled with outstanding 0.0015% accuracy. 2. No missing codes ensures true, usable, 16-bit dynamic range, removing the need for programmable gain and level-setting circuitry. 3. The effects of temperature drift are eliminated by on-chip self-calibration, which removes zero and gain error. External circuits can also be included in the calibration loop to remove system offsets and gain errors. 4. A flexible synchronous/asynchronous interface allows the AD7701 to interface directly to UARTs or to the serial ports of industry-standard microcontrollers. 5. Low operating power consumption and an ultralow power standby mode make the AD7701 ideal for loop-powered remote sensing applications, or battery-powered portable instruments. The inherent linearity of the ADC is excellent and endpoint accuracy is ensured by self-calibration of zero and full scale, which may be initiated at any time. The self-calibration scheme can also be extended to null system offset and gain errors in the input channel. The output data is accessed through a flexible serial port, which has an asynchronous mode compatible with UARTs and two synchronous modes suitable for interfacing to shift registers or the serial ports of industry-standard microcontrollers. CMOS construction ensures low power dissipation, and a powerdown mode reduces the idle power consumption to only 10 W. REV. E 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) 2003 Analog Devices, Inc. All rights reserved. (T = 25C; AV = DV = +5 V; AV = DV = -5 V; V AD7701-SPECIFICATIONS Bipolar Mode: MODE = +5 V; A Source Resistance = 1k with 1 nF to AGND at A ; unless otherwise noted.) A 1 IN Parameter STATIC PERFORMANCE Resolution Integral Nonlinearity TMIN to TMAX Differential Nonlinearity TMIN to TMAX Positive Full-Scale Error3 Full-Scale Drift4 Unipolar Offset Error3 Unipolar Offset Drift4 Bipolar Zero Error3 Bipolar Zero Drift4 Bipolar Negative Full-Scale Error3 Bipolar Negative Full-Scale Drift4 Noise (Referred to Output) DYNAMIC PERFORMANCE Sampling Frequency, fS Output Update Rate, fOUT Filter Corner Frequency, f-3 dB Settling Time to 0.0007% FS SYSTEM CALIBRATION Positive Full-Scale Overrange Positive Full-Scale Overrange Negative Full-Scale Overrange Maximum Offset Calibration Range5, 6 Unipolar Input Range Bipolar Input Range Input Span7 ANALOG INPUT Unipolar Input Range Bipolar Input Range Input Capacitance Input Bias Current1 LOGIC INPUTS All Inputs Except CLKIN VINL, Input Low Voltage VINH, Input High Voltage CLKIN VINL, Input Low Voltage VINH, Input High Voltage IIN, Input Current LOGIC OUTPUTS VOL, Output Low Voltage VOH, Output High Voltage Floating State Leakage Current Floating State Output Capacitance DD DD SS SS REF = +2.5 V; fCLKIN = 4.096 MHz; IN A, S Version2 B, T Version2 Unit 16 16 Bits 0.003 0.0007 0.0015 % FSR typ % FSR max 0.125 0.5 0.13 0.5 1.2 ( 2.3 S Version) 0.25 1 1.6 (+3/-25 S Version) 0.25 1 0.8 (+1.5/-12.5 S Version) 0.5 2 0.6 ( 1.2 S Version) 0.1 0.125 0.5 0.13 0.5 1.2 ( 2.3 T Version) 0.25 1 1.6 (+3/-25 T Version) 0.25 1 0.8 (+1.5/-12.5 T Version) 0.5 2 0.6 ( 1.2 T Version) 0.1 LSB typ LSB max LSB typ LSB max LSB typ LSB typ LSB max LSB typ LSB typ LSB max LSB typ LSB typ LSB max LSB typ LSB rms typ fCLKIN/256 fCLKIN/1024 fCLKIN/409,600 507904/fCLKIN fCLKIN/256 fCLKIN/1024 fCLKIN/409,600 507904/fCLKIN Hz Hz Hz sec VREF + 0.1 VREF + 0.1 -(VREF + 0.1) VREF + 0.1 VREF + 0.1 -(VREF + 0.1) V max V max V max -(VREF + 0.1) -0.4 VREF to +0.4 VREF 0.8 VREF 2 VREF + 0.2 -(VREF + 0.1) -0.4 VREF to +0.4 VREF 0.8 VREF 2 VREF + 0.2 V max V max V min V max 0 to 2.5 2.5 10 1 0 to 2.5 2.5 10 1 V V pF typ nA typ 0.8 2.0 0.8 2.0 V max V min 0.8 3.5 10 0.8 3.5 10 V max V min A max 0.4 DVDD - 1 10 9 0.4 DVDD - 1 10 9 V max V min A max pF typ -2- Test Conditions/Comments Guaranteed No Missing Codes For Full-Scale Input Step Applies to unipolar and bipolar ranges. After calibration, if AIN > VREF, the device will output all 1s. If AIN < 0 (unipolar) or -VREF (bipolar), the device will output all 0s. ISINK = 1.6 mA ISOURCE = 100 A REV. E AD7701 Parameter A, S Version2 B, T Version2 Unit 4.5/5.5 4.5/AVDD -4.5/-5.5 -4.5/-5.5 4.5/5.5 4.5/AVDD -4.5/-5.5 -4.5/-5.5 V min/V max V min/V max V min/V max V min/V max 2.0 2.0 V min 2.7 2 2.7 0.1 2.7 2 2.7 0.1 mA max mA max mA max mA max 70 75 70 75 dB typ dB typ 37 37 mW max 20 (40 S Version) 20 (40 T Version) W max Test Conditions/Comments 8 POWER REQUIREMENTS Power Supply Voltages Analog Positive Supply (AVDD) Digital Positive Supply (DVDD) Analog Negative Supply (AVSS) Digital Negative Supply (DVSS) Calibration Memory Retention Power Supply Voltage DC Power Supply Currents8 Analog Positive Supply (AIDD) Digital Positive Supply (DIDD) Analog Negative Supply (AISS) Digital Negative Supply (DISS) Power Supply Rejection9 Positive Supplies Negative Supplies Power Dissipation Normal Operation Standby Operation10 Typically 2 mA Typically 1 mA Typically 2 mA Typically 0.03 mA SLEEP = Logic 1, Typically 25 mW SLEEP = Logic 0, Typically 10 W NOTES 1 The AIN pin presents a very high impedance dynamic load that varies with clock frequency. 2 Temperature ranges are as follows: A, B Versions: -40C to +85C; S, T Versions: -55C to +125C. 3 Apply after calibration at the temperature of interest. Full-scale error applies for both unipolar and bipolar input ranges. 4 Total drift over the specified temperature range since calibration at power-up at 25 C. This is guaranteed by design and/or characterization. Recalibration at any temperature will remove these errors. 5 In Unipolar mode, the offset can have a negative value (-V REF) such that the Unipolar mode can mimic Bipolar mode operation. 6 The specifications for input overrange and for input span apply additional constraints on the offset calibration range. 7 For Unipolar mode, input span is the difference between full scale and zero scale. For Bipolar mode, input span is the difference between positive and negative full-scale points. When using less than the maximum input span, the span range may be placed anywhere within the range of (VREF +0.1). 8 All digital outputs unloaded. All digital inputs at 5 V CMOS levels. 9 Applies in 0.1 Hz to 10 Hz bandwidth. PSRR at 60 Hz will exceed 120 dB due to the digital filter. 10 CLKIN is stopped. All digital inputs are grounded. Specifications subject to change without notice. REV. E -3- AD7701 ABSOLUTE MAXIMUM RATINGS 1 Operating Temperature Range Commercial Plastic (A, B Versions) . . . . . -40C to +85C Industrial CERDIP (A, B Versions) . . . . . . -40C to +85C Extended CERDIP (S, T Versions) . . . . . -55C to +125C Storage Temperature Range. . . . . . . . . . . . . -65C to +150C Lead Temperature (Soldering, 10 secs) . . . . . . . . . . . . . 300C Power Dissipation (Any Package) to 75C . . . . . . . . . 450 mW Derates above 75C by . . . . . . . . . . . . . . . . . . . . . 10 mW/C (TA = 25C, unless otherwise noted.) DVDD to AGND . . . . . . . . . . . . . . . . . . . . . . . -0.3 V to +6 V DVDD to AVDD . . . . . . . . . . . . . . . . . . . . . . . -0.3 V to +0.3 V DVSS to AGND . . . . . . . . . . . . . . . . . . . . . . . . +0.3 V to -6 V AVDD to AGND . . . . . . . . . . . . . . . . . . . . . . . -0.3 V to +6 V AVSS to AGND . . . . . . . . . . . . . . . . . . . . . . . . +0.3 V to -6 V AGND to DGND . . . . . . . . . . . . . . . . . . . . . -0.3 V to +0.3 V Digital Input Voltage to DGND . . . . -0.3 V to DVDD + 0.3 V Analog Input Voltage to AGND . . . . . . . . AVSS - 0.3 V to AVDD + 0.3 V Input Current to Any Pin Except Supplies2 . . . . . . . . 10 mA 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 listed in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 2 Transient currents of up to 100 mA will not cause SCR latch-up. ORDERING GUIDE Model Temperature Range Linearity Error (% FSR) Package Options* AD7701AN AD7701BN AD7701AR AD7701BR AD7701ARS AD7701AQ AD7701BQ AD7701SQ AD7701TQ -40C to +85C -40C to +85C -40C to +85C -40C to +85C -40C to +85C -40C to +85C -40C to +85C -55C to +125C -55C to +125C 0.003 0.0015 0.003 0.0015 0.003 0.003 0.0015 0.003 0.0015 N-20 N-20 R-20 R-20 RS-28 Q-20 Q-20 Q-20 Q-20 *N = PDIP; Q = CERDIP; R = SOIC; RS = SSOP. PIN CONFIGURATIONS PDIP, CERDIP, SOIC MODE 1 SSOP 20 SDATA MODE 1 28 SDATA CLKOUT 2 19 SCLK CLKOUT 2 27 SCLK CLKIN 3 18 DRDY CLKIN 3 26 DRDY SC1 4 DGND 5 AD7701 17 SC2 16 CS 14 AVDD AGND 8 13 CAL 24 CS DGND 5 TOP VIEW DVSS 6 (Not to Scale) 15 DVDD AVSS 7 25 SC2 SC1 4 23 NC NC 6 AD7701 AIN 9 12 BP/UP NC 9 22 NC TOP VIEW (Not to Scale) 21 NC 20 DVDD VREF 10 11 SLEEP AVSS 10 19 AVDD NC 7 DVSS 8 NC 11 AGND 12 18 NC 17 CAL AIN 13 16 BP/UP VREF 14 15 SLEEP NC = NO CONNECT 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 AD7701 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- REV. E AD7701 PIN FUNCTION DESCRIPTIONS Pin No. PDIP, CERDIP, SOIC SSOP Mnemonic Description 1 1 MODE Selects the Serial Interface Mode. If MODE is tied to -5 V, the AD7701 will operate in the Asynchronous Communications (AC) mode. The SCLK pin is configured as an input, and data is transmitted in two bytes, each with one start bit and two stop bits. If MODE is tied to DGND, the Synchronous External Clocking (SEC) mode is selected. SCLK is configured as an input, and the output appears without formatting, the MSB coming first. If MODE is tied to +5 V, the AD7701 operates in the Synchronous Self-Clocking (SSC) mode. SCLK is configured as an output, with a clock frequency of fCLKlN/4 and 25% duty cycle. 2 2 CLKOUT Clock Output to Generate an Internal Master Clock by Connecting a Crystal between CLKOUT and CLKIN. If an external clock is used, CLKOUT is not connected. 3 3 CLKIN Clock Input for External Clock. 4, 17 4, 25 SC1, SC2 System Calibration Pins. The state of these pins, when CAL is taken high, determines the type of calibration performed. 5 5 DGND Digital Ground. Ground reference for all digital signals. 6 8 DVSS Digital Negative Supply, -5 V Nominal. 6, 7, 9, 11, NC No Connect. 18, 21, 22, 23 7 10 AVSS Analog Negative Supply, -5 V Nominal. 8 12 AGND Analog Ground. Ground reference for all analog signals. 9 13 AIN Analog Input. 10 14 VREF Voltage Reference Input, 2.5 V Nominal. This determines the value of positive full scale in the Unipolar mode and of both positive and negative full scale in Bipolar mode. 11 15 SLEEP Sleep Mode Pin. When this pin is taken low, the AD7701 goes into a low power mode with typically 10 W power consumption. 12 16 BP/UP Bipolar/Unipolar Mode Pin. When this pin is low, the AD7701 is configured for a unipolar input range going from AGND to VREF. When Pin 12 is high, the AD7701 is configured for a bipolar input range, VREF. 13 17 CAL Calibration Mode Pin. When CAL is taken high for more than four cycles, the AD7701 is reset and performs a calibration cycle when CAL is brought low again. The CAL pin can also be used as a strobe to synchronize the operation of several AD7701s. 14 19 AVDD Analog Positive Supply, +5 V Nominal. 15 20 DVDD Digital Positive Supply, +5 V Nominal. 16 24 CS Chip Select Input. When CS is brought low, the AD7701 will begin to transmit serial data in a format determined by the state of the MODE pin. 18 26 DRDY Data Ready Output. DRDY is low when valid data is available in the output register. It goes high after transmission of a word is completed. It also goes high for four clock cycles when a new data-word is being loaded into the output register, to indicate that valid data is not available, irrespective of whether data transmission is complete or not. 19 27 SCLK Serial Clock Input/Output. The SCLK pin is configured as an input or output, dependent on the type of serial data transmission that has been selected by the MODE pin. When configured as an output in the Synchronous Self-Clocking mode, it has a frequency of fCLKIN/4 and a duty cycle of 25%. 20 28 SDATA Serial Data Output. The AD7701's output data is available at this pin as a 16-bit serial word. The transmission format is determined by the state of the MODE pin. REV. E -5- AD7701 TIMING CHARACTERISTICS1, 2 (AVDD = DVDD = +5 V 10%; AVSS = DVSS = -5 V 10%; AGND = DGND = O V; fCLKIN = 4.096 MHz; Input Levels: Logic O = O V, Logic 1 = DVDD; unless otherwise noted.) Limit at TMIN, TMAX Limit at TMIN, TMAX (A, B Versions) (S, T Versions) Unit Conditions/Comments 200 5 200 5 50 50 0 50 1000 kHz min MHz max kHz min MHz max ns max ns max ns min ns min ns min Master Clock Frequency: Internal Gate Oscillator. Typically 4.096 MHz. Master Clock Frequency: Externally Supplied. t r5 t f5 t1 t2 t 36 200 5 200 5 50 50 0 50 1000 Digital Output Rise Time. Typically 20 ns. Digital Output Fall Time. Typically 20 ns. SC1, SC2 to CAL High Setup Time. SC1, SC2 Hold Time after CAL Goes High. SLEEP High to CLKIN High Setup Time. SSC MODE t 47 t5 t6 t7 t8 t 98 t108, 9 3/fCLKIN 100 250 300 790 l/fCLKIN +200 (4/fCLKIN) +200 3/fCLKIN 100 250 300 790 l/fCLKIN +200 (4/fCLKIN) +200 ns max ns max ns min ns max ns max ns max ns max Data Access Time (CS Low to Data Valid). SCLK Falling Edge to Data Valid Delay (25 ns typ). MSB Data Setup Time. Typically 380 ns. SCLK High Pulsewidth. Typically 240 ns. SCLK Low Pulsewidth. Typically 730 ns. SCLK Rising Edge to Hi-Z Delay (l/f CLKIN + 100 ns typ). CS High to Hi-Z Delay. SEC MODE fSCLK t11 t12 t137, 10 t1411 t158 t168 5 35 160 160 150 250 200 5 35 160 160 150 250 200 MHz ns min ns min ns max ns max ns max ns max Serial Clock Input Frequency. SCLK Input High Pulsewidth. SCLK Low Pulsewidth. Data Access Time (CS Low to Data Valid). Typically 80 ns. SCLK Falling Edge to Data Valid Delay. Typically 75 ns. CS High to Hi-Z Delay. SCLK Falling Edge to Hi-Z Delay. Typically 100 ns. AC MODE t17 t18 t19 40 180 200 40 180 200 ns min ns max ns max CS Setup Time. Typically 20 ns. Data Delay Time. Typically 90 ns. SCLK Falling Edge to Hi-Z Delay. Typically 100 ns. Parameter fCLKIN3, 4 NOTES 1 Sample tested at 25C to ensure compliance. All input signals are specified with t r = tf = 5 ns (10% to 90% of 5 V) and timed from a voltage level of 1.6 V. 2 See Figures 1 to 6. 3 CLKIN duty cycle range is 20% to 80%. CLKIN must be supplied whenever the AD7701 is not in SLEEP mode. If no clock is present in this case, the device can draw higher current than specified and possibly become uncalibrated. 4 The AD7701 is production tested with f CLKIN at 4.096 MHz. It is guaranteed by characterization to operate at 200 kHz. 5 Specified using 10% and 90% points on waveform of interest. 6 In order to synchronize several AD7701s together using the SLEEP pin, this specification must be met. 7 t4 and t13 are measured with the load circuit of Figure 1 and defined as the time required for an output to cross 0.8 V or 2.4 V. 8 t9, t10, t15, and t16 are derived from the measured time taken by the data outputs to change 0.5 V when loaded with the circuit of Figure 1. The measured number is then extrapolated back to remove the effects of charging or discharging the 100 pF capacitor. This means that the time quoted in the Timing Characteristics is the true bus relinquish time of the part and as such is independent of external bus loading capacitance. 9 If CS is returned high before all 16 bits are output, the SDATA and SCLK outputs will complete the current data bit and then go to high impedance. 10 If CS is activated asynchronously to DRDY, CS will not be recognized if it occurs when DRDY is high for four clock cycles. The propagation delay time may be as great as four CLKIN cycles plus 160 ns. To guarantee proper clocking of SDATA when using asynchronous CS, the SCLK input should not be taken high sooner than four CLKIN cycles plus 160 ns after CS goes low. 11 SDATA is clocked out on the falling edge of the SCLK input. Specifications subject to change without notice. -6- REV. E AD7701 IOL 1.6mA CAL TO OUTPUT PIN CLKIN + 2.1V CL t2 t1 100pF IOH 200A Figure 1. Load Circuit for Access Time and Bus Relinquish Time SC1, SC2 t3 SC1, SC2 VALID SLEEP Figure 2b. SLEEP Mode Timing Figure 2a. Calibration Control Timing DRDY CS t12 t11 CS SCLK CS t15 t10 SDATA HI-Z DATA VALID SDATA Figure 3. SSC Mode Data Hold Time t13 SDATA Figure 4a. SEC Mode Data Hold Time t16 t14 HI-Z DATA VALID HI-Z DB15 DB14 DB1 DB0 HI-Z Figure 4b. SEC Mode Timing Diagram CLKIN CS DRDY t7 CS t8 HI-Z SCLK t4 t17 SCLK t5 t18 t6 t5 SDATA HI-Z DB15 DB14 SDATA HI-Z DB1 HI-Z t19 START HI-Z DB8 DB9 HIGH BYTE Figure 5. SSC Mode Timing Diagram STOP 1 STOP 2 LOW BYTE Figure 6. AC Mode Timing Diagram DEFINITION OF TERMS Linearity Error Bipolar Zero Error This is the deviation of the midscale transition (0111 . . . 111 to 1000 . . . 000) from the ideal (AGND - 0.5 LSB) when operating in the Bipolar mode. It is expressed in microvolts. This is the maximum deviation of any code from a straight line passing through the endpoints of the transfer function. The endpoints of the transfer function are zero scale (not to be confused with bipolar zero), a point 0.5 LSB below the first code transition (000 . . . 000 to 000 . . . 001) and full scale, a point 1.5 LSB above the last code transition (111 . . . 110 to 111 . . . 111). The error is expressed as a percentage of full scale. Bipolar Negative Full-Scale Error This is the deviation of the first code transition from the ideal (-VREF + 0.5 LSB) when operating in the Bipolar mode. It is expressed in microvolts. Positive Full-Scale Overrange Differential Linearity Error Positive full-scale overrange is the amount of overhead available to handle input voltages greater than +VREF (for example, noise peaks or excess voltages due to system gain errors in system calibration routines) without introducing errors due to overloading the analog modulator or overflowing the digital filter. It is expressed in millivolts. This is the difference between any code's actual width and the ideal (1 LSB) width. Differential linearity error is expressed in LSBs. A differential linearity specification of 1 LSB or less guarantees monotonicity. Positive Full-Scale Error Positive full-scale error is the deviation of the last code transition (111 . . . 110 to 111 . . . 111) from the ideal (VREF 3/2 LSBs). It applies to both positive and negative analog input ranges and is expressed in microvolts. Negative Full-Scale Overrange This is the amount of overhead available to handle voltages below -VREF without overloading the analog modulator or overflowing the digital filter. Note that the analog input will accept negative voltage peaks even in the Unipolar mode. The overhead is expressed in millivolts. Unipolar Offset Error Unipolar offset error is the deviation of the first code transition from the ideal (AGND + 0.5 LSB) when operating in the Unipolar mode. It is expressed in microvolts. REV. E DB7 DB0 -7- AD7701 The AD7701 can perform self-calibration using the on-chip calibration microcontroller and SRAM to store calibration parameters. A calibration cycle may be initiated at any time using the CAL control input. Offset Calibration Range In the system calibration modes (SC2 low), the AD7701 calibrates its offset with respect to the AIN pin. The offset calibration range specification defines the range of voltages, expressed as a percentage of VREF, that the AD7701 can accept and still accurately calibrate offset. Other system components may also be included in the calibration loop to remove offset and gain errors in the input channel. Full-Scale Calibration Range For battery operation, the AD7701 also offers a standby mode that reduces idle power consumption to typically 10 W. This is the range of voltages that the AD7701 can accept in the system calibration mode and still correctly calibrate full scale. Input Span THEORY OF OPERATION In system calibration schemes, two voltages applied in sequence to the AD7701's analog input define the analog input range. The input span specification defines the minimum and maximum input voltages from zero to full scale that the AD7701 can accept and still accurately calibrate gain. The input span is expressed as a percentage of VREF. The general block diagram of a sigma-delta ADC is shown in Figure 8. It contains the following elements: 1. 2. 3. 4. 5. 6. GENERAL DESCRIPTION The AD7701 is a 16-bit A/D converter with on-chip digital filtering, intended for the measurement of wide dynamic range, low frequency signals such as those representing chemical, physical, or biological processes. It contains a charge-balancing (sigma-delta) ADC, calibration microcontroller with on-chip static RAM, clock oscillator, and serial communications port. In operation, the analog signal sample is fed to the subtracter, along with the output of the 1-bit DAC. The filtered difference signal is fed to the comparator, whose output samples the difference signal at a frequency many times that of the analog signal sampling frequency (oversampling). The analog input signal to the AD7701 is continuously sampled at a rate determined by the frequency of the master clock, CLKIN. A charge-balancing A/D converter (sigma-delta modulator) converts the sampled signal into a digital pulse train whose duty cycle contains the digital information. A six-pole Gaussian digital low-pass filter processes the output of the modulator and updates the 16-bit output register at a 4 kHz rate. The output data can be read from the serial port randomly or periodically at any rate up to 4 kHz. +5V ANALOG SUPPLY A sample-hold amplifier A differential amplifier or subtracter An analog low-pass filter A 1-bit A/D converter (comparator) A 1-bit DAC A digital low-pass filter S/H AMP ANALOG LOW-PASS FILTER COMPARATOR DAC DIGITAL FILTER DIGITAL DATA Figure 8. General Sigma-Delta ADC Oversampling is fundamental to the operation of sigma-delta ADCs. Using the quantization noise formula for an ADC: 0.1F 10F SNR = (6.02 x number of bits + 1.76) dB AVDD 2.5V VOLTAGE REFERENCE VREF DVDD SLEEP CS BP/UP SCLK CALIBRATE CAL The AD7701 samples the input signal at 16 kHz, which spreads the quantization noise from 0 kHz to 8 kHz. Since the specified analog input bandwidth of the AD7701 is only 0 Hz to 10 Hz, the noise energy in this bandwidth would be only 1/800 of the total quantization noise, even if the noise energy were spread evenly throughout the spectrum. It is reduced still further by analog filtering in the modulator loop, which shapes the quantization noise spectrum to move most of the noise energy to frequencies above 10 Hz. The SNR performance in the 0 Hz to 10 Hz range is conditioned to the 16-bit level in this fashion. MODE DRDY RANGE SELECT a 1-bit ADC or comparator yields an SNR of 7.78 dB. 0.1F SDATA READ READY READ (TRANSMIT) SERIAL CLOCK SERIAL DATA AD7701 CLKIN ANALOG INPUT AIN CLKOUT ANALOG GROUND AGND DGND 0.1F 0.1F AVSS -5V ANALOG SUPPLY 0.1F The output of the comparator provides the digital input for the 1-bit DAC, so the system functions as a negative feedback loop that minimizes the difference signal. The digital data that represents the analog input voltage is in the duty cycle of the pulse train appearing at the output of the comparator. It can be retrieved as a parallel binary data-word using a digital filter. SC2 DVSS 10F Sigma-delta ADCs are generally described by the order of the analog low-pass filter. A simple example of a first-order, sigmadelta ADC is shown in Figure 9. This contains only a first-order, low-pass filter or integrator. It also illustrates the derivation of the alternative name for these devices: charge-balancing ADCs. Figure 7. Typical System Connection Diagram -8- REV. E AD7701 C Figure 10 shows the filter frequency response. This is a six-pole Gaussian response that provides 55 dB of 60 Hz rejection for a 10 Hz cutoff frequency. If the clock frequency is halved to give a 5 Hz cutoff, 60 Hz rejection is better than 90 dB. A normalized s-domain pole-zero plot of the filter is shown in Figure 11. CLOCK R AIN TO DIGITAL FILTER INTEGRATOR The response of the filter is defined by: STROBED COMPARATOR R 1 + 0.693x 2 + 0.240x 4 + 0.0555x 6 + H (x ) = 8 10 12 0.00962x + 0.00133x + 0.000154x +VREF -VREF -0.5 where 1-BIT DAC x = f f3dB , f3dB = fCLKIN 409600 Figure 9. SEC Basic Charge-Balancing ADC and f is the frequency of interest. The term charge-balancing comes from the fact that this system is a negative feedback loop that tries to keep the net charge on the integrator capacitor at zero by balancing charge injected by the input voltage with charge injected by the 1-bit DAC. When the analog input is zero the only contribution to the integrator output comes from the 1-bit DAC. For the net charge on the integrator capacitor to be zero, the DAC output must spend half its time at +1 V and half its time at -1 V. Assuming ideal components, the duty cycle of the comparator will be 50%. 20 0 fCLK = 4MHz -20 GAIN - dBs -40 When a positive analog input is applied, the output of the 1-bit DAC must spend a larger proportion of the time at +1 V, so the duty cycle of the comparator increases. When a negative input voltage is applied, the duty cycle decreases. fCLK = 2MHz -60 -80 -100 -120 fCLK = 1MHz -140 The AD7701 uses a second-order, sigma-delta modulator and a sophisticated digital filter that provides a rolling average of the sampled output. After power-up or if there is a step change in the input voltage, there is a settling time that must elapse before valid data is obtained. -160 1 10 FREQUENCY - Hz 100 Figure 10. Frequency Response of AD7701 Filter jw j2 DIGITAL FILTERING The AD7701's digital filter behaves like an analog filter, with a few minor differences. j1 First, since digital filtering occurs after the analog-to-digital conversion, it can remove noise injected during the conversion process. Analog filtering cannot do this. S1,2 = -1.4663 + j1.8191 s 0 -2 On the other hand, analog filtering can remove noise superimposed on the analog signal before it reaches the ADC. Digital filtering cannot do this and noise peaks riding on signals near full scale have the potential to saturate the analog modulator and digital filter, even though the average value of the signal is within limits. To alleviate this problem, the AD7701 has overrange headroom built into the sigma-delta modulator and digital filter that allows overrange excursions of 100 mV. If noise signals are larger than this, consideration should be given to analog input filtering, or to reducing the gain in the input channel so that a full-scale input (2.5 V) gives only a half-scale input to the AD7701 (1.25 V). This will provide an overrange capability greater than 100% at the expense of reducing the dynamic range by one bit (50%). S3,4 = -1.7553 + j1.0005 S5,6 = -1.8739 + j0.32272 -j1 -j2 Figure 11. Normalized Pole-Zero Plot of AD7701 Filter Since the AD7701 contains this on-chip, low-pass filtering, there is a settling time associated with step function inputs, and data will be invalid after a step change until the settling time has elapsed. The AD7701 is, therefore, unsuitable for high speed multiplexing, where channels are switched and converted sequentially at high rates, as switching between channels can cause a step change in the input. Rather, it is intended for distributed converter systems using one ADC per channel. However, slow multiplexing of the AD7701 is possible, provided that the settling time is allowed to elapse before data for the new channel is accessed. FILTER CHARACTERISTICS The cutoff frequency of the digital filter is fCLK/409600. At the maximum clock frequency of 4.096 MHz, the cutoff frequency of the filter is 10 Hz and the output rate is 4 kHz. REV. E -1 -9- AD7701 The output settling of the AD7701 in response to a step input change is shown in Figure 12. The Gaussian response has fast settling with no overshoot, and the worst-case settling time to 0.0007% ( 0.5 LSB) is 125 ms with a 4.096 MHz master clock frequency. The input sampling frequency, output data rate, filter characteristics, and calibration time are all directly related to the master clock frequency, fCLKIN, by the ratios given in the specification table. Therefore, the first step in system design with the AD7701 is to select a master clock frequency suitable for the bandwidth and output data rate required by the application. PERCENT OF FINAL VALUE 100 ANALOG INPUT RANGES The AD7701 performs conversion relative to an externally supplied reference voltage that allows easy interfacing to ratiometric systems. In addition, either unipolar or bipolar input voltage ranges may be selected using the BP/UP input. With BP/UP tied low, the input range is unipolar and the span is 0 to +VREF. With BP/UP tied high, the input range is bipolar and the span is VREF. In the Bipolar mode, both positive and negative full scale are directly determined by VREF. This offers superior tracking of positive and negative full scale and better midscale (bipolar zero) stability than bipolar schemes that simply scale and offset the input range. 80 60 40 20 0 0 40 80 TIME - ms 120 160 Figure 12. AD7701 Step Response USING THE AD7701 SYSTEM DESIGN CONSIDERATIONS The AD7701 operates differently from successive approximation ADCs or other integrating ADCs. Since it samples the signal continuously, like a tracking ADC, there is no need for a start convert command. The 16-bit output register is updated at a 4 kHz rate, and the output can be read at any time, either synchronously or asynchronously. CLOCKING The AD7701 requires a master clock input, which may be an external TTL/CMOS compatible clock signal applied to the CLKIN pin (CLKOUT not used). Alternatively, a crystal of the correct frequency can be connected between CLKIN and CLKOUT, when the clock circuit will function as a crystal controlled oscillator. The digital output coding for the unipolar range is unipolar binary; for the bipolar range it is offset binary. Bit weights for the Unipolar and Bipolar modes are shown in Table I. The input voltages and output codes for unipolar and bipolar ranges, using the recommended +2.5 V reference, are shown in Table II. Table I. Bit Weight Table (2.5 V Reference Voltage) Unipolar Mode Bipolar Mode V LSBs % FS ppm FS LSBs % FS ppm FS 10 19 38 76 153 0.26 0.5 1.00 2.00 4.00 0.0004 0.0008 0.0015 0.0031 0.0061 4 8 15 31 61 0.13 0.26 0.5 1.00 2.00 0.0002 0.0004 0.0008 0.0015 0.0031 2 4 8 15 31 Table II. Output Coding Unipolar Mode Input Relative to FS and AGND Input (V) Bipolar Mode Input Relative to FS and AGND Input (V) Output Data +VREF - 1.5 LSB +VREF - 2.5 LSB +VREF - 3.5 LSB +2.499943 +2.499905 +2.499867 +VREF - 1.5 LSB +VREF - 2.5 LSB +VREF - 3.5 LSB +2.499886 +2.499810 +2.499733 1111 1111 1111 1111 1111 1111 1111 1110 1111 1111 1111 1101 1111 1111 1111 1100 +VREF/2 + 0.5 LSB +VREF/2 - 0.5 LSB +VREF/2 - 1.5 LSB +1.250019 +1.249981 +1.249943 AGND + 0.5 LSB AGND - 0.5 LSB AGND - 1.5 LSB +0.000038 -0.000038 -0.000114 1000 0000 0000 0001 1000 0000 0000 0000 0111 1111 1111 1111 0111 1111 1111 1110 AGND + 2.5 LSB AGND + 1.5 LSB AGND + 0.5 LSB +0.000095 +0.000057 +0.000019 -VREF + 2.5 LSB -VREF + 1.5 LSB -VREF + 0.5 LSB -2.499810 -2.499886 -2.499962 0000 0000 0000 0011 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 NOTES 1. VREF = 2.5 V 2. AGND = 0 V 3. Unipolar Mode, 1 LSB = 2.5 V/655536 = 0.000038 V 4. Bipolar Mode, 1 LSB = 5 V/65536 = 0.000076 V 5. Inputs are voltages at code transitions. -10- REV. E AD7701 An RC filter may be added in front of the AD7701 to reduce high frequency noise. With an external capacitor added from AIN to AGND, the following equation will specify the maximum allowable source resistance: INPUT SIGNAL CONDITIONING Reference voltages from 1 V to 3 V may be used with the AD7701 with little degradation in performance. Input ranges that cannot be accommodated by this range of reference voltages may be achieved by input signal conditioning. This may take the form of gain to accommodate a smaller signal range, or passive attenuation to reduce a larger input voltage range. RS (Max) = f CLKIN Source Resistance If passive attenuators are used in front of the AD7701, care must be taken to ensure that the source impedance is sufficiently low. The AD7701 has an analog input with over 1 G dc input resistance. In parallel with this, there is a small dynamic load that varies with the clock frequency (see Figure 13). Each time the analog input is sampled, a 10 pF capacitor draws a charge packet of maximum 1 pC (10 pF x 100 mV) from the analog source R2 in = 4kTRf R Amperes where AD7701 k is Boltzmann's constant (1.38 x 10-23 J/K). T is temperature in degrees Kelvin (C + 273). CIN Active signal conditioning circuits such as op amps generally do not suffer from problems of high source impedance. Their openloop output resistance is normally only tens of ohms and, in any case, most modern general-purpose op amps have sufficiently fast closed-loop settling time for this not to be a problem. Offset voltage in op amps can be eliminated in a system calibration routine. With the wide dynamic range and small LSB size of the AD7701, noise can also be a problem, but the digital filter will reject most broadband noise above its cutoff frequency. However, in certain applications there may be a need for analog input filtering. 10pF V OS 100mV AGND Figure 13. Equivalent Input Circuit and Input Attenuator with a frequency fCLKIN/256. For a 4.096 MHz CLKIN, this yields an average current draw of 16 nA. After each sample, the AD7701 allows 62 clock periods for the input voltage to settle. The equation that defines settling time is: [ RC ] Antialias Considerations The digital filter of the AD7701 does not provide any rejection at integer multiples of the sampling frequency (nfCLKlN/256, where n = 1, 2, 3 . . . ). where VO is the final settled value. VIN is the value of the input signal. R is the value of the input source resistance. C is the 10 pF sample capacitor. t is equal to 62/fCLKIN. With a 4.096 MHz master clock, there are narrow ( 10 Hz) bands at 16 kHz, 32 kHz, 48 kHz, and so on, where noise passes unattenuated to the output. However, due to the AD7701's high oversampling ratio of 800 (16 kHz to 20 Hz), these bands occupy only a small fraction of the spectrum and most broadband noise is filtered. The reduction in broadband noise is given by: From this, the following equation can be developed, which gives the maximum allowable source resistance, R S(MAX), for an error of VE: RS (MAX ) = f CLKIN eOUT = eIN 2 f C / f S = 0.035 eIN 62 x(10 pF ) x l n (100mV /VE ) Provided the source resistance is less than this value, the analog input will settle within the desired error band in the requisite 62 clock periods. Insufficient settling leads to offset errors. These can be calibrated in system calibration schemes. If a limit of 10 V (0.25 LSB at 16 bits) is set for the maximum offset voltage, then the maximum allowable source resistance is 160 k from the above equation, assuming that there is no external stray capacitance. REV. E Vn = 4kTRf Volts CEXT VO = VIN 1 - e - t + C EXT ) The practical limit to the maximum value of source resistance is thermal (Johnson) noise. A practical resistor may be modeled as an ideal (noiseless) resistor in series with a noise voltage source or in parallel with a noise current source: AIN R1 62 100 mV x C IN / (C IN x ( C IN + C EXT ) x ln VE where elN and eOUT are rms noise terms referred to the input. fC is the filter -3 dB corner frequency (fCLKIN/409600). fS is the sampling frequency (fCLKIN/256). Since the ratio of fS to fCLKIN is fixed, the digital filter reduces broadband white noise by 96.5% independent of the master clock frequency. -11- AD7701 VOLTAGE REFERENCE CONNECTIONS GROUNDING AND SUPPLY DECOUPLING The voltage applied to the VREF pin defines the analog input range. The specified reference voltage is 2.5 V, but the AD7701 will operate with reference voltages from 1 V to 3 V with little degradation in performance. AGND is the ground reference voltage for the AD7701 and is completely independent of DGND. Any noise riding on the AGND input with respect to the system analog ground will cause conversion errors. AGND should, therefore, be used as the system ground and also as the ground for the analog input and reference voltage. The reference input presents exactly the same dynamic load as the analog input, but in the case of the reference input, source resistance and long settling time introduce gain errors rather than offset errors. Fortunately, most precision references have sufficiently low output impedance and wide enough bandwidth to settle to 10 V within 62 clock cycles. The analog and digital power supplies to the AD7701 are independent and separately pinned out to minimize coupling between analog and digital sections of the device. The digital filter will provide rejections of broadband noise on the power supplies, except at integer multiples of the sampling frequency. Therefore, the two analog supplies should be decoupled to AGND using 100 nF ceramic capacitors to provide power supply noise rejections at these frequencies. The two digital supplies should similarly be decoupled to DGND. AVDD +5V LT1019 AD7701 VREF ACCURACY AND AUTOCALIBRATION AGND Figure 14. Typical External Reference Connections The digital filter of the AD7701 removes noise from the reference input, just as it does with noise at the analog input, and the same limitations apply regarding lack of noise rejection at integer multiples of the sampling frequency. If reference noise is a problem, some voltage references offer noise reduction schemes using an external capacitor. Alternatively, a simple RC filter may be used, as shown in Figure 15. AD580 AD7701 RF 13k The AD7701 offers two self-calibration modes using the on-chip calibration microcontroller and SRAM. Table III is a truth table for the calibration control inputs SC1 and SC2. In the self-calibration mode, zero scale is calibrated against the AGND pin and full scale is calibrated against the VREF pin, to remove internal errors. Note that in the Bipolar mode the AD7701 calibrates positive full scale and midscale (bipolar zero). AVDD +5V Sigma-delta ADCs, like VFCs and other integrating ADCs, do not contain any source of nonmonotonicity and inherently offer no-missing-codes performance. The AD7701 achieves excellent linearity ( 0.0007%) by the use of high quality, on-chip silicon dioxide capacitors, which have a very low capacitance/voltage coefficient. VREF CF 100pF In the system-calibration mode, the AD7701 calibrates its zero and full scale to voltages present on the analog input pin in two sequential steps. This allows system offsets and/or gain errors to be nulled out. AGND AD7701 SYSTEM REF HI Figure 15. Filtered Reference Input AIN The same considerations apply to this filter as to a filter at the analog input. In this case: [RF (CF +10 pF )]= f CLKIN SYSTEM REF LO 62 100 mV x CIN (CIN + CF ) x ln V FSE where fCLKIN is the master clock frequency. VFSE is the maximum desired error in volts. SCLK ANALOG MUX A0 A1 SIGNAL CONDITIONING SDATA CAL SC1 MICROCOMPUTER SC2 Figure 16. Typical Connections for System Calibration A typical system calibration scheme is shown in Figure 16. In normal operation, the analog signal is fed to the AD7701 via an analog multiplexer. When the system is to be calibrated, AIN is first switched to the system REF LO via the multiplexer and CAL is strobed high, with SC1 and SC2 both high. AIN is then switched to the system REF HI and CAL is strobed, with SC1 low and SC2 high. In this way, the effect of all error sources -12- REV. E AD7701 Table III. Calibration Truth Table* CAL SC1 SC2 Calibration Type Zero Reference FS Reference Sequence Calibration Time 0 1 0 1 0 1 1 0 Self-Calibration System Offset System Gain System Offset AGND AIN VREF One Step First Step Second Step One Step 3,145,655 Clock Cycles 1,052,599 Clock Cycles 1,068,813 Clock Cycles 2,117,389 Clock Cycles AIN VREF AIN *DRDY remains high throughout the calibration sequence. In the Self-Calibration mode, DRDY falls once the AD7701 has settled to the analog input. In all other modes, DRDY falls as the device begins to settle. between the multiplexer and the AD7701 is removed. Op amps and other signal conditioning circuits may be used in front of the AD7701 without worrying about their absolute gain or offset errors. Note that the absolute value of the reference supplied to the AD7701 is no longer important, provided it has adequate short-term stability between calibration cycles, as full scale is calibrated to the system reference. The type of calibration cycle initiated by CAL is determined by the SC1 and SC2 inputs, in accordance with Table III. If system offset errors are important but system gain errors are not, then a one-step system calibration may be performed with SC1 high and SC2 low. In this case, offset is calibrated against AIN, which should be connected to system REF LO during calibration, but full scale is calibrated against the AD7701's VREF input. POWER SUPPLY SEQUENCING The power dissipation and temperature drift of the AD7701 are low, and no warm-up time is required before the initial calibration is performed. However, the system reference must have stabilized before calibration is initiated. The positive digital supply (DVDD) must never exceed the positive analog supply (AVDD) by more than 0.3 V. Power supply sequencing is, therefore, important. If separate analog and digital supplies are used, care must be taken to ensure that the analog supply is powered up first. System calibration schemes will yield better accuracy than self-calibration, even if there are no system errors. Using selfcalibration, errors arise due to the mismatch in source impedances between the references during calibration (AGND and VREF) and the analog input during normal operation. In system calibration, the source impedances inherently remain identical such that the theoretical limit to system accuracy is calibration resolution. The practical limit is the noise floor of the AD7701. Note that in system calibration, REF LO does not necessarily mean the system ground or 0 V. The AD7701 can be calibrated to measure between any two voltages that lie within its calibration range by deliberately making REF LO nonzero. For example, if REF LO is 0.5 V and REF HI is 2.5 V, the unipolar span will be between these limits. A typical scheme for powering the AD7701 from a single set of 5 V rails is shown in Figure 7. In this circuit, AVDD and DVDD are brought along separate tracks from the same 5 V supply. Thus, there is no possibility of the digital supply coming up before the analog supply. GROUNDING The AD7701 uses the analog ground connection, AGND, as the measurement reference node. It should be used as the reference node for both the analog input signal and the reference voltage at the VREF pin. CALIBRATION RANGE When designing system calibration schemes, care must be taken to ensure that the worst-case system errors do not cause the overrange headroom of the AD7701 to be exceeded. Although the measurement error caused by offset and gain errors can be nulled out, the actual error voltages will still be present at the analog input and can cause overloading of the analog modulator or overflow of the digital filter. With a 2.5 V reference, the maximum input voltage is (+VREF + 100 mV), and the minimum input voltage is (-VREF - 100 mV). The analog and digital power supplies to the AD7701 die are pinned out separately to minimize coupling between the analog and digital sections of the chip. All four supplies should be decoupled separately to their respective grounds as shown in Figure 7. The on-chip digital filtering of the AD7701 further enhances power supply rejection by attenuating noise injected into the conversion process. SINGLE-SUPPLY OPERATION POWER-UP AND CALIBRATION A calibration cycle must be carried out after power-up to initialize the device to a consistent starting condition and correct calibration. The CAL pin must be held high for at least four clock cycles, after which calibration is initiated on the falling edge of CAL and takes a maximum of 3,145,655 clock cycles (approximately 768 ms, with a 4.096 MHz clock). See Table III. REV. E It is also important that power is applied to the AD7701 before signals at VREF, AIN, or the logic input pins in order to avoid any possibility of latch-up. If separate supplies are used for the AD7701 and the system digital circuitry, then the AD7701 should be powered up first. Figure 17 shows a circuit to power the AD7701 from a single 10 V supply, using an op amp to provide a half supply reference point for AGND and DGND. As the digital I/O pins are referenced to this point, level shifting is required for external digital communications. If galvanic isolation is required in the system, level shifting and isolation can both be provided by opto-isolators. -13- AD7701 Synchronous Self-Clocking Mode (SSC) 0.1F 0.1F AVDD The SSC mode (MODE pin high) allows easy interfacing to serial-parallel conversion circuits in systems with parallel data communication. This mode allows interfacing to 74XX299 universal shift registers without any additional decoding. The SSC mode can also be used with microprocessors such as the 68HC11 and 68HC05, which allow an external device to clock their serial port. DVDD 10k VREF REF AD7701 10V 1V DGND AD707 AGND 10k AVSS 0.1F Figure 18 shows the timing diagram for SSC mode. Data is clocked out by an internally generated serial clock. The AD7701 divides each sampling interval into 16 distinct periods. Eight periods of 64 clock pulses are for analog settling and eight periods of 64 clock pulses are for digital computation. The status of CS is polled at the beginning of each digital computation period. If it is low at any of these times, SCLK will become active and the data-word currently in the output register will be transmitted, MSB first. After the LSB has been transmitted, DRDY goes high and SDATA goes three-state. If CS, having been brought low, is taken high again at any time during data transmission, SDATA and SCLK will go three-state after the current bit finishes. If CS is subsequently brought low, transmission will resume with the next bit during the subsequent digital computation period. If transmission has not been initiated and completed by the time the next data-word is available, DRDY will go high for four clock cycles then low again as the new word is loaded into the output register. DVSS 0.1F Figure 17. Single-Supply Operation SLEEP MODE The low power standby mode is initiated by taking the SLEEP input low, which shuts down all analog and digital circuits and reduces power consumption to 10 W. The calibration coefficients are still retained in memory, but as the converter has been quiescent, it is necessary to wait for the filter settling time (507,904 cycles) before accessing the output data. DIGITAL INTERFACE The AD7701's serial communications port allows easy interfacing to industry-standard microprocessors. Three different modes of operations are available, optimized for different types of interface. A more detailed diagram of the data transmission in the SSC mode is shown in Figure 19. Data bits change on the falling edge of SCLK and are valid on the rising edge of SCLK. 1024 CLKIN CYCLES INTERNAL STATUS 64 CLKIN CYCLES 64 CLKIN CYCLES ANALOG SETTLING DIGITAL COMPUTATION DIGITAL COMPUTATION 72 CLKIN CYCLES DRDY (O) CS POLLED CS (I) SCLK (O) SDATA (O) HI-Z HI-Z HI-Z MSB LSB HI-Z Figure 18. Timing Diagram for SSC Data Transmission Mode -14- REV. E AD7701 SDATA goes three-state. If CS is low and the AD7701 is still transmitting data when a new data-word becomes available, the old data-word continues to be transmitted and the new data is lost. Synchronous External Clock Mode (SEC) The SEC mode (MODE pin grounded) is designed for direct interface to the synchronous serial ports of industry-standard microprocessors such as the COPS series, 68HC11, and 68HC05. The SEC mode also allows customized interfaces, using I/O port pins, to microprocessors that do not have a direct fit with the AD7701's other modes. If CS is taken high at any time during data transmission, SDATA and SCLK will go three-state immediately. If CS returns low, the AD7701 will continue transmission with the same data bit. If transmission has not been initiated and completed by the time the next data-word becomes available, and if CS is high, DRDY will return high for four clock cycles, then fall as the new word is loaded into the output register. As shown in Figure 20, a falling edge on CS enables the serial data output with the MSB initially valid. Subsequent data bits change on the falling edge of an externally supplied SCLK. After the LSB has been transmitted, DRDY goes high and CLKIN (I) 72 CLKIN CYCLES DRDY (O) CS (I) SDATA (O) HI-Z DB15 (MSB) DB14 DB2 DB1 DB0 (LSB) HI-Z HI-Z HI-Z SCLK (O) Figure 19. SSC Mode Showing Data Timing Relative to SCLK DRDY (O) CS (I) SCLK (I) SDATA (O) HI-Z DB15 (MSB) DB14 DB13 DB1 Figure 20. Timing Diagram for the SEC Mode REV. E -15- DB0 (LSB) HI-Z AD7701 Asynchronous Communications (AC) Mode DIGITAL NOISE AND OUTPUT LOADING The AC mode (MODE pin tied to -5 V) offers a UART compatible interface that allows the AD7701 to transmit data asynchronously from remote locations. An external SCLK sets the baud rate and data is transmitted in two bytes in UART compatible format. Using the AC mode, the AD7701 can be interfaced directly to microprocessors with UART interfaces, such as the 8051 and TMS70X2. As mentioned earlier, the AD7701 divides its internal timing into two distinct phases, analog sampling and settling and digital computation. In the SSC mode, data is transmitted only during the digital computation periods to minimize the effects of digital noise on analog performance. In the SEC and AC modes, data transmission is externally controlled, so this automatic safeguard does not exist. Data transmission is initiated by CS going low. If CS is low on a falling edge of SCLK, the AD7701 begins transmitting an 8-bit data byte (DB8 to DB15) with one start bit and two stop bits, as in Figure 21. The SDATA output will then go three-state. The second byte is transmitted by bringing CS low again and DB0 to DB7 are transmitted in the same format as the first byte. Whatever mode of operation is used, resistive and capacitive loads on digital outputs should be minimized in order to reduce crosstalk between analog and digital portions of the circuit. For this reason, connection to low power CMOS logic such as one of the 4000 series or 74C families is recommended. UART baud rates are typically low compared to the AD7701's 4 kHz output update rate. If CS is low and data is still being transmitted when a new data-word becomes available, the new data will be ignored. However, if CS has been taken high between bytes, when a new data-word becomes available, the AD7701 could update the output register before the second byte is transmitted. In this case, the UART would receive the first byte of the new word instead of the second byte of the old word. When using the AC mode, care must obviously be taken to ensure that this does not occur. It is especially important to minimize the load on SDATA in the AC mode, as transmission in this mode is inherently asynchronous. In the SEC mode, the AD7701 should be synchronized to the digital system clock via CLKIN. SCLK (I) DRDY (O) CS (I) HI-Z SDATA (O) START BIT DB8 DB9 DB14 DB15 STOP STOP START BIT BIT BIT DB0 DB1 DB6 DB7 STOP BIT STOP BIT Figure 21. Timing Diagram for Asynchronous Communications Mode -16- REV. E AD7701 OUTLINE DIMENSIONS 20-Lead Plastic Dual In-Line Package [PDIP] (N-20) 28-Lead Shrink Small Outline Package [SSOP] (RS-28) Dimensions shown in inches and (millimeters) Dimensions shown in millimeters 0.985 (25.02) 0.965 (24.51) 0.945 (24.00) 20 11 1 10 0.180 (4.57) MAX 0.150 (3.81) 0.130 (3.30) 0.110 (2.79) 28 0.325 (8.26) 0.310 (7.87) 0.300 (7.62) 0.015 (0.38) MIN 0.022 (0.56) 0.018 (0.46) 0.014 (0.36) 10.50 10.20 9.90 0.295 (7.49) 0.285 (7.24) 0.275 (6.99) 0.100 0.060 (1.52) SEATING (2.54) 0.050 (1.27) PLANE BSC 0.045 (1.14) 15 5.60 5.30 5.00 0.150 (3.81) 0.135 (3.43) 0.120 (3.05) 14 1 0.015 (0.38) 0.010 (0.25) 0.008 (0.20) 1.85 1.75 1.65 2.00 MAX COMPLIANT TO JEDEC STANDARDS MO-095-AE CONTROLLING DIMENSIONS ARE IN INCHES; MILLIMETER DIMENSIONS (IN PARENTHESES) ARE ROUNDED-OFF INCH EQUIVALENTS FOR REFERENCE ONLY AND ARE NOT APPROPRIATE FOR USE IN DESIGN 8.20 7.80 7.40 0.10 COPLANARITY 0.25 0.09 0.05 MIN 0.38 0.22 0.65 BSC 8 4 0 SEATING PLANE 0.95 0.75 0.55 COMPLIANT TO JEDEC STANDARDS MO-150AH 20-Lead Standard Small Outline Package [SOIC] Wide Body (R-20) 20-Lead Ceramic Dual In-Line Pacakage [CERDIP] (Q-20) Dimensions shown in inches and (millimeters) Dimensions shown in millimeters and (inches) 0.005 (0.13) MIN 13.00 (0.5118) 12.60 (0.4961) 0.098 (2.49) MAX 20 11 PIN 1 1 20 7.60 (0.2992) 7.40 (0.2913) 10 0.200 (5.08) MAX 2.65 (0.1043) 2.35 (0.0925) 0.30 (0.0118) 0.10 (0.0039) 1.27 (0.0500) BSC 8 0 0.51 (0.0201) SEATING 0.32 (0.0126) 0.33 (0.0130) PLANE 0.23 (0.0091) 0.060 (1.52) 0.015 (0.38) 0.320 (8.13) 0.290 (7.37) 0.150 (3.81) MIN 0.023 (0.58) 0.014 (0.36) 0.75 (0.0295) 45 0.25 (0.0098) 0.100 (2.54) BSC 0.070 (1.78) SEATING 0.030 (0.76) PLANE 15 0 0.015 (0.38) 0.008 (0.20) CONTROLLING DIMENSIONS ARE IN INCHES; MILLIMETERS DIMENSIONS (IN PARENTHESES) ARE ROUNDED-OFF INCH EQUIVALENTS FOR REFERENCE ONLY AND ARE NOT APPROPRIATE FOR USE IN DESIGN 1.27 (0.0500) 0.40 (0.0157) COMPLIANT TO JEDEC STANDARDS MS-013AC CONTROLLING DIMENSIONS ARE IN MILLIMETERS; INCH DIMENSIONS (IN PARENTHESES) ARE ROUNDED-OFF MILLIMETER EQUIVALENTS FOR REFERENCE ONLY AND ARE NOT APPROPRIATE FOR USE IN DESIGN REV. E 1.060 (26.92) MAX 10.65 (0.4193) 10.00 (0.3937) 0.200 (5.08) 0.125 (3.18) COPLANARITY 0.10 10 11 1 0.310 (7.87) 0.220 (5.59) -17- AD7701 Revision History Location Page 3/03--Data Sheet changed from REV. D to REV. E. Updated Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Universal Changes to SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Updated PIN FUNCTION DESCRIPTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Updated OUTLINE DIMENSIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 -18- REV. E -19- -20- PRINTED IN U.S.A. C01162-0-3/03(E)