Dual 2-Channel Simultaneous Sampling SAR 500 kSPS 16-Bit ADC AD7654* FEATURES Dual 16-Bit 2-Channel Simultaneous Sampling ADC 16 Bits 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 Package: 48-Lead Quad Flatpack (LQFP) or 48-Lead Frame Chip Scale Package (LFCSP) Low Cost APPLICATIONS AC Motor Control 3-Phase Power Control 4-Channel Data Acquisition Uninterrupted Power Supplies Communications GENERAL DESCRIPTION The AD7654 is a low cost, dual-channel, 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 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. It is available in 48-lead LQFP or 48-lead LFCSP packages with operation specified from –40°C to +85°C. PRODUCT HIGHLIGHTS 1. Simultaneous Sampling The AD7654 features two sample-and-hold circuits that allow simultaneous sampling. It provides 4-channel inputs. *Patent pending SPI and QSPI are trademarks of Motorola, Inc. Microwire is a trademark of National Semiconductor Corporation. FUNCTIONAL BLOCK DIAGRAM AVDD AGND DVDD DGND TRACK/HOLD ⴛ2 INA1 INAN REFGND REFx OVDD OGND MUX SERIAL PORT INA2 A0 SER/PAR SWITCHED CAP DAC MUX EOC INB1 INBN BUSY MUX 16 INB2 PD CLOCK AND CONTROL LOGIC PARALLEL INTERFACE D[15:0] CS RD RESET A/B AD7654 BYTESWAP IMPULSE CNVST PulSAR Selection Type/kSPS 100–250 500–570 800–1000 Pseudo Differential AD7651 AD7660/ AD7661 AD7650/ AD7652 AD7664/ AD7666 AD7653 AD7667 True Bipolar AD7663 AD7665 AD7671 True Differential AD7675 AD7676 AD7677 18 Bit AD7678 AD7679 AD7674 Multichannel/ Simultaneous AD7654 2. Fast Throughput The AD7654 is a very high speed (500 kSPS in Normal Mode and 444 kSPS in Impulse Mode), charge redistribution, 16-bit SAR ADC that avoids pipeline delay. 3. Superior INL and No Missing Code The AD7654 has a maximum integral nonlinearity of 3.5 LSB with no missing codes at the 16-bit level. 4. Single-Supply Operation The AD7654 operates from a single 5 V supply and dissipates only 120 mW typical, even lower when a reduced throughput is used with the reduced power mode (Impulse) and powerdown mode. 5. Serial or Parallel Interface Versatile parallel or 2-wire serial interface arrangement is compatible with both 3 V or 5 V logic. REV. 0 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. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 www.analog.com Fax: 781/326-8703 © Analog Devices, Inc., 2002 to +85C, V otherwise noted.) AD7654–SPECIFICATIONS (–40C Parameter Conditions THROUGHPUT SPEED Complete Cycle Throughput Rate Complete Cycle Throughput Rate DC ACCURACY Integral Linearity Error No Missing Codes Transition Noise Full-Scale Error2 Full-Scale Error Drift2 Unipolar Zero Error2 Unipolar Zero Error Drift2 Power Supply Sensitivity AC ACCURACY Signal-to-Noise Spurious Free Dynamic Range Total Harmonic Distortion Signal-to-(Noise+Distortion) Channel-to-Channel Isolation –3 dB Input Bandwidth Typ Max 16 VINx – VINxN VINxN fIN = 100 kHz 500 kSPS Throughput 2 VREF +0.5 55 45 See Analog Input Section 0 0 –3.5 16 0.7 ± 0.25 ±2 TMIN to TMAX TMIN to TMAX ± 0.8 0.8 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 Full-Scale Step REFERENCE External Reference Voltage Range External Reference Current Drain 500 kSPS Throughput 88 87.5 DIGITAL INPUTS Logic Levels VIL VIH IIL IIH –0.3 +2.0 –1 –1 DIGITAL OUTPUTS Data Format Pipeline Delay µs kSPS µs kSPS +3.5 LSB1 Bits LSB % of FSR ppm/°C % of FSR ppm/°C LSB ± 0.5 ± 0.25 90 89 105 –100 90 88.5 30 –92 10 dB3 dB dB dB dB dB dB dB MHz 2 30 5 ns ps ps rms ns 2.5 180 AVDD/2 V µA +0.8 OVDD + 0.3 +1 +1 V V µA µA Parallel or Serial 16-Bit Straight Binary Coding Conversion Results Available Immediately after Completed Conversion 0.4 OVDD – 0.2 ISINK = 1.6 mA ISOURCE = –500 µA –2– V dB µA 2 500 2.25 444 250 2.3 Unit Bits 0 –0.1 In Normal Mode In Normal Mode In Impulse Mode In Impulse Mode SAMPLING DYNAMICS Aperture Delay4 Aperture Delay Matching4 Aperture Jitter4 Transient Response VOL VOH = 2.5 V, AVDD = DVDD = 5 V, OVDD = 2.7 V to 5.25 V, unless Min RESOLUTION ANALOG INPUT Voltage Range Common-Mode Input Voltage Analog Input CMRR Input Current Input Impedance REF V V REV. 0 AD7654 Parameter Conditions POWER SUPPLIES Specified Performance AVDD DVDD OVDD Operating Current6 AVDD DVDD OVDD Power Dissipation Min Typ Max Unit 4.75 4.75 2.25 5 5 5.25 5.25 5.255 V V V 500 kSPS Throughput 15.5 8.5 100 120 2.6 114 500 kSPS Throughput6 10 kSPS Throughput7 444 kSPS Throughput7 125 mA mA µA mW mW mW +85 °C 135 8 TEMPERATURE RANGE Specified Performance TMIN to TMAX –40 NOTES 1 LSB means least significant bit. Within the 0 V to 5 V input range, one LSB is 76.294 µ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 as full-scale input FS. Tested with an input signal at 0.5 dB below full scale unless otherwise specified. 4 Sample tested during initial release. 5 The maximum should be the minimum of 5.25 V and DVDD + 0.3 V. 6 In Normal Mode. 7 In Impulse Mode. 8 Contact factory for extended temperature range. Specifications subject to change without notice. TIMING SPECIFICATIONS (–40C to +85C, AVDD = DVDD = 5 V, OVDD = 2.7 V to 5.25 V, unless otherwise noted.) Parameter Refer to Figures 8 and 9 Convert Pulsewidth 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 Pulsewidth 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 Min t1 5 t2 t3 2/2.25 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 Refer to Figures 10–14 (Parallel Interface Modes) 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 REV. 0 Symbol t16 t17 t18 t19 t20 –3– Typ Max ns 32 µs ns 1.75/2 µs ns ns 1.75/2 µs ns ns ns 2 10 250 10 30 1/1.25 45 0.75 250 30 1.75/2 14 5 Unit 40 15 40 µs ns µs ns ns µs ns ns ns ns AD7654 TIMING SPECIFICATIONS (continued) Parameter Symbol Refer to Figures 15 and 16 (Master Serial Interface Modes) 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) (Normal Mode/Impulse Mode) SYNC Asserted to SCLK First Edge Delay* Internal SCLK Period* Internal SCLK HIGH* Internal SCLK LOW* SDOUT Valid Setup Time* SDOUT Valid Hold Time* SCLK Last Edge to SYNC Delay* 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 Convert (Normal Mode/Impulse Mode) CNVST LOW to SYNC Asserted Delay (Normal Mode/Impulse Mode) SYNC Deasserted to BUSY LOW Delay Min Typ t21 t22 t23 Unit 10 10 10 ns ns ns 250/500 t24 t25 t26 t27 t28 t29 t30 t31 t32 t33 t34 3 23 12 7 4 2 1 ns ns ns ns ns ns ns 40 10 10 10 ns ns ns See Table I t35 t36 t37 Refer to Figures 17 and 18 (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 Max µs ns 0.75/1 25 t38 t39 t40 t41 t42 t43 t44 5 3 5 5 25 10 10 ns ns ns ns ns ns ns 18 *In Serial Master Read during Convert Mode. See Table I for Serial Master Read after Convert Mode. Specifications subject to change without notice. Table I. 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) t25 t26 t26 t27 t28 t29 t30 t31 t35 t35 –4– 0 0 0 1 1 0 1 1 Unit 3 25 40 12 7 4 2 1 3.25 3.5 17 50 70 22 21 18 4 3 4.25 4.5 17 100 140 50 49 18 30 30 6.25 6.5 17 200 280 100 99 18 80 80 10.75 11 ns ns ns ns ns ns ns ns µs µs REV. 0 AD7654 ABSOLUTE MAXIMUM RATINGS 1 Junction Temperature . . . . . . . . . . . . . . . . . . . . . . . . . . 150°C Storage Temperature Range . . . . . . . . . . . . . –65°C to +150°C Lead Temperature Range (Soldering 10 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . . 300°C Analog Input INAx2, INBx2, REFx, INxN, 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 1.6mA NOTES 1 Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 2 See Analog Input section. 3 Specification is for device in free air: 48-Lead LQFP: JA = 91°C/W, JC = 30°C/W. 4 Specification is for device in free air: 48-Lead LFCSP: JA = 26°C/W. IOL 2V 0.8V tDELAY TO OUTPUT PIN tDELAY 1.4V CL 60pF* 2V 0.8V 500A 2V 0.8V Figure 2. Voltage Reference Levels for Timing 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. Figure 1. Load Circuit for Digital Interface Timing, SDOUT, SYNC, SCLK Outputs, CL = 10 pF ORDERING GUIDE Model Temperature Range Package Description Package Option AD7654AST AD7654ASTRL AD7654ACP AD7654ACPRL EVAL-AD7654CB1 EVAL-CONTROL BRD22 –40°C to +85°C –40°C to +85°C –40°C to +85°C –40°C to +85°C Quad Flatpack (LQFP) Quad Flatpack (LQFP) Chip Scale Package (LFCSP) Chip Scale Package (LFCSP) Evaluation Board Controller Board ST-48 ST-48 CP-48 CP-48 NOTES 1 This board can be used as a standalone evaluation board or in conjunction with the EVAL-CONTROL BRD2 for evaluation/demonstration purposes. 2 This board allows a PC to control and communicate with all Analog Devices evaluation boards ending in the CB designators. 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 AD7654 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. 0 –5– AD7654 REF REFGND INB1 INBN INB2 REFB REFA INA2 INAN INA1 AGND AGND PIN CONFIGURATION 48 47 46 45 44 43 42 41 40 39 38 37 AGND 1 AVDD 2 PIN 1 IDENTIFIER 36 DVDD 35 A0 3 34 CNVST PD BYTESWAP 4 33 RESET A/B 5 DGND 6 32 CS 31 RD 30 AD7654 TOP VIEW (Not to Scale) IMPULSE 7 SER/PAR 8 D0 9 29 EOC BUSY 28 D15 D1 10 27 D14 D2/DIVSCLK[0] 11 26 D13 D3/DIVSCLK[1] 12 25 D12 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 PIN FUNCTION DESCRIPTIONS Pin No. Mnemonic Type Description 1, 47, 48 AGND P Analog Power Ground Pin 2 AVDD P Input Analog Power Pin. Nominally 5 V. 3 A0 DI 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. 4 BYTESWAP DI 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]. 5 A/B DI 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 B. 6, 20 DGND P Digital Power Ground 7 IMPULSE DI Mode Selection. When HIGH, this input selects a reduced power mode. In this mode, the power dissipation is approximately proportional to the sampling rate. 8 SER/PAR DI 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. 9, 10 D[0:1] DO Bit 0 and Bit 1 of the Parallel Port Data Output Bus. When SER/PAR is HIGH, these outputs are in high impedance. 11, 12 D[2:3] or DI/O When SER/PAR is LOW, these outputs are used as Bit 2 and Bit 3 of the Parallel Port Data Output Bus. DIVSCLK[0:1] 13 D[4] or EXT/INT 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. DI/O 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 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. –6– REV. 0 AD7654 Pin No. Mnemonic Type Description 14 D[5] DI/O When SER/PAR is LOW, this output is used as Bit 5 of the Parallel Port Data Output Bus. or INVSYNC 15 D[6] 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. DI/O or INVSCLK 16 D[7] 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. 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 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. 17 OGND P Input/Output Interface Digital Power Ground 18 OVDD P Input/Output Interface Digital Power. Nominally at the same supply as the supply of the host interface (5 V or 3 V). 19, 36 DVDD P Digital Power. Nominally at 5 V. 21 D[8] DO When SER/PAR is LOW, this output is used as Bit 8 of the Parallel Port Data Output Bus. or SDOUT 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. 22 D[9] DI/O or SCLK 23 D[10] or SYNC 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. DO 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. REV. 0 –7– AD7654 PIN FUNCTION DESCRIPTIONS (continued) Pin No. Mnemonic Type Description 24 D[11] DO When SER/PAR is LOW, this output is used as Bit 11 of the Parallel Port Data Output Bus. or RDERROR 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. 25–28 D[12:15] DO Bit 12 to Bit 15 of the Parallel Port Data Output Bus. When SER/PAR is HIGH, these outputs are in high impedance. 29 BUSY DO Busy Output. Transitions HIGH when a conversion is started and remains HIGH until the two conversions are complete and the data are latched into the on-chip shift register. The falling edge of BUSY can be used as a data ready clock signal. 30 EOC DO End of Convert Output. Goes LOW at each channel conversion. 31 RD DI Read Data. When CS and RD are both LOW, the interface parallel or serial output bus is enabled. 32 CS DI 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. 33 RESET DI 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. 34 PD DI Power-Down Input. When set to a logic HIGH, power consumption is reduced and conversions are inhibited after the current one is completed. 35 CNVST DI 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 sampleand-hold is put into the hold state and a conversion is immediately started. 37 REF AI This input pin is used to provide a reference to the converter. 38 REFGND AI Reference Input Analog Ground 39, 41 INB1, INB2 AI Analog Inputs 40, 45 INBN, INAN AI Analog Inputs Ground Senses. Allow to sense each channel ground independently. 42, 43 REFB, REFA AI These inputs are the references applied to channel A and channel B, respectively. 44, 46 INA2, INA1 NOTES AI = Analog Input DI = Digital Input DI/O = Bidirectional Digital DO = Digital Output P = Power –8– REV. 0 AD7654 DEFINITION OF SPECIFICATIONS Integral Nonlinearity Error (INL) Effective Number of Bits (ENOB) ENOB is 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. ( and is expressed in bits. 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. 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. 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. Full-Scale Error The last transition (from 111 . . . 10 to 111 . . . 11) should occur for an analog voltage 1 1/2 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. Signal-to-(Noise+Distortion) Ratio (S/[N+D]) S/(N+D) 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 S/(N+D) is expressed in decibels. 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 Aperture delay is a measure of the acquisition performance and is measured from the falling edge of the CNVST input to when the input signals are held for a conversion. Spurious-Free Dynamic Range (SFDR) The difference, in decibels, between the rms amplitude of the input signal and the peak spurious signal. REV. 0 ) ENOB = S [ N + D ]dB − 1.76) 6.02 Transient Response The time required for the AD7654 to achieve its rated accuracy after a full-scale step function is applied to its input. –9– AD7654–Typical Performance Characteristics 3 5 4 2 3 1 1 DNL – LSD INL – LSB 2 0 –1 0 –1 –2 –3 –2 –4 –5 –3 0 16384 32768 CODE 65535 49152 TPC 1. Integral Nonlinearity vs. Code 0 16384 32768 CODE 49152 65535 TPC 4. Differential Nonlinearity vs. Code 10000 8000 9366 7288 7220 9000 7000 8000 6000 7000 COUNTS 4000 3000 6000 5000 4000 3411 3299 3000 2000 2000 953 1000 903 1000 0 0 14 6 0 0 0 7FBF 7FC0 7FC1 7FC2 7FC3 7FC4 7FC5 7FC6 7FC7 7FC8 CODE IN HEXA TPC 2. Histogram of 16,384 Conversions of a DC Input at the Code Transition 0 176 0 132 0 0 7FBF 7FC0 7FC1 7FC2 7FC3 7FC4 7FC5 7FC6 7FC7 CODE IN HEXA TPC 5. Histogram of 16,384 Conversions of a DC Input at the Code Center 5 96 –98 93 –100 8192 POINT FFT fS = 500kHz 4 fIN = 100kHz, –0.5dB SNR = 89.9dB S/[N+D] = 89.4dB THD = –99.3dB SFDR = 101.6dB 3 2 THD SNR – dB 1 0 –1 –102 90 SNR THD – dB 0 AMPLITUDE – dB of Full Scale COUNTS 5000 –2 –104 87 –3 –4 –5 0 25 50 75 100 125 150 175 200 225 84 –55 250 FREQUENCY – kHz TPC 3. FFT Plot –35 –15 5 25 45 65 TEMPERATURE – ⴗC 85 105 –106 125 TPC 6. SNR, THD vs. Temperature –10– REV. 0 AD7654 100 16.0 95 15.5 10 6 SNR S/[N+D] 85 14.5 ENOB 80 14.0 75 13.5 FULL-SCALE ERROR 4 15.0 2 LSB 90 ENOB – Bits SNR AND S/[N+D] – dB 8 0 –2 ZERO ERROR –4 –6 –8 70 1 13.0 1000 10 100 FREQUENCY – kHz –10 –55 TPC 7. SNR, S/(N+D), and ENOB vs. Frequency 65 5 25 45 TEMPERATURE – ⴗC –15 85 105 125 TPC 10. Full-Scale and Zero Error vs. Temperature 100 92 NORMAL AVDD 10 OPERATING CURRENCY – mA SNR (REFERRED TO FULL SCALE – dB –35 SNR 90 S/[N+D] 88 NORMAL DVDD 1 IMPULSE AVDD 0.1 IMPULSE DVDD 0.01 0.001 OVDD 2.7V 86 –60 –50 –40 –30 –20 INPUT LEVEL – dB –10 0 115 –65 110 50 SNR (REFERRED TO FULL SCALE – dB –60 SFDR –70 105 –75 100 –80 95 –85 90 CROSSTALK B TO A 85 –95 CROSSTALK A TO B –100 THD 80 THIRD HARMONIC 75 70 –105 SECOND HARMONIC –110 –115 1 10 100 FREQUENCY – kHz 65 60 1000 OVDD = 2.7V @85ⴗC 40 OVDD = 2.7V @25ⴗC OVDD = 5V @85ⴗC 30 OVDD = 5V @25ⴗC 20 10 0 TPC 9. THD, Harmonics, Crosstalk, and SFDR vs. Frequency REV. 0 1000 TPC 11. Operating Currents vs. Sample Rate SFDR – dB THD, HARMONICS, CROSSTALK – dB TPC 8. SNR and S/(N+D) vs. Input Level (Referred to Full Scale) –90 100 10 SAMPLING RATE – kSPS 1 0 50 100 CL – pF 150 200 TPC 12. Typical Delay vs. Load Capacitance CL –11– AD7654 CIRCUIT INFORMATION Table I. Output Codes and Ideal Input Voltages The AD7654 is a very fast, low power, single-supply, precise simultaneous sampling 16-bit analog-to-digital converter (ADC). The AD7654 provides the user with two on-chip track-and-hold, successive approximation ADCs that do not exhibit any pipeline or latency, making it ideal for multiple multiplexed channel applications. The AD7654 can be also used as a 4-channel ADC with two pairs simultaneously sampled. 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 48-lead LQFP or tiny 48-lead LFCSP packages that combine space savings and allow flexible configurations as either a serial or parallel interface. The AD7654 is pin-to-pin-compatible with PulSAR ADCs. Modes of Operation Description Analog Input VREF = 2.5 V Digital Output Code (Hexa) FSR –1 LSB FSR – 2 LSB Midscale + 1 LSB Midscale Midscale – 1 LSB –FSR + 1 LSB –FSR 4.999924 V 4.999847 V 2.500076 V 2.5 V 2.499924 V –76.29 µV 0V FFFF1 FFFE 8001 8000 7FFF 0001 00002 NOTES 1 This is also the code for overrange analog input (V INx – VINxN above 2 × (VREF – VREFGND)). 2 This is also the code for underrange analog input (V INx below VINxN). TYPICAL CONNECTION DIAGRAM The AD7654 features two modes of operation, Normal and Impulse. Each of these modes is more suitable for specific applications. The 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. Figure 5 shows a typical connection diagram for the AD7654. Different circuitry shown on this diagram is optional and is discussed below. Analog Inputs Figure 4 shows a simplified analog input section of the AD7654. 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 10 kSPS, for example, it typically consumes only 2.6 mW. This feature makes the AD7654 ideal for battery-powered applications. AVDD RA = 500 INAx CS Transfer Functions CS The AD7654 data format is straight binary. The ideal transfer characteristic for the AD7654 is shown in Figure 3 and Table I. INBx RB = 500 ADC CODE – Straight Binary AGND Figure 4. Simplified Analog Input 111...111 111...110 111...101 The diodes shown in Figure 4 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 will cause 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 buffer’s (U1) or (U2) supplies are different from AVDD. In such case, an input buffer with a short-circuit current limitation can be used to protect the part. 000...010 000...001 000...000 –FS –FS+1 LSB –FS+0.5 LSB +FS–1 LSB +FS–1.5 LSB ANALOG INPUT Figure 3. ADC Ideal Transfer Function 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. –12– REV. 0 AD7654 DVDD ANALOG SUPPLY (5V) 30 + NOTE 6 100nF 10F AD780 AVDD 2.5V REF REF A/ REF B/ REF 1M C 50k + REF NOTE 1 100nF 1F DIGITAL SUPPLY (3.3V OR 5V) + 10F AGND 100nF DGND DVDD 100nF OVDD + 10F OGND SERIAL PORT SCLK SDOUT NOTE 2 REFGND NOTE 3 50 NOTE 4 ANALOG INPUT A BUSY – U1 + AD8021 15 CC CNVST INAx C/P/DSP 50 D NOTE 7 2.7nF AD7654 NOTE 5 INAN SER/PAR DVDD A/B 50 A0 NOTE 4 ANALOG INPUT B – U2 + AD8021 15 CC CS INBx CLOCK RD BYTESWAP 2.7nF RESET NOTE 5 PD INBN 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. THE AD8021 IS RECOMMENDED. SEE DRIVER AMPLIFIER CHOICE SECTION. 5. SEE ANALOG INPUT SECTION. 6. OPTION, SEE POWER SUPPLY SECTION. 7. OPTIONAL LOW JITTER CNVST. SEE CONVERSION CONTROL SECTION. Figure 5. Typical Connection Diagram (Serial Interface) During the acquisition phase, for ac signals, the AD7654 behaves like a one-pole RC filter consisted 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 resistor 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 effect and limits the noise coming from the inputs. depends on the amount of total harmonic distortion (THD) that can be tolerated. The THD degrades with increase of the source impedance. Driver Amplifier Choice Although the AD7654 is easy to drive, the driver amplifier needs to meet at least the following requirements: Because the input impedance of the AD7654 is very high, the AD7654 can be driven directly by a low impedance source without gain error. As shown in Figure 5 that allows the user to put 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 AD7654 analog input circuit. However, the source impedance has to be kept low because it affects the ac performance, especially the total harmonic distortion. The maximum source impedance REV. 0 –13– • The driver amplifier and the AD7654 analog input circuit together have to 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 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 of up to 13. AD7654 • 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 one-pole low-pass filter made by RA, RB, and CS. The SNR degradation due to the amplifier is: SNRLOSS 56 = 20 log π 2 562 + f –3 dB ( N eN ) 2 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. 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 5. 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 latchup. Additionally, it is very insensitive to power supply variations over a wide frequency range, as shown in Figure 6. 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). eN is the equivalent input noise voltage of the op amp in nV/√Hz1/2. 70 For instance, a driver with an equivalent input noise of 2 nV/√Hz like the AD8021 and configured as a buffer, thus with a noise gain of +1, will degrade the SNR by only 0.03 dB with the filter in Figure 5, and 0.09 dB without. 65 PSRR – dB 60 • The driver needs to have a THD performance suitable to that of the AD7654. 55 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. 50 The AD8022 could be used where a dual version is needed and a gain of 1 is used. 40 45 1 10 100 1000 10000 FREQUENCY – kHz 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 AD8610 is another option where low bias current is needed in low frequency applications. Voltage Reference Input The AD7654 requires an external 2.5 V reference. The reference input should be applied to 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. 47 µF is an appropriate value for the tantalum capacitor when using one of the recommended reference voltages: Figure 6. 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 7. This feature makes the AD7654 ideal for very low power battery applications. 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. • The low noise, low temperature drift AD780 voltage reference • The low cost AD1582 voltage reference For applications using multiple AD7654s, it is more effective to buffer the reference voltage using the internal buffer. Each ADC should be decoupled individually. –14– REV. 0 AD7654 POWER DISSIPATION – mW 1000 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 AD7654 could sometimes run slightly faster than the guaranteed limits in the Impulse mode of 444 kSPS. This feature does not exist in Normal mode. NORMAL 100 IMPULSE 10 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 5. 1 0.1 100 10 SAMPLING RATE – kSPS 1 1000 t9 Figure 7. Power Dissipation vs. Sample Rate RESET CONVERSION CONTROL Figure 8 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. The A0 signal is the MUX select signal that chooses which input signal will be sampled. When high, INx1 is chosen and when low, INx2 is chosen, where x is either A or B. It should be noted that this signal should not be changed during the acquisition phase of the converter. BUSY DATA BUS t8 CNVST Figure 9. Reset Timing t2 t1 DIGITAL INTERFACE 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 A0 t3 BUSY t4 t 10 EOC t5 MODE ACQUIRE t 13 t 11 t 12 t6 CONVERT B CONVERT A t7 ACQUIRE CONVERT t8 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 8. Conversion Control 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. By keeping CNVST low, the AD7654 keeps the REV. 0 –15– AD7654 CS = RD = 0 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. t1 CNVST t 16 The BYTESWAP pin allows a glueless interface to an 8-bit bus. As shown in Figure 13, 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]. BUSY t4 t3 t 17 EOC t 10 DATA BUS PREVIOUS CHANNEL A OR B PREVIOUS CHANNEL B OR NEW A NEW A OR B Figure 10. Master Parallel Data Timing for Reading (Continuous Read) CS RD CS BYTE RD PINS D[15:8] HI-Z HIGH BYTE LOW BYTE HI-Z BUSY t18 CURRENT CONVERSION DATA BUS t18 PINS D[7:0] t19 t19 HI-Z RD t1 t 12 t 10 A/B t 13 t 11 DATA BUS BUSY HI-Z CHANNEL A t18 t4 t3 CHANNEL B HI-Z t20 Figure 14. A/B Channel Reading PREVIOUS CONVERSION DATA BUS HIGH BYTE CS CS = 0 EOC t18 LOW BYTE Figure 13. 8-Bit Parallel Interface Figure 11. Slave Parallel Data Timing for Reading (Read after Convert) CNVST, RD HI-Z t 18 The detailed functionality of A/B is explained in Figure 15. When high, the data from channel A is available on the data bus. When low, the data bus now carries output from channel B. Note that channel A can be read immediately after conversion is done (EOC), while channel B is still in its converting phase. t 19 Figure 12. Slave Parallel Data Timing for Reading (Read during Convert) PARALLEL INTERFACE SERIAL INTERFACE The AD7654 is configured to use the parallel interface (Figure 10) 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 other channel’s conversion, or during the following conversion as shown, respectively, in Figures 11 and 12. When the data is read during the conversion, however, it is recommended 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 controlled by A/B. When high, channel A is output first; when low, channel B is output first. Unlike in parallel –16– REV. 0 AD7654 mode, channel A data is updated only after channel B conversion. This data is synchronized with the 32 clock pulses provided on the SCLK pin. between digital activity and the critical conversion decisions. The SYNC signal goes low after the LSB of each channel has been output. MASTER SERIAL INTERFACE Internal Clock SLAVE SERIAL INTERFACE External 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. 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 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 17 and 18 show the detailed timing diagrams of these methods. Figures 15 and 16 show the detailed timing diagrams of these two modes. Usually, because the AD7654 is used with a fast throughput, the mode Master Read during Conversion is the most recommended serial mode when it can be used. In Read-after-Conversion Mode, it should be noted that 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 this mode is that it can accommodate slow digital hosts because the serial clock can be slowed down by using DIVSCLK. In Read-during-Conversion Mode, the serial clock and data toggle at appropriate instants, which minimizes potential feedthrough RDC/SDIN = 0 EXT/INT = 0 CS, RD 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 is toggling only when BUSY is low or, more importantly, that it does not transition during the latter half of EOC high. INVSCLK = INVSYNC = 0 A/B = 1 t3 CNVST t35 BUSY EOC t12 t13 t37 t36 t32 SYNC t25 t26 t21 t27 SCLK t31 t28 1 2 CH A D15 CH A D14 16 17 t33 30 31 CH B D2 CH B D1 32 t22 t34 X SDOUT t23 t29 CH B D0 t30 Figure 15. Master Serial Data Timing for Reading (Read after Convert) REV. 0 –17– AD7654 EXT/INT = 0 CS, RD INVSCLK = INVSYNC = 0 RDC/SDIN = 1 A/B = 1 t1 CNVST t3 BUSY t 12 EOC t 10 t 13 t 11 t 24 t 32 SYNC t 21 t 26 t 27 t 28 SCLK t 31 t 33 t 22 1 2 CH A D15 CH A D14 1 2 CH B D15 CH B D14 16 16 t 25 t 34 SDOUT X t 23 CH A D0 CH B D0 t 30 t 29 Figure 16. Master Serial Data Timing for Reading (Read Previous Conversion during Convert) RD = 0 INVSCLK = 0 EXT/INT = 1 A/B = 1 CS EOC BUSY t 42 t 43 t 44 1 SCLK 2 t 38 3 30 31 32 33 34 t 39 X SDOUT t 23 CH A D15 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 t 41 X CH A D15 SDIN t 40 Figure 17. Slave Serial Data Timing for Reading (Read after Convert) –18– REV. 0 AD7654 RD = 0 INVSCLK = 0 EXT/INT = 1 A/B = 1 CS t 10 CNVST t 12 t 13 t 11 EOC BUSY t3 t 42 t 43 t 44 SCLK 1 t 38 3 31 32 t 39 X SDOUT 2 CH A D15 CH A D14 CH A D13 CH B D1 CH B D0 t 23 Figure 18. Slave Serial Data Timing for Reading (Read Previous Conversion during Convert) External Discontinuous Clock Data Read after Conversion External Clock Data Read during Conversion This mode is the most recommended of the serial slave modes. Figure 18 shows the detailed timing diagrams of this method. After a conversion is complete, indicated by BUSY returning low, the results of this conversion can be read while both CS and RD are low. The data from both channels are shifted out, MSB first, with 32 clock pulses, and is valid on both rising and falling edge of the clock. Figure 18 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 rising and falling edges of the clock. The 32 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. One advantage of this method is that 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 AD7654 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 it is desired, as it is for instance, in isolated multiconverters applications. To reduce performance degradation due to digital activity, a fast discontinuous clock 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. An example of the concatenation of two devices is shown in Figure 19. Simultaneous sampling is possible by using a common CNVST signal. It should be noted 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. REV. 0 –19– AD7654 ground planes that can be easily separated. Digital and analog ground planes should be joined in only one place, preferably underneath the AD7654, or, at least 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 one point only, a star ground point that should be established as close as possible to the AD7654. BUSY OUT BUSY BUSY AD7654 AD7654 #2 (UPSTREAM) #1 (DOWNSTREAM) RDC/SDIN SDOUT RDC/SDIN SDOUT CNVST DATA OUT CNVST CS CS SCLK SCLK SCLK IN CS IN CNVST IN Figure 19. Two AD7654s in a Daisy-Chain Configuration MICROPROCESSOR INTERFACING 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 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. SPI Interface (ADSP-219x) Figure 19 shows an interface diagram between the AD7654 and an SPI-equipped DSP, 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 are read with two SPI 16-bit wide access. The reading process could be initiated in response to the end-of-conversion signal (BUSY going low) using an interrupt line of the DSP. The Serial Peripheral Interface (SPI) on the ADSP-219x is configured for master mode (MSTR) = 1, Clock Polarity Bit (CPOL) = 0, and Clock Phase Bit (CPHA) = 1 by writing to the SPI Control Register (SPICLTx). 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 20. Interfacing the AD7654 to SPI Interface 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 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 will reduce the effect of feedthrough through the board. 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’s 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. The DVDD supply of the AD7654 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 that if no separate supply is available, the DVDD digital supply should be connected to the analog supply AVDD through an RC filter, as shown in Figure 5, and the system supply should be connected 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. The AD7654 has four different ground pins: REFGND, AGND, DGND, and OGND. 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 AD7654’s Performance APPLICATION HINTS Layout The AD7654 has very good immunity to noise on the power supplies, as seen in Figure 5. However, care should still be taken with regard to grounding layout. A recommended layout for the AD7654 is outlined in the documentation of the evaluation board for the AD7654. 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 BRD2. 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 –20– REV. 0 AD7654 OUTLINE DIMENSIONS 48-Lead Plastic Quad Flatpack [LQFP] 1.4mm Thick (ST-48) Dimensions shown in millimeters 1.60 MAX PIN 1 INDICATOR 0.75 0.60 0.45 9.00 BSC 37 48 36 1 1.45 1.40 1.35 SEATING PLANE 0.20 0.09 0.15 0.05 SEATING PLANE 7.00 BSC TOP VIEW (PINS DOWN) VIEW A 7 3.5 0 0.08 MAX COPLANARITY 25 12 24 13 0.27 0.22 0.17 0.50 BSC VIEW A ROTATED 90 CCW COMPLIANT TO JEDEC STANDARDS MS-026BBC 48-Lead Frame Chip Scale Package [LFCSP] (CP-48) Dimensions shown in millimeters 7.00 BSC SQ 0.60 MAX 0.60 MAX 37 6.75 BSC SQ TOP VIEW 0.25 REF 48 1 12 25 24 13 5.50 REF 0.70 MAX 0.65 NOM 0.05 MAX 0.02 NOM 0.50 BSC SEATING PLANE COPLANARITY 0.08 COMPLIANT TO JEDEC STANDARDS MO-220-VKKD-2 REV. 0 5.25 4.70 SQ 2.25 BOTTOM VIEW 0.50 0.40 0.30 12 MAX PIN 1 INDICATOR 36 PIN 1 INDICATOR 1.00 0.90 0.80 0.30 0.23 0.18 –21– –22– –23– –24– PRINTED IN U.S.A. C03057–0–10/02(0)