Flexible LVDS interface allows byte or nibble load
Single-carrier W-CDMA ACLR = 80 dBc at 122.88 MHz IF
Analog output: adjustable 8.7 mA to 31.7 mA, R
Integrated 2×/4× 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.2 W at 1.0 GSPS, 800 mW at 500 MSPS,
full operating conditions
48-lead, exposed paddle LFCSP
APPLICATIONS
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
GENERAL DESCRIPTION
The AD9146 is a dual, 16-bit, high dynamic range digital-toanalog converter (DAC) that provides a sample rate of 1000 MSPS
with nominal supplies and 1230 MSPS with increased supplies,
permitting multicarrier generation up to the Nyquist frequency.
= 25 Ω to 50 Ω
L
TYPICAL SIGNAL CHAIN
Dual, 16-Bit, 1230 MSPS,
The AD9146 TxDAC+® 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 3-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 AD9146 comes in a 48-lead LFCSP.
PRODUCT HIGHLIGHTS
1. Ultralow noise and intermodulation distortion (IMD)
enable high quality synthesis of wideband signals from
baseband to high intermediate frequencies (IF).
3. Current outputs are easily configured for various single-
ended or differential circuit topologies.
4. Compact LVDS digital interface offers reduced width
data bus.
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 AD9146 product page
Information furnishe d by Analog Devices is be lieved 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
licen se is granted by implication or otherwise under any patent or patent rights of Analog Devices.
Figure 1.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781.329.4700
www.analog.com
Page 2
AD9146 Data Sheet
TABLE OF CONTENTS
Features .............................................................................................. 1
Changes to SED Operation Section and Table 26 ....................... 50
4/11—Revision 0: Initial Version
Rev. A | Page 3 of 56
Page 4
AD9146 Data Sheet
MULTICHIP
SYNCHRONIZATION
D7P/D7N
D0P/D0N
DATA
RECEIVER
FIFOHB2
f
DATA
/2
PRE
MOD
HB1_CLK
MODE
HB2_CLK
INTP
FACTOR
PHASE
CORRECTION
INTERNAL CLOCK TIMING AND CONTROL LOGIC
16
16
10
16
16
I OFFSET
Q OFFSET
INV
SINC
AUX
1.2G
DAC 1
16-BIT
IOUT1P
IOUT1N
AUX
1.2G
DAC 2
16-BIT
IOUT2P
IOUT2N
REF
AND
BIAS
FSADJ
DACCLKP
DACCLKN
REFCLKP
REFCLKN
REFIO
10
GAIN 110GAIN 2
DAC_CLK
SERIAL
INPUT/OUTPUT
PORT
PROGRAMMING
REGISTERS
POWER-ON
RESET
SDIO
SCLK
CS
RESET
IRQ
0
1
CLOCK
MULTIPLIER
(2× TO 16×)
CLK
RCVR
CLK
RCVR
PLL CONTROL
SYNC
DAC CLK_SEL
DAC_CLK
PLL_LOCK
DCI
FRAME
INVSINC_CLK
09691-002
HB1
FUNCTIONAL BLOCK DIAGRAM
Figure 2.
Rev. A | Page 4 of 56
Page 5
Data Sheet AD9146
Power Supply Rejection Ratio, AVDD33
−0.3 +0.3
% FSR/V
CVDD18
1.71
1.8
1.89
V
PLL On
864 mW
SPECIFICATIONS
DC SPECIFICATIONS
T
to T
MIN
Table 1.
Parameter Min Typ Max Unit
RESOLUTION 16 Bits
ACCURACY
Differential Nonlinearity (DNL) ±2.1 LSB
Integral Nonlinearity (INL) ±3.7 LSB
MAIN DAC OUTPUTS
Offset Error −0.001 0 +0.001 % FSR
Gain Error (with Internal Reference) −3.6 ±2 +3.6 % FSR
Full-Scale Output Current1 8.66 19.6 31.66 mA
Output Compliance Range −1.0 +1.0 V
Output Resistance 10 MΩ
Gain DAC Monotonicity Guaranteed
Settling Time to Within ±0.5 LSB 20 ns
MAIN DAC TEMPERATURE DRIFT
Offset 0.04 ppm/°C
Gain 100 ppm/°C
Reference Voltage 30 ppm/°C
REFERENCE
Internal Reference Voltage 1.2 V
Output Resistance 5 kΩ
ANALOG SUPPLY VOLTAGES
AVDD33 3.13 3.3 3.47 V
, AV D D3 3 = 3.3 V, DVDD18 = 1.8 V, CVDD18 = 1.8 V, IFS = 20 mA, maximum sample rate, unless otherwise noted.
MAX
DIGITAL SUPPLY VOLTAGES
DVDD18 1.71 1.8 1.89 V
POWER CONSUMPTION
2× Mode, f
PLL Off 780 mW
AVDD33 56 mA
CVDD18 58 mA
DVDD18 343 mA
Power-Down Mode (Register 0x01 = 0xFC) 8.5 19 mW
POWER-UP TIME 260 ms
OPERATING RANGE −40 +25 +85 °C
1
Based on a 10 kΩ external resistor between FSADJ and AVSS.
= 500 MSPS, IF = 10 MHz
DAC
Rev. A | Page 5 of 56
Page 6
AD9146 Data Sheet
DIGITAL SPECIFICATIONS
T
to T
MIN
Table 2.
Parameter Test Conditions/Comments Min Typ Max Unit
CMOS INPUT LOGIC LEVEL
Input VIN Logic High 1.2 V
Input VIN Logic Low 0.6 V
CMOS OUTPUT LOGIC LEVEL
Output V
Output V
LVDS RECEIVER INPUTS1 Applies to data, DCI, and FRAME inputs
Input Voltage Range, VIA or VIB 825 1575 mV
Input Differential Threshold, V
Input Differential Hysteresis, V
Receiver Differential Input Impedance, RIN 80 120 Ω
LVDS Input Rate See Table 5
DAC CLOCK INPUT (DACCLKP, DACCLKN)
Differential Peak-to-Peak Voltage 100 500 2000 mV
Common-Mode Voltage Self-biased input, ac-coupled 1.25 V
Maximum Clock Rate 1200 MHz
REFCLK INPUT (REFCLKP, REFCLKN)
Differential Peak-to-Peak Voltage 100 500 2000 mV
Common-Mode Voltage 1.25 V
REFCLK Frequency
SERIAL PORT INTERFACE
Maximum Clock Rate (SCLK) 40 MHz
Minimum Pulse Width High (t
Minimum Pulse Width Low (t
Setup Time, SDIO to SCLK (tDS) 2.09 ns
Hold Time, SDIO to SCLK (tDH) 0.844 ns
Data Valid, SDIO to SCLK (tDV) 2.904 ns
Setup Time, CS to SCLK (t
1
LVDS receiver is compliant with the IEEE 1596 reduced range link, unless otherwise noted.
, AV D D3 3 = 3.3 V, DVDD18 = 1.8 V, CVDD18 = 1.8 V, IFS = 20 mA, maximum sample rate, unless otherwise noted.
MAX
Logic High 1.4 V
OUT
Logic Low 0.4 V
OUT
−100 +100 mV
IDTH
to V
IDTHH
PLL Mode 1 GHz ≤ f
SYNC Mode See the Multichip Synchronization
20 mV
IDTHL
≤ 2.1 GHz 15.625 525 MHz
VCO
0 525 MHz
section for conditions
) 12.5 ns
PWH
) 12.5 ns
PWL
) 2.38 ns
DCSB
DIGITAL INPUT DATA TIMING SPECIFICATIONS
Table 3.
Parameter Value Unit
LATENCY (DACCLK CYCLES)
1× Interpolation (With or Without Modulation) 64 Cycles
2× Interpolation (With or Without Modulation) 135 Cycles
4× Interpolation (With or Without Modulation) 292 Cycles
Inverse Sinc 20 Cycles
Rev. A | Page 6 of 56
Page 7
Data Sheet AD9146
f
= 800 MSPS, f
= 100 MHz
81 dBc
W-CDMA ADJACENT CHANNEL LEAKAGE RATIO (ACLR), SINGLE-CARRIER
2× (HB1)
1200
1230
150
153.75
300
307.5
AC SPECIFICATIONS
T
to T
MIN
Table 4.
Parameter Min Typ Max Unit
SPURIOUS-FREE DYNAMIC RANGE (SFDR)
f
DAC
f
DAC
f
DAC
TWO-TONE INTERMODULATION DISTORTION (IMD)
f
DAC
f
DAC
f
DAC
DAC
NOISE SPECTRAL DENSITY (NSD), SINGLE-CARRIER W-CDMA
f
DAC
f
DAC
W-CDMA ADJACENT CHANNEL LEAKAGE RATIO (ACLR), FOUR-CARRIER
f
DAC
f
DAC
f
DAC
, AV D D3 3 = 3.3 V, DVDD18 = 1.8 V, CVDD18 = 1.8 V, IFS = 20 mA, maximum sample rate, unless otherwise noted.
MAX
= 200 MSPS, f
= 400 MSPS, f
= 800 MSPS, f
= 600 MSPS, f
= 600 MSPS, f
= 800 MSPS, f
= 400 MSPS, f
= 800 MSPS, f
= 491.52 MSPS, f
= 983.04 MSPS, f
= 983.04 MSPS, f
= 50 MHz 70 dBc
OUT
= 70 MHz 65 dBc
OUT
= 70 MHz 67 dBc
OUT
= 50 MHz 85 dBc
OUT
= 80 MHz 82 dBc
OUT
= 60 MHz 83 dBc
OUT
OUT
= 80 MHz −162 dBm/Hz
OUT
= 80 MHz −164 dBm/Hz
OUT
= 15 MHz 75 dBc
OUT
= 80 MHz 77 dBc
OUT
= 200 MHz 76 dBc
OUT
f
= 983.04 MSPS, f
DAC
f
= 983.04 MSPS, f
DAC
= 80 MHz 82 dBc
OUT
= 122.88 MHz 80 dBc
OUT
Table 5. Maximum Rate (MSPS) with DVDD and CVDD Supply Regulation
Interface
Mode
Interpolation
Factor
f
1.8 V ± 5% 1.9 V ± 5% 1.8 V ± 5% 1.9 V ± 5% 1.8 V ± 5% 1.9 V ± 5% 1.8 V ± 5% 1.9 V ± 5%
CVSS
AVSS to EPAD, CVSS −0.3 V to +0.3 V
EPAD to AVSS, CVSS −0.3 V to +0.3 V
CVSS to AVSS, EPAD −0.3 V to +0.3 V
FSADJ, REFIO, IOUT1P, IOUT1N,
IOUT2P, IOUT2N to AVSS
D[7:0]P, D[7:0]N, FRAMEP, FRAMEN,
DCIP, DCIN to EPAD
DACCLKP, DACCLKN, REFCLKP,
REFCLKN to EPAD
RESET, IRQ, CS
Junction Temperature 125°C
Storage Temperature Range −65°C to +150°C
−0.3 V to AVDD33 + 0.3 V
−0.3 V to DVDD18 + 0.3 V
−0.3 V to CVDD18 + 0.3 V
Stresses above those listed under Absolute Maximum Ratings
may cause permanent damage to the device. This is a stress
rating only; functional operation of the device at these or any
other conditions above those indicated in the operational
section of this specification is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect
device reliability.
THERMAL RESISTANCE
The exposed pad (EPAD) of the 48-lead LFCSP must be soldered
to the ground plane (AVSS). The EPAD provides an electrical,
thermal, and mechanical connection to the board.
Typical θ
, θJB, and θJC values are specified for a 4-layer board and
JA
an 8-layer board in still air. Airflow increases heat dissipation,
effectively reducing θ
1. THE EXP OSED PAD (EPAD) M US T BE SOLDERE D TO THE GROUND PLANE
(AVSS). THE EPAD PROVIDES AN ELECT RICAL, THERM AL, AND
MECHANICAL CO NNE CTION TO THE BOARD.
DACCLKP
DACCLKN
AD9146
TOP VIEW
(Not to S cale)
PIN 1
INDICATOR
09691-003
2
CVDD18
1.8 V Clock Supply. Supplies clock receivers, clock distribution, and PLL circuitry.
7
REFCLKN
PLL Reference Clock Input, Negative. This pin has a secondary function as a synchronization input.
23
D2P
Data Bit 2, Positive.
24
D2N
Data Bit 2, Negative.
PIN CONFIGURATION AND FUNCTION DESCRIPTIONS
AVDD33
IOUT1P
IOUT1N
AVDD33
AVSS
FSADJ
REFIO
AVSS
AVDD33
IOUT2N
IOUT2P
4847464544434241403938
AVDD33
37
D2N
RESET36
DVDD18
35
IRQ
34
CS
33
SCLK
32
SDIO
31
TXENABLE
30
DVDD18
29
D0N
28
D0P
27
D1N
26
D1P
25
CVDD18
CVDD18
CVSS
REFCLKP
REFCLKN
DVDD18
D7P
D7N
D6P
D6N
1
2
3
4
5
6
7
8
9
10
11
12
13141516171819
D5P
D4P
D4N
D5N
DCIP
DCIN
FRAMEP
2021222324
D3P
D2P
D3N
FRAMEN
Figure 3. Pin Configuration
Table 8. Pin Function Descriptions
Pin No. Mnemonic Description
1 CVDD18 1.8 V Clock Supply. Supplies clock receivers, clock distribution, and PLL circuitry.
3 DACCLKP DAC Clock Input, Positive.
4 DACCLKN DAC Clock Input, Negative.
5 CVSS Clock Supply Common.
6 REFCLKP PLL Reference Clock Input, Positive. This pin has a secondary function as a synchronization input.
8 DVDD18 1.8 V Digital Supply. Supplies power to digital core and digital data ports.
9 D7P Data Bit 7 (MSB), Positive.
10 D7N Data Bit 7 (MSB), Negative.
11 D6P Data Bit 6, Positive.
12 D6N Data Bit 6, Negative.
13 D5P Data Bit 5, Positive.
14 D5N Data Bit 5, Negative.
15 D4P Data Bit 4, Positive.
16 D4N Data Bit 4, Negative.
17 DCIP Data Clock Input, Positive.
18 DCIN Data Clock Input, Negative.
19 FRAMEP Frame Input, Positive.
20 FRAMEN Frame Input, Negative.
21 D3P Data Bit 3, Positive.
22 D3N Data Bit 3, Negative.
25 D1P Data Bit 1, Positive.
26 D1N Data Bit 1, Negative.
27 D0P Data Bit 0 (LSB), Positive.
Rev. A | Page 9 of 56
Page 10
AD9146 Data Sheet
32
SCLK
Serial Port Clock Input (CMOS).
48
AVDD33
3.3 V Analog Supply.
EPAD
The exposed pad (EPAD) must be soldered to the ground plane (AVSS). The EPAD provides an electrical,
Pin No. Mnemonic Description
28 D0N Data Bit 0 (LSB), Negative.
29 DVDD18 1.8 V Digital Supply. Supplies power to digital core and digital data ports.
30 TXENABLE Active High Transmit Path Enable (CMOS). A low level on this pin clamps the DAC outputs to midscale.
31 SDIO Serial Port Data Input/Output (CMOS).
33
34
35 DVDD18 1.8 V Digital Supply. Supplies power to digital core and digital data ports.
36
37 AVDD33 3.3 V Analog Supply.
38 IOUT2P Q DAC Positive Current Output.
39 IOUT2N Q DAC Negative Current Output.
40 AVDD33 3.3 V Analog Supply.
41 AVS S Analog Supply Common.
42 REFIO 1.2 V Band Gap Voltage Reference Output. Should be decoupled to AVSS with a 0.1 µF capacitor.
43 FSADJ Full-Scale Current Output Adjust. Place a 10 kΩ resistor from this pin to AVSS.
44 AVS S Analog Supply Common.
45 AVDD33 3.3 V Analog Supply.
46 IOUT1N I DAC Negative Current Output.
47 IOUT1P I DAC Positive Current Output.
Serial Port Chip Select, Active Low (CMOS).
CS
Interrupt Request. Open-drain, active low output. Pull this pin high external to the device.
IRQ
Reset, Active Low (CMOS).
RESET
thermal, and mechanical connection to the board.
Rev. A | Page 10 of 56
Page 11
Data Sheet AD9146
–90
–85
–80
–75
–70
–65
–60
–55
–50
050100150200250300350400
HARMONICS (dBc)
f
OUT
(MHz)
2×, 300MSPS, S E COND HARMONIC
4×, 200MSPS, S E COND HARMONIC
2×, 300MSPS, THIRD HARMONI C
4×, 200MSPS, THIRD HARMONI C
09691-076
–90
–85
–80
–75
–70
–65
–60
–55
–50
050100150200250300350400
SECOND HARMONIC (dBc)
f
OUT
(MHz)
0dBFS
–6dBFS
–12dBFS
–18dBFS
09691-077
–90
–85
–80
–75
–70
–65
–60
–55
–50
050100150200250300350400
THIRD HARMONIC (dBc)
f
OUT
(MHz)
0dBFS
–6dBFS
–12dBFS
–18dBFS
09691-078
f
OUT
(MHz)
–80
–78
–76
–74
–72
–70
–68
–66
–64
–62
–60
050100150200250300350400
HIGHEST DIGITAL SPUR (dBc)
09691-079
2×, 300MSPS
4×, 200MSPS
10
0
–10
–20
–30
–40
–50
–60
–70
–80
–90
START 1MHz
#RES BW 10kHz
STOP 600MHz
SWEEP 7.22s (1001pts)
VBW 10kHz
09691-089
AMPLIT UDE ( dBm)
10
0
–10
–20
AMPLIT UDE ( dBm)
–30
–40
–50
–60
–70
–80
–90
START 1MHz
#RES BW 10kHz
STOP 800MHz
SWEEP 9.63s (1001pts)VBW 10kHz
09691-090
TYPICAL PERFORMANCE CHARACTERISTICS
Figure 4. Harmonics vs. f
Digital Scale = 0 dBFS, I
Figure 5. Second Harmonic vs. f
f
= 400 MSPS, IFS = 20 mA
DATA
over f
OUT
over Digital Scale, 4× Interpolation,
OUT
and Interpolation,
DATA
= 20 mA
FS
Figure 7. Highest Digital Spur vs. f
Digital Scale = 0 dBFS, I
OUT
over f
FS
Figure 8. Single-Tone Spectrum, 2× Interpolation,
f
= 300 MSPS, f
DATA
= 101 MHz
OUT
and Interpolation,
DATA
= 20 mA
Figure 6. Third Harmonic vs. f
f
OUT
= 400 MSPS, IFS = 20 mA
DATA
over Digital Scale, 4× Interpolation,
Rev. A | Page 11 of 56
Figure 9. Single-Tone Spectrum, 4× Interpolation,
f
= 200 MSPS, f
DATA
= 151 MHz
OUT
Page 12
AD9146 Data Sheet
–95
–90
–85
–80
–75
–70
–65
–60
–55
050100150200250300350400
IMD (dBc)
f
OUT
(MHz)
2×, 300MSPS
4×, 200MSPS
09691-080
–95
–90
–85
–80
–75
–70
–65
–60
–55
050100150200250300350400
IMD (dBc)
0dBFS
–6dBFS
–12dBFS
–18dBFS
09691-081
f
OUT
(MHz)
–90
–85
–80
–75
–70
–65
–60
–55
–50
050100150200250300350400
IMD (dBc)
f
OUT
(MHz)
IFS = 10mA
I
FS
= 20mA
I
FS
= 30mA
09691-082
–95
–90
–85
–80
–75
–70
–65
–60
–55
–50
–45
050100150200250300350400
IMD (dBc)
f
OUT
(MHz)
PLL ON
09691-083
PLL OFF
050100150200250300350400
NSD (dBm/Hz)
f
OUT
(MHz)
–170
–165
–160
–155
–150
–145
–140
–135
–130
SINGLE-TONE: 2×, 200M S P S
SINGLE-T
ONE: 4×, 200MS P S
W-CDMA: 2×, 200MSPS
W-CDMA: 4×, 200MSPS
09691-084
–170
–165
–160
–155
–150
–145
–140
–135
–130
050100150200250300350400
NSD (dBm/Hz)
f
OUT
(MHz)
SINGLE-TONE: 2×, 200M S P S
SINGLE-TONE: 4×, 200M S P S
W-CDMA: 2×, 200MSPS
W-CDMA: 4×, 200MSPS
09691-085
Figure 10. IMD vs. f
Digital Scale = 0 dBFS, I
Figure 11. IMD vs. f
f
DATA
over f
OUT
over Digital Scale, 4× Interpolation,
OUT
and Interpolation,
DATA
= 20 mA
FS
= 400 MSPS, IFS = 20 mA
Figure 13. IMD vs. f
Digital Scale = 0 dBFS, I
, 4× Interpolation, f
OUT
= 20 mA, PLL On and PLL Off
FS
= 200 MSPS,
DATA
Figure 14. NSD vs. f
f
DATA
over Interpolation, Single-Tone and W-CDMA Signals,
OUT
= 200 MSPS, Digital Scale = 0 dBFS, IFS = 20 mA, PLL Off
Figure 12. IMD vs. f
f
DATA
over Full-Scale Current, 4× Interpolation,
OUT
= 400 MSPS, Digital Scale = 0 dBFS
Figure 15. NSD vs. f
f
DATA
over Interpolation, Single-Tone and W-CDMA Signals,
OUT
= 200 MSPS, Digital Scale = 0 dBFS, IFS = 20 mA, PLL On
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.
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.
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 (25°C) value to the value at either T
MIN
or T
MAX
.
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.
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.
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.
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
f
(interpolation rate), a digital filter can be constructed that
DATA
has a sharp transition band near f
appear around f
(output data rate) can be greatly suppressed.
DAC
/2. Images that typically
DATA
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. A | Page 15 of 56
Page 16
32
SCLK
31
SDIO
33
CS
SPI
PORT
09691-032
AD9146 Data Sheet
THEORY OF OPERATION
High performance, small size, and low power consumption
make the AD9146 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 AD9146 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).
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® SSR protocols. The interface allows
read/write access to all registers that configure the AD9146.
Single-byte or multiple-byte transfers are supported, as well
as MSB first or LSB first transfer formats.
Figure 25. Serial Port Interface Pins
A communication cycle with the AD9146 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.
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.
Rev. A | Page 16 of 56
DATA FORMAT
The instruction byte contains the information shown in Ta ble 9.
Table 9. Serial Port Instruction Byte
I7 (MSB) I6 I5 I4 I3 I2 I1 I0 (LSB)
R/W A6 A5 A4 A3 A2 A1 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.
Chip Select (CS)
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
goes to a high impedance state. During the communication
CS
cycle, the
pin should stay low.
Serial Data I/O (SDIO)
The SDIO pin is a bidirectional pin that functions as an input in
write mode and as an output in read mode. Data is written into
the device on this pin and read from the device on this pin. The
configuration of the SDIO pin is controlled by Register 0x00,
Bit 7. To enable readback of the register data, this bit must be
set to 1.
CS
pin is high, the SDIO pin
Page 17
Data Sheet AD9146
R/W A6 A5 A4 A3 A2 A1 A0 D7
ND6N
D5
N
D00D10D2
0D30
INSTRUCTION CYCLEDATA TRANSFER CYCLE
SCLK
SDIO
09691-033
CS
SCLK
SDIO
CS
A0 A1 A2 A3 A4 A5 A6 R/W D0
0
D1
0
D2
0
D7
ND6N
D5
ND4N
INSTRUCTION CYCLEDATA TRANSFER CYCLE
09691-034
SCLK
SDIO
CS
INSTRUCTION BIT 6INSTRUCTION BIT 7
t
DCSB
t
DS
t
DH
t
PWH
t
PWL
t
SCLK
09691-035
SCLK
SDIO
CS
DATABIT n – 1DATA BIT n
t
DV
09691-036
SERIAL PORT OPTIONS
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).
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.
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.
Figure 27. Serial Port Interface Timing, LSB First
Figure 28. Timing Diagram for Serial Port Register Write
Figure 29. Timing Diagram for Serial Port Register Read
Figure 26. Serial Port Interface Timing, MSB First
Rev. A | Page 17 of 56
Page 18
AD9146 Data Sheet
0x15
Data receiver
LVDS
LVDS
LVDS DCI
LVDS DCI
LVDS data
LVDS data
N/A
DEVICE CONFIGURATION REGISTER MAP AND DESCRIPTIONS
Table 10. Device Configuration Register Map
Addr
(Hex) Register Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0x00 Comm SDIO LSB_FIRST Reset 0x00
0x01 Power control Power
down
I DAC
0x02 Tx enable
control
0x03 Data format Binary
0x04 Interrupt enable Enable
0x05 Interrupt enable 0 0 0 Enable
0x06 Event flag PLL lock
0x07 Event flag AED
0x08 Clock receiver
control
0x0A PLL control PLL
0x0C PLL control PLL Loop
0x0D PLL control N2[1:0] PLL cross-
0x0E PLL status PLL locked VCO Control Voltage[3:0] N/A
0x0F PLL status VCO Band Readback[5:0] N/A
0x10 Sync control Sync
0x11 Sync control Sync Phase Request[5:0] 0x00
0x12 Sync status Sync lost Sync
0x13 Sync status Sync Phase Readback[7:0] (6.2 format) N/A
Extended
data
format
PLL lock
lost
lost
DACCLK
duty
correction
enable
Bandwidth[1:0]
enable
Power
down
Q DAC
delay
length
Q data
first
Enable
PLL
locked
PLL
locked
REFCLK
duty
correction
PLL manual
enable
Data/FIFO
rate toggle
locked
Power
down
data
receiver
Enable
extended
delay
MSB
swap
Enable
sync
signal lost
Sync
signal lost
DACCLK
crosscorrection
PLL Charge Pump Current[4:0] 0xD1
Rising
N/A
Power
down
aux ADC
Power
down
voltage
reference
Data Bus Width[1:0] 0x00
Enable
sync
signal
locked
AED
compare
pass
Sync signal
locked
compare
pass
REFCLK
crosscorrection
control
enable
Power
down aux
DACs and
reference
Power
down PLL
Enable
Enable
AED
compare
fail
FIFO
AED
compare
fail
1 1 1 1 0x3F
Manual VCO Band[5:0] 0x40
edge sync
Power
down
clocks
Power
down
DACs
Enable
SED
compare
fail
SED
compare
fail
N0[1:0] N1[1:0] 0xD9
0x10
Power
down
FIFO
FIFO
Warning 1
0 0 0x00
Warning 1
N/A
Sync Averaging[2:0] 0x48
Power
down
filters
Enable
FIFO
Warning 2
FIFO
Warning 2
Default
0x00
0x00
N/A
0x16 DCI delay Delay
0x17 FIFO control FIFO Phase Offset[2:0] 0x04
0x18 FIFO status FIFO
0x19 FIFO status FIFO Level[7:0] N/A
status
Warning 1
FIFO
Warning 2
FRAME
level high
FIFO soft
FRAME
level low
Rev. A | Page 18 of 56
level high
level low
bypass
align ack
level high
DCI Delay[1:0] 0x00
FIFO soft
align
request
level low
N/A
Page 19
Data Sheet AD9146
0x72
SED Q LSBs
Errors Detected Q
0x00
Addr
(Hex) Register Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0x1B Datapath
control
Bypass
premod
Bypass
−1
sinc
1 Bypass
phase
comp and
Select
sideband
Send
I data to
Q data
dc offset
0x1C HB1 control HB1[1:0] Bypass
HB1
0x1D HB2 control HB2[5:0] Bypass
HB2
0x1E Datapath config This register must be changed from the default value for proper operation. 1 0x00
0x1F Chip ID Chip ID[7:0] 0x08
0x38 I phase adj LSB I Phase Adj[7:0] 0x00
0x39 I phase adj MSB I Phase Adj[9:8] 0x00
0x3A Q phase adj LSB Q Phase Adj[7:0] 0x00
0x3B Q phase adj MSB Q Phase Adj[9:8] 0x00
0x3C I DAC offset LSB I DAC Offset[7:0] 0x00
0x3D I DAC offset MSB I DAC Offset[15:8] 0x00
0x3E Q DAC offset LSB Q DAC Offset[7:0] 0x00
0x3F Q DAC offset MSB Q DAC Offset[15:8] 0x00
0x40 I DAC FS adjust I DAC FS Adj[7:0] 0xF9
0x41 I DAC control I DAC
I DAC FS Adj[9:8] 0x01
sleep
0x42 I aux DAC data I Aux DAC[7:0] 0x00
0x43 I aux DAC control I aux
DAC sign
I aux DAC
current
I aux DAC
sleep
I Aux DAC[9:8] 0x00
direction
0x44 Q DAC FS adjust Q DAC FS Adj[7:0] 0xF9
0x45 Q DAC control Q DAC
Q DAC FS Adj[9:8] 0x01
sleep
0x46 Q aux DAC data Q Aux DAC[7:0] 0x00
0x47 Q aux DAC
control
0x48 Die temp range
control
Q aux
DAC sign
Q aux DAC
current
direction
Q aux
DAC
sleep
Q Aux DAC[9:8] 0x00
FS Current[2:0] Reference Current[2:0] Capacitor
value
0x49 Die temp LSB Die Temp[7:0] N/A
0x4A Die temp MSB Die Temp[15:8] N/A
0x67 SED control SED
compare
enable
0x68 Compare I0 LSBs Compare Value I
0x69 Compare I0 MSBs Compare Value I
0x6A Compare Q0 LSBs Compare Value Q
0x6B Compare
Sample
error
detected
Autoclear
enable
0LSB
0MSB
0LSB
Compare Value Q
0MSB
Compare
fail
Compare
pass
0xB6
0x7A
0x45
0xEA
Q0 MSBs
0x6C Compare I1 LSBs Compare Value I
0x6D Compare I1 MSBs Compare Value I
0x6E Compare Q1 LSBs Compare Value Q
0x6F Compare Q1 MSBs Compare Value Q
0x70 SED I LSBs Errors Detected I
0x71 SED I MSBs Errors Detected I
Comm 0x00 7 SDIO SDIO pin operation. To enable data readback, set this bit to 1. 0
0 = SDIO operates as an input only. 1 = SDIO operates as a bidirectional input/output. 6 LSB_FIRST Serial port communication, LSB or MSB first. 0
0 = MSB first. 1 = LSB first.
Power
Control
2 Power down clocks 1 = power down the clocks. 0
Tx Enable
Control
5 Enable extended delay The transmit delay, regardless of whether the extended delay
4 Power down voltage
3 Power down PLL 0 = no power-down of the on-chip PLL.
2 Power down DACs 0 = no power-down of the DAC cores.
1 Power down FIFO 0 = no power-down of the FIFO.
0 Power down filters 0 = no power-down of the interpolation filters.
Address
(Hex)
0x01 7 Power down I DAC 1 = power down I DAC. 0
6 Power down Q DAC 1 = power down Q DAC. 0
0x02 6 Extended delay length Time delay from when the TXENABLE pin is brought high to
Bits Name Description Default
5 Reset The device is placed in reset when this bit is written high
and remains in reset until the bit is written low.
5 Power down data
receiver
4 Power down auxiliary
ADC
3 Power down auxiliary
DACs and reference
reference
1 = power down the input data receiver. 0
1 = power down the auxiliary ADC for temperature sensor. 1
1 = power down the auxiliary DACs and the voltage reference. 0
when the DAC begins transmitting data. See the Tx Enable
section for more information.
0 = delay the outputs by 12 to 13 DAC/64 clock edges.
1 = delay the outputs by 19 to 20 DAC/64 clock edges.
option is selected, has an inherent fixed delay of 10 DAC clock
cycles. When the extended delay is disabled, there is a minimum delay time in the outputs of 1 to 2 DAC/64 clock edges
from when the TXENABLE pin is brought high.
0 = disable the extended delay option. Delays the outputs
by 1 to 2 DAC/64 clock edges.
1 = enable the extended delay option. Delays the outputs
based on the setting of Bit 6.
0 = no power-down of the internal voltage reference.
1 = power down the internal voltage reference when the
TXENABLE pin is held low.
1 = power down the on-chip PLL when the TXENABLE pin is
held low.
1 = power down the DAC cores when the TXENABLE pin is
held low.
1 = power down the FIFO when the TXENABLE pin is held
low.
1 = power down the interpolation filters when the
TXENABLE pin is held low.
0
0
0
0
0
0
0
0
Rev. A | Page 20 of 56
Page 21
Data Sheet AD9146
0
Enable FIFO Warning 2
1 = enable interrupt for FIFO Warning 2.
0
Register
Name
Data Format 0x03 7 Binary data format 0 = input data is in twos complement format. 0
1 = input data is in binary format. 6 Q data first Indicates I/Q data pairing on data input. 0
0 = I data sent to data receiver first. 1 = Q data sent to data receiver first. 5 MSB swap Swaps the bit order of the data input port. 0
0 = order of the data bits corresponds to the pin descriptions.
00 = byte mode; 8-bit interface bus width. 01 = byte mode; 8-bit interface bus width. 10 = nibble mode; 4-bit interface bus width. 11 = invalid.
Interrupt
Enable
Address
(Hex) Bits Name Description Default
1 = bit designations are swapped; most significant bits
become the least significant bits.
[1:0] Data Bus Width[1:0] Data receiver interface mode. See the LVDS Input Data Ports
section for information about the operation of the different
interface modes.
0x04 7 Enable PLL lock lost 1 = enable interrupt for PLL lock lost. 0
6 Enable PLL locked 1 = enable interrupt for PLL locked. 0
5 Enable sync signal lost 1 = enable interrupt for sync signal lost. 0
4 Enable sync signal locked 1 = enable interrupt for sync signal locked. 0
1 Enable FIFO Warning 1 1 = enable interrupt for FIFO Warning 1. 0
00
0x05 [7:5] Set to 0 Set these bits to 0. 000
4 Enable AED compare pass 1 = enable interrupt for AED comparison pass. 0
3 Enable AED compare fail 1 = enable interrupt for AED comparison fail. 0
2 Enable SED compare fail 1 = enable interrupt for SED comparison fail. 0
[1:0] Set to 0 Set these bits to 0. 00
Event Flag 0x06 7 PLL lock lost 1 = indicates that the PLL, which had been previously
locked, has unlocked from the reference signal. This is a
latched signal.
6 PLL locked 1 = indicates that the PLL has locked to the reference
clock input.
5 Sync signal lost 1 = indicates that the sync logic, which had been previously
locked, has lost alignment. This is a latched signal.
4 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.
1 FIFO Warning 1 1 = indicates that the difference between the FIFO read
and write pointers is 1.
0 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. 0x07 4 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.
3 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.
2 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.
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Rev. A | Page 21 of 56
Page 22
AD9146 Data Sheet
11111 = highest current setting.
10 = f
= 4.
11 = f
= 4.
00 = f
= 2.
Register
Name
Clock
Receiver
Control
4 REFCLK cross-correction 1 = enable differential crossing correction on the
0x0D [7:6] N2[1:0] PLL control clock divider. This divider determines the ratio
11
of the DACCLK frequency to the PLL controller clock
frequency. f
00 = f
01 = f
10 = f
11 = f
DACCLK/fPC_CLK
DACCLK/fPC_CLK
DACCLK/fPC_CLK
DACCLK/fPC_CLK
must always be less than 75 MHz.
PC_CLK
= 2.
= 4.
= 8.
= 16.
4 PLL cross-control enable 1 = enable PLL cross-point controller. 1
[3:2] N0[1:0] PLL VCO divider. This divider determines the ratio of the
10
VCO frequency to the DACCLK frequency.
00 = f
01 = f
VCO/fDACCLK
VCO/fDACCLK
VCO/fDACCLK
VCO/fDACCLK
[1:0] N1[1:0] PLL loop divider. This divider determines the ratio of the
= 1.
= 2.
01
DACCLK frequency to the REFCLK frequency.
DACCLK/fREFCLK
01 = f
10 = f
11 = f
DACCLK/fREFCLK
DACCLK/fREFCLK
DACCLK/fREFCLK
PLL Status 0x0E 7 PLL locked 1 = the PLL-generated clock is tracking the REFCLK input
= 4.
= 8.
= 16.
N/A
signal.
[3:0] VCO Control Voltage[3:0] VCO control voltage readback. See Table 22. N/A
0x0F [5:0] VCO Band Readback[5:0] Indicates the VCO band currently selected. N/A
Rev. A | Page 22 of 56
Page 23
Data Sheet AD9146
100 = 16.
ter sets the requested clock phase offset after sync.
11111110 = 63.50.
Register
Name
Sync Control 0x10 7 Sync enable 1 = enable the synchronization logic. 0
000 = 1. 001 = 2. 010 = 4. 011 = 8.
101 = 32. 110 = 64. 111 = 128. 0x11 [5:0] Sync Phase Request[5:0] This regis
000000 = 0 DACCLK cycles. 000001 = 1 DACCLK cycle. … 111111 = 63 DACCLK cycles.
Sync Status 0x12 7 Sync lost 1 = synchronization was attained but has been lost. N/A
0x13 [7:0] Sync Phase Readback[7:0] Indicates the averaged sync phase offset (6.2 format). If
00000000 = 0.0. 00000001 = 0.25. …
Address
(Hex) Bits Name Description Default
6 Data/FIFO rate toggle 0 = operate the synchronization at the FIFO reset rate. 1
1 = operate the synchronization at the data rate.
3 Rising edge sync 0 = sync is initiated on the falling edge of the sync input. 1
1 = sync is initiated on the rising edge of the sync input.
[2:0] Sync Averaging[2:0] Sets the number of input samples that are averaged in
determining the sync phase.
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.
6 Sync locked 1 = synchronization has been attained. N/A
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.
000
000000
N/A
11111111 = 63.75.
Data
Receiver
Status
DCI Delay 0x16 2 Delay bypass 0 = enable the on-chip DCI delay feature. Set the delay
0x15 5 LVDS FRAME level high One or both LVDS FRAME input signals have exceeded 1.7 V. N/A
4 LVDS FRAME level low One or both LVDS FRAME input signals have crossed
below 0.7 V.
3 LVDS DCI level high One or both LVDS DCI input signals have exceeded 1.7 V. N/A
2 LVDS DCI level low One or both LVDS DCI input signals have crossed below 0.7 V. N/A
1 LVDS data level high One or more LVDS Dx input signals have exceeded 1.7 V. N/A
0 LVDS data level low One or more LVDS Dx input signals have crossed below 0.7 V. N/A
using Bits[1:0].
1 = bypass the on-chip DCI delay feature.
[1:0] DCI Delay[1:0] These 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 14.
00 = 165 ps delay of DCI signal.
01 = 375 ps delay of DCI signal.
10 = 615 ps delay of DCI signal.
11 = 720 ps delay of DCI signal.
Rev. A | Page 23 of 56
N/A
0
00
Page 24
AD9146 Data Sheet
101101 = input signal modulated by f
; filter pass band is
Register
Name
FIFO Control 0x17 [2:0] FIFO Phase Offset[2:0] FIFO write pointer phase offset following FIFO reset. This
FIFO Status 0x18 7 FIFO Warning 1 1 = FIFO read and write pointers are within ±1. N/A
0x19 [7:0] FIFO Level[7:0] Thermometer encoded measure of the FIFO level. N/A
Datapath
Control
HB1 Control 0x1C [2:1] HB1[1:0] Modulation mode for I Side Half-Band Filter 1. 00
HB2 Control 0x1D [6:1] HB2[5:0]
Address
(Hex) Bits Name Description Default
100
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.
6 FIFO Warning 2 1 = FIFO read and write pointers are within ±2. N/A
2 FIFO soft align
acknowledge
1 FIFO soft align request 1 = request FIFO read and write pointer alignment via the
1 = FIFO read and write pointers are aligned after a serial
port initiated FIFO reset.
0x3A [7:0] Q Phase Adj[7:0] See Register 0x3B. 00000000
0x3C [7:0] I DAC Offset[7:0] See Register 0x3D. 00000000
0x3D [7:0] I DAC Offset[15:8] I DAC Offset[15:0] is a value that is added directly to the
0x3E [7:0] Q DAC Offset[7:0] See Register 0x3F. 00000000
0x3F [7:0] Q DAC Offset[15:8] Q DAC Offset[15:0] is a value that is added directly to the
0x40 [7:0] I DAC FS Adj[7:0] See Register 0x41, Bits[1:0]. 11111001
0x41 7 I DAC sleep 1 = puts the I DAC into sleep mode (fast wake-up mode). 0
[1:0] I DAC FS Adj[9:8] I DAC FS Adj[9:0] sets the full-scale current of the I DAC.
0x42 [7:0] I Aux DAC[7:0] See Register 0x43, Bits[1:0]. 00000000
0x43 7 I aux DAC sign 0 = the I auxiliary DAC sign is positive, and the current is
1 = the I auxiliary DAC sign is negative, and the current is
6 I aux DAC current
direction
1 = the I auxiliary DAC sinks current.
5 I aux DAC sleep 1 = puts the I auxiliary DAC into sleep mode. 0
[1:0] I Aux DAC[9:8] I Aux DAC[9:0] sets the magnitude of the auxiliary DAC
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.
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.
samples written to the I DAC.
samples written to 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.
directed to the IOUT1P pin (Pin 47).
directed to the IOUT1N pin (Pin 46).
0 = the I auxiliary DAC sources current. 0
current. The range is 0 mA to 2 mA, and the step size is 2 µA.
00000000
00000000
01
0
00
Rev. A | Page 25 of 56
Page 26
AD9146 Data Sheet
0 = 5 pF.
1 = indicates an error was detected. The bit remains set until
0x45 7 Q DAC sleep 1 = puts the Q DAC into sleep mode (fast wake-up mode). 0
[1:0] Q DAC FS Adj[9:8] 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.
0x46 [7:0] Q Aux DAC[7:0] See Register 0x47, Bits[1:0]. 00000000
0x47 7 Q aux DAC sign 0 = the Q auxiliary DAC sign is positive, and the current is
directed to the IOUT2P pin (Pin 38).
1 = the Q auxiliary DAC sign is negative, and the current is
directed to the IOUT2N pin (Pin 39).
6 Q aux DAC current
direction
1 = the Q auxiliary DAC sinks current.
5 Q aux DAC sleep 1 = puts the Q auxiliary DAC into sleep mode. 0
[1:0] Q Aux DAC[9:8] 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.
01
0
00
1 = 10 pF.
Die Temp
LSB
Die Temp
MSB
SED Control 0x67 7 SED compare enable 1 = enable the SED circuitry. None of the flags in this
0x49 [7:0] Die Temp[7:0] See Register 0x4A. N/A
0x4A [7:0] Die Temp[15:8] Die Temp[15:0] indicates the approximate die temperature.
5 Sample error detected
3 Autoclear enable 1 = enable autoclear mode. This activates Bit 1 and Bit 0 of
1 Compare fail 1 = indicates an error was detected. This bit remains set until
0 Compare pass 1 = indicates that the last sample comparison was error free. 0
N/A
For more information, see the Temperature Sensor section.
0
register or the values in Register 0x70 through
Register 0x73 are significant if the SED is not enabled.
0
cleared. Any write to this register clears this bit to 0.
0
this register and causes Register 0x70 through Register 0x73
to be autocleared when eight consecutive sample data sets
are received error free.
0
it is autocleared by the reception of eight consecutive errorfree comparisons or is cleared by a write to this register.
Rev. A | Page 26 of 56
Page 27
Data Sheet AD9146
Compare
0x6C
[7:0]
Compare Value I
Compare Value I
is the byte that is compared with the
00010110
Register
Name
Compare
I0 LSBs
Compare
I0 MSBs
Compare
Q0 LSBs
Compare
Q0 MSBs
I1 LSBs
Compare
I1 MSBs
Compare
Q1 LSBs
Compare
Q1 MSBs
SED I LSBs 0x70 [7:0] Errors Detected I
SED I MSBs 0x71 [7:0] Errors Detected I
SED Q LSBs 0x72 [7:0] Errors Detected Q
SED Q MSBs 0x73 [7:0] Errors Detected Q
Revision 0x7F [5:2] Revision[3:0] This value corresponds to the die revision number.
Address
(Hex) Bits Name Description Default
0x68 [7:0] Compare Value I
0x69 [7:0] Compare Value I
0x6A [7:0] Compare Value Q
0x6B [7:0] Compare Value Q
0x6D [7:0] Compare Value I
0x6E [7:0] Compare Value Q
0x6F [7:0] Compare Value Q
0LSB
Compare Value I
0MSB
Compare Value Q
0LSB
0MSB
1LSB
Compare Value I
1MSB
Compare Value Q
1LSB
1MSB
Errors Detected I
NLSB
Compare Value I
I
input sample captured at the input interface.
0LSB
input sample captured at the input interface.
I
0MSB
Q
input sample captured at the input interface.
0LSB
Compare Value Q
input sample captured at the input interface.
Q
0MSB
I
input sample captured at the input interface.
1LSB
input sample captured at the input interface.
I
1MSB
Q
input sample captured at the input interface.
1LSB
Compare Value Q
Q
input sample captured at the input interface.
1MSB
is the byte that is compared with the
0LSB
is the byte that is compared with the
0MSB
is the byte that is compared with the
0LSB
is the byte that is compared with the
0MSB
1LSB
is the byte that is compared with the
1MSB
is the byte that is compared with the
1LSB
is the byte that is compared with the
1MSB
indicates which bits were received in
NLSB
10110110
01111010
01000101
11101010
00011010
11000110
10101010
00000000
error.
Errors Detected I
NMSB
indicates which bits were received in
NMSB
00000000
error.
Errors Detected Q
NLSB
indicates which bits were received in
NLSB
00000000
error.
Errors Detected Q
NMSB
indicates which bits were received in
NMSB
00000000
error.
N/A
0011 = Die Revision 1.
Rev. A | Page 27 of 56
Page 28
AD9146 Data Sheet
DCI
DATA[15:0]
FRAME
Q
0LSBI1MSB
I
1LSBQ1MSB
Q
1LSB
I
2MSBI2LSB
Q
2MSBQ2LSB
09691-037
DCI
DATA[15:0]
FRAME
Q
0N0I1N3I1N2I1N1I1N0Q1N3Q1N2
Q
1N1Q1N0I2N3
09691-038
LVDS INPUT DATA PORTS
The AD9146 has one LVDS data port that receives data for both
the I and Q transmit paths. The device can accept data in byte
and nibble formats. In byte and nibble modes, the data is sent
over 8-bit and 4-bit LVDS data buses, respectively. The pin
assignments of the bus in each mode are shown in Table 12.
Table 12. Data Bit Pair Assignments for Data Input Modes
In nibble mode, the unused pins can be left floating.
The data is accompanied by DCI and FRAME signals. The DCI
signal is a reference bit that is used to generate a double data rate
(DDR) clock. The FRAME signal is required for controlling to
which DAC the data is sent. All of the interface signals can be time
aligned, so there is a maximum skew requirement on the bus. In
some cases, it is best to delay the DCI signal for optimum timing.
BYTE INTERFACE MODE
In byte mode, the DCI signal is a reference bit used to generate
the data sampling clock and 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 30.
NIBBLE INTERFACE MODE
In nibble mode, the DCI signal is a reference bit used to generate
the data sampling clock and 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 31.
FIFO OPERATION
The AD9146 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.
Figure 32 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).
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.
Figure 30. Timing Diagram for Byte Mode
Figure 31. Timing Diagram for Nibble Mode
Rev. A | Page 28 of 56
Page 29
Data Sheet AD9146
WRITE
POINTER
DATA
DCI
FRAME
FIFO SOFT ALIGN REQUEST
INPUT
LATCH
REG 0x18[1]
DATA
FORMAT
DATA/FIFO RATE
REG 0x10[6]
Figure 32. Block Diagram of FIFO
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 AD9146.
Resetting the FIFO
When the AD9146 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 reset: 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.
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.
Rev. A | Page 29 of 56
32 BITS
REG 0
REG 1
REG 2
REG 3
REG 4
REG 5
REG 6
REG 7
WRITE POINTER
RESET
RESET
LOGIC
READ
POINTER
I AND Q
DATA
PATHS
READ POINTER
RESET
FIFO PHASE OFFSET
REG 0x17[2:0]
÷ INT
323232
I AND Q
DACS
DACCLK
SYNC
09691-039
A summary of the synchronization modes and the types of
FIFO reset used is provided in Table 13.
Table 13. Summary of FIFO Resets
Synchronization Mode
FIFO Reset Signal
Disabled Data Rate FIFO Reset
Serial Port Relative Relative Relative
FRAME Relative Relative Absolute
For a FRAME dependent FIFO reset to occur, an extended
FRAME pulse must be sent to the part for proper operation.
The extended FRAME pulse must be asserted high for an entire
I and Q DAC data sample load. This corresponds to four data
clock samples in byte mode and eight data clock samples in
nibble mode (see Figure 33 and Figure 34, respectively).
DCI
DATA
Q
0LSBI1MSBI1LSBQ1MSBQ1LSBI2MSBI2LSBQ2MSBQ2LSB
[15:0]
EXTENDED
FRAME
Figure 33. Timing Diagram for Extended Frame Pulse (Byte Mode)
DCI
DATA
Q
0N0I1N3I1N2I1N1I1N0Q1N3Q1N2Q1N1Q1N0I2N3
[15:0]
EXTENDED
FRAME
Figure 34. Timing Diagram for Extended Frame Pulse (Nibble Mode)
09691-097
09691-098
Page 30
AD9146 Data Sheet
Serial Port Initiated FIFO Reset
A serial port initiated FIFO reset can be issued in any 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.
The recommended procedure for a serial port FIFO data level
initialization is as follows:
1. Program Register 0x17 to 0x05.
2. Request FIFO level reset by setting Register 0x18, Bit 1, to 1.
3. Verify that the part acknowledges the request by ensuring
that Register 0x18, Bit 2, is set to 1.
4. Remove the request by setting Register 0x18, Bit 1, to 0.
5. Verify that the part drops the acknowledge signal by
ensuring that Register 0x18, Bit 2, is set to 0.
6. Read back Register 0x19 to verify that the pointer spacing
is set to 3 (0x07) or 4 (0x0F).
7. 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).
8. 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).
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 four DCI periods in byte mode and eight
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 35).
READ
POINTER
FRAME
WRITE
POINTER
012345670123
FIFO WRITE RESETS
345670123456
Figure 35. FRAME Input vs. Write Pointer Value, Data Rate Mode
09691-040
FRAME Initiated Absolute FIFO Reset
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 AD9146. The edge of the DAC clock used to sample
the synchronization signal is selected by Bit 3 of Register 0x10.
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 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 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.
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.
09691-041
.
Rev. A | Page 30 of 56
Page 31
Data Sheet AD9146
INTERFACE TIMING
The timing diagram for the digital interface port is shown in
Figure 37. When Register 0x16, Bits[2:0] are set to 000, the
sampling point of the data bus nominally occurs 165 ps after
each edge of the DCI signal and has an uncertainty of ±285 ps,
as illustrated by the data valid window shown in Figure 37. The
data and FRAME signals must be valid throughout this window.
The data and FRAME signals may change at any time between
data valid windows.
The setup (t
are shown in Figure 37. The minimum setup and hold times
are shown in Table 14.
) and hold (tH) times, with respect to the edges,
S
Bypass DCI Delay Mode
An additional option for the timing of the data, DCI, and
FRAME signals requires the DCI to be delayed by 90° ahead
of the data and FRAME signals. In bypass DCI delay mode, the
DCI signal is placed in the optimal data valid window outside
the part, and the delay circuitry inside the part is bypassed. This
mode provides a smaller sampling window that allows for a wider
range of placement area for correct sampling edges. The bypass
DCI delay mode is enabled by setting Bit 2 in Register 0x16 to 1.
The sampling point of the data bus nominally occurs 90 ps before
each edge of the DCI signal and has an uncertainty of ±180 ps,
as illustrated by the sampling interval shown in Figure 38. The
resulting setup and hold times for this mode are as follows:
DCI
DATA
t
S
t
H
NOTES
1. DVW = DATA VALID WINDOW. KOW = KEEP OUT WINDOW.
Figure 38 shows the timing for the bypass DCI delay mode.
DCI
DATA
t
H
DVW OR
KOW
9691-099
t
S
NOTES
1. DVW = DATA VALID WINDOW. KOW = KEEP OUT WINDOW.
Figure 38. Timing Diagram for Input Data Port (Bypass DCI Delay Mode)
The data interface timing can be verified using the sample error
detection (SED) circuitry. See the Interface Timing Validation
section for more information.
Rev. A | Page 31 of 56
Page 32
AD9146 Data Sheet
PREMOD
PHASE
AND
OFFSET
ADJUSTMENT
HB1
HB2
SINC
–1
09691-103
0
–20
–40
–60
–80
–100
02.01.81.61.41.21.00.80.60.40.2
MAGNITUDE ( dB)
FREQUENCY ( ×
f
IN1
) (Hz)
MODE 0
MODE 1MO DE 3
MODE 2
09691-045
2
fIN
fIN
Real or complex
DIGITAL DATAPATH
The block diagram in Figure 39 shows the functionality of the
digital datapath. The digital processing includes a premodulation block, two half-band (HB) interpolation filters, phase and
offset adjustment blocks, and an inverse sinc filter.
Figure 39. Block Diagram of Digital Datapath
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.
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.
Half-Band Filter 1 (HB1)
HB1 has four modes of operation, as shown in Figure 40. 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.
PREMODULATION
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, f
band input data to the center of the interpolation filter pass band.
INTERPOLATION FILTERS
The transmit path contains two interpolation filters. Both interpolation filters provide a 2× increase in output data rate. The
half-band (HB) filters can be individually bypassed or cascaded
to provide 1×, 2×, or 4× interpolation ratios. Each half-band
filter stage offers a different combination of bandwidths and
operating modes.
The bandwidth of the two half-band filters with respect to the
data rate at the filter input is as follows:
• Bandwidth of HB1 = 0.8 × f
• Bandwidth of HB2 = 0.5 × f
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.
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 filter has eight modes of operation.
. This can be used to frequency-shift base-
DATA
IN1
IN2
Figure 40. HB1 Filter Modes
As shown in Figure 40, the center frequency in each mode is
offset by one-half the input data rate (f
) of the filter. Mode 0
IN1
and Mode 1 do not modulate the input signal. Mode 2 and
Mode 3 modulate the input signal by f
. When operating in
IN1
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 f
CENTER
f
Input Data
MOD
0 DC None Real or complex
1 fIN/2 None Complex
3 3fIN/2 fIN Complex
Rev. A | Page 32 of 56
Page 33
Data Sheet AD9146
0.02
–0.10
–0.08
–0.06
–0.04
–0.02
0
00.400.360.320.280.240.200.160.120.080.04
MAGNITUDE ( dB)
FREQUENCY ( ×
f
IN1
) (Hz)
09691-046
0
–20
–40
–60
–80
–100
02.01.81.61.41.21.00.80.60.40.2
MODE 0
MODE 2
MODE 6
MODE 4
09691-047
MAGNITUDE ( dB)
FREQUENCY ( ×
f
IN2
) (Hz)
0
–20
–40
–60
–80
–100
02.01.81.61.41.21.00.80.60.40.2
MODE 1
MODE 3
MODE 7
MODE 5
09691-048
MAGNITUDE ( dB)
FREQUENCY ( ×
f
IN2
) (Hz)
5
5fIN/4
fIN
Complex
Figure 41 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 the stop-band rejection supported by the HB1 filter at different bandwidths.
Figure 41. Pass-Band Detail of HB1
Table 16. HB1 Pass-Band and Stop-Band Performance by
Bandwidth
Bandwidth (% of f
IN1
)
Pass-Band
Flatness (dB)
Stop-Band
Rejection (dB)
80 0.001 85
80.4 0.0012 80
81.2 0.0033 70
82 0.0076 60
83.6 0.0271 50
85.6 0.1096 40
Half-Band Filter 2 (HB2)
HB2 has eight modes of operation, as shown in Figure 42 and
Figure 43. 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.
Figure 42. HB2, Even Filter Modes
As shown in Figure 42 and Figure 43, the center frequency in
each mode is offset by one-fourth the input data rate (f
the filter. Mode 0 through Mode 3 do not modulate the input
signal. Mode 4 through Mode 7 modulate the input signal by
f
IN2
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. Table 17 summarizes
the HB2 modes.
Table 17. HB2 Filter Modes
Mode f
0 DC None Real or complex
1 fIN/4 None Complex
2 fIN/2 None Complex
3 3fIN/4 None Complex
4 fIN fIN Real or complex
6 3fIN/2 fIN Complex
7 7fIN/4 fIN Complex
Rev. A | Page 33 of 56
Figure 43. HB2, Odd Filter Modes
) of
IN2
. When operating in Mode 0 and Mode 4, the I and Q paths
CENTER
f
Input Data
MOD
Page 34
AD9146 Data Sheet
0.02
0
–0.02
–0.04
–0.06
–0.08
–0.10
00.320.280.240.200.160.120.080.04
09691-049
MAGNITUDE ( dB)
FREQUENCY ( ×
f
IN2
) (Hz)
2
11 (Mode 3)
Bypass
f
3f
/2
Figure 44 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.
Table 18. HB2 Pass-Band and Stop-Band Performance by
Bandwidth
Bandwidth (% of f
IN2
)
Pass-Band
Flatness (dB)
Stop-Band
Rejection (dB)
50 0.001 85
50.8 0.0012 80
52.8 0.0028 70
56 0.0089 60
60 0.0287 50
64.8 0.1877 40
DATAPATH CONFIGURATION
Configuring the AD9146 datapath starts with the application
requirements of the input data rate, the interpolation ratio, the
output signal bandwidth, and the output signal center frequency.
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.
Figure 44. Pass-Band Detail of HB2
DETERMINING INTERPOLATION FILTER MODES
Tabl e 19 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
(f
), the filter configuration that comes closest to matching
2 00 (Mode 0) Bypass DC 0
2 01 (Mode 1) Bypass DC1 f
2 10 (Mode 2) Bypass f
1
When HB1 Mode 1 or Mode 3 is used, enabling premodulation provides an additional frequency translation of the input signal by f
input signal in the filter pass band.
f
DATA
1
DATA
Shift HB1[1:0] HB2[5:0]
CENTER
/2
DATA
DATA
/2
DATA
DATA
/2
DATA
DATA
/2
DATA
/2
DATA
DATA
DATA
/2, which centers a baseband
DATA
Rev. A | Page 34 of 56
Page 35
Data Sheet AD9146
Q = Q, r(Q − I), −I, −r(Q + I), −Q, r(−Q + I), I, r(Q + I), …
2
2
=r
0x00000x40000x80000xC0000xFFFF
5
10
15
20
5
10
15
20
0
0
DAC OFFSE T VALUE
I
OUTxN
(mA)
I
OUTxP
(mA)
09691-050
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
C(t) = cos(ω
In practice, this modulation results in the mixing functions
shown in Tab l e 20.
Table 20. Modulation Mixing Sequences
Modulation Mixing Sequence
fS/2 I = I, −I, I, −I, …
Q = Q, −Q, Q, −Q, …
fS/4 I = I, Q, −I, −Q, …
Q = Q, −I, −Q, I, …
3fS/4 I = I, −Q, −I, Q, …
Q = Q, I, −Q, −I, …
fS/8 I = I, r(I + Q), Q, r(−I + Q), −I, −r(I + Q), −Q, r(I − Q), …
Note that
As shown in Ta bl e 20, 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 f
means that real modulation using both the I and Q DAC outputs
can only be done in f
require complex input data and produce complex output signals.
t) + j sin(ωct)
c
/2 mode. This
S
/2 mode. All other modulation modes
S
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 45 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 45 shows the nominal I
as the DAC offset value is swept from 0 to 65,535. Because I
and I
and I
are complementary current outputs, the sum of I
OUTxN
is always 20 mA.
OUTxN
OUTxP
and I
OUTxN
currents
OUTxP
OUTxP
QUADRATURE PHASE CORRECTION
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.
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.
Rev. A | Page 35 of 56
Figure 45. DAC Output Currents vs. DAC Offset Value
Page 36
AD9146 Data Sheet
–3.0
–3.2
–3.4
–3.6
–3.8
–4.0
00.50.30.40.20.1
MAGNITUDE ( dB)
f
OUT
/
f
DAC
09691-051
INVERSE SINC FILTER
The inverse sinc (sinc−1) filter is a nine-tap FIR filter. The composite
response of the sinc
is shown in Figure 46. The composite response has a pass-band
ripple of less than ±0.05 dB up to a frequency of 0.4 × f
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 46 shows the composite frequency response.
The sinc
−1
filter is disabled by default. It can be enabled by setting
the bypass sinc
−1
filter and the sin(x)/x response of the DAC
−1
bit to 0 (Register 0x1B, Bit 6).
DACCLK
. To
Figure 46. Sample Composite Responses of the Sinc
−1
Filter
with sin(x)/x Roll-Off
Rev. A | Page 36 of 56
Page 37
Data Sheet AD9146
1.25V
5kΩ
5kΩ
DACCLKP,
REFCLKP
DACCLKN,
REFCLKN
09691-052
DACCLKP/DACCLKN
(PIN 3 AND PIN 4)
ADC
VCO
LOOP
FILTER
REFCLKP/REFCLKN
(PIN 6 AND PIN 7)
REG 0x0E[3:0]
VCO CONTROL
VOLTAGE
REG 0x0D[3:2]
N0
REG 0x0D[1:0]
N1
÷N1
÷N0
REG 0x06[7:6]
PLL LOCK LOST
PLL LOCKED
PHASE
DETECTION
REG 0x0A[7]
PLL ENABL E
REG 0x0D[7:6]
N2
÷N2
DACCLK
PC_CLK
09691-053
DAC INPUT CLOCK CONFIGURATIONS
The AD9146 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.
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.
DRIVING THE DACCLK AND REFCLK INPUTS
The differential DACCLK and REFCLK inputs share similar
clock receiver input circuitry. Figure 47 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 minimum input drive level to either of the clock inputs is
100 mV p-p differential. The optimal performance is achieved
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 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
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 48.
The clock multiplication circuit operates such that the VCO
outputs a frequency, f
frequency multiplied by N1 × N0.
f
VCO
= f
× (N1 × N0)
REFCLK
The DAC sampling clock frequency, f
= f
f
DACCLK
REFCLK
The output frequency of the VCO must be chosen to keep f
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.
, equal to the REFCLK input signal
VCO
, is equal to
DACCLK
× N1
VCO
Figure 48. PLL Clock Multiplication Circuit
Rev. A | Page 37 of 56
Page 38
AD9146 Data Sheet
PLL Cross-Control Enable
0x0D
4
1
0
4
8
12
16
20
24
28
32
36
40
44
48
52
56
60
1000220020001800160014001200
PLL BAND
VCO FREQUENCY (MHz)
09691-054
1100
PLL SETTINGS
Three settings for the PLL circuitry should be programmed to
their nominal values. The PLL values shown in Table 21 are the
recommended settings for these parameters.
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 49. 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.
Manual VCO Band Select
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:
1. Put the device in manual band select mode by setting
Register 0x0A, Bit 6 = 1.
2. Sweep the VCO band over a range of bands that results in
the PLL being locked.
3. For each band, verify that the PLL is locked and read the
PLL using the VCO control voltage bits (Register 0x0E,
Bits[3:0]).
4. Select the band that results in the control voltage being
closest to the center of the range, that is, 1001 or 1000 (see
Tabl e 22). 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]).
5. If desired, an indication of where the VCO is within the
operating frequency band can be determined by querying
the VCO control voltage. Table 22 shows how to interpret
the PLL VCO control voltage value (Register 0x0E, Bits[3:0]).
Figure 49. 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 −40°C to +85°C
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.)
Table 22. VCO Control Voltage Range Indications
VCO Control Voltage
(Register 0x0E, Bits[3:0]) Indication
1111 Move to higher VCO band
1110
1101 VCO is operating in the higher end
of the frequency band
1011
1010
1001 VCO is operating within an optimal
1000
0111
region of the frequency band
0110
0101 VCO is operating in the lower end
0100
of the frequency band
0011
0010
0001 Move to lower VCO band
0000
Rev. A | Page 38 of 56
Page 39
Data Sheet AD9146
I DAC
IOUT1P
IOUT1N
Q DAC
IOUT2N
IOUT2P
CURRENT
SCALING
I DAC FS ADJUST
REGIST E R 0x40
Q DAC FS ADJUST
REGIST E R 0x44
0.1µF
10kΩ
R
SET
FSADJ
REFIO
5kΩ
1.2V
09691-055
×+×=DAC gain
R
V
I
SET
REF
FS
16
3
72
35
0
0
1000
DAC GAIN CODE
I
FS
(mA)
30
25
20
15
10
5
200400600800
09691-056
FS
N
OUTxP
I
DACCODE
I×
=
2
OUTxP
FS
OUTxN
III−=
ANALOG OUTPUTS
TRANSMIT DAC OPERATION
Figure 50 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 (I
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.
) is nominally 20 mA.
FS
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, R
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 R
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:
For the nominal values of V
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 51.
Figure 50. Simplified Block Diagram of DAC Core
, must be connected from the
SET
is reflected in the full-scale
SET
(1.2 V), R
REF
SET
(10 kΩ), and
Figure 51. DAC Full-Scale Current vs. DAC Gain Code
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
(1)
(2)
where DACCODE = 0 to 2
N
− 1.
Transmit DAC Output Configurations
The optimum noise and distortion performance of the AD9146
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. A | Page 39 of 56
Page 40
AD9146 Data Sheet
R
O
R
O
V
IP
+
V
IN
–
V
OUTI
IOUT1P
IOUT1N
R
O
R
O
V
QP
+
V
QN
–
V
OUTQ
IOUT2P
IOUT2N
09691-057
+V
PEAK
V
P
V
OUT
V
N
V
CM
0
–V
PEAK
09691-058
O
FS
CM
R
I
V×=
2
–85
–80
–75
–70
–65
–60
–55
–50
00.20.40.60.81.01.21.4
IMD (dBc)
I
FS
= 10mA
I
FS
= 20mA
I
FS
= 30mA
V
CM
(V)
09691-004
IOUT1P
IOUT1N
I DAC
V
B
I AUX DAC
CURRENT
DIRECTION
I AUX DAC[9:0]
I AUX DAC
SIGN
09691-061
Figure 52 shows the most basic transmit DAC output circuitry.
A pair of resistors, R
mentary output currents to a differential voltage output, V
Because the current outputs of the DAC are high impedance,
the differential driving point impedance of the DAC outputs,
R
, is equal to 2 × RO. Figure 53 illustrates the output voltage
OUT
waveforms.
, is used to convert each of the comple-
O
OUT
.
Figure 52. Basic Transmit DAC Output Circuit
Figure 53. Output Voltage Waveforms
The common-mode signal voltage, VCM, is calculated as
The peak output voltage, V
V
= IFS × RO
PEAK
, is calculated as
PEAK
With this circuit configuration, the single-ended peak voltage is
the same as the peak differential output voltage.
Transmit DAC Linear Output Signal Swing
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, I
Figure 54 shows the IMD performance vs. the output commonmode voltage at different full-scale currents.
The AD9146 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 55.
Figure 55. Auxiliary DAC Structure
The control registers for the I and Q auxiliary DACs are
Register 0x42, Register 0x43, Register 0x46, and Register 0x47.
Page 41
Data Sheet AD9146
RBIP
50Ω
RBIN
50Ω
47
46
IBBN
IBBP
AD9146
ADL537x
RBQN
50Ω
RBQP
50Ω
38
39
RLI
100Ω
RLQ
100Ω
IOUT1N
IOUT1P
IOUT2P
IOUT2N
QBBP
QBBN
09691-062
)2(
)2(
LB
LB
FSSIGNAL
RR
RR
IV
+×
××
×=
47
46
IBBN
IBBP
AD9146
ADL5375-15
39
38
21
22
9
10
RBIP
45.3Ω
RBIN
45.3Ω
RBQN
45.3Ω
RBQP
45.3Ω
RLIP
3480Ω
RLIN
3480Ω
RLQN
3480Ω
RLQP
3480Ω
IOUT1N
IOUT1P
IOUT2P
IOUT2N
QBBP
QBBN
RSIP
1kΩ
RSIN
1kΩ
RSQN
1kΩ
RSQP
1kΩ
5V
5V
09691-063
AD9146
50Ω
50Ω
33nH
33nH
2pF
56nH
56nH
100Ω
6pF
3pF
3pF
22pF
22pF
ADL537x
09691-064
INTERFACING TO MODULATORS
The AD9146 interfaces to the ADL537x family of modulators
with a minimal number of components. An example of the
recommended interface circuitry is shown in Figure 56.
Figure 56. Typical Interface Circuitry Between the AD9146 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
Figure 58 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.
DRIVING THE ADL5375-15
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 57. 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.
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.
Figure 58. DAC Modulator Interface with Fifth-Order, Low-Pass Filter
Figure 57. Passive, Level-Shifting Network for Biasing the ADL5375-15
Rev. A | Page 41 of 56
Page 42
AD9146 Data Sheet
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.
The AD9146 has three supply rails: AVDD33, DVDD18, and
CVDD18.
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 54 mA (188 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 34 mA.
The DVDD18 supply powers all of the digital signal processing
blocks of the device. The serial port I/O pins, the
and the
supply. The power consumption from this supply is a function
of which digital blocks are enabled and the frequency at which
the device is operating.
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 mA when enabled.
Figure 59 through Figure 61 show the power dissipation of
the AD9146 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 with the analog output frequency. Figure 59 shows the total
power dissipation. Figure 60 and Figure 61 show the power
dissipation of the DVDD18 and CVDD18 supplies.
Maximum power dissipation can be estimated to be 20% higher
than the typical power dissipation.
IRQ
pin are also supplied from the DVDD18 power
Figure 59. Total Power Dissipation vs. f
RESET
Without PLL and Inverse Sinc
DATA
pin,
Rev. A | Page 43 of 56
Figure 60. DVDD18 Power Dissipation vs. f
Without Inverse Sinc
DATA
Figure 61. CVDD18 Power Dissipation vs. f
with PLL Disabled
DATA
Tx ENABLE
The Tx enable feature provides additional power management
techniques that can be implemented in system applications. The
TXENABLE pin, when taken to a logic low, stops the transmission of data from the part and clamps the outputs to midscale.
In addition, various portions of the DAC can be powered down
while the pin is held low, depending on the power saving requirements of the system and the amount of wake-up time required
when the pin is brought high.
Register 0x02 contains the bit controls to power down these
individual blocks: DAC cores, FIFO, interpolation filters, PLL,
and the internal reference. Depending on the power-down bits
selected, the necessary wake-up time and reprogramming of the
DAC may vary.
Page 44
AD9146 Data Sheet
Delay 1 (0x60)
The Tx enable feature also allows for an extended delay from
when the TXENABLE pin is brought high to when the DAC
outputs begin transmitting the data present in the FIFO and
datapath. Two different delay lengths are available. These delays
allow the part to be set up properly during the delay time without transmitting false data and to begin receiving correct data
after the datapath is flushed. The amount of delay time to be
allotted for various wake-up times depends on the delay setting
used, as well as which portions of the DAC are powered down
and need to be reinitialized.
Tabl e 23 lists the minimum wait time required for the DAC to
begin transmitting again after the TXENABLE pin is brought
high. Regardless of the delay setting, there is an inherent fixed
delay of 10 DAC clock cycles for all the options listed in Table 23
before the DAC begins transmitting. Additionally, because the
Tx enable logic is timed from a divided-down rate of the DAC
clock—specifically, DAC/64—the number of edges that the part
waits for before allowing data to be transmitted from the DAC can
vary. Because the synchronization between the DAC/64 clock and
the Tx enable logic trigger is unknown, the number of DAC/64
clock edges that must be waited for before the outputs are released
can vary by up to one cycle.
Table 23. Wake-Up Time for Various Tx Enable Delay Settings
Number of
DAC/64 Edges
Register 0x02
No extended
delay (0x00)
Extended
Delay 0 (0x20)
Extended
1
Values may vary by up to one DAC/64 cycle for the amount of wake-up time
of each delay setting.
2
Values based on 737.28 MHz DAC rate condition; uses (number of DAC/64 +
10 DAC clocks) for calculation.
1
to Wait
1 10 360.82 ns
12 10
19 10
Additional
DAC Edges
to Wait
Minimum
Wait Time2
4.18 µs
6.611 µs
For timing purposes and to ensure that incorrect data is flushed,
the minimum wake-up time must be considered. This constraint
determines how soon the datapath must begin to be flushed.
Depending on which portions of the DAC are powered down
using the Tx enable feature, the amount of time required to start
setting up the part and flushing the datapaths must be adjusted.
An appropriate delay setting is required to accommodate the
earliest possible wake-up time needed for flushing before the
outputs are enabled.
In addition to the delays listed in Table 23, specific wake-up
times for individual powered-down portions of the AD9146
must be accounted for during the preparation time.
The following example provides a typical configuration that
uses the Tx enable feature to power down the interpolation
filters. This example provides guidelines for how to determine
the amount of wake-up time to design in a system.
• f
• f
= 184.32 MHz
DATA
= 737.28 MHz
DAC
• Interpolation = 4×
• Inverse sinc on
• Tx enable filter power-down option selected
• Datapath flush time = 175 DAC clocks
• t
• t
= 1.36 ns
DAC
DPFLU SH
= 238 ns
The minimum wake-up time with no delay setting is 360.82 ns
(see Tabl e 23). In this example, the time required to flush the
datapath is only 238 ns. Therefore, if datapath flushing is done
simultaneous to the TXENABLE pin being brought high, there
is enough time for the flush to complete before the minimum
possible time that the outputs can begin transmitting. For each
individual case, the amount of time needed to flush the datapath must be accounted for when calculating the minimum
time after which the DACs can begin transmitting data.
The TXENABLE pin must be held high while the part is being
powered up. After the part is powered up, the pin can be brought
low to clamp the outputs, when desired. Note that the pin
cannot be held low during power-up because the circuit logic is
transition sensitive and the part must see a falling edge before it
clamps the outputs.
TEMPERATURE SENSOR
The AD9146 has a band gap temperature sensor for monitoring
the temperature change of the AD9146. 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.
To monitor temperature change, the user must take a reading
at a known ambient temperature for a single-point calibration
of each AD9146 device.
Tx = T
where:
Code_x is the readback code at the unknown temperature, Tx.
Code_ref is the readback code at the calibrated temperature, T
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.
+ 7.7 × (Code_x − Code_ref)/1000 + 1
REF
REF
.
Rev. A | Page 44 of 56
Page 45
SYSTEM
CLOCK
LOW SKEW
CLOCK DRIVE R
MATCHED
LENGTH TRACES
REFCLKP/
REFCLKN
FRAMEP/
FRAMEN
DCIP/
DCIN
REFCLKP/
REFCLKN
FRAMEP/
FRAMEN
DCIP/
DCIN
IOUT1P/
IOUT1N
IOUT2P/
IOUT2N
FPGA
09691-069
Data Sheet AD9146
MULTICHIP SYNCHRONIZATION
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.
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 AD9146 has provisions for enabling multiple devices
to be synchronized to each other or to a system clock.
The AD9146 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, “Synchro-
nization of Multiple AD9122 TxDAC+ Converters.”
Rev. A | Page 45 of 56
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 as 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 62.
Figure 62. 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 AD9146, all the clock signals (DACCLK,
DCI, FRAME, synchronization, and REFCLK) must be present and
stable before the synchronization feature is turned on. Configure
the AD9146 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.
Page 46
AD9146 Data Sheet
REFCLKP(1)/
REFCLKN(1)
REFCLKP(2)/
REFCLKN(2)
DCIP(2)/
DCIN(2)
FRAMEP(2)/
FRAMEN(2)
t
SKEW
t
SDCItHDCI
09691-070
DACCLKP/
DACCLKN
FRAMEP/
FRAMEN
REFCLKP/
REFCLKN
DCIP/
DCIN
IOUT1P/
IOUT1N
DCIP/
DCIN
DACCLKP/
DACCLKN
REFCLKP/
REFCLKN
FRAMEP/
FRAMEN
IOUT2P/
IOUT2N
SAMPLE
RATE CLOCK
LOW SKEW
CLOCK DRIVE R
SYNC
CLOCK
LOW SKEW
CLOCK DRIVE R
MATCHED
LENGTH TRACES
FPGA
09691-071
Figure 63. Timing Diagram Required for Synchronizing Devices
Figure 64. 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 t
ns. When resetting
SKEW
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 63.
Figure 63 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.)
f
= f
SYNC_I
where N = 0, 1, 2, or 3.
As an example, a configuration with 4× interpolation and clock
frequencies of f
200 MHz, and f
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
/2N and f
DACCLK
= 1600 MHz, f
VCO
= 100 MHz is a viable solution.
SYNC_I
SYNC_I
≤ f
DACCLK
DATA
= 800 MHz, f
=
DATA
Rev. A | Page 46 of 56
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 64).
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 AD9146 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.
Page 47
Data Sheet AD9146
Reset the FIFO by strobing the FRAME signal high for two
complete DCI periods. Resetting the FIFO ensures that the
correct data is being read from the FIFO of each of the devices
simultaneously.
This completes the synchronization procedure; all devices should
now be synchronized.
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[7:0]P/D[7:0]N must meet the setup
and hold times with respect to the rising edge of DACCLK.
REFCLK must also meet the setup and hold times with
respect to the rising edge of DACCLK.
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 65.
t
SKEW
DACCLKP(1)/
DACCLKN(1)
DACCLKP(2)/
DACCLKN(2)
REFCLKP(2)/
REFCLKN(2)
FRAMEP(2)/
FRAMEN(2)
t
SDCItHDCI
DCIP(2)/
DCIN(2)
Figure 65. Data Rate Synchronization Signal Timing Requirements,
t
SUSYNC
2× Interpolation
t
HSYNC
Figure 65 shows the synchronization signal timing with 2×
interpolation; therefore, f
= ½ × f
DCI
. The REFCLK input is
CLK
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
= f
f
SYNC_I
DATA
/2N
where N is any non-negative integer.
Generally, for values of N greater than or equal to 3, select the
FIFO rate synchronization mode.
When synchronization is used in data rate mode, the timing
constraint between the DCI and DACCLK must be met according to Table 24. In data rate mode, the allowed phase drift between
the DCI and DACCLK is limited to one DCI period. 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 66.
t
DATA
DACCLK/
REFCLK
DATA VALID
WINDOW
DCI
t
SDCI
t
HDCI
Figure 66. Timing Diagram for Input Data Port (Data Rate Mode)
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
09691-072
on each individual device.
Procedure for FIFO Rate Synchronization When Directly
Sourcing the DAC Sampling Clock
Configure the AD9146 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.
Reset the FIFO by strobing the FRAME signal high for two complete
DCI periods. Resetting the FIFO ensures that the correct data is
being read from the FIFO of each of the devices simultaneously.
This completes the synchronization procedure; all devices should
now be synchronized.
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[7:0]P/D[7:0]N must meet the setup
and hold times with respect to the rising edge of DACCLK.
REFCLK must also meet the setup and hold times with
respect to the rising edge of DACCLK.
Rev. A | Page 47 of 56
Page 48
DACCLKP(1)/
DACCLKN(1)
DACCLKP(2)/
DACCLKN(2)
REFCLKP(2)/
REFCLKN(2)
DCIP(2)/
DCIN(2)
FRAMEP(2)/
FRAMEN(2)
t
SKEW
t
SUSYNC
t
HSYNC
09691-073
AD9146 Data Sheet
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 67.
Figure 67. FIFO Rate Synchronization Signal Timing Requirements,
2× Interpolation
Figure 67 shows the synchronization signal timing with 2×
interpolation; therefore, f
= ½ × f
DCI
. The REFCLK input is
CLK
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
f
= f
SYNC_I
DATA
/(8 × 2N)
where N is any non-negative integer.
ADDITIONAL SYNCHRONIZATION FEATURES
Table 25 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 25. Synchronization Setup and Hold Times
Parameter Min Max Unit
t
−t
SKEW
t
100 ps
SUSYNC
t
330 ps
HSYNC
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.”
DACCLK
/2 +t
/2 ps
DACCLK
Rev. A | Page 48 of 56
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) × 64 to (11 + averaging) ×
128 DACCLK cycles. The sync locked bit can also trigger an
as described in the Interrupt Request Operation section.
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.
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 ¼ state accuracy (for 0, ¼, ½, ¾).
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.
Timing Optimization
The REFCLK signal 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 REFCLK signal 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 REFCLK signal, 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.
IRQ
,
Page 49
Data Sheet AD9146
INTERRUPT_ENABLE
EVENT_FLAG_SOURCE
DEVICE_RESET
EVENT_FLAG
INTERRUPT_
SOURCE
1
0
OTHER
INTERRUPT
SOURCES
IRQ
WRITE_1_TO_EVENT_FLAG
09691-074
INTERRUPT REQUEST OPERATION
The AD9146 provides an interrupt request output signal on
IRQ
Pin 34 (
) 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
the
IRQ
pin is an open-drain, active low output. Pull
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 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
Figure 68 shows the
flag signals propagate to the
IRQ
pin remains inactive.
IRQ
-related circuitry and how the event
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_WA R NI N G_ 1 signal from the FIFO controller.
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.
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 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
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
to clear an interrupt request:
1. Read the status of the event flag bits that are being
monitored.
2. Set the interrupt enable bit low so that the unlatched
EVENT_FLAG_SOURCE signal can be monitored directly.
3. Perform any actions that may be required to clear the
EVENT_FLAG_SOURCE. In many cases, no specific
actions may be required.
4. Read the event flag to verify that the actions taken have
cleared the EVENT_FLAG_SOURCE.
5. Clear the interrupt by writing 1 to the event flag bit.
6. 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 1 1 .
IRQ
activation, run the following routine
Figure 68. Simplified Schematic of
Rev. A | Page 49 of 56
IRQ
Circuitry
Page 50
AD9146 Data Sheet
FRAME
DATA
I
0MSBI0LSBQ0MSBQ0LSBI1MSBI1LSBQ1MSBQ1LSB
09691-075
Register 0x67, Bit 5 (Sample Error Detected)
0 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1
INTERFACE TIMING VALIDATION
The AD9146 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.
SED OPERATION
The SED circuitry operates on a data set made up of four 16-bit
input words divided into eight 8-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 69 shows the input timing of the interface in byte 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.
Figure 69. Timing Diagram of Extended FRAME Signal Required to Align
Input Data for SED
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 eight sample set comparisons
are error free. The compare fail bit is set if an error is detected.
The compare fail bit is not activated until the part has received
eight error-free sample set comparisons, that is, the pass bit has
gone high at least once. Once enabled, the compare fail bit is
automatically cleared by the reception of eight consecutive errorfree 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
set comparisons are made.
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).
Tabl e 26 shows a progression of the input sample comparison
results and the corresponding states of the error flags.
Table 26. Progression of Input Sample Comparison Results and the Resulting SED Register Values
Compare Results (Pass/Fail) P F F F P P P P P P P P P F P F
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. 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: I
Register 0x69: I
Register 0x6A: Q
Register 0x6B: Q
Register 0x6C: I
Register 0x6D: I
Register 0x6E: Q
Register 0x6F: Q
2. Enable the SED error detect flag to assert the
(Set Register 0x05 to 0x04.)
3. Begin transmitting the input data pattern.
0LSB
0MSB
0MSB
1LSB
1MSB
1LSB
1MSB
0LSB
IRQ
pin.
4. Write to Register 0x67 to enable the SED.
(Set Register 0x67 to 0x80.)
5. 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.
IRQ
If
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).
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 33 and
Figure 34, respectively.
Rev. A | Page 51 of 56
Page 52
AD9146 Data Sheet
EXAMPLE START-UP ROUTINE
To ensure reliable start-up of the AD9146, 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
The following device configuration is used for this example.
•f
= 122.88 MSPS
DATA
• Interpolation is 4×, using HB1 = 10 and HB2 = 010010
• Input data is baseband data
• f
• f
= 140 MHz
OUT
= 122.88 MHz
REFCLK
• PLL is enabled
• Inverse sinc filter is enabled
• Synchronization is enabled
DERIVED PLL SETTINGS
The following PLL settings can be derived from the device
configuration.
= f
•f
DACCLK
•f
VCO
= 4 × f
• N1 = f
• N2 = f
× interpolation = 491.52 MHz
DATA
= 1966.08 MHz (1 GHz < f
DACCLK
DACCL K/fREFCLK
VCO/fDACCLK
= 4
= 4
< 2 GHz)
VCO
START-UP SEQUENCE
The following sequence configures the power clock and register
write sequencing for reliable device start-up.
Power up Device (no specific power supply
sequence is required)