16-Bit, 500 kSPS PulSAR® Dual, 2-Channel, Simultaneous Sampling ADC AD7654 Dual, 16-bit, 2-channel simultaneous sampling ADC 16-bit resolution with no missing codes Throughput: 500 kSPS (normal mode) 444 kSPS (impulse mode) INL: ±3.5 LSB max (±0.0053% of full scale) SNR: 89 dB typ @ 100 kHz THD: −100 dB @ +100 kHz Analog input voltage range: 0 V to 5 V No pipeline delay Parallel and serial 5 V/3 V interface SPI®/QSPI™/MICROWIRE™/DSP compatible Single 5 V supply operation Power dissipation: 120 mW typical 2.6 mW @ 10 kSPS Packages: 48-lead low profile quad flat package (LQFP) 48-lead lead frame chip scale package (LFCSP) Low cost APPLICATIONS AC motor control 3-phase power control 4-channel data acquisition Uninterrupted power supplies Communications FUNCTIONAL BLOCK DIAGRAM AVDD AGND INA1 INAN INA2 A0 INB1 INBN INB2 PD REFGND REFx DVDD DGND TRACK/HOLD ×2 OVDD SERIAL PORT 16 MUX MUX SWITCHED CAP DAC D[15:0] SER/PAR EOC MUX BUSY CLOCK PARALLEL INTERFACE CONTROL LOGIC AND CALIBRATION CIRCUITRY RESET OGND CS RD A/B AD7654 BYTESWAP IMPULSE CNVST 03057-001 FEATURES Figure 1. Table 1. PulSAR Selection Type/kSPS Pseudo Differential 100 to 250 AD7660/ AD7661 AD7653 True Bipolar True Differential AD7663 AD7675 18-Bit Multichannel/ Simultaneous AD7678 GENERAL DESCRIPTION PRODUCT HIGHLIGHTS The AD7654 is a low cost, simultaneous sampling, dualchannel, 16-bit, charge redistribution SAR, analog-to-digital converter that operates from a single 5 V power supply. It contains two low noise, wide bandwidth, track-and-hold amplifiers that allow simultaneous sampling, a high speed 16-bit sampling ADC, an internal conversion clock, error correction circuits, and both serial and parallel system interface ports. Each track-and-hold has a multiplexer in front to provide a 4-channel input ADC. The A0 multiplexer control input allows the choice of simultaneously sampling input pairs INA1/INB1 (A0 = low) or INA2/INB2 (A0 = high). The part features a very high sampling rate mode (normal) and, for low power applications, a reduced power mode (impulse) where the power is scaled with the throughput. Operation is specified from −40°C to +85°C. 1. 2. 3. 4. 5. 500 to 570 AD7650/ AD7652 AD7664/ AD7666 AD7665 AD7676 AD7679 AD7654 800 to 1000 AD7667 AD7671 AD7677 AD7674 AD7655 >1000 AD7621 AD7623 AD7641 Simultaneous Sampling. The AD7654 features two sample-and-hold circuits that allow simultaneous sampling. It provides inputs for four channels. Fast Throughput. The AD7654 is a 500 kSPS, charge redistribution, 16-bit SAR ADC with internal error correction circuitry. Superior INL and No Missing Codes. The AD7654 has a maximum integral nonlinearity of 3.5 LSB with no missing 16-bit codes. Single-Supply Operation. The AD7654 operates from a single 5 V supply. In impulse mode, its power dissipation decreases with throughput. Serial or Parallel Interface. Versatile parallel or 2-wire serial interface arrangement is compatible with both 3 V and 5 V logic. Rev. B Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.461.3113 © 2005 Analog Devices, Inc. All rights reserved. AD7654 TABLE OF CONTENTS Features .............................................................................................. 1 Driver Amplifier Choice ........................................................... 16 Applications....................................................................................... 1 Voltage Reference Input ............................................................ 17 Functional Block Diagram .............................................................. 1 Power Supply............................................................................... 17 General Description ......................................................................... 1 Power Dissipation....................................................................... 17 Product Highlights ........................................................................... 1 Conversion Control ................................................................... 18 Specifications..................................................................................... 3 Digital Interface.......................................................................... 18 Timing Specifications .................................................................. 5 Parallel Interface......................................................................... 18 Absolute Maximum Ratings............................................................ 7 Serial Interface ............................................................................ 20 ESD Caution.................................................................................. 7 Master Serial Interface............................................................... 20 Pin Configuration and Function Descriptions............................. 8 Slave Serial Interface .................................................................. 22 Terminology .................................................................................... 11 Microprocessor Interfacing....................................................... 24 Typical Performance Characteristics ........................................... 12 SPI Interface (ADSP-219x) ....................................................... 24 Application Information................................................................ 14 Application Hints ........................................................................... 25 Circuit Information.................................................................... 14 Layout .......................................................................................... 25 Modes of Operation ................................................................... 14 Evaluating the AD7654 Performance ...................................... 25 Transfer Functions...................................................................... 14 Outline Dimensions ....................................................................... 26 Typical Connection Diagram ................................................... 16 Ordering Guide .......................................................................... 27 Analog Inputs.............................................................................. 16 Input Channel Multiplexer........................................................ 16 REVISION HISTORY 11/05—Rev. A to Rev. B Changes to General Description .................................................... 1 Changes to Timing Specifications .................................................. 5 Changes to Figure 16...................................................................... 13 Changes to Figure 18...................................................................... 15 Added Table 8.................................................................................. 17 Changes to Figure 24...................................................................... 19 Changes to Figure 29...................................................................... 21 Updated Outline Dimensions ....................................................... 26 Changes to Ordering Guide .......................................................... 26 11/04—Rev. 0 to Rev. A Changes to Figure 7........................................................................ 12 Changes to Figure 18...................................................................... 15 Changes to Figure 19...................................................................... 16 Changes to Voltage Reference Input Section .............................. 17 Changes to Conversion Control Section..................................... 18 Changes to Digital Interface Section ........................................... 18 Updated Outline Dimensions...................................................... 25 11/02—Revision 0: Initial Version Rev. B | Page 2 of 28 AD7654 SPECIFICATIONS AVDD = DVDD = 5 V, OVDD = 2.7 V to 5.25 V; all specifications TMIN to TMAX, unless otherwise noted. Table 2. Parameter RESOLUTION ANALOG INPUT Voltage Range Common-Mode Input Voltage Analog Input CMRR Input Current Input Impedance 1 THROUGHPUT SPEED Complete Cycle Throughput Rate Complete Cycle Throughput Rate DC ACCURACY Integral Linearity Error 2 No Missing Codes Transition Noise Full-Scale Error 4 Full-Scale Error Drift4 Unipolar Zero Error4 Unipolar Zero Error Drift4 Power Supply Sensitivity AC ACCURACY Signal-to-Noise Spurious-Free Dynamic Range Total Harmonic Distortion Signal-to-Noise and Distortion Channel-to-Channel Isolation −3 dB Input Bandwidth SAMPLING DYNAMICS Aperture Delay Aperture Delay Matching Aperture Jitter Transient Response REFERENCE External Reference Voltage Range External Reference Current Drain DIGITAL INPUTS Logic Levels VIL VIH IIL IIH Conditions Min 16 VINx – VINxN VINxN fIN = 100 kHz 500 kSPS throughput 0 −0.1 In normal mode In normal mode In impulse mode In impulse mode Typ Max Unit Bits 2 VREF +0.5 V V dB μA 2 500 2.25 444 μs kSPS μs kSPS +3.5 ±0.8 0.8 LSB 3 Bits LSB % of FSR ppm/°C % of FSR ppm/°C LSB 90 89 105 −100 90 88.5 30 −92 10 dB 5 dB dB dB dB dB dB dB MHz 2 30 5 ns ps ps rms ns 55 45 0 0 −3.5 16 0.7 ±0.25 ±2 TMIN to TMAX TMIN to TMAX ±0.5 ±0.25 AVDD = 5 V ±5% fIN = 20 kHz fIN = 100 kHz fIN = 100 kHz fIN = 100 kHz fIN = 20 kHz fIN = 100 kHz fIN = 100 kHz, −60 dB Input fIN = 100 kHz 88 87.5 Full-scale step 250 2.3 500 kSPS throughput −0.3 +2.0 −1 −1 Rev. B | Page 3 of 28 2.5 180 AVDD/2 V μA +0.8 DVDD + 0.3 +1 +1 V V μA μA AD7654 Parameter DIGITAL OUTPUTS Data Format 6 Pipeline Delay 7 VOL VOH POWER SUPPLIES Specified Performance AVDD DVDD OVDD Operating Current 9 AVDD DVDD OVDD Power Dissipation TEMPERATURE RANGE 11 Specified Performance Conditions Min ISINK = 1.6 mA ISOURCE = −500 μA OVDD − 0.2 4.75 4.75 2.7 Typ 5 5 Max Unit 0.4 V V 5.25 5.25 5.25 8 V V V 500 kSPS throughput 15.5 8.5 100 120 2.6 114 500 kSPS throughput9 10 kSPS throughput 10 444 kSPS throughput10 TMIN to TMAX −40 1 125 mA mA μA mW mW mW +85 °C 135 See the Analog Inputs section. Linearity is tested using endpoints, not best fit. LSB means least significant bit. Within the 0 V to 5 V input range, one LSB is 76.294 μV. 4 See the Terminology section. These specifications do not include the error contribution from the external reference. 5 All specifications in dB are referred to as full-scale input, FS; tested with an input signal at 0.5 dB below full scale unless otherwise specified. 6 Parallel or serial 16-bit. 7 Conversion results are available immediately after completed conversion. 8 The maximum should be the minimum of 5.25 V and DVDD + 0.3 V. 9 In normal mode; tested in parallel reading mode. 10 In impulse mode; tested in parallel reading mode. 11 Consult sales for extended temperature range. 2 3 Rev. B | Page 4 of 28 AD7654 TIMING SPECIFICATIONS AVDD = DVDD = 5 V, OVDD = 2.7 V to 5.25 V; all specifications TMIN to TMAX, unless otherwise noted. Table 3. Parameter CONVERSION AND RESET (See Figure 22 and Figure 23) Convert Pulse Width Time Between Conversions (Normal Mode/Impulse Mode) CNVST Low to BUSY High Delay BUSY High All Modes Except in Master Serial Read After Convert Mode (Normal Mode/Impulse Mode) Aperture Delay End of Conversions to BUSY Low Delay Conversion Time (Normal Mode/Impulse Mode) Acquisition Time RESET Pulse Width CNVST Low to EOC High Delay EOC High for Channel A Conversion (Normal Mode/Impulse Mode) EOC Low after Channel A Conversion EOC High for Channel B Conversion Channel Selection Setup Time Channel Selection Hold Time PARALLEL INTERFACE MODES (See Figure 24 to Figure 28) CNVST Low to DATA Valid Delay DATA Valid to BUSY Low Delay Bus Access Request to DATA Valid Bus Relinquish Time A/B Low to Data Valid Delay MASTER SERIAL INTERFACE MODES (see Figure 29 and Figure 30) CS Low to SYNC Valid Delay CS Low to Internal SCLK Valid Delay 1 CS Low to SDOUT Delay CNVST Low to SYNC Delay (Read During Convert) (Normal Mode/Impulse Mode) SYNC Asserted to SCLK First Edge Delay Internal SCK Period 2 Internal SCLK High2 Internal SCLK Low2 SDOUT Valid Setup Time2 SDOUT Valid Hold Time2 SCLK Last Edge to SYNC Delay2 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 Convert2 CNVST Low to SYNC Asserted Delay (Normal Mode/Impulse Mode) SYNC Deasserted to BUSY Low Delay Rev. B | Page 5 of 28 Symbol Min t1 5 t2 t3 2/2.25 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 t18 t19 t20 Typ t36 t37 Unit ns 32 μs ns ns 1.75/2 μs ns ns ns 10 250 10 30 1/1.25 45 0.75 250 30 1.75/2 40 15 40 10 10 10 ns ns ns 250/500 3 23 12 7 4 2 1 μs ns μs ns ns μs ns ns ns ns 14 5 μs ns 1.75/2 2 t21 t22 t23 t24 t25 t26 t27 t28 t29 t30 t31 t32 t33 t34 t35 Max 40 10 10 10 ns ns ns ns ns ns ns ns ns ns ns See Table 4 0.75/1 25 μs ns AD7654 Parameter SLAVE SERIAL INTERFACE MODES (see Figure 32 and Figure 33) 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 1 2 Symbol Min t38 t39 t40 t41 t42 t43 t44 5 3 5 5 25 10 10 Typ Max Unit ns ns ns ns ns ns ns 18 In serial interface modes, the SYNC, SCLK, and SDOUT timings are defined with a maximum load CL of 10 pF; otherwise CL is 60 pF maximum. In serial master read during convert mode. See Table 4 for serial master read after convert mode. Table 4. 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 Typical 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 (Normal) Busy High Width Maximum (Impulse) 0 0 1 1 Symbol t25 0 3 1 17 0 17 1 17 Unit ns t26 t26 t27 t28 t29 t30 t31 t35 t35 25 40 12 7 4 2 1 3.25 3.5 50 70 22 21 18 4 3 4.25 4.5 100 140 50 49 18 30 30 6.25 6.5 200 280 100 99 18 80 80 10.75 11 ns ns ns ns ns ns ns μs μs Rev. B | Page 6 of 28 AD7654 ABSOLUTE MAXIMUM RATINGS Parameter Analog Inputs INAx 1 , INBx1, REFx, INxN, REFGND Ground Voltage Differences AGND, DGND, OGND Supply Voltages AVDD, DVDD, OVDD AVDD to DVDD, AVDD to OVDD DVDD to OVDD Digital Inputs Internal Power Dissipation 2 Internal Power Dissipation 3 Junction Temperature Storage Temperature Range Lead Temperature Range (Soldering 10 sec) Values AVDD + 0.3 V to AGND − 0.3 V ±0.3 V 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. −0.3 V to +7 V ±7 V −0.3 V to +7 V −0.3 V to DVDD + 0.3 V 700 mW 2.5 W 150°C −65°C to +150°C 1.6mA IOL TO OUTPUT PIN C L 60pF* 1.4V 500µA IOH *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. 300°C 03057-002 Table 5. Figure 2. Load Circuit for Digital Interface Timing (SDOUT, SYNC, SCLK Outputs, CL = 10 pF) 1 See Analog Inputs section. 2 Specification is for device in free air: 48-lead LQFP: θJA = 91°C/W, θJC = 30°C/W. 3 Specification is for device in free air: 48-lead LFCSP; θJA = 26°C/W. 2V 0.8V tDELAY 2V 0.8V Figure 3. Voltage Reference Levels for Timing ESD 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 this product 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. B | Page 7 of 28 03057-003 t DELAY 2V 0.8V AD7654 48 47 46 45 44 43 42 REF REFGND INB1 INBN INB2 REFB REFA INA2 INAN INA1 AGND AGND PIN CONFIGURATION AND FUNCTION DESCRIPTIONS 41 40 39 38 37 AGND 1 36 DVDD 35 CNVST A0 3 34 PD BYTESWAP 4 33 RESET AD7654 32 CS TOP VIEW (Not to Scale) 31 RD 30 EOC SER/PAR 8 29 BUSY D0 9 28 D15 D1 10 27 D14 D2/DIVSCLK[0] 11 26 D13 D3/DIVSCLK[1] 12 25 D12 PIN 1 AVDD 2 A/B 5 DGND 6 IMPULSE 7 03057-004 D11/RDERROR D10/SYNC D9/SCLK D8/SDOUT DGND DVDD OVDD OGND D7/RDC/SDIN D6/INVSCLK D4/EXT/INT D5/INVSYNC 13 14 15 16 17 18 19 20 21 22 23 24 Figure 4. 48-Lead LQFP (ST-48) and 48-Lead LFCSP (CP-48) Table 6. Pin Function Descriptions Pin No. 1, 47, 48 2 3 Mnemonic AGND AVDD A0 Type 1 P P DI 4 BYTESWAP DI 5 A/B DI 6, 20 7 DGND IMPULSE P DI 8 SER/PAR DI 9, 10 D[0:1] DO 11, 12 D[2:3] or DIVSCLK[0:1] DI/O 13 D[4] or EXT/INT DI/O 14 D[5] or INVSYNC DI/O Description Analog Power Ground Pin. Input Analog Power Pin. Nominally 5 V. Multiplexer Select. When LOW, the analog inputs INA1 and INB1 are sampled simultaneously, then converted. When HIGH, the analog inputs INA2 and INB2 are sampled simultaneously, then converted. Parallel Mode Selection (8 bit, 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]. Data Channel Selection. In parallel mode, when LOW, the data from Channel B is read. When HIGH, the data from Channel A is read. In serial mode, when HIGH, Channel A is output first followed by Channel B. When LOW, Channel B is output first followed by Channel A. Digital Power Ground. Mode Selection. When HIGH, 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 inputs are not used. When SER/PARis LOW, this output is used as Bit 4 of the parallel port data output bus. When SER/PARis 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 mode. 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. 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 in Master modes. When LOW, SYNC is active HIGH. When HIGH, SYNC is active LOW. Rev. B | Page 8 of 28 AD7654 Pin No. 15 Mnemonic D[6] or INVSCLK Type 1 DI/O 16 D[7] or RDC/SDIN DI/O 17 18 OGND OVDD P P 19, 36 21 DVDD D[8] or SDOUT P DO 22 D[9] or SCLK DI/O 23 D[10] or SYNC DO 24 D[11] or RDERROR DO 25 to 28 D[12:15] DO 29 BUSY DO 30 31 32 EOC RD CS DO DI DI 33 RESET DI 34 PD DI Description When SER/PAR is LOW, this output is used as Bit 6 of the parallel port data output bus. 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 modes. 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 can 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 SDOUT with a delay of 32 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. Input/Output Interface Digital Power Ground. 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. 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 a 32-bit on-chip register. The AD7654 provides the two conversion results, MSB first, from its internal shift register. The order of channel outputs is controlled by A/B. 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. 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 on 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 frames SDOUT. After the first channel is output, SYNC is pulsed LOW. When a read sequence is initiated and INVSYNC is HIGH, SYNC is driven LOW and remains LOW while SDOUT output is valid. After the first channel is output, SYNC is pulsed HIGH. 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 two conversions are complete and the data is latched into the on-chip shift register. The falling edge of BUSY can be used as a data ready clock signal. End of Convert Output. Goes LOW at each channel conversion. 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 AD7654. 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. Rev. B | Page 9 of 28 AD7654 Pin No. 35 Mnemonic CNVST Type 1 DI 37 38 39, 41 40, 45 42, 43 44, 46 REF REFGND INB1, INB2 INBN, INAN REFB, REFA INA2, INA1 AI AI AI AI AI AI 1 Description 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), 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. This input pin is used to provide a reference to the converter. Reference Input Analog Ground. Channel B Analog Inputs. Analog Inputs Ground Senses. Allow to sense each channel ground independently. These inputs are the references applied to Channel A and Channel B, respectively. Channel A Analog Inputs. AI = analog input; DI = digital input; DI/O = bidirectional digital; DO = digital output; P = power. Rev. B | Page 10 of 28 AD7654 TERMINOLOGY Integral Nonlinearity Error (INL) 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 ½ LSB before the first code transition. Positive full scale is defined as a level 1½ LSB beyond the last code transition. The deviation is measured from the middle of each code to the true straight line. 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 111. . .10 to 111. . .11) should occur for an analog voltage 1½ LSB below the nominal full scale (4.999886 V for the 0 V to 5 V range). The full-scale error is the deviation of the actual level of the last transition from the ideal level. Unipolar Zero Error The first transition should occur at a level ½ LSB above analog ground (76.29 μV for the 0 V to 5 V range). The unipolar zero error is the deviation of the actual transition from that point. Signal-to-Noise Ratio (SNR) SNR is 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. Total Harmonic Distortion (THD) THD is the ratio of the rms sum of the first five harmonic components to the rms value of a full-scale input signal and is expressed in decibels. Signal-to-Noise and Distortion Ratio (SINAD) SINAD is 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 SINAD is expressed in decibels. Spurious-Free Dynamic Range (SFDR) The difference, in decibels, between the rms amplitude of the input signal and the peak spurious signal. Effective Number of Bits (ENOB) ENOB is a measurement of the resolution with a sine wave input. It is related to SINAD and expressed in bits by ENOB = ((SINADdB − 1.76)/6.02) and is expressed in bits. Aperture Delay Aperture delay is a measure of acquisition performance and is measured from the falling edge of the CNVST input to when the input signals are held for a conversion. Transient Response The time required for the AD7654 to achieve its rated accuracy after a full-scale step function is applied to its input. Rev. B | Page 11 of 28 AD7654 TYPICAL PERFORMANCE CHARACTERISTICS 3 5 4 2 3 1 1 DNL (LSB) INL (LSB) 2 0 –1 0 –1 –2 –3 –2 0 16384 32768 CODE 49152 65535 –3 03057-005 –5 0 16384 Figure 5. Integral Nonlinearity vs. Code 32768 CODE 49152 65535 03057-008 –4 Figure 8. Differential Nonlinearity vs. Code 10000 8000 7288 7220 9366 9000 7000 8000 6000 7000 COUNTS COUNTS 5000 4000 3000 6000 5000 4000 3411 3299 3000 2000 2000 0 14 1000 6 0 0 7FBF 7FC0 7FC1 7FC2 7FC3 7FC4 7FC5 7FC6 7FC7 7FC8 CODE IN HEX 8192 POINT FFT fS = 500kHz fIN = 100kHz, –0.5dB SNR = 89.9dB SINAD = 89.4dB THD = –99.3dB 0 96 –98 93 –100 SNR (dB) –80 –102 90 SNR –100 –120 THD (dB) THD –60 –104 87 –160 0 25 50 75 100 125 150 175 FREQUENCY (kHz) 200 225 250 Figure 7. FFT Plot 84 –55 –35 –15 5 25 45 65 TEMPERATURE (°C) 85 Figure 10. SNR, THD vs. Temperature Rev. B | Page 12 of 28 105 –106 125 03057-010 –140 03057-007 AMPLITUDE (dB of Full Scale) 0 Figure 9. Histogram of 16,384 Conversions of a DC Input at the Code Center 0 –40 132 7FBF 7FC0 7FC1 7FC2 7FC3 7FC4 7FC5 7FC6 7FC7 CODE IN HEX Figure 6. Histogram of 16,384 Conversions of a DC Input at the Code Transition –20 176 0 0 0 03057-009 0 0 903 03057-006 953 1000 AD7654 100 16.0 95 15.5 10 SNR 85 14.5 ENOB 80 14.0 75 13.5 70 13.0 1000 FULL-SCALE ERROR 4 15.0 SINAD 2 LSB 90 6 ENOB (Bits) SNR, SINAD (dB) 8 0 –2 ZERO ERROR –4 –6 10 100 FREQUENCY (kHz) 03057-011 1 Figure 11. SNR, SINAD, and ENOB vs. Frequency –35 –15 5 25 45 65 TEMPERATURE (°C) 85 105 125 03057-014 –8 –10 –55 Figure 14. Full-Scale Error and Zero Error vs. Temperature 100 92 NORMAL AVDD OPERATING CURRENTS (mA) SINAD 88 NORMAL DVDD 1 IMPULSE AVDD IMPULSE DVDD 0.1 0.01 0.001 –50 –40 –30 –20 –10 0.0001 03057-012 86 –60 0 INPUT LEVEL (dB) OVDD 2.7V 1 –60 115 –65 110 SFDR –70 OVDD = 2.7V @ 85°C 40 OVDD = 2.7V @ 25°C 90 CROSSTALK B TO A –90 –95 CROSSTALK A TO B –100 THD 85 THIRD HARMONIC 80 t18 DELAY (ns) 95 –85 SFDR (dB) 100 –80 SECOND HARMONIC –110 –115 1 10 100 FREQUENCY (kHz) OVDD = 5V @ 85°C 30 OVDD = 5V @ 25°C 20 75 10 70 –105 200 50 105 –75 1000 Figure 15. Operating Currents vs. Sample Rate 65 60 1000 03057-013 THD, HARMONICS, CROSSTALK (dB) Figure 12. SNR and SINAD vs. Input Level (Referred to Full Scale) 10 100 SAMPLING RATE (kSPS) 03057-015 SNR 90 03057-016 SNR, SINAD (dB) 10 Figure 13. THD, Harmonics, Crosstalk, and SFDR vs. Frequency 0 0 50 100 CL (pF) 150 Figure 16. Typical Delay vs. Load Capacitance CL Rev. B | Page 13 of 28 AD7654 APPLICATION INFORMATION TRANSFER FUNCTIONS The AD7654 is a very fast, low power, single-supply, precise, simultaneous sampling 16-bit ADC. The AD7654 data format is straight binary. The ideal transfer characteristic for the AD7654 is shown in Figure 17 and Table 7. The LSB size is 2*VREF/65536, which is about 76.3 μV. The AD7654 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 or tiny 48-lead LFCSP that combines space savings and allows flexible configurations as either a serial or parallel interface. The AD7654 is pin-to-pin compatible with PulSAR ADCs. 111...111 111...110 111...101 000...010 000...001 000...000 –FS MODES OF OPERATION –FS + 1 LSB –FS + 0.5 LSB The AD7654 features two modes of operation, normal and impulse. Each of these modes is more suitable for specific applications. +FS – 1 LSB +FS – 1.5 LSB ANALOG INPUT 03057-017 The AD7654 provides the user with two on-chip, track-andhold, successive approximation ADCs that do not exhibit any pipeline or latency, making it ideal for multiple multiplexed channel applications. The AD7654 can also be used as a 4-channel ADC with two pairs simultaneously sampled. ADC CODE (Straight Binary) CIRCUIT INFORMATION Figure 17. ADC Ideal Transfer Function Normal mode is the fastest mode (500 kSPS). Except when it is powered down (PD = HIGH), the power dissipation is almost independent of the sampling rate. Impulse mode, the lowest power dissipation mode, allows power saving between conversions. The maximum throughput in this mode is 444 kSPS. When operating at 10 kSPS, for example, it typically consumes only 2.6 mW. This feature makes the AD7654 ideal for battery-powered applications. Table 7. Output Codes and Ideal Input Voltages Description FSR − 1 LSB FSR − 2 LSB Midscale + 1 LSB Midscale Midscale − 1 LSB −FSR + 1 LSB −FSR Analog Input VREF = 2.5 V 4.999924 V 4.999847 V 2.500076 V 2.5 V 2.499924 V −76.29 μV 0V Digital Output Code 0xFFFF 1 0xFFFE 0x8001 0x8000 0x7FFF 0x0001 0x0000 2 1 This is also the code for overrange analog input (VINx – VINxN above 2 × (VREF − VREFGND)). 2 This is also the code for underrange analog input (VINx below VINxN). Rev. B | Page 14 of 28 AD7654 DVDD ANALOG SUPPLY (5V) 30Ω + NOTE 6 10µF 100nF AD780 AVDD 2.5V REF REF REF A REF B 1MΩ NOTE 1 C 50kΩ + REF 100nF NOTE 2 NOTE 3 1µF AGND DIGITAL SUPPLY (3.3V OR 5V) + 10µF 100nF DGND ANALOG INPUT A1 – U1 + CC DVDD OVDD SERIAL PORT SDOUT REFGND BUSY 10Ω CNVST INA1 2.7nF NOTE 4 CC 50Ω µC/µP/ DSP D NOTE 7 AD7654 NOTE 5 A0 DVDD A/B 50Ω ANALOG INPUT A2 10µF OGND SER/PAR – U2 + + SCLK NOTE 1 50Ω NOTE 4 100nF CS 10Ω RD INA2 BYTESWAP CLOCK RESET 2.7nF PD NOTE 5 INAN 50Ω NOTE 4 ANALOG INPUT B1 – U3 + CC 10Ω INB1 2.7nF NOTE 5 50Ω ANALOG INPUT B2 – U4 + CC 10Ω INB2 2.7nF NOTE 5 INBN NOTES 1. SEE VOLTAGE REFERENCE INPUT SECTION. 2. WITH THE RECOMMENDED VOLTAGE REFERENCES, CREF IS 47µF. SEE VOLTAGE REFERENCE INPUT SECTION. 3. OPTIONAL CIRCUITRY FOR HARDWARE GAIN CALIBRATION. 4. THE AD8021 IS RECOMMENDED. SEE DRIVER AMPLIFIER CHOICE SECTION. 5. SEE ANALOG INPUTS SECTION. 6. OPTIONAL, SEE POWER SUPPLY SECTION. 7. OPTIONAL LOW JITTER CNVST. SEE CONVERSION CONTROL SECTION. Figure 18. Typical Connection Diagram (Serial Interface) Rev. B | Page 15 of 28 03057-018 NOTE 4 AD7654 TYPICAL CONNECTION DIAGRAM Figure 18 shows a typical connection diagram for the AD7654. Different circuitry shown on this diagram is optional and is discussed in the following sections. that can be tolerated. The THD degrades as the source impedance increases. ANALOG INPUTS The AD7654 allows the choice of simultaneously sampling the inputs pairs INA1/INB1 or INA2/INB2 with the A0 multiplexer input. When A0 is low, the input pairs INA1/INB1 are selected, and when A0 is high, the input pairs INA2/INB2 are selected. Note that INAx is always converted before INBx regardless of the state of the digital interface channel selection A/B pin. Also, note that the channel selection control A0 should not be changed during the acquisition phase of the converter. Refer to the Conversion Control section and Figure 22 for timing details. Figure 19 shows a simplified analog input section of the AD7654. AVDD A0 = L INA1 RA A0 = H INA2 CS INAN A0 = L INB1 CS A0 = H INB2 AGND DRIVER AMPLIFIER CHOICE RB A0 Although the AD7654 is easy to drive, the driver amplifier needs to meet at least the following requirements: 03057-019 INBN INPUT CHANNEL MULTIPLEXER Figure 19. Simplified Analog Input The diodes shown in Figure 19 provide ESD protection for the inputs. Care must be taken to ensure that the analog input signal never exceeds the absolute ratings on these inputs. This causes these diodes to become forward biased and start conducting current. These diodes can handle a forward-biased current of 120 mA maximum. This condition could eventually occur when the input buffers (U1) or (U2) supplies are different from AVDD. In such a case, an input buffer with a short-circuit current limitation can be used to protect the part. This analog input structure allows the sampling of the differential signal between INx and INxN. Unlike other converters, the INxN is sampled at the same time as the INx input. By using these differential inputs, small signals common to both inputs are rejected. During the acquisition phase, for ac signals, the AD7654 behaves like a one-pole RC filter consisting of the equivalent resistance RA, RB, and CS. The resistors RA and RB are typically 500 Ω and are a lumped component made up of some serial resistors and the on resistance of the switches. The capacitor CS is typically 32 pF and is mainly the ADC sampling capacitor. This one-pole filter with a typical −3 dB cutoff frequency of 10 MHz reduces undesirable aliasing effects and limits the noise coming from the inputs. Because the input impedance of the AD7654 is very high, the AD7654 can be driven directly by a low impedance source without gain error. To further improve the noise filtering of the AD7654 analog input circuit, an external one-pole RC filter between the amplifier output and the ADC input, as shown in Figure 18, can be used. However, the source impedance has to be kept low because it affects the ac performance, especially the total harmonic distortion. The maximum source impedance depends on the amount of total harmonic distortion (THD) • For multichannel, multiplexed applications, the driver amplifier and the AD7654 analog input circuit together must be able to settle for a full-scale step of the capacitor array at a 16-bit level (0.0015%). In the amplifier’s data sheet, the settling at 0.1% or 0.01% is more commonly specified. It could significantly differ from the settling time at a 16-bit level and, therefore, it should be verified prior to the driver selection. • The noise generated by the driver amplifier needs to be kept as low as possible to preserve the SNR and transition noise performance of the AD7654. The noise coming from the driver is filtered by the AD7654 analog input circuit onepole low-pass filter made by RA, RB, and CS. The SNR degradation due to the amplifier is SNR LOSS ⎛ ⎜ 56 = 20 log ⎜⎜ π 2 ⎜ 56 + f −3dB (Ne N ) 2 2 ⎝ ⎞ ⎟ ⎟ ⎟ ⎟ ⎠ where: f–3 dB is the –3 dB input bandwidth in MHz of the AD7654 (10 MHz) or the cutoff frequency of the input filter, if any is used. N is the noise factor of the amplifier (1 if in buffer configuration). is the equivalent input noise voltage of the eN op amp in nV/√Hz. For instance, a driver like the AD8021 with an equivalent input noise of 2 nV/√Hz, configured as a buffer, and thus with a noise gain of +1, degrades the SNR by only 0.06 dB with the filter in Figure 18, and by 0.10 dB without. • The driver needs to have a THD performance suitable to that of the AD7654. Rev. B | Page 16 of 28 AD7654 The AD8610 is another option where low bias current is needed in low frequency applications. Refer to Table 8 for some recommended op amps. Table 8. Recommended Driver Amplifiers Amplifier ADA4841 AD829 AD8021 AD8022 AD8655/AD8656 AD8610/AD8620 Typical Application Very low noise, low distortion, low power, low frequency Very low noise, low frequency Very low noise, high frequency Very low noise, high frequency, dual Low noise, 5 V single supply, low power, low frequency, single/dual Low bias current, low frequency, single/dual VOLTAGE REFERENCE INPUT The AD7654 requires an external 2.5 V reference. The reference input should be applied to REF, REFA, and REFB. The voltage reference input REF of the AD7654 has a dynamic input impedance; it should therefore be driven by a low impedance source with an efficient decoupling. 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 REFA, REFB, and REFGND inputs with minimum parasitic inductance. A value of 47 μF is an appropriate value for the tantalum capacitor when using one of the recommended reference voltages: • The low noise, low temperature drift AD780, AD361, ADR421, and ADR431 voltage reference. • The low cost AD1582 voltage reference. For applications using multiple AD7654s with one voltage reference source, it is recommended that the reference source drives each ADC in a star configuration with individual decoupling placed as close as possible to the REF/REFGND inputs. Also, it is recommended that a buffer, such as the AD8031/AD8032, be used in this configuration. POWER SUPPLY The AD7654 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 18. The AD7654 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 20. 70 65 60 55 50 45 40 1 10 100 1000 FREQUENCY (kHz) 10000 03057-020 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. Care should be taken with the reference temperature coefficient of the voltage reference, which directly affects the full-scale accuracy if this parameter is applicable. For instance, a 15 ppm/°C tempco of the reference changes the full-scale accuracy by 1 LSB/°C. PSRR (dB) 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 be used where a dual version is needed and a gain of +1 is used. Figure 20. PSRR vs. Frequency POWER DISSIPATION In impulse mode, the AD7654 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 21. This feature makes the AD7654 ideal for very low power battery applications. Note 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 (that is, DVDD and DGND), and OVDD should not exceed DVDD by more than 0.3 V. Rev. B | Page 17 of 28 AD7654 POWER DISSIPATION (mW) 1000 By keeping CNVST low, the AD7654 keeps the conversion process running by itself. Note 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 AD7654 could sometimes run slightly faster than the guaranteed limits of 444 kSPS in impulse mode. This feature does not exist in normal mode. NORMAL 100 IMPULSE 10 DIGITAL INTERFACE 1 100 10 SAMPLING RATE (kSPS) 1 03057-021 0.1 1000 Figure 21. Power Dissipation vs. Sample Rate CONVERSION CONTROL Figure 22 shows the detailed timing diagrams of the conversion process. The AD7654 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 the CS and RD signals. t2 t1 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 AD7654 in multicircuit applications and is held low in a single AD7654 design. RD is generally used to enable the conversion result on the data bus. In parallel mode, signal A/B allows the choice of reading either the output of Channel A or Channel B, whereas in serial mode, signal A/B controls which channel is output first. Figure 23 details the timing when using the RESET input. Note the current conversion, if any, is aborted and the data bus is high impedance while RESET is high. CNVST t 14 The AD7654 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 AD7654 digital interface accommodates either 3 V or 5 V logic by simply connecting the OVDD supply pin of the AD7654 to the host system interface digital supply. t 15 t9 A0 RESET BUSY t3 t4 BUSY MODE ACQUIRE t 12 CONVERT A t6 CONVERT B t7 DATA BUS ACQUIRE t8 CONVERT t8 03057-023 t5 t 13 t 11 03057-022 EOC t 10 CNVST Figure 22. Basic Conversion Timing Figure 23. Reset Timing Although CNVST is a digital signal, it should be designed with special care with fast, clean edges and levels, and with minimum overshoot and undershoot or ringing. For applications where the SNR is critical, the CNVST signal should have very low jitter. Some solutions to achieve this are to use a dedicated oscillator for CNVST generation or, at least, to clock it with a high frequency, low jitter clock, as shown in Figure 18. In impulse mode, conversions can be automatically initiated. If CNVST is held low when BUSY is low, the AD7654 controls the acquisition phase and automatically initiates a new conversion. PARALLEL INTERFACE The AD7654 is configured to use the parallel interface when SER/PAR is held low. Master Parallel Interface Data can be read continuously by tying CS and RD low, thus requiring minimal microprocessor connections. However, in this mode, the data bus is always driven and cannot be used in shared bus applications (unless the device is held in RESET). Figure 24 details the timing for this mode. Rev. B | Page 18 of 28 AD7654 CS = RD = 0 8-Bit Interface (Master or Slave) t1 The BYTESWAP pin allows a glueless interface to an 8-bit bus. As shown in Figure 27, the LSB byte 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 bytes are swapped, 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-bit data can be read in two bytes on either D[15:8] or D[7:0]. CNVST t 16 BUSY t4 t3 EOC t 10 NEW A OR B CS RD Figure 24. Master Parallel Data Timing for Continuous Read Slave Parallel Interface BYTESWAP In slave parallel reading mode, the data can be read either after each conversion, which is during the next acquisition phase or during the other channel’s conversion, or during the following conversion, as shown in Figure 25 and Figure 26, respectively. When the data is read during the conversion, however, it is recommended that it is read only during the first half of the conversion phase. This avoids any potential feedthrough between voltage transients on the digital interface and the most critical analog conversion circuitry. CS RD BUSY t18 03057-025 CURRENT CONVERSION DATA BUS t19 PINS D[15:8] HI-Z HIGH BYTE t 18 PINS D[7:0] HI-Z LOW BYTE t18 LOW BYTE HIGH BYTE HI-Z t19 03057-027 PREVIOUS CHANNEL A OR B PREVIOUS CHANNEL B OR NEW A 03057-024 t 17 DATA BUS HI-Z Figure 27. 8-Bit Parallel Interface Channel A/B Output The A/B input controls which channel’s conversion results (INAx or INBx) are output on the data bus. The functionality of A/B is detailed in Figure 28. When high, the data from Channel A is available on the data bus. When low, the data from Channel B is available on the bus. Note that Channel A can be read immediately after conversion is done (EOC), while Channel B is still in its converting phase. However, in any of the serial reading modes, Channel A data is updated only after Channel B is converted. CS Figure 25. Slave Parallel Data Timing for a Read After Conversion RD CS = 0 A/B CNVST, RD DATA BUS t 12 t 10 EOC BUSY t 18 t 19 03057-026 t3 PREVIOUS CONVERSION CHANNEL B t20 Figure 28. A/B Channel Reading t4 DATA BUS CHANNEL A t18 t 13 t 11 HI-Z Figure 26. Slave Parallel Data Timing for a Read During Conversion Rev. B | Page 19 of 28 HI-Z 03057-028 t1 AD7654 SERIAL INTERFACE The AD7654 is configured to use the serial interface when the SER/PAR is held high. The AD7654 outputs 32 bits of data, MSB first, on the SDOUT pin. The order of the channels being output is also controlled by A/B. When high, Channel A is output first; when low, Channel B is output first. This data is synchronized with the 32 clock pulses provided on the SCLK pin. MASTER SERIAL INTERFACE Internal Clock The AD7654 is configured to generate and provide the serial data clock SCLK when the EXT/INT pin is held low. The AD7654 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. The output data is valid on both the rising and falling edge of the data clock. Depending on RDC/SDIN input, the data can be read after each conversion or during the following conversion. Figure 29 and Figure 30 show the detailed timing diagrams of these two modes. Usually, because the AD7654 is used with a fast throughput, the master-read-during-convert mode is the most recommended serial mode when it can be used. In this mode, the serial clock and data toggle at appropriate instants, which minimizes potential feedthrough between digital activity and the critical conversion decisions. The SYNC signal goes low after the LSB of each channel has been output. Note that in this mode, the SCLK period changes because the LSBs require more time to settle, and the SCLK is derived from the SAR conversion clock. Note that in the master-read-after-convert mode, unlike in other modes, the signal BUSY returns low after the 32 data bits are pulsed out and not at the end of the conversion phase, which results in a longer BUSY width. One advantage of using this mode is that it can accommodate slow digital hosts because the serial clock can be slowed down by using DIVSCLK[1:0] inputs. Refer to Table 4 for the timing details. Rev. B | Page 20 of 28 AD7654 EXT/INT = 0 RDC/SDIN = 0 INVSCLK = INVSYNC = 0 A/B = 1 CS, RD CNVST BUSY t35 t3 EOC t11 t10 t12 t13 t37 t26 t36 t32 SYNC t26 t25 t 28 1 SCLK t27 2 t31 16 17 31 t29 t22 SDOUT t33 32 t 34 CH A D15 X t23 CH A D14 CH A D0 CH B D15 CH B D1 CH B D0 t30 03057-029 t21 Figure 29. Master Serial Data Timing for Reading (Read After Conversion) EXT/INT = 0 CS, RD INVSCLK = INVSYNC = 0 RDC/SDIN = 1 A/B = 1 t1 CNVST t3 BUSY t 12 t 10 EOC t 13 t 11 t 24 t 32 SYNC t 21 t 26 t 27 t 28 t 22 SCLK t 31 1 2 CH A D15 CH A D14 16 1 2 CH B D15 CH B D14 t 33 16 t 25 X t 23 t 29 CH A D0 CH B D0 03057-030 SDOUT t 34 t 30 Figure 30. Master Serial Data Timing for Reading (Read Previous Conversion During Convert) Rev. B | Page 21 of 28 AD7654 SLAVE SERIAL INTERFACE External Clock While the AD7654 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 of each channel because the AD7654 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 provided, it is a discontinuous clock that toggles only when BUSY is low or, more importantly, that it does not transition during the latter half of EOC high. An example of the concatenation of two devices is shown in Figure 31. Simultaneous sampling is possible by using a common CNVST signal. Note that the RDC/SDIN input is latched on the edge of SCLK opposite the one used to shift out the data on SDOUT. Therefore, the MSB of the upstream converter follows the LSB of the downstream converter on the next SCLK cycle. The SDIN input should be tied either high or low on the most upstream converter in the chain. BUSY OUT BUSY BUSY AD7654 AD7654 #2 (UPSTREAM) RDC/SDIN #1 (DOWNSTREAM) SDOUT CNVST RDC/SDIN SDOUT DATA OUT CNVST CS CS SCLK SCLK SCLK IN CS IN CNVST IN 03057-031 The AD7654 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. When both CS and RD are low, 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. Figure 32 and Figure 33 show the detailed timing diagrams of these methods. Figure 31. Two AD7654s in a Daisy-Chain Configuration External Discontinuous Clock Data Read After Convert External Clock Data Read Previous During Convert Although the maximum throughput cannot be achieved in this mode, it is the most recommended of the serial slave modes. Figure 32 shows the detailed timing diagrams of this method. After a conversion is complete, indicated by BUSY returning low, the conversion results can be read while both CS and RD are low. Data is shifted out from both channels MSB first, with 32 clock pulses and is valid on both rising and falling edges of the clock. Figure 33 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 32 clock pulses and is valid on both the rising and falling edges of the clock. The 32 bits have to be read before the current conversion is completed; otherwise, 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. One advantage of this method is that conversion performance is not degraded because there are no voltage transients on the digital interface during the conversion process. Another advantage is the ability to read the data at any speed up to 40 MHz, which accommodates both a slow digital host interface and the fastest serial reading. Finally, in this mode only, the AD7654 provides a daisy-chain feature using the RDC/SDIN (serial data in) input pin for cascading multiple converters together. This feature is useful for reducing component count and wiring connections when it is desired, as in isolated multiconverter applications. To reduce performance degradation due to digital activity, a fast discontinuous clock (at least 32 MHz in impulse mode and 40 MHz in normal mode) is recommended to ensure that all of the bits are read during the first half of each conversion phase (EOC high, t11, t12). It is also possible to begin to read data after conversion and continue to read the last bits after a new conversion has been initiated. This allows the use of a slower clock speed like 26 MHz in impulse mode and 30 MHz in normal mode. Rev. B | Page 22 of 28 AD7654 INVSCLK = 0 EXT/INT = 1 RD = 0 A/B = 1 CS EOC BUSY t 42 t 43 t 44 1 SCLK 2 3 t 38 30 31 32 33 34 t 39 CH A D15 X SDOUT t 23 CH A D14 CH A D13 CH B D1 CH B D0 X CH A D15 X CH A D14 X CH A D14 X CH A D13 X CH B D1 X CH B D0 Y CH A D15 Y CH A D14 X CH A D15 SDIN t 40 03057-032 t 41 Figure 32. Slave Serial Data Timing for Reading (Read After Convert) INVSCLK = 0 EXT/INT = 1 RD = 0 A/B = 1 CS t 10 CNVST t 12 t 11 t 13 EOC BUSY t3 t 42 t 43 t 44 SCLK 1 t 38 3 31 32 CH A D15 CH A D14 CH A D13 CH B D1 CH B D0 t 23 Figure 33. Slave Serial Data Timing for Reading (Read Previous Conversion During Convert) Rev. B | Page 23 of 28 03057-033 t 39 X SDOUT 2 AD7654 MICROPROCESSOR INTERFACING SPI INTERFACE (ADSP-219X) end-of-conversion signal (BUSY going low) using an interrupt line of the DSP. By writing to the SPI control register (SPICLTx), the serial interface (SPI) on the ADSP-219x is configured for master mode (MSTR) = 1, clock polarity bit (CPOL) = 0, clock phase bit (CPHA) = 1, and SPI interrupt enable (TIMOD) = 00. To meet all timing requirements, the SPI clock should be limited to 17 Mbps, which allows it to read an ADC result in less than 1 μs. When a higher sampling rate is desired, use of one of the parallel interface modes is recommended. Figure 34 shows an interface diagram between the AD7654 and the SPI equipped ADSP-219x. To accommodate the slower speed of the DSP, the AD7654 acts as a slave device and data must be read after conversion. This mode also allows the daisychain feature. The convert command can be initiated in response to an internal timer interrupt. The 32-bit output data is read with two serial peripheral interface (SPI) 16-bit wide accesses. The reading process can be initiated in response to the DVDD AD7654* ADSP-219x* SER/PAR EXT/INT BUSY CS SDOUT RD SCLK INVSCLK CNVST PFx SPIxSEL (PFx) MISOx SCKx PFx or TFSx *ADDITIONAL PINS OMITTED FOR CLARITY Figure 34. Interfacing the AD7654 to an SPI Interface Rev. B | Page 24 of 28 03057-034 The AD7654 is ideally suited for traditional dc measurement applications supporting a microprocessor and for ac signal processing applications interfacing to a digital signal processor. The AD7654 is designed to interface with either a parallel 8-bit wide or 16-bit wide interface, a general-purpose serial port, or I/O ports on a microcontroller. A variety of external buffers can be used with the AD7654 to prevent digital noise from coupling into the ADC. The following section illustrates the use of the AD7654 with an SPI-equipped DSP, the ADSP-219x. AD7654 APPLICATION HINTS LAYOUT The AD7654 has very good immunity to noise on the power supplies. However, care should still be taken with regard to grounding layout. The printed circuit board that houses the AD7654 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 separated easily. Digital and analog ground planes should be joined in only one place, preferably underneath the AD7654, or as close as possible to the AD7654. If the AD7654 is in a system where multiple devices require analog-to-digital ground connections, the connection should still be made at only a star ground point established as close as possible to the AD7654. OVDD—close to, and ideally right up against these pins and their corresponding ground pins. Additionally, low ESR 10 μF capacitors should be located near the ADC to further reduce low frequency ripple. The DVDD supply of the AD7654 can be a separate supply or can come from the analog supply AVDD or the digital interface supply OVDD. When the system digital supply is noisy or when fast switching digital signals are present, if no separate supply is available, the user should connect DVDD to AVDD through an RC filter (see Figure 18) and the system supply to 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. Running digital lines under the device should be avoided because these couple noise onto the die. The analog ground plane should be allowed to run under the AD7654 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 angles to each other. This reduces the effect of crosstalk through the board. The AD7654 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, because it carries pulsed currents, should be a low impedance return to the reference. AGND is the ground to which most internal ADC analog signals are referenced; it 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 power supply lines to the AD7654 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 supply’s impedance presented to the AD7654 and to reduce the magnitude of the supply spikes. Decoupling ceramic capacitors, typically 100 nF, should be placed on each power supply pin—AVDD, DVDD, and EVALUATING THE AD7654 PERFORMANCE A recommended layout for the AD7654 is outlined in the documentation of the evaluation board for the EVAL-AD7654CB. The evaluation board package includes a fully assembled and tested evaluation board, documentation, and software for controlling the board from a PC via the EVAL-CONTROL-BRD3. Rev. B | Page 25 of 28 AD7654 OUTLINE DIMENSIONS 0.75 0.60 0.45 9.00 BSC SQ 1.60 MAX 37 48 36 1 PIN 1 7.00 BSC SQ TOP VIEW 1.45 1.40 1.35 0.15 0.05 SEATING PLANE 0.20 0.09 7° 3.5° 0° 0.08 MAX COPLANARITY (PINS DOWN) 25 12 13 24 0.27 0.22 0.17 VIEW A 0.50 BSC LEAD PITCH VIEW A ROTATED 90° CCW COMPLIANT TO JEDEC STANDARDS MS-026-BBC Figure 35. 48-Lead Low Profile Quad Flat Package [LQFP] (ST-48) Dimensions shown in millimeters 7.00 BSC SQ 0.60 MAX 0.60 MAX 0.30 0.23 0.18 37 36 PIN 1 INDICATOR PIN 1 INDICATOR 1 EXPOSED PAD 6.75 BSC SQ TOP VIEW 48 5.25 5.10 SQ 4.95 (BOTTOM VIEW) 0.50 0.40 0.30 25 24 12 13 0.25 MIN 1.00 0.85 0.80 12° MAX 5.50 REF 0.80 MAX 0.65 TYP 0.05 MAX 0.02 NOM 0.50 BSC SEATING PLANE 0.20 REF COPLANARITY 0.08 COMPLIANT TO JEDEC STANDARDS MO-220-VKKD-2 Figure 36. 48-Lead Lead Frame Chip Scale Package [LFCSP_VQ] 7 mm × 7 mm (CP-48-1) Dimensions shown in millimeters Rev. B | Page 26 of 28 PADDLE CONNECTED TO AGND. THIS CONNECTION IS NOT REQUIRED TO MEET THE ELECTRICAL PERFORMANCES AD7654 ORDERING GUIDE Model AD7654ACP AD7654ACPRL AD7654ACPZ1 AD7654ACPZRL1 AD7654AST AD7654ASTRL AD7654ASTZ1 AD7654ASTZRL1 EVAL-AD7654CB2 EVAL-CONTROL BRD23 EVAL-CONTROL BRD33 Temperature Range –40°C to +85°C –40°C to +85°C –40°C to +85°C –40°C to +85°C –40°C to +85°C –40°C to +85°C –40°C to +85°C –40°C to +85°C Package Description Lead Frame Chip Scale Package [LFCSP_VQ] Lead Frame Chip Scale Package [LFCSP_VQ] Lead Frame Chip Scale Package [LFCSP_VQ] Lead Frame Chip Scale Package [LFCSP_VQ] Low Profile Quad Flat Package [LQFP] Low Profile Quad Flat Package [LQFP] Low Profile Quad Flat Package [LQFP] Low Profile Quad Flat Package [LQFP] Evaluation Board Controller Board Controller Board 1 Package Option CP-48-1 CP-48-1 CP-48-1 CP-48-1 ST-48 ST-48 ST-48 ST-48 Z = Pb free part. This board can be used as a standalone evaluation board or in conjunction with the EVAL-CONTROL-BRD2/EVAL-CONTROL-BRD3 for evaluation/demonstration purposes. 3 This board allows a PC to control and communicate with all Analog Devices evaluation boards ending in the CB designator. 2 Rev. B | Page 27 of 28 AD7654 NOTES © 2005 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. C03057–0–11/05(B) Rev. B | Page 28 of 28