AD6650 Diversity IF-to-Baseband GSM/EDGE Narrow-Band Receiver AD6650 FEATURES Smart antenna systems Software radios In-building wireless telephony 116 dB dynamic range Digital VGA I/Q demodulators Active low-pass filters Dual wideband ADC Programmable decimation and channel filters VCO and phase-locked loop circuitry Serial data output ports Intermediate frequencies of 70 MHz to 260 MHz 10 dB noise figure +43 dBm input IP2 at 70 MHz IF -9.5 dBm input IP3 at 70 MHz IF 3.3 V I/O and CMOS core Microprocessor interface JTAG boundary scan PRODUCT DESCRIPTION The AD6650 is a diversity intermediate frequency-to-baseband (IF-to-baseband) receiver for GSM/EDGE. This narrow-band receiver consists of an integrated DVGA, IF-to-baseband I/Q demodulators, low-pass filtering, and a dual wideband ADC. The chip can accommodate IF input from 70 MHz to 260 MHz. The receiver architecture is designed such that only one external surface acoustic wave (SAW) filter for main and one for diversity are required in the entire receive signal path to meet GSM/EDGE blocking requirements. Digital decimation and filtering circuitry provided on-chip remove unwanted signals and noise outside the channel of interest. Programmable RAM coefficient filters allow antialiasing, matched filtering, and static equalization functions to be combined in a single cost-effective filter. The output of the channel filters is provided to the user via serial output I/Q data streams. APPLICATIONS PHS or GSM/EDGE single carrier, diversity receivers Microcell and picocell systems Wireless local loop FUNCTIONAL BLOCK DIAGRAM TWEAK GAIN DAC AD6650 GSM/ EDGE IF RECEIVER AGC RELIN CTRL LP FILTER I LPF AIN 12-BIT ADC MUX VGA AIN 4TH ORDER CIC COARSE DCC 7TH ORDER IIR PROG. FIR (RCF) FINE DCC BIST LPF Q SCLK CPOUT LF SDFS 0 PLL/ VCO /4 SERIAL PORT REF 90 VLDO SDO0 SDO1 DR Q LPF BIN 12-BIT ADC MUX VGA BIN 4TH ORDER CIC COARSE DCC 7TH ORDER IIR PROG. FIR (RCF) FINE DCC BIST LPF I AGC RELIN CTRL DAC LP FILTER TWEAK GAIN 03683-001 D[7:0] DTACK A[2:0] MODE [2:0] DS CS R/W RESET DVDD DGND AVDD MICRO AGND CLK SYNC TMS TDI TDO TRST TCLK CLK CLK DIVIDER JTAG Figure 1. Rev. A Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.461.3113 (c)2006-2007 Analog Devices, Inc. All rights reserved. AD6650 TABLE OF CONTENTS Features .............................................................................................. 1 LO Synthesis................................................................................ 22 Applications....................................................................................... 1 LDO.............................................................................................. 23 Product Description......................................................................... 1 AGC Loop/Relinearization ....................................................... 23 Functional Block Diagram .............................................................. 1 Serial Output Data Port............................................................. 24 Revision History ............................................................................... 2 Application Information................................................................ 26 Specifications..................................................................................... 3 Explanation of Test Levels ........................................................... 3 Required Settings and Start-up Sequence for DC Correction ....................................................................................................... 26 AC Specifications.......................................................................... 3 Clocking the AD6650 ................................................................ 26 Digital Specifications ................................................................... 4 Driving the Analog Inputs ........................................................ 27 Electrical Characteristics............................................................. 5 External Reference ..................................................................... 27 General Timing Characteristics ................................................. 5 Power Supplies ............................................................................ 27 Microprocessor Port Timing Characteristics ........................... 6 Digital Outputs ........................................................................... 28 Timing Diagrams.......................................................................... 7 Grounding ................................................................................... 28 Absolute Maximum Ratings.......................................................... 10 Layout Information.................................................................... 28 Thermal Characteristics ............................................................ 10 Chip Synchronization ................................................................ 29 ESD Caution................................................................................ 10 Microport Control.......................................................................... 30 Pin Configuration and Function Descriptions........................... 11 External Memory Map .............................................................. 30 Typical Performance Characteristics ........................................... 13 Access Control Register (ACR) ................................................ 30 Terminology .................................................................................... 14 Channel Address Register (CAR) ............................................ 30 Equivalent Circuits ......................................................................... 15 Special Function Registers ........................................................ 30 Theory of Operation ...................................................................... 16 Data Address Registers .............................................................. 31 Analog Front End ....................................................................... 16 Write Sequencing ....................................................................... 31 Digital Back End......................................................................... 16 Read Sequencing ........................................................................ 31 DC Correction ............................................................................ 16 Read/Write Chaining ................................................................. 31 Fourth-Order Cascaded Integrator Comb Filter (CIC4) ...... 17 Programming Modes ................................................................. 31 Infinite Impulse Response (IIR) Filter..................................... 18 JTAG Boundary Scan................................................................. 32 RAM Coefficient Filter .............................................................. 18 Register Map ................................................................................... 33 Composite Filter ......................................................................... 19 Register Details ........................................................................... 39 Fine DC Correction ................................................................... 20 Outline Dimensions ....................................................................... 44 Peak Detector DC Correction Ranging................................... 20 Ordering Guide .......................................................................... 44 User-Configurable Built-In Self-Test (BIST) .......................... 21 REVISION HISTORY 1/07--Rev. 0 to Rev. A Updated Format..................................................................Universal Changes to Specifications ................................................................ 3 Changes to Figure 18...................................................................... 13 Changes to Power Supplies Section.............................................. 27 Changes to Ordering Guide .......................................................... 44 3/06--Revision 0: Initial Version Rev. A | Page 2 of 44 AD6650 SPECIFICATIONS EXPLANATION OF TEST LEVELS I. II. III. IV. V. VI. VII. 100% production tested. 100% production tested at 25C; sample tested at specified temperatures. Sample tested only. Parameter guaranteed by design and analysis. Parameter is typical value only. 100% production tested at 25C; sample tested at temperature extreme. 100% production tested at +85C. CLOAD = 40 pF on all outputs, unless otherwise specified. All timing specifications valid over VDD range of 3.0 V to 3.45 V and VDDIO range of 3.0 V to 3.45 V. AC SPECIFICATIONS AVDD and DVDD = 3.3 V, CLK = 52 MSPS (driven differentially), 50% duty cycle, unless otherwise noted. All minimum ac specifications are guaranteed from -25C to +85C. AC minimum specifications degrade slightly from -25C to -40C. Table 1. Parameter OVERALL FUNCTION Frequency Range GAIN CONTROL Gain Step Size Gain Step Accuracy AGC Range BASEBAND FILTERS Bandwidth Alias Rejection at 25.9 MHz LO PHASE NOISE At 10 kHz Offset At 20 kHz Offset At 50 kHz Offset At 100 kHz Offset At 200 kHz Offset At 400 kHz Offset At 600 kHz Offset At 800 kHz Offset At 1600 kHz Offset At 3000 kHz Offset GAIN ERROR PSRR (AVDD with 20 mV RMS Ripple) 1 At 5 kHz At 10 kHz At 50 kHz At 100 kHz At 150 kHz f = 70 MHz Coarse DC Correction Noise Figure 2 Input IP22 Input IP32 Image Rejection Full-Scale Input Power Input Impedance Temp Test Level Min Full V 70 25C 25C 25C V V V Full 25C IV V 25C 25C 25C 25C 25C 25C 25C 25C 25C 25C 25C V V V V V V V V V V V -79 -87 -103 -112 -119 -125 -130 -133 -138 -143 -0.7 dBc/Hz dBc/Hz dBc/Hz dBc/Hz dBc/Hz dBc/Hz dBc/Hz dBc/Hz dBc/Hz dBc/Hz dB 25C 25C 25C 25C 25C V V V V V -13.4 -17 -34 -39.8 -45.7 dBc dBc dBc dBc dBc Full Full Full V V IV IV IV V V -70 10 43 -9.5 -49 4 189.6 - j33.6 dB dB dBm dBm dBc dBm Rev. A | Page 3 of 44 Typ Max Unit 260 MHz 0.094 0.047 36 3.36 24 -15 3.5 77 dB dB dB 3.64 -33 MHz dB AD6650 Parameter f = 150 MHz Coarse DC Correction Noise Figure2 Input IP22 Input IP32 Image Rejection Full-Scale Input Power Input Impedance f = 200 MHz Coarse DC Correction Noise Figure2 Input IP22 Input IP32 Image Rejection Full-Scale Input Power Input Impedance f = 250 MHz Coarse DC Correction Noise Figure2 Input IP22 Input IP32 Image Rejection Full-Scale Input Power Input Impedance 1 2 Temp Test Level Full Full Full V V IV IV IV V V Full Full Full V V IV IV IV V V Full Full Full V V VII VII VII V V Min 24 -15 24 -16 24 -16 Typ Max -70 10 37 -11.5 -46.5 4 169.3 - j59.2 -70 10 35 -12 -46.5 4 159.3 - j66.9 -70 10 33 -13 -45 4 137.1 - j72.7 -33 -33 -33 Unit dB dB dBm dBm dBc dBm dB dB dBm dBm dBc dBm dB dB dBm dBm dBc dBm See Figure 40 and Figure 41 for additional PSRR specifications. This measurement applies for maximum gain (36 dB). DIGITAL SPECIFICATIONS AVDD and DVDD = 3.3 V, CLK = 52 MSPS, unless otherwise noted. Table 2. Parameter DVDD AVDD TAMBIENT1 1 Temp Full Full Test Level IV IV IV Min 3.0 3.0 -25 Typ 3.3 3.3 +25 Max 3.45 3.45 +85 Unit V V C The AD6650 is guaranteed fully functional from -40C to +85C. All ac minimum specifications are guaranteed from -25C to +85C, but degrade slightly from -25C to -40C. Rev. A | Page 4 of 44 AD6650 ELECTRICAL CHARACTERISTICS Table 3. Parameter (Conditions) LOGIC INPUTS Logic Compatibility Digital Logic Logic 1 Voltage Logic 0 Voltage Logic 1 Current Logic 0 Current Input Capacitance CLOCK INPUTS Differential Input Voltage 1 Common-Mode Input Voltage Differential Input Resistance Differential Input Capacitance LOGIC OUTPUTS Logic Compatibility Logic 1 Voltage (IOH = 0.25 mA) Logic 0 Voltage (IOL = 0.25 mA) IDD SUPPLY CURRENT CLK = 52 MHz (GSM Example) IDVDD IAVDD POWER DISSIPATION CLK = 52 MHz (GSM/EDGE Example) 1 Temp Test Level Min Typ Full IV Full Full 25C 25C 25C IV IV V V V 2.0 0 25C 25C 25C 25C V V V V 0.4 Full Full Full IV IV 2.4 Full Full VII VII 155 360 Full VII 1.7 Max Unit VDD 0.8 V V A A pF 3.6 V p-p V k pF 3.3 V CMOS 60 7 5 DVDD/2 7.5 5 3.3 V CMOS/TTL VDD - 0.2 0.2 0.8 V V mA mA 2.1 W All ac specifications are tested by driving CLK and CLK differentially. GENERAL TIMING CHARACTERISTICS Table 4. Parameter (Conditions) CLK TIMING REQUIREMENTS CLK Period 1 CLK Width Low CLK Width High RESET TIMING REQUIREMENTS RESET Width Low PIN_SYNC TIMING REQUIREMENTS SYNC to CLK Setup Time SYNC to CLK Hold Time SERIAL PORT TIMING REQUIREMENTS: SWITCHING CHARACTERISTICS 2 CLK to SCLK Delay (Divide-by-1) CLK to SCLK Delay (For Any Other Divisor) CLK to SCLK Delay (Divide-by-2 or Even Number) CLK to SCLK Delay (Divide-by-3 or Odd Number) SCLK to SDFS Delay SCLK to SDO0 Delay SCLK to SDO1 Delay SCLK to DR Delay Symbol Temp Test Level Min tCLK tCLKL tCLKH Full Full Full I IV IV 9.6 tSSF Full IV 30 ns tSS tHS Full Full IV IV -3 6 ns ns tDSCLK1 tDSCLKH tDSCLKL tDSCLKLL tDSDFS tDSDO0 tDSDO1 tDSDR Full Full Full Full Full Full Full Full IV IV IV IV IV IV IV IV 3.2 4.4 4.7 4 1 0.5 0.5 1 1 Typ Max Unit 19.2 ns ns ns 0.5 x tCLK 0.5 x tCLK 12.5 16 16 14 2.6 3.5 3.5 3.5 Minimum specification is based on a 104 MSPS clock rate (an internal divide-by-2 must be used with a 104 MSPS clock rate); maximum specification is based on a 52 MSPS clock rate. This device is optimized to operate at a clock rate of 52 MSPS or 104 MSPS. 2 The timing parameters for SCLK, SDFS, SDO0, SDO1, and DR apply to both Channel 0 and Channel 1. Rev. A | Page 5 of 44 ns ns ns ns ns ns ns ns AD6650 MICROPROCESSOR PORT TIMING CHARACTERISTICS All timing specifications valid over VDD range of 3.0 V to 3.45 V and VDDIO range of 3.0 V to 3.45 V. Table 5. Microprocessor Port, Mode INM (MODE = 0); Asynchronous Operation Parameter WRITE TIMING WR (R/W) to RDY (DTACK) Hold Time 1 Address/Data to WR (R/W) Setup Time1 Address/Data to RDY (DTACK) Hold Time1 WR (R/W) to RDY (DTACK) Delay WR (R/W) to RDY (DTACK) High Delay1 READ TIMING Address to RD (DS) Setup Time1 Address to Data Hold Time1 Data Three-state Delay1 RDY (DTACK) to Data Delay1 RD (DS) to RDY (DTACK) Delay RD (DS) to RDY (DTACK) High Delay1 1 2 Symbol Temp Test Level Min tHWR tSAM tHAM tDRDY 2 tACC Full Full Full Full Full IV IV IV IV IV 0.0 0.0 0.0 9.0 4 x tCLK tSAM tHAM tZD tDD tDRDY2 tACC Full Full Full Full Full Full IV IV V IV IV IV 0.0 0.0 Typ Max Unit 15.0 13 x tCLK ns ns ns ns ns 0.0 15.0 13 x tCLK ns ns ns ns ns ns 12 9.0 4 x tCLK Timing is guaranteed by design. Specification pertains to control signals R/W, WR, DS, RD, and CS such that the minimum specification is valid after the last control signal has reached a valid logic level. Table 6. Microprocessor Port, Mode MNM (MODE = 1) Parameter WRITE TIMING DS (RD) to DTACK (RDY) Hold Time R/W (WR) to DTACK (RDY) Hold Time Address/Data to R/W (WR) Setup Time 1 Address/Data to R/W (WR) Hold Time1 DS (RD) to DTACK (RDY) Delay 2 R/W (WR) to DTACK (RDY) Low Delay1 READ TIMING DS (RD) to DTACK (RDY) Hold Time Address to DS (RD) Setup Time1 Address to Data Hold Time1 Data Three-State Delay DTACK (RDY) to Data Delay1 DS (RD) to DTACK (RDY) Delay2 DS (RD) to DTACK (RDY) Low Delay1 1 2 Symbol Temp Test Level Min tHDS tHRW tSAM tHAM tDDTACK tACC Full Full Full Full Full Full IV IV IV IV V IV 15.0 15.0 0.0 0.0 tHDS tSAM tHAM tZD tDD tDDTACK tACC Full Full Full Full Full Full Full IV IV IV V IV V IV Timing is guaranteed by design. DTACK is an open-drain device and must be pulled up with a 1 k resistor. Rev. A | Page 6 of 44 Typ Max Unit 13 x tCLK ns ns ns ns ns ns 16 4 x tCLK 15.0 0.0 0.0 13 0.0 16 4 x tCLK 13 x tCLK ns ns ns ns ns ns ns AD6650 TIMING DIAGRAMS 03683-002 RESET tSSF Figure 2. RESET Timing Requirements CLK 03683-003 tDSCLKH SCLK Figure 3. SCLK Switching Characteristics (Divide-by-1) CLK tDSCLKL 03683-004 tDSCLKH SCLK Figure 4. SCLK Switching Characteristics (Divide-by-2 or Even Integer) CLK tDSCLKLL 03683-005 tDSCLKH SCLK Figure 5. SCLK Switching Characteristics (Divide-by-3 or Odd Integer) SCLK 03683-006 tDSDR DR Figure 6. SCLK, DR Switching Characteristics SCLK 03683-007 tDSDFS SDFS Figure 7. SCLK, SDFS Switching Characteristics SCLK 03683-008 tDSD0/ tDSD1 SDO0/SDO1 Figure 8. SCLK, SDO0/SDO1 Switching Characteristics Rev. A | Page 7 of 44 AD6650 CLK tHS 03683-009 tSS SYNC Figure 9. SYNC Timing Inputs RD (DS) tHWR WR (R/W) CS tHAM tSAM A[2:0] VALID ADDRESS tHAM tSAM VALID DATA D[7:0] tDRDY RDY (DTACK) NOTES 1. tACC ACCESS TIME DEPENDS ON THE ADDRESS ACCESSED. ACCESS TIME IS MEASURED FROM FALLING EDGE OF WR TO RISING EDGE OF RDY. 2. tACC REQUIRES A MAXIMUM OF NINE CLK PERIODS. 03683-010 tACC Figure 10. INM Microport Write Timing Requirements RD (DS) WR (R/W) CS tSAM VALID ADDRESS A[2:0] tZD tDD D[7:0] tHAM tZD VALID DATA tDRDY RDY (DTACK) Figure 11. INM Microport Read Timing Requirements Rev. A | Page 8 of 44 03683-011 tACC NOTES 1. tACC ACCESS TIME DEPENDS ON THE ADDRESS ACCESSED. ACCESS TIME IS MEASURED FROM FALLING EDGE OF RD TO RISING EDGE OF RDY. 2. tACC REQUIRES A MAXIMUM OF 13 CLK PERIODS. AD6650 tHDS DS (RD) tHRW R/W (WR) CS tSAM A[2:0] tHAM VALID ADDRESS tSAM D[7:0] tHAM VALID DATA tDDTACK DTACK (RDY) tACC 03683-012 NOTES 1. tACC ACCESS TIME DEPENDS ON THE ADDRESS ACCESSED. ACCESS TIME IS MEASURED FROM FALLING EDGE OF DS TO FALLING EDGE OF DTACK. 2. tACC REQUIRES A MAXIMUM OF NINE CLK PERIODS. Figure 12. MNM Microport Write Timing Requirements tHDS DS (RD) R/W (WR) CS t SAM A[2:0] VALID ADDRESS tZD tDD tHAM D[7:0] tZD VALID DATA tDDTACK tACC NOTES 1. tACC ACCESS TIME DEPENDS ON THE ADDRESS ACCESSED. ACCESS TIME IS MEASURED FROM FALLING EDGE OF DS TO THE FALLING EDGE OF DTACK. 2. tACC REQUIRES A MAXIMUM OF 13 CLK PERIODS. Figure 13. MNM Microport Read Timing Requirements Rev. A | Page 9 of 44 03683-013 DTACK (RDY) AD6650 ABSOLUTE MAXIMUM RATINGS THERMAL CHARACTERISTICS Table 7. Parameter Supply Voltage Input Voltage Output Voltage Swing Load Capacitance Junction Temperature Under Bias Storage Temperature Range Lead Temperature (5 sec) Rating -0.3 V to +3.6 V -0.3 V to +3.6 V -0.3 V to VDDIO + 0.3 V 200 pF 125C -65C to +150C 280C 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. 121-lead chip scale package ball grid array: JA = 22.8C/W, no airflow, measurements made in the horizontal position on a 4-layer board. JA = 20.2C/W, 200 LFPM airflow, measurements made in the horizontal position on a 4-layer board. JA = 20.7C/W, no airflow, soldered on an 8-layer board with two layers dedicated as ground planes. ESD CAUTION Rev. A | Page 10 of 44 AD6650 PIN CONFIGURATION AND FUNCTION DESCRIPTIONS A1 CORNER INDEX AREA 1 2 3 4 5 6 7 8 9 10 11 A B C D E F G H J K L 03683-042 AD6650 TOP VIEW (Not to Scale) Figure 14. Pin Configuration Table 8. Pin Configuration A B C D E F G H J K L 1 DGND SDFS SDO1 D7 D5 D3 D1 DS (RD) R/W (WR) A2 DGND 1 2 TDI SCLK SDO0 DR D6 D4 D2 D0 DTACK (RDY) A1 A0 2 3 TMS TDO DVDD DVDD DVDD DVDD DVDD DVDD DVDD CS MODE2 3 4 TRST TCLK DVDD DGND DGND DGND DGND DGND DVDD MODE1 MODE0 4 5 RESET SYNC DVDD DGND DGND DGND DGND DGND DVDD CHIP_ID1 CHIP_ID0 5 6 DNC DNC DVDD DGND DGND DGND DGND DGND DVDD DNC DNC 6 7 AVDD AVDD AVDD AVDD AVDD AVDD AVDD AVDD AVDD AVDD AVDD 7 8 CLK AVDD AVDD AVDD AVDD AVDD AVDD AVDD AVDD REFGND VREF 8 9 CLK AGND AGND AGND AGND AGND AGND AGND AGND REFT REFB 9 10 AGND AGND AGND AGND AGND DNC AGND AGND AGND AGND AGND 10 11 AGND BIN BIN AGND LF VLDO CPOUT AGND AIN AIN AGND 11 A B C D E F G H J K L Table 9. Pin Function Descriptions Mnemonic POWER SUPPLY DVDD AVDD DGND AGND DIGITAL INPUTS RESET SYNC CHIP_ID[1:0] SERIAL DATA PORT SCLK SDFS SDO[1:0] DR MICROPORTCONTROL D[7:0] A[2:0] CS DS (RD) Type Description No. of Pins Power Power Ground Ground 3.3 V Digital Supply. 3.3 V Analog Supply. Digital Ground. Analog Ground. 13 19 17 22 Input Input Input Active Low Reset Pin. Synchronizes Digital Filters. Chip ID. 1 1 2 Bidirectional Bidirectional Output Output Serial Clock. Serial Data Frame Sync. Serial Data Outputs. Three-stated when inactive. Output Data Ready Indicator. 1 1 2 1 Bidirectional Input Input Input Microport Data. Microport Address Bits. Chip Select. Active Low Data Strobe (Active Low Read). 8 3 1 1 Rev. A | Page 11 of 44 AD6650 Mnemonic DTACK (RDY) Type Output R/W (WR) MODE [2:0] JTAG TRST TCLK TMS TDO TDI ANALOG INPUTS AIN AIN BIN BIN PLL INPUTS CPOUT LF VLDO No. of Pins 1 Input Input Description Active Low Data Acknowledge (Microport Status Bit). Open-drain output, requires external pull-up resistor of 1 k. Read Write (Active Low Write). Selects Control Port Mode. Input Input Input Output Input Test Reset Pin. Test Clock Input. Test Mode Select Input. Test Data Output. Three-stated when JTAG is in reset. Test Data input. 1 1 1 1 1 Input Input Input Input Main Analog Input. Complement of AIN. Differential analog input. Diversity Analog Input. Complement of BIN. Differential analog input. 1 1 1 1 Output Input Output Charge-Pump Output. Loop Filter. Compensation for Internal Low Dropout Regulator. Bypass to ground with a 220 nF chip capacitor. Internal ADC Voltage Reference. Bypass to ground with capacitors. See Figure 39 for recommended connection. Internal ADC Voltage Reference. Bypass to ground with capacitors. See Figure 39 for recommended connection. Internal ADC Voltage Reference. Bypass to ground with capacitors. See Figure 39 for recommended connection. ADC Ground Reference. See Figure 39 for recommended connection. 1 1 1 REFT Output REFB Output VREF Output REFGND CLOCK INPUTS CLK CLK DNC Ground Input Input Encode Input. Conversion initiated on rising edge. Complement of Encode. Do Not Connect. Rev. A | Page 12 of 44 1 3 1 1 1 1 1 1 5 AD6650 TYPICAL PERFORMANCE CHARACTERISTICS -44 44 -45 -25C 42 +25C +25C -46 -25C 38 IMAGE (dBc) +85C 36 -48 -49 34 -50 03683-016 32 30 70 +85C -47 90 110 130 150 170 190 IF FREQUENCY (MHz) 210 230 -51 70 250 03683-018 IIP2 (dBm) 40 90 110 130 150 170 190 IF FREQUENCY (MHz) 210 230 250 210 230 250 Figure 17. Image vs. Frequency Figure 15. Input IP2 vs. Frequency -6 0.2 -7 0 -8 -0.2 GAIN ERROR (dB) -25C -10 +25C -11 -25C -0.6 +25C -0.8 -1.0 -13 +85C +85C -14 -15 70 -0.4 90 110 130 150 170 190 IF FREQUENCY (MHz) 210 230 250 Figure 16. Input IP3 vs. Frequency -1.2 -1.4 70 03683-019 -12 03683-017 IIP3 (dBm) -9 90 110 130 150 170 190 IF FREQUENCY (MHz) Figure 18. Gain Error vs. Frequency Rev. A | Page 13 of 44 AD6650 TERMINOLOGY Analog Bandwidth The analog input frequency at which the spectral power of the fundamental frequency (as determined by the FFT analysis) is reduced by 3 dB. Noise Figure (NF) The degradation in SNR performance (in dB) of an IF input signal after it passes through a component or system. The AD6650 noise figure is determined by the equation V 2 rms Z in NF = 10 log 0.001 - SNR FS - 10 log kTB (1) 0.001 where: k is the Boltzmann constant = 1.38 x 10-23. T is the temperature in kelvin. B is the channel bandwidth in hertz (200 kHz typical). V2rms is the full-scale input voltage. Zin is the input impedance. SNRFS is the computed signal-to-noise ratio referred to full scale with a small input signal and the AD6650 in maximum gain. Input Second-Order Intercept (IIP2) A figure of merit used to determine a component's or system's susceptibility to intermodulation distortion (IMD) from its second-order nonlinearities. Two unmodulated carriers at a specified frequency relationship (f1 and f2) are injected into a nonlinear system exhibiting second-order nonlinearities producing IMD components at f1 - f2 and f2 - f1. IIP2 graphically represents the extrapolated intersection of the carrier's input power with the second-order IMD component when plotted in decibels. Input Third-Order Intercept (IIP3) A figure of merit used to determine a component's or system's susceptibility to intermodulation distortion (IMD) from its third-order nonlinearities. Two unmodulated carriers at a specified frequency relationship (f1 and f2) are injected into a nonlinear system exhibiting third-order nonlinearities producing IMD components at (2 x f1) - f2 and (2 x f2) - f1. IIP3 graphically represents the extrapolated intersection of the carrier's input power with the third-order IMD component when plotted in decibels. Image The AD6650 incorporates a quadrature demodulator that mixes the IF frequency to a baseband frequency. The phase and amplitude imbalance of this quadrature demodulator is observed in a complex FFT as an image of the fundamental frequency. The term image arises from the mirror-like symmetry of signal and image frequencies about the beating-oscillator frequency (in this case, this is dc). Differential Analog Input Resistance, Differential Analog Input Capacitance, and Differential Analog Input Impedance The real and complex impedances measured at each analog input port. The resistance is measured statically, and the capacitance and differential input impedances are measured with a network analyzer. Differential Analog Input Voltage Range The peak-to-peak differential voltage that must be applied to the converter to generate a full-scale response. Peak differential voltage is computed by observing the voltage on a single pin and subtracting the voltage from the other pin, which is 180 out of phase. The peak-to-peak differential voltage is computed by rotating the phases of the inputs 180 and taking the peak measurement again. Then the difference is computed between both peak measurements. Full-Scale Input Power Expressed in dBm. It is computed using the following equation: PowerFull scale V 2 Full scalerms Z Input = 10 log 0.001 (2) where ZInput is the input impedance. Noise The noise, including both thermal and quantization noise, for any range within the ADC is computed as FSdBm - SNRdBc - SignaldBFS 10 Vnoise = Z x 0.001 x 10 (3) where: Z is the input impedance. FSdBm is the full scale of the device for the frequency in question. SNRdBc is the value for the particular input level. SignaldBFS is the signal level within the ADC reported in decibels below full scale. Rev. A | Page 14 of 44 AD6650 EQUIVALENT CIRCUITS 1nH AIN/BIN 25 75 CLAMP 1pF 1.3V 2pF 75 25 03683-014 1nH AIN/BIN Figure 19. Analog Input AVDD 20k CLK 5k 20k 2.5k 5pF 5k 2.5k 20k 20k Figure 20. Clock Input Rev. A | Page 15 of 44 03683-015 CLK AD6650 THEORY OF OPERATION The AD6650 is a mixed-signal front-end (MxFE(R)) component intended for direct IF sampling radios requiring high dynamic range. It is optimized for the demanding performance requirements of GSM and EDGE. The AD6650 has five signal processing stages: a digital VGA, I/Q demodulators, seventh-order low-pass filters, dual ADCs, and digital filtering. Programming and control are accomplished via a microprocessor interface. DVGA A gain-ranging digital VGA is used to extend the dynamic range of the ADC and minimize signal clipping at the ADC input. The VGA has a maximum gain of 36 dB with a nominal step size of 0.094 dB. The amplifier serves as the input stage to the AD6650 and has a nominal input impedance of 200 and a 4 dBm maximum input. that the total AD6650 response is unchanged. The 19-bit output of the AGC block is then decimated and filtered using the CIC4 filter, the IIR filter, and the programmable RAM coefficient filter (RCF). Either 16-bit or 24-bit data is output through the serial port. With the 36 dB VGA gain, 12-bit ADC performance, and approximately 21 dB of processing gain, the AD6650 is capable of delivering approximately 116 dB of dynamic range or 19 bits of performance. For this reason, it is recommended that the 24-bit serial output be used so that dynamic range is not lost. A block diagram of the digital signal path is shown in Figure 21. DITHER GEN. AGC RELIN CTRL LP FILTER 4TH ORDER CIC COARSE DCC 7TH ORDER IIR PROG. FIR (RCF) FINE DCC BIST SPORT 03683-020 ANALOG FRONT END Figure 21. Channel Digital Signal Path I/Q Demodulators DC CORRECTION Frequency translation is accomplished with I/Q demodulators. Real data entering this stage is separated into in-phase (I) and quadrature (Q) components. This stage translates the input signal from an intermediate frequency (IF) of 70 MHz to 260 MHz to a baseband frequency. The dc offset in the analog path of the AD6650 comes from three sources: the analog baseband filters, the ADCs, and the LO leakage of the mixers. The dc offsets of the analog filters and the ADCs dominate that of the LO leakage. The dc offsets on the I and Q data for both Channel A and Channel B are different because they use different analog paths. Each path is corrected independently. Rev. A | Page 16 of 44 FREQUENCY (MHz) Figure 22. Uncorrected DC Offset 0.124 0.099 0.074 0.049 0.024 -0.001 03683-021 DC OFFSET -0.026 The 12-bit ADC data goes through the coarse dc correction block, which performs a one-time calibration of the dc offsets in the I and Q paths. The output of this block drives the automatic gain control (AGC) loop block, which adjusts the digitally controlled VGA in the analog path. The AGC adjusts the amplitude of the incoming signal of interest to a programmable level and prevents the ADC from clipping. The gain of the VGA is subtracted in the relinearization block so that externally the AD6650 appears to have constant gain. For example, if the VGA must increase the gain from 20 dB to 30 dB due to a decrease in the signal power, the relinearization word changes from a -20 dB to a -30 dB gain so (dB) DIGITAL BACK END 0 -10 -20 -30 -40 -50 -60 -70 -80 -90 -100 -110 -120 -130 -140 -150 -160 -170 -180 -0.051 The AD6650 has two ADCs. Each is implemented with an AD9238 core preceded by dual track-and-holds that multiplex in the I and Q signals at 26 MSPS each. The full-scale input power into the ADC is 4 dBm. -0.076 Dual ADCs The typical uncorrected dc offset is between -32 dB and -35 dB relative to full scale (dBFS) of the ADC. When the AGC range is considered along with this offset, the dc is effectively slid down by the gain setting so that it is approximately -68 dBFS to -71 dBFS or smaller when the AD6650 is in maximum gain. -0.101 In each I/Q signal path is a seventh-order low-pass active filter with 3.5 MHz bandwidth and automatic resistance-capacitance calibration to 4%. This filter typically offers greater than 70 dB of alias rejection at 25.9 MHz. -0.126 Low-Pass Filters AD6650 Coarse DC Correction The coarse dc correction block is a simple integrate-and-dump that integrates the data for 16,384 cycles at the ADC clock rate (typically 26 MSPS) and then updates an estimate of the dc. This estimate is then subtracted from the signal path. The signal is clipped after the subtraction to avoid numerical wrap around with large signals. The -32 dBFS to -35 dBFS uncorrected offset is sufficient to demodulate large signals, but it does not leave any margin if 30 dB of signal-to-dc is desired. It is essential to consider the dc offset of the signal at the point where the AGC of the AD6650 begins to range. This is important because once the signal or a blocker is in the range of the AGC loop, the dc signal that appears at the output of the AD6650 is modulated by the change in gain of the loop. If the gain decreases, the signal at the output remains at the same power level due to the digital relinearization, but the dc signal at the output is gained up by the relinearization process. For this reason, the coarse dc correction is used to provide additional correction before relinearizing the data to provide additional margin. This block gains another 5 dB to 8 dB (sometimes up to 25 dB) of dc rejection that provides additional margin. The coarse dc correction is provided for two reasons: * * To provide additional margin on the carrier-to-dc term for large input signals. To provide more range for the fine dc correction upper threshold by decreasing the total input power to the block for small input signals. (This is described in more detail in the Fine DC Correction section.) FOURTH-ORDER CASCADED INTEGRATOR COMB FILTER (CIC4) The CIC4 processing stage implements a fixed-coefficient decimating filter. It reduces the sample rate of the signal and allows subsequent filtering stages to be implemented more efficiently. The input of the CIC4 is driven by the 19-bit relinearized data at a maximum input rate of 26 MHz (52 MHz clock rate). The CIC4 decimation ratio, MCIC4, can be programmed from 8 to 32 (all integer values). The CIC4 scale factor, SCIC4, is a programmable unsigned integer between 0 and 8. It serves to control the attenuation of the data into the CIC4 stage in 6 dB increments such that the CIC4 does not overflow. Because this scale factor is in 6 dB steps, the CIC4 filter has a gain between 0 dB and -6.02 dB when properly scaled. For the best dynamic range, SCIC4 should be set to the smallest value possible (lowest attenuation) without creating an overflow condition. SCIC 4 = Ceil (4 x log 2 (MCIC 4 )) - 12 CIC _ Gain = M CIC 4 4 2 SCIC 4 + 12 (4) (5) The value of 12 that is subtracted in Equation 4 comes from the amount of scaling needed to compensate for the minimum decimation of 8. The frequency response of the CIC4 filter is given by Equation 6 and Equation 7. The gain and pass-band droop of the CIC4 can be calculated using these equations. If the gain and/or droop of the CIC4 filter are not acceptable, they can be compensated for in the programmable RCF filter stage. 1 1 - Z - MCIC 4 CIC 4(Z ) = x M 1 - Z -1 CIC 4 4 x CIC _ Gain f x M CIC 4 sin x 1 f ADC CIC 4( f ) = x f M CIC 4 sin x f ADC (6) 4 x CIC _ Gain (7) The output rate of this stage is given by Equation 8. f SAMP 4 f ADC M CIC 4 (8) CIC4 Rejection Table 10 shows the amount of bandwidth as a percentage of the input sample rate (ADC sample rate) that can be protected with various decimation rates and alias rejection specifications. The maximum input rate into the CIC4 is 26 MHz. Table 10 shows the half-bandwidth characteristics of the CIC4. Table 10. SSB CIC4 Alias Rejection Table dB Rate 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 -50 2.494 2.224 2.006 1.827 1.676 1.549 1.439 1.344 1.261 1.187 1.122 1.063 1.010 0.962 0.919 0.879 0.842 0.809 0.778 0.749 0.722 0.697 0.674 0.653 0.632 -60 1.921 1.713 1.546 1.408 1.292 1.194 1.110 1.037 0.972 0.916 0.865 0.820 0.779 0.742 0.709 0.678 0.650 0.624 0.600 0.578 0.557 0.538 0.520 0.503 0.488 -70 1.473 1.315 1.187 1.081 0.992 0.917 0.852 0.796 0.747 0.703 0.665 0.630 0.599 0.570 0.544 0.521 0.499 0.479 0.461 0.444 0.428 0.413 0.400 0.387 0.375 -80 1.128 1.007 0.909 0.828 0.760 0.703 0.653 0.610 0.572 0.539 0.509 0.483 0.459 0.437 0.417 0.399 0.383 0.367 0.353 0.340 0.328 0.317 0.306 0.297 0.287 -90 0.860 0.768 0.693 0.632 0.580 0.536 0.499 0.466 0.437 0.411 0.389 0.369 0.350 0.334 0.319 0.305 0.292 0.281 0.270 0.260 0.251 0.242 0.234 0.226 0.219 -100 0.651 0.581 0.525 0.478 0.439 0.406 0.378 0.353 0.331 0.312 0.295 0.279 0.265 0.253 0.241 0.231 0.221 0.212 0.204 0.197 0.190 0.183 0.177 0.171 0.166 Table 10 enables the calculation of an upper bound on the decimation ratio (MCIC4), given the desired filter characteristics and input sample rate. Rev. A | Page 17 of 44 AD6650 (n x z 7 + n2 x z 5 + n3 x z 3 + n1 x z + n1 x z 6 + n3 x z 4 + n2 x z 2 + n0 ) IIR( z ) = 0 (d7 x z 7 + d5 x z 5 + d3 x z 3 + d1 x z ) x 2 (9) where: n0 = 0.046227 n1 = 0.278961 n2 = 0.76021 n3 = 1.208472 d0 = 0 d1 = 0.12895 d2 = 0 d3 = 0.254698 d4 = 0 d5 = 1.026276 d6 = 0 d7 = 1 0.001 6 x 10-4 2 x 10-4 IIR PHASE RESPONSE -2 x 10-4 -6 x 10-4 -0.001 -100 03683-023 The IIR filter of the AD6650 is a seventh-order low-pass filter with an infinite impulse response. This filter cannot be bypassed and always performs a decimation of 2. As can be seen from the Z-transform, the IIR filter has a gain of -6.02 dB to accommodate signal peaking within the structure. It is designed to be free of limit cycles and is unconditionally stable. The IIR filter is described by the Z-transform and coefficients shown in the following equation: the band of interest is essentially perfect. From -100 kHz to +100 kHz, the phase distortion is ~0.056 rms. This phase response is several orders of magnitude below the analog LO and analog filter phase distortions. PHASE RESPONSE (Degrees) INFINITE IMPULSE RESPONSE (IIR) FILTER -50 0 CHANNEL BW (kHz) RAM COEFFICIENT FILTER 0 The final signal processing stage is a sum-of-products decimating filter with programmable coefficients (see Figure 25). The I-RAM and Q-RAM data memories store the most recent complex samples from the IIR filter with 23-bit resolution. The number of samples stored in these memories is equal to the coefficient length (Ntaps), up to 48 taps. The coefficient memory, CMEM, stores up to 48 coefficients with 20-bit resolution. On every CLK (up to 52 MHz) cycle, one tap for I and one tap for Q are calculated using the same coefficients. The RCF output consists of 16-bit or 24-bit data. I IN -10 28 48 x 23 I-RAM -20 COARSE SCALE 48 x 20 C-RAM -30 25 24 -50 Q IN -60 -70 28 48 x 23 Q-RAM RND WORD 03683-024 IIR RESPONSE -40 Figure 25. Block Diagram of the RCF -80 RCF Decimation Register -90 -110 1000 800 600 400 200 0 -200 -400 -600 -800 -1000 -120 1200 03683-022 -100 -1200 100 Figure 24. IIR Phase Response Figure 23 shows the magnitude response of the IIR filter in a typical GSM/EDGE case where the ADCs are sampling at 26 MHz and the CIC filter is decimating by 12 to generate a 2.16 MHz (8x symbol rate) input rate to the IIR. (dB) 50 Each RCF channel can decimate the data rate by a factor of 1 to 8. The decimation register is a 3-bit register. The RCF decimation is stored in Address 0x18 in the form of MRCF - 1. The input rate to the RCF is fSAMPIIR. RCF Decimation Phase Register FREQUENCY (MHz) Figure 23. IIR Frequency Response Figure 24 shows the phase response of the IIR filter over the range of 100 kHz after a time delay during which ~13.449 input samples of the filter have been removed. The input rate is the same 2.16 MHz from the above GSM/EDGE configuration. Examining the plot shows that the IIR filter is not exactly phase linear. (Linear phase would be flat after the time delay has been removed). It can be seen, however, that the phase response over The AD6650 uses the value stored in this register to preload the RCF counter. Therefore, instead of starting from 0, the counter is loaded with this value, thus creating a time offset in the output data. This data is stored in Address 0x19 as a 3-bit number. Time delays can be achieved in even units of the RCF input rate, which is typically 1/4 of the symbol time for GSM. Rev. A | Page 18 of 44 AD6650 RCF Filter Length The maximum number of taps this filter can calculate, Ntaps, is given by Equation 10. The value Ntaps - 1 is written to the channel register within the AD6650 at Address 0x1B. f CLK x M RCF N taps min , 48 f SAMPIIR (10) f SAMPIIR M RCF (11) where: RCF Output Scale Factor and Control Register fCLK is the external frequency oscillator. MRCF is the RCF filter decimation rate. fSAMPIIR is the input rate to the RCF. The RCF coefficients are located in Address 0x40 to Address 0x6F, and are interpreted as 20-bit twos complement numbers. When writing the coefficient RAM, the lower addresses are multiplied by relatively older data from the IIR, and the higher coefficient addresses are multiplied by relatively newer data from the IIR. The coefficients need not be symmetric, and the coefficient length, Ntaps, can be even or odd. If the coefficients are symmetric, both sides of the impulse response must be written into the coefficient RAM. The RCF stores the data from the IIR into a 46 x 48 RAM. A RAM of 23 x 48 is assigned to I data, and a RAM of 23 x 48 is assigned to Q data. When the RCF is triggered to calculate a filter output, it starts by multiplying the oldest value in the data RAM by the first coefficient, which is pointed to by the RCF coefficient offset register (Address 0x1A). This value is accumulated with the products of newer data-words multiplied by the subsequent locations in the coefficient RAM until the coefficient address RCFOFF + Ntaps - 1 is reached. Table 11. Three-Tap Filter Impulse Response h(0) h(1) h(2) f SAMPR = fSAMPIIR is the input rate to the RCF. MRCF is the RCF filter decimation rate. where: Coefficient Address 0 1 2 = (Ntaps - 1) The output rate of this filter (fSAMPR) is determined by the output rate of the IIR stage and MRCF. Data N(0) oldest N(1) N(2) newest The RCF coefficient offset register can be used for two purposes. The main purpose is to allow multiple filters to be loaded into memory and selected simply by changing the offset. The other is to contribute to the symbol timing adjustment. If the desired filter length is padded with 0s on the ends, the starting point can be adjusted to form slight delays in the time the filter is computed with reference to the high speed clock. This allows for vernier adjustment of the symbol timing. Coarse adjustments can be made with the RCF decimation phase. Address 0x1C is used to configure the scale factor for the RCF filter. This 2-bit register is used to scale the output data in 6 dB increments. The possible output scales range from 0 dB to -18 dB. The AD6650 RCF uses a recirculating multiply accumulator (MAC) to compute the filter. This accumulator has three bits of growth, allowing the output of the accumulator to be up to eight times as large as the input signal. To achieve the best filter performance, the coefficients should be as large as possible without overflowing the accumulator. The gain of a filter is merely the sum of the coefficients; therefore, for normal steady state signals, the sum of the coefficients must be less than 8. If the sum of the coefficients is 8 or slightly less, very rare transient events can overflow the accumulator. To prevent this, the sum of the absolute values of the coefficients should be less than 8. It is then impossible for the RCF filter to overflow. The RCF filter has a 4-position mux at the output of the accumulator. This mux chooses which 24 bits are propagated to the output and adjusts the rounding appropriately. This can be viewed as a gain block that can be varied in 6 dB steps and is controlled by the 2-bit RCF scale register. The resulting gain of the RCF (RCFgain) is then represented by the following equation: RCFgain = Coef x 1 2 3 - RCFScale (12) where RCFScale is the value in the RCF scale register. COMPOSITE FILTER The total gain of the digital filters can be calculated with Equation 13 and must be less than or equal to 1 (0 dB). Typically, the RCF coefficient gain is scaled to compensate for the gain of the CIC and IIR, and the RCF scale factor is set to 3. Gain = M CIC 4 4 2 SCIC 4 + 12 x 1 1 x Coef x 3 - RCFScale 2 2 (13) where: Gain is the gain of the digital filters. MCIC4 is the CIC4 decimation ratio. SCIC4 is the CIC4 scale factor. RCFScale is the value in the RCF scale register. The individual responses of the CIC4 and IIR filters, along with the composite response of all the filters, are shown in Figure 26. Rev. A | Page 19 of 44 AD6650 0 f PG = 10 x log BW f HPF -10 -20 -30 AD6650 DIGITAL COMPOSITE RESPONSE (dB) -50 fBW is the channel filter bandwidth. fHPF is the HPF bandwidth. -60 IIR FILTER RESPONSE -70 -80 -90 03683-025 -100 -110 -120 -1.98 -1.46 -0.94 (14) where: CIC4 RESPONSE -40 -0.43 0 17 0.61 FREQUENCY (MHz) 1.13 1.65 2.17 Figure 26. Composite Digital Response with 8x Rate FINE DC CORRECTION The fine dc correction block in the AD6650 lies between the RCF and serial output port. While the coarse dc correction block at the front of the channel is included to provide a onetime correction at startup or at rare intervals when commanded by the user, the fine dc correction block is intended to run continuously and track any changes in the dc offsets of the analog front end. To achieve this efficiently under varying signal conditions, this dc estimation process is adaptive. Adaptive DC Correction Filter In typical applications where dc offsets are to be corrected, a high-pass filter (HPF) is used to remove the dc and some small percentage of the input signal power. This approach is straightforward and works well when the input signal has a relatively constant power or when the bandwidth of the HPF is extremely small (in the Hz or nHz range) and the dc content does not vary. In general, the more the input signal power can vary, the narrower the bandwidth of the high-pass filter must be to avoid low frequency transients in the filter that are larger than the smallest expected signals. A fundamental trade-off exists because if the high-pass filter has a very low bandwidth, it can only track very slow changes (over hours, days, or weeks) in the dc offsets of the device. On the other hand, if it has a higher bandwidth, it may not be able to estimate the dc properly in the presence of a large baseband signal. Given the assumption that the signal of interest is uniformly distributed across frequency, the processing gain equation can be used to provide a starting point for system optimization. Enough processing gain must be guaranteed for the dc estimate to be valid for a minimum signal case. This is typically 20 dB to 30 dB but depends on the baseband signal processing of a particular system. For GSM/EDGE, which is distributed over ~100 kHz single sideband (SSB), this implies that the HPF bandwidth must be between 100 Hz to 1 kHz SSB. For every 6 dB that the signal power increases, 6 dB more processing gain is required; therefore, the HPF bandwidth needs to decrease by a factor of 4 or more. (14) In the case of GSM, a simple HPF is not well suited to this problem because the signal power can vary 50 dB or more from time slot to time slot and has a total dynamic range of 91 dB or more. A large time slot would excite the impulse response of the HPF, possibly resulting in a peak occurring later when a small time slot is present. To provide a more optimal dc correction, the AD6650 adaptively adjusts the bandwidth of the HPF based on the signal power. As the signal level decreases, the HPF bandwidth increases. Conversely, as the signal level increases, the HPF bandwidth decreases. The AD6650 implements this high-pass filter in the form of an accumulator that integrates a number of samples of the output of the RCF and produces an estimate after the samples are accumulated. The estimated dc is then removed from the signal path by a simple subtraction. The subtraction is clamped to avoid overflow problems. The HPF bandwidth is varied by changing the integration time (equivalent to a SYNC 1 filter decimation of the integrator). The integration time is varied based on the output of a peak detector circuit according to the process described in the Peak Detector DC Correction Ranging section. PEAK DETECTOR DC CORRECTION RANGING The peak detector of the AD6650 always looks at the maximum signal power present in the I or Q data path. The I and Q paths are treated totally independently in the dc correction circuitry because the analog paths are not guaranteed to match. The first sample that arrives is rectified and preloaded into the peak detector. A control counter is set to the minimum period control register setting. On every input sample, the peak detector determines if the new sample is larger than the currently held sample, and if so, the peak detector is updated. The contents of the peak detector are then examined. If they are below the lower threshold, the control counter counts down and when it reaches 0, it updates the dc estimate, resets the dc accumulator, and reloads the peak detector with the newest input sample magnitude. If the peak detector value is above the upper threshold of the dc correction, the estimate currently being calculated is discarded. When the signal drops below the upper threshold, the calculation of a new dc estimate begins. The current estimate is held, so the last known dc content continues to be removed. The AI, AQ, BI, and BQ paths of the AD6650 are each treated independently in the dc correction circuitry because the analog paths are not guaranteed to match, and separate dc estimates need to be kept for each. Separate peak detectors, dc estimate accumulators, dc estimate subtractors, and control counters are implemented for each of these paths. Rev. A | Page 20 of 44 AD6650 Peak Detector The peak detector always stores the input sample with the largest magnitude. The absolute value of every input sample is compared to what is currently in the peak detector's holding register. The only exception is when the control counter reaches 0; at this point, the dc offset estimate is updated and the peak detector is set to the current input magnitude. The output of each of the peak detectors is then encoded into a digital word that represents the signal power in 6 dB steps relative to full scale (FS). Desired _ Signal _ Power - Lower _ Threshold I _ P = 2 Min _ Period + Ceil 6.02 x2 (16) where Min_Period, Upper_Threshold, and Lower_Threshold are register-programmable values. To calculate the time required for the fine dc correction to converge, use the following equation: Fine _ DC _ Converge = I _ P x TSYM 60 (17) DC Accumulator where: The dc accumulator accumulates the 24-bit samples input from the RCF filter until the control counter reaches 0. At this time, the dc estimate in the holding register is updated, and the accumulator is directly loaded with the new input sample to begin work on the next estimate. TSYM is the output symbol rate of the AD6650. Fine_DC_Converge is expressed in minutes, and for a GSM application with 1x oversampling, it is 3.69 x 10-6. Control Counter The AD6650 includes a BIST to assess digital functionality. This feature verifies the integrity of the main digital signal paths of the AD6650. Each BIST register is independent, meaning that each channel can be tested independently at the same time. This counter controls the update of the dc correction block based on the peak detector value and the input control registers. The following three conditions are possible: * * * If the digital word from the peak detector indicates that the desired signal is below the lower threshold, the counter merely cycles through at the minimum period. If the digital word from the peak detector indicates that the desired signal is above the upper threshold, the control counter is held at the minimum period value and does not count down; therefore, no update is made. When the signal returns below the upper threshold, this counter resumes counting. If the digital word from the peak detector indicates that the desired signal is between the lower threshold and the upper threshold, the fine dc correction circuit is in its normal mode of operation. In this mode, the control counter starts with the minimum period but is reloaded with 4x minimum period every time the peak detector output words increment by 6 dB. This errs on the side of caution and ensures that the dc correction integrates long enough to obtain a valid estimate. If smaller integrations are preferred, the minimum period can be decreased or the lower threshold can be raised. The integration period is given by Equation 15 and Equation 16. The factor of 2 in the exponent shows that as peak signal power increases, the integration time is increased by a factor of 4. This decreases the bandwidth of the estimation filter, thus providing the additional processing gain in the dc estimation term. USER-CONFIGURABLE BUILT-IN SELF-TEST (BIST) The BIST is a thorough test of the selected AD6650 digital signal path. With this test mode, it is possible to use the internal pseudorandom generator to produce known test data. A signature register follows the fine dc correction block. This register can be read back and compared to a known good signature. If the known good signature matches the register value, the channel is fully operational. If an error is detected, each internal block can be bypassed and another test can be run to debug the fault. The I and Q paths are tested independently. Use the following steps to perform this test: 1. 2. 3. 4. 5. 6. 7. When the desired signal power equals the upper threshold, Upper _ Threshold - Lower _ Threshold I _ P = 2 Min _ Period + Ceil 6.02 x2 (15) When the desired signal power is less than the upper threshold, Rev. A | Page 21 of 44 Reset the AD6650. Program the desired AD6650 channel parameters for the desired application (these parameters include decimation rates, scalars, and RCF coefficients). Also, ensure that the start holdoff counter is set to a nonzero value. Set Register 0xA, Bit 1, to 1 (PN_EN). Set Register 0x21, Bit 8, to 0 (fine DCC to BIST). Start the A and/or B channels with a microprocessor write (Soft_SYNC) or a pulse on the SYNC pin (Pin_SYNC). Wait at least 300 s. Read the four BIST registers and compare the values to a known good device. This ensures that the AD6650 is programmed correctly and that each channel is functioning correctly. AD6650 LO SYNTHESIS The AD6650 has a fully integrated quadrature LO synthesizer consisting of a voltage-controlled oscillator (VCO) and a phaselocked loop (PLL). Together these blocks generate quadrature IF LO signals for the demodulators. Figure 27 shows a block diagram of the LO synthesis block. Besides the usual PLL and VCO, there is also a programmable half-rate divider (Div-X and a fixed divide-by-4 quadrature divider that produces the final I and Q LO signals). therefore, the PFD reference frequency should be set for optimal placement of spurs. Prescaler and Feedback Dividers The dual modulus prescaler, P/(P + 1), and the A and B feedback dividers (5 bits and 13 bits, respectively) combine to provide a wide ranging N-divider in the PLL feedback loop. The feedback division is N = 8B + A. Including the final quadrature divider (divide-by-4), the LO frequency is given by f LO = VCO Immediately following the VCO is a programmable half-rate divider that has settings of divide-by-2, -2.5, -3, -3.5, and so on, up to divide-by-8. This function divides the VCO frequency down to four times the LO frequency and effectively extends the tuning range of the VCO. The VCO and the half-rate divider can be thought of as a single lower frequency VCO with a frequency range of 280 MHz to 1040 MHz. Autocalibration selects both the VCO operating band and the oscillator amplitude to ensure peak operating performance across the entire frequency range. The half-rate divide setting is also selected as part of the VCO calibration. Autocalibration is performed whenever PLL Register 3 (the test mode latch) is written; therefore, all other PLL registers should be set first, and Register 3 should be written to last. This is true whenever programming any portion of the LO synthesizer because the VCO may need to recalibrate itself, depending on the changes made to the registers. (18) 4R where: fLO is the local oscillator frequency. fCLK is the external frequency oscillator. B is the 13-bit divider (3 to 8191). A is the 5-bit swallow divider (0 to 31). R is the input reference divider (1 to 16,384). The fCLK/4R term combines the effects of the reference divider and the final quadrature divider, and determines the frequency spacing for the LO synthesizer. For a typical GSM application, fCLK = 52 MHz and R = 65 result in a 200 kHz PFD update rate, which sets the frequency spacing at a desired 200 kHz. However, this also places LO spurs at offsets of 200 kHz multiples, which might degrade the interferer/blocker performance. CAL fCLK R-DIV 14-BIT fREF EXTERNAL LOOP FILTER UP CHARGE PUMP PFD DIV-X DN VCO DIV-4 IOUT QOUT N-COUNTER B-DIV 13-BIT A-DIV 5-BIT PRESCALER P/(P + 1) 03683-027 The VCO generates an on-chip RF signal in the range of 2.2 GHz to 2.8 GHz. The only external component required is a bypass capacitor for the low dropout (LDO) voltage regulator used to power the VCO tank core. The VCO uses overlapping bands to achieve the wide tuning range while maintaining excellent phase noise and spurious performance. During band selection, which takes 5 PFD cycles, the VCO VTUNE is disconnected from the output of the loop filter and connected to an internal reference voltage. After band select, normal PLL action resumes. The nominal value of KV is 65 MHz/V, where KV is the VCO sensitivity. f CLK x (B x 8 + A ) Figure 27. PLL Circuit PFD and Charge Pump The integer-N type PLL consists of a programmable reference divider (R-divider), a prescaler and feedback divider (N-divider), a phase-frequency detector (PFD), and a charge pump. The output of the charge pump drives an external loop filter, which in turn drives the input of the VCO. The phase-frequency detector (PFD) takes inputs from the R-divider and N-divider and produces an output proportional to the phase and frequency difference between them. The PFD includes a programmable delay element that controls the width of the antibacklash pulse. This pulse ensures that there is no dead zone in the PFD transfer function and minimizes reference spurs. R-Divider Loop Filter The 14-bit R-divider divides down the input clock frequency to produce the reference frequency for the phase-frequency detector. Although division ratios from 1 to 16,383 are allowed, the maximum update rate for the PFD is 1 MHz. The selected update rate of the PFD and the subsequent charge pump determines the spurious performance of the LO synthesizer; The final element in the LO synthesizer is the external loop filter, which is generally a first-order or second-order RC lowpass filter. A filter like the one shown in Figure 28 is recommended to provide a good balance of stability, spurs, and phase noise. This partiular filter is optimized for an update rate of 1 MHz. PLL Rev. A | Page 22 of 44 AD6650 Slow Loop LF 867 CP The slow loop is the main loop and is associated with a loop gain parameter. This parameter controls the rate of change of the gain and should always be less than 1. To determine the loop gain, Equation 19 should be used. 200 AD6650 56000pF 3900pF 1.0F K AGCLoopGai n = Mantissa x 2 - K Exponent 256 03683-028 VLDO Figure 28. Loop Filter Circuit VP HI D1 Q1 (19) where: CHARGE PUMP KMantissa is the loop gain mantissa. Values can range from 0 to 63. KExponent is the loop gain exponent. Values can range from 0 to 7. UP U1 R-DIVIDER PROGRAMMABLE DELAY CLR1 CP U3 ADP2 ADP1 HI CLR2 D2 Q2 DOWN U2 N-DIVIDER CPGND R-DIVIDER 03683-029 N-DIVIDER CP OUTPUT Figure 29. PFD Simplified Schematic and Timing (Locked) As the loop gain value increases, the speed of the response of the AGC loop increases; as the loop gain value decreases, so does the speed of the response of the AGC loop. The slow loop attempts to maintain the signal entering the ADC at a given level, referred to as the requested level. This level is specified in dBFS and can be between 0 dBFS and -24 dBFS (in 0.094 dB steps) of the converter resolution. The default value is -6.02 dBFS. The slow loop has a peak detection function, the period of which can be set by the user. This period should be set to 1/4 of the symbol period, or greater, to prevent the AGC loop from gaining off the envelope of the EDGE signal. This detection period works because the peak detector's operation is based on dB (max(|I|, |Q|)); therefore, all of the I/Q samples are reflected back into one quadrant of the I/Q plane. At a 26 MHz sampling frequency, one symbol period is 96 clock cycles. Therefore, to obtain a peak detector period that is 1/4 of the symbol period, the peak detector period should be set to a minimum of 24 samples. The following equation can also be used: SPB Peak Samples 1 4 x ( f SAMP / f SYM ) LDO The AD6650 includes an on-chip 2.6 V low dropout (LDO) voltage regulator that supplies the VCO and other sections of the PLL. A 0.22 F bypass capacitor is required on the VLDO output to ensure stability. This LDO employs the same technology used in the anyCAP(R) line of regulators from Analog Devices, Inc., making it insensitive to the type of capacitor used. Driving an external load from the VLDO output is not supported. where: fSYM = 270.833 kHz (GSM symbol rate). fSAMP = 26 MHz. Fast Attack (FA) Loop AGC LOOP/RELINEARIZATION UPPER THRESHOLD POWER DETECTOR DECIMATION FILTERS RE-LINEARIZTION FORMATTER The AGC consists of three gain control loops: a slow loop, a fast attack (FA) loop, and a fast decay (FD) loop. ADC FAST LOOP DETECTORS SLOW LOOP, SIGNAL LEVEL SIGNAL PLUS BLOCKER LEVEL 03683-030 ADC AGC STATE MACHINE (20) The FA loop utilizes an analog threshold detector that prevents overdrive of the analog signal path. In a situation that could potentially overdrive the ADC, the FA loop takes over from the slow loop and decreases the gain to the VGA in the front end. The step size used for the FA loop is programmable between 0 dB and 1.504 dB in 0.094 dB steps. The FA loop also has a counter that is programmable between 1 and 16. When initialized to count + 1, the FA loop decreases the gain for count + 1 clock cycles when the threshold is crossed. Fast Decay (FD) Loop The FD loop is a fast loop that increases the gain when the signal falls below a threshold during a deep channel fade or on the ramp down. The fast loop accomplishes this task by comparing the peak signal-plus-blocker level at the ADC output (which includes the signal and any blockers that pass through the SAW filter) with a programmable level (SPB_level) that determines when this loop is activated. The SBP_level default Figure 30. AGC Loop Block Diagram Rev. A | Page 23 of 44 AD6650 value is -40 dBFS. When the wideband signal is below the SPB level, the FD loop is activated. This loop overrides the slow loop and has a programmable step size (default 0.094 dB) and a programmable peak detect period (defaults four samples at 1.08 MHz). UPPER THRESHOLD1 (OVER LOAD PROTECTION) ~-1dBFS OPERATIONAL RANGE -6dBFS REQUESTED LEVEL2 -46dBFS LOWER THRESHOLD3 (DEEP FADE PROTECTION) The SDIV for Serial Port 0 and Serial Port 1 can be programmed via Internal Control Register 0x21. Valid SDIV values are between 0 and 7, corresponding to divide ratios between 1 and 8. Serial Output Frame Timing The SDFS signal transitions high to signal the start of a data frame. On the next rising edge of SCLK, the port drives the first bit of the serial data on the SDO pin. The falling edge of SCLK or the subsequent rising edge can then be used by the DSP to sample the data until the required number of bits is received (determined by the serial output port word length). If the DSP has the ability to count bits, it can identify when the complete frame is received. 03683-031 Serial Port Timing Specifications NOTES 1 ADJUSTABLE LEVEL, WITH PROGRAMMABLE STEP SIZE AND ADJUSTABLE PERIOD. 2 ADJUSTABLE LEVEL, LOOP GAIN (<1), HYSTERESIS, INTEGRATION PERIOD. 3ADJUSTABLE LEVEL, ADJUSTABLE STEP SIZE. Figure 32 to Figure 35 indicate the timing required for the AD6650 serial port. tSCLK Figure 31. AGC Thresholds tSCLKH SERIAL OUTPUT DATA PORT SCLK 03683-032 The AD6650 has two configurable serial output ports (SDO0 and SDO1). Both ports must be identically configured and are programmed using the same control register. The ports share a common SFDS, SCLK, and DR pin for connection to an external ASIC or DSP; therefore, the outputs cannot be programmed independently. tSCLKL Figure 32. SCLK Timing Requirements CLK tDSCLKH Serial Output Data Format tSCLKH SCLK tSCLKL Serial Data Frame Sync Figure 33. SCLK Switching Characteristics (Divide-by-1) tDSDO SCLK SDO I14 I13 Figure 34. Serial Output Data Switching Characteristics tDSO Configuring the Serial Ports SCLK SDFS MINIMUM WIDTH IS ONE SCLK SDFS IMSB SDO Serial Port Data Rate FIRST DATA IS AVAILABLE THE FIRST RISING SCLK AFTER SDFS GOES HIGH The SCLK frequency is defined by Equation 21. IMSB1 03683-035 Both serial output ports must function as master serial ports. A serial bus master provides SCLK and SDFS outputs. Serial Port 0 and Serial Port 1 must be programmed as the bus masters by setting Bit 3 of the serial control register high. f CLK SDIV + 1 I15 03683-034 The serial data frame sync (SDFS) pin signals the start of the serial data frame. As channel data becomes available at the output of the AD6650's filters, this data is transferred into the serial data buffer. The internal serial controller initiates the SDFS on the next rising edge of the serial clock. In the AD6650, there are three modes in which the frame sync can be generated, which are described in the SDFS Modes section. f SCLK = 03683-033 The AD6650 utilizes a twos complement data format with a selectable serial data-word length of 16 bits or 24 bits. The data is shifted out of the device in MSB-first format. Figure 35. Timing for Serial Output Port (21) where: fCLK is the frequency of the master clock of the AD6650 channel. SDIV is the serial division word for the channel. SCLK SCLK is an output on the AD6650. All outputs are switched on the rising edge of SCLK. The SDFS pin is sampled on the falling edge of SCLK. This allows the AD6650 to recognize the SDFS in time to initiate a frame on the next SCLK rising edge. The maximum speed of this port is 52 MHz. Rev. A | Page 24 of 44 AD6650 SDO SDO is the serial data output. Serial output data is shifted on the rising edge of SCLK. On the next SCLK rising edge after an SDFS, the MSB of the I data from the channel is shifted. SDO1. In this condition, there are three modes of operation. (There are technically four modes, but Mode 0 and Mode 1 are the same). * On every subsequent SCLK edge, a new piece of data is shifted out on the SDO pin until the last bit of data is shifted out. The last bit of data shifted is the LSB of the Q data from the channel. SDO is three-stated when the serial port is outside its time slot. This allows the AD6650 to share the SDIN of a DSP with other AD6650s or other devices. SDFS SDFS is the serial data frame sync signal. SDFS is configured as an output. SDFS is sampled on the falling edge of SCLK. When SBM is sampled high, the chip functions as a serial bus master. In this mode, the AD6650 is responsible for generating serial control data. Four modes of that operation are set via Channel Address 0x21, Bit 6 to Bit 5. * * Serial Word Length Bit 4 of Address 0x21 determines the length of the serial word (I or Q). If this bit is set to 0, each word is 16 bits wide (16 bits for I and 16 bits for Q). If this bit is set to 1, the serial words are 24 bits wide. SDFS Modes As mentioned in the Serial Data Frame Sync section, there are three modes of operation. Setting Bit 7 of Address 0x21 high indicates that Input Channel A data is output on SDO0 and Input Channel B data is output on Rev. A | Page 25 of 44 Mode 0 and Mode 1 (Address 0x21, Bits[6 :5] = 00; Bit[7] = 1): The SDFS is valid for one complete clock cycle prior to the data shift. This single pulse is valid for Output Channel SDO0 and Output Channel SDO1. On the next clock cycle, the AD6650 begins shifting out the digitally processed data stream. Depending on the bit precision of the serial configuration, either 16 bits or 24 bits of I data are shifted out, followed by 16 bits or 24 bits of Q data. Mode 2 (Address 0x21, Bits[6:5] = 10; Bit[7] = 1): Because both SDO0 and SDO1 are used, SDFS pulses high one clock cycle prior to I data and also pulses high one clock cycle prior to Q data for each corresponding input channel. In this mode, there are two SFDS pulses per each output channel. Mode 3 (Address 0x21, Bits[6:5] = 11; Bit[7] = 1): The SDFS is high while valid bits are being shifted. On SDO0, SDFS remains high for 16 bits or 24 bits of I data, followed by 16 bits or 24 bits of Q data corresponding to Input Channel A. For SDO1, SDFS remains high for 16 bits or 24 bits of I data, followed by 16 bits or 24 bits of Q data corresponding to Input Channel B. The SDFS bit goes high one complete clock cycle before the first bit is shifted out of the AD6650. AD6650 APPLICATION INFORMATION On startup, the fine dc correction block may take up to several minutes to converge to a good dc estimate, especially if a large signal is present on the input. To improve this convergence without run-time trade-offs, use a two-step start-up process. The first step is to configure the fine dc correction block with the parameters shown in Table 12. The freeze is set so that the fine dc correction responds after the coarse dc correction has updated. At the same time, the minimum period can be set to a small value, such as 10. This guarantees a quicker convergence because the minimum period is smaller, resulting in a smaller integration period. Also, setting the registers as described in Table 12, and subsequently programming the AD6650, ensures that the VGA and mixer are powered down during the power-on calibration to keep signals with large dc content from interfering with the estimation of the dc component from the analog path. After ~500 ms, the freeze bit (Address 0x0B, Bit 0) can be written low. The dc correction then converges and begins removing the offset. If desired, the minimum period can then be set to a larger value. If the VGA and mixer are not disabled during a power-up using the AutoCalibration control register as recommended, approximately 30 dB of suppression can be achieved, but the user must guarantee that significant content is not present at the IF frequency that will be translated to dc. If enhanced performance is desired from the coarse dc correction, an RF switch or other device can be used to shut off the input of the AD6650 until the correction has been completed. Overall DC Correction Performance With the recommended settings, the dc correction performance is approximately -120 dBFS or better for small signals. Once the signal is large enough to trip the AGC loop, the dc component also rises; however, this component has been shown to always be 40 dBc below the signal of interest. Therefore, the carrier-todc ratio degrades for small signals. For additional details on the dc correction registers, see the associated bit descriptions in the Register Map section. CLOCKING THE AD6650 The AD6650 encode signal must be a high quality, low phase noise source to prevent degradation of performance. The AD6650 can be clocked with a single-ended signal, but CLK must be ac-coupled to ground. For optimum performance, the AD6650 must be clocked differentially. The encode signal should be ac-coupled into the CLK and CLK pins via a transformer or capacitors. These pins are biased internally and require no additional bias. Figure 36 shows the preferred method for clocking the AD6650. The clock source (low jitter) is converted from single-ended to differential using an RF transformer. The back-to-back Schottky diodes across the secondary transformer limit clock excursions into the AD6650 to approximately 0.8 V p-p differential. This helps prevent large voltage swings of the clock from feeding through to other portions of the AD6650 and limits the noise presented to the encode inputs. CLOCK SOURCE T1-4T CLK 0.1F AD6650 CLK 0.01F HSMS2812 DIODES Figure 36. Crystal Clock Oscillator--Differential Encode Table 12. DC Correction Register Recommendations Description AutoCalibration Control Register AutoCalibration Control Register AutoCalibration Control Register AutoCalibration Control Register Upper Threshold Lower Threshold Minimum Period Freeze Channel Address 0x22 0x22 0x22 0x22 0x0B 0x0B 0x0B 0x0B Bit Bit 0 Bit 1 Bit 2 Bit 3 Bit 19 to Bit 13 Bit 12 to Bit 8 Bit 7 to Bit 3 Bit 0 Rev. A | Page 26 of 44 Value Enabled (1) Power down DACs at startup (0) Enabled (1) Sync ADCs (0) -48 dBFS -90 dBFS +10 sample periods Enabled (1) 03683-036 REQUIRED SETTINGS AND START-UP SEQUENCE FOR DC CORRECTION AD6650 Another option is to ac-couple a differential ECL/PECL signal to the encode input pins as shown in Figure 37. A device that offers excellent jitter performance is the MC100EL16 (or a device from the same family) from Motorola. EXTERNAL REFERENCE The reference should be connected as shown in Figure 39 to achieve the results specified in this data sheet. AIN/BIN VT AIN/BIN REFT 0.1F 0.1F CLK AD6650 CLK 0.1F REF AMP 03683-037 ECL/ PECL CHANNEL A/ CHANNEL B ADC CORE VT 0.1F VREF 0.1F As with most new high speed, high dynamic range devices, the analog input to the AD6650 is differential. Differential inputs allow much improvement in performance on-chip because signals are processed through attenuation and gain stages. Most of the improvement is a result of differential analog stages that have high rejection of even-order harmonics. Differential inputs are also beneficial at the PCB level. First, differential inputs have high common-mode rejection of stray signals, such as ground and power noise, and good rejection of common-mode signals, such as local oscillator feedthrough. The AD6650 analog input voltage range is offset from ground by 1.3 V. The resistor network on the input properly biases the followers for maximum linearity and range. Therefore, the analog source driving the AD6650 should be ac-coupled to the input pins. The input resistance for the AD6650 is 200 , and the input voltage range is 2 V p-p differential. This equates to 4 dBm full-scale input power. The recommended method for driving the analog input of the AD6650 is to use an RF balun. C102 47000pF 1 4 3 5 1 4 3 AIN/BIN T101 C103 47000pF R101 68.9 AIN/BIN T102 Figure 38. Balun-Coupled Analog Input Circuit 03683-038 5 10F VREF 0.5V RINT SELECT LOGIC REFGND RINT 03683-039 DRIVING THE ANALOG INPUTS C101 47000pF 10F REFB Figure 37. Differential ECL for Encode J101 0.1F Figure 39. Reference Connection POWER SUPPLIES Care should be taken when selecting a power source. Linear supplies are strongly recommended. Switching supplies tend to have radiated components that may be received by the AD6650. Each of the power supply pins should be decoupled as closely to the package as possible using 0.1 F chip capacitors. The AD6650 is susceptible to low frequency power supply interference as shown in Figure 40. This low frequency energy is translated into spurious tones in the output signal. Analog power supply ripple couples into the LO through the VCO. This can be observed from the ripple frequency vs. sideband spur level plot (see Figure 40). Note that this plot has the spur level referenced to 1 mV rms supply ripple and is referred to the LO. Thus, this plot shows a transfer function rather than an absolute value. The spurious level can be extrapolated to any supply ripple level from this data using Equation 22. Spur _ Lev = Spur _ Lev1mV x 20 log(SupRipple (mV )) (22) where: Spur_Lev is the output spurious level relative to the LO. Spur_Lev1 mV is the 1 mV referred level from Figure 40 and Figure 41. SupRipple (mV) is the RMS ripple on the AVDD power supply. Rev. A | Page 27 of 44 SPUR LEVEL (dBc/1mV rms) AD6650 -35 DIGITAL OUTPUTS -40 It is recommended that the digital outputs drive a series resistor (for example, 100 ). To minimize capacitive loading, the number of gates on each output pin should be limited. The series resistors should be placed as close to the AD6650 as possible to limit the amount of current that can flow into the output stage. These switching currents are confined between ground and the DVDD pin. Also, note that excessive capacitive loading increases output timing and can invalidate timing specifications. -45 -50 -55 -60 -65 -75 03683-040 -70 1 10 100 GROUNDING 1000 OFFSET FREQUENCY (kHz) Figure 40. Output Spurious vs. Power Supply Ripple (AIN = 199 MHz) An additional parameter that strongly impacts the PSRR is the sensitivity to the AVDD voltage level. A plot of spur level versus AVDD is shown below in Figure 41. Note that this plot also has the spur level referenced to 1mV rms supply ripple and is referred to the LO. Thus, this plot shows a transfer function rather than an absolute value. The spurious level can be extrapolated to any supply ripple level from this plot using Equation 21. -20 -26 -29 To minimize the potential for noise coupling, it is highly recommended to place multiple ground return traces and vias so that the digital output currents do not flow back toward the analog front end, but instead are routed quickly away from the AD6650. This can be accomplished by simply placing substantial ground connections directly back to the supply at a point between the analog front end and the digital outputs. Judicious use of ceramic chip capacitors between the power supply and ground planes also helps suppress digital noise. The layout should incorporate enough bulk capacitance to supply the peak current requirements during switching periods. LAYOUT INFORMATION -32 A multilayer board should be utilized to achieve optimal results. It is highly recommended to use high quality ceramic chip capacitors to decouple each supply pin to ground directly at the device. The pin arrangement of the AD6650 facilitates ease of use in the implementation of high frequency, high resolution design practices. All of the digital outputs are on the opposite side of the package from the analog inputs for isolation purposes. -35 -38 -41 -44 03683-041 SPUR LEVEL (dBc/1mV rms) -23 For optimum performance, it is highly recommended to use a split ground between the analog and digital grounds. AGND should be connected to the analog ground of the RF board, and DGND should be connected to the digital ground of the RF board. -47 -50 2.95 3.00 3.05 3.10 3.15 3.20 3.25 3.30 3.35 3.40 3.45 3.50 3.55 3.60 AVDD (V) Figure 41. Output Spurious vs. Power Supply Ripple (AIN = 199 MHz) The AD6650 has separate digital and analog power supply pins. The analog supplies are denoted AVDD, and the digital supply pins are denoted DVDD. Although analog and digital supplies can be tied together, best performance is achieved when the supplies are separate because the fast digital output swings can couple switching current back into the analog supplies. Note that AVDD and DVDD must be held between 3.0 V and 3.45 V. Care should be taken when routing the digital output traces. To prevent coupling through the digital outputs into the analog portion of the AD6650, minimal capacitive loading should be placed on these outputs. The layout of the encode circuit is equally critical. Any noise received on this circuitry results in corruption in the digitization process and lower overall performance. The encode clock must be isolated from the digital outputs and the analog inputs. Rev. A | Page 28 of 44 AD6650 3. CHIP SYNCHRONIZATION The AD6650 is designed to allow synchronization of multiple AD6650s within a system. The AD6650 is synchronized with either a microprocessor write (Soft_SYNC) or a pulse on the SYNC pin (Pin_SYNC). The first sync event starts the device, and subsequent sync events resynchronize the filters of the AD6650. By using a start holdoff counter, it is possible to align the phase of the AD6650 to other devices. To synchronize the AD6650 with external hardware, see the Start with SYNC Pin section. 4. 5. 6. Start with Soft_SYNC The AD6650 includes the ability to synchronize channels or chips under microprocessor control. The start holdoff counter (Address 0x14), in conjunction with the SYNC bit (External Memory Address 5, Bit 0), allows this synchronization. The start holdoff counter delays the start and synchronization of a channel(s) by its value (number of AD6650 CLKs). Use the following method to synchronize the start of a channel via microprocessor control: 1. 2. Set the appropriate channels to sleep mode. A hard reset to the AD6650 (RESET taken low) puts both channels into sleep mode. Enable Channel A and/or Channel B (External Memory Address 3, Bit 0). Write the start holdoff counter(s) (Address 0x14) to the appropriate value (greater than 1 but less than 65,535). Program all other registers of the AD6650 that are not already set. Write the Soft_SYNC bit high (External Memory Address 5, Bit 0). When the Soft_SYNC bit goes high, the start holdoff counter begins to count down using the AD6650 CLK signal after the CLK divider. When the start holdoff counter reaches a count of 1, the selected channel(s) are activated. Start with SYNC Pin The AD6650 has a SYNC pin that can be used to provide synchronization between AD6650 devices and external hardware to a resolution of 1 ADC sample cycle. This can be accomplished by providing a 1-CLK-cycle-wide pulse on the SYNC pin when the edge-sensitive bit of the SF1 register is low (External Memory Address 4, Bit 4), which is useful when an FPGA or other external hardware is operating at the CLK rate of the AD6650. Synchronization can also be accomplished by setting the edge-sensitive bit high so that the SYNC input is rising-edge sensitive, which is useful when the external hardware is operating off a clock that is much slower than the AD6650 or is asynchronous to it. Rev. A | Page 29 of 44 AD6650 MICROPORT CONTROL The AD6650 has an 8-bit microprocessor port. The microport interface is a multimode interface that allows flexibility when dealing with the host processor. There are two modes of bus operation: Intel(R) nonmultiplexed mode (INM) and Motorola nonmultiplexed mode (MNM). The mode is selected based on the host processor and which mode is best suited for that processor. The microport has an 8-bit data bus (D[7:0]), 3-bit address bus (A[2:0]), three control pin lines (CS, DS or RD, and R/W or WR), and one status pin (DTACK or RDY). The functionality of the control signals and status line changes slightly depending on the selected mode. Refer to the timing diagrams in Figure 10 through Figure 13 and the descriptions in the Programming Modes, Intel Nonmultiplexed Mode (INM), and Motorola Nonmultiplexed Mode (MNM) sections for details on the operation of each mode. EXTERNAL MEMORY MAP The external memory map is used to gain access to the channel address space. The 8-bit data and address buses are used to set the eight registers shown in Table 13. These registers are collectively referred to as the external interface registers because they control all access to the channel address space and global chip functions. The use of each register is described in Table 13. Table 13. External Memory Map Addr. (Hex) 7 6 5 4 3 Mnemonic Access Control Register (ACR) Channel Address Register (CAR) Special Function Register 2 (SF2) Special Function Register 1 (SF1) Special Function Register 0 (SF0) 2 Data Register 2 (DR2) 1 0 Data Register 1 (DR1) Data Register 0 (DR0) Bit No. 7 Description Auto-increment 6 5 to 2 1 to 0 7 to 0 Reserved (write low) Instruction [3:0] A[9:8] A[7:0] 6 AGC sync enable 5 4 3 to 1 0 5 DC correction sync enable PN sync enable Reserved Issue Soft_SYNC First sync only 4 3 to 1 0 7 to 4 Enable edge- sensitivity Reserved Enable Pin_SYNC Reserved 3 2 1 0 7 to 4 3 to 0 15 to 8 7 to 0 Status of Channel B Enable Channel B Status of Channel A Enable Channel A Reserved D[19:16] D[15:8] D[7:0] ACCESS CONTROL REGISTER (ACR) Bit 7 of the ACR register is the auto-increment bit. If this bit is set to 1, the CAR register, described in the Channel Address Register (CAR) section, increments in value after every access to the channel. This allows blocks of address space, such as coefficient memory, to be initialized more efficiently. Bit 6 of the ACR register is unused and must be written low. Bit 5 to Bit 2 of the ACR register are instruction bits that allow multiple AD6650s to receive the same write access. The instruction bits allow a single or multiple (up to four) AD6650 chip(s) to be configured simultaneously. There are seven possible instructions that are defined in Table 14, where x represents disregarded values in the digital decoding. If multiple AD6650 chips are using the same CS line, readback is not valid because of the potential for bus contention. Therefore, if device readback capability is desired, the CS lines should be separated for individual control. To facilitate device debug and verification, the use of separate CS lines for each AD6650 is recommended. Bit 1 to Bit 0 of the ACR register are address bits that decode which channel is to be accessed. Because the channels of the AD6650 cannot be programmed independently, these bits should be set to 0. CHANNEL ADDRESS REGISTER (CAR) The CAR register represents the 8-bit internal address of each channel. If the auto-increment bit of the ACR is 1, this value is incremented after every access to the DR0 register, which in turn accesses the location pointed to by this address. SPECIAL FUNCTION REGISTERS The AD6650 has three special function registers, SF0, SF1, and SF2, that control synchronizing and enabling of the channels. SF0 controls channel enabling, SF1 controls Pin_SYNC, and SF2 controls Soft_SYNC. For SF0, Bit 0 and Bit 2 allow Channel A and Channel B, respectively, to exit sleep mode by the method selected in SF1. Bit 1 and Bit 3 are read-only bits and indicate whether Channel A and Channel B, respectively, are active. A 1 indicates that the channel is active, and a 0 indicates that it is not active. Bits 4 through Bit 7 are unused. For SF1, if Bit 0 is set to 1, both channels wait for a pulse to appear on the SYNC pin before exiting sleep mode; otherwise, the channels assume a soft start is desired and wait for the start holdoff counter to issue a sync. When Bit 5 is set, both channels ignore all subsequent attempts to resync once they have exited sleep mode. Rev. A | Page 30 of 44 AD6650 Table 14. Microport Instructions READ/WRITE CHAINING Instruction 0xxx 1000 1001 1100 1101 1110 1111 The microport of the AD6650 allows multiple accesses while CS is held low (CS can be tied permanently low if the microport is not shared with additional devices). The user can access multiple locations by pulsing the WR or RD line and changing the contents of the external 3-bit address bus. Access to the external registers listed in Table 13 is accomplished in one of two modes using the CS, RD, WR, and MODE inputs. The access modes are INM mode and MNM mode. These modes are controlled by the MODE input (MODE = 0 for INM, MODE = 1 for MNM). CS, RD, and WR control the access type for each mode. 1 Description All chips obtain access. All chips with Chip_ID [1:0] = x0 obtain access.1 All chips with Chip_ID [1:0] = x1 obtain access.1 All chips with Chip_ID [1:0] = 00 obtain access.1 All chips with Chip_ID [1:0] = 01 obtain access.1 All chips with Chip_ID [1:0] = 10 obtain access.1 All chips with Chip_ID [1:0] = 11 obtain access.1 Bits A[9:8] control which channel is decoded for the access. For SF2, Bit 0 prompts the startup block to run the start holdoff counter from the value programmed in the start holdoff counter control register and to issue a sync when this task is complete. Bit 4 to Bit 6 are used to enable syncs to individual blocks in the channels. DATA ADDRESS REGISTERS External Addresses [2:0] form Data Register DR2, Data Register DR1, and Data Register DR0, respectively. All internal datawords have widths that are less than or equal to 22 bits. Access to DR0 triggers an internal access to the AD6650 based on the address indicated in ACR and CAR. Therefore, during writes to the internal registers, DR0 must be written last. At this point, data is transferred to the internal memory location indicated in A[9:0]. Reads are performed in the reverse sequence. Once the address is set, DR0 must be the first data register read to initiate an internal access. DR2 is only six bits wide. Data written to the upper two bits of this register is ignored. Likewise, reading from this register produces only 6 LSBs. PROGRAMMING MODES The AD6650 can be programmed using several different modes. These modes include two microport modes, INM mode and MNM mode. The programming mode is selected by setting the MODE pins. Table 15 identifies how to set the MODE pins to select the desired programming mode. Table 15. Programming Modes MODE [2:0] 000 001 010 011 100 101 110 111 Description Microport Intel nonmultiplexed mode Microport Motorola nonmultiplexed mode Reserved Reserved Reserved Reserved Reserved Reserved WRITE SEQUENCING Writing to an internal location is achieved by first writing the upper two bits of the address into Bit 1 and Bit 0 of the ACR (these bits should be set low). Bits[5:2] can be set to select the chips for access as indicated above. The CAR is then written with the lower eight bits of the internal address (it does not matter if the CAR is written to before the ACR, as long as both are written to before the internal access). DR2 and DR1 must be written first because the write to Data Register DR0 triggers the internal access. DR0 must always be the last register written to initiate the internal write. READ SEQUENCING Reading from the microport is accomplished in the same manner. The internal address is set up the same way as it is for a write. A read from DR0 activates the internal read; therefore, DR0 must be read first to initiate an internal read followed by reads from DR1 and DR2. Intel Nonmultiplexed Mode (INM) Setting the mode word bits to 000 places the AD6650 in INM mode. The access is controlled by the user with the CS, RD (DS), and WR (R/W) inputs. The RDY (DTACK) signal is produced by the microport to communicate to the user that an access has been completed. RDY (DTACK) goes low at the start of the access and is released when the internal cycle is complete. See Figure 10 and Figure 11 for INM mode read and write timing. Motorola Nonmultiplexed Mode (MNM) Setting the mode word bits to 001 places the AD6650 in MNM mode. The access type is controlled by the user with the CS, DS (RD), and R/W (WR) inputs. The DTACK (RDY) signal is generated by the microport to signal the user that an access has been completed. DTACK (RDY) goes low when an internal access is complete and returns high after DS (RD) is deasserted. See Figure 12 and Figure 13 for MNM mode read and write timing. Rev. A | Page 31 of 44 AD6650 JTAG BOUNDARY SCAN Bypass (2'b11) The AD6650 supports a subset of the IEEE Standard 1149.1 specification. For details of the standard, see the IEEE Standard Test Access Port and Boundary-Scan Architecture, an IEEE-1149 publication. The bypass instruction allows the IC to remain in normal functional mode and selects a 1-bit bypass register between TDI and TDO. During this instruction, serial data is transferred from TDI to TDO without affecting operation of the IC. The AD6650 has five pins associated with the JTAG interface. These pins, listed in Table 16, are used to access the on-chip test access port. All input JTAG pins are pull-ups except TCLK, which is a pull-down. Sample/Preload (2'b01) Table 16. Boundary Scan Test Pins Mnemonic TRST TCLK TMS TDI TDO Description Test access port reset Test clock Test access port mode select Test data input Test data output The sample/preload instruction allows the IC to remain in normal functional mode and selects the boundary scan register to be connected between TDI and TDO. The boundary scan register can be accessed by a scan operation to take a sample of the functional data entering and leaving the IC. Also, test data can be preloaded into the boundary-scan register before an extest instruction. Extest (2'b00) The AD6650 supports three op codes, listed in Table 17. These instructions set the mode of the JTAG interface. The extest instruction places the IC into an external boundarytest mode and selects which boundary scan register is connected between TDI and TDO. During this operation, the boundary scan register is accessed to drive test data off-chip via boundary outputs and receive test data off-chip from boundary inputs. Table 17. Boundary Scan Op Codes Instruction Bypass Sample/Preload Extest Op Code 11 01 00 A boundary scan description language (BSDL) file for this device is available. Contact an Analog Devices sales representative for more information. Rev. A | Page 32 of 44 AD6650 REGISTER MAP Table 18. Memory Map Reg. (Hex) Mnemonic Bit Width Description 0 Clock Divider Control 1 Power-up value is 1'b1. 1 2 3 4 5 PLL Register 0 PLL Register 1 PLL Register 2 PLL Register 3 Clamp Control 22 22 22 22 6 PLL Control Register 0. PLL Control Register 1. PLL Control Register 2. PLL Control Register 3. Various VGA control signals. 5 to 2: Tweak Gain 4 Provides 1.6 dB of additional gain in VGA in 0.2 dB steps. 1: Clamp Disable B 1 Disables clamps at the output of the VGA for Channel B. 0: Clamp Disable A 1 Disables clamps at the output of the VGA for Channel A. Reserved Reserved Reserved Reserved Coarse DC Correction 8 8 8 2 4 Reserved. Reserved. Reserved. Must be written 0. Coarse dc correction control registers. 3: Cal Now B 1 2: Cal Now A 1 1: PN_EN 1 Calibrate coarse dc correction for the Channel B. Coarse dc correction occurs automatically at start-up if Bit 0 of the AutoCalibration control register is set high. Calibrate coarse dc correction for the Channel A. Coarse dc correction occurs automatically at start-up if Bit 0 of the AutoCalibration control register is set high. Enables the PN sequence generator to test the digital block. 0: Coarse DCC Enable 1 6 7 8 9 A Enables coarse DCC. This register must be held high during start-up sequence for coarse dc correction to occur. Rev. A | Page 33 of 44 Additional Information Code 0 1 See Table 19 See Table 20 See Table 21 See Table 22 Power-up value is 6'b100011 Code 0 1 2 . . 7 8 9 . . 14 15 Code 0 1 0 1 Must be written 8'b00000000 Must be written 8'b00000000 Must be written 8'b00010001 Power-up value is 2'b00 Power-up value is 4'b0000 Code 0 1 Result Bypass Divide-by-2 Gain (dB) +1.6 dB +1.4 dB +1.2 dB . . +0.2 dB 0 dB -0.2 dB . . -1.2 dB -1.4 dB Result Enable clamp Disable clamp Enable clamp Disable clamp Result Disabled Recalibrate 0 1 Disabled Recalibrate 0 1 Disabled Enable PN sequence generator Result Disabled DCC enabled Code 0 1 AD6650 Reg. (Hex) B Mnemonic DC Correction Control Bit Width 20 Description Fine DCC control registers. 19 to 13: Upper Threshold 7 Fine DCC upper threshold. No new dc estimation is made if the signal is above the upper threshold. 12 to 8: Lower Threshold 5 Fine DCC lower threshold. The maximum range for the lower limit is 0 dBFS to 138.46 dBFS. Additional Information Power-up value is 20'b00000000000000000000 Code 0 1 2 . . 126 127 0 1: Interpolate 1 Fine DCC interpolator reduces discontinuity between the current dc estimate and the new estimate. 0 1 -6.02 dBFS -12.04 dBFS . . -132.44 dBFS -138.46 dBFS Integration Time 21 x TS 22 x T S 23 x T S . . 230 x TS 231 x TS TS = sample period Result Update DCC estimate Keep old estimate Disabled Enabled 0: Freeze 1 Fine DCC freeze is used to hold the current dc estimate. 0 1 Disabled Enabled AGC Control 0 4 AGC Control Settings. 3: Force VGA Gain 1 Code 0 1 Result Disabled Enable forced gain mode 2: FD_Enable 1 Force the VGA gain to a specific value. This control line overrides the slow loop, fast decay loop, and fast attack loop when enabled. Fast decay loop enable. 0 1 1: FA_Enable 1 Fast attack loop enable. Code 0 1 Disabled Enable fast decay loop Result Disabled Enable fast attack loop 0: Reserved 1 Reserved. N/A 7 to 3: Minimum Period 5 Fine DCC integration period. 2: Bypass 1 Fine DCC bypass. 1 2 . . 22 23 Code 1 2 3 . . 30 31 Code 0 1 C Level (dBFS) 0 dBFS -0.75 dBFS -1.5 dBFS . . -94.5 dBFS -95.25 dBFS 0 dBFS Rev. A | Page 34 of 44 AD6650 Reg. (Hex) D Mnemonic AGC Control 1 Bit Width 9 8 to 0: VGA Gain E AGC Control 2 15 to 8: Hysteresis Description VGA gain (dB) = (0.094) x VGA gain word. This drives the VGA directly when force VGA gain = 1. 16 AGC hysteresis and requested level. 8 Upper hysteresis threshold = requested level + hysteresis. Lower hysteresis threshold = requested level - hysteresis. The gain word does not change if the peak measurement falls between the upper and lower hysteresis threshold. 7 to 0: Requested Level F AGC Control 3 10 to 8: Loop Gain Exponent 8 The requested level for the slow loop. The full-scale input into the AD6650 is 2 V p-p = 4 dBm. 11 Loop gain = (mantissa/256) x 1/2exponent. 3 Loop gain exponent (slow loop). 7 to 6: Reserved 2 Reserved. 5 to 0: Loop Gain Mantissa 6 Loop gain mantissa (slow loop). Rev. A | Page 35 of 44 Additional Information Code 0 1 2 . . 382 383 Gain (dB) 0 dB 0.094 dB 0.188 dB . . 35.9 dB 36.002 dB Code 0 1 2 . . 254 255 Code 0 1 2 . . 254 255 Hysteresis (dB) 0 .094 dB .188 dB . . 23.876 dB 23.97 dB Requested Level (dBm) +4 dBm +3.906 dBm +3.812 dBm . . -19.8 dBm -19.97 dBm Code 0 Loop Gain Exp 20 1 . . 6 7 N/A Code 0 21 . . 26 27 Mantissa 0 1 2 . . 62 63 1 2 . . 62 63 AD6650 Reg. (Hex) 10 Bit Width 13 Description Fast attack and fast decay loop parameters. 12 to 10: FD_Step 3 Fast decay step size. 9 to 8: FA_Thresh 2 Fast attack threshold measured at the antialiasing filters. 7 to 4: FA_Count 4 Fast attack count. The fast attack loop steps the gain down by FA_Step for FA_Count number of clock cycles. 4 Fast attack step size. 16 Slow loop peak detector period. Mnemonic AGC Control 4 3 to 0: FA_Step 11 AGC Control 5 15 to 8: SPB Peak Detector Period 12 13 7 to 0: Reserved Reserved AGC Control 7 8 to 0: FD SPB Threshold 8 Signal plus blocker peak detector period for the slow loop; fS = 26 MHz; fSYM =270.833 kHz; SPB peak period = 1/4 x (fSAMP/fSYM). 8 7 Reserved. Reserved. Fast decay signal plus blocker threshold. Rev. A | Page 36 of 44 Additional Information Code 0 1 2 . . 6 7 Code 0 1 2 3 Code 0 1 2 . . 14 15 Code 0 1 2 . . 14 15 Code 0 1 2 . . 254 255 Must be written 8'b00000000 Must be written 7'b0000000 Code 0 1 2 . . 510 511 Step size (dB) 0 dB 0.094 dB 0.188 dB . . 0.564 dB 0.658 dB Threshold -6.02 dBFS -3.1 dBFS -0.915 dBFS 0 dBFS Count 1 2 3 . . 14 15 Step size (dB) 0 dB 0.094 dB 0.188 dB . . 1.316 dB 1.41 dB Samples (fS clock cycles) 0 1 2 . . 254 255 Threshold 0 dBFS -0.094 dBFS -0.188 dBFS . . -47.94 dBFS -48.034 dBFS AD6650 Reg. (Hex) Mnemonic Bit Width 14 Start Holdoff Counter 16 The power-up sequence is initiated with a Soft_SYNC or Pin_SYNC and then the start holdoff counter counts down to 1, and the chip power-up sequence starts. 0 is an invalid value. 15 CIC4 Decimation (MCIC4 - 1) 5 Should be 12 because CIC and IIR have maximum rates of 26 MHz/12. 16 CIC4 Scale (Scale - 12) 4 Controls the attenuation of the data into the CIC4 stage in 6 dB increments. This register has a range of 12 to 20, which supports decimations from 8 to 32 according to Equation 4. Description 17 IIR Control 1 Sync mask. 18 RCF Decimation Register (MRCF - 1) 3 Decimation of 1 to 8. 19 RCF Decimation Phase (PRCF) 3 Phase from 0 to MRCF - 1. 1A RCF Coefficient Offset (CORCF) 6 Range is 0 to 48 taps. Rev. A | Page 37 of 44 Additional Information Code 1 2 . . 65,534 65,535 Code 7 8 9 . . 30 31 Code 0 1 Count 1 2 . . 65,534 65,535 Decimation 8 9 10 . . 31 32 Scale Factor 12 13 2 . . 7 8 Code 0 1 Code 0 1 2 . . 6 7 Code 0 1 . . 6 7 Code 0 1 2 . . 46 47 14 . . 19 20 Results Disabled Enabled Decimation 1 2 3 . . 7 8 Phase 0 1 . . 6 7 Offset 0 1 2 . . 46 47 AD6650 Reg. (Hex) Mnemonic Bit Width Description 1B RCF Taps (NTaps - 1) 6 1 to 48. 1C RCF Scale 2 0, -6 dB, -12 dB, and -18 dB gain adjust to prevent coefficients from clipping the MAC. 1D 1E 1F 20 21 BIST for A-I BIST for A-Q BIST for B-I BIST for B-Q Serial Control 24 24 24 24 9 16-bit data available, I/DATA_I. 16-bit data available, Q/DATA_Q. 16-bit data available, I/DATA_I. 16-bit data available, Q/DATA_Q. Power-up value is 9'bxxxxx0xxx for Bit 3 to make it a serial slave. Data is available through the I/Q BIST registers when Bit 8 is high. 8: Fine DCC Data to BIST 1 7: B Data Serial Ouput Select 1 6 to 5: I_SDFS Control 2 Port B data serial output select. Serial port control functions. Additional Information Code 0 1 . . 46 47 Code 0 1 2 3 Code 0 Results 1 Use SDO1 for B data AI pulse AI, BI pulses AI, AQ, BI, BQ pulses High for SDO0 valid 16-bit words 24-bit words Serial slave Serial bus master Divide-by-1 . . Divide-by-8 0 1 2 3 22 23 to 3F 40 to 6F 70 to FF 4: SOWL 1 Serial output word length. 3: SBM 1 Serial bus master. 2 to 0: SDIV [2:0] 3 Serial divider. 4 New calibration sequence control registers. Power-up value is 4'b0000. Reserved. Reserved. AutoCalibration Control 0 1 0 1 0 . . 7 3: Reserved 2: Reserved 1 1 1: DAC Power-Down Disable 1 Power down VGA DACs during the power-up sequence to calibrate the dc offset. 0: Enable 1 Autocalibration enable. Must be written 0 Must be written 1 Code 0 1 0 1 Reserved Coefficient Memory Common coefficients for Channel A and Channel B. Reserved Rev. A | Page 38 of 44 Taps 1 2 . . 47 48 Scale Factor -18 dB -12 dB -6 dB 0 dB 48 x 20 bit RAM Use SDO0 for B data Results Power down DACs DACs on Disabled Enabled AD6650 REGISTER DETAILS Table 19. PLL Register 0: Control Latch CH Address DB21 to DB0 Register RSVD Description Reserved Comment Must be written 00 0000 0111 1100 0100 0000 (MSB ... LSB). Table 20. PLL Register 1: R Counter Latch CH Address DB21 to DB14 DB13 to DB0 Register RSVD R1 to R14 Description Reserved 14-bit reference counter, R Comment Must be written 0001 0100 (DB21 ... DB14). Table 21. PLL Register 2: N Counter Latch CH Address DB21 to DB19 DB18 to DB6 DB5 DB4 to DB0 Register RSVD B13 to B1 RSVD A5-A1 Description Reserved 13-bit B counter Reserved 5-bit A counter Comment Must be written 000. B13 to B1 programs the 13-bit B counter. Must be written 0. A5 to A1 programs the 5-bit counter. The divide range is 0 (00000) to 31 (11111). Table 22. PLL Register 3--Reserved CH Address DB21 to DB0 Register RSVD Bit Definitions Reserved Comment Must be written 11 0001 1000 0000 0000 0000 (MSB ... LSB). 0x00: Clock Divider Control [1] 0x05: Clamp Control [5:0] The clock divider control bit sets the internal clock rate for the AD6650. If this bit is set low and the clock rate is 52 MSPS, the internal divide-by-2 is bypassed. If a faster clock rate is desired, the clock divider control bit should be set high. By setting this bit high, the internal divide-by-2 is used. This register either enables or disables the clamps on the output of the mixers. These clamps should be enabled. 0x06: Reserved [8:0] This register is reserved and must be written 00000000. 0x07: Reserved [8:0] 0x01: PLL Control Register 0 [21:0] This register is reserved and must be written 00 0000 0111 1100 0100 0000 (MSB ... LSB). This register is reserved and must be written 00000000. 0x08: Reserved [8:0] 0x02: PLL Control Register 1 [21:0] This register is reserved and must be written 00010001. DB13 to DB0: These bits are used to set the R-counter for the PLL. 0x09: Reserved [1:0] DB21 to DB14: These bits are reserved and must be written 0001 0100. This register is reserved and should be written low. 0x03: PLL Control Register 2 [21:0] DB4 to DB0: This 5-bit register is used to set the value for the A counter in the PLL. DB5: This bit is reserved and must be written to 0. DB18 to DB6: This 13-bit register is used to set the value for the B-counter in the PLL. DB21 to DB19: These bits are reserved and must be written 000. 0x04: PLL Control Register 3 [21:0] This register is reserved and must be written 11 0001 1000 0000 0000 0000 (MSB ... LSB). Rev. A | Page 39 of 44 AD6650 0x0A: Coarse DC Correction Control Register [3:0] Address 0xA is the coarse dc correction control register. It is used to enable the coarse correction with Bit 0 and to initiate calibrations on Channel A and/or Channel B. Bit 3 and Bit 2 of this register can be used to initiate coarse calibrations when the device is running and can be used in conjunction with an external switch if desired. Bit 1 is used to activate the internal pseudorandom noise generator, which is useful for looking at the digital filter response and performing the built-in self-test. Table 23. Coarse DC Correction Control Functions Bit No. 3 2 1 0 Description Calibrate B Calibrate A PN_EN CDCC enable Bit 12 to Bit 8 The lower threshold determines where the minimum integration period is used. When the peak of the input to the fine dc correction block is lower than this level, the accumulators average 2Min_period samples at the output rate (1 or 2 samples/symbol). When the peak of the signal increases above this, the integration periods increase by a factor of 4 for every 6 dB that the signal power increases. It should be noted that any dc content left after the coarse correction can be seen by the fine dc correction peak detector and causes the integration period to change. For example, if the lower threshold is -96 dBFS and the dc content is -78 dBFS, the signal is at least 18 dB larger; therefore, the integration period is at least 64x (that is, 418/6) the minimum period. 0xB: Fine DC Correction Filter [19:0] The fine dc correction block is used to provide a good dc correction for small signals that are under the range of the AGC loop. Address 0xB has four parameters. The lower threshold can be set near the upper threshold to provide a constant integration period of 2Min_period if desired. Bit 7 to Bit 3 This interval is equal to 2Min_period. The minimum period determines the integration period when the peak signal power into the fine dc correction block is less than the lower threshold. This can be used in combination with the lower threshold to make sure there is enough integration to estimate the dc for small signals. Table 24. Fine DC Correction Filter Functions Bits 19 to 13 12 to 8 7 to 3 2 1 0 the peak detectors in the fine dc correction block ranges off the dc content as well as the signal of interest. Description Upper threshold Lower threshold Minimum period Bypass Interpolator enable Freeze Bit 19 to Bit 13 The upper threshold disables the fine dc correction algorithm for large input signals that could potentially contain significant dc content from the modulated data. This should be set below the range of the AGC loop, which is equal to the requested level of -36 dB. It should also be set above the uncorrected dc level so that the fine DCC is guaranteed to range. The upper threshold should be set low enough so that the dc content is not estimated while the loop is ranging because the changing gain distorts the estimate. Setting the upper threshold lower also decreases effects from dc content in the signal such as dc offset from modulated data with high correlations or mobiles with LO feedthrough. It is equally important not to set the upper threshold too low. If the upper threshold is set so low that the desired signal is consistently higher than this threshold, a new dc estimate, which is necessary to compensate for power supply or temperature drifts, will not occur. Therefore, a thorough understanding of the signal statistics for the application is required. As a guideline, the upper threshold should be set between -40 dBFS and -70 dBFS. If it is set below -72 dBFS, the uncorrected dc offset from the analog front end and coarse correction can increase the effective minimum period because If Min_period is 12, the period of integration for a signal with power less than or equal to -96.32 dBFS is 4096 samples. For each 6.02 dBFS increase in the signal power, the integration period quadruples. The Min_period register can be programmed from 1 to 31; 0 is not a valid value for this register. Bit 2 This is the bypass bit that effectively shuts down the fine dc correction block. When this bit is 1, no correction is performed. Bit 1 This bit enables an interpolator that can smooth out the updated estimate transition by a fixed interpolation by 256. This is a linear interpolator that allows the correction block to gradually shift between the old estimate and the new estimate to avoid transients if there has been significant dc shift. If disabled, the shift in correction values happens instantaneously, causing a discontinuity in the signal; however, if the interpolator is enabled, this shift occurs over 256 samples, preventing any large discontinuities. The interpolator should not be enabled if Min_period is set to less than 8 (a period of 256 samples). Use of the interpolator is not recommended at this time, and this bit should be set to 0. Bit 0 When set to 1, this bit freezes the estimate of the dc correction and resets the peak detector to the smallest possible signal state (-138 dB peak signal). This way, the dc can be estimated once Rev. A | Page 40 of 44 AD6650 and constantly corrected. This is useful for debugging and for use when the dc estimate can be performed at discrete predefined times. Even though the upper threshold register can vary between 0 and 15 and the Min_period register can vary between 1 and 31, only certain combinations of the two are valid. This is because the growth is restricted to 34 bits. Equation 23 can be used to determine if a combination of values is valid. If C < 0, the combination is invalid; otherwise, the combination is valid. C = 34 - (2 x (16 - Upper Threshold) + Min_period) (23) 0x0C: AGC Control 0 [3:0] Bit 3 Bit 7 to Bit 0 These lower eight bits set the requested level for the AGC slow loop. Setting the code to 0 sets the requested level to +4 dBm, which corresponds to the full-scale input of the AD6650. Setting the code to 255 sets the requested level to -19.97 dBm. 0x0F: AGC Control 3 [10:0] Bit 10 to Bit 8 This 3-bit register sets the loop gain exponent for the slow loop of the AD6650 AGC. The values can range from 0 to 7. The equation for the loop gain is noted in the AGC Loop/Relinearization section. Bit 7 to Bit 6 The force VGA gain control register allows the user to force the VGA gain to a specific value. This control line overrides the slow loop, fast decay loop, and fast attack loop when enabled. By setting this bit low, the force VGA gain control is disabled. By setting this bit high, the force VGA gain control is enabled. For normal operation, this bit should be disabled. Bit 2 These two bits are reserved and should be written low. Bit 5 to Bit 0 This 6-bit register represents the loop gain mantissa for the slow loop of the AD6650 AGC. The values for this register range from 0 to 63. The equation for the loop gain is noted in the AGC Loop/Relinearization section. By setting this bit high, the fast decay loop is enabled; by setting this bit low, the fast decay loop is disabled. It is recommended that the fast decay loop be enabled for normal operation. For a description of the fast decay functionality, see the AGC Loop/Relinearization section. 0x10: AGC Control 4 [12:0] Bit 12 to Bit 10 Bit 1 Bit 9 to Bit 8 By setting this bit high, the fast attack loop is enabled; by setting this bit low, the fast attack loop is disabled. It is recommended that the fast decay loop be enabled for normal operation. For a description of the fast attack functionality, see the AGC Loop/Relinearization section. This 2-bit register sets the threshold for the fast attack AGC loop. When the desired signal reaches this threshold, the gain is reduced by the FA_Step for FA_Count number of clock cycles. Bit 0 The fast attack loop steps the gain down by FA_Step for FA_Count number of clock cycles. This bit is reserved and should be written low. This 3-bit register is used to set the fast decay step size. The gain continues to increase until it has reached the fast decay threshold or until the maximum gain has been reached. Bit 7 to Bit 4 Bit 3 to Bit 0 0x0D: AGC Control 1 [8:0] If the force VGA bit is enabled in AGC Control Register 0 (Bit 3 = 1), this register controls the gain setting for the VGA. The gain is controlled in 0.094 dB steps with a maximum gain of 36 dB. Code 0 corresponds to 0 dB gain or minimum gain, whereas Code 383 corresponds to 36 dB gain or maximum gain. 0x0E: AGC Control 2 [15:0] The FA_Step register determines how large a step to take once the fast attack threshold has been reached. This value is expressed in decibels. 0x11: AGC Control 5 [15:0] Bit 15 to Bit 8 This 8-bit register sets the signal plus blocker peak detector period for the AGC slow loop. It can be set from 0 to 255 samples. The AGC Control 2 register is a 16-bit register that sets the amount of hysteresis used in the AGC loop and sets the requested level for the AGC loop. Bit 7 to Bit 0 Reserved and must be written 00000000. Bit 15 to Bit 8 0x12: Reserved [6:0] These upper bits set the hysteresis level in 0.094 dB steps. Code 0 corresponds to 0 dB of hysteresis, and Code 255 corresponds to 23.97 dB of hysteresis. This register is reserved and must be written 0000000. 0x13: AGC Control 7 [8:0] This 9-bit register is used to set the threshold for the fast decay signal plus blocker. Values can range from 0 dBFS to -48 dBFS. Rev. A | Page 41 of 44 AD6650 The peak detector for this threshold monitors the desired signal and blocker peaks at the ADC output. 0x14: Start Holdoff Counter [15:0] The start holdoff counter is loaded with the value written to this address when a sync is initiated. It can be initiated by either a Soft_SYNC or Pin_SYNC. The counter begins decrementing, and when it reaches a value of 1, the channel exits sleep mode and begins processing data. If this register is written 1, the start occurs immediately when the SYNC comes into the channel. If it is written 0, no SYNC occurs. 0x15: CIC4 Decimation Minus One (MCIC4 - 1) [4:0] This register is used to set the decimation in the CIC4 filter. The value written to this register is the decimation minus one. The value of this register should be 12 or greater because the CIC and IIR have maximum rates of 26 MHz/12. Although this is a 5-bit register, the decimation is usually limited to between 12 and 32. Decimations higher than 32 require more scaling than the CIC4's capability. 0x16: CIC4 Scale [3:0] The CIC4 scale factor is used to compensate for the growth of the CIC4 filter. See the Fourth-Order Cascaded Integrator Comb Filter (CIC4) section for details. 0x1B: RCF Taps Minus One (NTAPS - 1) [5:0] The number of taps for the RCF filter minus one is written to this register. 0x1C: RCF Scale Register [1:0] This 2-bit register represents the output scale factor of the RCF. This register is used to scale the output data between 0 dB and -18 dB in 6 dB steps. 0x1D to 0x20: BIST Register [23:0] These four registers allow the complete digital functionality of the I and Q data path in the A and B channels to be tested in the system. See the User-Configurable Built-In Self-Test (BIST) section for more details. 0x21: Serial Control Register [8:0] This register controls the serial port of the AD6650 and determines the output format. Bit 8 Fine DCC data to BIST. Bit 7 If this bit is enabled (set high), Channel B data is output on Serial Data Output 1 (SDO1). 0x17: IIR Control Register [1] Bit 6 to Bit 5 Address 0x17 is the IIR control register. When this bit is set to 0, the sync mask is disabled. In this mode, after a SYNC is issued to the AD6650, the IIR data path is not cleared. If the sync mask is enabled, the bit is set to 1, and the data path is cleared of its contents and starts accumulating new data on the first valid clock after a Soft_SYNC or Pin_SYNC is issued. Choose the serial data frame sync (SDFS) mode. See the Serial Data Frame Sync section for a full description of each mode. The following bits select the corresponding mode. 0x18: RCF Decimation Register Minus One (MRCF - 1) [2:0] This register is used to set the decimation of the RCF stage. The value written is the decimation minus one. This is a 3-bit register that allows decimations up to 8. 0x19: RCF Decimation Phase (PRCF) [2:0] This register allows any one of the MRCF phases of the filter to be used and can be adjusted dynamically. Each time a filter is started, this phase is updated. When a channel is synchronized, it retains the phase setting selected. This can be used as part of a timing recovery loop with an external processor or can allow multiple RCFs to work together while using a single RCF pair. See the RAM Coefficient Filter section for more details. 0x1A: RCF Coefficient Offset (CORCF) [5:0] This register is used to specify which section of the 256-word coefficient memory is used for a filter. It can be used to select among multiple filters that are loaded into memory and referenced by this pointer. This register is shadowed and the filter pointer is updated every time a new filter is started. This allows the coefficient offset to be written even while a filter is being computed without disturbing operation. The next sample that comes out of the RCF will be with the new filter. Table 25. Serial Port Control Functions Bits 11 10 01 00 Description High for SDO0 valid AI, AQ, BI, BQ pulses AI, BI pulses AI pulse Bit 4 By setting this bit low, the output data stream is 16-bit I and 16-bit Q data-words for both the A and B channels. By setting this bit high, the output data stream is 24-bit I and 24-bit Q data words for both the A and B chan nels. To fully realize the dynamic range of the AD6650, it is recommended that the 24-bit mode be used. Bit 3 By setting this bit high, the AD6650 becomes the serial bus master. It is recommended that this bit be enabled (set high). Bit 2 to Bit 0 This 3-bit register controls the divider on the serial clock (SCLK) on the output of the AD6650. It is possible to divide the SCLK by 8, allowing a flexible interface to a DSP or FPGA. Rev. A | Page 42 of 44 AD6650 0x22: Autocalibration Register [3:0] Bit 0 Address 0x22 is the autocalibration register and controls the automatic coarse dc autocalibration at start-up. Bit 2 Enables the autocalibration. This should be set to 1 for the calibration to run automatically. Then the AD6650 waits approximately 20.63 ms after a Soft_SYNC or Pin_SYNC enables the part and then runs a coarse dc calibration. This allows some warm-up time for the analog path to thermally stabilize. Reserved. This bit should be set to 1. 0x23 to 0x3F: Reserved Bit 1 These registers must not be written. Determines whether to power down the VGA and mixer on a coarse calibration. This should be set to 0 to allow the state machine to power down the VGA and mixer. If it is known that there is no dc input into the part, this can be set to 1 to improve the correction performance, which allows more flexibility in setting the lower threshold. 0x40 to 0x6F: Coefficient Memory Bit 3 Reserved. This bit should be set to 0. This memory is utilized to store up to forty-eight 20-bit RCF coefficients shared by Channel A and Channel B. 0x70 to 0xFF: Reserved These registers must not be written. Rev. A | Page 43 of 44 AD6650 OUTLINE DIMENSIONS A1 CORNER INDEX AREA 12.20 12.00 SQ 11.80 11 10 9 8 7 6 5 4 3 2 1 A B C D BALL A1 CORNER 10.00 BSC SQ E F G H J K L 1.00 BSC BOTTOM VIEW TOP VIEW *1.85 DETAIL A *1.31 DETAIL A 1.71 1.40 1.21 1.11 0.50 NOM 0.30 MIN SEATING PLANE 0.20 COPLANARITY *COMPLIANT WITH JEDEC STANDARDS MO-192-ABD-1 WITH EXCEPTION TO PACKAGE HEIGHT AND THICKNESS. 082406-A 0.70 0.60 0.50 BALL DIAMETER Figure 42. 121-Lead Chip Scale Package Ball Grid Array [CSP_BGA] (BC-121) Dimensions shown in millimeters ORDERING GUIDE Model AD6650ABC AD6650ABCZ2 AD6650BBC AD6650BBCZ2 AD6650/PCB Temperature Range1 -25C to +85C -25C to +85C -25C to +85C -25C to +85C Package Description 121-Lead Chip Scale Package Ball Grid Array [CSP_BGA] 121-Lead Chip Scale Package Ball Grid Array [CSP_BGA] 121-Lead Chip Scale Package Ball Grid Array [CSP_BGA] 121-Lead Chip Scale Package Ball Grid Array [CSP_BGA] Evaluation Board with AD6650 and Software 1 Package Option BC-121 BC-121 BC-121 BC-121 The AD6650 is guaranteed fully functional from -40C to +85C. All ac minimum specifications are guaranteed from -25C to +85C, but degrade slightly from -25C to -40C. 2 Z = Pb-free part. (c)2006-2007 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D03683-0-1/07(A) Rev. A | Page 44 of 44