PRELIMINARY TECHNICAL DATA a Preliminary Technical Data FEATURES Specified for VDD of 3 V and 5 V Low Power at max Throughput Rate: 7 mW typ at 555kSPS with 3 V Supplies 3 mW typ at 555kSPS with 5 V Supplies Fully Differential Analog Input Wide Input Bandwidth: 70dB SINAD at 100kHz Input Frequency Flexible Power/Serial Clock Speed Management No Pipeline Delays High Speed Serial Interface - SPI TM /QSPI TM / MICROWIRE T M / DSP Compatible Power-Down Mode: 1µA max 8 Lead SOT-23 and MSOP Packages APPLICATIONS Transducer Interface Battery Powered Systems Data Acquisition Systems Portable Instrumentation Motor Control Communications Differential Input, 555kSPS, 12-Bit ADC in an 8-lead SOT-23 AD7452 FUNCTIONAL BLOCK DIAGRAM VDD VIN+ T/H VIN- 12-BIT SUCCESSIVE APPROXIMATION ADC VREF SCLK AD7452 CONTROL LOGIC SDATA +5 GND GENERAL DESCRIPTION The AD7452 is a 12-bit, low power, successive-approximation (SAR) analog-to-digital converter that features a fully differential analog input. This part operates from a single 3 V or 5 V power supply and features throughput rates up to 555kSPS. The part contains a low-noise, wide bandwidth, differential track and hold amplifier (T/H) which can handle input frequencies in excess of 1MHz with the -3dB point being 20MHz typically. The reference voltage is applied externally to the VREF pin and can be varied from 100 mV to 3.5 V depending on the power supply and what suits the application. The value of the reference voltage determines the common mode voltage range of the part. With this truly differential input structure and variable reference input, the user can select a variety of input ranges and bias points. The conversion process and data acquisition are controlled using CS and the serial clock allowing the device to interface with Microprocessors or DSPs. The input signals are sampled on the falling edge of CS and the conversion is also initiated at this point. The SAR architecture of these parts ensures that there are no pipeline delays. The AD7452 uses advanced design techniques to achieve very low power dissipation. PRODUCT HIGHLIGHTS 1.Operation with either 3 V or 5 V power supplies. 2.Low Power Consumption. With a 3V supply, the AD7452 offers 3 mW typ power consumption for 555kSPS throughput. 3.Fully Differential Analog Input. 4.Flexible Power/Serial Clock Speed Management. The conversion rate is determined by the serial clock, allowing the power to be reduced as the conversion time is reduced through the serial clock speed increase. These parts also feature a shutdown mode to maximize power efficiency at lower throughput rates. 5.Variable Voltage Reference Input. 6.No Pipeline Delay. 7.Accurate control of the sampling instant via a CS input and once off conversion control. 8. ENOB > 8 Bits typically for a 100mV reference. MICROWIRE is a trademark of National Semiconductor Corporation. SPI and QSPI are trademarks of Motorola, Inc. REV. PrD 5 March 03 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 which 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 World Wide Web Site: http://www.analog.com Fax: 781/326-8703 © Analog Devices, Inc., 2003 PRELIMINARY TECHNICAL DATA ( VDD = 2.7V to 3.6V, fSCLK = 10MHz, fS = 555kSPS, VREF = 2.0 V; VDD = 4.75V to 5.25V, fSCLK = 10MHz, fS = 555kSPS, VREF = 2.5 V; VCM 3 = VREF; TA = TMIN to TMAX, unless otherwise noted.) 1 AD7452 - SPECIFICATIONS Parameter Test Conditions/Comments DYNAMIC PERFORMANCE Signal to (Noise + Distortion) (SINAD) 2 F IN = 100kHz Total Harmonic Distortion (THD) 2 Peak Harmonic or Spurious Noise2 Intermodulation Distortion (IMD) 2 Second Order Terms Third Order Terms Aperture Delay 2 Aperture Jitter2 Full Power Bandwidth2 DC ACCURACY Resolution Integral Nonlinearity (INL) 2 Differential Nonlinearity (DNL) 2 Zero Code Error 2 Positive Gain Error 2 Negative Gain Error2 ANALOG INPUT Full Scale Input Span Absolute Input Voltage V IN+ V INDC Leakage Current Input Capacitance REFERENCE INPUT V REF Input Voltage VDD VDD VDD VDD VDD VDD = = = = = = 4.75V to 5.25V 2.7V to 3.6V 4.75V to 5.25V, -80dB typ 2.7V to 3.6V, -78dB typ 4.75V to 5.25V, -82dB typ 2.7V to 3.6V, -80dB typ @ -3 dB @ -0.1 dB Guaranteed No Missed Codes to 12 Bits. VDD = 4.75V to 5.25V VDD = 2.7V to 3.6V VDD = 4.75V to 5.25V VDD = 2.7V to 3.6V VDD = 4.75V to 5.25V VDD = 2.7V to 3.6V 2 x VREF4 B Version1 Unit 70 68 -75 -73 -75 -73 dB dB dB dB dB dB -85 -85 10 50 20 2.5 dB typ dB typ ns typ ps typ MHz typ MHz typ 12 ±1 Bits LSB max ±1 ±3 ±6 ±3 ±6 ±3 ±6 LSB LSB LSB LSB LSB LSB LSB VIN+ - VIN VCM3 ± VREF/2 VCM3 ± VREF/2 ±1 20 6 VCM = VREF VCM = VREF When in Track When in Hold VDD = 4.75V to 5.25V (±1% tolerance for specified performance) VDD = 2.7V to 3.6V (±1% tolerance for specified performance) min min max max max max max max max max max max max V V V µA max pF typ pF typ 2.5 5 V DC Leakage Current VREF Input Capacitance 2.0 6 ±1 15 V µA max pF typ LOGIC INPUTS Input High Voltage, VINH Input Low Voltage, VINL Input Current, IIN Input Capacitance, CIN7 2.4 0.8 ±1 10 V min V max µA max pF max 2.8 V min LOGIC OUTPUTS Output High Voltage, VOH Output Low Voltage, VOL Floating-State Leakage Current Floating-State Output Capacitance 7 Output Coding REV. PrD Typically 10nA, VIN = 0VorVDD VDD = 4.75V to 5.25V; ISOURCE = 200µA VDD = 2.7V to 3.6V; ISOURCE = 200µA I SINK =200µA –2– 2.4 0.4 ±1 10 Two’s Complement V min V max µA max pF max PRELIMINARY TECHNICAL DATA AD7452 - SPECIFICATIONS1 Parameter CONVERSION RATE Conversion Time Track/Hold Acquisition Time 2, Test Conditions/Comments 7 1.6µs with an 10MHz SCLK Sine Wave Input Step Input Throughput Rate 9 POWER REQUIREMENTS V DD I DD8,10 Normal Mode(Static) Normal Mode (Operational) Full Power-Down Mode Power Dissipation Normal Mode (Operational) Full Power-Down Range: 3 V+20%/-10%; 5 V ± 5% SCLK On or Off VDD = 4.75V to 5.25V. 1.38mW typ for 100ksps VDD = 2.7V to 3.6V. 0.53mW typ for 100ksps SCLK On or Off VDD VDD VDD VDD =5 =3 =5 =3 V. V. V. SCLK On or Off V. SCLK On or Off NOTES 1 Temperature ranges as follows: B Version: –40°C to +85°C. 2 See ‘Terminology’ section. 3 Common Mode Voltage. The input signal can be centered on any choice specified in Figures 9 and 10. 4 Because the input spans of V IN+ and V IN- are both V REF, and they are 180° 5 The AD7452 is functional with a reference input from100mV and for V DD 6 The AD7452 is functional with a reference input from100mV and for V DD 7 Sample tested @ +25°C to ensure compliance. 8 See POWER VERSUS THROUGHPUT RATE section. 9 See ‘Serial Interface Section’. 10 Measured with a midscale DC input. Specifications subject to change without notice. REV. PrD B Version1 Units 16 200 TBD 555 SCLK cycles ns max ns max kSPS max 2.7/5.25 Vmin/max 0.5 mA typ 1.8 mA max 1.25 1 mA max µA max 9 3.75 5 3 mW max mW max µW max µW max of dc Common Mode Voltage as long as this value is in the range out of phase, the differential voltage is 2 x VREF. = 5V, the reference can range up to 3.5V. = 3V, the reference range up to 2.2V. –3– PRELIMINARY TECHNICAL DATA AD7452 TIMING SPECIFICATIONS 1,2 Parameter fSCLK 4 t CONVERT t QUIET t1 t2 t 35 t 45 t5 t6 t7 t 86 t POWER-UP 7 Limit at TMIN, TMAX 2.7V -3.6V 4.75V -5.25V ( VDD = 2.7V to 3.6V, fSCLK = 10MHz, fS = 555kSPS, VREF = 2.0 V; VDD = 4.75V to 5.25V, fSCLK = 10MHz, fS = 555kSPS, VREF = 2.5 V; VCM 3 = VREF; TA = TMIN to TMAX, unless otherwise noted.) Units Description 10 10 16 x tSCLK 1.6 25 10 10 16 x tSCLK 1.6 25 kHz min MHz max µs max ns min 10 10 20 40 0.4 tSCLK 0.4 tSCLK 10 10 35 1 10 10 20 40 0.4 tSCLK 0.4 tSCLK 10 10 35 1 ns ns ns ns ns ns ns ns ns µs tSCLK = 1/fSCLK Minimum Quiet Time between the End of a Serial Read and the Next Falling Edge of CS Minimum CS Pulsewidth CS falling Edge to SCLK Falling Edge Setup Time Delay from CS Falling Edge Until SDATA 3-State Disabled Data Access Time After SCLK Falling Edge SCLK High Pulse Width SCLK Low Pulse Width SCLK Edge to Data Valid Hold Time SCLK Falling Edge to SDATA 3-State Enabled SCLK Falling Edge to SDATA 3-State Enabled Power-Up Time from Full Power-Down min min max max min min min min max max NOTES 1 Sample tested at +25°C to ensure compliance. All input signals are specified with tr = tf = 5 ns (10% to 90% of VDD) and timed from a voltage level of 1.6 Volts. 2 See Figure 1 and the ‘Serial Interface’ section. 3 Common Mode Voltage. 4 Mark/Space ratio for the SCLK input is 40/60 to 60/40. 5 Measured with the load circuit of Figure 2 and defined as the time required for the output to cross 0.8 V or 2.4 V with V DD = 5 V and time for an output to cross 0.4 V or 2.0 V for VDD = 3 V. 6 t 8 is derived from the measured time taken by the data outputs to change 0.5 V when loaded with the circuit of Figure 2. The measured number is then extrapolated back to remove the effects of charging or discharging the 50 pF capacitor. This means that the time, t 8, quoted in the timing characteristics is the true bus relinquish time of the part and is independent of the bus loading. 7 See ‘Power-up Time’ Section. Specifications subject to change without notice. t1 +5 t t2 CONVERT t5 SCLK 1 2 3 4 5 13 14 t8 t4 t3 0 16 t6 t7 SDATA 15 0 0 0 DB11 DB10 DB2 DB1 DB0 3-STATE 4 LEADING ZERO’S Figure 1. AD7452 Serial Interface Timing Diagram REV. PrD t QUIET –4– PRELIMINARY TECHNICAL DATA AD7452 ABSOLUTE MAXIMUM RATINGS1 (TA = +25°C unless otherwise noted) 200µA VDD to GND . . . . . . . . . . . . . . . . . . . . . . . . -0.3 V to +7 V VIN+ to GND . . . . . . . . . . . . . . . . . –0.3 V to VDD + 0.3 V –0.3 V to VDD + 0.3 V VIN- to GND . . . . . . . . . . . . . . . Digital Input Voltage to GND . . . . . . . . -0.3 V to +7 V Digital Output Voltage to GND . -0.3 V to VDD + 0.3 V VREF to GND . . . . . . . . . . . . . . . . . -0.3 V to VDD +0.3 V Input Current to Any Pin Except Supplies2 . . . . ±10mA Operating Temperature Range Commercial (B Version) . . . . . . . . . . . -40oC to +85oC Storage Temperature Range . . . . . . . . . -65oC to +150oC Junction Temperature . . . . . . . . . . . . . . . . . . . . . . . +150 o C JA Thermal Impedance . . . . . . . . . . 205.9°C/W (MSOP) 211.5°C/W (SOT-23) JC Thermal Impedance . . . . . . . . . 43.74°C/W (MSOP) 91.99°C/W (SOT-23) Lead Temperature, Soldering Vapor Phase (60 secs) . . . . . . . . . . . . . . . . . . . +215 o C Infared (15 secs) . . . . . . . . . . . . . . . . . . . . . . . +220 o C E S D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1kV IOL TO OUTPUT PIN +1.6V CL 50 pF 200µA IOH Figure 2. Load Circuit for Digital Output Timing Specifications NOTES 1 Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those listed in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 2 Transient currents of up to 100 mA will not cause SCR latch up. ORDERING GUIDE Model AD7452BRT AD7452BRM TBD EVAL-CONTROL BRD2 3 Linearity Error (LSB)1 Range -40°C to +85°C -40°C to +85°C Evaluation Board Controller Board ±1 LSB ±1 LSB Package Option 4 RT-8 RM-8 Branding Information C07 C07 NOTES 1 Linearity error here refers to Integral Non-linearity Error. 2 This can be used as a stand-alone evaluation board or in conjunction with the EVALUATION BOARD CONTROLLER for evaluation/demonstration purposes. 3 EVALUATION BOARD CONTROLLER. This board is a complete unit allowing a PC to control and communicate with all Analog Devices evaluation boards ending in the CB designators. To order a complete Evaluation Kit, you will need to order the ADC evaluation board i.e. TBD, the EVAL-CONTROL BRD2 and a 12V AC transformer. See the TBD technote for more information. 4 RT = SOT-23; RM = MSOP 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 AD7452 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. PrD –5– PRELIMINARY TECHNICAL DATA AD7452 PIN FUNCTION DESCRIPTION Pin Mnemonic V REF V IN+ V INGND CS SDATA SCLK VDD Function Reference Input for the AD7452. An external reference must be applied to this input. For a 5 V power supply, the reference is 2.5 V (±1%) and for a 3 V power supply, the reference is 2V (±1%) for speci fied performance. This pin should be decoupled to GND with a capacitor of at least 0.1µF. See the ‘Reference Section’ for more details. Positive Terminal for Differential Analog Input. Negative Terminal for Differential Analog Input. Analog Ground. Ground reference point for all circuitry on the AD7452. All analog input signals and any external reference signal should be referred to this GND voltage. Chip Select. Active low logic input. This input provides the dual function of initiating a conversion on the AD7452 and framing the serial data transfer. Serial Data. Logic Output. The conversion result from the AD7452 is provided on this output as a serial data stream. The bits are clocked out on the falling edge of the SCLK input. The data stream of the AD7452 consists of four leading zeros followed by the 12 bits of conversion data which are provided MSB first. The output coding is two’s complement. Serial Clock. Logic input. SCLK provides the serial clock for accessing data from the part. This clock input is also used as the clock source for the conversion process. Power Supply Input. VDD is 3 V (+20%/-10%) or 5 V (±5%). This supply should be decoupled to GND with a 0.1µF Capacitor and a 10µF Tantalum Capacitor. PIN CONFIGURATION 8-LEAD SOT-23 VDD 1 SCLK 2 SDATA 3 AD7452 SOT-23 TOP VIEW 8 VREF 7 VIN + 6 VIN - 5 GND (Not to Scale) +5 4 PIN CONFIGURATION 8-lead MSOP VREF 1 VIN + 2 VIN - 3 AD7452 MSOP TOP VIEW 8 VDD 7 SCLK 6 SDATA 5 +5 (Not to Scale) GND 4 –6– REV. PrD PRELIMINARY TECHNICAL DATA AD7452 Aperture Jitter This is the sample to sample variation in the effective point in time at which the actual sample is taken. TERMINOLOGY Signal to (Noise + Distortion) Ratio This is the measured ratio of signal to (noise + distortion) at the output of the ADC. The signal is the rms amplitude of the fundamental. Noise is the sum of all nonfundamental signals up to half the sampling frequency (fS/2), excluding dc. The ratio is dependent on the number of quantization levels in the digitization process; the more levels, the smaller the quantization noise. The theoretical signal to (noise + distortion) ratio for an ideal N-bit converter with a sine wave input is given by: Signal to (Noise + Distortion) = (6.02 N + 1.76) dB Thus for a 12-bit converter, this is 74 dB. Full Power Bandwidth The full power bandwidth of an ADC is that input frequency at which the amplitude of the reconstructed fundamental is reduced by 0.1dB or 3dB for a full scale input. Common Mode Rejection Ratio (CMRR) The Common Mode Rejection Ratio is defined as the ratio of the power in the ADC output at full-scale frequency, f, to the power of a 200mV p-p sine wave applied to the Common Mode Voltage of VIN+ and VIN- of frequency fs: CMRR (dB) = 10log(Pf/Pfs) Total Harmonic Distortion Total harmonic distortion (THD) is the ratio of the rms sum of harmonics to the fundamental. For the AD7450, it is defined as: THD (dB ) = 20 log V2 2 2 2 +V3 +V 4 2 2 +V5 +V 6 V1 where V1 is the rms amplitude of the fundamental and V2, V3, V4, V5 and V6 are the rms amplitudes of the second to the sixth harmonics. Peak Harmonic or Spurious Noise Peak harmonic or spurious noise is defined as the ratio of the rms value of the next largest component in the ADC output spectrum (up to fS/2 and excluding dc) to the rms value of the fundamental. Normally, the value of this specification is determined by the largest harmonic in the spectrum, but for ADCs where the harmonics are buried in the noise floor, it will be a noise peak. Intermodulation Distortion With inputs consisting of sine waves at two frequencies, fa and fb, any active device with nonlinearities will create distortion products at sum and difference frequencies of mfa ± nfb where m, n = 0, 1, 2, 3, etc. Intermodulation distortion terms are those for which neither m nor n are equal to zero. For example, the second order terms include (fa + fb) and (fa – fb), while the third order terms include (2fa + fb), (2fa – fb), (fa + 2fb) and (fa – 2fb). The AD7452 is tested using the CCIF standard where two input frequencies near the top end of the input bandwidth are used. In this case, the second order terms are usually distanced in frequency from the original sine waves while the third order terms are usually at a frequency close to the input frequencies. As a result, the second and third order terms are specified separately. The calculation of the intermodulation distortion is as per the THD specification where it is the ratio of the rms sum of the individual distortion products to the rms amplitude of the sum of the fundamentals expressed in dBs. Pf is the power at the frequncy f in the ADC output; Pfs is the power at frequency fs in the ADC output. Integral Nonlinearity (INL) This is the maximum deviation from a straight line passing through the endpoints of the ADC transfer function. Differential Nonlinearity (DNL) This is the difference between the measured and the ideal 1 LSB change between any two adjacent codes in the ADC. Zero Code Error This is the deviation of the midscale code transition (111...111 to 000...000) from the ideal VIN+-VIN - (i.e., 0LSB). Positive Gain Error This is the deviation of the last code transition (011...110 to 011...111) from the ideal VIN+-VIN- (i.e., +VREF - 1LSB), after the Zero Code Error has been adjusted out. Negative Gain Error This is the deviation of the first code transition (100...000 to 100...001) from the ideal VIN+-VIN - (i.e., -VREF + 1LSB), after the Zero Code Error has been adjusted out. Track/Hold Acquisition Time The track/hold acquisition time is the minimum time required for the track and hold amplifier to remain in track mode for its output to reach and settle to within 0.5 LSB of the applied input signal. Power Supply Rejection PSRR (dB) = 10 log (Pf/Pfs) Pf is the power at frequency f in the ADC output; Pfs is the power at frequency fs in the ADC output. Aperture Delay This is the amount of time from the leading edge of the sampling clock until the ADC actually takes the sample. REV. PrD Ratio (PSRR) The power supply rejection ratio is defined as the ratio of the power in the ADC output at full-scale frequency, f, to the power of a 200mV p-p sine wave applied to the ADC VDD supply of frequency fs. The frequency of this input varies from 1kHz to 1MHz. –7– PRELIMINARY TECHNICAL DATA AD7452 PERFORMANCE CURVES (Default Conditions: TA = 25°C, FS = 555kSPS, FSCLK = 10MHz) 0 6*, 0 0 0 0 0 0 TITLE TITLE TITLE 0 0 0 0 0 6*, 0 0 0 0 0 TITLE TPC 2 shows the Common Mode Rejection Ratio versus VDD supply ripple frequency for both VDD = 5V and 3 V. Here a 200mV p-p sine wave is coupled onto the Common Mode Voltage of VIN+ and VIN-. 0 TITLE 0 TITLE 0 0 TPC 3. PSRR vs. Supply Ripple Frequency without Supply Decoupling TPC 1. SINAD vs Analog Input Frequency for Various Supply Voltages 6*, 0 6*, 0 0 0 0 0 0 0 0 TITLE 0 0 0 TPC 4. PSRR vs. Supply Ripple Frequency with Supply Decoupling of TBD 0 0 0 0 TITLE 0 0 0 TPC 2. CMRR versus Frequency for VDD = 5V and 3 V TPC 3 and TPC 4 shows the Power Supply Rejection Ratio (see Terminology) versus VDD supply ripple frequency for the AD7452 with and without power supply decoupling respectively. –8– REV. PrD PRELIMINARY TECHNICAL DATA AD7452 0 TITLE TITLE 0 6*, 0 0 0 0 0 0 0 TITLE 0 6*, 0 0 0 0 0 0 0 TITLE 0 0 0 TPC 8. Change in DNL vs. VREF for VDD = 5V TPC 5. Dynamic Performance with VDD =5V 0 TITLE TITLE 0 6*, 0 0 0 0 0 0 0 TITLE 0 0 6*, 0 0 0 0 0 TITLE 0 0 0 0 TPC 9. Change in DNL vs. VREF for VDD = 3 V TPC 6. Typical DNL for VDD = 5V 0 TITLE TITLE 0 6*, 0 0 0 0 0 0 0 TITLE 0 0 0 6*, 0 0 0 0 0 TITLE 0 0 0 TPC 10. Change in INL vs. VREF for VDD = 5V TPC 7. Typical INL for VDD = 5V REV. PrD –9– PRELIMINARY TECHNICAL DATA AD7452 0 6*, 0 0 0 0 0 0 TITLE TITLE TITLE 0 0 0 0 0 0 TITLE 0 0 0 0 TITLE 0 0 0 TPC 14. Histogram of 10000 conversions of a DC Input with VDD = 5V TPC 141 Change in INL vs. VREF for VDD = 3 V CIRCUIT INFORMATION The AD7452 is a low power, single supply, 12-bit successive approximation analog-to-digital converter (ADC). It can operate with a 5 V and 3V power supply and is capable of throughput rates up to 555kSPS when supplied with a 10MHz clock. It requires an external reference to be applied to the VREF pin, with the value of the reference chosen depending on the power supply and what suits the application. When operated with a 5 V supply, the maximum reference that can be applied is 3.5 V and when operated with a 3 V supply, the maximum reference that can be applied is 2.2 V. (See ‘Reference Section’). 6*, 0 0 6*, 0 0 0 0 0 TITLE 0 0 0 TPC 12. Change in Zero Code Error vs Reference Voltage VDD = 5V and 3 V 0 The AD7452 has an on-chip differential track and hold amplifier, a successive approximation (SAR) ADC and a serial interface, housed in either an 8-lead SOT-23 or MSOP package. The serial clock input accesses data from the part and also provides the clock source for the successive-approximation ADC. The AD7452 features a power-down option for reduced power consumption between conversions. The power-down feature is implemented across the standard serial interface as described in the ‘Modes of Operation’ section. TITLE CONVERTER OPERATION 6*, 0 0 0 0 0 0 TITLE 0 0 0 The AD7452 is a successive approximation ADC based around two capacitive DACs. Figures 3 and 4 show simplified schematics of the ADC in Acquisition and Conversion phase respectively. The ADC comprises of Control Logic, a SAR and two capacitive DACs. In figure 3 (acquisition phase), SW3 is closed and SW1 and SW2 are in position A, the comparator is held in a balanced condition and the sampling capacitor arrays acquire the differential signal on the input. TPC 13.= Change in ENOB vs Reference Voltage VDD = 5V and 3 V –10– REV. PrD PRELIMINARY TECHNICAL DATA AD7452 CAPACITIVE DAC 1LSB = 2xVREF/4096 011...111 V IN- A SW1 A SW2 B VREF ADC CODE VIN+ 011...110 COMPARATOR Cs B CONTROL LOGIC SW3 Cs CAPACITIVE DAC 100...010 100...001 100...000 -VREF + 1LSB Figure 3. ADC Acquisition Phase When the ADC starts a conversion (figure 4), SW3 will open and SW1 and SW2 will move to position B, causing the comparator to become unbalanced. Both inputs are disconnected once the conversion begins. The Control Logic and the charge redistribution DACs are used to add and subtract fixed amounts of charge from the sampling capacitor arrays to bring the comparator back into a balanced condition. When the comparator is rebalanced, the conversion is complete. The Control Logic generates the ADC’s output code. The output impedances of the sources driving the VIN+ and the VIN- pins must be matched otherwise the two inputs will have different settling times, resulting in errors. CAPACITIVE DAC B VIN+ V IN- 0LSB +VREF - 1LSB ANALOG INPUT (VIN+- VIN-) Figure 5. AD7452 Ideal Transfer Characteristic TYPICAL CONNECTION DIAGRAM Figure 7 shows a typical connection diagram for the AD7452 for both 5 V and 3 V supplies. In this setup the GND pin is connected to the analog ground plane of the system. The VREF pin is connected to either a 2.5 V or a 2 V decoupled reference source depending on the power supply, to set up the analog input range. The common mode voltage has to be set up externally and is the value that the two inputs are centered on. The conversion result is output in a 16-bit word with four leading zeros followed by the MSB of the 12-bit result. For more details on driving the differential inputs and setting up the common mode, see the ‘Driving Differential Inputs’ section. COMPARATOR Cs A SW1 A SW2 B VREF 000...001 000...000 111...111 CONTROL LOGIC SW3 0.1µF 10µF Cs VDD CAPACITIVE DAC VREF P-to-P CM* +3V/+5V SUPPLY SERIAL INTERFACE AD7452 SCLK VIN+ SDATA Figure 4. ADC Conversion Phase VREF P-to-P ADC TRANSFER FUNCTION +5 CM* VINGND The output coding for the AD7452 is two’s complement. The designed code transitions occur at successive LSB values (i.e. 1LSB, 2LSBs, etc.). The LSB size of the AD7452 is 2xVREF/4096 and the ideal transfer characteristic is shown in figure 5. VREF 2V/2.5V VREF 0.1µF * CM - COMMON MODE VOLTAGE Figure 7. Typical Connection Diagram REV. PrD –11– µC/µP PRELIMINARY TECHNICAL DATA AD7452 THE ANALOG INPUT The analog input of the AD7452 is fully differential. Differential signals have a number of benefits over single ended signals including noise immunity based on the device’s common mode rejection, improvements in distortion performance, doubling of the device’s available dynamic range and flexibility in input ranges and bias points. Figure 8 defines the fully differential analog input of the AD7452. VREF P-to-P 7 & ( / " 3 & % 0 . / 0 . . 0 $ VIN+ AD7452 COMMON MODE VOLTAGE VREF P-to-P $0..0/.0%&3"/(& 7 VIN- 73&'7 Figure 8. Differential Input Definition Figure 9. Input Common Mode Range versus VREF (VDD = 5V and VREF (max) = 3.5V) The amplitude of the differential signal is the difference between the signals applied to the VIN+ and VIN- pins (i.e. VIN+ - VIN-). VIN+ and VIN- are simultaneously driven by two signals each of amplitude VREF that are 180° out of phase. The amplitude of the differential signal is therefore -VREF to +VREF peak-to-peak (i.e. 2 x VREF). This is regardless of the common mode (CM). The common mode is the average of the two signals, i.e. (VIN+ + VIN-)/2 and is therefore the voltage that the two inputs are centered on. This results in the span of each input being CM ± VREF/2. This voltage has to be set up externally and its range varies with VREF. As the value of VREF increases, the common mode range decreases. When driving the inputs with an amplfier, the actual common mode range will be determined by the amplifier’s output voltage swing. 7 & ( / " 3& % 0 . / 0 . . 0 $ $0..0/.0%&3"/(& 7 Figures 9 and 10 show how the common mode range typically varies with VREF for both a 5 V and a 3 V power supply. The common mode must be in this range to guarantee the functionality of the AD7452. For ease of use, the common mode can be set up to be equal to VREF, resulting in the differential signal being ±VREF centered on VREF. When a conversion takes place, the common mode is rejected resulting in a virtually noise free signal of amplitude -VREF to +VREF corresponding to he digital codes of 0 to 4095. 7 73&'7 Figure 10. Input Common Mode Range versus VREF (VDD= 3V and VREF (max) = 2.2V) Figure 11 shows examples of the inputs to VIN+ and VINfor different values of VREF for VDD = 5 V. It also gives the maximum and minimum common mode voltages for each reference value according to figure 9. TBD Figure 11. Examples of the Analog Inputs to VIN+ and VINfor Different Values of VREF for VDD = 5 V. –12– REV. PrD PRELIMINARY TECHNICAL DATA AD7452 Analog Input Structure Figure 12 shows the equivalent circuit of the analog input structure of the AD7452. The four diodes provide ESD protection for the analog inputs. Care must be taken to ensure that the analog input signals never exceed the supply rails by more than 300mV. This will cause these diodes to become forward biased and start conducting into the substrate. These diodes can conduct up to 10mA without causing irreversible damage to the part. The capacitors C1, in figure 12 are typically 4pF and can primarily be attributed to pin capacitance. The resistors are lumped components made up of the on-resistance of the switches. The value of these resistors is typically about 100. The capacitors, C2, are the ADC’s sampling capacitors and have a capacitance of 16pF typically. TITLE 0 0 For ac applications, removing high frequency components from the analog input signal is recommended by the use of an RC low-pass filter on the relevant analog input pins. In applications where harmonic distortion and signal to noise ratio are critical, the analog input should be driven from a low impedance source. Large source impedances will significantly affect the ac performance of the ADC. This may necessitate the use of an input buffer amplifier. The choice of the opamp will be a function of the particular application. 0 0 0 TITLE 0 0 0 Figure 14 shows a graph of THD versus analog input frequency for VDD of 5 V ± 5% and 3 V ± 10%, while sampling at 555kSPS with a SCLK of 10 MHz. In this case the source impedance is 10. 0 D R1 C2 D TITLE C1 0 Figure 13.THD vs Analog Input Frequency for Various Source Impedances VDD VIN+ 6*, 0 VDD D R1 6*, 0 C2 VINC1 D 0 Figure 12. Equivalent Analog Input Circuit. Conversion Phase - Switches Open Track Phase - Switches Closed When no amplifier is used to drive the analog input, the source impedance should be limited to low values. The maximum source impedance will depend on the amount of Total Harmonic Distortion (THD) that can be tolerated. The THD will increase as the source impedance increases and performance will degrade. Figure 13 shows a graph of the THD versus analog input signal frequency for different source impedances for both VDD = 5 V and 3 V. 0 0 0 0 TITLE 0 0 0 Figure 14.THD vs Analog Input Frequency for 3V and 5V Supply Voltages DRIVING DIFFERENTIAL INPUTS Differential operation requires that VIN+ and VIN- be simultaneously driven with two equal signals that are 180o out of phase. The common mode must be set up externally and has a range which is determined by VREF, the power supply and the particular amplifier used to drive the analog inputs (see figures 9 and 10). Differential modes of operation with either an ac or dc input, provide the best THD performance over a wide frequency range. Since not all applications have a signal preconditioned for differential operation, there is often a need to perform single ended to differential conversion. Differential Amplifier An ideal method of applying differential drive to the AD7452 is to use a differential amplifier such as the AD8138. This part can be used as a single ended to differential amplifier or REV. PrD –13– PRELIMINARY TECHNICAL DATA AD7452 as a differential to differential amplifier. In both cases the analog input needs to be bipolar. It also provides common mode level shifting and buffering of the bipolar input signal. Figure 15 shows how the AD8138 can be used as a single ended to differential amplifier. The positive and negative outputs of the AD8138 are connected to the respective inputs on the ADC via a pair of series resistors to minimize the effects of switched capacitance on the front end of the ADCs. The RC low pass filter on each analog input is recommended in ac applications to remove high frequency components of the analog input. The architecture of the AD8138 results in outputs that are very highly balanced over a wide frequency range without requiring tightly matched external components. If the analog input source being used has zero impedance then all four resistors (Rg1, Rg2, Rf1, Rf2) should be the same. If the source has a 50 impedance and a 50 termination for example, the value of Rg2 should be increased by 25 to balance this parallel impedance on the input and thus ensure that both the positive and negative analog inputs have the same gain (see figure 15). The outputs of the amplifier are perfectly matched, balanced differential outputs of identical amplitude and are exactly 180o out of phase. The AD8138 is specified with 3 V, 5 V and ±5 V power supplies but the best results are obtained when it is supplied by ±5 V. A lower cost device that could also be used in this configuration with slight differences in characteristics to the AD8138 but with similar performance and operation is the AD8132. of suitable dual opamps that could be used in this configuration to provide differential drive to the AD7452 are the AD8042, AD8056 and the AD8022. Care must be taken when chosing the opamp used, as the selection will depend on the required power supply and the system performance objectives. The driver circuits in figures 16(a) and 16(b) are optimized for dc coupling applications requiring optimum distortion performance. The differential op-amp driver circuit in figure 16(a) is configured to convert and level shift a 2.5 V p-p single ended, ground referenced (bipolar) signal to a 5 V p-p differential signal centered at the VREF level of the ADC. The circuit configuration shown in figure 16(b) converts a unipolar, single ended signal into a differential signal. 220Ω 2 X VREF P-to-P 390Ω GND 51R Rg2 C* AD8138 Rs* -2.5V . V+ ) 27Ω V10KΩ EXTERNAL VREF . . VIN+ AD7452 VIN- C* Rf2 Figure 16(a). Dual Opamp Circuit to Convert a Single Ended Bipolar Input into a Differential Input VREF 3.75V 2.5V 1.25V 220Ω 2 X VREF P-to-P *Mount as close to the AD7452 as possible and ensure high precision Rs and Cs are used AD7452 VIN- V REF Rs* Rg1 GND VIN+ 220Ω 220Ω 3.75V 2.5V 1.25V Rf1 Vocm VDD 27Ω V220Ω 20KΩ +2.5V V+ EXTERNAL VREF (2.5V) . VREF GND 390Ω V+ VDD 27Ω V- Rs - 50R; C - 1nF; Rg1=Rf1=Rf2= 499R; Rg2 = 523R VIN+ AD7452 220Ω 220Ω Figure 15. Using the AD8138 as a Single Ended to Differential Amplifier VIN- V REF . V+ A Opamp Pair An opamp pair can be used to directly couple a differential signal to the AD7452. The circuit configurations shown in figures 16(a) and 16(b) show how a dual opamp can be used to convert a single ended signal into a differential signal for both a bipolar and a unipolar input signal respectively. The voltage applied to point A sets up the Common Mode Voltage. In both diagrams, it is connected in some way to the reference but any value in the common mode range can be input here to setup the common mode. Examples 27Ω V10KΩ EXTERNAL VREF . Figure 16(b). Dual Opamp Circuit to Convert a Single Ended Unipolar Input into a Differential Input –14– REV. PrD PRELIMINARY TECHNICAL DATA AD7452 RF Transformer In systems that do not need to be dc-coupled, an RF transformer with a center tap offers a good solution for generating differential inputs. Figure 17 shows how a transformer is used for single ended to differential conversion. It provides the benefits of operating the ADC in the differential mode without contributing additional noise and distortion. An RF transformer also has the benefit of providing electrical isolation between the signal source and the ADC. A transformer can be used for most ac applications. The center tap is used to shift the differential signal to the common mode level required, in this case it is connected to the reference so the common mode level is the value of the reference. 3.75V 2.5V 1.25V R R VIN+ AD7452 C R VIN- VREF 3.75V 2.5V 1.25V EXTERNAL VREF (2.5V) Example 2: VINmax = VDD + 0.3 VINmax = VREF + VREF/2 If VDD = 3.3V then VINmax = 3.6 V Therefore 3xVREF/2 = 3.6 V VREF max = 2.4 V Therefore, when operating at VDD = 3.3 V, the value of VREF can range from 100mV to a maximum value of 2.4V. When VDD = 2.7 V, VREF max = 2 V. These examples show that the maximum reference applied to the AD7452 is directly dependant on the value applied to VDD. The value of the reference sets the analog input span and the common mode voltage range. Errors in the reference source will result in gain errors in the AD7452 transfer function and will add to specified full scale errors on the part. A capacitor of 0.1µF should be used to decouple the VREF pin to GND. Table I lists examples of suitable voltage references that could be used that are available from Analog Devices and Figure 18 shows a typical connection diagram for the VREF pin. Figure 17. Using an RF Transformer to Generate Differential Inputs REFERENCE SECTION An external reference source is required to supply the reference to the AD7452. This reference input can range from 100 mV to 3.5 V. With a 5 V power supply, the specified reference is 2.5 V and maximum reference is 3.5 V. With a 3.3 V power supply, the specified reference is 2V and the maximum reference is 2.4 V. In both cases, the reference is functional from 100mV. Table I Examples of Suitable Voltage References Reference Output Voltage Initial Accuracy (% max) AD589 AD1580 REF192 REF43 AD780 1.2-2.8 0.08-0.8 0.08-0.4 0.06-0.1 0.04-0.2 1.235 1.225 2.5 2.5 2.5 It is important to ensure that, when chosing the reference value for a particular application, the maximum analog input range (VINmax) is never greater than VDD + 0.3V to comply with the maximum ratings of the device. The following two examples calculate the maximum VREF input that can be used when operating the AD7452 at VDD of 5 V and 3.3 V respectively. Example 1: VINmax = VDD + 0.3 Operating Current (µA) 50 50 45 555 1000 VDD AD7452* AD780 NC VDD 1 0.1µF NC Temp Vout NC 6 2.5 V 4 GND Trim 5 3 10nF 8 0.1µF NC If VDD = 5 V then VINmax = 5.3 V *ADDITIONAL PINS OMITTED FOR CLARITY Therefore 3xVREF/2 = 5.3 V VREF max = 3.5 V Figure 18. Typical VREF Connection Diagram Therefore, when operating at VDD = 5 V, the value of VREF can range from 100mV to a maximum value of 3.5V. When VDD = 4.75 V, VREF max = 3.17 V. REV. PrD –15– VREF 7 2 VIN 0.1µF VINmax = VREF + VREF/2 OpSel PRELIMINARY TECHNICAL DATA AD7452 SINGLE ENDED OPERATION When supplied with a 5 V power supply, the AD7452 can handle a single ended input. The design of this part is optimized for differential operation so with a single ended input, performance will degrade. Linearity will degrade by typically TBDLSBs, Zero Code and the Full Scale Errors will degrade by typically TBDLSBs and AC performance is not guaranteed. To operate the AD7452 in single ended mode, the VIN+ input is coupled to the signal source while the VIN- input is biased to the appropriate voltage corresponding to the mid-scale code transition. This voltage is the Common Mode, which is a fixed dc voltage (usually the reference). The VIN+ input swings around this value and should have voltage span of 2 x VREF to make use of the full dynamic range of the part. The input signal will therefore have peak to peak values of Common Mode ±VREF. If the analog input is unipolar then an opamp in a non-inverting unity gain configuration can be used to drive the VIN+ pin. Because the ADC operates from a single supply, it will be necessary to level shift ground based bipolar signals to comply with the input requirements. An opamp can be configured to rescale and level shift the ground based bipolar signal so it is compatible with the selected input range of the AD7452 (see Figure 19). +5V R +2.5V +2.5V 0V -2.5V 0V R V IN VIN+ R R 0.1µF In applications with a slower SCLK, it may be possible to read in data on each SCLK rising edge i.e. the first rising edge of SCLK after the CS falling edge would have the leading zero provided and the 15th SCLK edge would have DB0 provided. MODES OF OPERATION AD7452 VIN- The conversion result from the AD7452 is provided on the SDATA output as a serial data streatm. The bits are clocked out on the falling edge of the SCLK input. The data stream of the AD7452 consists of four leading zeros, followed by 12 bits of conversion data which is provided MSB first. The output coding is twos complement. 16 serial clock cycles are required to perform a conversion and to access data from the AD7452. CS going low provides the first leading zero to be read in by the micro-controller or DSP. The remaining data is then clocked out on the subsequent SCLK falling edges beginning with the second leading zero. Thus the first falling clock edge on the serial clock provides the second leading zero. The final bit in the data transfer is valid on the 16th falling edge, having been clocked out on the previous (15th) falling edge. Once the conversion is complete and the data has been accessed after the 16 clock cycles, it is important to ensure that, before the next conversion is initiated, enough time is left to meet the acquisition and quiet time specifications - see the Timing Examples. To achieve 555kSPS with an 10MHz clock for VDD = 3 V and 5 V, an TBD clock burst will perform the conversion and leave enough time before the next conversion for the acquisition and quiet time. The mode of operation of the AD7452 is selected by controlling the logic state of the CS signal during a conversion. There are two possible modes of operation, Normal Mode and Power-Down Mode. The point at which CS is pulled high after the conversion has been initiated will determine whether or not the AD7452 will enter the powerdown mode. Similarly, if already in power-down, CS controls whether the devices will return to normal operation or remain in power-down. These modes of operation are designed to provide flexible power management options. These options can be chosen to optimize the power dissipation/throughput rate ratio for differing application requirements. VREF EXTERNAL VREF (2.5V) Figure 19. Applying a Bipolar Single Ended Input to the AD7452/AD7442 SERIAL INTERFACE Figures 1 shows a detailed timing diagram for the serial interface of the AD7452. The serial clock provides the conversion clock and also controls the transfer of data from the device during conversion. CS initiates the conversion process and frames the data transfer. The falling edge of CS puts the track and hold into hold mode and takes the bus out of three-state. The analog input is sampled and the conversion initiated at this point. The conversion will require 16 SCLK cycles to complete. Normal Mode Once 13 SCLK falling edges have occurred, the track and hold will go back into track on the next SCLK rising edge as shown at point B in Figures 1 and 2. On the 16th SCLK falling edge the SDATA line will go back into three-state. If the rising edge of CS occurs before 16 SCLKs have elapsed, the conversion will be terminated and the SDATA line will go back into three-state on the 16th SCLK falling edge. This mode is intended for fastest throughput rate performance. The user does not have to worry about any power-up times with the AD7452 remaining fully powered up all the time. Figure 20 shows the general diagram of the operation of the AD7452 in this mode. The conversion is initiated on the falling edge of CS as described in the ‘Serial Interface Section’. To ensure the part remains fully powered up, CS must remain low until at least 10 SCLK falling edges have elapsed after the falling edge of CS. If CS is brought high any time after the 10th SCLK falling edge, but before the 16th SCLK falling edge, the part will remain powered up but the conversion will be terminated and SDATA will go back into three-state. Sixteen serial clock cycles are required to complete the conversion –16– REV. PrD PRELIMINARY TECHNICAL DATA AD7452 and access the complete conversion result. CS may idle high until the next conversion or may idle low until sometime prior to the next conversion. Once a data transfer is complete, i.e. when SDATA has returned to three-state, another conversion can be initiated after the quiet time, tQUIET has elapsed by again bringing CS low. +5 If CS is brought high before the 10th falling edge of SCLK, the AD7452 will again go back into power-down. This avoids accidental power-up due to glitches on the CS line or an inadvertent burst of eight SCLK cycles while CS is low. So although the device may begin to power up on the falling edge of CS, it will again power-down on the rising edge of CS as long as it occurs before the 10th SCLK falling edge. Power up Time 1 SCLK 10 SDATA 16 4 LEADING ZEROS + CONVERSION RESULT Figure 20. Normal Mode Operation Power Down Mode This mode is intended for use in applications where slower throughput rates are required; either the ADC is powered down between each conversion, or a series of conversions may be performed at a high throughput rate and the ADC is then powered down for a relatively long duration between these bursts of several conversions. When the AD7452 is in the power down mode, all analog circuitry is powered down. To enter power down mode, the conversion process must be interrupted by bringing CS high anywhere after the second falling edge of SCLK and before the tenth falling edge of SCLK as shown in Figure 21. +5 1 2 10 SCLK THREE STATE SDATA Figure 21. Entering Power Down Mode Once CS has been brought high in this window of SCLKs, the part will enter power down and the conversion that was initiated by the falling edge of CS will be terminated and SDATA will go back into three-state. The time from the rising edge of CS to SDATA threestate enabled will never be greater than t8 (see the ‘Timing Specifications’). If CS is brought high before the second SCLK falling edge, the part will remain in normal mode and will not power-down. This will avoid accidental power-down due to glitches on the CS line. In order to exit this mode of operation and power the AD7452 up again, a dummy conversion is performed. On the falling edge of CS the device will begin to power up, and will continue to power up as long as CS is held low until after the falling edge of the 10th SCLK. The device will be fully powered up after 1µsec has elapsed and, as shown in Figure 22, valid data will result from the next conversion. REV. PrD The power up time of the AD7452 is typically 1µsec, which means that with any frequency of SCLK up to 10MHz, one dummy cycle (1.5µsec) will always be sufficient to allow the device to power-up. Once the dummy cycle is complete, the ADC will be fully powered up and the input signal will be acquired properly. The quiet time tQUIET must still be allowed from the point at which the bus goes back into three-state after the dummy conversion, to the next falling edge of CS. When running at the maximum throughput rate of 555kSPS, the AD7452 will power up and acquire a signal within ±0.5LSB in one dummy cycle. When powering up from the power-down mode with a dummy cycle, as in Figure 24, the track and hold, which was in hold mode while the part was powered down, returns to track mode after the first SCLK edge the part receives after the falling edge of CS. This is shown as point A in Figure 22. Although at any SCLK frequency one dummy cycle is sufficient to power the device up and acquire VIN, it does not necessarily mean that a full dummy cycle of 16 SCLKs must always elapse to power up the device and acquire VIN fully; 1µs will be sufficient to power the device up and acquire the input signal. For example, if a 5MHz SCLK frequency was applied to the ADC, the cycle time would be 3.2µs (i.e. 1/(5MHz) x 16). In one dummy cycle, 3.2µs, the part would be powered up and VIN acquired fully. However after 1µs with a 5MHz SCLK only 5 SCLK cycles would have elapsed. At this stage, the ADC would be fully powered up and the signal acquired. So, in this case the CS can be brought high after the 10th SCLK falling edge and brought low again after a time tQUIET to initiate the conversion. When power supplies are first applied to the AD7452, the ADC may either power up in the power-down mode or normal mode. Because of this, it is best to allow a dummy cycle to elapse to ensure the part is fully powered up before attempting a valid conversion. Likewise, if the user wishes the part to power up in power-down mode, then the dummy cycle may be used to ensure the device is in power-down by executing a cycle such as that shown in Figure 21. Once supplies are applied to the AD7452, the power up time is the same as that when powering up from the power-down mode. It takes approximately 1µs to power up fully if the part powers up in normal mode. It is not necessary to wait 1µs before executing a dummy cycle to ensure the desired mode of operation. Instead, the dummy –17– PRELIMINARY TECHNICAL DATA AD7452 tPOWERUP THE PART BEGINS TO POWER UP +5 SCLK A 1 SDATA THE PART IS FULLY POWERED UP WITH VIN FULLY ACQUIRED 16 10 10 1 INVALID DATA 16 VALID DATA Figure 22. Exiting Power Down Mode cycle can occur directly after power is supplied to the ADC. If the first valid conversion is then performed directly after the dummy conversion, care must be taken to ensure that adequate acquisition time has been allowed. ADSP21xx* AD7452* As mentioned earlier, when powering up from the powerdown mode, the part will return to track upon the first SCLK edge applied after the falling edge of CS. However, when the ADC powers up initially after supplies are applied, the track and hold will already be in track. This means if (assuming one has the facility to monitor the ADC supply current) the ADC powers up in the desired mode of operation and thus a dummy cycle is not required to change mode, then neither is a dummy cycle required to place the track and hold into track. MICROPROCESSOR AND DSP INTERFACING The serial interface on the AD7452 allows the part to be directly connected to a range of different microprocessors. This section explains how to interface the AD7452 with some of the more common microcontroller and DSP serial interface protocols. AD7452 to ADSP21xx The ADSP21xx family of DSPs are interfaced directly to the AD7452 without any glue logic required. The SPORT control register should be set up as follows: TFSW = RFSW = 1, Alternate Framing INVRFS = INVTFS = 1, Active Low Frame Signal DTYPE = 00, Right Justify Data SLEN = 1111, 16-Bit Data words ISCLK = 1, Internal serial clock TFSR = RFSR = 1, Frame every word IRFS = 0, ITFS = 1. To implement the power-down mode SLEN should be set to 1001 to issue an 8-bit SCLK burst. The connection diagram is shown in Figure 23. The ADSP21xx has the TFS and RFS of the SPORT tied together, with TFS set as an output and RFS set as an input. The DSP operates in Alternate Framing Mode and the SPORT control register is set up as described. The Frame Synchronisation signal generated on the TFS is tied to CS and as with all signal processing applications equidistant sampling is necessary. However, in this example, the timer interrupt is used to control the sampling rate of the ADC and under certain conditions, equidistant sampling may not be acheived. SCLK SCLK SDATA DR +5 RFS TFS *ADDITIONAL PINS OMITTED FOR CLARITY Figure 23. Interfacing to the ADSP 21xx The timer registers etc., are loaded with a value which will provide an interrupt at the required sample interval. When an interrupt is received, a value is transmitted with TFS/DT (ADC control word). The TFS is used to control the RFS and hence the reading of data. The frequency of the serial clock is set in the SCLKDIV register. When the instruction to transmit with TFS is given, (i.e. AX0=TX0), the state of the SCLK is checked. The DSP will wait until the SCLK has gone High, Low and High before transmission will start. If the timer and SCLK values are chosen such that the instruction to transmit occurs on or near the rising edge of SCLK, then the data may be transmitted or it may wait until the next clock edge. For example, the ADSP-2111 has a master clock frequency of 16MHz. If the SCLKDIV register is loaded with the value 3 then a SCLK of 2MHz is obtained, and 8 master clock periods will elapse for every 1 SCLK period. If the timer registers are loaded with the value 803, then 100.5 SCLKs will occur between interrupts and subsequently between transmit instructions. This situation will result in non-equidistant sampling as the transmit instruction is occuring on a SCLK edge. If the number of SCLKs between interrupts is a whole integer figure of N then equidistant sampling will be implemented by the DSP. AD7452 to TMS320C5x/C54x The serial interface on the TMS320C5x/C54x uses a continuous serial clock and frame synchronization signals to synchronize the data transfer operations with peripheral devices like the AD7452. The CS input allows easy interfacing between the TMS320C5x/C54x and the AD7452 without any glue logic required. The serial port of the TMS320C5x/C54x is set up to operate in burst mode with internal CLKX (TX serial clock) and FSX (TX frame sync). The serial port control register (SPC) must have the following setup: FO = 0, FSM = 1, MCM = 1 and TXM = 1. The format bit, FO, may be set to 1 to set –18– REV. PrD PRELIMINARY TECHNICAL DATA AD7452 the word length to 8-bits, in order to implement the power-down mode on the AD7452. The connection diagram is shown in Figure 24. It should be noted that for signal processing applications, it is imperative that the frame synchronisation signal from the TMS320C5x/C54x will provide equidistant sampling. AD7452* DSP56xxx* SCLK SCLK SDATA SRD +5 AD7452* * SR2 TMS320C5x/C54x* SCLK CLKX CLKR SDATA *ADDITIONAL PINS OMITTED FOR CLARITY DR Figure 28. Interfacing to the DSP56xx +5 FSX APPLICATION HINTS FSR Grounding and Layout *ADDITIONAL PINS OMITTED FOR CLARITY Figure 24. Interfacing to the TMS320C5x/C54x AD7452 to MC68HC16 The Serial Peripheral Interface (SPI) on the MC68HC16 is configured for Master Mode (MSTR = 1), Clock Polarity Bit (CPOL) = 1 and the Clock Phase Bit (CPHA) = 0. The SPI is configured by writing to the SPI Control Register (SPCR) - see 68HC16 user manual. The serial transfer will take place as a 16-bit operation when the SIZE bit in the SPCR register is set to SIZE = 1. To implement the power-down modes with an 8-bit transfer set SIZE = 0. A connection diagram is shown in figure 25. AD7452* MC68HC16* SCLK SCLK/PMC2 SDATA MISO/PMC0 +5 * SS/PMC3 *ADDITIONAL PINS OMITTED FOR CLARITY Figure 25. Interfacing to the MC68HC16 AD7452 to DSP56xxx The connection diagram in figure 26 shows how the AD7452 can be connected to the SSI (Synchronous Serial Interface) of the DSP56xxx family of DSPs from Motorola. The SSI is operated in Synchronous Mode (SYN bit in CRB =1) with internally generated 1-bit clock period frame sync for both Tx and Rx (bits FSL1 =1 and FSL0 =0 in CRB). Set the word length to 16 by setting bits WL1 =1 and WL0 = 0 in CRA. To implement the power-down mode on the AD7452 then the word length can be changed to 8 bits by setting bits WL1 = 0 and WL0 = 0 in CRA. It should be noted that for signal processing applications, it is imperative that the frame synchronisation signal from the DSP56xxx will provideequidistant sampling. REV. PrD The printed circuit board that houses the AD7452 should be designed so that the analog and digital sections are separated and confined to certain areas of the board. This facilitates the use of ground planes that can be easily separated. A minimum etch technique is generally best for ground planes as it gives the best shielding. Digital and analog ground planes should be joined in only one place and the connection should be a star ground point established as close to the GND pin on the AD7452 as possible. Avoid running digital lines under the device as this will couple noise onto the die. The analog ground plane should be allowed to run under the AD7452 to avoid noise coupling. The power supply lines to the AD7452 should use as large a trace as possible to provide low impedance paths and reduce the effects of glitches on the power supply line. Fast switching signals like clocks should be shielded with digital ground to avoid radiating noise to other sections of the board, and clock signals should never run near the analog inputs. Avoid crossover of digital and analog signals. Traces on opposite sides of the board should run at right angles to each other. This will reduce the effects of feedthrough through the board. A microstrip technique is by far the best but is not always possible with a doublesided board. In this technique the component side of the board is dedicated to ground planes while signals are placed on the solder side. Good decoupling is also important. All analog supplies should be decoupled with 10µF tantalum capacitors in parallel with 0.1µF capacitors to GND. To achieve the best from these decoupling components, they must be placed as close as possible to the device. –19– PRELIMINARY TECHNICAL DATA AD7452 OUTLINE DIMENSIONS Dimensions shown in inches (millimeters) 8-LEAD SOT-23 (RT-8) 0.122 (3.10) 0.110 (2.80) 8 7 6 5 0.118 (3.0) 0.098 (2.50) 0.071 (1.80) 0.059 (1.50) 1 2 3 4 PIN 1 0.026 (0.65) BSC 0.077 (1.95) BSC 0.051 (1.30) 0.035 (0.90) 0.057 (1.45) 0.035 (0.90) 0.006 (0.15) 0.000 (0.00) 0.015 (0.38) 0.009 (0.22) SEATING PLANE 10° 0.009 (0.23) 0° 0.003 (0.08) 0.022 (0.55) 0.014 (0.35) 8-LEAD MSOP (RM-8) 0.122 (3.10) 0.114 (2.90) 1 5 0.199 (5.05) 0.187 (4.75) 4 0.120 (3.05) 0.112 (2.84) 0.006 (0.15) 0.002 (0.05) 0.018 (0.46) 0.008 (0.20) –20– 0.043 (1.09) 0.037 (0.94) 0.011 (0.28) 0.003 (0.08) PRINTED IN U.S.A. 8 0.122 (3.10) 0.114 (2.90) 0.120 (3.05) 0.112 (2.84) 33° 27° 0.028 (0.71) 0.016 (0.41) REV. PrD