a FEATURES Throughput 570 kSPS (Warp Mode) 500 kSPS (Normal Mode) INL: 2.5 LSB Max (0.0038% of Full Scale) 16-Bit Resolution with No Missing Codes S/(N+D): 90 dB Typ @ 180 kHz THD: –100 dB Typ @ 180 kHz Analog Input Voltage Ranges Bipolar: 10 V, 5 V, 2.5 V Unipolar: 0 V to 10 V, 0 V to 5 V, 0 V to 2.5 V Both AC and DC Specifications No Pipeline Delay Parallel (8/16 Bits) and Serial 5 V/3 V Interface SPI®/QSPI™/MICROWIRE™/DSP Compatible Single 5 V Supply Operation Power Dissipation 64 mW Typical 15 W @ 100 SPS Power-Down Mode: 7 W Max Package: 48-Lead Quad Flatpack (LQFP) Package: 48-Lead Chip Scale (LFCSP) Pin-to-Pin Compatible Upgrade of the AD7664/AD7663 APPLICATIONS Data Acquisition Communication Instrumentation Spectrum Analysis Medical Instruments Process Control GENERAL DESCRIPTION The AD7665 is a 16-bit, 570 kSPS, charge redistribution SAR, analog-to-digital converter that operates from a single 5 V power supply. It contains a high speed 16-bit sampling ADC, a resistor input scaler that allows various input ranges, an internal conversion clock, error correction circuits, and both serial and parallel system interface ports. The AD7665 is hardware factory-calibrated and is comprehensively tested to ensure such ac parameters as signal-to-noise ratio (SNR) and total harmonic distortion (THD), in addition to the more traditional dc parameters of gain, offset, and linearity. It features a very high sampling rate mode (Warp), a fast mode (Normal) for asynchronous conversion rate applications, and for low power applications, a reduced power mode (Impulse) where the power is scaled with the throughput. REV. C 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. 16-Bit, 570 kSPS CMOS ADC AD7665 FUNCTIONAL BLOCK DIAGRAM AVDD AGND REF REFGND IND(4R) INC(4R) INB(2R) INA(R) 4R DVDD DGND AD7665 4R 2R OVDD SERIAL PORT R SWITCHED CAP DAC INGND OGND SER/PAR BUSY PARALLEL 16 INTERFACE CLOCK PD RESET D[15:0] CS RD CONTROL LOGIC AND CALIBRATION CIRCUITRY OB/2C BYTESWAP WARP IMPULSE CNVST PulSAR Selection Type/kSPS 100–250 500–570 Pseudo Differential AD7660 AD7650 AD7664 True Bipolar AD7663 AD7665 AD7671 True Differential AD7675 AD7676 AD7677 18-Bit AD7678 AD7673 AD7674 AD7654 AD7655 Simultaneous/ Multichannel 800–1000 It is fabricated using Analog Devices’ high performance, 0.6 micron CMOS process and is available in a 48-lead LQFP and a tiny 48-lead LFCSP with operation specified from –40°C to +85°C. PRODUCT HIGHLIGHTS 1. Fast Throughput The AD7665 is a very high speed (570 kSPS in Warp Mode and 500 kSPS in Normal Mode), charge redistribution, 16-bit SAR ADC. 2. Single-Supply Operation The AD7665 operates from a single 5 V supply, dissipates only 64 mW typical, even lower when a reduced throughput is used with the reduced power mode (Impulse) and a powerdown mode. 3. Superior INL The AD7665 has a maximum integral nonlinearity of 2.5 LSB with no missing 16-bit code. 4. Serial or Parallel Interface Versatile parallel (8 bits or 16 bits) or 2-wire serial interface arrangement compatible with both 3 V or 5 V logic. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 www.analog.com Fax: 781/461-3113 © 2011 Analog Devices, Inc. All rights reserved. AD7665–SPECIFICATIONS (–40C to +85C, AVDD = DVDD = 5 V, OVDD = 2.7 V to 5.25 V, unless otherwise noted.) Parameter Conditions Min RESOLUTION ANALOG INPUT Voltage Range Common-Mode Input Voltage Analog Input CMRR Input Impedance THROUGHPUT SPEED Complete Cycle Throughput Rate Time between Conversions Complete Cycle Throughput Rate Complete Cycle Throughput Rate DC ACCURACY Integral Linearity Error No Missing Codes Transition Noise Bipolar Zero Error2, TMIN to TMAX Bipolar Full-Scale Error2, TMIN to TMAX Unipolar Zero Error2, TMIN to TMAX Unipolar Full-Scale Error 2, TMIN to TMAX Power Supply Sensitivity AC ACCURACY Signal-to-Noise Spurious-Free Dynamic Range Total Harmonic Distortion Signal-to-(Noise+Distortion) VIND – VINGND VINGND fIN = 180 kHz In Warp Mode In Warp Mode In Warp Mode In Normal Mode In Normal Mode In Impulse Mode In Impulse Mode ±4 REF, 0 V to 4 REF, ±2 REF (See Table I) –0.1 +0.5 62 See Table I V dB 0 0 –2.5 16 1.75 570 1 2 500 2.25 444 µs kSPS ms µs kSPS µs kSPS +2.5 LSB1 Bits LSB LSB 0.7 ±5 V Range, Normal or Impulse Modes Other Range or Mode –25 +25 –0.06 –0.25 –0.18 –0.38 +0.06 +0.25 +0.18 +0.38 AVDD = 5 V ±5% fIN = 10 kHz fIN = 180 kHz fIN = 180 kHz fIN = 180 kHz fIN = 10 kHz fIN = 180 kHz, –60 dB Input Full-Scale Step REFERENCE External Reference Voltage Range External Reference Current Drain 570 kSPS Throughput 89 88.5 ±9.5 % of FSR % of FSR % of FSR % of FSR LSB 90 90 100 –100 90 30 3.6 dB3 dB dB dB dB dB MHz 2 5 ns ps rms µs 1 2.3 DIGITAL INPUTS Logic Levels VIL VIH IIL IIH 2.5 114 –0.3 +2.0 –1 –1 DIGITAL OUTPUTS Data Format Pipeline Delay ISINK = 1.6 mA ISOURCE = –570 µA Unit Bits –3 dB Input Bandwidth POWER SUPPLIES Specified Performance AVDD DVDD OVDD Operating Current5 AVDD DVDD6 OVDD6 Max 16 1 SAMPLING DYNAMICS Aperture Delay Aperture Jitter Transient Response VOL VOH Typ AVDD – 1.85 V µA +0.8 DVDD + 0.3 +1 +1 V V µA µA Parallel or Serial 16-Bit Conversion Results Available Immediately after Completed Conversion 0.4 OVDD – 0.6 V V 4.75 4.75 2.7 V V V 5 5 5.25 5.25 5.254 570 kSPS Throughput 14 4.5 20 –2– mA mA µA REV. C AD7665 Parameter Conditions POWER SUPPLIES (Continued) Power Dissipation6, 7 Min 444 kSPS Throughput8 100 SPS Throughput8 570 kSPS Throughput5 Typ Max Unit 64 15 93 74 107 7 mW µW mW µW +85 °C In Power-Down Mode 9 TEMPERATURE RANGE 10 Specified Performance TMIN to TMAX –40 NOTES 1 LSB means least significant bit. With the ±5 V input range, one LSB is 152.588 µV. 2 See Definition of Specifications section. These specifications do not include the error contribution from the external reference. 3 All specifications in dB are referred to a full-scale input FS. Tested with an input signal at 0.5 dB below full scale, unless otherwise specified. 4 The max should be the minimum of 5.25 V and DVDD + 0.3 V. 5 In Warp Mode. 6 Tested in Parallel Reading Mode. 7 Tested with the 0 V to 5 V range and V IN – VINGND = 0 V. See Power Dissipation section. 8 In Impulse Mode. 9 With OVDD below DVDD + 0.3 V and all digital inputs forced to DVDD or DGND, respectively. 10 Contact factory for extended temperature range. Specifications subject to change without notice. Table I. Analog Input Configuration Input Voltage Range IND(4R) INC(4R) INB(2R) INA(R) Input Impedance1 ±4 REF2 ±2 REF ±REF 0 V to 4 REF 0 V to 2 REF 0 V to REF VIN VIN VIN VIN VIN VIN INGND VIN VIN VIN VIN VIN INGND INGND VIN INGND VIN VIN REF REF REF INGND INGND VIN 5.85 kW 3.41 kW 2.56 kW 3.41 kW 2.56 kW Note 3 NOTES 1 Typical analog input impedance. 2 With REF = 3 V, in this range, the input should be limited to –11 V to +12 V. 3 For this range the input is high impedance. TIMING SPECIFICATIONS (–40C to +85C, AVDD = DVDD = 5 V, OVDD = 2.7 V to 5.25 V, unless otherwise noted.) Parameter Refer to Figures 11 and 12 Convert Pulsewidth Time between Conversions (Warp Mode/Normal Mode/Impulse Mode) CNVST LOW to BUSY HIGH Delay BUSY HIGH All Modes Except in Master Serial Read after Convert Mode (Warp Mode/Normal Mode/Impulse Mode) Aperture Delay End of Conversion to BUSY LOW Delay Conversion Time (Warp Mode/Normal Mode/Impulse Mode) Acquisition Time RESET Pulsewidth Refer to Figures 13, 14, 15, and 16 (Parallel Interface Modes) CNVST LOW to DATA Valid Delay (Warp Mode/Normal Mode/Impulse Mode) DATA Valid to BUSY LOW Delay Bus Access Request to DATA Valid Bus Relinquish Time REV. C Symbol Min t1 t2 5 1.75/2/2.25 Typ t3 t4 t5 t6 t7 t8 t9 –3– Unit Note 1 ns µs 30 0.75/1/1.25 ns µs 0.75/1/1.25 ns ns µs µs ns 0.75/1/1.25 µs 40 15 ns ns ns 2 10 1 10 t10 t11 t12 t13 Max 20 5 AD7665 TIMING SPECIFICATIONS (continued) Symbol Parameter Refer to Figures 17 and 18 (Master Serial Interface Modes)2 CS LOW to SYNC Valid Delay CS LOW to Internal SCLK Valid Delay CS LOW to SDOUT Delay CNVST LOW to SYNC Delay (Read during Convert) (Warp Mode/Normal Mode/Impulse Mode) SYNC Asserted to SCLK First Edge Delay3 Internal SCLK Period3 Internal SCLK HIGH3 Internal SCLK LOW3 SDOUT Valid Setup Time3 SDOUT Valid Hold Time3 SCLK Last Edge to SYNC Delay3 CS HIGH to SYNC HI-Z CS HIGH to Internal SCLK HI-Z CS HIGH to SDOUT HI-Z BUSY HIGH in Master Serial Read after Convert3 CNVST LOW to SYNC Asserted Delay (Warp Mode/Normal Mode/Impulse Mode) Master Serial Read after Convert SYNC Deasserted to BUSY LOW Delay Refer to Figures 19 and 21 (Slave Serial Interface Modes) External SCLK Setup Time External SCLK Active Edge to SDOUT Delay SDIN Setup Time SDIN Hold Time External SCLK Period External SCLK HIGH External SCLK LOW Min Typ t14 t15 t16 t17 Max Unit 10 10 10 ns ns ns ns 25/275/525 t18 t19 t20 t21 t22 t23 t24 t25 t26 t27 t28 t29 4 25 15 9.5 4.5 2 3 ns ns ns ns ns ns 40 10 10 10 t30 See Table II 0.75/1/1.25 ns ns ns µs µs 25 ns 5 3 5 5 25 10 10 t31 t32 t33 t34 t35 t36 t37 ns ns ns ns ns ns ns 16 NOTES 1 In Warp Mode only, the maximum time between conversions is 1 ms, otherwise, there is no required maximum time. 2 In Serial Interface Modes, the SYNC, SCLK, and SDOUT timings are defined with a maximum load C L of 10 pF; otherwise, the load is 60 pF maximum. 3 In Serial Master Read During Convert Mode. See Table II for Master Read after Convert Mode. Specifications subject to change without notice. Table II. Serial Clock Timings in Master Read after Convert DIVSCLK[1] DIVSCLK[0] SYNC to SCLK First Edge Delay Minimum Internal SCLK Period Minimum Internal SCLK Period Maximum Internal SCLK HIGH Minimum Internal SCLK LOW Minimum SDOUT Valid Setup Time Minimum SDOUT Valid Hold Time Minimum SCLK Last Edge to SYNC Delay Minimum BUSY HIGH Width Maximum (Warp) BUSY HIGH Width Maximum (Normal) BUSY HIGH Width Maximum (Impulse) t18 t19 t19 t20 t21 t22 t23 t24 t28 t28 t28 0 0 0 1 1 0 1 1 Unit 4 25 40 15 9.5 4.5 2 3 1.5 1.75 2 20 50 70 25 24 22 4 60 2 2.25 2.5 20 100 140 50 49 22 30 140 3 3.25 3.5 20 200 280 100 99 22 90 300 5.25 5.5 5.75 ns ns ns ns ns ns ns ns µs µs µs –4– REV. C AD7665 ABSOLUTE MAXIMUM RATINGS 1 OB/2C 5 WARP 6 REFGND REF PD 33 RESET CS RD DGND 29 BUSY 30 28 27 D2/DIVSCLK[0] 11 D3/DIVSCLK[1] 12 26 25 D15 D14 D13 D12 D11/RDERROR D9/SCLK D10/SYNC DVDD DGND D8/SDOUT OVDD D7/RDC/SDIN OGND 13 14 15 16 17 18 19 20 21 22 23 24 D4/EXT/INT D5/INVSYNC D6/INVSCLK NC = NO CONNECT 34 31 TOP VIEW (Not to Scale) SER/PAR 8 D0 9 D1 10 AGND CNVST 32 AD7665 IMPULSE 7 35 36 PIN 1 IDENTIFIER NC 3 BYTESWAP 4 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 See Analog Inputs section. 3 Specification is for device in free air: 48-Lead LQFP: qJA = 91°C/W, qJC = 30°C/W. 4 Specification is for device in free air: 48-Lead LFCSP: qJC = 26°C/W. TO OUTPUT PIN INGND NC NC NC NC 48 47 46 45 44 43 42 41 40 39 38 37 AGND 1 AVDD 2 1 1.6mA NC IND(4R) INC(4R) INB(2R) INA(R) PIN CONFIGURATION ST-48 and CP-48 Analog Inputs IND2, INC2, INB2 . . . . . . . . . . . . . . . . . . . . –11 V to +30 V INA, REF, INGND, REFGND . . . . . . . . . . . . . . . . . . . . . AGND – 0.3 V to AVDD + 0.3 V Ground Voltage Differences AGND, DGND, OGND . . . . . . . . . . . . . . . . . . . . . ±0.3 V Supply Voltages AVDD, DVDD, OVDD . . . . . . . . . . . . . . . . –0.3 V to + 7 V AVDD to DVDD, AVDD to OVDD . . . . . . . . . . . . . . ±7 V DVDD to OVDD . . . . . . . . . . . . . . . . . . . . . –0.3 V to + 7 V Digital Inputs . . . . . . . . . . . . . . . . –0.3 V to DVDD + 0.3 V Internal Power Dissipation3 . . . . . . . . . . . . . . . . . . . . 700 mW Internal Power Dissipation4 . . . . . . . . . . . . . . . . . . . . . . 2.5 W Junction Temperature . . . . . . . . . . . . . . . . . . . . . . . . . . 150°C Storage Temperature Range . . . . . . . . . . . . –65°C to +150°C Lead Temperature Range (Soldering 10 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . . 300°C The exposed paddle should be connected to GND. IOL 1.4V CL 60pF* 500A IOH 2V 0.8V tDELAY *IN SERIAL INTERFACE MODES, THE SYNC, SCLK, AND SDOUT TIMINGS ARE DEFINED WITH A MAXIMUM LOAD CL OF 10pF; OTHERWISE, THE LOAD IS 60pF MAXIMUM. tDELAY 2V 0.8V Figure 2. Voltage Reference Levels for Timing Figure 1. Load Circuit for Digital Interface Timing, SDOUT, SYNC, SCLK Outputs, CL = 10 pF 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 AD7665 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. C 2V 0.8V –5– AD7665 PIN FUNCTION DESCRIPTION Pin No. Mnemonic Type Description 1 2 3, 44–48 4 AGND AVDD NC BYTESWAP P P 5 OB/2C DI 6 WARP DI 7 IMPULSE DI 8 SER/PAR DI 9, 10 D[0:1] DO 11, 12 D[2:3] or DI/O Analog Power Ground Pin. Input Analog Power Pin. Nominally 5 V. No Connect. Parallel Mode Selection (8/16 Bit). When LOW, the LSB is output on D[7:0] and the MSB is output on D[15:8]. When HIGH, the LSB is output on D[15:8] and the MSB is output on D[7:0]. Straight Binary/Binary Twos Complement. When OB/2C is HIGH, the digital output is straight binary; when LOW, the MSB is inverted, resulting in a twos complement output from its internal shift register. Mode Selection. When HIGH and IMPULSE LOW, this input selects the fastest mode, the maximum throughput is achievable, and a minimum conversion rate must be applied in order to guarantee full specified accuracy. When LOW, full accuracy is maintained independent of the minimum conversion rate. Mode Selection. When HIGH and WARP LOW, this input selects a reduced Power Mode. In this mode, the power dissipation is approximately proportional to the sampling rate. Serial/Parallel Selection Input. When LOW, the Parallel Port is selected; when HIGH, the Serial Interface Mode is selected and some bits of the data bus are used as a Serial Port. Bit 0 and Bit 1 of the Parallel Port Data Output Bus. When SER/PAR is HIGH, these outputs are in high impedance. When SER/PAR is LOW, these outputs are used as Bit 2 and Bit 3 of the Parallel Port Data Output Bus. When SER/PAR is HIGH, EXT/INT is LOW and RDC/SDIN is LOW, which is the Serial Master Read after Convert Mode. These inputs, part of the Serial Port, are used to slow down, if desired, the internal serial clock that clocks the data output. In the other serial modes, these pins are high impedance outputs. When SER/PAR is LOW, this output is used as Bit 4 of the Parallel Port Data Output Bus. When SER/PAR is HIGH, this input, part of the Serial Port, is used as a digital select input for choosing the internal or an external data clock, called respectively, Master and Slave Modes. With EXT/INT tied LOW, the internal clock is selected on SCLK output. With EXT/INT set to a logic HIGH, output data is synchronized to an external clock signal connected to the SCLK input and the external clock is gated by CS. When SER/PAR is LOW, this output is used as Bit 5 of the Parallel Port Data Output Bus. When SER/PAR is HIGH, this input, part of the Serial Port, is used to select the active state of the SYNC signal. When LOW, SYNC is active HIGH. When HIGH, SYNC is active LOW. When SER/PAR is LOW, this output is used as Bit 6 of the Parallel Port Data Output Bus. DIVSCLK[0:1] 13 D[4] or EXT/INT DI/O 14 D[5] or INVSYNC DI/O 15 D[6] DI/O or INVSCLK 16 D[7] When SER/PAR is HIGH, this input, part of the Serial Port, is used to invert the SCLK signal. It is active in both master and slave mode. DI/O or RDC/SDIN When SER/PAR is LOW, this output is used as Bit 7 of the Parallel Port Data Output Bus. When SER/PAR is HIGH, this input, part of the Serial Port, is used as either an external data input or a read mode selection input, depending on the state of EXT/INT. When EXT/INT is HIGH, RDC/SDIN could be used as a data input to daisy-chain the conversion results from two or more ADCs onto a single SDOUT line. The digital data level on SDIN is output on DATA with a delay of 16 SCLK periods after the initiation of the read sequence. When EXT/INT is LOW, RDC/SDIN is used to select the Read Mode. When RDC/SDIN is HIGH, the previous data is output on SDOUT during conversion. When RDC/SDIN is LOW, the data can be output on SDOUT only when the conversion is complete. 17 OGND P Input/Output Interface Digital Power Ground. 18 OVDD P 19 20 DVDD DGND P P Input/Output Interface Digital Power. Nominally at the same supply as the supply of the host interface (5 V or 3 V). Digital Power. Nominally at 5 V. Digital Power Ground. –6– REV. C AD7665 PIN FUNCTION DESCRIPTION (continued) Pin No. Mnemonic Type Description 21 D[8] or SDOUT DO When SER/PAR is LOW, this output is used as Bit 8 of the Parallel Port Data Output Bus. When SER/PAR is HIGH, this output, part of the Serial Port, is used as a serial data output synchronized to SCLK. Conversion results are stored in an on-chip register. The AD7665 provides the conversion result, MSB first, from its internal shift register. The data format is determined by the logic level of OB/2C. In Serial Mode, when EXT/INT is LOW, SDOUT is valid on both edges of SCLK. In serial mode, when EXT/INT is HIGH: If INVSCLK is LOW, SDOUT is updated on the SCLK rising edge and valid on the next falling edge. If INVSCLK is HIGH, SDOUT is updated on the SCLK falling edge and valid on the next rising edge. 22 D[9] or SCLK DI/O 23 D[10] or SYNC DO 24 D[11] or RDERROR DO 25–28 D[12:15] DO 29 BUSY DO 30 31 32 DGND RD CS P DI DI 33 RESET DI 34 PD DI 35 CNVST DI 36 37 38 39 40, 41, 42, 43 AGND REF REFGND INGND INA, INB, INC, IND P AI AI AI AI When SER/PAR is LOW, this output is used as Bit 9 of the Parallel Port Data Output Bus. When SER/PAR is HIGH, this pin, part of the Serial Port, is used as a serial data clock input or output, dependent upon the logic state of the EXT/INT pin. The active edge where the data SDOUT is updated depends upon the logic state of the INVSCLK pin. When SER/PAR is LOW, this output is used as Bit 10 of the Parallel Port Data Output Bus. When SER/PAR is HIGH, this output, part of the Serial Port, is used as a digital output frame synchronization for use with the internal data clock (EXT/INT = Logic LOW). When a read sequence is initiated and INVSYNC is LOW, SYNC is driven HIGH and remains HIGH while SDOUT output is valid. When a read sequence is initiated and INVSYNC is HIGH, SYNC is driven LOW and remains LOW while SDOUT output is valid. When SER/PAR is LOW, this output is used as Bit 11 of the Parallel Port Data Output Bus. When SER/PAR is HIGH and EXT/INT is HIGH, this output, part of the Serial Port, is used as an incomplete read error flag. In Slave Mode, when a data read is started and not complete when the following conversion is complete, the current data is lost and RDERROR is pulsed HIGH. Bit 12 to Bit 15 of the Parallel Port Data Output Bus. When SER/PAR is HIGH, these outputs are in high impedance. Busy Output. Transitions HIGH when a conversion is started and remains HIGH until the conversion is complete and the data is latched into the on-chip shift register. The falling edge of BUSY could be used as a data-ready clock signal. Must Be Tied to Digital Ground. Read Data. When CS and RD are both LOW, the Interface Parallel or Serial Output Bus is enabled. Chip Select. When CS and RD are both LOW, the Interface Parallel or Serial Output Bus is enabled. CS is also used to gate the external serial clock. Reset Input. When set to a logic HIGH, reset the AD7665. Current conversion, if any, is aborted. If not used, this pin could be tied to DGND. Power-Down Input. When set to a logic HIGH, power consumption is reduced and conversions are inhibited after the current one is completed. Start Conversion. A falling edge on CNVST puts the internal sample-and-hold into the hold state and initiates a conversion. In Impulse Mode (IMPULSE HIGH and WARP LOW), if CNVST is held LOW when the acquisition phase (t8) is complete, the internal sample-and-hold is put into the hold state and a conversion is immediately started. Must Be Tied to Analog Ground. Reference Input Voltage. Reference Input Analog Ground. Analog Input Ground. Analog Inputs. Refer to Table I for input range configuration. NOTES AI = Analog Input DI = Digital Input DI/O = Bidirectional Digital DO = Digital Output P = Power REV. C –7– AD7665 DEFINITION OF SPECIFICATIONS Internal Nonlinearity Error (INL) Effective Number of Bits (ENOB) A measurement of the resolution with a sine wave input. It is related to S/(N+D) by the following formula: Linearity error refers to the deviation of each individual code from a line drawn from “negative full scale” through “positive full scale.” The point used as negative full scale occurs 1/2 LSB before the first code transition. Positive full scale is defined as a level 1 1/2 LSB beyond the last code transition. The deviation is measured from the middle of each code to the true straight line. ( ) ENOB = S [ N + D ]dB - 1.76) 6.02 and is expressed in bits. Total Harmonic Distortion (THD) Differential Nonlinearity Error (DNL) In an ideal ADC, code transitions are 1 LSB apart. Differential nonlinearity is the maximum deviation from this ideal value. It is often specified in terms of resolution for which no missing codes are guaranteed. Full-Scale Error The last transition (from 011 . . . 10 to 011 . . . 11 in twos complement coding) should occur for an analog voltage 1 1/2 LSB below the nominal full scale (2.499886 V for the ±2.5 V range). The full-scale error is the deviation of the actual level of the last transition from the ideal level. The rms sum of the first five harmonic components to the rms value of a full-scale input signal, expressed in decibels. Signal-To-Noise Ratio (SNR) The ratio of the rms value of the actual input signal to the rms sum of all other spectral components below the Nyquist frequency, excluding harmonics and dc. The value for SNR is expressed in decibels. Signal To (Noise + Distortion) Ratio (S/[N+D]) The ratio of the rms value of the actual input signal to the rms sum of all other spectral components below the Nyquist frequency, including harmonics but excluding dc. The value for S/(N+D) is expressed in decibels. Bipolar Zero Error The difference between the ideal midscale input voltage (0 V) and the actual voltage producing the midscale output code. Unipolar Zero Error In Unipolar Mode, the first transition should occur at a level 1/2 LSB above analog ground. The unipolar zero error is the deviation of the actual transition from that point. Aperture Delay A measure of the acquisition performance measured from the falling edge of the CNVST input to when the input signal is held for a conversion. Transient Response The time required for the AD7665 to achieve its rated accuracy after a full-scale step function is applied to its input. Spurious-Free Dynamic Range (SFDR) The difference, in decibels (dB), between the rms amplitude of the input signal and the peak spurious signal. –8– REV. C Typical Performance Characteristics–AD7665 80 70 NUMBER OF UNITS 60 50 40 30 20 10 0 –3.0 –2.7 –2.4 –2.1 –1.8 –1.5 –1.2 –0.9 –0.6 –0.3 NEGATIVE INL – LSB TPC 4. Typical Negative INL Distribution (446 Units) TPC 1. Integral Nonlinearity vs. Code 8000 7337 7204 7000 6000 COUNTS 5000 4000 3000 2000 932 1000 0 0 0 870 19 22 0 0 7FFD 7FFE 7FFF 8000 8001 8002 8003 8004 8005 8005 CODE IN HEXA TPC 2. Differential Nonlinearity vs. Code TPC 5. Histogram of 16,384 Conversions of a DC Input at the Code Transition 70 10000 9468 9000 60 7000 40 COUNTS NUMBER OF UNITS 8000 50 30 6000 5000 4000 3310 3259 3000 20 2000 10 1000 0 0 0.3 0.6 0.9 1.2 1.5 1.8 2.1 2.4 2.7 0 3.0 POSITIVE INL – LSB 0 1 214 131 1 0 0 CODE IN HEXA TPC 3. Typical Positive INL Distribution (446 Units) REV. C 0 7FFC 7FFD 7FFE 7FFF 8000 8001 8002 8003 8004 8005 8006 TPC 6. Histogram of 16,384 Conversions of a DC Input at the Code Center –9– AD7665 –0 –40 93 –100 SNR – dB –60 –80 –100 THD THD – dB –20 AMPLITUDE – dB OF FULL SCALE –98 96 4096 POINT FFT FS = 571kHz fIN = 45kHz, –0.5dB SNR = 90.1 dB SINAD = 89.7dB THD = –100.1dB SFDR = 102.3dB 90 SNR –120 –102 87 –140 –160 –180 57 114 171 228 84 –55 285 –35 –15 5 25 45 65 85 105 –104 125 TEMPERATURE – C FREQUENCY – kHz TPC 7. FFT Plot TPC 10. SNR, THD vs. Temperature 100 16.0 95 15.5 110 –60 THD, HARMONICS – dB SNR 90 15.0 SINAD 85 14.5 80 14.0 ENOB 75 13.5 70 13.0 1000 105 SFDR –70 ENOB – Bits SNR AND S/[N +D] – dB –65 95 –80 90 –85 85 –90 10 100 75 –100 THD –105 70 65 THIRD HARMONIC –115 1 10 60 1000 100 FREQUENCY – kHz FREQUENCY – kHz TPC 11. THD, Harmonics, and SFDR vs. Frequency TPC 8. SNR, S/(N+D), and ENOB vs. Frequency –60 92 –70 –80 THD, HARMONICS – dB SNR – (REFERRED TO FULL SCALE) – dB 80 SECOND HARMONIC –95 –110 1 100 –75 SFDR – dB 0 90 88 –90 –100 SECOND HARMONIC –110 THD –120 –130 THIRD HARMONIC –140 86 –80 –70 –60 –50 –40 –30 –20 –10 –150 –60 0 –50 –40 –30 –20 –10 0 INPUT LEVEL – dB INPUT LEVEL – dB TPC 12. THD, Harmonics vs. Input Level TPC 9. SNR vs. Input Level –10– REV. C AD7665 1000 POWER-DOWN OPERATING CURRENTS – nA 50 t12 DELAY – ns 40 30 20 10 900 800 700 DVDD 600 500 400 300 50 100 150 AVDD 100 0 –55 0 0 OVDD 200 200 –35 –15 5 25 45 TEMPERATURE – C CL – pF TPC 13. Typical Delay vs. Load Capacitance CL 85 105 TPC 15. Power-Down Operating Currents vs. Temperature 100000 10 AVDD, WARP/NORMAL 8 10000 6 DVDD, WARP/NORMAL 1000 4 100 –FS OFFSET 2 AVDD, IMPULSE 10 LSB OPERATING CURRENTS – A 65 DVDD, IMPULSE 0 +FS –2 1 –4 0.1 OVDD, ALL MODES –6 0.01 –8 0.001 –10 1 10 100 1000 10000 100000 1000000 –35 –15 5 25 45 65 85 105 125 TPC 16. +FS, Offset, and –FS vs. Temperature TPC 14. Operating Currents vs. Sample Rate REV. C –55 TEMPERATURE – C SAMPLING RATE – SPS –11– AD7665 IND INC 4R 4R REF REFGND 2R MSB INB 32,768C 16,384C INA LSB 4C 2C C SWITCHES CONTROL SWA C R BUSY CONTROL LOGIC COMP INGND OUTPUT CODE 65,536C SWB CNVST Figure 3. ADC Simplified Schematic CIRCUIT INFORMATION steps (VREF/2, VREF/4 . . . VREF/65,536). The control logic toggles these switches, starting with the MSB first, in order to bring the comparator back into a balanced condition. After the completion of this process, the control logic generates the ADC output code and brings BUSY output LOW. The AD7665 is a fast, low power, single-supply, precise 16-bit analog-to-digital converter (ADC). The AD7665 features different modes to optimize performances according to the applications. In Warp Mode, the AD7665 is capable of converting 570,000 samples per second (570 kSPS). Modes of Operation It is specified to operate with both bipolar and unipolar input ranges by changing the connection of its input resistive scaler. The AD7665 can be operated from a single 5 V supply and be interfaced to either 5 V or 3 V digital logic. It is housed in a 48-lead LQFP package or a 48-lead LFCSP package that combines space savings and flexible configurations as either serial or parallel interface. The AD7665 is a pin-to-pin compatible upgrade of the AD7663 and AD7664. CONVERTER OPERATION The AD7665 is a successive approximation analog-to-digital converter based on a charge redistribution DAC. Figure 3 shows the simplified schematic of the ADC. The input analog signal is first scaled down and level shifted by the internal input resistive scaler, which allows both unipolar ranges (0 V to 2.5 V, 0 V to 5 V, and 0 V to 10 V) and bipolar ranges (±2.5 V, ±5 V, and ±10 V). The output voltage range of the resistive scaler is always 0 V to 2.5 V. The capacitive DAC consists of an array of 16 binary weighted capacitors and an additional “LSB” capacitor. The comparator’s negative input is connected to a “dummy” capacitor of the same value as the capacitive DAC array. During the acquisition phase, the common terminal of the array tied to the comparator’s positive input is connected to AGND via SWA. All independent switches are connected to the output of the resistive scaler. Thus, the capacitor array is used as a sampling capacitor and acquires the analog signal. Similarly, the dummy capacitor acquires the analog signal on INGND input. The AD7665 features three modes of operation, Warp, Normal, and Impulse. Each of these modes is more suitable for specific applications. The Warp Mode allows the fastest conversion rate up to 570 kSPS. However, in this mode and this mode only, the full specified accuracy is guaranteed only when the time between conversion does not exceed 1 ms. If the time between two consecutive conversions is longer than 1 ms, for instance, after power-up, the first conversion result should be ignored. This mode makes the AD7665 ideal for applications where both high accuracy and fast sample rate are required. The Normal Mode is the fastest mode (500 kSPS) without any limitation about the time between conversions. This mode makes the AD7665 ideal for asynchronous applications such as data acquisition systems, where both high accuracy and fast sample rate are required. The Impulse Mode, the lowest power dissipation mode, allows power saving between conversions. The maximum throughput in this mode is 444 kSPS. When operating at 100 SPS, for example, it typically consumes only 15 µW. This feature makes the AD7665 ideal for battery-powered applications. Transfer Functions Using the OB/2C digital input, the AD7665 offers two output codings: straight binary and twos complement. The ideal transfer characteristic for the AD7665 is shown in Figure 4 and Table III. When the acquisition phase is complete, and the CNVST input goes or is LOW, a conversion phase is initiated. When the conversion phase begins, SWA and SWB are opened first. The capacitor array and the dummy capacitor are then disconnected from the inputs and connected to the REFGND input. Therefore, the differential voltage between the output of the resistive scaler and INGND captured at the end of the acquisition phase is applied to the comparator inputs, causing the comparator to become unbalanced. By switching each element of the capacitor array between REFGND or REF, the comparator input varies by binary weighted voltage ADC CODE – Straight Binary The AD7665 provides the user with an on-chip track-and-hold, successive approximation ADC that does not exhibit any pipeline or latency, making it ideal for multiple multiplexed channel applications. 111...111 111...110 111...101 000...010 000...001 000...000 FS FS 1 LSB FS 0.5 LSB FS 1 LSB FS 1.5 LSB ANALOG INPUT Figure 4. ADC Ideal Transfer Function –12– REV. C AD7665 Table III. Output Codes and Ideal Input Voltages Description Digital Output Code (Hexa) Straight Twos Binary Complement Analog Input 1 Full-Scale Range Least Significant Bit FSR – 1 LSB Midscale + 1 LSB Midscale Midscale – 1 LSB –FSR + 1 LSB –FSR ±10 V 305.2 µV 9.999695 V 305.2 µV 0V –305.2 µV –9.999695 V –10 V ±5 V 152.6 µV 4.999847 V 152.6 µV 0V –152.6 µV –4.999847 V –5 V ±2.5 V 76.3 µV 2.499924 V 76.3 µV 0V –76.3 µV –2.499924 V –2.5 V 0 V to 10 V 152.6 µV 9.999847 V 5.000153 V 5V 4.999847 V 152.6 µV 0V 0 V to 5 V 76.3 µV 4.999924 V 2.570076 V 2.5 V 2.499924 V 76.3 µV 0V 0 V to 2.5 V 38.15 µV 2.499962 V 1.257038 V 1.25 V 1.249962 V 38.15 µV 0V FFFF2 8001 8000 7FFF 0001 00003 7FFF2 0001 0000 FFFF 8001 80003 NOTES 1 Values with REF = 2.5 V; with REF = 3 V, all values will scale linearly. 2 This is also the code for an overrange analog input. 3 This is also the code for an underrange analog input. TYPICAL CONNECTION DIAGRAM Figure 5 shows a typical connection diagram for the AD7665. Different circuitry shown on this diagram is optional and is discussed below. DVDD 50 ANALOG SUPPLY (5V) + 10F ADR421 2.5V REF NOTE 1 NOTE 7 100nF AVDD AGND + 100nF 100nF 10F DGND DVDD OVDD DIGITAL SUPPLY (3.3V OR 5V) + 10F OGND SERIAL PORT REF 1M 50k + 100nF SCLK CREF NOTE 2 SDOUT REFGND NOTE 3 BUSY 50 CNVST INA U2 + + 10F 100nF AD7665 AD8031 C/P/DSP D NOTE 8 OB/2C NOTE 4 SER/PAR 50 DVDD WARP CLOCK 15 ANALOG INPUT (10V) IMPULSE NOTE 5 U1 + 2.7nF CS AD8021 NOTE 6 RD IND CC BYTESWAP INGND RESET INB PD INC NOTES 1. SEE VOLTAGE REFERENCE INPUT SECTION. 2. WITH THE RECOMMENDED VOLTAGE REFERENCES, CREF IS 47F. SEE VOLTAGE REFERENCE INPUT SECTION. 3. OPTIONAL CIRCUITRY FOR HARDWARE GAIN CALIBRATION. 4. FOR BIPOLAR RANGE ONLY. SEE SCALER REFERENCE INPUT SECTION. 5. THE AD8021 IS RECOMMENDED. SEE DRIVER AMPLIFIER CHOICE SECTION. 6. WITH 0V TO 2.5V RANGE ONLY. SEE ANALOG INPUTS SECTION. 7. OPTION. SEE POWER SUPPLY SECTION. 8. OPTIONAL LOW JITTER CNVST. SEE CONVERSION CONTROL SECTION. Figure 5. Typical Connection Diagram (±10 V Range Shown) REV. C –13– AD7665 Analog Inputs The AD7665 is specified to operate with six full-scale analog input ranges. Connections required for each of the four analog inputs, IND, INC, INB, and INA, and the resulting full-scale ranges are shown in Table I. The typical input impedance for each analog input range is also shown. Figure 6 shows a simplified analog input section of the AD7665. The four resistors connected to the four analog inputs form a resistive scaler that scales down and shifts the analog input range to a common input range of 0 V to 2.5 V at the input of the switched capacitive ADC. During the acquisition phase for ac signals, the AD7665 behaves like a one-pole RC filter consisting of the equivalent resistance of the resistive scaler R/2 in series with R1 and CS. The resistor R1 is typically 100 W and is a lumped component made up of some serial resistors and the on resistance of the switches. The capacitor CS is typically 60 pF and is mainly the ADC sampling capacitor. This one-pole filter with a typical –3 dB cutoff frequency of 3.6 MHz reduces undesirable aliasing effects and limits the noise coming from the inputs. AVDD 4R IND 4R INC R1 2R INB This analog input structure allows the sampling of the differential signal between the output of the resistive scaler and INGND. Unlike other converters, the INGND input is sampled at the same time as the inputs. By using this differential input, small signals common to both inputs are rejected as shown in Figure 7, which represents the typical CMRR over frequency. For instance, by using INGND to sense a remote signal ground, the difference of ground potentials between the sensor and the local ADC ground is eliminated. R Except when using the 0 V to 2.5 V analog input voltage range, the AD7665 has to be driven by a very low impedance source to avoid gain errors. That can be done by using a driver amplifier whose choice is eased by the primarily resistive analog input circuitry of the AD7665. CS INA R = 1.28k AGND Figure 6. Simplified Analog Input By connecting the four inputs INA, INB, INC, and IND to the input signal itself, the ground, or a 2.5 V reference, other analog input ranges can be obtained. The diodes shown in Figure 6 provide ESD protection for the four analog inputs. The inputs INB, INC, and IND have a high voltage protection (–11 V to +30 V) to allow a wide input voltage range. Care must be taken to ensure that the analog input signal never exceeds the absolute ratings on these inputs, including INA (0 V to 5 V). This will cause these diodes to become forwardbiased and start conducting current. These diodes can handle a forward-biased current of 120 mA maximum. For instance, when using the 0 V to 2.5 V input range, these conditions could eventually occur on the input INA when the input buffer’s (U1) supplies are different from AVDD. In such cases, an input buffer with a short circuit current limitation can be used to protect the part. When using the 0 V to 2.5 V analog input voltage range, the input impedance of the AD7665 is very high so the AD7665 can be driven directly by a low impedance source without gain error. That allows, as shown in Figure 5, putting an external one-pole RC filter between the output of the amplifier output and the ADC analog inputs to even further improve the noise filtering done by the AD7665 analog input circuit. However, the source impedance has to be kept low because it affects the ac performances, especially the total harmonic distortion (THD). The maximum source impedance depends on the amount of total THD that can be tolerated. The THD degradation is a function of the source impedance and the maximum input frequency as shown in Figure 8. –70 –80 R = 100 THD R = 50 75 –90 70 R = 11 CMRR – dB 65 –100 60 –110 55 0 50 100 FREQUENCY – kHz 1000 Figure 8. THD vs. Analog Input Frequency and Input Resistance (0 V to 2.5 V Only) 45 40 35 1 10 100 FREQUENCY – kHz 1000 10000 Figure 7. Analog Input CMRR vs. Frequency –14– REV. C AD7665 Driver Amplifier Choice Voltage Reference Input Although the AD7665 is easy to drive, the driver amplifier needs to meet at least the following requirements: The AD7665 uses an external 2.5 V voltage reference. ∑ The driver amplifier and the AD7665 analog input circuit must be able, together, to settle for a full-scale step the capacitor array at a 16-bit level (0.0015%). In the amplifier’s data sheet, the settling at 0.1% to 0.01% is more commonly specified. It could significantly differ from the settling time at a 16-bit level and it should therefore be verified prior to the driver selection. The tiny op amp AD8021, which combines ultralow noise and a high gain bandwidth, meets this settling time requirement even when used with a high gain up to 13. ∑ The noise generated by the driver amplifier needs to be kept as low as possible in order to preserve the SNR and transition noise performance of the AD7665. The noise coming from the driver is first scaled down by the resistive scaler according to the analog input voltage range used and is then filtered by the AD7665 analog input circuit one-pole, low-pass filter made by (R/2 + R1) and CS. The SNR degradation due to the amplifier is SNRLOSS ˆ Ê Á ˜ Á ˜ 28 = 20 log Á 2 ˜ Ê 2.5 N eN ˆ ˜ Á 784 + p f ˜ –3 dB Á Á 2 Ë FSR ¯ ˜¯ Ë where: f–3 dB is the –3 dB input bandwidth in MHz of the AD7665 (3.6 MHz) or the cutoff frequency of the input filter if any used (0 V to 2.5 V range). N is the noise factor of the amplifier (1 if in buffer configuration). eN is the equivalent input noise voltage of the op amp in nV/Hz1/2. FSR is the full-scale span (i.e., 5 V for ±2.5 V range). For instance, when using the 0 V to 2.5 V range, a driver like the AD8021, with an equivalent input noise of 2 nV/÷Hz and configured as a buffer, thus with a noise gain of 1, the SNR degrades by only 0.12 dB. ∑ The driver needs to have a THD performance suitable to that of the AD7665. TPC 11 gives the THD versus frequency that the driver should preferably exceed. The AD8021 meets these requirements and is usually appropriate for almost all applications. The AD8021 needs an external compensation capacitor of 10 pF. This capacitor should have good linearity as an NPO ceramic or mica type. The AD8022 could also be used where a dual version is needed and a gain of 1 is used. The AD829 is another alternative where high frequency (above 100 kHz) performance is not required. In a gain of 1, it requires an 82 pF compensation capacitor. The voltage reference input REF of the AD7665 has a dynamic input impedance; it should therefore be driven by a low impedance source with an efficient decoupling between REF and REFGND inputs. This decoupling depends on the choice of the voltage reference but usually consists of a 1 µF ceramic capacitor and a low ESR tantalum capacitor connected to the REF and REFGND inputs with minimum parasitic inductance. 47 µF is an appropriate value for the tantalum capacitor when used with one of the recommended reference voltages: ∑ The low noise, low temperature drift ADR421 and AD780 voltage references ∑ The low power ADR291 voltage reference ∑ The low cost AD1582 voltage reference For applications using multiple AD7665s, it is more effective to buffer the reference voltage with a low noise, very stable op amp like the AD8031. Care should also be taken with the reference temperature coefficient of the voltage reference that directly affects the full-scale accuracy if this parameter matters. For instance, a ±15 ppm/°C tempco of the reference changes the full scale by ±1 LSB/°C. Note that VREF , as mentioned in the Specification tables, could be increased to AVDD – 1.85 V. The benefit here is the increased SNR obtained as a result of this increase. Since the input range is defined in terms of VREF, this would essentially increase the ±REF range from ±2.5 V to ±3 V and so on with an AVDD above 4.85 V. The theoretical improvement as a result of this increase in reference is 1.58 dB (20 log [3/2.5]). Due to the theoretical quantization noise, however, the observed improvement is approximately 1 dB. The AD780 can be selected with a 3 V reference voltage. Scaler Reference Input (Bipolar Input Ranges) When using the AD7665 with bipolar input ranges, the connection diagram in Figure 5 shows a reference buffer amplifier. This buffer amplifier is required to isolate the REF pin from the signal dependent current in the INx pin. A high speed op amp such as the AD8031 can be used with a single 5 V power supply without degrading the performance of the AD7665. The buffer must have good settling characteristics and provide low total noise within the input bandwidth of the AD7665. Power Supply The AD7665 uses three sets of power supply pins: an analog 5 V supply AVDD, a digital 5 V core supply DVDD, and a digital input/output interface supply OVDD. The OVDD supply allows direct interface with any logic working between 2.7 V and DVDD + 0.3 V. To reduce the number of supplies needed, the digital core (DVDD) can be supplied through a simple RC filter from the analog supply as shown in Figure 5. The AD7665 is independent of power supply sequencing, once OVDD does not exceed DVDD by more than 0.3 V, and thus free from supply voltage induced latch-up. Additionally, it is very insensitive to power supply variations over a wide frequency range as shown in Figure 9. The AD8610 is another option where low bias current is needed in low frequency applications. REV. C –15– AD7665 CONVERSION CONTROL 75 Figure 11 shows the detailed timing diagrams of the conversion process. The AD7665 is controlled by the signal CNVST, which initiates conversion. Once initiated, it cannot be restarted or aborted, even by the power-down input PD, until the conversion is complete. The CNVST signal operates independently of CS and RD signals. 70 PSRR – dB 65 60 55 50 t2 t1 45 CNVST 40 35 1 10 100 1000 BUSY FREQUENCY – kHz t4 t3 Figure 9. PSRR vs. Frequency t6 t5 POWER DISSIPATION MODE ACQUIRE In Impulse Mode, the AD7665 automatically reduces its power consumption at the end of each conversion phase. During the acquisition phase, the operating currents are very low, which allows significant power savings when the conversion rate is reduced, as shown in Figure 10. This feature makes the AD7665 ideal for very low power battery applications. t7 POWER DISSIPATION – W 10000 1000 100 IMPULSE 0.1 100 1000 10000 100000 t8 Although CNVST is a digital signal, it should be designed with special care with fast, clean edges, and levels with minimum overshoot and undershoot or ringing. It is a good thing to shield the CNVST trace with ground and also to add a low value serial resistor (i.e., 50 V) termination close to the output of the component that drives this line. 10 10 CONVERT Figure 11. Basic Conversion Timing WARP/NORMAL 1 ACQUIRE In Impulse Mode, conversions can be automatically initiated. If CNVST is held LOW when BUSY is LOW, the AD7665 controls the acquisition phase and then automatically initiates a new conversion. By keeping CNVST LOW, the AD7665 keeps the conversion process running by itself. It should be noted that the analog input has to be settled when BUSY goes LOW. Also, at power-up, CNVST should be brought LOW once to initiate the conversion process. In this mode, the AD7665 could sometimes run slightly faster than the guaranteed limits in the Impulse Mode of 444 kSPS. This feature does not exist in Warp or Normal Modes. 100000 1 CONVERT 1000000 SAMPLING RATE – SPS Figure 10. Power Dissipation vs. Sample Rate This does not take into account the power, if any, dissipated by the input resistive scaler, which depends on the input voltage range used and the analog input voltage even in Power-Down Mode. There is no power dissipated when the 0 V to 2.5 V is used or when both the analog input voltage is 0 V and a unipolar range, 0 V to 5 V or 0 V to 10 V, is used. For applications where the SNR is critical, the CNVST signal should have a very low jitter. To achieve this, some use a dedicated oscillator for CNVST generation, or at least to clock it with a high frequency low jitter clock as shown in Figure 5. It should be noted that the digital interface remains active even during the acquisition phase. To reduce the operating digital supply currents even further, the digital inputs need to be driven close to the power rails (i.e., DVDD and DGND) and OVDD should not exceed DVDD by more than 0.3 V. t9 RESET BUSY DATA BUS t8 CNVST Figure 12. RESET Timing –16– REV. C AD7665 DIGITAL INTERFACE CS = 0 The AD7665 has a versatile digital interface; it can be interfaced with the host system by using either a serial or parallel interface. The serial interface is multiplexed on the parallel data bus. The AD7665 digital interface also accommodates both 3 V or 5 V logic by simply connecting the OVDD supply pin of the AD7665 to the host system interface digital supply. Finally, by using the OB/2C input pin, twos complement and straight binary coding can be used. The two signals CS and RD control the interface. When at least one of these signals is HIGH, the interface outputs are in high impedance. Usually, CS allows the selection of each AD7665 in multicircuit applications and is held LOW in a single AD7665 design. RD is generally used to enable the conversion result on the data bus. CS = RD = 0 t1 CNVST t 10 BUSY BUSY t3 PREVIOUS CONVERSION DATA BUS t 12 t 13 Figure 15. Slave Parallel Data Timing for Reading (Read during Convert) The BYTESWAP pin allows a glueless interface to an 8-bit bus. As shown in Figure 16, the LSB is output on D[7:0] and the MSB is output on D[15:8] when BYTESWAP is LOW. When BYTESWAP is HIGH, the LSB and MSB are swapped and the LSB is output on D[15:8] and the MSB is output on D[7:0]. By connecting BYTESWAP to an address line, the 16 data bits can be read in two bytes on either D[15:8] or D[7:0]. CS t 11 PREVIOUS CONVERSION DATA RD NEW DATA Figure 13. Master Parallel Data Timing for Reading (Continuous Read) BYTE PARALLEL INTERFACE PINS D[15:8] The AD7665 is configured to use the parallel interface when the SER/PAR is held LOW. The data can be read either after each conversion, which is during the next acquisition phase, or during the following conversion as shown in Figures 14 and 15, respectively. When the data is read during the conversion, however, it is recommended that it be read-only during the first half of the conversion phase. That avoids any potential feedthrough between voltage transients on the digital interface and the most critical analog conversion circuitry. CS HI-Z HIGH BYTE HI-Z LOW BYTE HI-Z t13 t12 t12 PINS D[7:0] LOW BYTE HIGH BYTE HI-Z Figure 16. 8-Bit Parallel Interface SERIAL INTERFACE The AD7665 is configured to use the serial interface when the SER/PAR is held HIGH. The AD7665 outputs 16 bits of data, MSB first, on the SDOUT pin. This data is synchronized with the 16 clock pulses provided on the SCLK pin. The output data is valid on both the rising and falling edge of the data clock. MASTER SERIAL INTERFACE Internal Clock RD BUSY CURRENT CONVERSION DATA BUS t 12 t 13 Figure 14. Slave Parallel Data Timing for Reading (Read after Convert) REV. C t4 t4 t3 DATA BUS t1 CNVST, RD The AD7665 is configured to generate and provide the serial data clock SCLK when the EXT/INT pin is held LOW. It also generates a SYNC signal to indicate to the host when the serial data is valid. The serial clock SCLK and the SYNC signal can be inverted if desired. Depending on RDC/SDIN input, the data can be read after each conversion or during conversion. Figures 17 and 18 show the detailed timing diagrams of these two modes. Usually, because the AD7665 is used with a fast throughput, the mode master, read during conversion, is the most recommended Serial Mode when it can be used. –17– AD7665 EXT/INT = 0 CS, RD RDC/SDIN = 0 INVSCLK = INVSYNC = 0 t3 CNVST t 28 BUSY t 30 t 29 t 25 SYNC t 14 t 18 t 19 t 20 t 24 t 21 t 26 1 2 D15 D14 SCLK 3 14 15 16 t 15 t 27 SDOUT X t 16 D2 D1 D0 t 23 t 22 Figure 17. Master Serial Data Timing for Reading (Read after Convert) RDC/SDIN = 1 EXT/INT = 0 CS, RD INVSCLK = INVSYNC = 0 t1 CNVST t3 BUSY t 17 t 25 SYNC t 14 t 19 t 20 t 21 t 15 SCLK 1 t 24 2 3 14 15 t 18 SDOUT X t 16 t 22 t 26 16 t 27 D15 D14 D2 D1 D0 t 23 Figure 18. Master Serial Data Timing for Reading (Read Previous Conversion during Convert) –18– REV. C AD7665 EXT/INT = 1 RD = 0 INVSCLK = 0 CS BUSY t36 SCLK t35 t37 1 2 t31 3 14 15 16 17 18 t32 X SDOUT t16 D15 D14 D13 D1 D0 X15 X14 X14 X13 X1 X0 Y15 Y14 t34 SDIN X15 t33 Figure 19. Slave Serial Data Timing for Reading (Read after Convert) In Read-during-Conversion Mode, the serial clock and data toggle at appropriate instants, which minimizes potential feedthrough between digital activity and the critical conversion decisions. In Read-after-Conversion Mode, it should be noted that unlike in other modes, the signal BUSY returns LOW after the 16 data bits are pulsed out and not at the end of the conversion phase, which results in a longer BUSY width. SLAVE SERIAL INTERFACE External Clock The AD7665 is configured to accept an externally supplied serial data clock on the SCLK pin when the EXT/INT pin is held HIGH. In this mode, several methods can be used to read the data. The external serial clock is gated by CS and the data are output when both CS and RD are LOW. Thus, depending on CS, the data can be read after each conversion or during the following conversion. The external clock can be either a continuous or discontinuous clock. A discontinuous clock can be either normally HIGH or normally LOW when inactive. Figures 19 and 21 show the detailed timing diagrams of these methods. While the AD7665 is performing a bit decision, it is important that voltage transients not occur on digital input/output pins or degradation of the conversion result could occur. This is particularly important during the second half of the conversion phase because the AD7665 provides error correction circuitry that can correct for an improper bit decision made during the first half of the conversion phase. For this reason, it is recommended that when an external clock is being provided, it is a discontinuous clock that is toggling only when BUSY is LOW or, more importantly, that does not transition during the latter half of BUSY HIGH. 16 clock pulses and is valid on both the rising and falling edge of the clock. Among the advantages of this method, the conversion performance is not degraded because there are no voltage transients on the digital interface during the conversion process. Another advantage is to be able to read the data at any speed up to 40 MHz, which accommodates both slow digital host interface and the fastest serial reading. Finally, in this mode only, the AD7665 provides a “daisy-chain” feature using the RDC/SDIN input pin for cascading multiple converters together. This feature is useful for reducing component count and wiring connections when desired as, for instance, in isolated multiconverter applications. An example of the concatenation of two devices is shown in Figure 20. Simultaneous sampling is possible by using a common CNVST signal. It should be noted that the RDC/SDIN input is latched on the opposite edge of SCLK of the one used to shift out the data on SDOUT. Therefore, the MSB of the “upstream” converter just follows the LSB of the “downstream” converter on the next SCLK cycle. BUSY OUT BUSY AD7665 AD7665 #2 (UPSTREAM) #1 (DOWNSTREAM) RDC/SDIN External Discontinuous Clock Data Read after Conversion Though the maximum throughput cannot be achieved using this mode, it is the most recommended of the serial slave modes. Figure 19 shows the detailed timing diagrams of this method. After a conversion is complete, indicated by BUSY returning LOW, the result of this conversion can be read while both CS and RD are LOW. The data is shifted out, MSB first, with REV. C BUSY SDOUT RDC/SDIN SDOUT CNVST CNVST CS CS SCLK SCLK DATA OUT SCLK IN CS IN CNVST IN Figure 20. Two AD7665s in a Daisy-Chain Configuration –19– AD7665 RD = 0 INVSCLK = 0 EXT/INT = 1 CS, RD CNVST BUSY t3 t 35 t 36 t 37 SCLK 1 2 t 31 14 15 16 t 32 X SDOUT 3 D15 D14 D13 D1 D0 t 16 Figure 21. Slave Serial Data Timing for Reading (Read Previous Conversion during Convert) External Clock Data Read during Conversion Figure 21 shows the detailed timing diagrams of this method. During a conversion, while both CS and RD are LOW, the result of the previous conversion can be read. The data is shifted out, MSB first, with 16 clock pulses and is valid on both the rising and falling edge of the clock. The 16 bits have to be read before the current conversion is complete. If that is not done, RDERROR is pulsed HIGH and can be used to interrupt the host interface to prevent incomplete data reading. There is no daisy-chain feature in this mode, and RDC/SDIN input should always be tied either HIGH or LOW. necessary, could be initiated in response to the end-of-conversion signal (BUSY going LOW) using an interrupt line of the microcontroller. The serial peripheral interface (SPI) on the MC68HC11 is configured for Master Mode (MSTR) = 1, Clock Polarity Bit (CPOL) = 0, Clock Phase Bit (CPHA) = 1, and SPI interrupt enable (SPIE) = 1 by writing to the SPI Control Register (SPCR). The IRQ is configured for edge-sensitive-only operation (IRQE = 1 in OPTION register). DVDD AD7665* MC68HC11* SER/PAR To reduce performance degradation due to digital activity, a fast discontinuous clock, at least 25 MHz when Impulse Mode is used or 40 MHz when Normal or Warp Mode is used, is recommended to ensure that all the bits are read during the first half of the conversion phase. It is also possible to begin to read the data after conversion and continue to read the last bits even after a new conversion has been initiated. That allows the use of a slower clock speed like 10 MHz in Impulse Mode, 12 MHz in Normal Mode, and 15 MHz in Warp Mode. EXT/INT CS RD BUSY SDOUT SCLK INVSCLK CNVST IRQ MISO/SDI SCK I/O PORT *ADDITIONAL PINS OMITTED FOR CLARITY Figure 22. Interfacing the AD7665 to SPI Interface MICROPROCESSOR INTERFACING ADSP-21065L in Master Serial Interface The AD7665 is ideally suited for traditional dc measurement applications supporting a microprocessor and ac signal processing applications interfacing to a digital signal processor. The AD7665 is designed to interface with either a parallel 8-bit or 16-bit wide interface or with a general-purpose Serial Port or I/O Ports on a microcontroller. A variety of external buffers can be used with the AD7665 to prevent digital noise from coupling into the ADC. The following sections illustrate the use of the AD7665 with an SPI-equipped microcontroller, the ADSP-21065L and ADSP-218x signal processors. As shown in Figure 23, the AD7665 can be interfaced to the ADSP-21065L using the serial interface in Master Mode without any glue logic required. This mode combines the advantages of reducing the wire connections and the ability to read the data during or after conversion at maximum speed transfer (DIVSCLK[0:1] both low). SPI Interface (MC68HC11) Figure 22 shows an interface diagram between the AD7665 and an SPI-equipped microcontroller, such as the MC68HC11. To accommodate the slower speed of the microcontroller, the AD7665 acts as a slave device and data must be read after conversion. This mode also allows the daisy-chain feature. The convert command could be initiated in response to an internal timer interrupt. The reading of output data, one byte at a time, if The AD7665 is configured for the Internal Clock Mode (EXT/INT LOW) and acts therefore as the master device. The convert command can be generated by either an external low jitter oscillator or, as shown, by a FLAG output of the ADSP-21065L or by a frame output TFS of one Serial Port of the ADSP-21065L that can be used like a timer. The Serial Port on the ADSP21065L is configured for external clock (IRFS = 0), rising edge active (CKRE = 1), external late framed sync signals (IRFS = 0, LAFS = 1, RFSR = 1), and active HIGH (LRFS = 0). The Serial Port of the ADSP-21065L is configured by writing to its receive control register (SRCTL)—see ADSP-2106x SHARC User’s Manual. Because the Serial Port within the ADSP-21065L will –20– REV. C AD7665 be seeing a discontinuous clock, an initial word reading has to be done after the ADSP-21065L has been reset to ensure that the Serial Port is properly synchronized to this clock during each following data read operation. angles to each other. This will reduce the effect of feedthrough through the board. The power supply lines to the AD7665 should use as large a trace as possible to provide low impedance paths and reduce the effect of glitches on the power supply lines. Good decoupling is also important to lower the supplies impedance presented to the AD7665 and to reduce the magnitude of the supply spikes. Decoupling ceramic capacitors, typically 100 nF, should be placed on all of the power supply pins AVDD, DVDD, and OVDD close to and ideally right up against these pins and their corresponding ground pins. Additionally, low ESR 10 µF capacitors should be located in the vicinity of the ADC to further reduce low frequency ripple. DVDD AD7665* ADSP-21065L* SHARC SER/PAR RDC/SDIN RD EXT/INT CS SYNC SDOUT INVSYNC SCLK INVSCLK CNVST RFS DR RCLK The DVDD supply of the AD7665 can be either a separate supply or come from the analog supply, AVDD, or from the digital interface supply, OVDD. When the system digital supply is noisy, or fast switching digital signals are present, it is recommended, if no separate supply is available, to connect the DVDD digital supply to the analog supply AVDD through an RC filter as shown in Figure 5 and to connect the system supply to the interface digital supply OVDD and the remaining digital circuitry. When DVDD is powered from the system supply, it is useful to insert a bead to further reduce high frequency spikes. FLAG OR TFS *ADDITIONAL PINS OMITTED FOR CLARITY Figure 23. Interfacing to the ADSP-21065L Using the Serial Master Mode APPLICATION HINTS Layout The AD7665 has very good immunity to noise on the power supplies as can be seen in Figure 9. However, care should still be taken with regard to grounding layout. The printed circuit board that houses the AD7665 should be designed so the analog and digital sections are separated and confined to certain areas of the board. This facilitates the use of ground planes that can be easily separated. Digital and analog ground planes should be joined in only one place, preferably underneath the AD7665, or at least as close as possible to the AD7665. If the AD7665 is in a system where multiple devices require analog-todigital ground connections, the connection should still be made at one point only, a star ground point that should be established as close as possible to the AD7665. It is recommended to avoid running digital lines under the device as these will couple noise onto the die. The analog ground plane should be allowed to run under the AD7665 to avoid noise coupling. Fast switching signals like CNVST or clocks should be shielded with digital ground to avoid radiating noise to other sections of the board and should never run near analog signal paths. Crossover of digital and analog signals should be avoided. Traces on different but close layers of the board should run at right REV. C The AD7665 has five different ground pins: INGND, REFGND, AGND, DGND, and OGND. INGND is used to sense the analog input signal. REFGND senses the reference voltage and should be a low impedance return to the reference because it carries pulsed currents. AGND is the ground to which most internal ADC analog signals are referenced. This ground must be connected with the least resistance to the analog ground plane. DGND must be tied to the analog or digital ground plane depending on the configuration. OGND is connected to the digital system ground. The layout of the decoupling of the reference voltage is important. The decoupling capacitor should be close to the ADC and connected with short and large traces to minimize parasitic inductances. Evaluating the AD7665 Performance A recommended layout for the AD7665 is outlined in the evaluation board for the AD7665. The evaluation board package includes a fully assembled and tested evaluation board, documentation, and software for controlling the board from a PC via the EvalControl Board. –21– AD7665 OUTLINE DIMENSIONS 0.75 0.60 0.45 9.20 9.00 SQ 8.80 1.60 MAX 37 48 36 1 PIN 1 7.20 7.00 SQ 6.80 TOP VIEW 1.45 1.40 1.35 0.15 0.05 0.20 0.09 7° 3.5° 0° 0.08 COPLANARITY SEATING PLANE (PINS DOWN) 25 12 13 24 0.27 0.22 0.17 VIEW A 0.50 BSC LEAD PITCH 051706-A VIEW A ROTATED 90° CCW COMPLIANT TO JEDEC STANDARDS MS-026-BBC Figure 24. 48-Lead Low Profile Quad Flat Package [LQFP] (ST-48) Dimensions shown in millimeters 7.00 BSC SQ 0.60 MAX 5.25 5.10 SQ 4.95 (BOTTOM VIEW) 25 24 13 12 0.25 MIN 5.50 REF 0.80 MAX 0.65 TYP 0.50 BSC 1 EXPOSED PAD 6.75 BSC SQ 0.50 0.40 0.30 SEATING PLANE 48 0.05 MAX 0.02 NOM COPLANARITY 0.08 0.20 REF FOR PROPER CONNECTION OF THE EXPOSED PAD, REFER TO THE PIN CONFIGURATION AND FUNCTION DESCRIPTIONS SECTION OF THIS DATA SHEET. COMPLIANT TO JEDEC STANDARDS MO-220-VKKD-2 080108-A TOP VIEW 12° MAX PIN 1 INDICATOR 37 36 PIN 1 INDICATOR 1.00 0.85 0.80 0.30 0.23 0.18 0.60 MAX Figure 25.48-Lead Lead Frame Chip Scale Package [LFCSP_VQ] 7 mm × 7 mm Body, Very Thin Quad (CP-48-1) Dimensions shown in millimeters ORDERING GUIDE Model1, 2 AD7665ASTZ AD7665ASTZRL AD7665ACPZ AD7665ACPZRL EVAL-AD7665CBZ 1 2 Temperature Range –40°C to +85°C –40°C to +85°C –40°C to +85°C –40°C to +85°C Package Description 48-Lead LQFP 48-Lead LQFP 48-Lead LFCSP_VQ 48-Lead LFCSP_VQ Evaluation Board Package Option ST-48 ST-48 CP-48-1 CP-48-1 Z = RoHS Compliant Part. The EVAL-AD7665CB can be used as a standalone evaluation board or in conjunction with the EVAL-CONTROL BRD2 for evaluation/demonstration purposes. –22– REV. C AD7665 REVISION HISTORY 2/11—Rev. B to Rev. C Changes to PulSAR Selection Table ............................................... 1 Added EPAD Notation .................................................................... 5 Updated Outline Dimensions ....................................................... 22 Changes to Ordering Guide .......................................................... 22 4/03—Rev. A to Rev. B Changes to PulSAR Selection Table ............................................... 1 Changes to Ordering Guide ............................................................ 5 Changes to Figure 5 ........................................................................ 13 Changes to Outline Dimensions................................................... 22 5/02—Rev. 0 to Rev. A Edits to Features ................................................................................ 1 Edits to General Description........................................................... 1 Chart Added to Product Highlights ............................................... 1 Edits to Specifications ................................................................... 2-3 Edits to Table I .................................................................................. 3 Edits to Absolute Maximum Ratings ............................................. 5 Edits to Ordering Guide .................................................................. 5 Edits to Pin Function Description.................................................. 6 Addition of TPC 16 ........................................................................ 11 Edits to Circuit Information Section ........................................... 12 Edits to Table III ............................................................................. 13 New Voltage Reference Input Section ......................................... 15 Edits to ADSP-21065L in Master Serial Interface Section ........ 20 New ST-48 Package Outline ......................................................... 22 ©2011 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D01846-0-2/11(C) REV. C –23–