Dual, 16-Bit, 1230 MSPS, TxDAC+ Digital-to-Analog Converter AD9122 The AD9122 TxDAC+(R) includes features optimized for direct conversion transmit applications, including complex digital modulation, and gain and offset compensation. The DAC outputs are optimized to interface seamlessly with analog quadrature modulators, such as the ADL537x F-MOD series from Analog Devices, Inc. A 4-wire serial port interface provides for programming/readback of many internal parameters. Full-scale output current can be programmed over a range of 8.7 mA to 31.7 mA. The AD9122 comes in a 72-lead LFCSP. FEATURES Flexible LVDS interface allows word, byte, or nibble load Single-carrier W-CDMA ACLR = 82 dBc at 122.88 MHz IF Analog output: adjustable 8.7 mA to 31.7 mA, RL = 25 to 50 Integrated 2x/4x/8x interpolator/complex modulator allows carrier placement anywhere in the DAC bandwidth Gain, dc offset, and phase adjustment for sideband suppression Multiple chip synchronization interfaces High performance, low noise PLL clock multiplier Digital inverse sinc filter Low power: 1.5 W at 1.2 GSPS, 800 mW at 500 MSPS, full operating conditions 72-lead, exposed paddle LFCSP PRODUCT HIGHLIGHTS 1. 2. APPLICATIONS 3. Wireless infrastructure W-CDMA, CDMA2000, TD-SCDMA, WiMAX, GSM, LTE Digital high or low IF synthesis Transmit diversity Wideband communications: LMDS/MMDS, point-to-point 4. Ultralow noise and intermodulation distortion (IMD) enable high quality synthesis of wideband signals from baseband to high intermediate frequencies (IF). Proprietary DAC output switching technique enhances dynamic performance. Current outputs are easily configured for various singleended or differential circuit topologies. Flexible LVDS digital interface allows the standard 32-wire bus to be reduced to one-half or one-quarter of the width. COMPANION PRODUCTS IQ Modulators: ADL5370, ADL537x family IQ Modulators with PLL and VCO: ADRF6701, ADRF670x family Clock Drivers: AD9516, AD951x family Voltage Regulator Design Tool: ADIsimPower Additional companion products on the AD9122 product page GENERAL DESCRIPTION The AD9122 is a dual, 16-bit, high dynamic range digital-toanalog converter (DAC) that provides a sample rate of 1230 MSPS, permitting multicarrier generation up to the Nyquist frequency. TYPICAL SIGNAL CHAIN COMPLEX BASEBAND COMPLEX IF RF DC fIF LO - fIF 2 2/4 I DAC SIN DIGITAL BASEBAND PROCESSOR ANTIALIASING FILTER AQM PA COS 2/4 Q DAC LO 08281-001 2 NOTES 1. AQM = ANALOG QUADRATURE MODULATOR. Figure 1. Rev. B Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.461.3113 (c)2009-2011 Analog Devices, Inc. All rights reserved. AD9122 TABLE OF CONTENTS Features .............................................................................................. 1 Data Rates vs. Interpolation Modes ......................................... 42 Applications ....................................................................................... 1 Coarse Modulation Mixing Sequences.................................... 42 General Description ......................................................................... 1 Quadrature Phase Correction................................................... 43 Product Highlights ........................................................................... 1 DC Offset Correction ................................................................ 43 Companion Products ....................................................................... 1 Inverse Sinc Filter ....................................................................... 43 Typical Signal Chain......................................................................... 1 DAC Input Clock Configurations ................................................ 44 Revision History ............................................................................... 3 Driving the DACCLK and REFCLK Inputs ........................... 44 Functional Block Diagram .............................................................. 4 Direct Clocking .......................................................................... 44 Specifications..................................................................................... 5 Clock Multiplication .................................................................. 44 DC Specifications ......................................................................... 5 PLL Settings ................................................................................ 45 Digital Specifications ................................................................... 6 Configuring the VCO Tuning Band ........................................ 45 Digital Input Data Timing Specifications ................................. 6 Analog Outputs............................................................................... 46 AC Specifications.......................................................................... 7 Transmit DAC Operation.......................................................... 46 Absolute Maximum Ratings............................................................ 8 Auxiliary DAC Operation ......................................................... 47 Thermal Resistance ...................................................................... 8 Interfacing to Modulators ......................................................... 48 ESD Caution .................................................................................. 8 Baseband Filter Implementation .............................................. 48 Pin Configuration and Function Descriptions ............................. 9 Driving the ADL5375-15 .......................................................... 48 Typical Performance Characteristics ........................................... 11 Reducing LO Leakage and Unwanted Sidebands .................. 49 Terminology .................................................................................... 17 Device Power Management........................................................... 50 Differences Between AD9122R1 and AD9122R2 ...................... 18 Power Dissipation....................................................................... 50 Device Marking of AD9122R1 and AD9122R2 ..................... 18 Temperature Sensor ................................................................... 51 Theory of Operation ...................................................................... 19 Multichip Synchronization............................................................ 52 Serial Port Operation ................................................................. 19 Synchronization with Clock Multiplication ............................... 52 Data Format ................................................................................ 19 Synchronization with Direct Clocking .................................... 53 Serial Port Pin Descriptions ...................................................... 19 Data Rate Mode Synchronization ............................................ 53 Serial Port Options ..................................................................... 20 FIFO Rate Mode Synchronization ........................................... 54 Device Configuration Register Map and Descriptions ......... 21 Additional Synchronization Features ...................................... 55 LVDS Input Data Ports .................................................................. 32 Interrupt Request Operation ........................................................ 56 Word Interface Mode ................................................................. 32 Interrupt Service Routine .......................................................... 56 Byte Interface Mode ................................................................... 32 Interface Timing Validation .......................................................... 57 Nibble Interface Mode ............................................................... 32 SED Operation............................................................................ 57 Interface Timing ......................................................................... 32 SED Example .............................................................................. 58 FIFO Operation .......................................................................... 33 Example Start-Up Routine ............................................................ 59 Digital Datapath.............................................................................. 36 Device Configuration ................................................................ 59 Premodulation ............................................................................ 36 Derived PLL Settings ................................................................. 59 Interpolation Filters ................................................................... 36 Derived NCO Settings ............................................................... 59 NCO Modulation ....................................................................... 39 Start-Up Sequence ...................................................................... 59 Datapath Configuration ............................................................ 39 Outline Dimensions ....................................................................... 60 Determining Interpolation Filter Modes ................................ 40 Ordering Guide .......................................................................... 60 Datapath Configuration Examples........................................... 41 Rev. B | Page 2 of 60 AD9122 REVISION HISTORY 5/11--Rev. A to Rev. B Change to General Description Section ......................................... 1 Added Companion Products Section ............................................. 1 Moved Power Supply Rejection Ratio Parameter from Power Consumption Section of Table 1 to Main DAC Outputs Section of Table 1............................................................................................. 5 Moved Power-Up Time Parameter from Table 3 to Table 1 ........ 5 Changed Maximum Clock Rate Parameter in Table 2 ................. 6 Changes to Table 3 ............................................................................ 6 Changes to Table 5 ............................................................................ 7 Changes to Table 6 ............................................................................ 8 Changes to Figure 3 and Table 8 ..................................................... 9 Changes to Differences Between AD9122R1 and AD9122R2 Section and Device Marking of AD9122R1 and AD9122R2 Section ..............................................................................................18 Changes to Figure 40 and Figure 41 .............................................20 Changes to Table 10 ........................................................................21 Changes to Table 11 ........................................................................23 Changes to LVDS Input Data Ports Section and Figure 45 .......32 Moved Interface Timing Section ...................................................32 Moved Figure 46 and Table 13; Changes to Interface Timing Section ................................................................................33 Changes to Resetting the FIFO Section, Serial Port Initiated FIFO Reset Section, and Figure 48 ...............................................34 Changes to FRAME Initiated Absolute FIFO Reset Section and Monitoring the FIFO Status Section .....................................35 Changes to Table 22 ........................................................................42 Changes to Inverse Sinc Filter Section .........................................43 Change to Driving the DACCLK and REFCLK Inputs Section ....44 Changes to Manual VCO Band Select Section ............................45 Changes to Transmit DAC Operation Section ............................46 Changes to Figure 69, Figure 70, Figure 71, and Figure 72 .......47 Changes to Power Dissipation Section .........................................50 Replaced Temperature Sensor Section .........................................51 Changes to Multichip Synchronization Section, Synchronization with Clock Multiplication Section, and Procedure for Synchronization When Using the PLL Section ...........................52 Changes to Procedure for Data Rate Synchronization When Directly Sourcing the DAC Sampling Clock Section .................53 Moved Table 25 and Figure 85 ...................................................... 54 Changes to Procedure for FIFO Rate Synchronization When Directly Sourcing the DAC Sampling Clock Section ................. 54 Changes to Additional Synchronization Features Section and Timing Optimization Section........................................................ 55 Added One-Time Synchronization Section ................................ 55 Changes to Interrupt Request Operation Section ...................... 56 Changes to SED Operation Section .............................................. 57 Changes to SED Example Section ................................................. 58 Changes to Example Start-Up Routine Section .......................... 59 3/10--Rev. 0 to Rev. A Changes to Reflect Differences Between R1 and R2 Silicon .................................................................................. Universal Changes to Features Section ............................................................ 1 Changes to Table 1 ............................................................................ 5 Changes to Table 2 ............................................................................ 6 Changes to Table 5 ............................................................................ 7 Change to IOVDD Rating in Table 6 ............................................. 8 Changes to Table 8 ............................................................................ 9 Changes to Figure 10 through Figure 15...................................... 12 Added Differences Between AD9122R1 and AD9122R2 Section; Added Figure 36 and Figure 37; Renumbered Figures Sequentially ...................................................................................... 18 Changes to Table 10 ........................................................................ 21 Changes to Table 11 ........................................................................ 23 Changes to FIFO Operation Section ............................................ 33 Changes to Resetting the FIFO Section; Replaced Table 13; Added Serial Port Initiated FIFO Reset Section and FRAME Initiated Relative FIFO Reset Section........................................... 34 Added FRAME Initiated Absolute FIFO Reset Section; Replaced Table 14 ............................................................................ 35 Changes to Figure 54 ...................................................................... 38 Changes to Table 18 ........................................................................ 39 Changes to SED Example Section ................................................. 58 Added Example Start-Up Routine Section .................................. 59 9/09--Revision 0: Initial Version Rev. B | Page 3 of 60 AD9122 FUNCTIONAL BLOCK DIAGRAM 16 IOUT1P DAC 1 AUX 16-BIT IOUT1N 16 fDATA /2 PRE MOD NCO AND MOD HB1 HB2 10 HB3 I OFFSET Q OFFSET INV SINC DAC_CLK 16 16 INVSINC_CLK INTP FACTOR HB3_CLK HB2_CLK MODE HB1_CLK FRAME PHASE CORRECTION DCI 10 1.2G IOUT2P DAC 2 AUX 16-BIT IOUT2N GAIN 2 FIFO GAIN 1 DATA RECEIVER D15P/D15N D0P/D0N 1.2G 10 INTERNAL CLOCK TIMING AND CONTROL LOGIC REF AND BIAS REFIO FSADJ DAC CLK_SEL PLL CONTROL POWER-ON RESET MULTICHIP SYNCHRONIZATION SYNC DAC_CLK 0 1 CLOCK MULTIPLIER (2x TO 16x) CLK RCVR DACCLKP DACCLKN CLK RCVR REFCLKP REFCLKN 08281-002 RESET CS IRQ SDIO SCLK PLL_LOCK SDO PROGRAMMING REGISTERS SERIAL INPUT/OUTPUT PORT Figure 2. Rev. B | Page 4 of 60 AD9122 SPECIFICATIONS DC SPECIFICATIONS TMIN to TMAX, AVDD33 = 3.3 V, DVDD18 = 1.8 V, CVDD18 = 1.8 V, IFS = 20 mA, maximum sample rate, unless otherwise noted. Table 1. Parameter RESOLUTION ACCURACY Differential Nonlinearity (DNL) Integral Nonlinearity (INL) MAIN DAC OUTPUTS Offset Error Gain Error (with Internal Reference) Full-Scale Output Current 1 Output Compliance Range Power Supply Rejection Ratio, AVDD33 Output Resistance Gain DAC Monotonicity Settling Time to Within 0.5 LSB MAIN DAC TEMPERATURE DRIFT Offset Gain Reference Voltage REFERENCE Internal Reference Voltage Output Resistance ANALOG SUPPLY VOLTAGES AVDD33 CVDD18 DIGITAL SUPPLY VOLTAGES DVDD18 IOVDD POWER CONSUMPTION 2x Mode, fDAC = 491.22 MSPS, IF = 10 MHz, PLL Off 2x Mode, fDAC = 491.22 MSPS, IF = 10 MHz, PLL On 8x Mode, fDAC = 800 MSPS, IF = 10 MHz, PLL Off AVDD33 CVDD18 DVDD18 Power-Down Mode (Register 0x01 = 0xF0) POWER-UP TIME OPERATING RANGE 1 Min Typ 16 Max 2.1 3.7 -0.001 -3.6 8.66 -1.0 -0.3 0 2 19.6 Unit Bits LSB LSB +0.001 +3.6 31.66 +1.0 +0.3 10 Guaranteed 20 % FSR % FSR mA V % FSR/V M ns 0.04 100 30 ppm/C ppm/C ppm/C 1.2 5 V k 3.13 1.71 3.3 1.8 3.47 1.89 V V 1.71 1.71 1.8 1.8/3.3 1.89 3.47 V V 1241 57 90 495 18.8 -40 834 913 1135 55 85 444 6.5 260 +25 mW mW mW mA mA mA mW ms C Based on a 10 k external resistor between FSADJ and AVSS. Rev. B | Page 5 of 60 +85 AD9122 DIGITAL SPECIFICATIONS TMIN to TMAX, AVDD33 = 3.3 V, IOVDD = 3.3 V, DVDD18 = 1.8 V, CVDD18 = 1.8 V, IFS = 20 mA, maximum sample rate, unless otherwise noted. Table 2. Parameter CMOS INPUT LOGIC LEVEL Input VIN Logic High Input VIN Logic Low CMOS OUTPUT LOGIC LEVEL Output VOUT Logic High Output VOUT Logic Low LVDS RECEIVER INPUTS 1 Input Voltage Range, VIA or VIB Input Differential Threshold, VIDTH Input Differential Hysteresis, VIDTHH to VIDTHL Receiver Differential Input Impedance, RIN LVDS Input Rate DAC CLOCK INPUT (DACCLKP, DACCLKN) Differential Peak-to-Peak Voltage Common-Mode Voltage Maximum Clock Rate REFCLK INPUT (REFCLKP, REFCLKN) Differential Peak-to-Peak Voltage Common-Mode Voltage REFCLK Frequency (PLL Mode) REFCLK Frequency (SYNC Mode) Test Conditions/Comments Min IOVDD = 1.8 V IOVDD = 2.5 V IOVDD = 3.3 V IOVDD = 1.8 V IOVDD = 2.5 V, 3.3 V 1.2 1.6 2.0 IOVDD = 1.8 V IOVDD = 2.5 V IOVDD = 3.3 V IOVDD = 1.8 V, 2.5 V, 3.3 V Applies to data, DCI, and FRAME inputs 1.4 1.8 2.4 825 -100 Unit 0.6 0.8 V V V V V 0.4 V V V V 20 120 mV mV mV See Table 5 100 Self-biased input, ac-coupled 500 1.25 2000 mV V MHz 500 1.25 2000 mV V MHz MHz 1230 100 1 GHz fVCO 2.1 GHz See the Multichip Synchronization section for conditions 15.625 0 600 600 40 12.5 12.5 1.9 0.2 2.3 1.4 LVDS receiver is compliant with the IEEE 1596 reduced range link, unless otherwise noted. DIGITAL INPUT DATA TIMING SPECIFICATIONS Table 3. Parameter LATENCY (DACCLK CYCLES) 1x Interpolation (With or Without Modulation) 2x Interpolation (With or Without Modulation) 4x Interpolation (With or Without Modulation) 8x Interpolation (With or Without Modulation) Inverse Sinc Fine Modulation Max 1675 +100 80 SERIAL PORT INTERFACE Maximum Clock Rate (SCLK) Minimum Pulse Width High (tPWH) Minimum Pulse Width Low (tPWL) Setup Time, SDIO to SCLK (tDS) Hold Time, SDIO to SCLK (tDH) Data Valid, SDO to SCLK (tDV) Setup Time, CS to SCLK (tDCSB) 1 Typ Value Unit 64 135 292 608 20 8 Cycles Cycles Cycles Cycles Cycles Cycles Rev. B | Page 6 of 60 MHz ns ns ns ns ns ns AD9122 AC SPECIFICATIONS TMIN to TMAX, AVDD33 = 3.3 V, DVDD18 = 1.8 V, CVDD18 = 1.8 V, IFS = 20 mA, maximum sample rate, unless otherwise noted. Table 4. Parameter SPURIOUS-FREE DYNAMIC RANGE (SFDR) fDAC = 100 MSPS, fOUT = 20 MHz fDAC = 200 MSPS, fOUT = 50 MHz fDAC = 400 MSPS, fOUT = 70 MHz fDAC = 800 MSPS, fOUT = 70 MHz TWO-TONE INTERMODULATION DISTORTION (IMD) fDAC = 200 MSPS, fOUT = 50 MHz fDAC = 400 MSPS, fOUT = 60 MHz fDAC = 400 MSPS, fOUT = 80 MHz fDAC = 800 MSPS, fOUT = 100 MHz NOISE SPECTRAL DENSITY (NSD), EIGHT-TONE, 500 kHz TONE SPACING fDAC = 200 MSPS, fOUT = 80 MHz fDAC = 400 MSPS, fOUT = 80 MHz fDAC = 800 MSPS, fOUT = 80 MHz W-CDMA ADJACENT CHANNEL LEAKAGE RATIO (ACLR), SINGLE-CARRIER fDAC = 491.52 MSPS, fOUT = 10 MHz fDAC = 491.52 MSPS, fOUT = 122.88 MHz fDAC = 983.04 MSPS, fOUT = 122.88 MHz W-CDMA SECOND ACLR, SINGLE-CARRIER fDAC = 491.52 MSPS, fOUT = 10 MHz fDAC = 491.52 MSPS, fOUT = 122.88 MHz fDAC = 983.04 MSPS, fOUT = 122.88 MHz Min Typ Max Unit 78 80 69 72 dBc dBc dBc dBc 84 86 84 81 dBc dBc dBc dBc -162 -163 -164 dBm/Hz dBm/Hz dBm/Hz 84 82 83 dBc dBc dBc 88 86 88 dBc dBc dBc Table 5. Maximum Rate (MSPS) with DVDD and CVDD Supply Regulation Bus Width Nibble (4 Bits) Byte (8 Bits) Word (16 Bits) Interpolation Factor 1x 2x 4x 8x 1x 2x 4x 8x 1x 2x (HB1) 2x (HB2) 4x 8x 1.8 V 5% 1100 1100 1100 1100 1100 1100 1100 550 1100 900 1100 550 275 fINTERFACE (MSPS) DVDD18, CVDD18 = 1.8 V 2% 1.9 V 2% 1200 1230 1200 1230 1200 1230 1200 1230 1200 1230 1200 1230 1200 1230 600 615 1200 1230 1000 1000 1200 1230 600 615 300 307.5 Rev. B | Page 7 of 60 1.8 V 5% 137.5 275 550 1100 275 550 1100 1100 550 900 1100 1100 1100 fDAC (MSPS) DVDD18, CVDD18 = 1.8 V 2% 1.9 V 2% 150 153.75 300 307.5 600 615 1200 1230 300 307.5 600 615 1200 1230 1200 1230 600 615 1000 1000 1200 1230 1200 1230 1200 1230 AD9122 ABSOLUTE MAXIMUM RATINGS THERMAL RESISTANCE Table 6. Parameter AVDD33 to AVSS, EPAD, CVSS, DVSS IOVDD to AVSS, EPAD, CVSS, DVSS DVDD18, CVDD18 to AVSS, EPAD, CVSS, DVSS AVSS to EPAD, CVSS, DVSS EPAD to AVSS, CVSS, DVSS CVSS to AVSS, EPAD, DVSS DVSS to AVSS, EPAD, CVSS FSADJ, REFIO, IOUT1P, IOUT1N, IOUT2P, IOUT2N to AVSS D[15:0]P, D[15:0]N, FRAMEP, FRAMEN, DCIP, DCIN to EPAD, DVSS DACCLKP, DACCLKN, REFCLKP, REFCLKN to CVSS RESET, IRQ, CS, SCLK, SDIO, SDO to EPAD, DVSS Junction Temperature Storage Temperature Range The exposed pad (EPAD) of the 72-lead LFCSP must be soldered to the ground plane (AVSS). The EPAD provides an electrical, thermal, and mechanical connection to the board. Rating -0.3 V to +3.6 V -0.3 V to +3.6 V -0.3 V to +2.1 V -0.3 V to +0.3 V -0.3 V to +0.3 V -0.3 V to +0.3 V -0.3 V to +0.3 V -0.3 V to AVDD33 + 0.3 V Typical JA, JB, and JC values are specified for a 4-layer board in still air. Airflow increases heat dissipation, effectively reducing JA and JB. Table 7. Thermal Resistance Package 72-Lead LFCSP -0.3 V to DVDD18 + 0.3 V -0.3 V to CVDD18 + 0.3 V ESD CAUTION -0.3 V to IOVDD + 0.3 V 125C -65C to +150C 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. Rev. B | Page 8 of 60 JA 20.7 JB 10.9 JC 1.1 Unit C/W Conditions EPAD soldered to ground plane AD9122 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 CVDD18 CVDD18 REFCLKP REFCLKN AVDD33 IOUT1P IOUT1N AVDD33 AVSS FSADJ REFIO AVSS AVDD33 IOUT2N IOUT2P AVDD33 AVSS NC PIN CONFIGURATION AND FUNCTION DESCRIPTIONS 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 PIN 1 INDICATOR AD9122 TOP VIEW (Not to Scale) 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 RESET CS SCLK SDIO SDO DVDD18 D0N D0P D1N D1P DVSS DVDD18 D2N D2P D3N D3P D4N D4P NOTES 1. EXPOSED PAD (EPAD) MUST BE SOLDERED TO THE GROUND PLANE (AVSS). THE EPAD PROVIDES AN ELECTRICAL, THERMAL, AND MECHANICAL CONNECTION TO THE BOARD. 2. NC = NO CONNECT. DO NOT CONNECT TO THIS PIN. 08281-003 D11P D11N D10P D10N D9P D9N D8P D8N DCIP DCIN DVDD18 DVSS D7P D7N D6P D6N D5P D5N 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 CVDD18 DACCLKP DACCLKN CVSS FRAMEP FRAMEN IRQ D15P D15N NC IOVDD DVDD18 D14P D14N D13P D13N D12P D12N Figure 3. Pin Configuration Table 8. Pin Function Descriptions Pin No. 1 2 3 4 5 6 7 Mnemonic CVDD18 DACCLKP DACCLKN CVSS FRAMEP FRAMEN IRQ 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 D15P D15N NC IOVDD DVDD18 D14P D14N D13P D13N D12P D12N D11P D11N D10P D10N D9P D9N Description 1.8 V Clock Supply. Supplies clock receivers, clock distribution, and PLL circuitry. DAC Clock Input, Positive. DAC Clock Input, Negative. Clock Supply Common. Frame Input, Positive. This pin must be tied to DVSS if not used. Frame Input, Negative. This pin must be tied to DVDD18 if not used. Interrupt Request. Open-drain, active low output. Connect an external pull-up to IOVDD through a 10 k resistor. Data Bit 15 (MSB), Positive. Data Bit 15 (MSB), Negative. No Connect. Do not connect to this pin. Supply Pin for Serial Port I/O Pins, RESET, and IRQ. 1.8 V to 3.3 V can be supplied to this pin. 1.8 V Digital Supply. Supplies power to digital core and digital data ports. Data Bit 14, Positive. Data Bit 14, Negative. Data Bit 13, Positive. Data Bit 13, Negative. Data Bit 12, Positive. Data Bit 12, Negative. Data Bit 11, Positive. Data Bit 11, Negative. Data Bit 10, Positive. Data Bit 10, Negative. Data Bit 9, Positive. Data Bit 9, Negative. Rev. B | Page 9 of 60 AD9122 Pin No. 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 Mnemonic D8P D8N DCIP DCIN DVDD18 DVSS D7P D7N D6P D6N D5P D5N D4P D4N D3P D3N D2P D2N DVDD18 DVSS D1P D1N D0P D0N DVDD18 SDO SDIO SCLK CS RESET NC AVSS AVDD33 IOUT2P IOUT2N AVDD33 AVSS REFIO FSADJ AVSS AVDD33 IOUT1N IOUT1P AVDD33 REFCLKN REFCLKP CVDD18 CVDD18 EPAD Description Data Bit 8, Positive. Data Bit 8, Negative. Data Clock Input, Positive. Data Clock Input, Negative. 1.8 V Digital Supply. Supplies power to digital core and digital data ports. Digital Common. Data Bit 7, Positive. Data Bit 7, Negative. Data Bit 6, Positive. Data Bit 6, Negative. Data Bit 5, Positive. Data Bit 5, Negative. Data Bit 4, Positive. Data Bit 4, Negative. Data Bit 3, Positive. Data Bit 3, Negative. Data Bit 2, Positive. Data Bit 2, Negative. 1.8 V Digital Supply. Supplies power to digital core and digital data ports. Digital Common. Data Bit 1, Positive. Data Bit 1, Negative. Data Bit 0 (LSB), Positive. Data Bit 0 (LSB), Negative. 1.8 V Digital Supply. Supplies power to digital core and digital data ports. Serial Port Data Output (CMOS Levels with Respect to IOVDD). Serial Port Data Input/Output (CMOS Levels with Respect to IOVDD). Serial Port Clock Input (CMOS Levels with Respect to IOVDD). Serial Port Chip Select, Active Low (CMOS Levels with Respect to IOVDD). Reset, Active Low (CMOS Levels with Respect to IOVDD). No Connect. Do not connect to this pin. Analog Supply Common. 3.3 V Analog Supply. Q DAC Positive Current Output. Q DAC Negative Current Output. 3.3 V Analog Supply. Analog Supply Common. Voltage Reference. Nominally 1.2 V output. Should be decoupled to AVSS. Full-Scale Current Output Adjust. Place a 10 k resistor from this pin to AVSS. Analog Supply Common. 3.3 V Analog Supply. I DAC Negative Current Output. I DAC Positive Current Output. 3.3 V Analog Supply. PLL Reference Clock Input, Negative. This pin has a secondary function as a synchronization input. PLL Reference Clock Input, Positive. This pin has a secondary function as a synchronization input. 1.8 V Clock Supply. Supplies clock receivers, clock distribution, and PLL circuitry. 1.8 V Clock Supply. Supplies clock receivers, clock distribution, and PLL circuitry. The exposed pad (EPAD) must be soldered to the ground plane (AVSS). The EPAD provides an electrical, thermal, and mechanical connection to the board. Rev. B | Page 10 of 60 AD9122 TYPICAL PERFORMANCE CHARACTERISTICS 0 -20 -20 -30 -40 -50 -60 -70 -50 -60 -70 -90 -100 0 50 100 150 200 250 300 350 400 450 08281-101 -90 -100 0 0 100 150 200 250 300 350 400 450 0dBFS -6dBFS -12dBFS -18dBFS -10 -20 THIRD HARMONIC (dBc) -20 50 fOUT (MHz) fDATA = 100MSPS, SECOND HARMONIC fDATA = 100MSPS, THIRD HARMONIC fDATA = 200MSPS, SECOND HARMONIC fDATA = 200MSPS, THIRD HARMONIC -10 0 Figure 7. Second Harmonic vs. fOUT over Digital Scale, 2x Interpolation, fDATA = 400 MSPS, IFS = 20 mA Figure 4. Harmonics vs. fOUT over fDATA, 2x Interpolation, Digital Scale = 0 dBFS, IFS = 20 mA -30 -40 -50 -60 -70 -40 -50 -60 -70 -80 -90 -100 0 50 100 150 200 250 300 350 400 450 fOUT (MHz) 08281-102 -90 -100 0 0 -20 HARMONICS (dBc) -40 -50 -60 -70 -30 600 fOUT (MHz) 700 -100 08281-103 500 300 350 400 450 = 10mA, = 20mA, = 30mA, = 10mA, = 20mA, = 30mA, SECOND HARMONIC SECOND HARMONIC SECOND HARMONIC THIRD HARMONIC THIRD HARMONIC THIRD HARMONIC -70 -90 400 250 -60 -90 300 200 -50 -80 200 150 -40 -80 100 IFS IFS IFS IFS IFS IFS -10 -30 0 100 fOUT (MHz) fDATA = 100MSPS, SECOND HARMONIC fDATA = 100MSPS, THIRD HARMONIC fDATA = 150MSPS, SECOND HARMONIC fDATA = 150MSPS, THIRD HARMONIC -20 50 Figure 8. Third Harmonic vs. fOUT over Digital Scale, 2x Interpolation, fDATA = 400 MSPS, IFS = 20 mA Figure 5. Harmonics vs. fOUT over fDATA, 4x Interpolation, Digital Scale = 0 dBFS, IFS = 20 mA -10 0 08281-105 -80 -30 0 50 100 150 200 250 300 350 400 fOUT (MHz) Figure 9. Harmonics vs. fOUT over IFS, 2x Interpolation, fDATA = 400 MSPS, Digital Scale = 0 dBFS Figure 6. Harmonics vs. fOUT over fDATA, 8x Interpolation, Digital Scale = 0 dBFS, IFS = 20 mA Rev. B | Page 11 of 60 450 08281-106 HARMONICS (dBc) -40 -80 fOUT (MHz) HARMONICS (dBc) -30 08281-104 -80 -100 0dBFS -6dBFS -12dBFS -18dBFS -10 SECOND HARMONIC (dBc) -10 HARMONICS (dBc) 0 fDATA = 250MSPS, SECOND HARMONIC fDATA = 250MSPS, THIRD HARMONIC fDATA = 400MSPS, SECOND HARMONIC fDATA = 400MSPS, THIRD HARMONIC AD9122 -69 fDATA = 250MSPS fDATA = 400MSPS HIGHEST DIGITAL SPUR (dBc) -70 2x INTERPOLATION, SINGLE-TONE SPECTRUM, fDATA = 250MSPS, fOUT = 101MHz -71 -72 -73 -74 -75 -76 -77 0 50 100 150 200 250 300 350 400 450 fOUT (MHz) Figure 10. Highest Digital Spur vs. fOUT over fDATA, 2x Interpolation, Digital Scale = 0 dBFS, IFS = 20 mA fDATA = 100MSPS fDATA = 200MSPS STOP 500.0MHz SWEEP 6.017s (601 PTS) 4x INTERPOLATION, SINGLE-TONE SPECTRUM, fDATA = 200MSPS, fOUT = 151MHz -65 -70 -75 0 50 100 150 200 250 300 350 400 450 fOUT (MHz) Figure 11. Highest Digital Spur vs. fOUT over fDATA, 4x Interpolation, Digital Scale = 0 dBFS, IFS = 20 mA -60 START 1.0MHz #RES BW 10kHz STOP 800.0MHz SWEEP 9.634s (601 PTS) Figure 14. Single-Tone Spectrum, 4x Interpolation, fDATA = 200 MSPS, fOUT = 151 MHz fDATA = 100MSPS fDATA = 150MSPS -65 VBW 10kHz 08281-111 -80 -85 8x INTERPOLATION, SINGLE-TONE SPECTRUM, fDATA = 100MSPS, fOUT = 131MHz -70 -75 -80 -85 -95 0 100 200 300 400 500 600 700 fOUT (MHz) Figure 12. Highest Digital Spur vs. fOUT over fDATA, 8x Interpolation, Digital Scale = 0 dBFS, IFS = 20 mA START 1.0MHz #RES BW 10kHz VBW 10kHz STOP 800.0MHz SWEEP 9.634s (601 PTS) Figure 15. Single-Tone Spectrum, 8x Interpolation, fDATA = 100 MSPS, fOUT = 131 MHz Rev. B | Page 12 of 60 08281-112 -90 08281-109 HIGHEST DIGITAL SPUR (dBc) VBW 10kHz Figure 13. Single-Tone Spectrum, 2x Interpolation, fDATA = 250 MSPS, fOUT = 101 MHz 08281-108 HIGHEST DIGITAL SPUR (dBc) -60 START 1.0MHz #RES BW 10kHz 08281-110 -79 08281-107 -78 AD9122 -10 -20 -30 -30 IMD (dBc) -20 -40 -50 -40 -50 -60 -60 -70 -70 -80 -80 -90 0 50 100 150 200 250 300 350 400 450 fOUT (MHz) -90 50 100 150 200 250 300 350 400 450 Figure 19. IMD vs. fOUT over Digital Scale, 2x Interpolation, fDATA = 400 MSPS, IFS = 20 mA -50 fDATA = 100MSPS fDATA = 200MSPS -10 0 fOUT (MHz) Figure 16. IMD vs. fOUT over fDATA, 2x Interpolation, Digital Scale = 0 dBFS, IFS = 20 mA 0 0dBFS -6dBFS -12dBFS -18dBFS -10 08281-113 IMD (dBc) 0 fDATA = 250MSPS fDATA = 400MSPS 08281-116 0 IFS = 10mA IFS = 20mA IFS = 30mA -55 -20 -60 IMD (dBc) IMD (dBc) -30 -40 -50 -65 -70 -60 -75 -70 50 100 150 200 250 300 350 400 450 fOUT (MHz) -85 0 -30 -55 -40 -60 IMD (dBc) -50 -50 -60 350 400 450 -80 -90 -85 200 250 300 350 400 fOUT (MHz) 450 450 -90 Figure 18. IMD vs. fOUT, 8x Interpolation, fDATA = 100 MSPS, Digital Scale = 0 dBFS, IFS = 20 mA PLL ON PLL OFF -80 150 300 -70 -75 100 250 -65 -70 08281-115 IMD (dBc) -45 -20 50 200 -40 fDATA = 100MSPS 0 150 Figure 20. IMD vs. fOUT over IFS, 2x Interpolation, fDATA = 400 MSPS, Digital Scale = 0 dBFS -10 -100 100 fOUT (MHz) Figure 17. IMD vs. fOUT over fDATA, 4x Interpolation, Digital Scale = 0 dBFS, IFS = 20 mA 0 50 08281-117 0 08281-114 -90 08281-118 -80 -80 0 50 100 150 200 250 300 350 400 fOUT (MHz) Figure 21. IMD vs. fOUT, 4x Interpolation, fDATA = 200 MSPS, Digital Scale = 0 dBFS, IFS = 20 mA, PLL On and PLL Off Rev. B | Page 13 of 60 AD9122 -152 1x, fDATA 2x, fDATA 4x, fDATA 8x, fDATA -154 -161.0 = 200MSPS = 200MSPS = 200MSPS = 100MSPS 1x, fDATA 2x, fDATA 4x, fDATA 8x, fDATA -161.5 -162.0 = 200MSPS = 200MSPS = 200MSPS = 100MSPS -156 NSD (dBm/Hz) NSD (dBm/Hz) -162.5 -158 -160 -163.0 -163.5 -164.0 -162 -164.5 -164 50 100 150 200 250 300 350 400 450 fOUT (MHz) -165.5 -161.0 150 200 250 300 350 400 450 0dBFS -6dBFS -12dBFS -18dBFS -161.5 -162.0 -162.5 NSD (dBm/Hz) -158 NSD (dBm/Hz) 100 Figure 25. Eight-Tone NSD vs. fOUT over Interpolation, Digital Scale = 0 dBFS, IFS = 20 mA, PLL Off 0dBFS -6dBFS -12dBFS -18dBFS -156 50 fOUT (MHz) Figure 22. One-Tone NSD vs. fOUT over Interpolation, Digital Scale = 0 dBFS, IFS = 20 mA, PLL Off -154 0 08281-122 0 08281-119 -166 -165.0 -160 -162 -164 -163.0 -163.5 -164.0 -164.5 -165.0 -165.5 -166 50 100 150 200 250 300 350 400 450 fOUT (MHz) -166.5 08281-120 0 Figure 23. One-Tone NSD vs. fOUT over Digital Scale, 4x Interpolation, fDATA = 200 MSPS, IFS = 20 mA, PLL Off -158 50 100 150 200 250 300 350 400 450 fOUT (MHz) Figure 26. Eight-Tone NSD vs. fOUT over Digital Scale, 4x Interpolation, fDATA = 200 MSPS, IFS = 20 mA, PLL Off -160 2x, fDATA = 200MSPS 4x, fDATA = 200MSPS 8x, fDATA = 100MSPS -159 0 08281-123 -166.0 -168 2x, fDATA = 200MSPS 4x, fDATA = 200MSPS 8x, fDATA = 100MSPS -161 -162 NSD (dBm/Hz) -161 -162 -163 -163 -164 -164 -166 0 50 100 150 200 250 300 350 400 fOUT (MHz) 450 -166 Figure 24. One-Tone NSD vs. fOUT over Interpolation, Digital Scale = 0 dBFS, IFS = 20 mA, PLL On 0 50 100 150 200 250 300 350 400 fOUT (MHz) Figure 27. Eight-Tone NSD vs. fOUT over Interpolation, Digital Scale = 0 dBFS, IFS = 20 mA, PLL On Rev. B | Page 14 of 60 450 08281-124 -165 -165 08281-121 NSD (dBm/Hz) -160 AD9122 -77 -50 0dBFS -3dBFS -6dBFS -78 ACLR (dBc) OFF OFF ON ON -81 -65 -70 -75 -80 -83 -85 50 100 150 200 250 fOUT (MHz) -90 08281-125 0 200 300 400 500 Figure 31. One-Carrier W-CDMA ACLR vs. fOUT over Interpolation, Adjacent Channel, PLL On and PLL Off -70 0dBFS -3dBFS -6dBFS -80 100 fOUT (MHz) Figure 28. One-Carrier W-CDMA ACLR vs. fOUT over Digital Scale, Adjacent Channel, PLL Off -78 0 08281-128 ACLR (dBc) -80 -82 INTERPOLATION FACTOR = 2x, INTERPOLATION FACTOR = 4x, INTERPOLATION FACTOR = 2x, INTERPOLATION FACTOR = 4x, -72 -74 PLL PLL PLL PLL OFF OFF ON ON -76 ACLR (dBc) -82 ACLR (dBc) PLL PLL PLL PLL -60 -79 -84 INTERPOLATION FACTOR = 2x, INTERPOLATION FACTOR = 4x, INTERPOLATION FACTOR = 2x, INTERPOLATION FACTOR = 4x, -55 -84 -86 -78 -80 -82 -84 -86 -88 50 100 150 200 250 fOUT (MHz) -90 08281-126 0 300 INTERPOLATION FACTOR = 2x, INTERPOLATION FACTOR = 4x, INTERPOLATION FACTOR = 2x, INTERPOLATION FACTOR = 4x, -75 ACLR (dBc) -85 -90 400 500 PLL PLL PLL PLL OFF OFF ON ON -80 -85 0 50 100 150 200 250 fOUT (MHz) -95 Figure 30. One-Carrier W-CDMA ACLR vs. fOUT over Digital Scale, Second Alternate Channel, PLL Off 0 100 200 300 400 500 fOUT (MHz) Figure 33. One-Carrier W-CDMA ACLR vs. fOUT over Interpolation, Second Alternate Channel, PLL On and PLL Off Rev. B | Page 15 of 60 08281-130 -90 08281-127 ACLR (dBc) -70 -80 -95 200 Figure 32. One-Carrier W-CDMA ACLR vs. fOUT over Interpolation, First Alternate Channel, PLL On and PLL Off 0dBFS -3dBFS -6dBFS -75 100 fOUT (MHz) Figure 29. One-Carrier W-CDMA ACLR vs. fOUT over Digital Scale, First Alternate Channel, PLL Off -70 0 08281-129 -88 -90 AD9122 FREQ OFFSET 5.00MHz 10.00MHz 15.00MHz REF BW 3.840MHz 3.840MHz 2.888MHz LOWER dBc dBm -75.96 -85.96 -85.33 -95.33 -95.81 -95.81 UPPER dBc dBm -77.13 -87.13 -85.24 -95.25 -85.43 -95.43 VBW 30kHz STOP 174.42MHz SWEEP 206.9ms (601 PTS) TOTAL CARRIER POWER -11.19dBm/15.3600MHz RRC FILTER: OFF FILTER ALPHA 0.22 REF CARRIER POWER -16.89dBm/3.84000MHz 1 2 3 4 Figure 34. One-Carrier W-CDMA ACLR Performance, IF = ~150 MHz -16.92dBm -16.89dBm -17.43dBm -17.64dBm OFFSET FREQ 5.000MHz 10.00MHz 15.00MHz INTEG BW 3.840MHz 3.840MHz 3.840MHz LOWER dBc dBm -65.88 -82.76 -68.17 -85.05 -70.42 -87.31 UPPER dBc dBm -67.52 -84.40 -69.91 -86.79 -71.40 -88.28 08281-132 RMS RESULTS CARRIER POWER -10.00dBm/ 3.840MHz START 125.88MHz #RES BW 30kHz VBW 30kHz STOP 166.94MHz SWEEP 143.6ms (601 PTS) 08281-131 START 133.06MHz #RES BW 30kHz Figure 35. Four-Carrier W-CDMA ACLR Performance, IF = ~150 MHz Rev. B | Page 16 of 60 AD9122 TERMINOLOGY Integral Nonlinearity (INL) INL is the maximum deviation of the actual analog output from the ideal output, determined by a straight line drawn from zero scale to full scale. Settling Time Settling time is the time required for the output to reach and remain within a specified error band around its final value, measured from the start of the output transition. Differential Nonlinearity (DNL) DNL is the measure of the variation in analog value, normalized to full scale, associated with a 1 LSB change in digital input code. Spurious-Free Dynamic Range (SFDR) SFDR is the difference, in decibels, between the peak amplitude of the output signal and the peak spurious signal within the dc to Nyquist frequency of the DAC. Typically, energy in this band is rejected by the interpolation filters. This specification, therefore, defines how well the interpolation filters work and the effect of other parasitic coupling paths on the DAC output. Offset Error Offset error is the deviation of the output current from the ideal of 0 mA. For IOUT1P, 0 mA output is expected when all inputs are set to 0. For IOUT1N, 0 mA output is expected when all inputs are set to 1. Gain Error Gain error is the difference between the actual and ideal output span. The actual span is determined by the difference between the output when all inputs are set to 1 and the output when all inputs are set to 0. Output Compliance Range The output compliance range is the range of allowable voltage at the output of a current output DAC. Operation beyond the maximum compliance limits can cause either output stage saturation or breakdown, resulting in nonlinear performance. Temperature Drift Temperature drift is specified as the maximum change from the ambient (25C) value to the value at either TMIN or TMAX. For offset and gain drift, the drift is reported in ppm of full-scale range (FSR) per degree Celsius. For reference voltage drift, the drift is reported in ppm per degree Celsius. Power Supply Rejection (PSR) PSR is the maximum change in the full-scale output as the supplies are varied from minimum to maximum specified voltages. Signal-to-Noise Ratio (SNR) SNR is the ratio of the rms value of the measured output signal to the rms sum of all other spectral components below the Nyquist frequency, excluding the first six harmonics and dc. The value for SNR is expressed in decibels. Interpolation Filter If the digital inputs to the DAC are sampled at a multiple rate of fDATA (interpolation rate), a digital filter can be constructed that has a sharp transition band near fDATA/2. Images that typically appear around fDAC (output data rate) can be greatly suppressed. Adjacent Channel Leakage Ratio (ACLR) ACLR is the ratio in decibels relative to the carrier (dBc) between the measured power within a channel and that of its adjacent channel. Complex Image Rejection In a traditional two-part upconversion, two images are created around the second IF frequency. These images have the effect of wasting transmitter power and system bandwidth. By placing the real part of a second complex modulator in series with the first complex modulator, either the upper or lower frequency image near the second IF can be rejected. Rev. B | Page 17 of 60 AD9122 DIFFERENCES BETWEEN AD9122R1 AND AD9122R2 * * * * IOVDD supply voltage range. For the AD9122R1, the valid operational voltage range for IOVDD is 1.8 V to 2.5 V 10%. For the AD9122R2, the valid operational voltage range for IOVDD is 1.8 V to 3.3 V 10%. Reduction in spurs level variation. The AD9122R1 has variation in the fDATA fOUT spur level between device startups. The AD9122R2 has a consistent and lower fDATA fOUT spur level. (The AD9122R2 still has a spur level variation between power cycles of about 5 dB if the PLL is enabled.) DCI delay feature added. The AD9122R2 has a programmable delay associated with the DCI signal. There are four programmable delay options. The 00 setting gives the minimum delay and leaves the timing unchanged from the AD9122R1. Additional delay can be added to improve timing margins in some systems. The resulting timing options are shown in Table 13. Power-down mode power consumption increase. The maximum power-down mode power consumption of the R1 devices is 9.8 mW. This power consumption increased to 18.8 mW in the R2 devices. Configuration register map changes. Register 0x0B, Bit 5: AD9122R1 AE Enable VCO AD9122R2 AE Inactive bit. The VCO is now enabled when the PLL is enabled. Register 0x16, Bits[1:0]: AD9122R1 AE Unused AD9122R2 AE These bits control the delay of the DCI signal (00 = minimum delay, 11 = maximum delay). Register 0x7F: AD9122R1 AE Version ID = 0x04 AD9122R2 AE Version ID = 0x0C Revision 1 devices are marked as shown in Figure 36. Revision 1 devices with TxDAC(R) as the top line have date codes earlier than #1001. Revision 1 devices with AD80255 as the top line have date codes of #1001 or later. DATE CODE TxDAC (R) AD9122BCPZ #0935 1688587.1 KOREA AD80255 AD9122BCPZ #1001 1688586.1 KOREA 08281-136 * DEVICE MARKING OF AD9122R1 AND AD9122R2 Figure 36. Revision 1 Silicon, AD9122BCPZ Marking Revision 2 devices are marked as shown in Figure 37. Revision 2 devices have TxDAC(R) as the top line and date codes of #1001 or later. Rev. B | Page 18 of 60 DATE CODE TxDAC (R) AD9122BCPZ #1021 1688782.1 KOREA 08281-137 The AD9122 underwent a die revision in early 2010, which incremented the die revision from R1 to R2. The following list explains the differences between the revisions. Figure 37. Revision 2 Silicon, AD9122BCPZ Marking AD9122 THEORY OF OPERATION The AD9122 combines many features that make it a very attractive DAC for wired and wireless communications systems. The dual digital signal path and dual DAC structure allow an easy interface to common quadrature modulators when designing single sideband (SSB) transmitters. The speed and performance of the AD9122 allow wider bandwidths and more carriers to be synthesized than in previously available DACs. In addition, the AD9122 includes an innovative low power, 32-bit, complex NCO that greatly increases the ease of frequency placement. The remaining SCLK edges are for Phase 2 of the communication cycle. Phase 2 is the actual data transfer between the device and the system controller. Phase 2 of the communication cycle is a transfer of one or more data bytes. Registers change immediately upon writing to the last bit of each transfer byte, except for the frequency tuning word and NCO phase offsets, which change only when the frequency tuning word (FTW) update bit (Register 0x36, Bit 0) is set. The AD9122 offers features that allow simplified synchronization with incoming data and between multiple devices. Auxiliary DACs are also provided on chip. The auxiliary DACs can be used for output dc offset compensation (for LO compensation in SSB transmitters) and for gain matching (for image rejection optimization in SSB transmitters). The instruction byte contains the information shown in Table 9. SERIAL PORT OPERATION The serial port is a flexible, synchronous serial communications port that allows easy interfacing to many industry-standard microcontrollers and microprocessors. The serial I/O is compatible with most synchronous transfer formats, including both the Motorola SPI and Intel(R) SSR protocols. The interface allows read/write access to all registers that configure the AD9122. Single-byte or multiple-byte transfers are supported, as well as MSB first or LSB first transfer formats. The serial port interface can be configured as a single-pin I/O (SDIO) or as two unidirectional pins for input and output (SDIO and SDO). CS 53 SPI PORT 08281-010 SCLK 52 Table 9. Serial Port Instruction Byte I7 (MSB) R/W I6 A6 I5 A5 I4 A4 I3 A3 I2 A2 I1 A1 I0 (LSB) A0 R/W, Bit 7 of the instruction byte, determines whether a read or a write data transfer occurs after the instruction byte write. Logic 1 indicates a read operation, and Logic 0 indicates a write operation. A6 to A0, Bit 6 to Bit 0 of the instruction byte, determine the register that is accessed during the data transfer portion of the communication cycle. For multibyte transfers, A6 is the starting byte address. The remaining register addresses are generated by the device based on the LSB_FIRST bit (Register 0x00, Bit 6). SERIAL PORT PIN DESCRIPTIONS Serial Clock (SCLK) The serial clock pin synchronizes data to and from the device and runs the internal state machines. The maximum frequency of SCLK is 40 MHz. All data input is registered on the rising edge of SCLK. All data is driven out on the falling edge of SCLK. SDO 50 SDIO 51 DATA FORMAT Chip Select (CS) Figure 38. Serial Port Interface Pins A communication cycle with the AD9122 has two phases. Phase 1 is the instruction cycle (the writing of an instruction byte into the device), coincident with the first eight SCLK rising edges. The instruction byte provides the serial port controller with information regarding the data transfer cycle--Phase 2 of the communication cycle. The Phase 1 instruction byte defines whether the upcoming data transfer is a read or write, along with the starting register address for the first byte of the data transfer. The first eight SCLK rising edges of each communication cycle are used to write the instruction byte into the device. A logic high on the CS pin followed by a logic low resets the serial port timing to the initial state of the instruction cycle. From this state, the next eight rising SCLK edges represent the instruction bits of the current I/O operation. An active low input starts and gates a communication cycle. It allows more than one device to be used on the same serial communications lines. When the CS pin is high, the SDO and SDIO pins go to a high impedance state. During the communication cycle, the CS pin should stay low. Serial Data I/O (SDIO) Data is always written into the device on this pin. However, this pin can be used as a bidirectional data line. The configuration of this pin is controlled by Register 0x00, Bit 7. The default is Logic 0, configuring the SDIO pin as unidirectional. Serial Data Output (SDO) Data is read from this pin for protocols that use separate lines for transmitting and receiving data. If the device operates in a single bidirectional I/O mode, this pin does not output data and is set to a high impedance state. Rev. B | Page 19 of 60 AD9122 INSTRUCTION CYCLE SERIAL PORT OPTIONS When LSB_FIRST = 1 (LSB first), the instruction and data bits must be written from LSB to MSB. Multibyte data transfers in LSB first format start with an instruction byte that includes the register address of the least significant data byte. Subsequent data bytes should follow from low address to high address. In LSB first mode, the serial port internal byte address generator increments for each data byte of the multibyte communication cycle. If the MSB first mode is active, the serial port controller data address decrements from the data address written toward 0x00 for multibyte I/O operations. If the LSB first mode is active, the serial port controller data address increments from the data address written toward 0x7F for multibyte I/O operations. SDIO A0 A1 A2 A3 A4 A5 A6 R/W D00 D10 D20 D4N D5N D6N D7N D00 D10 D20 D4N D5N D6N D7N SDO Figure 40. Serial Port Interface Timing, LSB First tDCSB tSCLK CS tPWH tPWL SCLK tDS SDIO tDH INSTRUCTION BIT 7 INSTRUCTION BIT 6 Figure 41. Timing Diagram for Serial Port Register Write CS SCLK tDV SDIO, SDO DATA BIT n DATA BIT n - 1 Figure 42. Timing Diagram for Serial Port Register Read INSTRUCTION CYCLE DATA TRANSFER CYCLE CS SDO R/W A6 A5 A4 A3 A2 A1 A0 D7 N D6N D5N D30 D20 D10 D00 D7N D6N D5N D30 D20 D10 D00 08281-011 SCLK SDIO 08281-012 SCLK 08281-013 When LSB_FIRST = 0 (MSB first), the instruction and data bits must be written from MSB to LSB. Multibyte data transfers in MSB first format start with an instruction byte that includes the register address of the most significant data byte. Subsequent data bytes should follow from high address to low address. In MSB first mode, the serial port internal byte address generator decrements for each data byte of the multibyte communication cycle. CS Figure 39. Serial Port Interface Timing, MSB First Rev. B | Page 20 of 60 08281-014 The serial port can support both MSB first and LSB first data formats. This functionality is controlled by the LSB_FIRST bit (Register 0x00, Bit 6). The default is MSB first (LSB_FIRST = 0). DATA TRANSFER CYCLE AD9122 DEVICE CONFIGURATION REGISTER MAP AND DESCRIPTIONS Table 10. Device Configuration Register Map Addr (Hex) 0x00 0x01 Register Name Comm Power control 0x03 Data format 0x04 Interrupt enable 0x05 Bit 7 SDIO Power down I DAC Binary data format Enable PLL lock lost Bit 6 LSB_FIRST Power down Q DAC Q data first Bit 5 Reset Power down data receiver MSB swap Bit 4 Enable PLL locked Enable sync signal lost Interrupt enable 0 0 0 0x06 Event flag PLL lock lost PLL locked Sync signal lost 0x07 Event flag 0x08 Clock receiver control Enable sync signal locked Enable AED compare pass Sync signal locked AED compare pass REFCLK crosscorrection 0x0A PLL control 0x0C PLL control 0x0D PLL control 0x0E 0x0F 0x10 PLL status PLL status Sync control 0x11 0x12 Sync control Sync status 0x13 0x15 Sync status Data receiver status 0x16 0x17 0x18 DCI delay FIFO control FIFO status 0x19 0x1B FIFO status Datapath control DACCLK duty correction PLL enable REFCLK duty correction PLL manual enable PLL Loop Bandwidth[1:0] N2[1:0] DACCLK crosscorrection Data/FIFO rate toggle Sync lost Sync locked Bit 2 FIFO Warning 2 Bypass premod Bypass sinc-1 Bit 0 Power down aux ADC Data Bus Width[1:0] Enable AED compare fail AED compare fail 1 Enable SED compare fail SED compare fail 1 N0[1:0] 0x00 Enable FIFO Warning 2 0x00 0 0 0x00 FIFO Warning 1 FIFO Warning 2 N/A N/A 1 1 0x3F 0x40 0xD1 N1[1:0] 0xD9 VCO Control Voltage[3:0] VCO Band Readback[5:0] Sync Averaging[2:0] Rising edge sync Sync Phase Request[5:0] N/A N/A 0x48 PLL crosscontrol enable LVDS data level high LVDS data level low DCI Delay[1:0] FIFO Phase Offset[2:0] FIFO soft FIFO soft align ack align request Bypass NCO Default 0x00 0x10 Enable FIFO Warning 1 PLL Charge Pump Current[4:0] Sync Phase Readback[7:0] (6.2 format) LVDS LVDS LVDS DCI LVDS DCI FRAME FRAME level high level low level high level low FIFO Warning 1 Bit 1 Manual VCO Band[5:0] PLL locked Sync enable Bit 3 FIFO Level[7:0] NCO gain Rev. B | Page 21 of 60 Bypass phase comp and dc offset Select sideband Send I data to Q data 0x00 N/A N/A N/A 0x00 0x04 N/A N/A 0xE4 AD9122 Addr (Hex) 0x1C 0x1D 0x1E 0x1F 0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x38 0x39 0x3A 0x3B 0x3C 0x3D 0x3E 0x3F 0x40 0x41 Register Name HB1 control HB2 control HB3 control Chip ID FTW LSB FTW FTW FTW MSB NCO phase offset LSB NCO phase offset MSB NCO FTW update I phase adj LSB I phase adj MSB Q phase adj LSB Q phase adj MSB I DAC offset LSB I DAC offset MSB Q DAC offset LSB Q DAC offset MSB I DAC FS adjust I DAC control 0x42 0x43 I aux DAC data I aux DAC control 0x44 0x45 Q DAC FS adjust Q DAC control 0x46 0x47 Q aux DAC data Q aux DAC control 0x48 Die temp range control Die temp LSB Die temp MSB SED control 0x49 0x4A 0x67 0x68 0x69 0x6A 0x6B Compare I0 LSBs Compare I0 MSBs Compare Q0 LSBs Compare Q0 MSBs Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 HB1[1:0] Bit 0 Bypass HB1 Bypass HB2 Bypass HB3 HB2[5:0] HB3[5:0] Chip ID[7:0] FTW[7:0] FTW[15:8] FTW[23:16] FTW[31:24] NCO Phase Offset[7:0] NCO Phase Offset[15:8] FRAME FTW ack FRAME FTW request I Phase Adj[7:0] 0x00 Update FTW ack Update FTW request I DAC Offset[7:0] I DAC Offset[15:8] Q DAC Offset[7:0] Q DAC Offset[15:8] 0x00 I Phase Adj[9:8] Q Phase Adj[9:8] I DAC FS Adj[7:0] I DAC FS Adj[9:8] 0xF9 0x01 I Aux DAC[9:8] 0x00 0x00 Q DAC FS Adj[9:8] 0xF9 0x01 Q Aux DAC[9:8] 0x00 0x00 I DAC sleep I Aux DAC[7:0] I aux DAC current direction I aux DAC sleep Q DAC FS Adj[7:0] Q DAC sleep Q Aux DAC[7:0] Q aux DAC sign SED compare enable Q aux DAC current direction Q aux DAC sleep FS Current[2:0] Sample error detected 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Q Phase Adj[7:0] I aux DAC sign Default 0x00 0x00 0x00 0x08 0x00 0x00 0x00 0x00 0x00 Reference Current[2:0] Die Temp[7:0] Die Temp[15:8] Autoclear enable Compare fail Capacitor value Compare pass 0x02 N/A N/A 0x00 Compare Value I0[7:0] Compare Value I0[15:8] 0xB6 0x7A Compare Value Q0[7:0] 0x45 Compare Value Q0[15:8] 0xEA Rev. B | Page 22 of 60 AD9122 Addr (Hex) 0x6C 0x6D 0x6E 0x6F 0x70 0x71 0x72 0x73 0x7F Register Name Compare I1 LSBs Compare I1 MSBs Compare Q1 LSBs Compare Q1 MSBs SED I LSBs SED I MSBs SED Q LSBs SED Q MSBs Revision Bit 7 Bit 6 0 Bit 5 0 Bit 4 Bit 3 Bit 2 Compare Value I1[7:0] Compare Value I1[15:8] Bit 1 Bit 0 Default 0x16 0x1A Compare Value Q1[7:0] 0xC6 Compare Value Q1[15:8] 0xAA Errors Detected I_BITS[7:0] Errors Detected I_BITS[15:8] Errors Detected Q_BITS[7:0] Errors Detected Q_BITS[15:8] Revision[3:0] 0x00 0x00 0x00 0x00 N/A 0 0 Table 11. Device Configuration Register Descriptions Register Name Comm Power Control Address (Hex) 0x00 0x01 Bits 7 Name SDIO 6 LSB_FIRST 5 Reset 7 6 5 7 Power down I DAC Power down Q DAC Power down data receiver Power down auxiliary ADC Binary data format 6 Q data first 5 MSB swap [1:0] Data Bus Width[1:0] 7 6 5 4 1 0 Enable PLL lock lost Enable PLL locked Enable sync signal lost Enable sync signal locked Enable FIFO Warning 1 Enable FIFO Warning 2 4 Data Format Interrupt Enable 0x03 0x04 Description SDIO pin operation. 0 = SDIO operates as an input only. 1 = SDIO operates as a bidirectional input/output. Serial port communication, LSB or MSB first. 0 = MSB first. 1 = LSB first. The device is placed in reset when this bit is written high and remains in reset until the bit is written low. 1 = power down I DAC. 1 = power down Q DAC. 1 = power down the input data receiver. Default 0 1 = power down the auxiliary ADC for temperature sensor. 1 0 = input data is in twos complement format. 1 = input data is in binary format. Indicates I/Q data pairing on data input. 0 = I data sent to data receiver first. 1 = Q data sent to data receiver first. Swaps the bit order of the data input port. 0 = order of the data bits corresponds to the pin descriptions. 1 = bit designations are swapped; most significant bits become the least significant bits. Data receiver interface mode. See the LVDS Input Data Ports section for information about the operation of the different interface modes. 00 = word mode; 16-bit interface bus width. 01 = byte mode; 8-bit interface bus width. 10 = nibble mode; 4-bit interface bus width. 11 = invalid. 1 = enable interrupt for PLL lock lost. 1 = enable interrupt for PLL locked. 1 = enable interrupt for sync signal lost. 1 = enable interrupt for sync signal locked. 1 = enable interrupt for FIFO Warning 1. 1 = enable interrupt for FIFO Warning 2. 0 Rev. B | Page 23 of 60 0 0 0 0 0 0 0 00 0 0 0 0 0 0 AD9122 Register Name Interrupt Enable Address (Hex) 0x05 Event Flag 0x06 Bits [7:5] 4 3 2 [1:0] 7 6 5 4 1 0 0x07 4 3 2 Clock Receiver Control 0x08 7 6 5 4 PLL Control 0x0A 7 6 0x0C [5:0] [7:6] [4:0] Name Set to 0 Enable AED compare pass Enable AED compare fail Enable SED compare fail Set to 0 PLL lock lost Description Set these bits to 0. 1 = enable interrupt for AED comparison pass. 1 = enable interrupt for AED comparison fail. 1 = enable interrupt for SED comparison fail. Set these bits to 0. 1 = indicates that the PLL, which had been previously locked, has unlocked from the reference signal. This is a latched signal. PLL locked 1 = indicates that the PLL has locked to the reference clock input. Sync signal lost 1 = indicates that the sync logic, which had been previously locked, has lost alignment. This is a latched signal. Sync signal locked 1 = indicates that the sync logic has achieved sync alignment. This is indicated when no phase changes were requested for at least a few full averaging cycles. FIFO Warning 1 1 = indicates that the difference between the FIFO read and write pointers is 1. FIFO Warning 2 1 = indicates that the difference between the FIFO read and write pointers is 2. Note that all event flags are cleared by writing the respective bit high. AED compare pass 1 = indicates that the SED logic detected a valid input data pattern compared against the preprogrammed expected values. This is a latched signal. AED compare fail 1 = indicates that the SED logic detected an invalid input data pattern compared against the preprogrammed expected values. This latched signal is automatically cleared when eight valid I/Q data pairs are received. SED compare fail 1 = indicates that the SED logic detected an invalid input data pattern compared against the preprogrammed expected values. This is a latched signal. Note that all event flags are cleared by writing the respective bit high. DACCLK duty correction 1 = enable duty cycle correction on the DACCLK input. REFCLK duty correction 1 = enable duty cycle correction on the REFCLK input. DACCLK cross-correction 1 = enable differential crossing correction on the DACCLK input. REFCLK cross-correction 1 = enable differential crossing correction on the REFCLK input. PLL enable 1 = enable the PLL clock multiplier. The REFCLK input is used as the PLL reference clock signal. PLL manual enable 1 = enable manual selection of the VCO band. The correct VCO band must be determined by the user and written to Bits[5:0]. Manual VCO Band[5:0] Selects the VCO band to be used. PLL Loop Bandwidth[1:0] Selects the PLL loop filter bandwidth. 00 = widest bandwidth. ... 11 = narrowest bandwidth. Sets the nominal PLL charge pump current. PLL Charge Pump Current[4:0] 00000 = lowest current setting. ... 11111 = highest current setting. Rev. B | Page 24 of 60 Default 000 0 0 0 00 N/A N/A N/A N/A N/A N/A N/A N/A N/A 0 0 1 1 0 1 000000 11 10001 AD9122 Register Name PLL Control PLL Status Sync Control Address (Hex) 0x0D Bits [7:6] Name N2[1:0] 4 [3:2] PLL cross-control enable N0[1:0] [1:0] N1[1:0] 0x0E 7 PLL locked 0x0F 0x10 [3:0] [5:0] 7 6 VCO Control Voltage[3:0] VCO Band Readback[5:0] Sync enable Data/FIFO rate toggle 3 Rising edge sync [2:0] Sync Averaging[2:0] [5:0] Sync Phase Request[5:0] 0x11 Description PLL control clock divider. This divider determines the ratio of the DACCLK frequency to the PLL controller clock frequency. fPC_CLK must always be less than 75 MHz. 00 = fDACCLK/fPC_CLK = 2. 01 = fDACCLK/fPC_CLK = 4. 10 = fDACCLK/fPC_CLK = 8. 11 = fDACCLK/fPC_CLK = 16. 1 = enable PLL cross-point controller. PLL VCO divider. This divider determines the ratio of the VCO frequency to the DACCLK frequency. 00 = fVCO/fDACCLK = 1. 01 = fVCO/fDACCLK = 2. 10 = fVCO/fDACCLK = 4. 11 = fVCO/fDACCLK = 4. PLL loop divider. This divider determines the ratio of the DACCLK frequency to the REFCLK frequency. 00 = fDACCLK/fREFCLK = 2. 01 = fDACCLK/fREFCLK = 4. 10 = fDACCLK/fREFCLK = 8. 11 = fDACCLK/fREFCLK = 16. 1 = the PLL-generated clock is tracking the REFCLK input signal. VCO control voltage readback. See Table 24. Indicates the VCO band currently selected. 1 = enable the synchronization logic. 0 = operate the synchronization at the FIFO reset rate. 1 = operate the synchronization at the data rate. 0 = sync is initiated on the falling edge of the sync input. 1 = sync is initiated on the rising edge of the sync input. Sets the number of input samples that are averaged in determining the sync phase. 000 = 1. 001 = 2. 010 = 4. 011 = 8. 100 = 16. 101 = 32. 110 = 64. 111 = 128. This register sets the requested clock phase offset after sync. The offset unit is in DACCLK cycles. This register enables repositioning of the DAC output with respect to the sync input. The offset can also be used to skew the DAC outputs between the synchronized DACs. 000000 = 0 DACCLK cycles. 000001 = 1 DACCLK cycle. ... 111111 = 63 DACCLK cycles. Rev. B | Page 25 of 60 Default 11 1 10 01 N/A N/A N/A 0 1 1 000 000000 AD9122 Register Name Sync Status Address (Hex) 0x12 0x13 Data Receiver Status 0x15 Bits 7 6 [7:0] Name Sync lost Sync locked Sync Phase Readback[7:0] 5 4 LVDS FRAME level high LVDS FRAME level low 3 2 LVDS DCI level high LVDS DCI level low LVDS data level high LVDS data level low DCI Delay[1:0] DCI Delay 0x16 1 0 [1:0] FIFO Control 0x17 [2:0] FIFO Phase Offset[2:0] FIFO Status 0x18 7 6 2 1 FIFO Warning 1 FIFO Warning 2 FIFO soft align acknowledge FIFO soft align request [7:0] FIFO Level[7:0] 0x19 Description 1 = synchronization was attained but has been lost. 1 = synchronization has been attained. Indicates the averaged sync phase offset (6.2 format). If this value differs from the Sync Phase Request[5:0] value in Register 0x11, a sync timing error has occurred. For more information, see the Sync Status Bits section. 00000000 = 0.0. 00000001 = 0.25. ... 11111110 = 63.50. 11111111 = 63.75. One or both LVDS FRAME input signals have exceeded 1.7 V. One or both LVDS FRAME input signals have crossed below 0.7 V. One or both LVDS DCI input signals have exceeded 1.7 V. One or both LVDS DCI input signals have crossed below 0.7 V. One or more LVDS Dx input signals have exceeded 1.7 V. One or more LVDS Dx input signals have crossed below 0.7 V. This option is available for the Revision 2 silicon only. The DCI delay bits control the delay applied to the DCI signal. The DCI delay affects the sampling interval of the DCI with respect to the Dx inputs. See Table 13. 00 = 350 ps delay of DCI signal. 01 = 590 ps delay of DCI signal. 10 = 800 ps delay of DCI signal. 11 = 925 ps delay of DCI signal. FIFO write pointer phase offset following FIFO reset. This is the difference between the read pointer and the write pointer values upon FIFO reset. The optimal value is nominally 4 (100). 000 = 0. 001 = 1. ... 111 = 7. 1 = FIFO read and write pointers are within 1. 1 = FIFO read and write pointers are within 2. 1 = FIFO read and write pointers are aligned after a serial port initiated FIFO reset. 1 = request FIFO read and write pointer alignment via the serial port. Thermometer encoded measure of the FIFO level. Rev. B | Page 26 of 60 Default N/A N/A N/A N/A N/A N/A N/A N/A N/A 00 100 N/A N/A N/A 0 N/A AD9122 Register Name Datapath Control Address (Hex) 0x1B Bits 7 6 5 3 Name Bypass premod Bypass sinc-1 Bypass NCO NCO gain 2 1 Bypass phase compensation and dc offset Select sideband 0 Send I data to Q data HB1 Control 0x1C [2:1] HB1[1:0] HB2 Control 0x1D 0 [6:1] Bypass HB1 HB2[5:0] 0 Bypass HB2 Description 1 = bypass the fS/2 premodulator. 1 = bypass the inverse sinc filter. 1 = bypass the NCO. 0 = no gain scaling is applied to the NCO input to the internal digital modulator (default). 1 = gain scaling of 0.5 is applied to the NCO input to the internal digital modulator. Gain scaling can eliminate saturation of the modulator output for some combinations of data inputs and NCO signals. 1 = bypass phase compensation and dc offset. Default 1 1 1 0 0 = the modulator outputs the high-side image. 1 = the modulator outputs the low-side image. The image is spectrally inverted compared to the input data. 1 = ignore Q data from the interface and disable the clocks to the Q datapath. Send I data to both the I and Q DACs. Modulation mode for I Side Half-Band Filter 1. 00 = input signal not modulated; filter pass band is from -0.4 to +0.4 of fIN1. 01 = input signal not modulated; filter pass band is from 0.1 to 0.9 of fIN1. 10 = input signal modulated by fIN1; filter pass band is from 0.6 to 1.4 of fIN1. 11 = input signal modulated by fIN1; filter pass band is from 1.1 to 1.9 of fIN1. 1 = bypass the first-stage interpolation filter. Modulation mode for I Side Half-Band Filter 2. 000000 = input signal not modulated; filter pass band is from -0.25 to +0.25 of fIN2. 001001 = input signal not modulated; filter pass band is from 0.0 to 0.5 of fIN2. 010010 = input signal not modulated; filter pass band is from 0.25 to 0.75 of fIN2. 011011 = input signal not modulated; filter pass band is from 0.5 to 1.0 of fIN2. 100100 = input signal modulated by fIN2; filter pass band is from 0.75 to 1.25 of fIN2. 101101 = input signal modulated by fIN2; filter pass band is from 1.0 to 1.5 of fIN2. 110110 = input signal modulated by fIN2; filter pass band is from 1.25 to 1.75 of fIN2. 111111 = input signal modulated by fIN2; filter pass band is from 1.5 to 2.0 of fIN2. 1 = bypass the second-stage interpolation filter. 0 Rev. B | Page 27 of 60 1 0 00 0 000000 0 AD9122 Register Name HB3 Control Address (Hex) 0x1E Bits [6:1] Name HB3[5:0] Chip ID FTW LSB FTW FTW FTW MSB 0x1F 0x30 0x31 0x32 0x33 0 [7:0] [7:0] [7:0] [7:0] [7:0] Bypass HB3 Chip ID[7:0] FTW[7:0] FTW[15:8] FTW[23:16] FTW[31:24] NCO Phase Offset LSB NCO Phase Offset MSB 0x34 [7:0] NCO Phase Offset[7:0] 0x35 [7:0] NCO Phase Offset[15:8] NCO FTW Update 0x36 5 FRAME FTW acknowledge 4 FRAME FTW request Update FTW acknowledge Update FTW request I Phase Adj[7:0] I Phase Adj LSB I Phase Adj MSB 0x38 1 0 [7:0] 0x39 [1:0] I Phase Adj[9:8] Q Phase Adj LSB Q Phase Adj MSB 0x3A [7:0] Q Phase Adj[7:0] 0x3B [1:0] Q Phase Adj[9:8] I DAC Offset LSB I DAC Offset MSB 0x3C [7:0] I DAC Offset[7:0] 0x3D [7:0] I DAC Offset[15:8] Description Modulation mode for I Side Half-Band Filter 3. 000000 = input signal not modulated; filter pass band is from -0.2 to +0.2 of fIN3. 001001 = input signal not modulated; filter pass band is from 0.05 to 0.45 of fIN3. 010010 = input signal not modulated; filter pass band is from 0.3 to 0.7 of fIN3. 011011 = input signal not modulated; filter pass band is from 0.55 to 0.95 of fIN3. 100100 = input signal modulated by fIN3; filter pass band is from 0.8 to 1.2 of fIN3. 101101 = input signal modulated by fIN3; filter pass band is from 1.05 to 1.45 of fIN3. 110110 = input signal modulated by fIN3; filter pass band is from 1.3 to 1.7 of fIN3. 111111 = input signal modulated by fIN3; filter pass band is from 1.55 to 1.95 of fIN3. 1 = bypass the third-stage interpolation filter. This register identifies the device as an AD9122. See Register 0x33. See Register 0x33. See Register 0x33. FTW[31:0] is the 32-bit frequency tuning word that determines the frequency of the complex carrier generated by the on-chip NCO. The frequency is not updated when the FTW registers are written. The values are only updated when Bit 0 of Register 0x36 transitions from 0 to 1. See Register 0x35. Default 000000 The NCO sets the phase of the complex carrier signal when the NCO is reset. The phase offset spans from 0 to 360. Each bit represents an offset of 0.0055. This value is in twos complement format. 1 = the NCO has been reset due to an extended FRAME pulse signal. 0 = the NCO is reset on the first extended FRAME pulse after this bit is set to 1. 1 = the FTW has been updated. The FTW is updated on the 0-to-1 transition of this bit. See Register 0x39. 00000000 0 00001000 00000000 00000000 00000000 00000000 00000000 0 0 0 0 00000000 I Phase Adj[9:0] is used to insert a phase offset between the I and Q datapaths. This offset can be used to correct for phase imbalance in a quadrature modulator. See the Quadrature Phase Correction section for more information. See Register 0x3B. 00 Q Phase Adj[9:0] is used to insert a phase offset between the I and Q datapaths. This offset can be used to correct for phase imbalance in a quadrature modulator. See the Quadrature Phase Correction section for more information. See Register 0x3D. 00 I DAC Offset[15:0] is a value that is added directly to the samples written to the I DAC. 00000000 Rev. B | Page 28 of 60 00000000 00000000 AD9122 Register Name Q DAC Offset LSB Q DAC Offset MSB I DAC FS Adjust I DAC Control Address (Hex) 0x3E Bits [7:0] Name Q DAC Offset[7:0] Description See Register 0x3F. Default 00000000 0x3F [7:0] Q DAC Offset[15:8] 00000000 0x40 [7:0] I DAC FS Adj[7:0] Q DAC Offset[15:0] is a value that is added directly to the samples written to the Q DAC. See Register 0x41, Bits[1:0]. 0x41 7 [1:0] I DAC sleep I DAC FS Adj[9:8] 0 01 I Aux DAC Data I Aux DAC Control 0x42 [7:0] I Aux DAC[7:0] 1 = puts the I DAC into sleep mode (fast wake-up mode). I DAC FS Adj[9:0] sets the full-scale current of the I DAC. The full-scale current can be adjusted from 8.64 mA to 31.68 mA in step sizes of approximately 22.5 A. 0x000 = 8.64 mA. ... 0x200 = 20.16 mA. ... 0x3FF = 31.68 mA. See Register 0x43, Bits[1:0]. 0x43 7 I aux DAC sign 0 6 I aux DAC current direction 5 [1:0] I aux DAC sleep I Aux DAC[9:8] 0 = the I auxiliary DAC sign is positive, and the current is directed to the IOUT1P pin (Pin 67). 1 = the I auxiliary DAC sign is negative, and the current is directed to the IOUT1N pin (Pin 66). 0 = the I auxiliary DAC sources current. 1 = the I auxiliary DAC sinks current. 1 = puts the I auxiliary DAC into sleep mode. I Aux DAC[9:0] sets the magnitude of the auxiliary DAC current. The range is 0 mA to 2 mA, and the step size is 2 A. 0x000 = 0.000 mA. 0x001 = 0.002 mA. ... 0x3FF = 2.046 mA. See Register 0x45, Bits[1:0]. Q DAC FS Adjust Q DAC Control 0x44 [7:0] Q DAC FS Adj[7:0] 0x45 7 [1:0] Q DAC sleep Q DAC FS Adj[9:8] Q Aux DAC Data 0x46 [7:0] Q Aux DAC[7:0] 1 = puts the Q DAC into sleep mode (fast wake-up mode). Q DAC FS Adj[9:0] sets the full-scale current of the Q DAC. The full-scale current can be adjusted from 8.64 mA to 31.68 mA in step sizes of approximately 22.5 A. 0x000 = 8.64 mA. ... 0x200 = 20.16 mA. ... 0x3FF = 31.68 mA. See Register 0x47, Bits[1:0]. Rev. B | Page 29 of 60 11111001 00000000 0 0 00 11111001 0 01 00000000 AD9122 Register Name Q Aux DAC Control Die Temp Range Control Die Temp LSB Die Temp MSB SED Control Compare I0 LSBs Compare I0 MSBs Compare Q0 LSBs Compare Q0 MSBs Compare I1 LSBs Compare I1 MSBs Address (Hex) 0x47 Bits 7 Name Q aux DAC sign 6 Q aux DAC current direction 5 [1:0] Q aux DAC sleep Q Aux DAC[9:8] [6:4] FS Current[2:0] [3:1] Reference Current[2:0] 0 Capacitor value 0x49 [7:0] Die Temp[7:0] 0x4A [7:0] Die Temp[15:8] 0x67 7 SED compare enable 5 Sample error detected 3 Autoclear enable 1 Compare fail 0x68 0 [7:0] Compare pass Compare Value I0[7:0] 0x69 [7:0] Compare Value I0[15:8] 0x6A [7:0] Compare Value Q0[7:0] 0x6B [7:0] Compare Value Q0[15:8] 0x6C [7:0] Compare Value I1[7:0] 0x6D [7:0] Compare Value I1[15:8] 0x48 Description 0 = the Q auxiliary DAC sign is positive, and the current is directed to the IOUT2P pin (Pin 58). 1 = the Q auxiliary DAC sign is negative, and the current is directed to the IOUT2N pin (Pin 59). 0 = the Q auxiliary DAC sources current. 1 = the Q auxiliary DAC sinks current. 1 = puts the Q auxiliary DAC into sleep mode. Q Aux DAC[9:0] sets the magnitude of the auxiliary DAC current. The range is 0 mA to 2 mA, and the step size is 2 A. 0x000 = 0.000 mA. 0x001 = 0.002 mA. ... 0x3FF = 2.046 mA. Auxiliary ADC full-scale current. 000 = lowest current. ... 111 = highest current. Auxiliary ADC reference current. 000 = lowest current. ... 111 = highest current. Auxiliary ADC internal capacitor value. 0 = 5 pF. 1 = 10 pF. See Register 0x4A. Die Temp[15:0] indicates the approximate die temperature. For more information, see the Temperature Sensor section. 1 = enable the SED circuitry. None of the flags in this register or the values in Register 0x70 through Register 0x73 are significant if the SED is not enabled. 1 = indicates an error was detected. The bit remains set until cleared. Any write to this register clears this bit to 0. 1 = enable autoclear mode. This activates Bit 1 and Bit 0 of this register and causes Register 0x70 through Register 0x73 to be autocleared when eight consecutive sample data sets are received error free. 1 = indicates an error was detected. This bit remains set until it is autocleared by the reception of eight consecutive errorfree comparisons or is cleared by a write to this register. 1 = indicates that the last sample comparison was error free. See Register 0x69. Default 0 0 0 00 000 001 0 N/A N/A 0 0 0 0 0 10110110 Compare Value I0[15:0] is the word that is compared with the I0 input sample captured at the input interface. See Register 0x6B. 01111010 Compare Value Q0[15:0] is the word that is compared with the Q0 input sample captured at the input interface. See Register 0x6D. 11101010 Compare Value I1[15:0] is the word that is compared with the I1 input sample captured at the input interface. 00011010 Rev. B | Page 30 of 60 01000101 00010110 AD9122 Register Name Compare Q1 LSBs Compare Q1 MSBs SED I LSBs SED I MSBs SED Q LSBs SED Q MSBs Revision Address (Hex) 0x6E Bits [7:0] Name Compare Value Q1[7:0] Description See Register 0x6F. Default 11000110 0x6F [7:0] Compare Value Q1[15:8] 10101010 0x70 [7:0] 0x71 [7:0] [7:0] Errors Detected I_BITS[15:0] indicates which bits were received in error. See Register 0x73. 00000000 0x72 0x73 [7:0] [5:2] Errors Detected Q_BITS[15:0] indicates which bits were received in error. This value corresponds to the die revision number. 0001 = Die Revision 1. 0011 = Die Revision 2. 00000000 0x7F Errors Detected I_BITS[7:0] Errors Detected I_BITS[15:8] Errors Detected Q_BITS[7:0] Errors Detected Q_BITS[15:8] Revision[3:0] Compare Value Q1[15:0] is the word that is compared with the Q1 input sample captured at the input interface. See Register 0x71. Rev. B | Page 31 of 60 00000000 00000000 N/A AD9122 LVDS INPUT DATA PORTS The AD9122 has one LVDS data port that receives data for both the I and Q transmit paths. The device can accept data in word, byte, and nibble formats. In word, byte, and nibble modes, the data is sent over 16-bit, 8-bit, and 4-bit LVDS data buses, respectively. The pin assignments of the bus in each mode are shown in Table 12. BYTE INTERFACE MODE In byte mode, the DCI signal is a reference bit used to generate the data sampling clock. The DCI signal should be time aligned with the data. The most significant byte of the data should correspond to DCI high, and the least significant byte of the data should correspond to DCI low. The FRAME signal indicates to which DAC the data is sent. When FRAME is high, data is sent to the I DAC; when FRAME is low, data is sent to the Q DAC. The complete timing diagram is shown in Figure 44. Table 12. Data Bit Pair Assignments for Data Input Modes Mode Word Byte1 Nibble1 1 MSB to LSB D15, D14, ..., D0 D14, D12, D10, D8, D7, D5, D3, D1 D10, D8, D7, D5 NIBBLE INTERFACE MODE In nibble mode, the DCI signal is a reference bit used to generate the data sampling clock. The DCI signal should be time aligned with the data. The FRAME signal indicates to which DAC the data is sent. When FRAME is high, data is sent to the I DAC; when FRAME is low, data is sent to the Q DAC. All four nibbles must be written to the device for proper operation. For 12-bit resolution devices, the data in the fourth nibble acts as a placeholder for the data framing structure. The complete timing diagram is shown in Figure 45. In byte and nibble modes, the unused pins can be left floating. The data is accompanied by a reference bit (DCI) that is used to generate a double data rate (DDR) clock. In byte and nibble modes, a FRAME signal is required for controlling to which DAC the data is sent. All of the interface signals are time aligned, so there is a maximum skew requirement on the bus. WORD INTERFACE MODE In word mode, the DCI signal is a reference bit used to generate the data sampling clock. The DCI signal should be time aligned with the data. The I DAC data should correspond to DCI high, and the Q DAC data should correspond to DCI low, as shown in Figure 43. INTERFACE TIMING The timing diagram for the digital interface port is shown in Figure 46. The sampling point of the data bus nominally occurs 350 ps after each edge of the DCI signal and has an uncertainty of 300 ps, as illustrated by the sampling interval shown in Figure 46. The data and FRAME signals must be valid throughout this sampling interval. The data and FRAME signals may change at any time between sampling intervals. DATA[15:0] Q0 I1 Q1 I2 Q2 I3 Q3 08281-015 DCI Figure 43. Timing Diagram for Word Mode DCI I1MSB I1LSB Q1MSB Q1LSB I2MSB I2LSB Q2MSB Q2LSB 08281-016 DATA[15:0] Q0LSB FRAME Figure 44. Timing Diagram for Byte Mode DCI I1N3 I1N2 I1N1 I1N0 Q1N3 Q1N2 Q1N1 Q1N0 I2N3 08281-017 DATA[15:0] Q0N0 FRAME Figure 45. Timing Diagram for Nibble Mode Rev. B | Page 32 of 60 AD9122 The setup (tS) and hold (tH) times, with respect to the edges, are shown in Figure 46. The minimum setup and hold times are shown in Table 13. tDATA FIFO OPERATION The AD9122 contains a 2-channel, 16-bit wide, eight-word deep FIFO designed to relax the timing relationship between the data arriving at the DAC input ports and the internal DAC data rate clock. The FIFO acts as a buffer that absorbs timing variations between the data source and the DAC, such as the clock-to-data variation of an FPGA or ASIC, which significantly increases the timing budget of the interface. tDATA DCI SAMPLING INTERVAL SAMPLING INTERVAL Figure 47 shows the block diagram of the datapath through the FIFO. The data is latched into the device, is formatted, and is then written into the FIFO register determined by the FIFO write pointer. The value of the write pointer is incremented every time a new word is loaded into the FIFO. Meanwhile, data is read from the FIFO register determined by the read pointer and fed into the digital datapath. The value of the read pointer is incremented every time data is read into the datapath from the FIFO. The FIFO pointers are incremented at the data rate (DACCLK rate divided by the interpolation ratio). DATA tS 08281-146 tS tH tH Figure 46. Timing Diagram for Input Data Port Table 13. Data to DCI Setup and Hold Times Minimum Setup Time, tS (ns) -0.05 -0.23 -0.38 -0.47 Minimum Hold Time, tH (ns) 0.65 0.95 1.22 1.38 Valid data is transmitted through the FIFO as long as the FIFO does not overflow or become empty. An overflow or empty condition of the FIFO occurs when the write pointer and read pointer point to the same FIFO location. This simultaneous access of data leads to unreliable data transfer through the FIFO and must be avoided. Sampling Interval (ns) 0.6 0.72 0.84 0.91 Nominally, data is written to and read from the FIFO at the same rate. This keeps the FIFO depth constant. If data is written to the FIFO faster than data is read out, the FIFO depth increases. If data is read out of the FIFO faster than data is written to it, the FIFO depth decreases. For optimum timing margin, the FIFO depth should be maintained near half full (a difference of 4 between the write pointer and read pointer values). The FIFO depth represents the FIFO pipeline delay and is part of the overall latency of the AD9122. The data interface timing can be verified by using the sample error detection (SED) circuitry. See the Interface Timing Validation section for more information. 32 BITS WRITE POINTER READ POINTER REG 0 REG 1 DATA INPUT LATCH DATA FORMAT REG 2 32 32 REG 3 REG 4 I AND Q DATA PATHS 32 I AND Q DACS REG 5 REG 6 FRAME READ POINTER RESET DCI WRITE POINTER RESET REG 7 / INT RESET LOGIC FIFO SOFT ALIGN REQUEST REG 0x18[1] DATA/FIFO RATE REG 0x10[6] DACCLK SYNC FIFO PHASE OFFSET REG 0x17[2:0] Figure 47. Block Diagram of FIFO Rev. B | Page 33 of 60 08281-018 DCI Delay Register 0x16, Bits[1:0] 00 01 10 11 AD9122 When the AD9122 is powered on, the FIFO depth is unknown. To avoid a concurrent read and write to the same FIFO address and to ensure a fixed pipeline delay, it is important to reset the FIFO pointers to known states. The FIFO pointers can be initialized in two ways: via a write sequence to the serial port or by strobing the FRAME input. There are two types of FIFO resets: a relative reset and an absolute reset. A relative reset enforces a defined FIFO depth. An absolute reset enforces a particular write pointer value when the reset is initiated. A serial port initiated FIFO reset is always a relative reset. A FRAME strobe initiated reset can be either a relative or an absolute reset. If the FRAME differential inputs are not used for FIFO reset or for framing the word width, they must be tied to logic low. FRAMEP must be tied to DVSS, and FRAMEN must be tied to DVDD18 to avoid accidental reset of the FIFO due to noise. The recommended procedure for a serial port FIFO data level initialization is as follows: 1. 2. 3. Program Register 0x17 to 0x05. Request FIFO level reset by setting Register 0x18, Bit 1, to 1. Verify that the part acknowledges the request by ensuring that Register 0x18, Bit 2, is set to 1. Remove the request by setting Register 0x18, Bit 1, to 0. Verify that the part drops the acknowledge signal by ensuring that Register 0x18, Bit 2, is set to 0. Read back Register 0x19 to verify that the pointer spacing is set to 3 (0x07) or 4 (0x0F). If the readback of Register 0x19 shows a pointer spacing of 2 (0x03), increment Register 0x17 to a spacing of 0x06 and repeat Step 2 through Step 5. Read back Register 0x19 again to verify that the pointer spacing is now set to 3 (0x07). If the readback of Register 0x19 shows a pointer spacing of 5 (0x1F) after Step 6, decrement Register 0x17 to a spacing of 0x04 and repeat Step 2 through Step 5. Read back Register 0x19 again to verify that the pointer spacing is now set to 4 (0x0F). 4. 5. 6. 7. 8. The operation of the FRAME initiated FIFO reset depends on the synchronization mode chosen. * * When synchronization is disabled or when it is configured for data rate mode synchronization, the FRAME strobe initiates a relative FIFO reset. The reference point of the relative reset is the position of the read pointer. When FIFO mode synchronization is chosen, the FRAME strobe initiates an absolute FIFO reset. For more information about the synchronization function, see the Multichip Synchronization section. A summary of the synchronization modes and the types of FIFO reset used is provided in Table 14. Table 14. Summary of FIFO Resets FIFO Reset Signal Serial Port FRAME Synchronization Mode Disabled Data Rate FIFO Reset Relative Relative Relative Relative Relative Absolute FRAME Initiated Relative FIFO Reset The primary function of the FRAME input is to indicate to which DAC the input data is written. Another function of the FRAME input is to initialize the FIFO data level value. This is done by asserting the FRAME signal high for at least the time interval required to load complete data to the I and Q DACs. This corresponds to one DCI period in word mode, two DCI periods in byte mode, and four DCI periods in nibble mode. To initiate a relative FIFO reset with the FRAME signal, the device must be configured in data rate mode (Register 0x10, Bit 6 = 1). When FRAME is asserted in data rate mode, the write pointer is set to 4 by default (or to the FIFO start level) the next time that the read pointer becomes 0 (see Figure 48). READ POINTER 0 1 2 3 A serial port initiated FIFO reset can be issued in any synchronization mode and always results in a relative FIFO reset. To initialize the FIFO data level through the serial port, Bit 1 of Register 0x18 should be toggled from 0 to 1 and back. When the write to this register is complete, the FIFO data level is initialized. When the initialization is triggered, the next time that the read pointer becomes 0, the write pointer is set to the value of the FIFO start level variable (Register 0x17, Bits[2:0]) upon initialization. By default, this value is 4, but it can be programmed to a value from 0 to 7. It is recommended that a value of 5 (0x05) be programmed in Register 0x17. WRITE POINTER Rev. B | Page 34 of 60 5 6 7 0 1 2 3 3 4 5 6 FIFO WRITE RESETS FRAME Serial Port Initiated FIFO Reset 4 3 4 5 6 7 0 1 2 Figure 48. FRAME Input vs. Write Pointer Value, Data Rate Mode 08281-019 Resetting the FIFO AD9122 FRAME Initiated Absolute FIFO Reset Monitoring the FIFO Status In FIFO rate synchronization mode, the write pointer of the FIFO is reset in an absolute manner. The synchronization signal aligns the internal clocks on the part to a common reference clock so that the pipeline delay in the digital circuit stays the same during power cycles. The synchronization signal is sampled by the DAC clock in the AD9122. The edge of the DAC clock used to sample the synchronization signal is selected by Bit 3 of Register 0x10. The FIFO initialization and status can be read from Register 0x18. This register provides information about the FIFO status and whether the initialization was successful. The MSB of Register 0x18 is a FIFO warning flag that can optionally trigger a device IRQ. This flag indicates that the FIFO is close to emptying (FIFO level is 1) or overflowing (FIFO level is 7). In this case, data may soon be corrupted, and action should be taken. The FRAME signal is used to reset the FIFO write pointer. In the FIFO rate synchronization mode, the FIFO write pointer is reset immediately after the FRAME signal is asserted high for at least the time interval required to load complete data to the I and Q DACs. The FIFO write pointer is reset to the value of the FIFO Phase Offset[2:0] bits in Register 0x17. FIFO rate synchronization is selected by setting Bit 6 of Register 0x10 to 0. The FIFO data level can be read from Register 0x19 at any time. The serial port reported FIFO data level is denoted as a 7-bit thermometer code (Base 1 code) of the write counter state relative to the absolute read counter being at 0. The optimum FIFO data level of 4 is therefore reported as a value of 00001111 in the status register. READ POINTER FIFO READ RESET 0 FRAME WRITE POINTER 1 2 FIFO WRITE RESET 6 5 6 3 4 5 6 7 0 1 2 3 3 4 5 6 7 FIFO PHASE OFFSET[2:0] REG 0x17[2:0] = 101 7 0 1 2 08281-148 SYNC Note that, depending on the timing relationship between the DCI and the main DACCLK, the FIFO level value can be off by a 1 count, that is, the readback of Register 0x19 can be 00011111 in the case of a +1 count and 00000111 in the case of a -1 count. Therefore, it is important to keep the difference between the read and write pointers to a value of at least 2. Figure 49. FRAME Input vs. Write Pointer Value, FIFO Rate Mode Rev. B | Page 35 of 60 AD9122 DIGITAL DATAPATH HB1 HB2 HB3 SINC-1 Figure 50. Block Diagram of Digital Datapath The half-band filters operate in several modes, providing programmable pass-band center frequencies as well as signal modulation. The HB1 filter has four modes of operation, and the HB2 and HB3 filters each have eight modes of operation. Half-Band Filter 1 (HB1) HB1 has four modes of operation, as shown in Figure 51. The shape of the filter response is identical in each of the four modes. The four modes are distinguished by two factors: the filter center frequency and whether the input signal is modulated by the filter. MODE 0 The digital datapath accepts I and Q data streams and processes them as a quadrature data stream. The signal processing blocks can be used when the input data stream is represented as complex data. -40 -60 -80 PREMODULATION -100 0 The half-band interpolation filters have selectable pass bands that allow the center frequencies to be moved in increments of one-half their input data rate. The premodulation block provides a digital upconversion of the incoming waveform by one-half the incoming data rate, fDATA. This can be used to frequency-shift baseband input data to the center of the interpolation filter pass band. INTERPOLATION FILTERS The transmit path contains three interpolation filters. Each of the three interpolation filters provides a 2x increase in output data rate. The half-band (HB) filters can be individually bypassed or cascaded to provide 1x, 2x, 4x, or 8x interpolation ratios. Each half-band filter stage offers a different combination of bandwidths and operating modes. The bandwidth of the three half-band filters with respect to the data rate at the filter input is as follows: * * * MODE 3 -20 MAGNITUDE (dB) The digital datapath can also be used to process an input data stream representing two independent real data streams, but the functionality is somewhat restricted. The premodulation block and any of the nonshifted interpolation filter modes can be used for an input data stream representing two independent real data streams. See the Coarse Modulation Mixing Sequences section for more information. MODE 2 MODE 1 0 Bandwidth of HB1 = 0.8 x fIN1 Bandwidth of HB2 = 0.5 x fIN2 Bandwidth of HB3 = 0.4 x fIN3 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 FREQUENCY (x fIN1) (Hz) 2.0 08281-021 PREMOD PHASE AND OFFSET ADJUST 08281-020 The block diagram in Figure 50 shows the functionality of the digital datapath. The digital processing includes a premodulation block, three half-band (HB) interpolation filters, a quadrature modulator with a fine resolution NCO, phase and offset adjustment blocks, and an inverse sinc filter. Figure 51. HB1 Filter Modes As shown in Figure 51, the center frequency in each mode is offset by one-half the input data rate (fIN1) of the filter. Mode 0 and Mode 1 do not modulate the input signal. Mode 2 and Mode 3 modulate the input signal by fIN1. When operating in Mode 0 and Mode 2, the I and Q paths operate independently and no mixing of the data between channels occurs. When operating in Mode 1 and Mode 3, mixing of the data between the I and Q paths occurs; therefore, the data input into the filter is assumed to be complex. Table 15 summarizes the HB1 modes. Table 15. HB1 Filter Modes Mode 0 1 2 3 The usable bandwidth is defined as the frequency over which the filters have a pass-band ripple of less than 0.001 dB and an image rejection of greater than +85 dB. As described in the Half-Band Filter 1 (HB1) section, the image rejection usually sets the usable bandwidth of the filter, not the pass-band flatness. Rev. B | Page 36 of 60 fCENTER DC fIN/2 fIN 3fIN/2 fMOD None None fIN fIN Input Data Real or complex Complex Real or complex Complex AD9122 Figure 52 shows the pass-band filter response for HB1. In most applications, the usable bandwidth of the filter is limited by the image suppression provided by the stop-band rejection and not by the pass-band flatness. Table 16 shows the pass-band flatness and stop-band rejection supported by the HB1 filter at different bandwidths. Half-Band Filter 2 (HB2) HB2 has eight modes of operation, as shown in Figure 53 and Figure 54. The shape of the filter response is identical in each of the eight modes. The eight modes are distinguished by two factors: the filter center frequency and whether the input signal is modulated by the filter. 0.02 MODE 0 MODE 4 MODE 2 0 MODE 6 0 MAGNITUDE (dB) -0.04 -0.06 -40 -60 -80 -0.08 -0.10 FREQUENCY (x fIN1) (Hz) 0 08281-022 0.04 0.08 0.12 0.16 0.20 0.24 0.28 0.32 0.36 0.40 0.2 0.8 1.0 1.2 1.4 1.6 1.8 2.0 1.8 2.0 Figure 53. HB2, Even Filter Modes Table 16. HB1 Pass-Band and Stop-Band Performance by Bandwidth MODE 1 Stop-Band Rejection (dB) 85 80 70 60 50 40 MODE 3 0 MODE 5 MODE 7 -20 MAGNITUDE (dB) Pass-Band Flatness (dB) 0.001 0.0012 0.0033 0.0076 0.0271 0.1096 0.6 FREQUENCY (x fIN2) (Hz) Figure 52. Pass-Band Detail of HB1 Bandwidth (% of fIN1) 80 80.4 81.2 82 83.6 85.6 0.4 08281-023 -100 0 08281-024 MAGNITUDE (dB) -20 -0.02 -40 -60 -80 -100 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 FREQUENCY (x fIN2) (Hz) 1.6 Figure 54. HB2, Odd Filter Modes As shown in Figure 53 and Figure 54, the center frequency in each mode is offset by one-fourth the input data rate (fIN2) of the filter. Mode 0 through Mode 3 do not modulate the input signal. Mode 4 through Mode 7 modulate the input signal by fIN2. When operating in Mode 0 and Mode 4, the I and Q paths operate independently and no mixing of the data between channels occurs. When operating in the other six modes, mixing of the data between the I and Q paths occurs; therefore, the data input to the filter is assumed to be complex. Rev. B | Page 37 of 60 AD9122 Half-Band Filter 3 (HB3) Table 17 summarizes the HB2 and HB3 modes. HB3 has eight modes of operation that function the same as HB2. The primary difference between HB2 and HB3 is the filter bandwidths. Table 17. HB2 and HB3 Filter Modes fCENTER DC fIN/4 fIN/2 3fIN/4 fIN 5fIN/4 3fIN/2 7fIN/4 fMOD None None None None fIN fIN fIN fIN Input Data Real or complex Complex Complex Complex Real or complex Complex Complex Complex Figure 56 shows the pass-band filter response for HB3. In most applications, the usable bandwidth of the filter is limited by the image suppression provided by the stop-band rejection and not by the pass-band flatness. Table 19 shows the pass-band flatness and stop-band rejection supported by the HB3 filter at different bandwidths. 0.02 Figure 55 shows the pass-band filter response for HB2. In most applications, the usable bandwidth of the filter is limited by the image suppression provided by the stop-band rejection and not by the pass-band flatness. Table 18 shows the pass-band flatness and stop-band rejection supported by the HB2 filter at different bandwidths. 0 MAGNITUDE (dB) Mode 0 1 2 3 4 5 6 7 -0.02 -0.04 -0.06 0.02 -0.08 0 0 0.04 0.08 0.12 0.16 0.20 FREQUENCY (x fIN3) (Hz) 0.24 0.28 08281-026 MAGNITUDE (dB) -0.10 -0.02 Figure 56. Pass-Band Detail of HB3 -0.04 Table 19. HB3 Pass-Band and Stop-Band Performance by Bandwidth -0.06 -0.08 0 0.04 0.08 0.12 0.16 0.20 0.24 FREQUENCY (x fIN2) (Hz) 0.28 0.32 08281-025 -0.10 Figure 55. Pass-Band Detail of HB2 Table 18. HB2 Pass-Band and Stop-Band Performance by Bandwidth Bandwidth (% of fIN2) 50 50.8 52.8 56 60 64.8 Pass-Band Flatness (dB) 0.001 0.0012 0.0028 0.0089 0.0287 0.1877 Bandwidth (% of fIN3) 40 40.8 42.4 45.6 49.8 55.6 Stop-Band Rejection (dB) 85 80 70 60 50 40 Rev. B | Page 38 of 60 Pass-Band Flatness (dB) 0.001 0.0014 0.002 0.0093 0.03 0.1 Stop-Band Rejection (dB) 85 80 70 60 50 40 AD9122 I DATA INTERPOLATION COSINE FTW[31:0] NCO NCO PHASE OFFSET [15:0] OUT_I SINE - OUT_Q + -1 Q DATA 0 1 08281-027 SPECTRAL INVERSION INTERPOLATION Figure 57. Digital Quadrature Modulator Block Diagram NCO MODULATION The digital quadrature modulator makes use of a numerically controlled oscillator (NCO), a phase shifter, and a complex modulator to provide a means for modulating the signal by a programmable carrier signal. A block diagram of the digital modulator is shown in Figure 57. The fine modulation provided by the digital modulator, in conjunction with the coarse modulation of the interpolation filters and premodulation block, allows the signal to be placed anywhere in the output spectrum with very fine frequency resolution. The quadrature modulator is used to mix the carrier signal generated by the NCO with the I and Q signal. The NCO produces a quadrature carrier signal to translate the input signal to a new center frequency. A complex carrier signal is a pair of sinusoidal waveforms of the same frequency, offset 90 from each other. The frequency of the complex carrier signal is set via FTW[31:0] in Register 0x30 through Register 0x33. The NCO operating frequency, fNCO, is at either fDATA (HB1 bypassed) or 2x fDATA (HB1 enabled). The frequency of the complex carrier signal can be set from dc up to fNCO. The frequency tuning word (FTW) is calculated as Determining the Datapath Signal Bandwidth The available signal bandwidth of the datapath is dependent on the center frequency of the output signal in relation to the center frequency of the interpolation filters used. Signal center frequencies offset from the center frequencies of the half-band filters lower the available signal bandwidth. When correctly configured, the available complex signal bandwidth for 2x interpolation is always 80% of the input data rate. The available signal bandwidth for 4x interpolation vs. output frequency varies between 50% and 80% of the input data rate, as shown in Figure 58. Note that in 4x interpolation mode, fDAC = 4 x fDATA; therefore, the data shown in Figure 58 repeats four times from dc to fDAC. HB1 AND HB2 0.8 f CARRIER x 2 32 f NCO The generated quadrature carrier signal is mixed with the I and Q data. The quadrature products are then summed into the I and Q data paths, as shown in Figure 57. BANDWIDTH/ fDATA FTW = Given these four parameters, the first step in configuring the datapath is to verify that the device supports the bandwidth requirements. The modes of the interpolation filters are then chosen. Finally, any additional frequency offset requirements are determined and applied with premodulation and NCO modulation. 0.5 HB2 AND HB3 0.3 The frequency tuning word registers are not updated immediately upon writing, as other configuration registers are. After loading the FTW registers with the desired values, Bit 0 of Register 0x36 must transition from 0 to 1 for the new FTW to take effect. DATAPATH CONFIGURATION Configuring the AD9122 datapath starts with the application requirements of the input data rate, the interpolation ratio, the output signal bandwidth, and the output signal center frequency. 0.2 0.4 0.6 fOUT/fDATA 0.8 1.0 08281-028 Updating the Frequency Tuning Word Figure 58. Signal Bandwidth vs. Center Frequency of the Output Signal, 4x Interpolation Configuring 4x interpolation using the HB2 and HB3 filters can lower the power consumption of the device at the expense of bandwidth. The lower curve in Figure 58 shows that the supported bandwidth in this mode varies from 30% to 50% of fDATA. Rev. B | Page 39 of 60 AD9122 The available signal bandwidth for 8x interpolation vs. output frequency varies between 50% and 80% of the input data rate, as shown in Figure 59. Note that in 8x interpolation mode, fDAC = 8 x fDATA; therefore, the data shown in Figure 59 repeats eight times from dc to fDAC. HB1, HB2, AND HB3 0.6 Table 20 shows the recommended interpolation filter settings for a variety of filter interpolation factors, filter center frequencies, and signal modulation. The interpolation modes were chosen based on the final center frequency of the signal and by determining the frequency shift of the signal required. When these parameters are known and put in terms of the input data rate (fDATA), the filter configuration that comes closest to matching is selected from Table 20. 0.5 0.1 0.25 0.4 0.50 0.6 0.75 fOUT/fDATA 0.9 1.00 08281-029 BANDWIDTH/ fDATA 0.8 DETERMINING INTERPOLATION FILTER MODES Figure 59. Signal Bandwidth vs. Center Frequency of the Output Signal, 8x Interpolation Table 20. Recommended Interpolation Filter Modes (Register 0x1C Through Register 0x1E) Interpolation Factor 8 8 82 8 8 8 8 8 8 8 8 8 8 8 8 8 4 43 4 4 4 4 4 4 2 2 2 2 HB1[1:0] 00 (Mode 0) 01 (Mode 1) 10 (Mode 2) 11 (Mode 3) 00 (Mode 0) 01 (Mode 1) 10 (Mode 2) 11 (Mode 3) 00 (Mode 0) 01 (Mode 1) 10 (Mode 2) 11 (Mode 3) 00 (Mode 0) 01 (Mode 1) 10 (Mode 2) 11 (Mode 3) 00 (Mode 0) 01 (Mode 1) 10 (Mode 2) 11 (Mode 3) 00 (Mode 0) 01 (Mode 1) 10 (Mode 2) 11 (Mode 3) 00 (Mode 0) 01 (Mode 1) 10 (Mode 2) 11 (Mode 3) Filter Modes HB2[5:0] 000000 001001 010010 011011 100100 101101 110110 111111 000000 001001 010010 011011 100100 101101 110110 111111 000000 001001 010010 011011 100100 101101 110110 111111 Bypass Bypass Bypass Bypass HB3[5:0] 000000 000000 001001 001001 010010 010010 011011 011011 100100 100100 101101 101101 110110 110110 111111 111111 Bypass Bypass Bypass Bypass Bypass Bypass Bypass Bypass Bypass Bypass Bypass Bypass 1 fSIGNAL Modulation DC DC1 fDATA fDATA1 2fDATA 2fDATA1 3fDATA 3fDATA1 4fDATA 4fDATA1 5fDATA 5fDATA1 6fDATA 6fDATA1 7fDATA 7fDATA1 DC DC1 fDATA fDATA1 2fDATA 2fDATA1 3fDATA 3fDATA1 DC DC1 fDATA fDATA1 fCENTER Shift 0 fDATA/2 fDATA 3fDATA/2 2fDATA 5fDATA/2 3fDATA 7fDATA/2 4fDATA 9fDATA/2 5fDATA 11fDATA/2 6fDATA 13fDATA/2 7fDATA 15fDATA/2 0 fDATA/2 fDATA 3fDATA/2 2fDATA 5fDATA/2 3fDATA 7fDATA/2 0 fDATA/2 fDATA 3fDATA/2 When HB1 Mode 1 or Mode 3 is used, enabling premodulation provides an additional frequency translation of the input signal by fDATA/2, which centers a baseband input signal in the filter pass band. 2 This configuration was used in the 8x interpolation without NCO example (see the 8x Interpolation Without NCO section). 3 This configuration was used in the 4x interpolation with NCO example (see the 4x Interpolation with NCO section). Rev. B | Page 40 of 60 AD9122 DATAPATH CONFIGURATION EXAMPLES 4x Interpolation with NCO 8x Interpolation Without NCO For this example, the following parameters are given: For this example, the following parameters are given: * * * * fDATA = 100 MSPS 8x interpolation fBW = 75 MHz fCENTER = 100 MHz fDATA = 250 MSPS 4x interpolation fBW = 140 MHz fCENTER = 175 MHz The desired 140 MHz of bandwidth is 56% of fDATA. As shown in Figure 58, the value at 0.7 x fDATA is 0.6. This is calculated as 0.8 - 2(0.7 - 0.6) = 0.6. This verifies that the AD9122 supports a bandwidth of 60% of fDATA, which exceeds the required 56%. The desired 75 MHz of bandwidth is 75% of fDATA. In this case, the ratio of fOUT/fDATA = 100/100 = 1.0. From Figure 59, the bandwidth supported at fDATA is 0.8, which verifies that the AD9122 supports the bandwidth required in this configuration. The signal center frequency is 0.7 x fDATA and, assuming the input signal is at baseband, the frequency shift required is also 0.7 x fDATA. Choosing the second row in the Interpolation Factor column in the 4x interpolation section of Table 20 selects the filter modes that give a center frequency of fDATA/2 with no frequency translation. The selected modes for the three half-band filters are HB1, Mode 1; HB2, Mode 1; and HB3, bypassed. The signal center frequency is fDATA and, assuming the input signal is at baseband, the frequency shift required is also fDATA. Choosing the third row (highlighted by the superscripted number 2) of the Interpolation Factor column from Table 20 selects filter modes that give a center frequency of fDATA and a frequency translation of fDATA. The selected modes for the three half-band filters are HB1, Mode 2; HB2, Mode 2; and HB3, Mode 1. Figure 60 shows how the signal propagates through the interpolation filters. Because Mode 1 of HB1 was selected, the premodulation block should be enabled. This provides fDATA/2 modulation, which centers the baseband input data at the center frequency of HB1. The digital modulator can be used to provide the final frequency translation of 0.2 x fDATA to place the output signal at 0.7 x fDATA, as desired. Because 2 x fIN1 = fIN2 and 2 x fIN2 = fIN3, the signal appears frequency scaled by one-half into each consecutive stage. The output signal band spans 0.15 to 0.35 of fIN3 (400 MHz). Therefore, the output frequency supported is 60 MHz to 140 MHz, which covers the 75 MHz bandwidth centered at 100 MHz, as desired. The formula for calculating the FTW of the NCO is as follows: f CARRIER x 2 32 f NCO FTW = where: fCARRIER = 0.2 x fDATA. fNCO = 2 x fDATA. Therefore, FTW = 232/10. 0 2 1 0 3 HB1 -0.5 0 0.1 0.4 -0.5 0 3 2 0.25 0.5 0.3 0 0.75 3 2 -0.2 0 0.2 0.3 0.15 5 4 2.0 x fIN1 1.5 7 6 1.0 1.25 1.5 1.75 2.0 x fIN2 0.7 1 HB3 -0.5 1.0 1 0 HB2 0.6 0.5 0.5 0.7 4 5 1.0 0.35 7 6 1.5 2.0 x fIN3 08281-030 * * * * Figure 60. Signal Propagation for 8x Interpolation (fDATA Modulation) Rev. B | Page 41 of 60 AD9122 DATA RATES vs. INTERPOLATION MODES Table 22 summarizes the maximum bus speed (fBUS), supported input data rates, and signal bandwidths with the various combinations of bus width modes and interpolation rates. The real signal bandwidth supported is a fraction of the input data rate, which depends on the interpolation filters (HB1, HB2, or HB3) selected. The complex signal bandwidth supported is twice the real signal bandwidth. In general, 2x interpolation is best supported by enabling HB1, and 4x interpolation is best supported by enabling HB1 and HB2. However, in some cases, power dissipation can be lowered by not using HB1. If the bandwidth required is low enough, 2x interpolation can be supported by using HB2, and 4x interpolation can be supported by using HB2 and HB3. COARSE MODULATION MIXING SEQUENCES The coarse digital quadrature modulation occurs within the interpolation filters. The modulation shifts the frequency spectrum of the incoming data by the frequency offset selected. The frequency offsets available are multiples of the input data rate. The modulation is equivalent to multiplying the quadrature input signal by a complex carrier signal, C(t), of the form In practice, this modulation results in the mixing functions shown in Table 21. Table 21. Modulation Mixing Sequences Modulation fS/2 fS/4 3fS/4 fS/8 Note that r = Mixing Sequence I = I, -I, I, -I, ... Q = Q, -Q, Q, -Q, ... I = I, Q, -I, -Q, ... Q = Q, -I, -Q, I, ... I = I, -Q, -I, Q, ... Q = Q, I, -Q, -I, ... I = I, r(I + Q), Q, r(-I + Q), -I, -r(I + Q), -Q, r(I - Q), ... Q = Q, r(Q - I), -I, -r(Q + I), -Q, r(-Q + I), I, r(Q + I), ... 2 2 As shown in Table 21, the mixing functions of most of the modes cross-couple samples between the I and Q channels. The I and Q channels operate independently only in fS/2 mode. This means that real modulation using both the I and Q DAC outputs can only be done in fS/2 mode. All other modulation modes require complex input data and produce complex output signals. C(t) = cos(ct) + j sin(ct) Table 22. Summary of Data Rates and Bandwidths vs. Interpolation Modes (DVDD18, CVDD18 = 1.9 V 2%) Bus Width Nibble (4 Bits) Byte (8 Bits) Word (16 Bits) HB3 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 1 1 Filter Modes HB2 HB1 0 0 0 1 1 0 1 1 1 0 1 1 0 0 0 1 1 0 1 1 1 0 1 1 0 0 0 1 1 0 1 1 1 0 1 1 fBUS (Mbps) 1230 1230 1230 1230 1230 1230 1230 1230 1230 1230 1230 615 1230 1000 1230 615 615 307.5 fDATA (Mbps) 153.75 153.75 153.75 153.75 153.75 153.75 307.5 307.5 307.5 307.5 307.5 153.75 615 500 615 307.5 307.5 153.75 Rev. B | Page 42 of 60 Real Signal Bandwidth (MHz) 75 60 37.5 60 37.5 60 150 120 75 120 75 60 300 200 150 120 75 60 fDAC (MHz) 153.75 307.5 307.5 615 615 1230 307.5 615 615 1230 1230 1230 615 1000 1230 1230 1230 1230 AD9122 Q Phase Adj[9:0] (Register 0x3A and Register 0x3B) works in a similar fashion. When Q Phase Adj[9:0] is set to 1000000000, the Q DAC output moves approximately 1.75 away from the I DAC output, creating an angle of 91.75 between the channels. When Q Phase Adj[9:0] is set to 0111111111, the Q DAC output moves approximately 1.75 toward the I DAC output, creating an angle of 88.25 between the channels. Based on these two endpoints, the combined resolution of the phase compensation register is approximately 3.5/1024 or 0.00342 per code. DC OFFSET CORRECTION The dc value of the I datapath and the Q datapath can be independently controlled by adjusting the I DAC Offset[15:0] and Q DAC Offset[15:0] values in Register 0x3C through Register 0x3F. These values are added directly to the datapath values. Care should be taken not to overrange the transmitted values. Figure 61 shows how the DAC offset current varies as a function of the I DAC Offset[15:0] and Q DAC Offset[15:0] values. With the digital inputs fixed at midscale (0x0000, twos complement data format), Figure 61 shows the nominal IOUTxP and IOUTxN currents as the DAC offset value is swept from 0 to 65,535. Because IOUTxP and IOUTxN are complementary current outputs, the sum of IOUTxP and IOUTxN is always 20 mA. 15 5 10 10 5 15 0x4000 0x8000 20 0xFFFF 0xC000 08281-031 0 0x0000 IOUTxN (mA) 0 DAC OFFSET VALUE Figure 61. DAC Output Currents vs. DAC Offset Value INVERSE SINC FILTER The inverse sinc (sinc-1) filter is a nine-tap FIR filter. The composite response of the sinc-1 filter and the sin(x)/x response of the DAC is shown in Figure 62. The composite response has a pass-band ripple of less than 0.05 dB up to a frequency of 0.4 x fDACCLK. To provide the necessary peaking at the upper end of the pass band, the inverse sinc filters shown have an intrinsic insertion loss of about 3.2 dB. Figure 62 shows the composite frequency response. -3.0 -3.2 -3.4 -3.6 -3.8 -4.0 0 0.1 0.2 0.3 0.4 0.5 fOUT/fDAC 08281-032 Ordinarily, the I and Q channels have an angle of precisely 90 between them. The quadrature phase adjustment is used to change the angle between the I and Q channels. When I Phase Adj[9:0] (Register 0x38 and Register 0x39) is set to 1000000000, the I DAC output moves approximately 1.75 away from the Q DAC output, creating an angle of 91.75 between the channels. When I Phase Adj[9:0] is set to 0111111111, the I DAC output moves approximately 1.75 toward the Q DAC output, creating an angle of 88.25 between the channels. 20 MAGNITUDE (dB) The purpose of the quadrature phase correction block is to enable compensation of the phase imbalance of the analog quadrature modulator following the DAC. If the quadrature modulator has a phase imbalance, the unwanted sideband appears with significant energy. Tuning the quadrature phase adjust value can optimize image rejection in single sideband radios. IOUTxP (mA) QUADRATURE PHASE CORRECTION Figure 62. Sample Composite Responses of the Sinc-1 Filter with sin(x)/x Roll-Off The sinc-1 filter is disabled by default. It can be enabled by setting the bypass sinc-1 bit to 0 (Register 0x1B, Bit 6). Rev. B | Page 43 of 60 AD9122 DAC INPUT CLOCK CONFIGURATIONS The AD9122 DAC sampling clock (DACCLK) can be sourced directly or by clock multiplying. Clock multiplying uses the on-chip phase-locked loop (PLL), which accepts a reference clock operating at a submultiple of the desired DACCLK rate, most commonly the data input frequency. The PLL then multiplies the reference clock up to the desired DACCLK frequency, which can then be used to generate all the internal clocks required by the DAC. The clock multiplier provides a high quality clock that meets the performance requirements of most applications. Using the on-chip clock multiplier eliminates the need to generate and distribute the high speed DACCLK. when the clock input signal is between 800 mV p-p differential and 1.6 V p-p differential. Whether using the on-chip clock multiplier or sourcing the DACCLK directly, it is necessary that the input clock signal to the device have low jitter and fast edge rates to optimize the DAC noise performance. DIRECT CLOCKING Direct clocking with a low noise clock produces the lowest noise spectral density at the DAC outputs. To select the differential CLK inputs as the source for the DAC sampling clock, set the PLL enable bit (Register 0x0A, Bit 7) to 0. This powers down the internal PLL clock multiplier and selects the input from the DACCLKP and DACCLKN pins as the source for the internal DAC sampling clock. The second mode bypasses the clock multiplier circuitry and allows the DACCLK to be sourced directly to the DAC core. This mode enables the user to source a very high quality clock directly to the DAC core. Sourcing the DACCLK directly through the REFCLKP, REFCLKN, DACCLKP, and DACCLKN pins may be necessary in demanding applications that require the lowest possible DAC output noise, particularly when directly synthesizing signals above 150 MHz. The device also has duty cycle correction circuitry and differential input level correction circuitry. Enabling these circuits can provide improved performance in some cases. The control bits for these functions are in Register 0x08 (see Table 11). CLOCK MULTIPLICATION DRIVING THE DACCLK AND REFCLK INPUTS The on-chip PLL clock multiplication circuit can be used to generate the DAC sampling clock from a lower frequency reference clock. When the PLL enable bit (Register 0x0A, Bit 7) is set to 1, the clock multiplication circuit generates the DAC sampling clock from the lower rate REFCLK input. The functional diagram of the clock multiplier is shown in Figure 64. The differential DACCLK and REFCLK inputs share similar clock receiver input circuitry. Figure 63 shows a simplified circuit diagram of the inputs. The on-chip clock receiver has a differential input impedance of about 10 k. It is self-biased to a commonmode voltage of about 1.25 V. The inputs can be driven by direct coupling differential PECL or LVDS drivers. The inputs can also be ac-coupled if the driving source cannot meet the input compliance voltage of the receiver. The clock multiplication circuit operates such that the VCO outputs a frequency, fVCO, equal to the REFCLK input signal frequency multiplied by N1 x N0. DACCLKP, REFCLKP fVCO = fREFCLK x (N1 x N0) The DAC sampling clock frequency, fDACCLK, is equal to 5k The output frequency of the VCO must be chosen to keep fVCO in the optimal operating range of 1.0 GHz to 2.1 GHz. The frequency of the reference clock and the values of N1 and N0 must be chosen so that the desired DACCLK frequency can be synthesized and the VCO output frequency is in the correct range. Figure 63. Clock Receiver Input Simplified Equivalent Circuit The minimum input drive level to either of the clock inputs is 100 mV p-p differential. The optimal performance is achieved REG 0x06[7:6] PLL LOCK LOST PLL LOCKED REFCLKP/REFCLKN (PIN 69 AND PIN 70) PHASE DETECTION ADC LOOP FILTER REG 0x0E[3:0] VCO CONTROL VOLTAGE VCO /N1 /N0 REG 0x0D[1:0] N1 REG 0x0D[3:2] N0 DACCLK DACCLKP/DACCLKN (PIN 2 AND PIN 3) REG 0x0D[7:6] /N2 N2 REG 0x0A[7] PLL ENABLE PC_CLK Figure 64. PLL Clock Multiplication Circuit Rev. B | Page 44 of 60 08281-034 DACCLKN, REFCLKN fDACCLK = fREFCLK x N1 1.25V 08281-033 5k AD9122 PLL SETTINGS Manual VCO Band Select Three settings for the PLL circuitry should be programmed to their nominal values. The PLL values shown in Table 23 are the recommended settings for these parameters. The device also has a manual band select mode (PLL manual enable, Register 0x0A, Bit 6 = 1) that allows the user to select the VCO tuning band. In manual mode, the VCO band is set directly with the value written to the manual VCO band bits (Register 0x0A, Bits[5:0]). To properly select the VCO band, follow these steps: Table 23. PLL Settings PLL Control Register PLL Loop Bandwidth[1:0] PLL Charge Pump Current[4:0] PLL Cross-Control Enable Register Address 0x0C 0x0C 0x0D Bits [7:6] [4:0] 4 Optimal Setting 11 10001 1 1. 2. 3. CONFIGURING THE VCO TUNING BAND The PLL VCO has a valid operating range from approximately 1.0 GHz to 2.1 GHz covered in 63 overlapping frequency bands. For any desired VCO output frequency, there may be several valid PLL band select values. The frequency bands of a typical device are shown in Figure 65. Device-to-device variations and operating temperature affect the actual band frequency range. Therefore, it is required that the optimal PLL band select value be determined for each individual device. 4. 5. 0 Put the device in manual band select mode by setting Register 0x0A, Bit 6 = 1. Sweep the VCO band over a range of bands that results in the PLL being locked. For each band, verify that the PLL is locked and read the PLL using the VCO control voltage bits (Register 0x0E, Bits[3:0]). Select the band that results in the control voltage being closest to the center of the range, that is, 1001 or 1000 (see Table 24). The resulting VCO band should be the optimal setting for the device. Write this value to the manual VCO band bits (Register 0x0A, Bits[5:0]). If desired, an indication of where the VCO is within the operating frequency band can be determined by querying the VCO control voltage. Table 24 shows how to interpret the PLL VCO control voltage value (Register 0x0E, Bits[3:0]). 4 8 12 Table 24. VCO Control Voltage Range Indications PLL BAND 16 20 24 28 32 36 40 44 48 52 56 1000 1200 1400 1600 1800 2000 2200 VCO FREQUENCY (MHz) 08281-035 60 Figure 65. PLL Lock Range over Temperature for a Typical Device Automatic VCO Band Select The device has an automatic VCO band select feature on chip. Using the automatic VCO band select feature is a simple and reliable method of configuring the VCO frequency band. This feature is enabled by starting the PLL in manual mode, then placing the PLL in auto band select mode. This is done by setting Register 0x0A to a value of 0xCF, then to a value of 0xA0. When these values are written, the device executes an automated routine that determines the optimal VCO band setting for the device. The setting selected by the device ensures that the PLL remains locked over the full -40C to +85C operating temperature range of the device without further adjustment. (The PLL remains locked over the full temperature range even if the temperature during initialization is at one of the temperature extremes.) VCO Control Voltage (Register 0x0E, Bits[3:0]) 1111 1110 1101 1100 1011 1010 1001 1000 0111 0110 0101 0100 0011 0010 0001 0000 Rev. B | Page 45 of 60 Indication Move to higher VCO band VCO is operating in the higher end of the frequency band VCO is operating within an optimal region of the frequency band VCO is operating in the lower end of the frequency band Move to lower VCO band AD9122 ANALOG OUTPUTS TRANSMIT DAC OPERATION I DAC FS ADJUST REGISTER 0x40 IOUT1P I DAC REFIO 0.1F FSADJ 25 10 5 IOUT2N Q DAC Q DAC FS ADJUST REGISTER 0x44 IOUT2P 0 200 400 600 800 1000 Figure 67. DAC Full-Scale Current vs. DAC Gain Code The DAC has a 1.2 V band gap reference with an output impedance of 5 k. The reference output voltage appears on the REFIO pin. When using the internal reference, decouple the REFIO pin to AVSS with a 0.1 F capacitor. Use the internal reference only for external circuits that draw dc currents of 2 A or less. For dynamic loads or static loads greater than 2 A, buffer the REFIO pin. If desired, the internal reference can be overdriven by applying an external reference (from 1.10 V to 1.30 V) to the REFIO pin. A 10 k external resistor, RSET, must be connected from the FSADJ pin to AVSS. This resistor, along with the reference control amplifier, sets up the correct internal bias currents for the DAC. Because the full-scale current is inversely proportional to this resistor, the tolerance of RSET is reflected in the full-scale output amplitude. The full-scale current equation, where the DAC gain is set individually for the I and Q DACs in Register 0x40 and Register 0x44, respectively, is as follows: VREF 3 x 72 + x DAC gain R SET 16 0 DAC GAIN CODE Figure 66. Simplified Block Diagram of DAC Core I FS = 15 IOUT1N CURRENT SCALING 10k RSET 20 08281-036 5k 30 08281-037 1.2V 35 IFS (mA) Figure 66 shows a simplified block diagram of the transmit path DACs. The DAC core consists of a current source array, a switch core, digital control logic, and full-scale output current control. The DAC full-scale output current (IFS) is nominally 20 mA. The output currents from the IOUT1P/IOUT2P and IOUT1N/ IOUT2N pins are complementary, meaning that the sum of the two currents always equals the full-scale current of the DAC. The digital input code to the DAC determines the effective differential current delivered to the load. For the nominal values of VREF (1.2 V), RSET (10 k), and DAC gain (512), the full-scale current of the DAC is typically 20.16 mA. The DAC full-scale current can be adjusted from 8.64 mA to 31.68 mA by setting the DAC gain parameter, as shown in Figure 67. Transmit DAC Transfer Function The output currents from the IOUT1P/IOUT2P and IOUT1N/ IOUT2N pins are complementary, meaning that the sum of the two currents always equals the full-scale current of the DAC. The digital input code to the DAC determines the effective differential current delivered to the load. IOUT1P/IOUT2P provide maximum output current when all bits are high. The output currents vs. DACCODE for the DAC outputs are expressed as DACCODE I OUTxP = x I FS 2N (1) I OUTxN = I FS - I OUTxP (2) where DACCODE = 0 to 2N - 1. Transmit DAC Output Configurations The optimum noise and distortion performance of the AD9122 is realized when it is configured for differential operation. The common-mode error sources of the DAC outputs are significantly reduced by the common-mode rejection of a transformer or differential amplifier. These common-mode error sources include even-order distortion products and noise. The enhancement in distortion performance becomes more significant as the frequency content of the reconstructed waveform increases and/or its amplitude increases. This is due to the first-order cancellation of various dynamic common-mode distortion mechanisms, digital feedthrough, and noise. Rev. B | Page 46 of 60 AD9122 VIP + IOUT1P -60 IFS = 10mA IFS = 20mA IFS = 30mA -65 -70 IMD (dBc) Figure 68 shows the most basic transmit DAC output circuitry. A pair of resistors, RO, is used to convert each of the complementary output currents to a differential voltage output, VOUT. Because the current outputs of the DAC are high impedance, the differential driving point impedance of the DAC outputs, ROUT, is equal to 2 x RO. Figure 69 illustrates the output voltage waveforms. -75 -80 RO VOUTI -85 VIN - IOUT1N -90 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 VCM (V) VQP + IOUT2P Figure 70. IMD vs. Output Common-Mode Voltage (fOUT = 61 MHz, RLOAD = 50 Differential, IFS = 10 mA, 20 mA, and 30 mA) RO VOUTQ VQN - IOUT2N -50 08281-038 RO 08281-168 RO IFS = 10mA IFS = 20mA IFS = 30mA -55 Figure 68. Basic Transmit DAC Output Circuit IMD (dBc) -60 +VPEAK VCM -65 -70 -75 VN VP 0 -85 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 VCM (V) Figure 71. IMD vs. Output Common-Mode Voltage (fOUT = 161 MHz, RLOAD = 50 Differential, IFS = 10 mA, 20 mA, and 30 mA) VOUT AUXILIARY DAC OPERATION 08281-039 -VPEAK The AD9122 has two auxiliary DACs: one associated with the I path and one associated with the Q path. These auxiliary DACs can be used to compensate for dc offsets in the transmitted signal. Each auxiliary DAC has a single-ended current that can sink or source current into either the positive (P) or negative (N) output of the associated transmit DAC. The auxiliary DAC structure is shown in Figure 72. Figure 69. Output Voltage Waveforms The common-mode signal voltage, VCM, is calculated as VCM = 08281-169 -80 I FS x RO 2 The peak output voltage, VPEAK, is calculated as VPEAK = IFS x RO VB With this circuit configuration, the single-ended peak voltage is the same as the peak differential output voltage. I AUX DAC[9:0] Transmit DAC Linear Output Signal Swing I AUX DAC CURRENT DIRECTION I AUX DAC SIGN IOUT1P I DAC IOUT1N Figure 72. Auxiliary DAC Structure Rev. B | Page 47 of 60 08281-040 To achieve optimum performance, the DAC outputs have a linear output compliance voltage range that must be adhered to. The linear output signal swing is dependent on the full-scale output current, IFS, and the common-mode level of the output. Figure 70 and Figure 71 show the IMD performance vs. the output common-mode voltage at different full-scale currents and output frequencies. AD9122 Figure 75 shows a fifth-order, low-pass filter. A common-mode choke is used between the I-V resistors and the remainder of the filter. This removes the common-mode signal produced by the DAC and prevents the common-mode signal from being converted to a differential signal, which can appear as unwanted spurious signals in the output spectrum. Splitting the first filter capacitor into two and grounding the center point creates a common-mode low-pass filter, providing additional commonmode rejection of high frequency signals. A purely differential filter can pass common-mode signals. The control registers for the I and Q auxiliary DACs are Register 0x42, Register 0x43, Register 0x46, and Register 0x47. INTERFACING TO MODULATORS The AD9122 interfaces to the ADL537x family of modulators with a minimal number of components. An example of the recommended interface circuitry is shown in Figure 73. AD9122 IBBP IOUT2N RBIN 50 The ADL5375-15 requires a 1500 mV dc bias and, therefore, requires a slightly more complex interface than most other Analog Devices modulators. It is necessary to level-shift the DAC output from a 500 mV dc bias to the 1500 mV dc bias required by the ADL5375-15. Level-shifting can be achieved with a purely passive network, as shown in Figure 74. In this network, the dc bias of the DAC remains at 500 mV, whereas the input to the ADL5375-15 is 1500 mV. This passive, levelshifting network introduces approximately 2 dB of loss in the ac signal. IBBN 59 QBBN RBQN 50 IOUT2P DRIVING THE ADL5375-15 RBQP 50 58 RLQ 100 QBBP Figure 73. Typical Interface Circuitry Between the AD9122 and the ADL537x Family of Modulators The baseband inputs of the ADL537x family require a dc bias of 500 mV. The nominal midscale output current on each output of the DAC is 10 mA (one-half the full-scale current). Therefore, a single 50 resistor to ground from each of the DAC outputs results in the desired 500 mV dc common-mode bias for the inputs to the ADL537x. The signal level can be reduced through the addition of the load resistor in parallel with the modulator inputs. The peak-to-peak voltage swing of the transmitted signal is VSIGNAL = I FS x AD9122 IOUT1P IOUT1N IOUT2N (2 x R B x R L ) (2 x R B + R L ) IOUT2P BASEBAND FILTER IMPLEMENTATION Most applications require a baseband anti-imaging filter between the DAC and the modulator to filter out Nyquist images and broadband DAC noise. The filter can be inserted between the I-V resistors at the DAC output and the signal level setting resistor across the modulator input. This establishes the input and output impedances for the filter. 33nH AD9122 56nH 2pF 50 RBIP 45.3 RLIP 3480 RBIN 66 45.3 RLIN RSIN 1k 3480 59 RSQN 1k RLQN 3480 RBQP 58 45.3 RSQP RLQP 1k 3480 IBBP 5V 22 9 RBQN 45.3 3pF 6pF 33nH 21 IBBN QBBN 5V 10 QBBP Figure 74. Passive, Level-Shifting Network for Biasing the ADL5375-15 22pF 50 ADL5375-15 RSIP 1k 67 08281-043 IOUT1N 66 RLI 100 22pF 56nH 140 ADL537x 3pF Figure 75. DAC Modulator Interface with Fifth-Order, Low-Pass Filter Rev. B | Page 48 of 60 08281-042 RBIP 50 08281-041 IOUT1P ADL537x 67 AD9122 REDUCING LO LEAKAGE AND UNWANTED SIDEBANDS Analog quadrature modulators can introduce unwanted signals at the LO frequency due to dc offset voltages in the I and Q baseband inputs, as well as feedthrough paths from the LO input to the output. The LO feedthrough can be nulled by applying the correct dc offset voltages at the DAC output. This can be done using the auxiliary DACs (Register 0x42, Register 0x43, Register 0x46, and Register 0x47) or by using the digital dc offset adjustments (Register 0x3C through Register 0x3F). The advantage of using the auxiliary DACs is that none of the main DAC dynamic range is used to perform the dc offset adjustment. The disadvantage is that the common-mode level of the output signal changes as a function of the auxiliary DAC current. The opposite is true when the digital offset adjustment is used. Good sideband suppression requires both gain and phase matching of the I and Q signals. The I/Q phase adjust registers (Register 0x38 through Register 0x3B) and the DAC FS adjust registers (Register 0x40 and Register 0x44) can be used to calibrate the I and Q transmit paths to optimize sideband suppression. Rev. B | Page 49 of 60 AD9122 DEVICE POWER MANAGEMENT POWER DISSIPATION 1700 The AD9122 has four supply rails: AVDD33, IOVDD, DVDD18, and CVDD18. 1500 1300 POWER (mW) 900 700 500 100 0 50 100 150 200 250 300 fDATA (MHz) 08281-044 300 The IOVDD voltage supplies the serial port I/O pins, the RESET pin, and the IRQ pin. The voltage applied to the IOVDD pin can range from 1.8 V to 3.3 V. The current drawn by the IOVDD supply pin is typically 3 mA. Figure 76. Total Power Dissipation vs. fDATA Without PLL, Fine NCO, or Inverse Sinc 1200 The DVDD18 supply powers all of the digital signal processing blocks of the device. The power consumption from this supply is a function of which digital blocks are enabled and the frequency at which the device is operating. 1x INTERPOLATION 2x INTERPOLATION 4x INTERPOLATION 8x INTERPOLATION 1000 800 POWER (mW) The CVDD18 supply powers the clock receiver and clock distribution circuitry. The power consumption from this supply varies directly with the operating frequency of the device. CVDD18 also powers the PLL. The power dissipation of the PLL is typically 80 mW when enabled. 1100 600 400 200 Figure 76 through Figure 80 show the power dissipation of the AD9122 under a variety of operating conditions. All of the graphs were taken with data being supplied to both the I and Q DACs. The power consumption of the device does not vary significantly with changes in the coarse modulation mode selected or the analog output frequency. Figure 76 through Figure 80 show the total power dissipation, as well as the power dissipation of the DVDD18 and CVDD18 supplies. 0 0 50 100 150 200 250 300 fDATA (MHz) 08281-045 The AVDD33 supply powers the DAC core circuitry. The power dissipation of the AVDD33 supply rail is independent of the digital operating mode and sample rate. The current drawn from the AVDD33 supply rail is typically 55 mA (182 mW) when the fullscale current of the I and Q DACs is set to the nominal value of 20 mA. Changing the full-scale current directly affects the supply current drawn from the AVDD33 rail. For example, if the full-scale current of the I DAC and the Q DAC is changed to 10 mA, the AVDD33 supply current drops by 20 mA to 35 mA. 1x INTERPOLATION 2x INTERPOLATION 4x INTERPOLATION 8x INTERPOLATION Figure 77. DVDD18 Power Dissipation vs. fDATA Without Fine NCO or Inverse Sinc 250 Maximum power dissipation can be estimated to be 20% higher than the typical power dissipation. 1x INTERPOLATION 2x INTERPOLATION 4x INTERPOLATION 8x INTERPOLATION POWER (mW) 200 150 100 0 0 50 100 150 200 250 300 fDATA (MHz) Figure 78. CVDD18 Power Dissipation vs. fDATA with PLL Disabled Rev. B | Page 50 of 60 08281-046 50 AD9122 300 TEMPERATURE SENSOR The AD9122 has a band gap temperature sensor for monitoring the temperature change of the AD9122. The temperature must be calibrated against a known temperature to remove the partto-part variation on the band gap circuit used to sense the temperature. The DACCLK must be running at a minimum of 100 MHz to obtain a reliable temperature measurement. 250 POWER (mW) 200 150 To monitor temperature change, the user must take a reading at a known ambient temperature for a single-point calibration of each AD9122 device. 100 50 Tx = TREF + 7.7 x (Code_x - Code_ref)/1000 + 1 0 200 400 600 800 1000 1200 fDAC (MHz) 08281-047 0 Figure 79. DVDD18 Power Dissipation vs. fDAC Due to Inverse Sinc Filter where: Code_x is the readback code at the unknown temperature, Tx. Code_ref is the readback code at the calibrated temperature, TREF. To use the temperature sensor, it must be enabled by setting Register 0x01, Bit 4, to 0. In addition, to obtain accurate readings, the die temperature range control register (Register 0x48) should be set to 0x02. 300 1x INTERPOLATION 2x, 4x, 8x INTERPOLATION 250 150 100 50 0 50 100 150 200 250 300 fDATA (MHz) 08281-048 POWER (mW) 200 Figure 80. DVDD18 Power Dissipation vs. fDATA Due to Fine NCO Rev. B | Page 51 of 60 AD9122 MULTICHIP SYNCHRONIZATION Multiple devices are considered synchronized to each other when the state of the clock generation state machines is identical for all parts and when time-aligned data is being read from the FIFOs of all parts simultaneously. Devices are considered synchronized to a system clock when there is a fixed and known relationship between the clock generation state machine and the data being read from the FIFO and a particular clock edge of the system clock. The AD9122 has provisions for enabling multiple devices to be synchronized to each other or to a system clock. The AD9122 supports synchronization in two different modes: data rate mode and FIFO rate mode. In data rate mode, the input data rate represents the lowest synchronized clock rate. In FIFO rate mode, the FIFO rate, which is the data rate divided by the FIFO depth of 8, represents the lowest rate clock. The advantage of FIFO rate synchronization is increased time between the setup and hold time windows for DCI changes relative to the DACCLK or REFCLK input. When the synchronization state machine is on in data rate mode, the elasticity of the FIFO is not used to absorb timing variations between the data source and the DAC, resulting in setup and hold time windows repeating at the input data rate. The method chosen for providing the DAC sampling clock directly affects the synchronization methods available. When the device clock multiplier is used, only data rate mode is available. When the DAC sampling clock is sourced directly, both data rate mode and FIFO rate mode synchronization are available. The following sections describe the synchronization methods for enabling both clocking modes and querying the status of the synchronization logic. The full synchronization methods described are used to align multiple dual DACs within one DACCLK cycle. To achieve synchronization within one DACCLK cycle, both the REFCLK and FRAME signals are required to perform back-end and front-end alignment. If synchronization does not need to be this accurate, other options can be used. In data rate mode or in FIFO rate mode, using soft alignment of the FIFO for multiple DACs synchronizes the DAC outputs within two data clock cycles (see the Serial Port Initiated FIFO Reset section). For more information about synchronization, see the AN-1093 Application Note, "Synchronization of Multiple AD9122 TxDAC+ Converters." SYNCHRONIZATION WITH CLOCK MULTIPLICATION When using the clock multiplier to generate the DAC sample rate clock, the REFCLK input signal acts as both the reference clock for the PLL-based clock multiplier and the synchronization signal. To synchronize devices, distribute the REFCLK signal with low skew to all the devices that need to be synchronized. Skew between the REFCLK signals of the different devices shows up directly as a timing mismatch at the DAC outputs. Because two clocks are shared on the same signal, an appropriate frequency must be chosen for the synchronization and REFCLK signals. The FRAME and DCI signals can be created in the FPGA along with the data. A circuit diagram of a typical configuration is shown in Figure 81. MATCHED LENGTH TRACES SYSTEM CLOCK FPGA REFCLKP/ REFCLKN FRAMEP/ FRAMEN DCIP/ DCIN LOW SKEW CLOCK DRIVER IOUT1P/ IOUT1N REFCLKP/ REFCLKN FRAMEP/ FRAMEN DCIP/ DCIN IOUT2P/ IOUT2N 08281-049 System demands may require that the outputs of multiple DACs be synchronized with each other or with a system clock. Systems that support transmit diversity or beamforming, where multiple antennas are used to transmit a correlated signal, require multiple DAC outputs to be phase aligned with each other. Systems with a time division multiplexing transmit chain may require one or more DACs to be synchronized with a system-level reference clock. Figure 81. Typical Circuit Diagram for Synchronizing Devices The Procedure for Synchronization When Using the PLL section outlines the steps required to synchronize multiple devices. The procedure assumes that the REFCLK signal is applied to all the devices and that the PLL of each device is phase locked to it. The following procedure must be carried out on each individual device. Procedure for Synchronization When Using the PLL In the initialization of the AD9122, all the clock signals (DACCLK, DCI, FRAME, synchronization, and REFCLK) must be present and stable before the synchronization feature is turned on. Configure the AD9122 for data rate, periodic synchronization by writing 0xC8 to the sync control register (Register 0x10). Additional synchronization options are available (see the Additional Synchronization Features section). Read the sync status register (Register 0x12) to verify that the sync locked bit (Bit 6) is set high, indicating that the device achieved back-end synchronization, and that the sync lost bit (Bit 7) is low. These levels indicate that the clocks are running with a constant and known phase relative to the synchronization signal. Reset the FIFO by strobing the FRAME signal high for the time interval required to write two complete input data words. Resetting the FIFO ensures that the correct data is being read from the FIFO. This completes the synchronization procedure; all devices should now be synchronized. Rev. B | Page 52 of 60 AD9122 tSKEW REFCLKP(1)/ REFCLKN(1) REFCLKP(2)/ REFCLKN(2) tSDCI tHDCI 08281-050 DCIP(2)/ DCIN(2) FRAMEP(2)/ FRAMEN(2) Figure 82. Timing Diagram Required for Synchronizing Devices SAMPLE RATE CLOCK SYNC CLOCK LOW SKEW CLOCK DRIVER DACCLKP/ DACCLKN REFCLKP/ REFCLKN FRAMEP/ FRAMEN DCIP/ DCIN IOUT1P/ IOUT1N MATCHED LENGTH TRACES DACCLKP/ DACCLKN REFCLKP/ REFCLKN FRAMEP/ FRAMEN DCIP/ DCIN LOW SKEW CLOCK DRIVER IOUT2P/ IOUT2N 08281-051 FPGA Figure 83. Typical Circuit Diagram for Synchronizing Devices to a System Clock To maintain synchronization, the skew between the REFCLK signals of the devices must be less than tSKEW ns. When resetting the FIFO, the FRAME signal must be held high for the time interval required to write two complete input data words. A timing diagram of the input signals is shown in Figure 82. Figure 82 shows a REFCLK frequency equal to the data rate. Although this is the most common situation, it is not strictly required for proper synchronization. Any REFCLK frequency that satisfies the following equation is acceptable. (This equation is valid only when the PLL is used because only data rate mode is available with the PLL on.) fSYNC_I = fDACCLK/2N and fSYNC_I fDATA where N = 0, 1, 2, or 3. As an example, a configuration with 4x interpolation and clock frequencies of fVCO = 1600 MHz, fDACCLK = 800 MHz, fDATA = 200 MHz, and fSYNC_I = 100 MHz is a viable solution. SYNCHRONIZATION WITH DIRECT CLOCKING When directly sourcing the DAC sample rate clock, a separate REFCLK input signal is required for synchronization. To synchronize devices, the DACCLK signal and the REFCLK signal must be distributed with low skew to all the devices being synchronized. If the devices need to be synchronized to a master clock, use the master clock directly for generating the REFCLK input (see Figure 83). DATA RATE MODE SYNCHRONIZATION The Procedure for Data Rate Synchronization When Directly Sourcing the DAC Sampling Clock section outlines the steps required to synchronize multiple devices in data rate mode. The procedure assumes that the DACCLK and REFCLK signals are applied to all the devices. The following procedure must be carried out on each individual device. Procedure for Data Rate Synchronization When Directly Sourcing the DAC Sampling Clock Configure the AD9122 for data rate, periodic synchronization by writing 0xC8 to the sync control register (Register 0x10). Additional synchronization options are available (see the Additional Synchronization Features section). Read the sync locked bit (Register 0x12, Bit 6) to verify that the device is back-end synchronized. A high level on this bit indicates that the clocks are running with a constant and known phase relative to the synchronization signal. Reset the FIFO by strobing the FRAME signal high for one complete DCI period. Resetting the FIFO ensures that the correct data is being read from the FIFO of each of the devices simultaneously. Rev. B | Page 53 of 60 AD9122 tDATA This completes the synchronization procedure; all devices should now be synchronized. DACCLK/ REFCLK To ensure that each DAC is updated with the correct data on the same CLK edge, two timing relationships must be met on each DAC. * DCIP/DCIN and D[15:0]P/D[15:0]N must meet the setup and hold times with respect to the rising edge of DACCLK. Synchronization (REFCLK) must also meet the setup and hold times with respect to the rising edge of DACCLK. DCI tSDCI When these conditions are met, the outputs of the DACs are updated within one DAC clock cycle of each other. The timing requirements of the input signals are shown in Figure 84. tHDCI 08281-147 * SAMPLING INTERVAL Figure 85. Timing Diagram for Input Data Port (Data Rate Mode) tSKEW FIFO RATE MODE SYNCHRONIZATION DACCLKP(1)/ DACCLKN(1) The Procedure for FIFO Rate Synchronization When Directly Sourcing the DAC Sampling Clock section outlines the steps required to synchronize multiple devices in FIFO rate mode. The procedure assumes that the DACCLK and REFCLK signals are applied to all the devices. The procedure must be carried out on each individual device. DACCLKP(2)/ DACCLKN(2) tSUSYNC tHSYNC REFCLKP(2)/ REFCLKN(2) tSDCI tHDCI Procedure for FIFO Rate Synchronization When Directly Sourcing the DAC Sampling Clock 08281-052 DCIP(2)/ DCIN(2) FRAMEP(2)/ FRAMEN(2) Figure 84. Data Rate Synchronization Signal Timing Requirements, 2x Interpolation Figure 84 shows the synchronization signal timing with 2x interpolation; therefore, fDCI = 1/2 x fCLK. The REFCLK input is shown to be equal to the data rate. The maximum frequency at which the device can be resynchronized in data rate mode can be expressed as Configure the AD9122 for FIFO rate, periodic synchronization by writing 0x88 to the sync control register (Register 0x10). Additional synchronization options are available (see the Additional Synchronization Features section). Read the sync locked bit (Register 0x12, Bit 6) to verify that the device is back-end synchronized. A high level on this bit indicates that the clocks are running with a constant and known phase relative to the synchronization signal. where N is any non-negative integer. Reset the FIFO by strobing the FRAME signal high for one complete DCI period. Resetting the FIFO ensures that the correct data is being read from the FIFO of each of the devices simultaneously. Generally, for values of N greater than or equal to 3, select the FIFO rate synchronization mode. This completes the synchronization procedure; all devices should now be synchronized. When synchronization is used in data rate mode, the timing constraint between the DCI and DACCLK must be met according to Table 25. In data rate mode, the allowed phase drift between the DCI and DACCLK is limited to one DCI cycle. The DCI to DACCLK timing restriction is required to prevent corruption of the data transfer when the FIFO is constantly reset. The required timing between the DCI and DACCLK is shown in Figure 85. When these conditions are met, the outputs of the DACs are updated within one DAC clock cycle of each other. The timing requirements of the input signals are shown in Figure 86. Table 25. DCI to DACCLK Setup and Hold Times DACCLKP(2)/ DACCLKN(2) fSYNC_I = fDATA/2N DACCLKP(1)/ DACCLKN(1) tSUSYNC tHSYNC Minimum Setup Time, tSDCI (ns) -0.07 -0.24 -0.39 -0.49 Minimum Hold Time, tHDCI (ns) 0.82 1.13 1.40 1.55 Sampling Interval (ns) 0.75 0.89 1.01 1.06 REFCLKP(2)/ REFCLKN(2) DCIP(2)/ DCIN(2) FRAMEP(2)/ FRAMEN(2) Figure 86. FIFO Rate Synchronization Signal Timing Requirements, 2x Interpolation Rev. B | Page 54 of 60 08281-053 DCI Delay Register 0x16, Bits[1:0] 00 01 10 11 tSKEW AD9122 Figure 86 shows the synchronization signal timing with 2x interpolation; therefore, fDCI = 1/2 x fCLK. The REFCLK input is shown to be equal to the FIFO rate. The maximum frequency at which the device can be resynchronized in FIFO rate mode can be expressed as fSYNC_I = fDATA/(8 x 2N) where N is any non-negative integer. Timing Optimization ADDITIONAL SYNCHRONIZATION FEATURES Table 26 shows the required timing between the DACCLK and the synchronization clock when synchronization is used. This timing restriction applies to both data rate mode and FIFO rate mode. Table 26. Synchronization Setup and Hold Times Parameter tSKEW tSUSYNC tHSYNC Min -tDACCLK/2 100 330 Max +tDACCLK/2 The sync phase readback bits (Register 0x13, Bits[7:0]) report the current clock phase in a 6.2 format. Bits[7:2] report which of the 64 states (0 to 63) the clock is currently in. When averaging is enabled, Bits[1:0] provide 1/4 state accuracy (for 0, 1/4, 1/2, 3/4). The lower two bits give an indication of the timing margin issues that may exist. If the synchronization sampling is error free, the fractional clock state should be 00. Unit ps ps ps One-Time Synchronization When implementing the full multichip synchronization feature (with the REFCLK and FRAME signals aligned within one DACCLK cycle), the user may experience difficulty meeting the DACCLK to synchronization clock timing. In this case, a one-time synchronization method can be used. Before implementing the one-time synchronization, make sure that the synchronization signal is locked by checking both the sync signal locked and the sync signal lost flags (Bit 4 and Bit 5 in Register 0x06). It is also important that synchronization not be enabled before stable REFCLK signals are present from the FPGA or ASIC. For more information and a detailed flowchart of the one-time synchronization feature, see the AN-1093 Application Note, "Synchronization of Multiple AD9122 TxDAC+ Converters." Sync Status Bits When the sync locked bit (Register 0x12, Bit 6) is set, it indicates that the synchronization logic has reached alignment. This alignment is determined when the clock generation state machine phase is constant. Alignment takes from (11 + averaging) x 64 to (11 + averaging) x 128 DACCLK cycles. The sync locked bit can also trigger an IRQ, as described in the Interrupt Request Operation section. The synchronization signal (REFCLK) is sampled by a version of the DACCLK. If sampling errors are detected, the opposite sampling edge can be selected to improve the sampling point. The sampling edge can be selected by setting Register 0x10, Bit 3 (1 = rising and 0 = falling). The synchronization logic resynchronizes when a phase change between the synchronization signal (REFCLK) and the state of the clock generation state machine exceeds a threshold. To mitigate the effects of jitter and prevent erroneous resynchronizations, the relative phase can be averaged. The amount of averaging is set by the sync averaging bits (Register 0x10, Bits[2:0]) and can be set from 1 to 128. The higher the number of averages, the more slowly the device recognizes and resynchronizes to a legitimate phase correction. Generally, the averaging should be made as large as possible while still meeting the allotted resynchronization time interval. Note that, if the average synchronization sampling result is in approximately the middle of the probability curve, the synchronization engine can be unstable, resulting in corrupted output. The value of the Sync Phase Request[5:0] bits (Register 0x11, Bits[5:0]) is the state to which the clock generation state machine resets upon initialization. By varying this value, the timing of the internal clocks, with respect to the synchronization signal (REFCLK), can be adjusted. Every increment of the Sync Phase Request[5:0] value advances the internal clocks by one DACCLK cycle. This offset can be used for two purposes: to skew the outputs of two synchronized DAC outputs in increments of the DACCLK cycle, and to change the relative timing between the DAC output and the SYNC input (REFCLK). This may allow for a more optimal placement of the DCI sampling point in data rate synchronization mode. When the sync lost bit (Register 0x12, Bit 7) is set, it indicates that a previously synchronized device has lost alignment. This bit is latched and remains set until cleared by overwriting the register. This bit can also trigger an IRQ, as described in the Interrupt Request Operation section. Rev. B | Page 55 of 60 AD9122 INTERRUPT REQUEST OPERATION When an interrupt enable bit is set low, the event flag bit reflects the current status of the EVENT_FLAG_SOURCE signal, and the event flag has no effect on the external IRQ pin. The AD9122 provides an interrupt request output signal on Pin 7 (IRQ) that can be used to notify an external host processor of significant device events. Upon assertion of the interrupt, the device should be queried to determine the precise event that occurred. The IRQ pin is an open-drain, active low output. Pull the IRQ pin high external to the device. This pin can be tied to the interrupt pins of other devices with open-drain outputs to wire-OR these pins together. The latched version of an event flag (the INTERRUPT_SOURCE signal) can be cleared in two ways. The recommended way is by writing 1 to the corresponding event flag bit. A hardware or software reset also clears the INTERRUPT_SOURCE signal. INTERRUPT SERVICE ROUTINE The event flags provide visibility into the device. These flags are located in the two event flag registers, Register 0x06 and Register 0x07. The behavior of each event flag is independently selected in the interrupt enable registers, Register 0x04 and Register 0x05. When the flag interrupt enable is active, the event flag latches and triggers an external interrupt. When the flag interrupt is disabled, the event flag monitors the source signal, but the IRQ pin remains inactive. Interrupt request management starts by selecting the set of event flags that require host intervention or monitoring. The events that require host action should be enabled so that the host is notified when they occur. For events requiring host intervention upon IRQ activation, run the following routine to clear an interrupt request: 1. Figure 87 shows the IRQ-related circuitry and how the event flag signals propagate to the IRQ output. The INTERRUPT_ENABLE signal represents one bit from the interrupt enable register. The EVENT_FLAG_SOURCE signal represents one bit from the event flag register. The EVENT_FLAG_SOURCE signal represents one of the device signals that can be monitored, such as the PLL_LOCKED signal from the PLL phase detector or the FIFO_WARNING_1 signal from the FIFO controller. 2. 3. 4. 5. 6. When an interrupt enable bit is set high, the corresponding event flag bit reflects a positively tripped version of the EVENT_FLAG_SOURCE signal; that is, the event flag bit is latched on the rising edge of the EVENT_FLAG_SOURCE signal. This signal also asserts the external IRQ pin. Read the status of the event flag bits that are being monitored. Set the interrupt enable bit low so that the unlatched EVENT_FLAG_SOURCE signal can be monitored directly. Perform any actions that may be required to clear the EVENT_FLAG_SOURCE. In many cases, no specific actions may be required. Read the event flag to verify that the actions taken have cleared the EVENT_FLAG_SOURCE. Clear the interrupt by writing 1 to the event flag bit. Set the interrupt enable bits of the events to be monitored. Note that some EVENT_FLAG_SOURCE signals are latched signals. These signals are cleared by writing to the corresponding event flag bit. For more information about each event flag, see Register 0x06 and Register 0x07 in Table 11. 0 1 EVENT_FLAG IRQ INTERRUPT_ENABLE EVENT_FLAG_SOURCE INTERRUPT_ SOURCE OTHER INTERRUPT SOURCES 08281-054 WRITE_1_TO_EVENT_FLAG DEVICE_RESET Figure 87. Simplified Schematic of IRQ Circuitry Rev. B | Page 56 of 60 AD9122 INTERFACE TIMING VALIDATION The AD9122 provides on-chip sample error detection (SED) circuitry that simplifies verification of the input data interface. The SED circuitry compares the input data samples captured at the digital input pins with a set of comparison values. The comparison values are loaded into registers through the SPI port. Differences between the captured values and the comparison values are detected and stored. Options are available for customizing SED test sequencing and error handling. The SED has three flag bits (Register 0x67, Bit 5, Bit 1, and Bit 0) that indicate the results of the input sample comparisons. The sample error detected bit (Register 0x67, Bit 5) is set when an error is detected and remains set until cleared. The SED also provides registers that indicate which input data bits experienced errors (Register 0x70 through Register 0x73). These bits are latched and indicate the accumulated errors detected until cleared. Autosample error detection (AED) is an autoclear function in the SED. The autoclear mode has two effects: it activates the compare fail bit and the compare pass bit (Register 0x67, Bit 1 and Bit 0) and changes the behavior of Register 0x70 through Register 0x73. The compare pass bit is set if the last comparison indicated that the sample was error free. The compare fail bit is set if an error is detected. The compare fail bit is automatically cleared by the reception of eight consecutive error-free comparisons. When autoclear mode is enabled, Register 0x70 through Register 0x73 accumulate errors as previously described but are reset to all 0s after eight consecutive error-free sample comparisons are made. SED OPERATION The SED circuitry operates on a data set made up of four 16-bit input words, denoted as I0, Q0, I1, and Q1. To properly align the input samples, the first I data-word (that is, I0) is indicated by asserting FRAME for at least one complete input sample. Figure 88 shows the input timing of the interface in word mode. The FRAME signal can be issued once at the start of the data transmission, or it can be asserted repeatedly at intervals coinciding with the I0 and Q0 data-words. FRAME I0 Q0 I1 Q1 I0 Q0 If desired, the sample error detected, compare pass, and compare fail flags can be configured to trigger the IRQ pin when active. This is done by enabling the appropriate bits in the event flag register (Register 0x07). 08281-056 DATA[15:0] Figure 88. Timing Diagram of Extended FRAME Signal Required to Align Input Data for SED Table 27 shows a progression of the input sample comparison results and the corresponding states of the error flags. Table 27. Progression of Input Sample Comparison Results and the Resulting SED Register Values Compare Results (Pass/Fail) Register 0x67, Bit 5 (Sample Error Detected) Register 0x67, Bit 1 (Compare Fail) Register 0x67, Bit 0 (Compare Pass) Register 0x70 to Register 0x73 (Errors Detected x_BITS[15:0]) 1 2 P 0 0 1 Z1 F 1 1 0 N2 F 1 1 0 N2 F 1 1 0 N2 P 1 1 1 N2 Z = all 0s. N = nonzero. Rev. B | Page 57 of 60 P 1 1 1 N2 P 1 1 1 N2 P 1 1 1 N2 P 1 1 1 N2 P 1 1 1 N2 P 1 1 1 N2 P 1 1 1 N2 P 1 0 1 Z1 F 1 1 0 N2 P 1 1 1 N2 F 1 1 0 N2 AD9122 4. SED EXAMPLE Normal Operation 5. The following example illustrates the SED configuration for continuously monitoring the input data and assertion of the IRQ pin when a single error is detected. 1. 2. 3. Load the following comparison values. (Comparison values can be chosen arbitrarily; however, choosing values that require frequent bit toggling provides the most robust test.) Register 0x68: I0[7:0] Register 0x69: I0[15:8] Register 0x6A: Q0[7:0] Register 0x6B: Q0[15:8] Register 0x6C: I1[7:0] Register 0x6D: I1[15:8] Register 0x6E: Q1[7:0] Register 0x6F: Q1[15:8] Enable the SED error detect flag to assert the IRQ pin. (Set Register 0x05 to 0x04.) Begin transmitting the input data pattern. Write to Register 0x67 to enable the SED. (Set Register 0x67 to 0x80.) Clear the SED errors in Register 0x67 and Register 0x07. When the SED is first turned on, the FRAME signal may be detected immediately; therefore, the SED failure bit may be asserted due to the unknown initial FRAME status. For this reason, the SED compare fail status bit must be cleared at least once immediately after enabling the SED. If IRQ is asserted, read Register 0x67 and Register 0x70 through Register 0x73 to verify that a SED error was detected and to determine which input bits were in error. The bits in Register 0x70 through Register 0x73 are latched; therefore, the bits indicate any errors that occurred on those bits throughout the test (not only the errors that caused the error detected flag to be set). Note that the FRAME signal is not required during normal operation when the device is configured for word mode. Enabling the alignment of the I0 sample as described in the SED Operation section requires the use of the FRAME signal. The timing diagrams for byte and nibble modes are the same as during normal operation and are shown in Figure 44 and Figure 45, respectively. Rev. B | Page 58 of 60 AD9122 EXAMPLE START-UP ROUTINE To ensure reliable start-up of the AD9122, certain sequences should be followed. This section shows an example start-up routine. This example uses the configuration described in the Device Configuration section. Device Configuration Register Write Sequence: DEVICE CONFIGURATION /* Start PLL */ The following device configuration is used for this example: 0x0D AE 0xD9 * * * * * * * * * * 0x0A AE 0xC0 fDATA = 122.88 MSPS Interpolation is 4x, using HB1 = 10 and HB2 = 010010 Input data is baseband data fOUT = 140 MHz fREFCLK = 122.88 MHz PLL is enabled Fine NCO is enabled Inverse sinc filter is enabled Synchronization is enabled Silicon revision is R2 0x00 AE 0x20 /* Issue Software Reset */ 0x00 AE 0x00 0x0A AE 0x80 /* Verify PLL is Locked */ Read 0x0E /* Expect bit 7 = 1 */ /* Configure Interpolation Filters */ 0x1B AE 0x84 0x1C AE 0x04 0x1D AE 0x24 DERIVED PLL SETTINGS The following PLL settings can be derived from the device configuration: /* Configure NCO */ * * * * 0x30 AE 0x55 0x1E AE 0x01 fDACCLK = fDATA x interpolation = 491.52 MHz fVCO = 4 x fDACCLK = 1966.08 MHz (1 GHz < fVCO < 2 GHz) N1 = fDACCLK/fREFCLK = 4 N2 = fVCO/fDACCLK = 4 0x31 AE 0x55 0x32 AE 0xD5 0x33 AE 0x11 DERIVED NCO SETTINGS /* Update Frequency Tuning Word */ The following NCO settings can be derived from the device configuration: * * * 0x36 AE 0x01 0x36 AE 0x00 fNCO = 2 x fDATA fCARRIER = fOUT - fMODHB1 = 140 - 122.88 = 17.12 MHz FTW = 17.12/(2 x 122.8) x 232 = 0x11D55555 /* Choose Data Rate Mode */ 0x10 AE 0x48 START-UP SEQUENCE The following sequence configures the power clock and register write sequencing for reliable device start-up in PLL ON mode: /* Issue Software FIFO Reset */ Power up Device (no specific power supply sequence is required) 0x18 AE 0x02 Apply stable REFCLK input signal. 0x17 AE 0x04 /* Verify FIFO Reset */ Apply stable DCI input signal. Read 0x18 Issue H/W RESET (Optional). 0x18 AE 0x00 Read 0x19 Rev. B | Page 59 of 60 /* Expect 0x07 */ /* Expect 0x1F or 0x0F or 0x07 */ AD9122 OUTLINE DIMENSIONS 10.00 BSC SQ 0.60 0.42 0.24 0.60 0.42 0.24 55 54 72 1 PIN 1 INDICATOR PIN 1 INDICATOR 9.75 BSC SQ 0.50 BSC 6.15 6.00 SQ 5.85 EXPOSED PAD (BOTTOM VIEW) 0.50 0.40 0.30 1.00 0.85 0.80 SEATING PLANE 37 36 0.80 MAX 0.65 TYP 12 MAX 18 8.50 REF 0.05 MAX 0.02 NOM COPLANARITY 0.08 0.20 REF 0.30 0.23 0.18 19 FOR PROPER CONNECTION OF THE EXPOSED PAD, REFER TO THE PIN CONFIGURATION AND FUNCTION DESCRIPTIONS SECTION OF THIS DATA SHEET. COMPLIANT TO JEDEC STANDARDS MO-220-VNND-4 052809-A TOP VIEW Figure 89. 72-Lead Lead Frame Chip Scale Package [LFCSP_VQ] 10 mm x 10 mm Body, Very Thin Quad (CP-72-7) Dimensions shown in millimeters ORDERING GUIDE Model1 AD9122BCPZ AD9122BCPZRL AD9122-M5372-EBZ AD9122-M5375-EBZ 1 Temperature Range -40C to +85C -40C to +85C Package Description 72-lead LFCSP_VQ 72-lead LFCSP_VQ Evaluation Board Connected to ADL5372 Modulator Evaluation Board Connected to ADL5375 Modulator Z = RoHS Compliant Part. (c)2009-2011 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D08281-0-5/11(B) Rev. B | Page 60 of 60 Package Option CP-72-7 CP-72-7