PDF Data Sheet Rev. 0

Dual, 16-Bit, 2.25 GSPS, TxDAC+
Digital-to-Analog Converter
AD9152
Data Sheet
FEATURES
GENERAL DESCRIPTION
Supports input data rates up to 1.125 GSPS
Proprietary low spurious and distortion design
Single carrier LTE 20 MHz bandwidth (BW), ACLR = 77 dBc
at 180 MHz IF
SFDR = 72 dBc at 150 MHz IF, −6 dBFS
Flexible 4-lane JESD204B interface
Multiple chip synchronization
Fixed latency
Data generator latency compensation
Selectable 1×, 2×, 4×, and 8× interpolation filter
Low power architecture
Input signal power detection
Emergency stop for downstream analog circuitry protection
Transmit enable function allows extra power saving
High performance, low noise, phase-locked loop (PLL) clock
multiplier
Digital inverse sinc filter and programmable finite impulse
response (FIR) filter
Low power: 1223 mW at 1.5 GSPS, 1406 mW at 2.0 GSPS, full
operating conditions
56-lead LFCSP with exposed pad
The AD9152 is a dual, 16-bit, high dynamic range digital-toanalog converter (DAC) that provides a maximum sample rate of
2.25 GSPS, permitting a multicarrier generation up to the Nyquist
frequency. The DAC outputs are optimized to interface seamlessly with the ADRF6720 analog quadrature modulator (AQM)
from Analog Devices, Inc. An optional 3-wire or 4-wire serial
port interface (SPI) provides for programming/readback of
many internal parameters. The full-scale output current can be
programmed over a range of 4 mA to 20 mA. The AD9152 is
available in a 56-lead LFCSP. The AD9152 is a member of the
TxDAC+® family.
PRODUCT HIGHLIGHTS
1.
2.
3.
4.
APPLICATIONS
5.
Wireless communications
Multicarrier LTE and GSM base stations
Wideband repeaters
Software defined radios
Wideband communications
Point to point microwave radios
LMDS/MMDS
Transmit diversity, multiple input/multiple output (MIMO)
Instrumentation
Automated test equipment
6.
Ultrawide signal bandwidth enables emerging wideband
and multiband wireless applications.
Advanced low spurious and distortion design techniques
provide high quality synthesis of wideband signals from
baseband to high intermediate frequencies.
JESD204B Subclass 1 support simplifies multichip
synchronization in software and hardware design.
Fewer pins for data interface width with the serializer/
deserializer (SERDES) JESD204B four-lane interface.
Programmable transmit enable function allows easy design
balance between power consumption and wake-up time.
Small package size with an 8 mm × 8 mm footprint.
FUNCTIONAL BLOCK DIAGRAM
QUAD MOD
ADRF6720
CTRL
LPF
DUAL
DAC
DAC
RF
OUTPUT
AMP
AMP
0/90° PHASE
SHIFTER
VGA
JESD204B
SYNC
SYSREF
DAC
MOD_SPI
DAC
SPI
12994-001
AD9152
LO_IN
Figure 1.
Rev. 0
Document Feedback
Information furnished by Analog Devices is believed to be accurate and reliable. However, no
responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other
rights of third parties that may result from its use. Specifications subject to change without notice. No
license is granted by implication or otherwise under any patent or patent rights of Analog Devices.
Trademarks and registered trademarks are the property of their respective owners.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781.329.4700
©2015 Analog Devices, Inc. All rights reserved.
Technical Support
www.analog.com
AD9152
Data Sheet
TABLE OF CONTENTS
Features .............................................................................................. 1
JESD204B Setup ......................................................................... 27
Applications ....................................................................................... 1
SERDES Clocks Setup ................................................................ 28
General Description ......................................................................... 1
Equalization Mode Setup .......................................................... 28
Product Highlights ........................................................................... 1
Link Latency Setup ..................................................................... 28
Functional Block Diagram .............................................................. 1
Crossbar Setup ............................................................................ 30
Revision History ............................................................................... 3
JESD204B Serial Data Interface .................................................... 31
Detailed Functional Block Diagram .............................................. 4
JESD204B Overview .................................................................. 31
Specifications..................................................................................... 5
Physical Layer ............................................................................. 32
DC Specifications ......................................................................... 5
Data Link Layer .......................................................................... 35
Digital Specifications ................................................................... 6
Transport Layer .......................................................................... 43
Maximum DAC Update Rate Speed Specifications by Supply..... 7
JESD204B Test Modes ............................................................... 51
JESD204B Serial Interface Speed Specifications ...................... 7
JESD204B Error Monitoring..................................................... 52
SYSREF± to DAC Clock Timing Specifications ....................... 8
Digital Datapath ............................................................................. 54
Digital Input Data Timing Specifications ................................. 8
Data Format ................................................................................ 54
Latency Variation Specifications ................................................ 9
Interpolation Filters ................................................................... 54
JESD204B Interface Electrical Specifications ........................... 9
Digital Modulation ..................................................................... 55
AC Specifications........................................................................ 10
NCO Alignment ......................................................................... 56
Absolute Maximum Ratings .......................................................... 11
Inverse Sinc ................................................................................. 57
Thermal Resistance .................................................................... 11
Programmable FIR Filter (PFIR) ............................................. 57
ESD Caution ................................................................................ 11
Pin Configuration and Function Descriptions ........................... 12
Digital Gain, Phase Adjust, DC Offset, and Coarse Group
Delay ............................................................................................ 57
Terminology .................................................................................... 14
Downstream Protection ............................................................ 59
Typical Performance Characteristics ........................................... 15
Datapath PRBS ........................................................................... 61
Theory of Operation ...................................................................... 20
DC Test Mode ............................................................................. 62
Serial Port Operation ..................................................................... 21
Interrupt Request Operation ........................................................ 63
Data Format ................................................................................ 21
Interrupt Service Routine .......................................................... 63
Serial Port Pin Descriptions ...................................................... 21
DAC Input Clock Configurations ................................................ 64
Serial Port Options ..................................................................... 21
Driving the DACCLK± AND REFCLK± Inputs ................... 64
Chip Information ............................................................................ 23
DAC PLL Fixed Register Writes ............................................... 64
Device Setup Guide ........................................................................ 24
Condition Specific Register Writes .......................................... 65
Overview...................................................................................... 24
Starting the PLL .......................................................................... 66
Step 1: Start Up the DAC ........................................................... 24
Analog Outputs............................................................................... 67
Step 2: Digital Datapath ............................................................. 25
Transmit DAC Operation.......................................................... 67
Step 3: Transport Layer .............................................................. 25
Temperature Sensor ....................................................................... 68
Step 4: Physical Layer ................................................................. 26
Example Start-Up Sequence .......................................................... 69
Step 5: Data Link Layer .............................................................. 26
Step 1: Start Up the DAC ........................................................... 69
Step 6: Optional Error Monitoring .......................................... 26
Step 2: Digital Datapath ............................................................. 70
Step 7: Optional Features ........................................................... 26
Step 3: Transport Layer .............................................................. 70
DAC PLL Setup ........................................................................... 27
Step 4: Physical Layer ................................................................. 70
Interpolation ............................................................................... 27
Step 5: Data Link Layer.............................................................. 70
Rev. 0 | Page 2 of 104
Data Sheet
AD9152
Step 6: Optional Error Monitoring ...........................................70
Device Configuration Register Map ......................................... 74
Board Level Hardware Considerations ........................................71
Device Configuration Register Descriptions .......................... 80
Power Supply Recommendations .............................................71
Outline Dimensions ......................................................................104
JESD204B Serial Interface Inputs (SERDIN0± to SERDIN3±) .. 71
Ordering Guide .........................................................................104
Register Map and Descriptions .....................................................74
REVISION HISTORY
4/15—Revision 0: Initial Version
Rev. 0 | Page 3 of 104
AD9152
Data Sheet
DETAILED FUNCTIONAL BLOCK DIAGRAM
DACCLK
DIV
AD9152
PLL
(40×)
HB1
HB3
FIFO
HB2
NCO FINE
MODULATION
PFIR
MODULUS DDS
INV
SINC
MODE CONTROL
COARSE DDS
±(fDAC/4), ±(fDAC/8) × N
HB1
HB2
HB3
DIGITAL
GAIN
[10:0]
DITHER
PHASE
ADJUST
DC
OFFSET
COARSE GROUP
DELAY
SERDIN0±
CLOCK DATA RECOVERY
AND CLOCK FORMATTER
I/Q
SERDIN3±
I DAC
16-BIT
IOUT+
IOUT–
DACCLK
Q DAC
16-BIT
DOWNSTREAM PROTECTION
QOUT+
QOUT–
SPI
TXEN
PLL_CTRL
SERIAL I/O
PORT
SYSREF
RCVR
CLK
RECIEVER
DACCLK
POWER-ON
RESET
DAC
PLL
DIV
REF
RECIEVER
I120
SYSREF+
SYSREF–
DACCLK+
DACCLK–
REFCLK+
REFCLK–
12994-002
(2, 4, 16, 32)
TXEN
IRQ
PLL_LOCK
RESET
REF AND
BIAS
DAC
ALIGN
DETECT
CLK_SEL
CONFIG
REGISTERS
CLOCK DISTRIBUTION
AND
CONTROL LOGIC
GAIN
JESD204B ERRORS
SYNCHRONIZATION
LOGIC
SDO
SDIO
SCLK
CS
SYNCOUT+
SYNCOUT–
GAIN
PDP
Figure 2. Detailed Functional Block Diagram
Rev. 0 | Page 4 of 104
Data Sheet
AD9152
SPECIFICATIONS
DC SPECIFICATIONS
AVDD33 = 3.3 V, SIOVDD33 = 3.3 V, IOVDD = 1.8 V, DVDD12 = 1.2 V, CVDD12 = 1.2 V, PVDD12 = 1.2 V, PLLVDD12 = 1.2 V,
SVDD12 = 1.2 V, SDVDD12 = 1.2 V, VTT = 1.2 V, TA = −40°C to +85°C, IOUTFS = 20 mA, unless otherwise noted.
Table 1.
Parameter
RESOLUTION
ACCURACY
Differential Nonlinearity (DNL)
Integral Nonlinearity (INL)
MAIN DAC OUTPUTS
Gain Error
I/Q Gain Mismatch
Full-Scale Output Current (IOUTFS)
Maximum Setting
Minimum Setting
Output Compliance Range
Output Resistance
Output Capacitance
Gain DAC Monotonicity
MAIN DAC TEMPERATURE DRIFT
Offset
Gain
Reference Voltage
REFERENCE
Internal Reference Voltage
ANALOG SUPPLY VOLTAGES
AVDD33
PVDD12, CVDD12
SVDD12, PLLVDD12, VTT
DIGITAL SUPPLY VOLTAGES
DVDD12, SDVDD12
SIOVDD33
IOVDD
POWER CONSUMPTION
Total Power
Test Conditions/Comments
Min
Typ
16
Max
±5.0
±10.0
With internal reference
Unit
Bits
LSB
LSB
−5.5
−4.5
−1.3
+5.5
+4.5
% FSR
% FSR
19.1
3.8
2.3
20.22
4.04
21.4
4.3
3.47
mA
mA
mV
MΩ
pF
Based on a 4 kΩ external resistor between I120 and ground
15
3.0
Guaranteed
0.1
35
25
ppm/°C
ppm/°C
ppm/°C
0.5
V
±5%
±5%
±2%
±5%
±2%
3.13
1.14
1.274
1.14
1.274
3.3
1.2
1.3
1.2
1.3
3.47
1.26
1.326
1.26
1.326
V
V
V
V
V
±5%
±2%
±5%
±5%
1.14
1.274
3.13
1.71
1.2
1.3
3.3
1.8
1.26
1.326
3.47
3.47
V
V
V
V
2× interpolation mode, fDAC = 1.5 GSPS, IF = 70 MHz, PLL
off, INVSINC on, digital gain on, NCO on, JESD204B
Mode 4, four SERDES lanes with 7.5 Gbps lane rate,
IOUTFS = 20 mA
AVDD33
PVDD12
CVDD12
SDVDD12 and SVDD12
(Includes PLLVDD12 and VTT)
DVDD12
SIOVDD33 and IOVDD
OPERATING TEMPERATURE RANGE
−40
Rev. 0 | Page 5 of 104
1223
mW
87
11
179
328
mA
mA
mA
mA
246
5.7
+25
mA
mA
°C
+85
AD9152
Data Sheet
DIGITAL SPECIFICATIONS
AVDD33 = 3.3 V, SIOVDD33 = 3.3 V, IOVDD = 1.8 V, DVDD12 = 1.2 V, CVDD12 = 1.2 V, PVDD12 = 1.2 V, PLLVDD12 = 1.2 V,
SVDD12 = 1.2 V, SDVDD12 = 1.2 V, VTT = 1.2 V, TA = −40°C to +85°C, IOUTFS = 20 mA, unless otherwise noted.
Table 2.
Parameter
CMOS INPUT LOGIC LEVEL
Input Voltage Logic
High
Low
CMOS OUTPUT LOGIC LEVEL
Output Voltage Logic
High
Low
Symbol
Min
1.8 V ≤ IOVDD ≤ 3.3 V
1.8 V ≤ IOVDD ≤ 3.3 V
0.7 × IOVDD
1.8 V ≤ IOVDD ≤ 3.3 V
1.8 V ≤ IOVDD ≤ 3.3 V
DVDD12 = CVDD12 = PVDD12 =
1.3 V ± 2%
1× interpolation 2
2× interpolation
4× interpolation
8× interpolation
DVDD12 = CVDD12 = PVDD12 =
1.3 V ± 2%
1× interpolation
2× interpolation
4× interpolation
8× interpolation
0.7 × IOVDD
Typ
Max
Unit
0.3 × IOVDD
V
V
0.3 × IOVDD
V
V
VIN
VOUT
MAXIMUM DAC UPDATE RATE 1
ADJUSTED DAC UPDATE RATE
INTERFACE 3
Number of JESD204B Lanes
JESD204B Serial Interface Speed
1238
2250
2250
2250
MSPS
MSPS
MSPS
MSPS
1238
1125
562.5
281.25
MSPS
MSPS
MSPS
MSPS
4
SVDD12 = SDVDD12 = PLLVDD12 =
1.3 V ± 2%
Per lane
Per lane
Minimum
Maximum
DAC CLOCK INPUT (DACCLK±)
Differential Peak-to-Peak Voltage
Common-Mode Voltage
Maximum Clock Rate
1.44
Gbps
Gbps
1000
600
2000
mV
mV
MHz
1000
600
2000
1000
mV
mV
MHz
2000
mV
2000
fDATA/(K × S)
mV
Hz
2250
400
Self biased input, ac-coupled
6 GHz ≤ fVCO ≤ 12 GHz
Lanes
12.38
400
Self biased input, ac-coupled
DVDD12 = CVDD12 = PVDD12 =
1.3 V ± 2%
REFERENCE CLOCK INPUT (REFCLK±)
Differential Peak-to-Peak Voltage
Common-Mode Voltage
Input Clock Frequency (PLL
Mode)
SYSTEM REFERENCE INPUT
(SYSREF±)
Differential Peak-to-Peak
Voltage
Common-Mode Voltage
SYSREF± Frequency 4
SYSREF± TO DAC CLOCK 5
Setup Time
Hold Time
Keep Out Window
Test Conditions/Comments
70
400
1000
0
SYSREF± differential swing = 1.2 V,
slew rate = 6.3 V/ns, hysteresis off (accoupled, and 0 V, 0.6 V, 1.25 V, 2.0 V dccoupled common-mode voltages)
tSSD
tHSD
KOW
−6
224
218
Rev. 0 | Page 6 of 104
ps
ps
ps
Data Sheet
Parameter
SPI
Maximum Clock Rate
Minimum SCLK Pulse Width
High
Low
SDIO to SCLK
Setup Time
Hold Time
SDO to SCLK
Data Valid Window
CS to SCLK
Setup Time
Hold Time
AD9152
Symbol
Test Conditions/Comments
Min
SCLK
IOVDD = 1.8 V
10
Typ
Max
Unit
MHz
tPWH
tPWL
8
12
ns
ns
tDS
tDH
5
2
ns
ns
tDV
26
ns
tSCS
tHCS
5
2
ns
ns
See Table 3 and Table 4 for detailed specifications for the DAC update rate conditions.
The maximum speed for 1× interpolation is limited by the JESD2040B interface. See Table 4 for details.
See Table 4 for detailed specifications for JESD2040B speed conditions.
4
K and S are JESD204B transport layer parameters. See Table 40 for the full definitions.
5
See Table 5 for detailed specifications for SYSREF± to DAC clock timing conditions.
1
2
3
MAXIMUM DAC UPDATE RATE SPEED SPECIFICATIONS BY SUPPLY
AVDD33 = 3.3 V, SIOVDD33 = 3.3 V, IOVDD = 1.8 V, DVDD12 = 1.2 V, CVDD12 = 1.2 V, PVDD12 = 1.2 V, PLLVDD12 = 1.2 V,
SVDD12 = 1.2 V, SDVDD12 = 1.2 V, VTT = 1.2 V, TA = −40°C to +85°C, IOUTFS = 20 mA, unless otherwise noted.
Table 3.
Parameter
MAXIMUM DAC UPDATE RATE
Test Conditions/Comments
DVDD12, CVDD12 = 1.2 V ± 5%
DVDD12, CVDD12 = 1.3 V ± 2%
Min
1.85
2.25
Typ
Max
Unit
GSPS
GSPS
JESD204B SERIAL INTERFACE SPEED SPECIFICATIONS
AVDD33 = 3.3 V, SIOVDD33 = 3.3 V, IOVDD = 1.8 V, DVDD12 = 1.2 V, CVDD12 = 1.2 V, PVDD12 = 1.2 V, PLLVDD12 = 1.2 V,
SVDD12 = 1.2 V, SDVDD12 = 1.2 V, VTT = 1.2 V, TA = −40°C to +85°C, IOUTFS = 20 mA, unless otherwise noted.
Table 4.
Parameter
HALF RATE
FULL RATE
OVERSAMPLING
Test Conditions/Comments
SVDD12, SDVDD12, PLLVDD12 = 1.2 V ± 5%
SVDD12, SDVDD12, PLLVDD12 = 1.3 V ± 2%
SVDD12, SDVDD12, PLLVDD12 = 1.2 V ± 5%
SVDD12, SDVDD12, PLLVDD12 = 1.3 V ± 2%
SVDD12, SDVDD12, PLLVDD12 = 1.2 V ± 5%
SVDD12, SDVDD12, PLLVDD12 = 1.3 V ± 2%
Rev. 0 | Page 7 of 104
Min
5.75
5.75
2.88
2.88
1.44
1.44
Typ
Max
11.00
12.38
5.53
6.19
2.69
3.09
Unit
Gbps
Gbps
Gbps
Gbps
Gbps
Gbps
AD9152
Data Sheet
SYSREF± TO DAC CLOCK TIMING SPECIFICATIONS
AVDD33 = 3.3 V, SIOVDD33 = 3.3 V, IOVDD = 1.8 V, DVDD12 = 1.2 V, CVDD12 = 1.2 V, PVDD12 = 1.2 V, PLLVDD12 = 1.2 V,
SVDD12 = 1.2 V, SDVDD12 = 1.2 V, VTT = 1.2 V, TA = −40°C to +85°C, IOUTFS = 20 mA, SYSREF± common-mode voltages = 0.0 V, 0.6 V,
1.25 V, and 2.0 V, unless otherwise noted.
Table 5.
Parameter
SYSREF
Hysteresis Off
Setup Time
Hold Time
Hysteresis On (HYS_CNTRL = 0x3FF)
Setup Time
Hold Time
Test Conditions/Comments
Differential swing = 1.2 V, slew rate = 6.3 V/ns
Min
Typ
Max
Unit
AC-coupled
DC-coupled
AC-coupled
DC-coupled
−9
−6
199
224
ps
ps
ps
ps
AC-coupled
DC-coupled
AC-coupled
DC-coupled
143
145
97
123
ps
ps
ps
ps
DIGITAL INPUT DATA TIMING SPECIFICATIONS
AVDD33 = 3.3 V, SIOVDD33 = 3.3 V, IOVDD = 1.8 V, DVDD12 = 1.2 V, CVDD12 = 1.2 V, PVDD12 = 1.2 V, PLLVDD12 = 1.2 V,
SVDD12 = 1.2 V, SDVDD12 = 1.2 V, VTT = 1.2 V, TA = −40°C to +85°C, IOUTFS = 20 mA, unless otherwise noted.
Table 6.
Parameter
LATENCY
Interface
Interpolation
1×
2×
4×
8×
Inverse Sinc
Fine Modulation
Coarse Modulation
fS/8
fS/4
Digital Phase Adjust
Digital Gain Adjust
Power-Up Time
1
Test Conditions/Comments
Register 0x011 from 0x60 to 0x00
PClock is the AD9152 internal processing clock and equals the lane rate ÷ 40.
Rev. 0 | Page 8 of 104
Min
Typ
Max
Unit
17
PClock 1 cycles
143
163
287
557
17
20
DAC clock cycles
DAC clock cycles
DAC clock cycles
DAC clock cycles
DAC clock cycles
DAC clock cycles
8
4
12
12
60
DAC clock cycles
DAC clock cycles
DAC clock cycles
DAC clock cycles
µs
Data Sheet
AD9152
LATENCY VARIATION SPECIFICATIONS
AVDD33 = 3.3 V, SIOVDD33 = 3.3 V, IOVDD = 1.8 V, DVDD12 = 1.2 V, CVDD12 = 1.2 V, PVDD12 = 1.2 V, PLLVDD12 = 1.2 V,
SVDD12 = 1.2 V, SDVDD12 = 1.2 V, VTT = 1.2 V, TA = −40°C to +85°C, IOUTFS = 20 mA, unless otherwise noted.
Table 7.
Parameter
DAC LATENCY VARIATION
Subclass 1
PLL Off
PLL On
Test Conditions/Comments
Given proper calibration of the local multiframe clock (LMFC) delay
Min
Typ
Max
Unit
−3
−4
0
+3
+4
DAC clock cycles
DAC clock cycles
DAC clock cycles
JESD204B INTERFACE ELECTRICAL SPECIFICATIONS
AVDD33 = 3.3 V, SIOVDD33 = 3.3 V, IOVDD = 1.8 V, DVDD12 = 1.2 V, CVDD12 = 1.2 V, PVDD12 = 1.2 V, PLLVDD12 = 1.2 V,
SVDD12 = 1.2 V, SDVDD12 = 1.2 V, VTT = 1.2 V, TA = −40°C to +85°C, IOUTFS = 20 mA, unless otherwise noted.
Table 8.
Parameter
JESD204B DATA INPUTS
Input Leakage Current
Logic High
Logic Low
Unit Interval
Common-Mode Voltage
Symbol
Differential Voltage
VTT Source Impedance
Differential Impedance
Differential Return Loss
Common-Mode Return Loss
DIFFERENTIAL OUTPUTS (SYNCOUT±) 2
Output Offset Voltage
Output Differential Voltage
R_VDIFF
ZTT
ZRDIFF
RLRDIF
RLRCM
Test Conditions/Comments
2
3
Max
Unit
81
−0.05
694
+1.85
µA
µA
ps
V
110
1050
30
120
mV
Ω
Ω
dB
dB
1.25
410
V
mV
17
2
PClock 3 cycles
PClock3 cycles
DAC clock cycles
TA = 25°C
Input level = 1.2 V ± 0.25 V, VTT = 1.2 V
Input level = 0 V
UI
VRCM
VOS
VOD
AC-coupled
VTT = SVDD12 1
At dc
At dc
High swing mode: Register 0x230,
Bit 0 = 1
Typ
10
−4
80
DETERMINISTIC LATENCY
Fixed
Variable
SYSREF± TO LMFC DELAY
1
Min
100
8
6
1.15
350
4
As measured on the input side of the ac coupling capacitor.
IEEE Standard 1596.3 LVDS compatible.
PClock is the AD9152 internal processing clock and equals the lane rate ÷ 40.
Rev. 0 | Page 9 of 104
AD9152
Data Sheet
AC SPECIFICATIONS
AVDD33 = 3.3 V, SIOVDD33 = 3.3 V, IOVDD = 1.8 V, DVDD12 = 1.2 V, CVDD12 = 1.2 V, PVDD12 = 1.2 V, PLLVDD12 = 1.2 V,
SVDD12 = 1.2 V, SDVDD12 = 1.2 V, VTT = 1.2 V, TA = −40°C to +85°C, IOUTFS = 20 mA, unless otherwise noted.
Table 9.
Parameter
SPURIOUS-FREE DYNAMIC RANGE (SFDR)
fDAC = 1966.08 MSPS
TWO-TONE THIRD INTERMODULATION DISTORTION (IMD)
fDAC = 983.04 MSPS
fDAC = 1966.08 MSPS
NOISE SPECTRAL DENSITY (NSD), SINGLE TONE
fDAC = 983.04 MSPS
fDAC = 1966.08 MSPS
5 MHz BW LTE FIRST ADJACENT CHANNEL LEAKAGE
RATIO (ACLR), SINGLE CARRIER
fDAC = 1966.08 MSPS
5 MHz BW LTE SECOND ACLR, SINGLE CARRIER
fDAC = 1966.08 MSPS
Test Conditions/Comments
−6 dBFS single tone
fOUT = 20 MHz
fOUT = 150 MHz
fOUT = 180 MHz
−6 dBFS
fOUT = 30 MHz
fOUT = 150 MHz
fOUT = 30 MHz
fOUT = 180 MHz
0 dBFS
fOUT = 150 MHz
fOUT = 180 MHz
0 dBFS, PLL off
fOUT = 50 MHz
fOUT = 150 MHz
fOUT = 180 MHz
0 dBFS, PLL off
fOUT = 50 MHz
fOUT = 150 MHz
fOUT = 180 MHz
Rev. 0 | Page 10 of 104
Min
Typ
Max
Unit
76
72
68
dBc
dBc
dBc
86
79
86
78
dBc
dBc
dBc
dBc
−162.5
−163
dBm/Hz
dBm/Hz
79
77
77
dBc
dBc
dBc
82
81
81
dBc
dBc
dBc
Data Sheet
AD9152
ABSOLUTE MAXIMUM RATINGS
THERMAL RESISTANCE
Table 10.
Parameter
I120 to Ground
SERDINx±, VTT, SYNCOUT±, TXEN
IOUT±, QOUT±
SYSREF±
DACCLK± and REFCLK± to Ground
RESET, IRQ, CS, SCLK, SDIO, SDO,
PROTECT_OUT to Ground
LDO_BYP1
LDO_BYP2
Ambient Operating Temperature (TA)
Junction Temperature
Storage Temperature Range
Rating
−0.3 V to AVDD33 + 0.3 V
−0.3 V to SIOVDD33 + 0.3 V
−0.3 V to AVDD33 + 0.3 V
GND − 0.5 V to +2.5 V
−0.3 V to PVDD12 + 0.3 V
−0.3 V to IOVDD + 0.3 V
−0.3 V to SVDD12 + 0.3 V
−0.3 V to PVDD12 + 0.3 V
−40°C to +85°C
125°C
−65°C to +150°C
Stresses at or above those listed under Absolute Maximum
Ratings may cause permanent damage to the product. This is a
stress rating only; functional operation of the product at these
or any other conditions above those indicated in the operational
section of this specification is not implied. Operation beyond
the maximum operating conditions for extended periods may
affect product reliability.
The exposed pad (EPAD) must be soldered to the ground plane
for the 56-lead LFCSP. The EPAD provides an electrical,
thermal, and mechanical connection to the board.
Typical θJA, θJB, and θJC values are specified for a 4-layer JESD51-7
high effective thermal conductivity test board for leaded
surface-mount packages. θJA is obtained in still air conditions
(JESD51-2). Airflow increases heat dissipation, effectively reducing
θJA. θJB is obtained following double-ring cold plate test conditions
(JESD51-8). θJC is obtained with the test case temperature monitored at the bottom of the exposed pad.
ΨJT and ΨJB are thermal characteristic parameters obtained with
θJA in still air test conditions.
Junction temperature (TJ) can be estimated using the following
equations:
TJ = TT + (ΨJT × P)
or
TJ = TB + (ΨJB × P)
where:
TT is the temperature measured at the top of the package.
P is the total device power dissipation.
TB is the temperature measured at the board.
Table 11. Thermal Resistance
Package
56-Lead LFCSP1
1
θJA
25.5
θJB
4.8
θJC
1.7
ΨJT
0.1
ΨJB
4.8
The exposed pad must be securely connected to the ground plane.
ESD CAUTION
Rev. 0 | Page 11 of 104
Unit
°C/W
AD9152
Data Sheet
LDO_BYP2
CVDD12
REFCLK+
REFCLK–
PVDD12
SYSREF+
SYSREF–
TXEN
RESET
44 QOUT+
43 AVDD33
DACCLK+
47 CVDD12
46 AVDD33
45 QOUT–
DACCLK–
CVDD12
AVDD33
51
50
49
48
55 I120
54 AVDD33
53 IOUT+
52 IOUT–
56 CVDD12
PIN CONFIGURATION AND FUNCTION DESCRIPTIONS
42 IOVDD
41 CS
40 SCLK
39 SDIO
38 SDO
37 PROTECT_OUT
36 DVDD12
35 DVDD12
34 SYNCOUT+
33 SYNCOUT–
32 SIOVDD33
31 SVDD12
30 VTT
29 SDVDD12
1
2
3
4
5
6
7
8
9
AD9152
TOP VIEW
(Not to Scale)
IRQ 10
DVDD12 11
SVDD12 12
25
SVDD12 26
SERDIN3– 27
SERDIN3+ 28
24
23
20
21
22
19
16
17
18
NOTES
1. THE EXPOSED PAD MUST BE SECURELY CONNECTED TO THE GROUND PLANE.
12994-003
SERDIN0+
SERDIN0–
SVDD12
SERDIN1+
SERDIN1–
SVDD12
PLLVDD12
LDO_BYP1
SVDD12
SERDIN2–
SERDIN2+
15
VTT 13
SDVDD12 14
Figure 3. Pin Configuration
Table 12. Pin Function Descriptions
Pin No.
1
2
3
4
5
6
Mnemonic
LDO_BYP2
CVDD12
REFCLK+
REFCLK−
PVDD12
SYSREF+
7
SYSREF−
8
9
10
11
12
13
14
15
TXEN
RESET
IRQ
DVDD12
SVDD12
VTT
SDVDD12
SERDIN0+
16
SERDIN0−
17
18
SVDD12
SERDIN1+
19
SERDIN1−
20
21
22
SVDD12
PLLVDD12
LDO_BYP1
Description
LDO Clock Bypass for the DAC PLL. This pin requires a 1 Ω resistor in series with a 1 µF capacitor to ground.
1.2 V Clock Supply.
PLL Reference Clock Input, Positive.
PLL Reference Clock Input, Negative.
1.2 V Supply. This pin supplies the DAC PLL and clock receiver circuitry.
Positive Reference Clock for Deterministic Latency. This pin is self biased for ac coupling. This pin may be accoupled or dc-coupled.
Negative Reference Clock for Deterministic Latency. This pin is self biased for ac coupling. This pin may be
ac-coupled or dc-coupled.
Transmitter (Tx) Enable for I DAC and Q DAC. CMOS levels are determined with respect to IOVDD.
Reset (Active Low). CMOS levels are determined with respect to IOVDD.
Interrupt Request (Active Low, Open Drain).
1.2 V Digital Supply.
1.2 V JESD204B Receiver (Rx) Analog Supply.
1.2 V Termination Voltage. Connect this pin to the SVDD12 pin externally.
1.2 V JESD204B Rx Digital Supply.
Serial Channel Input 0, Positive. CML compliant. SERDIN0+ is 50 Ω terminated to the VTT pin voltage. This pin
is ac-coupled only. Resistance calibrated.
Serial Channel Input 0, Negative. CML compliant. SERDIN0− is 50 Ω terminated to the VTT pin voltage. This
pin is ac-coupled only. Resistance calibrated.
1.2 V JESD204B Rx Analog Supply.
Serial Channel Input 1, Positive. CML compliant. SERDIN1+ is 50 Ω terminated to the VTT pin voltage. This pin
is ac-coupled only. Resistance calibrated.
Serial Channel Input 1, Negative. CML compliant. SERDIN1− is 50 Ω terminated to the VTT pin voltage. This
pin is ac-coupled only. Resistance calibrated.
1.2 V JESD204B Rx Analog Supply.
1.2 V SERDES PLL Supply.
LDO SERDES Bypass. This pin requires a 1 Ω resistor in series with a 1 µF capacitor to ground.
Rev. 0 | Page 12 of 104
Data Sheet
Pin No.
23
24
Mnemonic
SVDD12
SERDIN2−
25
SERDIN2+
26
27
SVDD12
SERDIN3−
28
SERDIN3+
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
SDVDD12
VTT
SVDD12
SIOVDD33
SYNCOUT−
SYNCOUT+
DVDD12
DVDD12
PROTECT_OUT
SDO
SDIO
SCLK
CS
IOVDD
AVDD33
QOUT+
QOUT−
AVDD33
CVDD12
DACCLK+
DACCLK−
CVDD12
AVDD33
IOUT−
IOUT+
AVDD33
I120
56
CVDD12
EPAD
AD9152
Description
1.2 V JESD204B Rx Analog Supply.
Serial Channel Input 2, Negative. CML compliant. SERDIN2− is 50 Ω terminated to the VTT pin voltage. This
pin is ac-coupled only. Resistance calibrated
Serial Channel Input 2, Positive. CML compliant. SERDIN2+ is 50 Ω terminated to the VTT pin voltage. This pin
is ac-coupled only. Resistance calibrated.
1.2 V JESD204B Rx Analog Supply.
Serial Channel Input 3, Negative. CML compliant. SERDIN3− is 50 Ω terminated to the VTT pin voltage. This
pin is ac-coupled only. Resistance calibrated.
Serial Channel Input 3, Positive. CML compliant. SERDIN3+ is 50 Ω terminated to the VTT pin voltage. This pin
is ac-coupled only. Resistance calibrated.
1.2 V JESD204B Rx Digital Supply.
1.2 V Termination Voltage. Connect VTT to the SVDD12 pin externally.
1.2 V JESD204B Rx Analog Supply.
3.3 V Supply for Equalizers.
Negative LVDS Sync Output Signal.
Positive LVDS Sync Output Signal.
1.2 V Digital Supply.
1.2 V Digital Supply.
Protection Indicator for I DAC and Q DAC. CMOS levels are determined with respect to IOVDD.
Serial Port Data Output. CMOS levels are determined with respect to IOVDD.
Serial Port Data Input/Output. CMOS levels are determined with respect to IOVDD.
Serial Port Clock Input. CMOS levels are determined with respect to IOVDD.
Serial Port Chip Select, Active Low. CMOS levels are determined with respect to IOVDD.
1.8 V IOVDD Supply for CMOS Input/Output and SPI.
3.3 V Analog Supply for the DAC Cores.
Q DAC Positive Current Output.
Q DAC Negative Current Output.
3.3 V Analog Supply for the DAC Cores.
1.2 V Clock Supply.
Positive Device Clock When PLL Is Not Used.
Negative Device Clock When PLL Is Not Used.
1.2 V Clock Supply.
3.3 V Analog Supply for the DAC Cores.
I DAC Negative Current Output.
I DAC Positive Current Output.
3.3 V Analog Supply for the DAC Cores.
Output Current Generation Pin for the DAC Full-Scale Current. Tie a 4 kΩ resistor from this pin to the ground
plane.
1.2 V Clock Supply.
Exposed Pad. The exposed pad must be securely connected to the ground plane.
Rev. 0 | Page 13 of 104
AD9152
Data Sheet
TERMINOLOGY
Integral Nonlinearity (INL)
INL is the maximum deviation of the actual analog output from
the ideal output, determined by a straight line drawn from zero
scale to full scale.
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 IOUT+/QOUT+, 0 mA output is expected when
all inputs are set to 0. For IOUT−/QOUT−, 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 the input is at its minimum code and the
output when the input is at its maximum code.
Output Compliance Range
The output compliance range is the range of allowable voltages
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 TMIN or TMAX.
For offset and gain drift, the drift is reported in ppm of fullscale range (FSR) per degree Celsius. For reference drift, the
drift is reported in ppm per degree Celsius.
Signal-to-Noise Ratio (SNR)
SNR is the ratio of the rms value of the measured output signal
to the rms sum of all other spectral components below the Nyquist
frequency, excluding the first six harmonics and dc. The value
for SNR is expressed in decibels.
Interpolation Filter
If the digital inputs to the DAC are sampled at a multiple rate of
fDATA (interpolation rate), a digital filter can be constructed that
has a sharp transition band near fDATA/2. Images that typically
appear around fDAC (output data rate) can be greatly suppressed.
Adjacent Channel Leakage Ratio (ACLR)
ACLR is the ratio in decibels relative to the carrier (dBc) between
the measured power within a channel relative to 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.
Adjusted DAC Update Rate
The adjusted DAC update rate is defined as the DAC update
rate divided by the smallest interpolating factor. For clarity on
DACs with multiple interpolating factors, the adjusted DAC
update rate for each interpolating factor may be given.
Physical Lane
Physical Lane x refers to SERDINx±.
Logical Lane
Logical Lane x refers to physical lanes after optionally being
remapped by the crossbar block (Register 0x308 and
Register 0x309).
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.
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.
Rev. 0 | Page 14 of 104
Data Sheet
AD9152
TYPICAL PERFORMANCE CHARACTERISTICS
0
–30
fDAC = 1228.8MHz
fDAC = 1474.56MHz
fDAC = 1966.08MHz
fDAC = 983.04MHz
–40
IN-BAND SFDR (dBc)
–20
–60
–80
0
400
600
800
1000
–70
–90
200
300
400
500
BACK OFF: –6dB
BACK OFF: –12dB
BACK OFF: –14dB
IN-BAND SFDR (dBc)
–40
–60
100
Figure 7. In-Band, Single Tone SFDR vs. fOUT in 80 MHz and 400 MHz
Bandwidths, fDAC = 983.04 MHz
–30
–40
–80
BW: 80MHz
BW: 400MHz
–50
–60
–70
0
200
400
600
800
1000
fOUT (MHz)
–90
Figure 5. Single Tone Second Harmonic vs. fOUT in the First Nyquist Zone over
Digital Back Off, fDAC = 1966.08 MHz
0
–30
400
500
600
700
BACK OFF: –6dB
BACK OFF: –12dB
BACK OFF: –14dB
IN-BAND SFDR (dBc)
–40
–60
300
Figure 8. In-Band, Single Tone SFDR vs. fOUT in 80 MHz and 400 MHz
Bandwidths, fDAC = 1228.8 MHz
BACK OFF: 0dB
BACK OFF: –6dB
BACK OFF: –9dB
BACK OFF: –12dB
BACK OFF: –14dB
BACK OFF: –16dB
–40
200
fOUT (MHz)
0
–20
100
12994-008
–80
12994-005
–100
0
fOUT (MHz)
BACK OFF: 0dB
BACK OFF: –6dB
BACK OFF: –9dB
BACK OFF: –12dB
BACK OFF: –14dB
BACK OFF: –16dB
–20
SECOND HARMONIC (dBc)
–60
12994-007
200
12994-004
0
Figure 4. Single Tone (0 dBFS) SFDR vs. fOUT in the First Nyquist Zone over fDAC
THIRD HARMONIC (dBc)
–50
–80
fOUT (MHz)
–80
BW: 80MHz
BW: 400MHz
–50
–60
–70
–80
0
200
400
600
fOUT (MHz)
800
1000
–90
12994-006
–100
BW: 80MHz
BW: 400MHz
Figure 6. Single Tone Third Harmonic vs. fOUT in the First Nyquist Zone over
Digital Back Off, fDAC = 1966.08 MHz
0
100
200
300
400
500
fOUT (MHz)
600
700
800
12994-009
SFDR (dBc)
–40
–100
BACK OFF: –6dB
BACK OFF: –12dB
BACK OFF: –14dB
Figure 9. In-Band, Single Tone SFDR vs. fOUT in 80 MHz and 400 MHz
Bandwidths, fDAC = 1474.56 MHz
Rev. 0 | Page 15 of 104
AD9152
–30
0
BACK OFF: –6dB
BACK OFF: –12dB
BACK OFF: –14dB
–40
BW: 80MHz
BW: 400MHz
–50
–60
–40
–60
–70
0
200
400
600
800
1000
fOUT (MHz)
–100
12994-010
–90
Figure 10. In-Band, Single Tone SFDR vs. fOUT in 80 MHz and 400 MHz
Bandwidths, fDAC = 1966.08 MHz
0
600
800
1000
Figure 13. Two-Tone, Third-Order IMD (IMD3) vs. fOUT over Tone Spacing,
fDAC = 1966.08 MHz
fDAC : 1228.8MHz
fDAC : 1474.56MHz
fDAC : 1966.08MHz
fDAC : 983.04MHz
fDAC : 1228.8MHz
fDAC : 1474.56MHz
fDAC : 1966.08MHz
fDAC : 983.04MHz
–135
–140
NSD (dBm/Hz)
–20
400
fOUT (MHz)
–130
0
200
12994-013
–80
–80
IMD3 (dBc)
0.6MHz TONE SPACING
1MHz TONE SPACING
16MHz TONE SPACING
35MHz TONE SPACING
–20
IMD3 (dBc)
IN-BAND SFDR (dBc)
Data Sheet
–40
–60
–145
–150
–155
–160
–80
200
400
600
800
1000
fOUT (MHz)
–170
0
–130
800
1000
1000
BACK OFF: 0dB
BACK OFF: –6dB
BACK OFF: –9dB
BACK OFF: –12dB
BACK OFF: –14dB
BACK OFF: –16dB
–135
–140
NSD (dBm/Hz)
IMD3 (dBc)
600
Figure 14. Single Tone (0 dBFS) NSD vs. fOUT over fDAC
BACK OFF: 0dB
BACK OFF: –6dB
BACK OFF: –9dB
BACK OFF: –12dB
BACK OFF: –14dB
BACK OFF: –16dB
–20
400
fOUT (MHz)
Figure 11. Two-Tone, Third-Order IMD (IMD3) vs. fOUT over fDAC
0
200
12994-014
0
12994-011
–100
12994-015
–165
–40
–60
–145
–150
–155
–160
–80
–165
0
200
400
600
fOUT (MHz)
800
1000
–170
12994-012
–100
Figure 12. Two-Tone, Third-Order IMD (IMD3) vs. fOUT over Digital Back Off,
fDAC = 1966.08 MHz
0
200
400
600
fOUT (MHz)
800
Figure 15. Single Tone NSD vs. fOUT over Digital Back Off, fDAC = 1966.08 MHz
Rev. 0 | Page 16 of 104
Data Sheet
–130
fDAC : 1966.08MHz
fDAC : 983.04MHz
–135
PLL OFF
PLL ON
–140
NSD (dBm/Hz)
AD9152
–145
–150
–155
12994-019
–160
–170
0
200
400
600
800
1000
fOUT (MHz)
12994-016
–165
Figure 16. Single Tone NSD vs. fOUT, PLL On and Off
fDAC : 1966.08MHz
fDAC : 983.04MHz
PLL OFF
PLL ON
–50
–60
–70
–90
12994-020
–80
0
200
400
600
800
1000
fOUT (MHz)
12994-017
FIRST ADJACENT ACLR (dBc)
–40
Figure 19. Two-Tone, Third-Order IMD Performance, IF = 180 MHz,
fDAC = 1966.08 MHz
Figure 17. One-Carrier (1C) 5 MHz Bandwidth LTE, First Adjacent ACLR vs. fOUT,
PLL On and Off
Figure 20. 1C 5 MHz Bandwidth LTE ACLR Performance, IF = 180 MHz,
fDAC = 1966.08 MHz
–40
PLL OFF
PLL ON
–50
–60
–70
–90
12994-021
–80
0
200
400
600
800
1000
fOUT (MHz)
Figure 18. 1C 5 MHz Bandwidth LTE, Second Adjacent ACLR vs. fOUT,
PLL On and Off
12994-018
SECOND ADJACENT ACLR (dBc)
fDAC : 1966.08MHz
fDAC : 983.04MHz
Figure 21. 1C 20 MHz Bandwidth LTE ACLR Performance, IF = 180 MHz,
fDAC = 1966.08 MHz
Rev. 0 | Page 17 of 104
Data Sheet
12994-025
12994-022
AD9152
Figure 25. Six-Carrier (6C) Spaced by 600 kHz GSM Edge ACP Performance,
IF = 180 MHz, fDAC = 1966.08 MHz
1400
1×
2×
4×
8×
1.2V
1.3V
1300
1200
1100
1000
900
700
0
500
1000
1500
2000
fDAC (MHz)
Figure 23. Two-Carrier (2C) 2× 5 MHz Bandwidth with 5 MHz Gap LTE ACLR
Performance, IF = 180 MHz, fDAC = 1966.08 MHz
12994-026
800
Figure 26. Total Baseline Power Consumption vs. fDAC over Interpolation
12994-024
DVDD12 SUPPLY CURRENT (mA)
250
1×
2×
4×
8×
1.2V
1.3V
200
150
100
50
0
0
500
1000
1500
2000
fDAC (MHz)
Figure 24. Single Tone SFDR, fDAC =1966.08 MHz, 4× Interpolation,
fOUT = 10 MHz, −14 dBFS
Figure 27. DVDD12 Supply Current vs. fDAC over Interpolation
Rev. 0 | Page 18 of 104
12994-027
12994-023
TOTAL BASELINE POWER CONSUMPTION (mW)
Figure 22. Single Tone, fDAC =1966.08 MHz, fOUT = 280 MHz, −14 dBFS
Data Sheet
500
40
[SVDD12 + SDVDD12 + PLLVDD12]
SUPPLY CURRENT (mA)
1/4 COARSE MODULATION
1/8 COARSE MODULATION
NCO
PFIR
DIGITAL GAIN
INVSINC
1.2V
1.3V
30
20
10
1 LANE
2 LANES
4 LANES
400
1.2V
1.3V
350
300
250
200
600
800
1000 1200 1400
1600
1800
2000
fDAC (MHz)
100
Figure 28. DVDD12 Supply Delta Current vs. fDAC over Digital Functions
2
3
4
200
PLL OFF, 1.2V
PLL OFF, 1.3V
PLL ON, 1.2V
PLL ON, 1.3V
7
8
fOUT = 51MHz
fOUT = 101MHz
fOUT = 201MHz
fOUT = 401MHz
–100
51MHz SMA100A INPUT SIGNAL
PHASE NOISE (dBc/Hz)
250
6
Figure 30. Total SERDES Supply Current (SVDD12, SDVDD12, PLLVDD12) vs.
Lane Rate; One, Two, and Four Lanes
–80
AVDD33
CVDD12
PVDD12
5
LANE RATE (Gbps)
300
150
100
–120
–140
–160
–180
50
–200
400
600
800
1000
1200
1400
1600
1800
2000
fDAC (MHz)
Figure 29. AVDD33, CVDD12, PVDD12 Supply Current vs. fDAC
12994-029
0
200
1
12994-030
400
PLL OFF
PLL ON
10
100
1k
10k
100k
1M
OFFSET FREQUENCY (Hz)
10M
100M
12994-031
0
200
AVDD33, CVDD12, AND PVDD12
SUPPLY CURRENT (mA)
450
150
12994-028
DVDD12 SUPPLY DELTA CURRENT (mA)
50
AD9152
Figure 31. Single Tone Phase Noise vs. Offset Frequency at Four fOUT Values
and with an SMA100A Signal Generator, fDAC = 1.96608 GHz, PLL On and Off
Rev. 0 | Page 19 of 104
AD9152
Data Sheet
THEORY OF OPERATION
The AD9152 is a 16-bit, dual DAC with a SERDES interface.
Figure 2 shows a detailed functional block diagram of the
AD9152. Four high speed serial lanes carry data at a maximum
speed of 12.38 Gbps, and a 1.238 GSPS input data rate to the DACs.
Compared to either LVDS or CMOS interfaces, the SERDES
interface simplifies pin count, board layout, and input clock
requirements to the device.
The clock for the input data is derived from the device clock
(required by the JESD204B specification). This device clock can
be sourced with a PLL reference clock used by the on-chip PLL
to generate a DAC clock, a high fidelity direct external DAC
sampling clock, or a 2× DAC frequency RF clock. The device can
be configured to operate in one-, two-, or four-lane modes,
depending on the required input data rate.
The digital datapath of the AD9152 offers four interpolation
modes (1×, 2×, 4×, and 8×) through three half-band filters with
a maximum DAC sample rate of 2.25 GSPS. An inverse sinc
filter compensates for sinc related roll-off. The PFIR filter
compensates the gain over frequency in a more flexible way.
The AD9152 DAC cores provide a fully differential current
output with a nominal full-scale current of 20 mA. The full-scale
current, IOUTFS, is user adjustable to between 4.04 mA and
20.22 mA, typically. The differential current outputs are
complementary and are optimized for easy integration with the
Analog Devices ADRF6720 AQM. The AD9152 is capable of
multichip synchronization that can both synchronize multiple
DACs and establish a constant and deterministic latency
(latency locking) path for the DACs. The latency for each of the
DACs remains constant from link establishment to link
establishment. An external alignment (SYSREF±) signal makes
the AD9152 Subclass 1 compliant. Several modes of SYSREF±
signal handling are available for use in the system.
An SPI configures the various functional blocks and monitors
their statuses. The various functional blocks and the data interface
must be set up in a specific sequence for proper operation (see the
Device Setup Guide section). Simple SPI initialization routines set
up the JESD204B link and are included in the evaluation board
package. The following sections describe the various blocks of
the AD9152 in greater detail. Descriptions of the JESD204B
interface, control parameters, and various registers to set up and
monitor the device are provided. The recommended start-up
routine reliably sets up the data link.
Rev. 0 | Page 20 of 104
Data Sheet
AD9152
SERIAL PORT OPERATION
The serial port is a flexible, synchronous serial communications
port that allows easy interfacing with many industry-standard
microcontrollers and microprocessors. The serial input/output
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 AD9152. MSB first or LSB first transfer formats are
supported. The serial port interface is a 4-wire or a 3-wire (by
default) interface in which the input and output share a single-pin
input/output (SDIO).
The serial clock pin synchronizes data to and from the device
and runs the internal state machines. The maximum frequency
of SCLK is 10 MHz. All data input is registered on the rising edge
of SCLK. All data is driven out on the falling edge of SCLK.
SPI
PORT
12994-060
CS 41
SERIAL PORT PIN DESCRIPTIONS
Serial Clock (SCLK)
SDO 38
SDIO 39
SCLK 40
A14 to A0, Bit 14 to Bit 0 of the instruction word, determine the
register that is accessed during the data transfer portion of the
communication cycle. For multibyte transfers, [A14:0] is the starting
address. The remaining register addresses are generated by the
device based on the address increment bits (Register 0x000, Bit 5
and Bit 2). If the address increment bits are set high, multibyte
SPI writes start on A[14:0] and increment by 1 every 8 bits
sent/received. If the address increment bits are set to 0, the
address decrements by 1 every 8 bits.
Figure 32. Serial Port Interface Pins
Chip Select (CS)
There are two phases to a communication cycle with the AD9152.
Phase 1 is the instruction cycle (the writing of an instruction
byte into the device), coincident with the first 16 SCLK rising
edges. The instruction word provides the serial port controller
with information regarding the data transfer cycle, Phase 2 of
the communication cycle. The Phase 1 instruction word defines
whether the upcoming data transfer is a read or write, along with
the starting register address for the following data transfer.
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 16 rising SCLK edges represent the
instruction bits of the current input/output 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. Eight × N SCLK cycles are
needed to transfer N bytes during the transfer cycle. Registers
change immediately upon writing to the last bit of each transfer
byte, except for the frequency tuning word (FTW) and the
numerically controlled oscillator (NCO) phase offsets, which
change only when the frequency tuning word (FTW)
FTW_UPDATE_REQ bit (Register 0x113, Bit 0) is set.
DATA FORMAT
The instruction byte contains the information shown in Table 13.
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. The SDIO pin goes to a high impedance
state when this input is high. During the communication cycle,
chip select must stay low.
Serial Data Input/Output (SDIO)
This pin is a bidirectional data line. In 4-wire mode, this pin
acts as the data input and SDO acts as the data output.
SERIAL PORT OPTIONS
The serial port can support both MSB first and LSB first data
formats. This functionality is controlled by the LSB first bits
(Register 0x000, Bit 6 and Bit 1). The default is MSB first (the
LSB first bits = 0).
When the LSB first bits = 0 (MSB first), the instruction and data
bits are written from MSB to LSB. R/W is followed by A[14:0] as
the instruction word, and D[7:0] is the data-word. When the
LSB first bits = 1 (LSB first), the opposite is true. A[0:14] is
followed by R/W, which is subsequently followed by D[0:7].
The serial port supports a 3-wire or 4-wire interface. When the
SDO active bits = 1 (Register 0x000, Bit 4 and Bit 3), a 4-wire
interface with a separate input pin (SDIO) and output pin
(SDO) is used. When the SDO active bits = 0, the SDO pin is
unused and the SDIO pin is used for both input and output.
Table 13. Serial Port Instruction Word
I15 (MSB)
R/W
I[14:0]
A[14:0]
R/W, Bit 15 of the instruction word, determines whether a read
or a write data transfer occurs after the instruction word write.
Logic 1 indicates a read operation, and Logic 0 indicates a write
operation.
Rev. 0 | Page 21 of 104
AD9152
Data Sheet
INSTRUCTION CYCLE
DATA TRANSFER CYCLE
INSTRUCTION CYCLE
DATA TRANSFER CYCLE
CS
SDIO
A0
A1
A2
A12 A13 A14 R/W D00 D10 D20
Figure 34. Serial Register Interface Timing, LSB First, Register 0x000, Bit 5 and
Bit 2 = 1
CS
SCLK
tDV
SDIO
CS
DATA BIT n
DATA BIT n – 1
Figure 35. Timing Diagram for Serial Port Register Read
R/W A14 A13
A3
A2 A1
A0 D7N D6N D5N
D30 D20 D10 D00
12994-061
SCLK
SDIO
D4N D5N D6N D7N
Figure 33. Serial Register Interface Timing, MSB First, Register 0x000, Bit 5
and Bit 2 = 0
tSCS
tHCS
CS
tPWH
tPWL
SDIO
tDH
INSTRUCTION BIT 15
INSTRUCTION BIT 14
INSTRUCTION BIT 0
Figure 36. Timing Diagram for Serial Port Register Write
Rev. 0 | Page 22 of 104
12994-063
SCLK
tDS
12994-062
SCLK
12994-064
Multibyte data transfers can be performed as well. This is
achieved by holding the CS pin low for multiple data transfer
cycles (eight SCLKs) after the first data transfer word following
the instruction cycle. The first eight SCLKs following the
instruction cycle read from or write to the register provided in
the instruction cycle. For each additional eight SCLK cycles, the
address is either incremented or decremented and the read/write
occurs on the new register. The direction of the address can be set
using the address increment bits (Register 0x000, Bit 5 and Bit 2).
When the address increment bits are 1, the multicycle addresses
are incremented. When the address increment bits are 0, the
addresses are decremented. A new write cycle can always be
initiated by bringing CS high and then low again.
Data Sheet
AD9152
CHIP INFORMATION
Register 0x003 to Register 0x006 contain chip information, as shown in Table 14.
Table 14. Chip Information
Information
Chip Type
Product ID
Device Revision
Description
Register 0x003. The product type is high speed DAC, which is represented by a code of 0x04.
8 MSBs in Register 0x005 and 8 LSBs in Register 0x004. The product ID is 0x9152.
Register 0x006, Bits[4:0]. The device revision is 0x7.
Rev. 0 | Page 23 of 104
AD9152
Data Sheet
DEVICE SETUP GUIDE
OVERVIEW
Table 15. Power-Up and DAC Initialization Settings
The sequence of steps to properly set up the AD9152 is as follows:
1.
Set up the SPI interface, power up necessary circuit blocks,
make the required writes to the configuration registers, and
set up the DAC clocks (see Step 1: Start Up the DAC).
2. Set the digital features (see Step 2: Digital Datapath).
3. Set up the JESD204B links (see Step 3: Transport Layer).
4. Set up the physical layer of the SERDES interface (see Step 4:
Physical Layer).
5. Set up the data link layer of the SERDES interface (see Step 5:
Data Link Layer).
6. Check for errors (see Step 6: Optional Error Monitoring).
7. Optionally, enable any needed features as described in Step 7:
Optional Features.
A specific working start-up sequence example is given in the
Example Start-Up Sequence section.
The register writes listed in Table 15 to Table 23 give the register
writes necessary to set up the AD9152. Consider printing this
setup guide and filling in the Value column with appropriate
variable values for the conditions of the desired application.
The notation 0x indicates register settings that the user must fill
in. To fill in the unknown register values, select the correct settings
for each variable listed in the Variable column. The Description
column describes how to set variables or provides a link to a section
where this is described. Register settings with specified values are
fixed settings to be used in all cases. A variable is noted by concatenating multiple terms. For example, PdDACs is a variable that
corresponds to the value determined for Register 0x011, Bits[6:5].
STEP 1: START UP THE DAC
This section describes how to set up the SPI interface, power up
necessary circuit blocks, write to the required configuration
registers, and set up the DAC clocks.
Addr.
0x000
0x000
0x011
Bit
No.
7
[6:5]
4
[3:2]
1
0
0x080
Value1
0xBD
0x3C
0x
0
PdDACs
0
PdCLKs
0
0
0x
2
0x081
1
2
Description
Soft reset.
Deassert reset, set 4-wire SPI.
Power up band gap.
PdDACs = 0 if both DACs are used. If
not, see the DAC Power-Down Setup
section.
Power up digital clocks.
PdCLKs = 0 if both DACs are used.
Power up the PCLK.
Power up the clock receiver.
DUTY_EN
DUTY_EN = 1 if using the duty
function.
PdSysref
PdSysref = 0x0 for Subclass 1.
PdSysref = 0x1 for Subclass 0. See the
Subclass Setup section.
Band gap configuration.
0x
4
0x1CD2
Variable
0xD8
0x denotes a register value that the user must fill in. See the Variable and
Description columns for information on selecting the appropriate register value.
Register 0x1CD must be set to the recommended value and does not appear in
the register map.
The following registers must be written to and values changed from
default for the device to work correctly and must be written
after any soft reset, hard reset, or power-up occurs. All registers
in Table 16 do not appear in the register map.
Table 16. Required SERDES PLL Configurations
Address
0x284
0x285
0x286
0x287
0x28A
0x28B
0x290
0x291
0x294
0x296
0x297
0x299
0x29A
0x29C
0x29F
0x2A0
Value
0x62
0xC9
0xE
0x12
0x2B
0x0
0x89
0x4C
0x24
0x03
0xD
0x2
0x8E
0x2A
0x7E
0x6
Description
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
If using the optional DAC PLL, also set the registers in Table 17
and Table 18. The registers in Table 17 optimize the performance of
the SERDES PLL and must be set to the fixed value as required.
All registers in Table 17 do not appear in the register map.
Rev. 0 | Page 24 of 104
Data Sheet
AD9152
Table 17. Required DAC PLL Configurations
STEP 3: TRANSPORT LAYER
Address
0x08D
0x1B0
0x1B9
0x1BC
0x1BE
0x1BF
0x1C0
0x1C4
0x1C1
This section describes how to set up the JESD204B links. The
parameters are determined by the desired JESD204B operating
mode. See the JESD204B Setup section for details.
Value
0x7B
0x0
0x24
0xD
0x2
0x8E
0x2A
0x7E
0x34
Description
DAC PLL configuration
DAC PLL configuration
DAC PLL configuration
DAC PLL configuration
DAC PLL configuration
DAC PLL configuration
DAC PLL configuration
DAC PLL configuration
DAC PLL configuration
Table 20. Transport Layer Settings
Addr.
0x200
0x201
0x300
Value1
0x
0x
0x
0x
0x89
0x
0x78
0x06
0x12
0x62
0xC9
0x0E
0x10
Variable
LODivMode
RefDivMode
BCount
LookUpVals
LookUpVals
Description
See the DAC PLL Setup section
See the DAC PLL Setup section
See the DAC PLL Setup section
See Table 72
Optimal DAC PLL VCO settings
See Table 72
Optimal DAC PLL VCO settings
Optimal DAC PLL VCO settings
Optimal DAC PLL VCO settings
Optimal DAC PLL loop filter settings
Optimal DAC PLL loop filter settings
Optimal DAC PLL loop filter settings
Enable the DAC PLL2
0x denotes a register value that the user must fill in. See the Variable and
Description columns for information on selecting the appropriate register value.
2
Verify that Register 0x084, Bit 1 reads back 1 after enabling the DAC PLL to
indicate that the DAC PLL has locked.
0x450
0x
0x451
0x
0x452
0x
0x453
STEP 2: DIGITAL DATAPATH
This section describes which interpolation filters to use and sets
the data format being used. Additional digital features are available
including fine and coarse modulation, digital gain scaling, and
an inverse sinc filter used to improve pass-band flatness. Table 23
provides further details on the feature blocks available.
Table 19. Digital Datapath Settings
Bit
No.
0x110
Variable
InterpMode
Description
Select interpolation mode; see
the Interpolation section.
DataFmt
DataFmt = 0 if twos complement;
DataFmt = 1 if unsigned binary.
0x
7
1
Value1
0x
UnusedLanes
Description
Power up the interface.
See the JESD204B Setup section.
CheckSumMode See the JESD204B Setup section.
Set DID to match the device ID
DID
sent by the transmitter.
Set BID to match the bank ID
BID
sent by the transmitter.
Set LID to match the lane ID
LID
sent by the transmitter.
Scrambling
L − 12
F − 12
K − 12
M − 12
N − 12
See the JESD204B Setup section.
See the JESD204B Setup section.
See the JESD204B Setup section.
See the JESD204B Setup section.
See the JESD204B Setup section.
N = 16.
Subclass
Np − 12
See the JESD204B Setup section.
Np = 16.
5
JESDVer
[4:0]
S − 12
JESDVer = 1 for JESD204B,
JESDVer = 0 for JESD204A.
See the JESD204B Setup section.
0x454
0x455
0x456
0x457
0x458
0x
0x
0x
0x
0x
5
[4:0]
0x459
0x
0x45A
0x
7
[4:0]
0x45D
0x46C
0x476
0x47D
Variable
0x
7
[4:0]
1
Addr.
0x112
Value1
0x00
0x
0x
6
Table 18. Optional DAC PLL Configuration Procedure
Addr.
0x08B
0x08C
0x085
0x1B6
0x1B5
0x1BB
0x1B4
0x1C5
0x08A
0x087
0x088
0x089
0x083
Bit
No.
0x
0x
0x
0x
HD
CF
Lane0Checksum
Lanes
F
Lanes
See the JESD204B Setup section.
CF must equal 0.
See the JESD204B Setup section.
Deskew lanes.
See the JESD204B Setup section.
Enable lanes. See the JESD204B
Setup section.
0x denotes a register value that the user must fill in. See the Variable and
Description columns for information on selecting the appropriate register value.
2
This JESD204B link parameter is programmed in n − 1 notation as noted. For
example, if the setup requires L = 4 (4 lanes per link), program L − 1 or 3 into
Register 0x453, Bits[4:0].
1
0x denotes a register value that the user must fill in. See the Variable and
Description columns for information on selecting the appropriate register value.
Rev. 0 | Page 25 of 104
AD9152
Data Sheet
STEP 4: PHYSICAL LAYER
Table 22. Data Link Layer Settings
This section describes how to set up the physical layer of the
SERDES interface. In this section, the input termination
settings are configured along with the CDR sampling and
SERDES PLL.
Addr.
0x301
0x304
Table 21. Device Configurations and Physical Layer Settings
Addr.
0x2A7
0x314
0x230
Bit
No.
Value1
0x01
0x01
0x
5
[4:2]
Halfrate
0x2
1
0
0x206
0x206
0x289
2
[1:0]
0x280
0x268
Variable
OvSmp
1
0x00
0x01
0x
1
0x01
0x
[5:0]
Set up the CDR; see the
SERDES Clocks Setup
section.
SERDES PLL default
configuration.
Set up the CDR; see the
SERDES Clocks Setup
section.
SYNCOUT± swing VOD is
set to 350 mV.
Reset the CDR.
Release CDR reset.
Value1
0x
0x
Variable
Subclass
LMFCDel
0x306
0x
LMFCVar
0x03A
0x01
0x03A
0x03A
SYSREF±
0x81
0xC1
0x308 to
0x309
0x
XBarVals
0x334
0x
InvLanes
0x300
EqMode
0x22
SERDES PLL configuration.
Set the CDR oversampling
for PLL; see the SERDES
Clocks Setup section.
Enable the SERDES PLL.2
See the Equalization Mode
Setup section.
Required value (default).
0x denotes a register value that the user must fill in. See the Variable and
Description columns for information on selecting the appropriate register value.
2
Verify that Register 0x281, Bit 0 reads back 1 after enabling the SERDES PLL
to indicate that the SERDES PLL has locked.
1
STEP 5: DATA LINK LAYER
This section describes how to set up the data link layer of the
SERDES interface. This section deals with SYSREF processing,
setting deterministic latency, and establishing the link.
0x
6
0
1
PLLDiv
[7:6]
Description
Autotune PHY setting.
SERDES SPI configuration.
Bit
No.
2
ChkSmMd
1
Description
See the JESD204B Setup section.
See the Link Latency Setup
section.
See the Link Latency Setup
section.
Set sync mode = one shot sync;
see the Syncing LMFC Signals
section for other sync options.
Enable the sync machine.
Arm the sync machine.
If Subclass = 1, ensure that at
least one SYSREF± edge is
sent to the device.2
If remapping lanes, set up
cross-bar; see the Crossbar
Setup section.
Invert the polarity of the
desired logical lanes. Bit x of
InvLanes must be a 1 for each
Logical Lane x to invert.
Enable the link.
See the JESD204B Setup section.
Enable the link.
0x denotes a register value that the user must fill in. See the Variable and
Description columns for information on selecting the appropriate register value.
Verify that Register 0x03B, Bit 3 reads back 1 after sending at least one SYSREF±
edge to the device to indicate that the LMFC sync machine has properly locked.
STEP 6: OPTIONAL ERROR MONITORING
For JESD204B error monitoring, see the JESD204B Error
Monitoring section. For other error checks, see the Interrupt
Request Operation section.
STEP 7: OPTIONAL FEATURES
A number of optional features can be enabled. Table 22 provides
links to the sections describing each feature.
Table 23. Optional Features
Feature
Digital
Modulation
Inverse Sinc
Default
Off
Digital Gain
0 dB
Phase Adjust
Off
DC Offset
Off
Coarse Group
Delay
Adjustment
Downstream
Protection
0
Rev. 0 | Page 26 of 104
Off
Off
Description
Modulates the data with a desired carrier.
See the Digital Modulation section.
Improves pass-band flatness. See the
Inverse Sinc section.
Multiplies data by a factor. Can
compensate inverse sinc usage or
balance I/Q amplitude. See the Digital
Gain section.
Used to balance I/Q phase. See the Phase
Adjust section.
Used to cancel LO leakage. See the DC
Offset section.
Used to control overall latency. See the
Coarse Group Delay Adjustment section.
Used to protect downstream
components. See the Downstream
Protection section.
Data Sheet
AD9152
DAC PLL SETUP
This section explains how to select appropriate LODivMode,
RefDivMode, and BCount values in the Device Setup Guide
section. These parameters depend on the desired DAC clock
frequency (fDAC) and DAC reference clock frequency (fREF).
When using the DAC PLL, the reference clock signal is applied
to the REFCLK± differential pins (Pin 3 and Pin 4).
Table 24. DAC PLL LODivMode Settings
DAC Frequency Range (MHz)
1500 to 2250
750 to 1500
420 to 750
LO_DIV_MODE,
Register 0x08B, Bits[1:0]
1
2
3
Table 25. DAC PLL RefDivMode Settings
DAC PLL Reference
Frequency (fREF) (MHz)
80 to 160
160 to 320
320 to 640
640 to 1000
Divide by
Factor
(RefDivFactor)
2
4
8
16
REF_DIV_MODE,
Register 0x08C,
Bits[2:0]
1
2
3
4
The VCO frequency (fVCO) is related to the DAC clock frequency
according to the following equation:
fVCO = fDAC × 2LODivMode + 1
where 6 GHz ≤ fVCO ≤ 12 GHz.
BCount must be between 6 and 127 and is calculated based on
fDAC and fREF as follows:
BCount = floor((fDAC)/(2 × fREF/RefDivFactor))
Finally, to finish configuring the DAC PLL, set the VCO control
registers up as described in Table 72 based on the VCO
frequency (fVCO).
For more information on the DAC PLL, see the DAC Input
Clock Configurations section.
INTERPOLATION
The transmit path can use zero to three cascaded interpolation
filters, which each provide a 2× increase in output data rate and
a low-pass function. Table 26 shows the different interpolation
modes and the respective usable bandwidth along with the
maximum fDATA rate attainable when the power supply is 1.2 V.
Table 26. Interpolation Modes and Their Usable Bandwidth
InterpMode
0x00
Usable
Bandwidth
fDATA
2×
4×
8×
0x01
0x02
0x03
0.4 × fDATA
0.4 × fDATA
0.4 × fDATA
JESD204B SETUP
This section explains how to select a JESD204B operating mode
for a desired application. This in turn defines appropriate values
for CheckSumMode, UnusedLanes, DualLink, CurrentLink,
Scrambling, L, F, K, M, N, Np, Subclass, S, HD, Lane0Checksum,
and Lanes needed for the Device Setup Guide section.
Note that DualLink, Scrambling, L, F, K, M, N, Np, S, HD, and
Subclass must be set the same on the transmit side.
For a summary of how a JESD204B system works and what each
parameter means, see the JESD204B Serial Data Interface section.
Available Operating Modes
Table 27. JESD204B Operating Modes (Single Link)
Parameter
M (Converter Count)
L (Lane Count)
S ((Samples per Converter) per Frame)
F ((Octets per Frame) per Lane)
4
2
4
1
1
5
2
4
2
2
Mode
6 7
2 2
2 1
1 1
2 4
9
1
2
1
1
10
1
1
1
2
For a particular application, the number of converters to use (M)
and the fDATA (DataRate) are known. The LaneRate and number
of lanes (L) can be traded off as follows:
DataRate = (DACRate)/(InterpolationFactor)
LaneRate = (20 × DataRate × M)/L
where LaneRate is between 1.44 Gbps and 12.38 Gbps at 1.3 V.
where RefDivFactor = 2RefDivMode (see Table 25).
Interpolation
Mode
1× (bypass)
The usable bandwidth is defined for 1×, 2×, 4×, and 8× modes
as the frequency band over which the filters have a pass-band
ripple of less than ±0.001 dB and an image rejection of greater
than 85 dB. For more information, see the Interpolation Filters
section.
Maximum fDATA
(MHz)
1238 (JESD204B
limited)
1125
562.5
281.25
Octets per frame per lane (F) and samples per convertor per
frame (S) define how the data is packed. If F = 1, the high density
setting must be set to one (HD = 1). Otherwise, set HD = 0.
Converter resolution and bits per sample (N and Np) must both
be set to 16. Frames per multiframe (K) must be set to 32 for
Mode 0, Mode 4, and Mode 9. Other modes may use either K =
16 or K = 32.
Scrambling
Scrambling is a feature that makes the spectrum of the link data
independent. This avoids spectral peaking and provides some
protection against data dependent errors caused by frequency
selective effects in the electrical interface. Set to 1 if scrambling
is being used, or to 0 if it is not.
Subclass
Subclass determines whether the latency of the device is
deterministic, meaning it requires an external synchronization
signal. See the Subclass Setup section for more information.
CurrentLink
Set CurrentLink to 0 to configure Link 0.
Rev. 0 | Page 27 of 104
AD9152
Data Sheet
Lanes
SERDES CLOCKS SETUP
Use Lanes to enable and deskew particular lanes in two
thermometer coded registers.
This section describes how to select the appropriate Halfrate,
OvSmp, and PLLDiv settings in the Device Setup Guide section.
These parameters depend solely on the lane rate (the lane rate is
established in the JESD204B Setup section).
Lanes = (2L) − 1
UnusedLanes
UnusedLanes is used to turn off unused circuit blocks to save
power. Each physical lane that is not being used (SERDINx±)
must be powered off by writing a 1 to the corresponding bit of
Register 0x201.
For example, if using Mode 6 in single link mode and sending
data on SERDIN0± and SERDIN2±, set UnusedLanes = 0x0A to
power off Physical Lane 1 and Physical Lane 3.
CheckSumMode
Table 29. SERDES Lane Rate Configuration Settings
Lane Rate (Gbps)
1.44 to 3.09
2.88 to 6.19
5.75 to 12.38
Halfrate
0
0
1
OvSmp
1
0
0
PLLDiv
2
1
0
Halfrate and OvSmp set how the clock detect and recover
(CDR) circuit samples. See the SERDES PLL section for an
explanation of how that circuit blocks works and the role of
PLLDiv in the block.
CheckSumMode must match the checksum mode used on the
transmit side. If the checksum used is the sum of the fields in
the link configuration table, CheckSumMode = 0. If summing the
registers containing the packed link configuration fields,
CheckSumMode = 1. For more information on the how to
calculate the two checksum modes, see the Lane0Checksum
section.
Set EqMode = 1 for a low power setting. Select this mode if the
insertion loss in your printed circuit board (PCB) is less than
12 dB. For insertion losses greater than 12 dB, but less than
17.5 dB, set EqMode = 0. More details can be found in the
Equalization section.
Lane0Checksum
LINK LATENCY SETUP
Lane0Checksum may be used for error checking purposes to
ensure that the transmitter is set up as expected.
This section describes the steps necessary to guarantee
multichip deterministic latency in Subclass 1 and guarantee
synchronization of links within a device in Subclass 0. Use this
section to fill in LMFCDel, LMFCVar, and Subclass in the Device
Setup Guide section. For more information, see the Syncing
LMFC Signals section.
If CheckSumMode = 0, the checksum is the lower 8 bits of the
sum of the L − 1, M − 1, K − 1, N − 1, Np − 1, S − 1,
Scrambling, HD, Subclass, and JESDVer variables.
If CheckSumMode = 1, Lane0Checksum is the lower 8 bits of
the sum of Register 0x450 to Register 0x45A. Select whether to
sum by fields or by registers, matching the setting on the
transmitter.
EQUALIZATION MODE SETUP
Subclass Setup
The AD9152 supports JESD204B Subclass 1 and Subclass 0
operation.
DAC Power-Down Setup
Subclass 1
As described in the Step 1: Start Up the DAC section, PdDACs
must be set to 0 if both converters are being used. If only one of
the converters is being used, the unused converter must be
powered down. Table 28 can be used to determine which DAC
is powered down based on the number of converters (M) and
which converter to use (I DAC or Q DAC).
Subclass 1 mode achieves deterministic latency and allows the
synchronization of links to within the limits listed in Table 7. It
requires an external SYSREF± signal that is accurately phase
aligned to the DAC clock.
Table 28. DAC Power-Down Configuration Settings
M (Converters
per Link)
1
1
2
DACs to Power Down
I
Q
0
1
1
0
0
0
PdCLKs
0b01
0b10
0b00
Subclass 0
Subclass 0 mode gives deterministic latency to within 4 DAC
clock periods. It does not require any signal on the SYSREF±
pins (the pins can be left disconnected).
Subclass 0 still requires that all lanes arrive within the same
LMFC cycle and the dual DACs must be synchronized to each
other (they are synchronized to an internal clock instead of the
SYSREF± signal).
Set Subclass to 0 or 1 as desired.
PdClocks
If one of the two DACs is powered down, the clock for that
DAC can be powered down. If the I DAC is powered down,
PdClocks = 0b10. If the Q DAC is powered down, PdClocks = 0b01.
Rev. 0 | Page 28 of 104
Data Sheet
AD9152
Link Delay Setup
Note that if LMFCVar must be more than 10, the AD9152
cannot tolerate the variable delay in the system.
Use LMFCVar and LMFCDel to impose delays such that all
lanes in a system arrive in the same LMFC cycle.
For Subclass 1,
The unit used internally for delays is the period of the internal
processing clock (PClock), whose rate is 1/40th of the lane rate.
Delays that are not in PClock cycles must be converted before
they are used.
For Subclass 0,
Some useful internal relationships are defined below:
Program the same LMFCDel and LMFCVar across all links and
devices.
PClock period = 40/LaneRate
The PClock period can be used to convert from time to PClock
cycles when needed.
PClockFactor = 4/F (Frames per PClock)
PClockFactor is used to convert from units of PClock cycles to
frame clock cycles, which is needed to set LMFCDel in Subclass 1.
PClocksPerMF= K/PClockFactor (PClocks per LMFC cycle)
LMFCDel = ((MinDelay − 1) × PClockFactor) % K
LMFCDel = (MinDelay − 1) % PClockPerMF
See the Link Delay Setup Example, with Known Delays section
for an example calculation.
Without Known Delays
If comprehensive delay information is not available or known,
the AD9152 can read back the link latency between the LMFCRX
and the last arriving LMFC boundary in PClock cycles. This
information is then used to calculate LMFCVar and LMFCDel.
where PClocksPerMF is the number or PClock cycles in a
multiframe cycle.
For each link (on each device),
The values for PClockFactor and PClockPerMF are given per
JESD204B mode in Table 30.
1.
Power up the board.
2.
Follow the steps in Table 15 through Table 23 of the Device
Setup Guide.
3.
Set the subclass and perform a sync. For one shot sync,
perform the writes in Table 31. See the Syncing LMFC
Signals section for alternate sync modes.
4.
Record DYN_LINK_LATENCY_0 (Register 0x302) as a
value of Delay for that link and power cycle.
Table 30. PClockFactor and PClockPerMF Per JESD204B Mode
JESD204B Mode ID
PClockFactor
PClockPerMF (K = 32)
PClockPerMF (K = 16)
1
4
4
8
N/A1
5
2
16
8
6
2
16
8
7
1
32
16
9
4
8
N/A1
10
2
16
8
N/A means not applicable.
Repeat Steps 1 to Step 4 twenty times for each device in the system.
Keep a single list of the Delay values across all runs and devices.
With Known Delays
With information about all the system delays, LMFCVar and
LMFCDel can be calculated directly.
RxFixed (the fixed receiver delay in PClock cycles) and RxVar
(the variable receiver delay in PClock cycles) can be found in
Table 8. TxFixed (the fixed transmitter delay in PClock cycles)
and TxVar (the variable receiver delay in PClock cycles) can be
found in the data sheet of the transmitter used. PCBFixed (the
fixed PCB trace delay in PClock cycles) can be extracted from
the software; because this is generally much smaller than a
PClock cycle, it can also be omitted. For both the PCB and
transmitter delays, convert the delays into PClock cycles.
Table 31. Register Configuration and Procedure for One
Shot Sync
Addr.
0x301
0x03A
Bit.
No.
Value1
0x
0x01
0x03A
0x81
0x03A
SYSREF±
0xC1
Variable
Subclass
For each lane,
MinDelayLane = floor(RxFixed + TxFixed + PCBFixed)
0x300
MaxDelayLane = ceiling(RxFixed + RxVar + TxFixed +
TxVar + PCBFixed))
Across lanes, links, and devices:
MinDelay is the minimum of all MinDelayLane values.
MaxDelay is the maximum of all MaxDelayLane values.
1
For safety, add a guard band of 1 PClock cycle to each end of
the link delay as in the following equations:
LMFCVar = (MaxDelay + 1) − (MinDelay − 1)
0x
6
ChkSmMd
0
1
Description
Set the subclass
Set sync mode to one
shot sync
Enable the sync
machine
Arm the sync machine
If Subclass = 1, ensure
that at least one
SYSREF± edge is sent
to the device
Enable the link
See the JESD204B
Setup section
Enable the link
0x denotes a register value that the user must fill in. See the Variable and
Description columns for information on selecting the appropriate register value.
The list of delay values is used to calculate LMFCDel and
LMFCVar, but first some of the delay values may need to be
remapped.
Rev. 0 | Page 29 of 104
AD9152
Data Sheet
The maximum possible value for DYN_LINK_LATENCY is one
less than the number of PClocks in a multiframe (PClocksPerMF).
It is possible that a rollover condition may be encountered,
meaning the set of recorded Delay values might roll over the
edge of a multiframe. If so, Delay values may be near both 0 and
PClocksPerMF. If this occurs, add PClocksPerMF to the set of
values near 0.
For example, for Delay value readbacks of 6, 7, 0, and 1, the 0
and 1 Delay values must be remapped to 8 and 9, making the
new set of Delay values 6, 7, 8, and 9.
Across power cycles, links, and devices.
•
•
MinDelay is the minimum of all Delay measurements.
MaxDelay is the maximum of all Delay measurements.
For safety, a guard band of 1 PClock cycle is added to each end
of the link delay and calculate LMFCVar and LMFCDel with
the following equation:
LMFCVar = (MaxDelay + 1) − (MinDelay − 1)
Note that if LMFCVar must be more than 10, the AD9152
cannot tolerate the variable delay in the system.
For Subclass 1,
LMFCDel = ((MinDelay − 1) × PClockFactor) % K
Program the same LMFCDel and LMFCVar across all links and
devices.
See the Link Delay Setup Example, Without Known Delays
section for an example calculation.
CROSSBAR SETUP
Register 0x308 and Register 0x309 allow arbitrary mapping of
physical lanes (SERDINx±) to logical lanes used by the SERDES
deframers.
Table 32. Crossbar Registers
Address
0x308
0x308
0x309
0x309
Bits
[2:0]
[5:3]
[2:0]
[5:3]
Logical Lane
LOGICAL_LANE0_SRC
LOGICAL_LANE1_SRC
LOGICAL_LANE2_SRC
LOGICAL_LANE3_SRC
Write each LOGICAL_LANEx_SRC with the number (x) of the
desired physical lane (SERDINx±) from which to receive data.
By default, all logical lanes use the corresponding physical lane
as their data source. For example, by default LOGICAL_LANE0_
SRC = 0, meaning Logical Lane 0 receives data from Physical
Lane 0 (SERDIN0±). If instead the user wants to use SERDIN3±
as the source for Logical Lane 0, the user must write
LOGICAL_LANE0_SRC = 3.
For Subclass 0,
LMFCDel = (MinDelay − 1) % PClockPerMF
Rev. 0 | Page 30 of 104
Data Sheet
AD9152
JESD204B SERIAL DATA INTERFACE
A number of JESD204B parameters (L, F, K, M, N, Np, S, HD,
and Scrambling) define how the data is packed and instruct the
device how to turn the serial data into samples. These parameters
are defined in detail in the Transport Layer section. Only certain
combinations of parameters are supported. Each supported
combination is called a mode. In total, six single link modes are
supported by the AD9152, as described in Table 33, which
shows the associated clock rates when the lane rate is 10 Gbps.
JESD204B OVERVIEW
The AD9152 has four JESD204B data ports that receive data.
The four JESD204B ports can be configured as part of a single
JESD204B link. The AD9152 supports single link only.
The JESD204B serial interface hardware consists of three layers:
the physical layer, the data link layer, and the transport layer. These
sections of the hardware are described in subsequent sections,
including information for configuring every aspect of the interface.
Figure 37 shows the communication layers implemented in the
AD9152 serial data interface to recover the clock and deserialize,
descramble, and deframe the data before it is sent to the digital
signal processing section of the device.
Achieving and recovering synchronization of the lanes is very
important. To simplify the interface to the transmitter, the AD9152
designates a master synchronization signal for the JESD204B
link. SYNCOUT± is used as the master signal for all lanes. If any
lane in the link loses synchronization, a resynchronization request
is sent to the transmitter via the synchronization signal. The
transmitter stops sending data and instead sends synchronization
characters to all lanes in the link until resynchronization is
achieved.
The physical layer establishes a reliable channel between the
transmitter and the receiver, the data link layer unpacks the data
into octets and descrambles the data, and the transport layer
receives the descrambled JESD204B frames and converts them
to DAC samples.
SYNCOUT±
PHYSICAL
LAYER
SERDIN3±
DATA LINK
LAYER
TRANSPORT
LAYER
QBD/
DESCRAMBLER
FRAME TO
SAMPLES
I DATA[15:0]
DESERIALIZER
TO DAC
DSP BLOCK
Q DATA[15:0]
DESERIALIZER
12994-032
SERDIN0±
SYSREF±
Figure 37. Functional Block Diagram of Serial Link Receiver
Table 33. Single Link JESD204B Operating Modes
Parameter
M (Converter Counts)
L (Lane Counts)
S (Samples per Converter per Frame)
F (Octets per Frame per Lane)
Example Clocks for 10 Gbps Lane Rate
PClock (MHz)
Frame Clock (MHz)
Sample Clock (MHz)
4
2
4
1
1
5
2
4
2
2
6
2
2
1
2
250
1000
1000
250
500
1000
250
500
500
Mode
7
2
1
1
4
250
250
250
DESERIALIZER
SERDINx±
TERMINATION
EQUALIZER
CDR
1:40
FROM SERDES PLL
Figure 38. Deserializer Block Diagram
Rev. 0 | Page 31 of 104
12994-033
SPI CONTROL
9
1
2
1
1
10
1
1
1
2
250
1000
1000
250
500
500
AD9152
Data Sheet
PHYSICAL LAYER
Clock Relationships
The physical layer of the JESD204B interface, hereafter referred
to as the deserializer, has four identical channels. Each channel
consists of the terminators, an equalizer, a CDR circuit, and the
1:40 demux function (see Figure 38).
The following clocks rates are used throughout the rest of the
JESD204B section. The relationship between any of the clocks
can be derived from the following equations:
JESD204B data is input to the AD9152 via the SERDINx±
differential input pins per the JESD204B specification.
LaneRate = (20 × DataRate × M)/L
Interface Power-Up and Input Termination
Before using the JESD204B interface, it must be powered up by
setting Register 0x200, Bit 0 = 0. In addition, each physical lane that
is not being used (SERDINx±) must be powered down. To do
so, set the corresponding Bit x for Physical Lane x in Register 0x201
to 0 if the physical lane is being used, and to 1 if it is not being used.
The AD9152 autocalibrates the input termination to 50 Ω. Before
running the termination calibration, write to Register 0x2AA
and Register 0x2AB as described in Table 34 to guarantee
proper calibration. The termination calibration begins when
Register 0x2A7, Bit 0 transitions from low to high.
The PHY termination autocalibration routine is as shown in
Table 34.
Table 34. PHY Termination Autocalibration Routine
Address
0x2AA1
0x2AB1
0x2A7
1
Value
0xB7
0x87
0x01
Description
JESD204B interface termination configuration
JESD204B interface termination configuration
Autotune PHY terminations
Register 0x2AA and Register 0x2A8 must be set to the recommend value in
Table 34 and do not appear in the register map.
The input termination voltage of the DAC is sourced externally
via the VTT pins (Pin 13 and Pin 30). Set VTT by connecting it to
SVDD12. It is recommended to ac couple the JESD204B inputs
to the JESD204B transmit device using 100 nF capacitors.
Receiver Eye Mask
The AD9152 complies with the JESD204B specification
regarding the receiver eye mask and is capable of capturing data
that complies with this mask. Figure 39 shows the receiver eye
mask normalized to the data rate interval with a VTT swing of
600 mV. See the JESD204B specification for more information
regarding the eye mask and permitted receiver eye opening.
where:
M is the JESD204B parameter for converters per link.
L is the JESD204B parameter for lanes per link.
ByteRate = LaneRate/10
This comes from 8-bit/10-bit encoding, where each byte is
represented by 10 bits.
PClockRate = ByteRate/4
The processing clock is used for a quad-byte decoder.
FrameRate = ByteRate/F
where F is defined as octets per frame per lane.
PClockFactor = FrameRate/PClockRate = 4/F
SERDES PLL
Functional Overview of the SERDES PLL
The independent SERDES PLL uses integer-N techniques to
achieve clock synthesis. The entire SERDES PLL is integrated
on chip, including the VCO and the loop filter. The SERDES
PLL VCO operates over the range of 5.75 GHz to 12.38 GHz.
In the SERDES PLL, a VCO divider block divides the VCO
clock by 2 to generate a 2.88 GHz to 6.19 GHz quadrature clock
for the deserializer cores. This clock is the input to the clock
and data recovery block that is described in the Clock and Data
Recovery section.
The reference clock to the SERDES PLL is always running at a
frequency, fREF, that is equal to 1/40 of the lane rate (PClockRate).
This clock is divided by the DivFactor value to deliver a clock to
the PFD block that is between 35 MHz and 80 MHz. Table 35
includes the respective SERDES_PLL_DIV_MODE settings for
each of the desired DivFactor options available.
Table 35. SERDES PLL Divider Settings
LaneRate (Gbps)
1.44 to 3.09
2.88 to 6.19
5.75 to 12.38
LV-OIF-11G-SR Rx EYE MASK
525
Divide by
(DivFactor)
1
2
4
SERDES_PLL_DIV_MODE
Register 0x289, Bits[1:0]
2
1
0
55
Register 0x280 controls the synthesizer enable and recalibration.
0
–55
To enable the SERDES PLL, first set the PLL divider register
according to Table 35, and then enable the SERDES PLL by
writing 1 to Register 0x280, Bit 0.
–525
0
0.35
0.5
0.65
TIME (UI)
1.00
12994-034
AMPLITUDE (mV)
DataRate = (DACRate)/(InterpolationFactor)
Figure 39. Receiver Eye Mask
Rev. 0 | Page 32 of 104
Data Sheet
AD9152
SERDES PLL Fixed Register Writes
Confirm that the SERDES PLL is working by reading
Register 0x281. If Register 0x281, Bit 0 = 1, the SERDES PLL has
locked. If Register 0x281, Bit 3 = 1, the SERDES PLL was calibrated.
If Register 0x281, Bit 4 or Register 0x281, Bit 5 are high, the PLL
has reached the upper or lower end of its calibration band and must
be recalibrated by writing 0 and then 1 to Register 0x280, Bit 2.
To optimize the PLL across all operating conditions, the
following SPI writes are recommended: Register 0x284 = 0x62,
Register 0x285 = 0xC9, Register 0x286 = 0x0E, Register 0x287 =
0x12, Register 0x28A = 0x2B, Register 0x28B = 0x00, Register
0x290 = 0x89, Register 0x291= 0x4C, Register 0x294 = 0x24,
Register 0x296= 0x03, Register 0x297= 0x0D, Register 0x299 =
0x02, Register 0x29A = 0x8E, Register 0x29C = 0x2A, Register
0x29F = 0x7E, and Register 0x2A0 = 0x06.
SERDES PLL IRQ
The SERDES PLL lock and lost signals are available as IRQ
events. Use Register 0x01F, Bits[4:3] to enable these signals, and
then use Register 0x023, Bits[4:3] to read back their statuses and
reset the IRQ signals. See the Interrupt Request Operation
section for more information.
These writes properly set up the SERDES PLL, including the
loop filter and the charge pump.
2.88GHz TO 6.19GHz
OUTPUT
VCO
LDO
CHARGE
PUMP
I Q
PFD
80MHz
MAX
BIT RATE ÷ 40
DivFactor
(1, 2, 4)
C1
R1
UP
C2
C3
LC VCO
5.75GHz TO 12.38GHz
÷2
DOWN
÷80
R3
ALC CAL
FO CAL
3.2mA
CAL CONTROL BITS
Figure 40. SERDES PLL Synthesizer Block Diagram Including VCO Divider Block
Rev. 0 | Page 33 of 104
12994-035
fREF
AD9152
Data Sheet
A CDR sampling mode must be selected to generate the lane rate
clock inside the device. If the desired lane rate is greater than
6.19 GHz, half rate CDR operation must be used. If the desired
lane rate is less than 6.19 GHz, disable half rate operation. If the
lane rate is less than 3.09 GHz, disable half rate and enable 2×
oversampling to recover the appropriate lane rate clock. Table 36
gives a breakdown of the CDR sampling settings that must be
set dependent on the LaneRate.
Table 36. CDR Operating Modes
ENHALFRATE,
Register 0x230, Bit 5
0
0
1
CDR_OVERSAMP,
Register 0x230, Bit 1
1
0
0
0
JESD204B SPEC ALLOWED
CHANNEL LOSS
2
AD9152 ALLOWED
CHANNEL LOSS
(LOW POWER MODE)
6
The CDR circuit synchronizes the phase used to sample the data on
each serial lane independently. This independent phase adjustment
per serial interface ensures accurate data sampling and eases the
implementation of multiple serial interfaces on a PCB.
EXAMPLE OF
AD9152
COMPATIBLE
CHANNEL (LOW
POWER MODE)
8
10
12
EXAMPLE OF
AD9152
COMPATIBLE
CHANNEL
(NORMAL MODE)
AD9152 ALLOWED
CHANNEL LOSS
(NORMAL MODE)
14
16
18
After configuring the CDR circuit, reset it and then release the
reset by writing 1 and then 0 to Register 0x206, Bit 0.
20
Power-Down Unused PHYs
24
22
2.5
5.0
7.5
FREQUENCY (GHz)
Note that any unused and enabled lanes consume extra power
unnecessarily. Each lane that is not being used (SERDINx±)
must be powered off by writing a 1 to the corresponding bit of
PHY_PD (Register 0x201).
Figure 41. Insertion Loss Allowed
0
–5
Equalization
–10
ATTENUATION (dB)
To compensate for signal integrity distortions for each PHY
channel due to PCB trace length and impedance, the AD9152
employs an easy to use, low power equalizer on each JESD204B
channel. The AD9152 equalizers can compensate for insertion
losses far greater than required by the JESD204B specification.
The equalizers have two modes of operation determined by the
EQ_POWER_MODE register setting in Register 0x268, Bits[7:6].
In low power mode (Register 0x268, Bits[7:6] = 2b’01) and
operating at the maximum lane rate of 10 Gbps, the equalizer can
compensate for up to 12 dB of insertion loss. In normal mode
(Register 0x268, Bits[7:6] = 2b’00), the equalizer can compensate for
up to 17.5 dB of insertion loss. This performance is shown in
Figure 41 as an overlay to the JESD204B specification for insertion
loss. Figure 41 shows the equalization performance at
10.0 Gbps, near the maximum baud rate for the AD9152.
EXAMPLE OF
JESD204B
COMPLIANT
CHANNEL
4
INSERTION LOSS (dB)
LaneRate
(Gbps)
1.44 to 3.09
2.88 to 6.19
5.75 to 12.38
Low power mode is recommended if the insertion loss of the
JESD204B PCB channels is less than that of the most lossy
supported channel for lower power mode (shown in Figure 41).
If the insertion loss is greater than that, but still less than that of
the most lossy supported channel for normal mode (shown in
Figure 41), use normal mode. At 10 Gbps operation, the equalizer
in normal mode consumes about 4 mW more power per lane
used than in low power equalizer mode. Note that either mode
can be used in conjunction with transmitter preemphasis to
ensure functionality and/or optimize for power.
12994-036
The deserializer is equipped with a CDR circuit. Instead of
recovering the clock from the JESD204B serial lanes, the CDR
acquires the clocks from the SERDES PLL. The 2.88 GHz to
6.19 GHz output from the SERDES PLL, shown in Figure 40, is
the input to the CDR.
Figure 42 and Figure 43 are provided as points of reference for
hardware designers and show the insertion loss for various
lengths of well laid out stripline and microstrip transmission
lines on FR4 materials. See the Board Level Hardware
Considerations section for specific layout recommendations for
the JESD204B channel.
Rev. 0 | Page 34 of 104
–15
–20
STRIPLINE = 6”
STRIPLINE = 10”
STRIPLINE = 15”
STRIPLINE = 20”
STRIPLINE = 25”
STRIPLINE = 30”
–25
–30
–35
–40
0
1
2
3
4
5
6
7
8
9
FREQUENCY (GHz)
Figure 42. Insertion Loss of 50 Ω Striplines on FR-4
10
12994-037
Clock and Data Recovery
Data Sheet
AD9152
0
The AD9152 can operate as a single link high speed JESD204B
serial data interface. All four lanes of the JESD204B interface
handle link layer communications such as code group
synchronization, frame alignment, and frame synchronization.
–5
–15
The AD9152 decodes 8-bit/10-bit control characters, allowing
marking of the start and end of the frame and alignment
between serial lanes. The AD9152 serial interface link can issue
a synchronization request by setting the SYNCOUT± signal low.
The synchronization protocol follows Section 4.9 of the JESD204B
standard. When a stream of four consecutive /K/ symbols is
received, the AD9152 deactivates the synchronization request
by setting the SYNCOUT± signal high at the next internal
LMFC rising edge. Then, the AD9152 waits for the transmitter
to issue an initial lane alignment sequence (ILAS). During the
ILAS sequence, all lanes are aligned using the /A/ to /R/
character transition as described in the JESD204B Serial Link
Establishment section. Elastic buffers hold early arriving lane
data until the alignment character of the latest lane arrives. At
this point, the buffers for all lanes are released and all lanes are
aligned (see Figure 45).
–20
6” MICROSTRIP
10” MICROSTRIP
15” MICROSTRIP
20” MICROSTRIP
25” MICROSTRIP
30” MICROSTRIP
–30
–35
–40
0
1
2
3
4
5
6
7
8
9
10
FREQUENCY (GHz)
Figure 43. Insertion Loss of 50 Ω Microstrips on FR-4
DATA LINK LAYER
The data link layer of the AD9152 JESD204B interface accepts
the deserialized data from the PHYs and deframes and descrambles
them so that data octets are presented to the transport layer to
be put into DAC samples. The architecture of the data link layer
is shown in Figure 44. It consists of a synchronization FIFO for
each lane, a crossbar switch, a deframer, and descrambler.
DATA LINK LAYER
SYNCOUT±
SERDIN0_DATA[39:0]
SERDIN0_CLK
40
QUAD-BYTE
DEFRAMER
(QBD)
CROSSBAR
SWITCH
SERDIN3_DATA[39:0]
SERDIN3_CLK
SYSREF
32
40
SERDIN 0 FIFO
40
40
SERDIN 3 FIFO
DESCRAMBLE
–25
12994-038
ATTENUATION (dB)
–10
32
LANE 0 OCTETS
LANE 3 OCTETS
SYSTEM CLOCK
PHASE DETECT
PCLK
12994-039
SPI CONTROL
Figure 44. Data Link Layer Block Diagram
Rev. 0 | Page 35 of 104
AD9152
Data Sheet
L RECEIVE LANES
(EARLIEST ARRIVAL) K K K R D D
D D A R Q C
L RECEIVE LANES
(LATEST ARRIVAL) K K K K K K K R D D
C
D D A R Q C
D D A R D D
C
D D A R D D
0 CHARACTER ELASTIC BUFFER DELAY OF LATEST ARRIVAL
4 CHARACTER ELASTIC BUFFER DELAY OF EARLIEST ARRIVAL
L ALIGNED
RECEIVE LANES K K K K K K K R D D
D D A R Q C
C
12994-040
K = K28.5 CODE GROUP SYNCHRONIZATION COMMA CHARACTER
A = K28.3 LANE ALIGNMENT SYMBOL
F = K28.7 FRAME ALIGNMENT SYMBOL
R = K28.0 START OF MULTIFRAME
Q = K28.4 START OF LINK CONFIGURATION DATA
C = JESD204 LINK CONFIGURATION PARAMETERS
D = Dx.y DATA SYMBOL
D D A R D D
Figure 45. Lane Alignment During ILAS
JESD204B Serial Link Establishment
Step 3: Data Streaming
A brief summary of the high speed serial link establishment
process for Subclass 1 is provided. See Section 5.3.3 of the
JESD204B specifications document for complete details.
In this phase, data is streamed from the transmitter block to the
receiver block.
Optionally, data can be scrambled. Scrambling does not start
until the very first octet following the ILAS.
Step 1: Code Group Synchronization
Each receiver must locate K (K28.5) characters in its input data
stream. After four consecutive K characters are detected on all
lanes, the receiver block deasserts the SYNCOUT± signal to the
transmitter block at the receiver local multiframe clock (LMFC)
edge.
The transmitter captures the change in the SYNCOUT± signal,
and at a future transmitter LMFC rising edge, starts the ILAS.
Step 2: Initial Lane Alignment Sequence
The main purposes of this phase are to align all the lanes of the
link and verify the parameters of the link.
Before the link is established, write each of the link parameters
to the receiver device to designate how data is sent to the
receiver block.
The ILAS consists of four or more multiframes. The last character
of each multiframe is a multiframe alignment character, /A/.
The first, third, and fourth multiframes are populated with
predetermined data values. Note that Section 8.2 of the
JESD204B specifications document describes the data ramp that
is expected during ILAS. By default, the AD9152 does not
require this ramp. Register 0x47E, Bit 0 can be set high to
require the data ramp. The deframer uses the final /A/ of each
lane to align the ends of the multiframes within the receiver.
The second multiframe contains an R (K.28.0), Q (K.28.4), and
then data corresponding to the link parameters. Additional
multiframes can be added to the ILAS if needed by the receiver.
By default, the AD9152 uses four multiframes in the ILAS (this
can be changed in Register 0x478). If using Subclass 1, exactly
four multiframes must be used.
The receiver block processes and monitors the data it receives
for errors, including





Bad running disparity (8-bit/10-bit error)
Not in table (8-bit/10-bit error)
Unexpected control character
Bad ILAS
Interlane skew error (through character replacement)
If any of these errors exist, they are reported back to the
transmitter in one of a few ways (see the JESD204B Error
Monitoring section for details).



SYNCOUT± signal assertion: resynchronization
(SYNCOUT± signal pulled low) is requested at each error
for the last two errors. For the first three errors, an optional
resynchronization request can be asserted when the error
counter reaches a set error threshold.
For the first three errors, each multiframe with an error in
it causes a small pulse on SYNCOUT±.
Errors can optionally trigger an IRQ event, which can be
sent to the transmitter.
Various test modes for verifying the link integrity can be found
in the JESD204B Test Modes section.
After the last /A/ character of the last ILAS, multiframe data
begins streaming.
Rev. 0 | Page 36 of 104
Data Sheet
AD9152
Lane FIFO
Descrambler
The FIFOs in front of the crossbar switch and deframer
synchronize the samples sent on the high speed serial data
interface with the deframer clock by adjusting the phase of the
incoming data. The FIFO absorbs timing variations between the
data source and the deframer; this allows up to two PClock
cycles of drift from the transmitter. The FIFO_STATUS_REG_0
register and FIFO_STATUS_REG_1 register (Register 0x30C
and Register 0x30D, respectively) can be monitored to identify
whether the FIFOs are full or empty.
The AD9152 provides an optional descrambler block using a
self synchronous descrambler with a polynomial: 1 + x14 + x15.
An aggregate lane FIFO error bit is also available as an IRQ
event. Use Register 0x01F, Bit 1 to enable the FIFO error bit, and
then use Register 0x023, Bit 1 to read back its status and reset
the IRQ signal. See the Interrupt Request Operation section for
more information.
Crossbar Switch
Register 0x308 and Register 0x309 allow arbitrary mapping of
physical lanes (SERDINx±) to logical lanes used by the SERDES
deframers.
Table 37. Crossbar Registers
Address
0x308
0x308
0x309
0x309
Bits
[2:0]
[5:3]
[2:0]
[5:3]
Logical Lane
LOGICAL_LANE0_SRC
LOGICAL_LANE1_SRC
LOGICAL_LANE2_SRC
LOGICAL_LANE3_SRC
Write each LOGICAL_LANEy_SRC with the number (x) of the
desired physical lane (SERDINx±) from which to receive data. By
default, all logical lanes use the corresponding physical lane as their
data source. For example, by default LOGICAL_LANE0_SRC = 0,
thus Logical Lane 0 receives data from Physical Lane 0 (SERDIN0±).
If instead the user wants to use SERDIN3± as the source for Logical
Lane 0, the user must write LOGICAL_LANE0_SRC = 3.
Lane Inversion
Register 0x334 allows inversion of desired logical lanes, which
can be used to ease routing of the SERDINx± signals. For each
Logical Lane x, set Bit x of Register 0x334 to 1 to invert it.
Deframer
The AD9152 consists of one quad byte deframer (QBD). The
deframer takes in the 8-bit/10-bit encoded data from the
deserializer (via the crossbar switch), decodes it, and descrambles it
into JESD204B frames before passing it to the transport layer to be
converted to DAC samples. The deframer processes four symbols
(or octets) per processing clock (PClock) cycle.
Syncing LMFC Signals
The first step in guaranteeing synchronization across devices
begins with syncing the LMFC signals. The I DAC and Q DAC
share one LMFC signal. In Subclass 0, the LMFC signal is
synchronized to an internal processing clock. In Subclass 1, all
LMFC signals for all devices are synchronized to an external
SYSREF± signal.
The SYSREF± signal is a differential source synchronous input that
synchronizes the LMFC signals in both the transmitter and receiver
in a JESD204B Subclass 1 system to achieve deterministic latency.
The SYSREF± signal is an active high signal that is sampled by
the device clock rising edge. It is best practice that the device clock
and SYSREF± signals be generated by the same source, such as a
AD9516-1 clock generator, so that the phase alignment between
the signals is fixed. When designing for optimum deterministic
latency operation, consider the timing distribution skew of the
SYSREF± signal in a multipoint link system (multichip).
The AD9152 supports a single pulse or step, or a periodic SYSREF±
signal. The periodicity can be continuous, strobed, or gapped
periodic. The SYSREF± signal can be dc-coupled (with a
common-mode voltage of 0 V to 2 V) or ac-coupled. When dccoupled, a small amount of common-mode current (<500 µA) is
drawn from the SYSREF± pins. See Figure 46 for the SYSREF±
internal circuit.
To avoid this common-mode current draw, use a 50% dutycycle periodic SYSREF± signal with ac coupling capacitors. If accoupled, the ac coupling capacitors combine with the resistors
shown in Figure 46 to make a high-pass filter with an RC time
constant of τ = RC. Select C such that τ > 4/ SYSREF± frequency.
In addition, the edge rate must be sufficiently fast—at least 6.3 V/ns
is recommended per Table 5—to meet the SYSREF± vs. DAC
clock keep out window (KOW) requirements.
The deframer uses the JESD204B parameters that the user has
programmed into the register map to identify how the data has
been packed and unpack it. The JESD204B parameters are
discussed in detail in the Transport Layer section; many of the
parameters are also needed in the transport layer to convert
JESD204B frames into samples.
Rev. 0 | Page 37 of 104
1.2V
SYSREF+
3kΩ
SYSREF–
3kΩ
~600mV
12994-041
Lane FIFO IRQ
Enabling data scrambling reduces spectral peaks that are
produced when the same data octets repeat from frame to
frame. It also makes the spectrum data independent so that
possible frequency selective effects on the electrical interface do
not cause data dependent errors. Descrambling of the data is
enabled by setting the SCR bit (Register 0x453, Bit 7) to 1.
Figure 46. SYSREF± Input Circuit
AD9152
Data Sheet
Sync Processing Modes Overview
The AD9152 supports various LMFC sync processing modes.
These modes are one shot, continuous, windowed continuous,
and monitor modes. All sync processing modes perform a phase
check to see that the LMFC is phase aligned to an alignment edge.
In Subclass 1, the SYSREF± pulse acts as the alignment edge; in
Subclass 0, an internal processing clock acts as the alignment edge.
If the signals are not in phase, a clock rotation occurs to align the
signals. The sync modes are described in the following sections. See
the Sync Procedure section for details on the procedure for
syncing the LMFC signals.
One Shot Sync Mode (SYNCMODE = 0x1)
In one shot sync mode, a phase check occurs on only the first
alignment edge that is received after the sync machine is armed. If
the phase error is larger than a specified window error tolerance, a
phase adjustment occurs. Though an LMFC synchronization
occurs only once, the SYSREF± signal can still be continuous.
Continuous Sync Mode (SYNCMODE = 0x2)
Continuous mode must only be used in Subclass 1 with a periodic
SYSREF± signal. In continuous mode, a phase check/alignment
occurs on every alignment edge.
Continuous mode differs from the one shot mode in two ways.
First, no SPI cycle is required to arm the device; the alignment
edge seen after continuous mode is enabled results in a phase
check. Second, a phase check (and when necessary, clock rotation)
occurs on every alignment edge in continuous mode. The one
caveat to the previous statement is that when a phase rotation cycle
is underway, subsequent alignment edges are ignored until the
logic lane is ready again.
For debug purposes, SYNCARM (Register 0x03A, Bit 6) can be
used to inform the user that alignment edges are being received
in continuous mode. Because the SYNCARM bit is self cleared
after an alignment edge is received, the user can arm the sync
(SYNCARM (Register 0x03A, Bit 6) = 1), and then read back
SYNCARM. If SYNCARM = 0, the alignment edges are being
received and phase checks are occurring. Arming the sync
machine in this mode does not affect the operation of the device.
One Shot Then Monitor Sync Mode (SYNCMODE = 0x9)
In one shot then monitor mode, the user can monitor the phase
error in real time. Use this sync mode with a periodic SYSREF±
signal. A phase check and alignment occurs on the first alignment
edge received after the sync machine is armed. On all subsequent
alignment edges, the phase is monitored and reported, but no clock
phase adjustment occurs.
The phase error can be monitored on the SYNC_CURRERR
register (Register 0x03C and Register 0x03D). Immediately after
an alignment occurs, SYNC_CURRERR is forced to 0 to
indicate that there is no difference between the alignment edge
and the LMFC edge. On every subsequent alignment edge, the
phase is checked. If the alignment is lost, the phase error is
reported in the SYNC_CURRERR_L register in DAC clock
cycles. If the phase error is beyond the selected window tolerance
(Register 0x034, Bits[2:0]), Bit 6 or Bit 7 of Register 0x03D is set
high depending on whether the phase error is on low or high side.
When an alignment occurs, snapshots of the last phase error
(Register 0x03C) and the corresponding error flags (Register 0x03D,
Bits[7:6]) are placed into readable registers for reference
(Register 0x038 and Register 0x039, respectively).
The maximum acceptable phase error (in DAC clock cycles)
between the alignment edge and the LMFC edge is set in the
error window tolerance register. If continuous sync mode is
used with a nonzero error window tolerance, a phase check occurs
on every SYSREF± pulse, but an alignment occurs only if the phase
error is greater than the specified error window tolerance. If the
jitter of the SYSREF signal violates the KOW specification given
in Table 5 and therefore causes phase error uncertainty, the error
tolerance can be increased to avoid constant clock rotations. Note
that this means that the latency is less deterministic by the size
of the window. If the error window tolerance must be set above 3,
Subclass 0 with one shot sync is recommended.
Rev. 0 | Page 38 of 104
Data Sheet
AD9152
Sync Procedure
LMFC Sync IRQ
The procedure for enabling the sync is as follows:
The sync status bits (SYNCLOCK, SYNCROTATE, SYNCTRIP,
and SYNCWLIM) are available as IRQ events.
1.
2.
3.
4.
5.
6.
Set the desired sync processing mode. The sync processing
mode settings are listed in Table 38.
For Subclass 1, set the error window according to the
uncertainty of the SYSREF± signal relative to the DAC
clock and the tolerance of the application for deterministic
latency uncertainty. The sync window tolerance settings
are given in Table 39.
Enable sync by writing 1 to SYNCENABLE (Register 0x03A,
Bit 7).
If in one shot mode, arm the sync machine by writing 1 to
SYNCARM (Register 0x03A, Bit 6).
If in Subclass 1, ensure that at least one SYSREF± pulse is
sent to the device.
Check the status by reading the following bit fields:
a) SYNCBUSY (Register 0x03B, Bit 7) = 0 to indicate that
the sync logic is no longer busy.
b) SYNCLOCK (Register 0x03B, Bit 3) = 1 to indicate that
the signals are aligned. This bit updates on every phase
check.
c) SYNCWLIM (Register 0x03B, Bit 1) = 0 to indicate
that the phase error is not beyond the specified error
window. This bit updates on every phase check.
d) SYNCROTATE (Register 0x03B, Bit 2) = 1 if the phases
were not aligned before the sync and a clock
alignment occurred. This bit is sticky and can be
cleared only by writing to SYNCCLRSTKY control
bit (Register 0x03A, Bit 5).
e) SYNCTRIP (Register 0x03B, Bit 0) = 1 to indicate that
the alignment edge was received and the phase
check occurred. This bit is sticky and can be cleared
only by writing to SYNCCLRSTKY control bit
(Register 0x03A, Bit 5).
Table 38. Sync Processing Modes
Sync Processing Mode
One Shot
Continuous
One Shot Then Monitor
SYNCMODE (Register 0x03A, Bits[3:0])
0x01
0x02
0x09
See the Interrupt Request Operation section for more information.
Deterministic Latency
JESD204B systems contain various clock domains distributed
throughout each system. Data traversing from one clock
domain to a different clock domain can lead to ambiguous
delays in the JESD204B link. These ambiguities lead to
nonrepeatable latencies across the link from power cycle to
power cycle with each new link establishment. Section 6 of the
JESD204B specification addresses the issue of deterministic
latency with mechanisms defined as Subclass 1 and Subclass 2.
The AD9152 supports JESD204B Subclass 0 and Subclass 1 operation, but not Subclass 2. Write the subclass to Register 0x301,
Bits[2:0] and once per link to Register 0x458, Bits[7:5].
Subclass 0
Subclass 0 mode does not require any signal on the SYSREF±
pins, which can be left disconnected.
Subclass 0 still requires that all lanes arrive within the same
LMFC cycle.
Minor Subclass 0 Caveats
Because the AD9152 requires an ILAS, the nonmultiple
converter single lane (NMCDA-SL) case from the JESD204A
specification is supported only when using the optional ILAS.
Error reporting using SYNCOUT± is not supported when using
Subclass 0 with F = 1.
Subclass 1
Subclass 1 mode gives deterministic latency and allows links to be
synced to within ½ a DAC clock period. It requires an external
SYSREF± signal that is accurately phase aligned to the DAC clock.
Deterministic Latency Requirements
Several key factors are required for achieving deterministic
latency in a JESD204B Subclass 1 system.
Table 39. Sync Window Tolerance
Sync Error Window Tolerance
(DAC Clock Cycles)
±½
±1
±2
±3
±4
±5
±6
±7
Use Register 0x021, Bits[3:0] to enable the sync status bits, and
then use Register 0x025, Bits[3:0] to read back their statuses and
to reset the IRQ signals.
ERRWINDOW
(Register 0x034, Bits[2:0])
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
•
•
•
Rev. 0 | Page 39 of 104
SYSREF± signal distribution skew within the system must
be less than the desired uncertainty.
SYSREF± setup and hold time requirements must be met
for each device in the system.
The total latency variation across all lanes, and devices
must be ≤10 PClock periods. This includes both variable
delays and the variation in fixed delays from lane to lane
and device to device in the system.
AD9152
Data Sheet
Link Delay
the link delays, and the AD9152 can achieve proper performance
with a smaller total latency. Figure 47 and Figure 48 show a case
where the link delay is larger than an LMFC period. Note that it
can be accommodated by delaying LMFCRx.
The link delay of a JESD204B system is the sum of the fixed and
variable delays from the transmitter, channel, and receiver as
shown in Figure 49.
POWER CYCLE
VARIANCE
For proper functioning, all lanes on the link must be read during
the same LMFC period. Section 6.1 of the JESD204B specification
states that the LMFC period must be larger than the maximum
link delay. For the AD9152, this is not necessarily the case; instead,
the AD9152 uses a local LMFC for the link (LMFCRx) that can
be delayed from the SYSREF± aligned LMFC. Because the LMFC
is periodic, this can account for any amount of fixed delay. As a
result, the LMFC period must only be larger than the variation in
ILAS
ALIGNED DATA
DATA
LATE ARRIVING
LMFC REFERENCE
EARLY ARRIVING
LMFC REFERENCE
Figure 47. Link Delay > LMFC Period Example
POWER CYCLE
VARIANCE
LMFC
ILAS
ALIGNED DATA
DATA
LMFC DELAY
LMFC REFERENCE FOR ALL POWER CYCLES
FRAME CLOCK
12994-043
LMFCRX
Figure 48. LMFC_DELAY_x to Compensate for Link Delay > LMFC
LINK DELAY = DELAYFIXED + DELAYVARIABLE
LOGIC DEVICE
(JESD204B Tx)
CHANNEL
JESD204B Rx
DSP
DAC
POWER CYCLE
VARIANCE
LMFC
ALIGNED DATA
AT Rx OUTPUT
ILAS
DATA
ILAS
DATA
FIXED DELAY
VARIABLE
DELAY
Figure 49. JESD204B Link Delay = Fixed Delay + Variable Delay
Rev. 0 | Page 40 of 104
12994-044
DATA AT
Tx INPUT
12994-042
LMFC
Data Sheet
AD9152
The method to select the LMFCDel (Register 0x304) and
LMFCVar (Register 0x306) variables is described in the Link
Delay Setup section.
1.
Setting LMFCDel appropriately ensures that all the corresponding
data samples arrive in the same LMFC period. Then LMFCVar
is written into the receive buffer delay (RBD) to absorb all link
delay variation. This ensures that all data samples have arrived
before reading. By setting these to fixed values across runs and
devices, deterministic latency is achieved.
2.
The RBD described in the JESD204B specification takes values
from one frame clock cycle to K frame clock cycles, while the
RBD of the AD9152 takes values from 0 PClock cycles to
10 PClock cycles. As a result, up to 10 PClock cycles of total
delay variation can be absorbed. Because LMFCVar is in PClock
cycles, and LMFCDel is in frame clock cycles, a conversion
between these two units is needed. The PClockFactor, or
number of frame clock cycles per PClock cycle, is equal to 4/F.
For more information on this relationship, see the Clock
Relationships section.
Two examples follow that show how to determine LMFCVar
and LMFCDel. After they are calculated, write LMFCDel into
Register 0x304 for all devices in the system, and write LMFCVar
to both Register 0x306 for all devices in the system.
3.
4.
5.
Link Delay Setup Example, with Known Delays
All the known system delays can be used to calculate LMFCVar
and LMFCDel as described in the Link Delay Setup section.
6.
The example shown in Figure 50 is demonstrated in the
following steps according to the procedure outlined in the Link
Delay Setup section. Note that this example is in Subclass 1 to
achieve deterministic latency, which has a PClockFactor (4/F)
of two frame clock cycles per PClock cycle, and uses K = 32
(frames/multiframe). Because PCBFixed << PClockPeriod,
PCBFixed is negligible in this example and not included in the
calculations.
7.
Find the receiver delays using Table 8.
RxFixed = 17 PClock cycles
RxVar = 2 PClock cycles
Find the transmitter delays. The equivalent table in the
example JESD204B core (implemented on a GTH or GTX
transceiver on a Virtex-6 FPGA) states that the delay is
56 ± 2 byte clock cycles.
Because the PClockRate = ByteRate/4 as described in the
Clock Relationships section, the transmitter delays in
PClock cycles are as follows:
TxFixed = 54/4 = 13.5 PClock cycles
TxVar = 4/4 = 1 PClock cycle
Calculate MinDelayLane as follows:
MinDelayLane = floor(RxFixed + TxFixed + PCBFixed)
= floor(17 + 13.5 + 0)
= floor(30.5)
MinDelayLane = 30
Calculate MaxDelayLane as follows:
MaxDelayLane = ceiling(RxFixed + RxVar + TxFixed +
TxVar + PCBFixed))
= ceiling(17 + 2 + 13.5 + 1 + 0)
= ceiling(33.5)
MaxDelayLane = 34
Calculate LMFCVar as follows:
LMFCVar = (MaxDelay + 1) − (MinDelay − 1)
= (34 + 1) − (30 − 1) = 35 − 29
LMFCVar = 6 PClock cycles
Calculate LMFCDel as follows:
LMFCDel = ((MinDelay − 1) × PClockFactor) % K
= ((30 − 1) × 2) % 32 = (29 × 2) % 32
= 58 % 32
LMFCDel = 26 frame clock cycles
Write LMFCDel to Register 0x304 for all devices in the
system. Write LMFCVar to Register 0x306 for all devices in
the system.
LMFC
PCLOCK
FRAME CLOCK
DATA AT Tx FRAMER
ALIGNED LANE DATA
AT Rx DEFRAMER OUTPUT
ILAS
DATA
ILAS
Tx VAR
DELAY
Rx VAR
DELAY
DATA
PCB FIXED
DELAY
LMFCRX
TOTAL FIXED LATENCY = 30 PCLOCK CYCLES
Figure 50. LMFC Delay Calculation Example
Rev. 0 | Page 41 of 104
TOTAL VARIABLE
LATENCY = 4
PCLOCK CYCLES
12994-045
LMFC DELAY = 26 FRAME CLOCK CYCLES
AD9152
Data Sheet
Link Delay Setup Example, Without Known Delays
If the system delays are not known, the AD9152 can read back
the link latency between LMFCRX for each link and the
SYSREF± aligned LMFC. This information is then used to
calculate LMFCVar and LMFCDel, as shown in the Without
Known Delays section.
Figure 52 shows how DYN_LINK_LATENCY_0 (Register 0x302)
provides a readback showing the delay (in PClock cycles) between
LMFCRX and the transition from ILAS to the first data sample.
By repeatedly power-cycling and taking this measurement, the
minimum and maximum delays across power cycles can be
determined and used to calculate LMFCVar and LMFCDel.
2.
3.
The example shown in Figure 52 is demonstrated in the following
steps according to the procedure outlined in the Without Known
Delays section. Note that this example is in Subclass 1 to
achieve deterministic latency, which has a PClockFactor (frame
clock rate/PClockRate) of 2 and uses K = 16; therefore
PClocksPerMF = 8.
5.
In Figure 52, for Link A, Link B, and Link C, the system
containing the AD9152 (including the transmitter) is
power cycled and configured 20 times. The AD9152 is
configured as described in the Device Setup Guide.
Because the point of this exercise is to determine LMFCDel
and LMFCVar, the LMFCDel is programmed to 0 and
DYN_LINK_LATENCY_0 is read from Register 0x302.
6.
SYSREF
LMFCRX
ILAS
ALIGNED DATA
DATA
12994-046
DYN_LINK_LATENCY_0
Figure 51. DYN_LINK_LATENCY_0 Example
LMFC
PCLOCK
FRAME CLOCK
DYN_LINK_LATENCY_CNT
0
1
2
ALIGNED DATA (LINK A)
ALIGNED DATA (LINK B)
ALIGNED DATA (LINK C)
3
4
5
6
7
0
1
2
3
ILAS
4
5
6
7
DATA
ILAS
DATA
ILAS
DATA
LMFCRX
DETERMINISTICALLY
DELAYED DATA
ILAS
LMFC_DELAY = 6
(FRAME CLOCK CYCLES)
DATA
LMFC_VAR = 7
(PCLOCK CYCLES)
Figure 52. Multilink Synchronization Settings, Derived Method Example
Rev. 0 | Page 42 of 104
12994-047
1.
4.
The variation in the link latency over the 20 runs is shown
in Figure 52 in gray.
Link A gives readbacks of 6, 7, 0, and 1. Note that the set of
recorded delay values rolls over the edge of a multiframe at
the boundary K/PClockFactor = 8. Add PClocksPerMF = 8
to the low set. Delay values range from 6 to 9.
Link B gives Delay values from 5 to 7.
Link C gives Delay values from 4 to 7.
Calculate the minimum of all delay measurements across
all power cycles, links, and devices:
MinDelay = min(all Delay values) = 4
Calculate the maximum of all delay measurements across
all power cycles, links, and devices:
MaxDelay = max(all Delay values) = 9
Calculate the total delay variation (with guard band) across
all power cycles, links, and devices:
LMFCVar = (MaxDelay + 1) − (MinDelay − 1)
= (9 + 1) − (4 − 1) = 10 − 3 = 7 PClock cycles
Calculate the minimum delay in frame clock cycles (with
guard band) across all power cycles, links, and devices:
LMFCDel = ((MinDelay − 1) × PClockFactor) % K
= ((4 − 1) × 2) % 16 = (3 × 2) % 16
= 6 % 16 = 6 frame clock cycles
Write LMFCDel to Register 0x304 for all devices in the
system. Write LMFCVar to Register 0x306 for all devices in
the system.
Data Sheet
AD9152
TRANSPORT LAYER
Table 41. JESD204B Device Parameters
The transport layer receives the descrambled JESD204B frames
and converts them to DAC samples based on the programmed
JESD204B parameters shown in Table 40. A number of device
parameters are defined in Table 41.
Parameter
CF
Table 40. JESD204B Transport Layer Parameters
HD
Parameter
F
K
N
N' (or NP)
L
M
S
CS
Description
Number of octets per frame per lane: 1, 2, or 4.
Number of frames per multiframe.
K = 32 if F = 1, K = 16 or 32 otherwise.
Number of lanes per converter device (per link), as
follows:
1, 2, or 4 (single link mode).
Number of converters per device (per link), as follows:
1 or 2 (single link mode).
Number of samples per converter, per frame: 1 or 2.
Description
Number of control words per device clock per link.
Not supported, must be 0.
Number of control bits per conversion sample. Not
supported, must be 0.
High density user data format. Used when samples
must be split across lanes.
Set to 1 when F = 1, otherwise 0.
Converter resolution = 16.
Total number of bits per sample = 16.
Certain combinations of these parameters, called JESD204B
operating modes, are supported by the AD9152. See Table 42
for a list of supported modes, along with their associated clock
relationships.
TRANSPORTLAYER
LANE 0 OCTETS
DAC_I[15:0]
DELAY
BUFFER
F2S
DAC_Q[15:0]
12994-048
LANE 3 OCTETS
PCLK
SPI CONTROL
Figure 53. Transport Layer Block Diagram
Table 42. Single Link JESD204B Operating Modes
Parameter
M (Converter Count)
L (Lane Count)
S (Samples per Converter per Frame)
F (Octets per Frame, per Lane)
K1 (Frames per Multiframe)
HD (High Density)
N (Converter Resolution)
NP (Bits per Sample)
Example Clocks for 10 Gbps Lane Rate
PClock Rate (MHz)
FrameClock Rate (MHz)
Data Rate (MHz)
1
4
2
4
1
1
32
1
16
16
5
2
4
2
2
16/32
0
16
16
6
2
2
1
2
16/32
0
16
16
250
1000
1000
250
500
1000
250
500
500
K must be 32 in Mode 4 and Mode 9. It can be 16 or 32 in all other modes.
Rev. 0 | Page 43 of 104
Mode
7
2
1
1
4
16/32
0
16
16
250
250
250
9
1
2
1
1
32
1
16
16
10
1
1
1
2
16/ 32
0
16
16
250
1000
1000
250
500
500
AD9152
Data Sheet
Configuration Parameters
Data Flow Through the JESD204B Receiver
The AD9152 modes refer to the link configuration parameters
for L, K, M, N, NP, S, and F. Table 43 provides the description
and addresses for these settings.
The link configuration parameters determine how the serial bits
on the JESD204B receiver interface are deframed and passed on
to the DACs as data samples. Figure 54 shows a detailed flow of
the data through the various hardware blocks for Mode 4 (L = 4,
M = 2, S = 1, F = 1). Simplified flow diagrams for all other modes
are shown in Figure 54 through Figure 59.
Table 43. Configuration Parameters
JESD204B
Setting
L−1
F−1
K−1
M−1
N−1
NP − 1
S−1
HD
F1
DID
BID
LID0
JESDV
1
Description
Number of lanes − 1.
Number of ((octets per frame) per
lane) − 1.
Number of frames per multiframe − 1.
Number of converters − 1.
Converter bit resolution − 1.
Bit packing per sample − 1.
Number of ((samples per converter)
per frame) − 1.
High density format. Set to 1 if F = 1.
Leave at 0 if F ≠ 1.
F parameter, in ((octets per frame) per
lane).
Device ID. Match the device ID sent
by the transmitter.
Bank ID. Match the bank ID sent by
the transmitter.
Lane ID for Lane 0. Match the lane ID
sent by the transmitter on Logical
Lane 0.
JESD version. Match the version sent
by the transmitter (0x0 = JESD204A,
0x1 = JESD204B).
Address
0x453[4:0]
0x454[7:0]
0x455[4:0]
0x456[7:0]
0x457[4:0]
0x458[4:0]
0x459[4:0]
0x45A[7]
Single Link Configuration
The AD9152 uses the settings contained in Table 42. Mode 4 to
Mode 10, except Mode 8, can be used for single link operation.
Checking Proper Configuration
As a convenience, the AD9152 provides quick configuration
checks. Register 0x030, Bit 5 is high if an illegal LMFC_DELAY_0
value is used. Register 0x030, Bit 3 is high if an unsupported
combination of L, M, F, or S is used. Register 0x030, Bit 2 is high
if an illegal K character is used. Register 0x030, Bit 1 is high if an
illegal SUBCLASSV is used.
0x476[7:0]
Deskewing and Enabling Logical Lanes
0x450[7:0]
After proper configuration, the logical lanes must be deskewed and
enabled to capture data.
0x451[3:0]
Set Bit x in Register 0x46C to 1 to deskew Logical Lane x and to 0 if
that logical lane is not being used. Then, set Bit x in Register 0x47D
to 1 to enable Logical Lane x and to 0 if that logical lane is not
being used.
0x452[4:0]
0x459[7:5]
The values that need to be written in Register 0x454 and Register 0x476 are
different, F − 1 and F, respectively.
Rev. 0 | Page 44 of 104
Data Sheet
AD9152
J0
DESERIALIZER
SERDIN2±
DESERIALIZER
J19 J18
J11 J10
SERDIN3±
J9
J8
J1
J0
DESERIALIZER
SERIAL JESD204B DATA (L = 4)
SAMPLES SPLIT ACROSS LANES
(HD = 1)
S19
S18
S17
S16
S15
S14
S13
S12
S11
S10
S9
S8
S7
S6
S5
S4
S3
S2
S1
S0
LANE 0, OCTET 0
10-BIT/8-BIT
DECODE
DAC0
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
DAC1
DESCRAMBLER
2 CONVERTERS
(M = 2)
1 SAMPLE PER
CONVERTER PER FRAME
(S = 1)
40 BITS PARALLEL DATA
(ENCODED AND SCRAMBLED)
16-BIT NIBBLE GROUP
(N = 16)
1 OCTET PER LANE
(F = 1)
Figure 54. JESD204B Mode 4 Data Deframing
Rev. 0 | Page 45 of 104
12994-049
J1
CONVERTER 0, SAMPLE 0
J8
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
CONVERTER 1, SAMPLE 0
J9
NIBBLE GROUP 0
SERDIN1±
LANE 1, OCTET 0
DESERIALIZER
LANE 2, OCTET 0
J11 J10
TRANSPORT
LAYER
NIBBLE GROUP 1
J19 J18
DATA LINK LAYER
LANE 3, OCTET 0
PHYSICAL
LAYER
SERDIN0±
S19
S18
S17
S16
S15
S14
S13
S12
S11
S10
S9
S8
S7
S6
S5
S4
S3
S2
S1
S0
AD9152
Data Sheet
Mode Configuration Maps
process of the JESD204B receiver for each of the modes. Mode 4
to Mode 10, except Mode 8, apply to single link operation.
Table 44 to Table 49 contain the SPI configuration map for each
mode shown in Figure 54 through Figure 59. Figure 54 through
Figure 59 show the associated data flow through the deframing
Additional details regarding all the SPI registers can be found in
the Register Map and Descriptions section.
Table 44. SPI Configuration Map—Register Settings for JESD204B Parameters for Mode 4
Addr.
0x453
0x454
0x455
0x456
0x457
0x458
0x459
Setting
0x03 or 0x83
0x00
0x1F
0x01
0x0F
0x0F or 0x2F
0x20
0x45A
0x46C
0x476
0x47D
0x80
0x0F
0x01
0x0F
Description
Register 0x453, Bit 7 = 0 or 1: scrambling disabled or enabled; Register 0x453, Bits[4:0] = 0x3: L = 4 lanes per link
Register 0x454, Bits[7:0] = 0x00: F = 1 octet per frame per lane
Register 0x455, Bits[4:0] = 0x1F: K = 32 frames per multiframe
Register 0x456, Bits[7:0] = 0x01: M = 2 converters per link
Register 0x457, Bits[7:6] = 0x0: always set CS = 0; Register 0x457, Bits[4:0] = 0x0F: N = 16, always set to 16-bit resolution
Register 0x458, Bits[7:5] = 0x0 or 0x1: Subclass 0 or Subclass 1, Register 0x458, Bits[4:0] = 0xF: NP = 16 bits per sample
Register 0x459, Bits[7:5] = 0x1: set to JESD204B version, Register 0x459, Bits[4:0] = 0x0: S = 1 sample per converter per
frame
Register 0x45A, Bit 7 = 1: HD = 1; Register 0x45A, Bits[4:0] = 0x00: always set CF = 0
Register 0x46C, Bits[7:0] = 0x0F: deskew Lane 0 to Lane 3
Register 0x476, Bits[7:0] = 0x01: F = 1 octet per frame
Register 0x47D, Bits[7:0] = 0x0F: enable Lane 0 to Lane 3
See Figure 54 for an illustration of the AD9152 JESD204B Mode 4 data deframing process.
Table 45. SPI Configuration Map—Register Settings for JESD204B Parameters for Mode 5
2 CONVERTERS
(M = 2)
J0
J1
SERDIN3±
J19 J18
J0
J1
SERDIN2±
J19 J18
J0
J1
LANE 0,
LANE 0,
OCTET 0
OCTET 1
NIBBLE GROUP 0
LANE 1,
LANE 1,
OCTET 0
OCTET 1
NIBBLE
GROUP
NIBBLE GROUP 11
LANE 2,
LANE 2,
OCTET 0
OCTET 1
NIBBLE
GROUP
NIBBLE GROUP 22
LANE 3,
LANE 3,
OCTET 0
OCTET 1
NIBBLE
GROUP
NIBBLE GROUP 33
CONVERTER 0, SAMPLE 0
CONVERTER 0, SAMPLE 1
CONVERTER 1, SAMPLE 0
CONVERTER 1, SAMPLE 1
D15 ... D0 (0)
D15 ... D0 (1)
D15 ... D0 (0)
D15 ... D0 (1)
DAC0
DAC1
12994-050
2 OCTETS PER LANE
(F = 2)
16-BIT NIBBLE GROUP
(N = 16)
2 SAMPLES PER
CONVERTER PER FRAME
(S = 2)
SERDIN1±
SERIAL JESD204B DATA (L = 4)
SAMPLES NOT SPLIT
ACROSS LANES
(HD = 0)
J19 J18
0x00
0x0F
0x02
0x0F
J1 J0
0x45A
0x46C
0x476
0x47D
Description
Register 0x453, Bit 7 = 0 or 1: scrambling disabled or enabled; Register 0x453, Bits[4:0] = 0x3: L = 4 lanes per converter
Register 0x454, Bits[7:0] = 0x01: F = 2 octets per frame per lane
Register 0x455, Bits[4:0] = 0x0F or 0x1F: K = 16 or 32 frames per multiframe
Register 0x456, Bits[7:0] = 0x01: M = 2 converters per link
Register 0x457, Bits[7:6] = 0x0: always set CS = 0; Register 0x457, Bits[4:0] = 0x0F: N = 16, always set to 16-bit resolution
Register 0x458, Bits[7:5] = 0x0 or 0x1: Subclass 0 or Subclass 1, Register 0x458, Bits[4:0] = 0xF: NP = 16 bits per sample
Register 0x459, Bits[7:5] = 0x1: set to JESD204B version, Register 0x459, Bits[4:0] = 0x1: S = 2 samples per converter per
frame
Register 0x45A, Bit 7 = 0: HD = 0; Register 0x45A, Bits[4:0] = 0x00: always set CF = 0
Register0x46C[7:0] = 0x0F: deskew Lane 0 to Lane 3
Register 0x476, Bits[7:0] = 0x02: F = 2 octets per frame
Register 0x47D, Bits[7:0] = 0x0F: 4 lanes enabled, set one bit per lane to enable
J19 J18
Setting
0x03 or 0x83
0x01
0x0F or 0x1F
0x01
0x0F
0x0F or 0x2F
0x21
SERDIN0±
Addr.
0x453
0x454
0x455
0x456
0x457
0x458
0x459
Figure 55. JESD204B Mode 5 Data Deframing
Rev. 0 | Page 46 of 104
Data Sheet
AD9152
Table 46. SPI Configuration Map—Register Settings for JESD204B Parameters for Mode 6
J0
J1
J19 J18
DAC0
D0
D1
D4
D5
D9
D10
D11
D12
D13
D14
D15
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
CONVERTER 1, SAMPLE 0
D10
CONVERTER 0, SAMPLE 0
D2
LANE 1, OCTET 1
D3
SERDIN1±
J1
LANE 1, OCTET 0
NIBBLE GROUP 1
D11
D12
D13
D14
LANE 0, OCTET 1
NIBBLE GROUP 0
DAC1
12994-051
2 CONVERTERS
(M = 2)
LANE 0, OCTET 0
D15
2 OCTETS PER LANE
(F = 2)
16-BIT NIBBLE GROUP
(N = 16)
1 SAMPLE PER
CONVERTER PER FRAME
(S = 1)
J19 J18
SERDIN0±
SERIAL JESD204B DATA (L = 2)
SAMPLES NOT SPLIT
ACROSS LANES
(HD = 0)
D6
0x00
0x03
0x02
0x03
D7
0x45A
0x46C
0x476
0x47D
Description
Register 0x453, Bit 7 = 0 or 1: scrambling disabled or enabled, Register 0x453, Bits[4:0] = 0x1: L = 2 lanes per link
Register 0x454, Bits[7:0] = 0x01: F = 2 octets per frame per lane
Register 0x455, Bits[4:0] = 0x0F or 0x1F: K = 16 or 32 frames per multiframe
Register 0x456, Bits[7:0] = 0x01: M = 2 converters per link
Register 0x457, Bits[7:6] = 0x0: always set CS = 0; Register 0x457, Bits[4:0] = 0x0F: N = 16, always set to 16-bit resolution
Register 0x458, Bits[7:5] = 0x0 or 0x1: Subclass 0 or Subclass 1, Register 0x458, Bits[4:0] = 0xF: NP = 16 bits per sample
Register 0x459, Bits[7:5] = 0x1: set to JESD204B version, Register 0x459, Bits[4:0] = 0x0: S = 1 sample per converter per
frame
Register 0x45A, Bit 7 = 0: HD = 0; Register 0x45A, Bits[4:0] = 0x00: always set CF = 0
Register 0x46C, Bits[7:0] = 0x03: deskew Lane 0 and Lane 1
Register 0x476, Bits[7:0] = 0x02: F = 2 octets per frame
Register 0x47D, Bits[7:0] = 0x03: enable Lane 0 and Lane 1
D8
Setting
0x01 or 0x81
0x01
0x0F or 0x1F
0x01
0x0F
0x0F or 0x2F
0x20
J0
Address
0x453
0x454
0x455
0x456
0x457
0x458
0x459
Figure 56. JESD204B Mode 6 Data Deframing
Rev. 0 | Page 47 of 104
AD9152
Data Sheet
Table 47. SPI Configuration Map—Register Settings for JESD204B Parameters for Mode 7
J0
J1
SERIAL JESD204B DATA (L = 1)
SAMPLES NOT SPLIT
ACROSS LANES
(HD = 0)
4 OCTETS PER LANE
(F = 4)
16-BIT NIBBLE GROUP
(N = 16)
1 SAMPLE PER
CONVERTER PER FRAME
(S = 1)
2 CONVERTERS
(M = 2)
LANE 0,
LANE 0,
OCTET 0
OCTET 1
NIBBLE GROUP 0
LANE 0,
LANE 0,
OCTET 2
OCTET 3
NIBBLE
NIBBLE GROUP
GROUP 12
CONVERTER 0, SAMPLE 0
CONVERTER 1, SAMPLE 0
D15 ... D0
D15 ... D0
DAC0
DAC1
12994-052
0x00
0x01
0x04
0x01
SERDIN0±
0x45A
0x46C
0x476
0x47D
Description
Register 0x453, Bit 7 = 0 or 1: scrambling disabled or enabled, Register 0x453, Bits[4:0] = 0x0: L = 1 lane per link
Register 0x454, Bits[7:0] = 0x03: F = 4 octets per frame per lane
Register 0x455, Bits[4:0] = 0x0F or 0x1F: K = 16 or 32 frames per multiframe
Register 0x456, Bits[7:0] = 0x01: M = 2 converters per link
Register 0x457, Bits[7:6] = 0x0: always set CS = 0; Register 0x457, Bits[4:0] = 0x0F: N = 16, always set to 16-bit resolution
Register 0x458, Bits[7:5] = 0x0 or 0x1: Subclass 0 or Subclass 1, Register 0x458, Bits[4:0] = 0xF: NP = 16 bits per sample
Register 0x459, Bits[7:5] = 0x1: set to JESD204B version, Register 0x459, Bits[4:0] = 0x0: S = 1 sample per converter per
frame
Register 0x45A, Bit 7 = 0: HD = 0; Register 0x45A, Bits[4:0] = 0x00: always set CF = 0
Register0x46C, Bits[7:0] = 0x01: deskew Lane 0
Register 0x476, Bits[7:0] = 0x04: F = 4 octets per frame
Register 0x47D, Bits[7:0] = 0x01: enable Lane 0
J21 J20 J19 J18
Setting
0x00 or 0x80
0x03
0x0F or 0x1F
0x01
0x0F
0x0F or 0x2F
0x20
J39 J38
Address
0x453
0x454
0x455
0x456
0x457
0x458
0x459
Figure 57. JESD204B Mode 7 Data Deframing
Rev. 0 | Page 48 of 104
Data Sheet
AD9152
Table 48. SPI Configuration Map—Register Settings for JESD204B Parameters for Mode 9
J8
J1
J0
LANE 0,
OCTET 0
LANE 1,
OCTET 0
NIBBLE GROUP 0
CONVERTER 0, SAMPLE 0
1 CONVERTER
(M = 1)
D15 ... D0
DAC0
Figure 58. JESD204B Mode 9 Data Deframing
Rev. 0 | Page 49 of 104
12994-053
1 OCTET PER LANE
(F = 1)
16-BIT NIBBLE GROUP
(N = 16)
1 SAMPLE PER
CONVERTER PER FRAME
(S = 1)
J9
SERIAL JESD204B DATA (L = 2)
SAMPLES SPLIT ACROSS LANES
(HD = 1)
SERDIN1±
0x80
0x03
0x01
0x03
J11 J10
0x45A
0x46C
0x476
0x47D
Description
Register 0x453, Bit 7 = 0 or 1: scrambling disabled or enabled, Register 0x453, Bits[4:0] = 0x1: L = 2 lanes per link
Register 0x454, Bits[7:0] = 0x00: F = 1 octet per frame per lane
Register 0x455, Bits[4:0] = 0x1F: K = 32 frames per multiframe
Register 0x456, Bits[7:0] = 0x00: M = 1 converter per link
Register 0x457, Bits[7:6] = 0x0: always set CS = 0; Register 0x457, Bits[4:0] = 0x0F: N = 16, always set to 16-bit resolution
Register 0x458, Bits[7:5] = 0x0 or 0x1: Subclass 0 or Subclass 1, Register 0x458, Bits[4:0] = 0xF: NP = 16 bits per sample
Register 0x459, Bits[7:5] = 0x1: Set to JESD204B version, Register 0x459, Bits[4:0] = 0x0: S = 1 sample per converter per
frame
Register 0x45A, Bit 7 = 1: HD = 1; Register 0x45A, Bits[4:0] = 0x00: always set CF = 0
Register0x46C, Bits[7:0] = 0x03: deskew Lane 0 and Lane 1
Register 0x476, Bits[7:0] = 0x01: F = 1 octet per frame
Register 0x47D, Bits[7:0] = 0x03: enable Lane 0 and Lane 1
J19 J18
Setting
0x01 or 0x81
0x00
0x1F
0x00
0x0F
0x0F or 0x2F
0x20
SERDIN0±
Address
0x453
0x454
0x455
0x456
0x457
0x458
0x459
AD9152
Data Sheet
Table 49. SPI Configuration Map—Register Settings for JESD204B Parameters for Mode 10
J0
SERIAL JESD204B DATA (L = 1)
SAMPLES SPLIT ACROSS LANES
(HD = 0)
2 OCTETS PER LANE
(F = 2)
16-BIT NIBBLE GROUP
(N = 16)
1 SAMPLE PER
CONVERTER PER FRAME
(S = 1)
LANE 0,
OCTET 0
LANE 1,
OCTET 0
NIBBLE GROUP 0
CONVERTER 0, SAMPLE 0
D15 ... D0
1 CONVERTER
(M = 1)
DAC0
Figure 59. JESD204B Mode 10 Data Deframing
Rev. 0 | Page 50 of 104
12994-054
0x00
0x01
0x02
0x01
J1
0x45A
0x46C
0x476
0x47D
Description
Register 0x453, Bit 7 = 0 or 1: scrambling disabled or enabled, Register 0x453, Bits[4:0] = 0x0: L = 1 lane per link
Register 0x454, Bits[7:0] = 0x01: F = 2 octets per frame per lane
Register 0x455, Bits[4:0] = 0x0F or 0x1F: K = 16 or 32 frames per multiframe
Register 0x456, Bits[7:0] = 0x00: M = 1 converter per link
Register 0x457, Bits[7:6] = 0x0: always set CS = 0; Register 0x457, Bits[4:0] = 0x0F: N = 16, always set to 16-bit resolution
Register 0x458, Bits[7:5] = 0x0 or 0x1: Subclass 0 or Subclass 1, Register 0x458, Bits[4:0] = 0xF: NP = 16 bits per sample
Register 0x459, Bits[7:5] = 0x1: set to JESD204B version, Register 0x459, Bits[4:0] = 0x0: S = 1 sample per converter per
frame
Register 0x45A, Bit 7 = 0: HD = 0; Register 0x45A, Bits[4:0] = 0x00: always set CF = 0
Register0x46C, Bits[7:0] = 0x01: deskew Lane 0
Register 0x476, Bits[7:0] = 0x02: F = 2 octets per frame
Register 0x47D, Bits[7:0] = 0x01: enable Lane 0
J19 J18
Setting
0x00 or 0x80
0x01
0x0F or 0x1F
0x00
0x0F
0x0F or 0x2F
0x20
SERDIN0±
Address
0x453
0x454
0x455
0x456
0x457
0x458
0x459
Data Sheet
AD9152
JESD204B TEST MODES
Transport Layer Testing
PHY PRBS Testing
The JESD204B receiver in the AD9152 supports the short
transport layer (STPL) test as described in the JESD204B
standard. This test can be used to verify the data mapping
between the JESD204B transmitter and receiver. To perform
this test, this function must be implemented in the logic device
and enabled there. Before running the test on the receiver side,
the link must be established and running without errors (see the
Device Setup Guide).
The JESD204B receiver on the AD9152 includes a PRBS pattern
checker on the back end of its physical layer. This functionality
enables bit error rate (BER) testing of each physical lane of the
JESD204B link. The PHY PRBS pattern checker does not
require that the JESD204B link be established. It can synchronize
with a PRBS7, PRBS15, or PRBS31 data pattern. PRBS pattern
verification can be performed on multiple lanes at once. The
error counts for failing lanes are reported for one JESD204B
lane at a time. The process for performing PRBS testing on the
AD9152 is as follows:
1.
2.
3.
4.
5.
6.
7.
8.
9.
Start sending a PRBS7, PRBS15, or PRBS31 pattern from
the JESD204B transmitter.
Select and write the appropriate PRBS pattern to
Register 0x316, Bits[3:2], as shown in Table 50.
Enable the PHY test for all lanes being tested by writing to
PHY_TEST_EN (Register 0x315, Bits[3:0]). Each bit of
Register 0x315 enables the PRBS test for the corresponding
lane. For example, writing a 1 to Bit 0 enables the PRBS test
for Physical Lane 0.
Toggle PHY_TEST_RESET (Register 0x316, Bit 0) from 0
to 1 then back to 0.
Set PHY_PRBS_ERROR_THRESHOLD (Register 0x319 to
Register 0x317) as desired.
Write a 0 and then a 1 to PHY_TEST_START
(Register 0x316, Bit 1). The rising edge of
PHY_TEST_START starts the test.
Wait 500 ms.
Stop the test by writing 0 to PHY_TEST_START
(Register 0x316, Bit 1).
Read the PRBS test results.
a. Each bit of PHY_PRBS_PASS (Register 0x31D)
corresponds to one SERDES lane. 0 = fail, 1 = pass.
b. The number of PRBS errors seen on each failing lane
can be read by writing the lane number to check (0 to
3) in the PHY_SRC_ERR_CNT (Register 0x316,
Bits[6:4]) and reading the PHY_PRBS_ERR_COUNT
(Register 0x31C to Register 0x31A). The maximum
error count is 224 − 1. If all bits of Register 0x31C to
Register 0x31A are high, the maximum error count on
the selected lane has been exceeded.
Table 50. PHY PRBS Pattern Selection
PHY_PRBS_PAT_SEL Setting
(Register 0x316, Bits[3:2])
0b00 (default)
0b01
0b10
PRBS Pattern
PRBS7
PRBS15
PRBS31
The STPL test ensures that each sample from each converter is
mapped appropriately according to the number of converters (M)
and the number of samples per converter (S). As specified in the
JESD204B standard, the converter manufacturer specifies what
test samples are transmitted. Each sample must have a unique
value. For example, if M = 2 and S = 2, four unique samples are
transmitted repeatedly until the test is stopped. The expected
sample must be programmed into the device and the expected
sample is compared to the received sample one sample at a time
until all have been tested. The process to perform this test on
the AD9152 is described as follows:
1.
2.
3.
4.
5.
6.
7.
8.
Synchronize the JESD204B link.
Enable the STPL test at the JESD204B Tx.
Select Converter 0, Sample 0 for testing. Write 0 to
SHORT_TPL_DAC_SEL (Register 0x32C, Bits[3:2]) and 0
to SHORT_TPL_SP_SEL (Register 0x32, Bits[5:4]).
Set the expected test sample for Converter 0, Sample 0.
Program the expected 16-bit test sample into the
SHORT_TPL_REF_SP_x registers (Register 0x32E and
Register 0x32D).
Enable the STPL test. Write 1 to SHORT_TPL_TEST_EN
(Register 0x32C, Bit 0).
Toggle the STPL reset, SHORT_TPL_TEST_RESET
(Register 0x32C, Bit 1), from 0 to 1 then back to 0.
Check for failures. Read SHORT_TPL_FAIL
(Register 0x32F, Bit 0), 0 = pass, 1 = fail.
Repeat Step 3 to Step 7 for each sample of each converter,
Converter 0, Sample 0 through Converter M – 1,
Sample S − 1.
Repeated CGS and ILAS Test
Per Section 5.3.3.8.2 of the JESD204B specification, the AD9152
can verify that a constant stream of K28.5 characters is being
received, or that a CGS followed by a constant stream of ILAS is
being received.
To run a repeated CGS test, send a constant stream of K28.5
characters to the AD9152 SERDES inputs. Next, set up the device
and enable the links as described in the Device Setup Guide
section. Ensure that the K28.5 characters are being received by
verifying that SYNCOUT± has been deasserted and that the
CGS has passed for all enabled lanes by reading Register 0x470.
Rev. 0 | Page 51 of 104
AD9152
Data Sheet
To run the CGS followed by a repeated ILAS sequence test, follow
the Device Setup Guide section, but before performing the last
write (enabling the links), enable the ILAS test mode by writing
a 1 to Register 0x477, Bit 7. Then, enable the links. When the
device recognizes four CGS characters on each lane, it deasserts
the SYNCOUT± pins. At this point, the transmitter starts
sending a repeated ILAS sequence.
The error counters are on a per error type basis. To use this
feature, complete the following steps:
1.
2.
Read Register 0x473 to verify that initial lane synchronization has
passed for all enabled lanes.
JESD204B ERROR MONITORING
Disparity, Not in Table, and Unexpected Control
Character Errors
Error Counter and IRQ Control
Per Section 7.6 of the JESD204B specification, the AD9152 can
detect disparity errors, not in table errors, and unexpected
control character errors, and can optionally issue a sync request
and reinitialize the link when errors occur.
Note that the disparity error counter counts all characters with
invalid disparity, regardless of whether they are in the 8-bit/10-bit
decoding table. This is a minor deviation from the JESD204B
specification, which only counts disparity errors when they are
in the 8-bit/10-bit decoding table.
Checking Error Counts
The error count can be checked for disparity errors, not in table
errors, and unexpected control character errors. The error
counts are on a per lane and per error type basis. Note that the
lane select and counter select are programmed into Register 0x46B
and the error count is read back from the same address. To
check the error count, complete the following steps:
1.
2.
Select the desired lane and error type of the counter to
view. Write these to Register 0x46B according to Table 51.
Read the error count from Register 0x46B. Note that the
maximum error count is equal to the error threshold set in
Register 0x47C.
Table 51. Error Counters
Addr.
0x46B
Bits
[6:4]
Variable
LaneSel
[1:0]
CntrSel
Description
LaneSel = x to monitor the error
count of Lane x.
CntrSel = 0b00 for a bad running
disparity counter.
CntrSel = 0b01 for a not in table
error counter.
CntrSel = 0b10 for an unexpected
control character counter.
Check for Error Count over Threshold
In addition to reading the error count per lane and error type as
described in the Checking Error Counts section, the user can
check a register to see if the error count for a given error type
has reached a programmable threshold.
The same error threshold is used for the three error types
(disparity, not in table, and unexpected control character).
Program the desired error count threshold into
ERRORTHRES (Register 0x47C).
Read back the error status for each error type to see if the
error count has reached the error threshold.
 Disparity errors are reported in Register 0x46D.
 Not in table errors are reported in Register 0x46E.
 Unexpected control character errors are reported in
Register 0x46F.
The user can write to Register 0x46D and Register 0x46F to
reset or disable the error counts and to reset the IRQ for a given
lane. Note that these are the same registers that report error
count over threshold (see the Check for Error Count over
Threshold section); thus, the readback is not the value that was
written. For each error type,
1.
2.
Decide whether to reset the IRQ, disable the error count,
and/or reset the error count for the given lane and error type.
Write the lane and desired reset or disable action to
Register 0x46D to Register 0x46F according to Table 52.
Table 52. Error Counter and IRQ Control: Disparity
(Register 0x46D), Not in Table (Register 0x46E), and
Unexpected Control Character (Register 0x46F)
Bits
7
Variable
RstIRQ
6
Disable_ErrCnt
5
RstErrCntr
[2:0]
LaneAddr
Description
RstIRQ = 1 to reset IRQ for the lane
selected in Bits[2:0].
Disable_ErrCnt = 1 to disable the error
count for the lane selected in Bits[2:0].
RsteErrCntr = 1 to reset the error count
for the lane selected in Bits[2:0].
LaneAddr = x to monitor the error count
of Lane x.
Monitoring Errors via SYNCOUT±
When one or more disparity, not in table, or unexpected control
character error occurs, the error is reported on the SYNCOUT±
pins per Section 7.6 of the JESD204B specification. The
JESD204B specification states that the SYNCOUT± signal is
asserted for exactly two frame periods when an error occurs. For
the AD9152, the width of the SYNCOUT± pulse can be programmed to ½, 1, or 2 PClock cycles. The settings to achieve a
SYNCOUT± pulse of two frame clock cycles are given in Table 53.
Table 53. Setting SYNCOUT± Error Pulse Duration
JESD204B
Mode IDs
4, 9
5, 6, 10
7
1
PClockFactor
(Frames/PClock)
4
2
1
SYNCB_ERR_DUR (Register 0x312,
Bits[7:4]) Setting1
0 (default)
1
2
These register settings assert the SYNCOUT± signal for two frame clock cycle
pulse widths.
Rev. 0 | Page 52 of 104
Data Sheet
AD9152
CGS, Frame Sync, Checksum, and ILAS Monitoring
Disparity, Not in Table, and Unexpected Control
Character IRQs
For disparity, not in table, and unexpected control character
errors, error count over the threshold events are available as
IRQ events. Enable these events by writing to Register 0x47A,
Bits[7:5]. The IRQ event status can be read at the same address
(Register 0x47A, Bits[7:5]) after the IRQs are enabled.
See the Error Counter and IRQ Control section for information
on resetting the IRQ. See the Interrupt Request Operation
section for more information on IRQs.
Errors Requiring Reinitializing
A link reinitialization automatically occurs when four invalid
disparity character errors are received, per Section 7.1 of the
JESD204B specification. When a link reinitialization occurs, the
resync request is five frames and nine octets long.
The user can optionally reinitialize the link when the error
count for disparity errors, not in table errors, or unexpected control
characters reaches a programmable error threshold. The process
to enable the reinitialization feature for certain error types is as
follows:
1.
2.
3.
4.
Set THRESHOLD_MASK_EN (Register 0x477, Bit 3) = 1.
Note that when this bit is set, unmasked errors do not
saturate at either threshold or maximum value.
Enable the sync assertion mask for each type of error by
writing to the SYNCASSERTIONMASK register
(Register 0x47B, Bits[7:5]) according to Table 54.
Program the desired error counter threshold into
ERRORTHRES (Register 0x47C).
For each error type enabled in the SYNCASSERTIONMASK register, if the error counter on any lane reaches the
programmed threshold, SYNCOUT± falls, issuing a sync request. Note that all error counts are reset when a link
reinitialization occurs. The IRQ does not reset and must be
reset manually.
Table 54. Sync Assertion Mask
Addr.
0x47B
Bit No.
7
Bit Name
BADDIS_S
6
NIT_S
5
UCC_S
Description
Set to 1 to assert SYNCOUT± if
the disparity error count
reaches the threshold
Set to 1 to assert SYNCOUT± if
the not in table error count
reaches the threshold
Set to 1 to assert SYNCOUT± if
the unexpected control
character count reaches the
threshold
Register 0x470 to Register 0x473 can be monitored to verify that
each stage of the JESD204B link establishment has occurred.
Bit x of CODEGRPSYNCFLAG (Register 0x470) is high if Lane x
received at least four K28.5 characters and passed code group
synchronization.
Bit x of FRAMESYNCFLAG (Register 0x471) is high if Lane x
completed initial frame synchronization.
Bit x of GOODCHKSUMFLG (Register 0x472) is high if the
checksum sent over the lane matches the sum of the JESD204B
parameters sent over the lane during ILAS for Lane x. The
parameters can be added either by summing the individual fields
in the registers or summing the packed register. If Register
0x300, Bit 6 = 0 (default), the calculated checksums are the
lower eight bits of the sum of the following fields: DID, BID, LID,
SCR, L − 1, F − 1, K − 1, M − 1, N − 1, SUBCLASSV, NP − 1,
JESDV, S − 1, and HD. If Register 0x300, Bit 6 = 1, the calculated
checksums are the lower eight bits of the sum of Register 0x400 to
Register 0x40C and LID (Register 0x412, Register 0x41A, and
Register 0x422).
Bit x of INITIALLANESYNC (Register 0x473) is high if Lane x
passed the initial lane alignment sequence.
CGS, Frame Sync, Checksum, and ILAS IRQs
Fail signals for CGS, frame sync, checksum, and ILAS are
available as IRQ events. To enable them, write to Register 0x47A,
Bits[3:0]. The IRQ event status can be read at the same address
(Register 0x47A, Bits[3:0]) after the IRQs are enabled. To reset
the CGS IRQ, write 1 to Bit 7 of Register 0x470. To reset the
frame sync IRQ, write 1 to Bit 7 of Register 0x471. To reset the
checksum IRQ, write 1 to Bit 7 of Register 0x472. to reset the
ILAS IRQ, write 1 to Bit 7 of Register 0x473. See the Interrupt
Request Operation section for more information.
Configuration Mismatch IRQ
The AD9152 has a configuration mismatch flag that is available
as an IRQ event. Use Register 0x47B, Bit 3 to enable the mismatch
flag (it is enabled by default), and then use Register 0x47B, Bit 4
to read back its status and reset the IRQ signal. See the Interrupt
Request Operation section for more information.
The configuration mismatch event flag is high when the link
configuration settings in Register 0x450 to Register 0x45D do
not match the JESD204B transmitted settings (Register 0x400 to
Register 0x40D).
Note that this function is different from the good checksum
flags in Register 0x472. The good checksum flags ensure that
the transmitted checksum matches a calculated checksum based
on the transmitted settings. The configuration mismatch event
ensures that the transmitted settings match the configured settings.
Rev. 0 | Page 53 of 104
AD9152
Data Sheet
INPUT
POWER
DETECTION
AND
PROTECTION
INTERPOLATION
MODES
1×, 2×, 4×, 8×
DIGITAL GAIN,
PHASE OFFSET,
DC OFFSET
AND
ADJUSTMENT
INV
SINC
OR
PFIR
COARSE
AND
FINE
MODULATION
12994-065
DIGITAL DATAPATH
Figure 60. Block Diagram of the Digital Datapath
The usable bandwidth (as shown in Table 55) is defined as the
frequency band over which the filters have a pass-band ripple of
less than ±0.001 dB and an image rejection of greater than 85 dB.
0
The interpolation filters take independent I and Q data streams.
If using the modulation function, I and Q must be quadrature
data to function properly.
Note that the pipeline delay changes when digital datapath
functions are enabled/disabled. If fixed DAC pipeline latency is
desired, do not reconfigure these functions after initial
configuration.
Maximum
fDATA (MHz)
12381
1125
562.5
281.25
0.6
0.8
1.0
12994-066
0.4
Figure 61. All Band Responses of Interpolation Filters
Filter Performance Beyond Specified Bandwidth
The interpolation filters are specified to 0.4 × fDATA (with pass
band). The filters can be used slightly beyond this ratio at the
expense of increased pass-band ripple and decreased
interpolation image rejection.
90
0
80
–0.1
70
–0.2
60
–0.3
50
–0.4
40
30
20
40
–0.5
IMAGE REJECTION
PASS-BAND RIPPLE
41
42
43
44
45
MAXIMUM PASS-BAND RIPPLE (dB)
Usable
Bandwidth
0.5 × fDATA
0.4 × fDATA
0.4 × fDATA
0.4 × fDATA
0.2
–0.6
BANDWIDTH (% fDATA )
Figure 62. Interpolation Filter Performance Beyond Specified Bandwidth
1
The maximum speed for 1× interpolation mode is limited by the JESD204B
interface.
Filter Performance
The interpolation filters interpolate between existing data in
such a way that they minimize changes in the incoming data
while suppressing the creation of interpolation images. This is
shown for each filter in Figure 61.
Figure 62 shows the performance of the interpolation filters
beyond 0.4 × fDATA. Note that the ripple increases much slower
than the image rejection decreases. This means that if the
application can tolerate degraded image rejection from the
interpolation filters, more bandwidth can be used.
Rev. 0 | Page 54 of 104
12994-067
Table 55. Interpolation Modes and Usable Bandwidth
0
FREQUENCY (×fDAC )
MINIMUM INTERPOLATION IMAGE REJECTION (dB)
The transmit path contains three half-band interpolation filters,
which each provide a 2× increase in output data rate and a lowpass function. The filters can be cascaded to provide a 4× or 8×
interpolation ratio. Table 55 shows how to select each available
interpolation mode, their usable bandwidths, and their
maximum data rates. Note that fDATA = fDAC/InterpolationFactor.
Register 0x030, Bit 0 is high if an unsupported interpolation
mode is selected.
INTERP_MODE
Reg. 0x112[2:0]
0x00
0x01
0x02
0x03
–60
–100
INTERPOLATION FILTERS
Interpolation
Mode
1× (Bypass)
2×
4×
8×
–40
–80
DATA FORMAT
BINARY_FORMAT (Register 0x110, Bit 7) controls the
expected input data format. By default it is 0, which means the
input data must be in twos complement. It can also be set to 1,
which means input data is in offset binary (0x0000 is negative
full scale and 0xFFFF is positive full scale).
2×
4×
8×
–20
MAGNITUDE (dB)
The block diagram in Figure 60 shows the functionality of the
digital datapath (all blocks can be bypassed). The digital
processing includes an input power detection block, three halfband interpolation filters, a quadrature modulator consisting of a
fine resolution NCO and fDAC/4 and fDAC/8 coarse modulation
block, an inverse sinc filter, and gain, phase, offset, and group
delay adjustment blocks.
Data Sheet
AD9152
DIGITAL MODULATION
Table 57. NCO FTW Registers
The AD9152 provides two modes to modulate the baseband
quadrature signal to the desired DAC output frequency.
Address
0x114
0x115
0x116
0x117
0x118
0x119
fDAC/4 and fDAC/8 coarse modulation
NCO fine modulation
The coarse modulation modes (fDAC/4 and fDAC/8) allow
modulation by those particular frequencies. The NCO fine
modulation mode allows modulating by a programmable
frequency at the cost of higher power consumption, depending
on the DAC rate. Modulation mode is selected as shown in
Table 56.
Table 56. Modulation Mode Selection
Modulation Mode
None
NCO Fine Modulation
Coarse, fDAC/4
Coarse, fDAC/8
MODULATION_TYPE,
Register 0x111, Bits[3:2]
0b00
0b01
0b10
0b11

Unlike other registers, the FTW registers are not updated
immediately upon writing. Instead, the FTW registers update on
the rising edge of FTW_UPDATE_REQ (Register 0x113, Bit 0).
After an update request, FTW_UPDATE_ACK (Register 0x113,
Bit 1) must be high to acknowledge that the FTW has updated.
SEL_SIDEBAND (Register 0x111, Bit 1) is a convenience bit
that can be set to use the negative modulation result. This is
equivalent to flipping the sign of FTW. SEL_SIDEBAND also
applies to fs/4 and fs/8 modulation.
Based on the difference of direct digital synthesis (DDS)
accumulator, NCO modulation has the following two modes:

Typical accumulator-based DDS (see the NCO Fine
Modulation section)
Programmable modulus DDS (see the Programmable
Modulus DDS section)
I DATA
INTERPOLATION
OUT_I
–
OUT_Q
+
–1
The fDAC/4 and fDAC/8 modulation are common modulation
modes to translate the input baseband frequency to a fixed
fDAC/4 or fDAC/8 IF frequency. These coarse modulation are
selected by setting Bits[3:2] in Register 0x111. These modes
provide lower power modulation frequencies of 1/4 or 1/8 of
the DAC sampling rate. When modulation frequencies other
than this frequency are required, the NCO modulation mode
must be used.
NCO Fine Modulation
This modulation mode uses an NCO, a phase shifter, and a
complex modulator to modulate the signal by a programmable
carrier signal as shown in Figure 63. This allows output signals to
be placed anywhere in the output spectrum with very fine
frequency resolution.
The NCO produces a quadrature carrier to translate the input
signal to a new center frequency. A quadrature carrier is a pair of
sinusoidal waveforms of the same frequency, offset 90° from
each other. The frequency of the quadrature carrier is set via an
FTW. The quadrature carrier is mixed with the I and Q data and
then summed into the I and Q datapaths, as shown in Figure 63.
where FTW is a 48-bit, twos complement number.
COS(ωn + θ)
ω
π
NCO
θ
SIN(ωn + θ)
FTW[47:0]
NCO_PHASE_OFFSET
[15:0]
fDAC/4 and fDAC/8 Modulation
−fDAC/2 ≤ fCARRIER < +fDAC/2
FTW = (fCARRIER/fDAC) × 248
Description
8 LSBs of FTW
Next 8 bits of FTW
Next 8 bits of FTW
Next 8 bits of FTW
Next 8 bits of FTW
8 MSBs of FTW
SEL_SIDEBAND
Q DATA
0
1
INTERPOLATION
Figure 63. NCO Fine Modulator Block Diagram
NCO Phase Offset
The phase offset feature allows rotation of the I and Q phases.
Unlike phase adjust, this feature moves the phases of both I and
Q channels together. Phase offset can be used only when using
NCO fine modulation.
−180° ≤ DegreesOffset < +180°
PhaseOffset = (DegreesOffset/180°) × 215
where PhaseOffset is a 16-bit, twos complement number.
The NCO phase offset is set as shown in Table 58. Because this
function is part of the fine modulation block, phase offset is not
updated immediately upon writing. Instead, it updates on the
rising edge of FTW_UPDATE_REQ (Register 0x113, Bit 0), along
with the FTW.
Table 58. NCO Phase Offset Registers
Address
0x11A
0x11B
The FTW is set as shown in Table 57.
Rev. 0 | Page 55 of 104
Value
NCO_PHASE_OFFSET[7:0]
NCO_PHASE_OFFSET[15:8]
12994-068


Value
FTW[7:0]
FTW[15:8]
FTW[23:16]
FTW[31:24]
FTW[39:32]
FTW[47:40]
AD9152
Data Sheet
Programmable Modulus DDS
The programmable modulus is a modification of the typical
accumulator-based DDS architecture (NCO). The frequency
ratio for the programmable modulus DDS is very similar to that
of the typical accumulator-based DDS. The only difference is
that N is not required to be a power of two for the programmable
modulus, but can be an arbitrary integer. In practice, hardware
constraints place limits on the range of values for N. As a result,
it extends the use of DDS to applications that require exact rational
frequency synthesis. The underlying function of the programmable
modulus technique is to alter the accumulator modulus.
Implementation of the programmable modulus function within
the AD9152 is such that the fraction, M/N, is expressible per the
equation below. Note that the form of the equation implies a
compound frequency tuning word with X representing the
integer part and A/B representing the fractional part.
A
X+
f CARRIER M
B
=
=
f DAC
N
2 48
SYSREF± edge is needed in Subclass 0, but multichip alignment
cannot be achieved. The steps to achieve a SYSREF± NCO
alignment are as follows:
1.
2.
3.
4.
Set NCO_ALIGN_MODE (Register 0x050, Bits[1:0] =
0b01) for SYSREF± NCO alignment mode.
Set NCO_ALIGN_ARM (Register 0x050, Bit 7) to 1.
Perform an LMFC alignment to force the NCO phase align
(see the Syncing LMFC Signals section). The phase
alignment occurs on the next SYSREF± edge.
Note that if in one shot sync mode, the LMFC alignment
block must be armed by setting Register 0x03A, Bit 6 = 1. If
in continuous mode or one shot then monitor mode, the
LMFC align block does not need to be armed; the NCO
align automatically trips on the next SYSREF± edge.
Check the alignment status. If NCO phase alignment was
successful, NCO_ALIGN_PASS (Register 0x050, Bit 4) = 1.
If phase alignment failed, NCO_ALIGN_FAIL
(Register 0x050, Bit 3) = 1.
Data Key NCO Alignment
where:
X is programmed in Register 0x114 to Register 0x119.
A is programmed in Register 0x158 to Register 0x15D.
B is programmed in Register 0x152 to Register 0x157.
In addition to supporting the SYSREF± alignment mode, the
AD9152 supports a mode in which the NCO phase alignment
occurs when a user-specified pattern is seen at the DAC input.
The steps to achieve a data key NCO alignment are as follows:
Programmable Modulus Example
1.
2.
Consider the case in which fDAC = 250 MHz and the desired value of
fCARRIER is 25 MHz. This scenario synthesizes an output frequency
that is not a power of two submultiple of the sample rate, namely
fCARRIER = (1/10) fDAC, which is not possible with a typical accumulator-based DDS. The frequency ratio, fCARRIER/fDAC, leads directly
to M and N, which are determined by reducing the fraction
(25,000,000/250,000,000) to its lowest terms. That is,
M/N = 25,000,000/250,000,000 = 1/10
Therefore, M = 1 and N = 10. After calculation, X = 429,496,729;
A = 3; and B = 5. Programming these values into the registers
causes the modulus DDS to produce an output frequency of
exactly 25 MHz, given a 250 MHz sampling clock. For more
details, see the AN-953 Application Note.
NCO ALIGNMENT
The NCO alignment block phase aligns the NCO output from
multiple converters. Two NCO alignment modes are supported
by the AD9152. The first is a SYSREF± alignment mode that
phase aligns the NCO outputs to the rising edge of a SYSREF±
pulse. The second alignment mode is a data key alignment;
when this mode is enabled, the AD9152 aligns the NCO outputs
when a user specified data pattern arrives at the DAC input.
SYSREF± NCO Alignment
3.
4.
5.
Set NCO_ALIGN_MODE (Register 0x050, Bits[1:0]) to 0b10.
Write the expected 16-bit data key for the I and Q datapath
into NCOKEYI[15:0] (Register 0x051 to Register 0x052) and
NCOKEYQ[15:0] (Register 0x053 to Register 0x054),
respectively.
Set NCO_ALIGN_ARM (Register 0x050, Bit 7) to 1.
Send the expected 16-bit I and Q data keys to the device to
achieve NCO alignment.
Check the alignment status. If the expected data key was
seen at the DAC input, NCO_ALIGN_MTCH
(Register 0x050, Bit 5) = 1. If NCO phase alignment was
successful, NCO_ALIGN_PASS (Register 0x050, Bit 4) = 1.
If phase alignment failed, NCO_ALIGN_FAIL
(Register 0x050, Bit 3) = 1.
Multiple device NCO alignment can be achieved with the data
key alignment mode. To achieve multichip NCO alignment,
program the same expected data key on all devices, arm all
devices, and then send the data key to all devices/channels at
the same time.
NCO Alignment IRQ
An IRQ event showing whether the NCO align was tripped is
available. Use Register 0x021, Bit 4 to enable the IRQ and then
use Register 0x025, Bit 4 to read back its status and reset the
IRQ signal. See the Interrupt Request Operation section for details.
As with the LMFC alignment, in Subclass 1, a SYSREF± pulse
phase aligns the NCO outputs of multiple devices in a system
and multiple channels on the same device. Note that in Subclass 0,
this alignment mode can be used to align the NCO outputs
within a device to an internal processing clock edge. No
Rev. 0 | Page 56 of 104
Data Sheet
AD9152
INVERSE SINC
The AD9152 provides a digital inverse sinc filter to compensate
the DAC roll-off over frequency. The filter is enabled by setting
the INVSINC_ENABLE bit (Register 0x111, Bit 7) and is
disabled by default.
The inverse sinc (sinc−1) filter is a seven-tap FIR filter. Figure 64
shows the frequency response of sin(x)/x roll-off, the inverse
sinc filter, and the composite response. The composite response
has less than ±0.05 dB pass-band ripple up to a frequency of
0.4 × fDAC. To provide the necessary peaking at the upper end of
the pass band, the inverse sinc filter shown has an intrinsic
insertion loss of approximately 3.8 dB; in many cases, this can be
partially compensated as described in the Digital Gain section.
DIGITAL GAIN, PHASE ADJUST, DC OFFSET, AND
COARSE GROUP DELAY
Digital gain, phase adjust, and dc offset (as described in the
Digital Gain section, Phase Adjust section, and DC Offset
section) allow compensation of imbalances in the I and Q paths
due to analog mismatches between I/Q DAC outputs, quadrature
modulator I/Q baseband inputs, and DAC/modulator interface
I/Q paths. These imbalances can cause the two following issues:
•
1
SIN(X)/X ROLL-OFF
SINC–1 FILTER RESPONSE
COMPOSITE RESPONSE
MAGNITUDE (dB)
0
•
–1
Coarse group delay allows adjustment of the delay through the
DAC, which can be used to adjust digital predistortion (DPD)
loop delay.
–2
Digital Gain
–3
–5
0
0.05
0.10
0.15
0.20
0.25
0.30
0.35
FREQUENCY (× fDAC )
0.40
0.45
0.50
12994-069
–4
Figure 64. Responses of sin(x)/x Roll-Off, the Sinc−1 Filter, and the Composite
of the Two Input Signal Power Detection and Protection
PROGRAMMABLE FIR FILTER (PFIR)
The PFIR is a seven-tap FIR filter, which can be programmed
through the registers to compensate the gain nonflatness of RF
signal chain.
The PFIR is in parallel with INVSINC and is a superset of
INVSINC. Do not enable the PFIR and INVSINC at the same
time. A detailed specification of the PFIR filter follows:
•
•
•
•
An unwanted sideband signal to appear at the quadrature
modulator output with significant energy. This can be
tuned out using digital gain and phase adjust. Tuning the
quadrature gain and phase adjust values can optimize
complex image rejection in single sideband radios or can
optimize the error vector magnitude (EVM) in zero IF (ZIF)
architectures.
The dc offset can cause LO leakage through a modulator,
which can be compensated with the offset feature in the DAC.
The coefficients are in 1.8 format, one sign bit, 8 resolution
bits, and range from −1 to +1. Set the coefficients in
Register 0x17A to Register 0x181.
Symmetry coefficients.
The PFIR works with programmable coefficients with 0 dB
to 6 dB gain at the filter output. To avoid signal overflow,
set the filter to less than 6 dB gain. A gain of −6 dB is
applied at the PFIR output to bring it back to avoid
overflow on the following blocks. However, the gain loss
here can be easily compensated at the final digital gain
stages. See the Digital Gain section.
The PFIR can be turned off to save power.
Digital gain can be used to independently adjust the digital
signal magnitude being fed into each DAC. This is useful to
balance the gain between I and Q channels of a dual or to cancel
out the insertion loss of the inverse sinc filter. Digital gain must
be enabled when using the blanking state machine (see the
Downstream Protection section). If digital gain is disabled,
TXENx must be tied high.
Digital gain is enabled by setting the DIG_GAIN_ENABLE bit
(Register 0x111, Bit 5). In addition to enabling the function, the
amount of digital gain (GainCode) desired must be programmed.
By default, digital gain is enabled and GainCode = 0x800, which
means 0 dB gain.
0 ≤ Gain ≤ 4095/2048
−∞ dB ≤ dBGain ≤ 6.018 dB
Gain = GainCode × (1/2048)
dBGain = 20 × log10(Gain)
GainCode = 2048 × Gain = 2048 × 10dBGain/20
where GainCode is a 12-bit, unsigned binary number.
The I/Q digital gain is set as shown in Table 59.
Table 59. Digital Gain Registers
Addr.
0x111[5]
0x13C
0x13D
0x13E
0x13F
Rev. 0 | Page 57 of 104
Value
DIG_GAIN_ENABLE
IDAC_DIG_GAIN[7:0]
IDAC_DIG_GAIN[11:8]
QDAC_DIG_GAIN[7:0]
QDAC_DIG_GAIN[11:8]
Description
Set to 1 to enable digital gain
I DAC LSB gain code
I DAC MSB gain code
Q DAC LSB gain code
Q DAC MSB gain code
AD9152
Data Sheet
Phase Adjust
Ordinarily, the I and Q channels of each DAC pair have an
angle of 90° between them. The phase adjust feature changes the
angle between the I and Q channels, which can help balance the
phase into a modulator.
−14 ≤ DegreesAdjust < 14
IQPhaseAdj = (DegreesAdjust/14) × 212
where IQPhaseAdj is a 13-bit, twos complement number.
Figure 65 shows how the DAC output currents vary as a
function of the LSBsOffset value. With the digital inputs fixed at
midscale (0x0000, twos complement data format), Figure 65
shows the nominal current of the positive node of the DAC
output, IIOUT+/IQOUT+, as the DAC offset value is swept from 0 to
65,535. Because IOUT+/QOUT+ and IOUT−/QOUT− are
complementary current outputs, the sum of IIOUT+ and IIOUT− or
IQOUT+ and IQOUT− is always 20 mA.
The phase adjust is set as shown in Table 60.
20
0
15
5
10
10
5
15
0x11C
0x11D
PHASE_ADJ[7:0]
PHASE_ADJ[12:8]
Description
Set to 1 to enable phase
adjust
LSB phase adjust code
MSB phase adjust code
IxOUT+ (mA)
Value
PHASE_ADJ_ENABLE
IxOUT– (mA)
Table 60. I/Q Phase Adjustment Registers
Addr.
0x111[4]
The dc offset feature individually offsets the data into the I or Q
DACs. This can be used to cancel LO leakage.
The offset is programmed individually for I and Q as a 16-bit
twos complement number in LSBs, plus a 5-bit, twos complement
number in sixteenths of an LSB, as shown in Table 61.
−2 ≤ LSBsOffset < 2 − 1
−16/16 LSB ≤ SixteenthsOffset ≤ 15/16 LSB
15
15
Table 61. DC Offset Registers
Addr.
0x135[0]
0x136
0x137
0x138
0x139
0x13A
0x13B
Value
DC_OFFSET_ON
LSB_OFFSET_I[7:0]
LSB_OFFSET_I[15:8]
LSB_OFFSET_Q[7:0]
LSB_OFFSET_Q[15:8]
SIXTEENTH_OFFSET_I
SIXTEENTH_OFFSET_Q
Description
Set to 1 to enable dc offset
I DAC LSB dc offset code
I DAC MSB dc offset code
Q DAC LSB dc offset code
Q DAC MSB dc offset code
I DAC sub-LSB dc offset code
Q DAC sub-LSB dc offset code
0
0x00000
0x40000
0x80000
0xC0000
20
0xFFFFF
DAC OFFSET VALUE
Figure 65. DAC Output Currents vs. DAC Offset Value
Coarse Group Delay Adjustment
Coarse group delay is programmed in Register 0x047. The
range of the delay is −4 DAC clock periods to +3 DAC clock
periods and the resolution is 1/2 DAC clock period. Coarse
group delay can be used for DPD loop delay adjustment.
Rev. 0 | Page 58 of 104
12994-070
DC Offset
Data Sheet
AD9152
DOWNSTREAM PROTECTION
REG 0x111, REG 0x140, REG 0x141, REG 0x142, REG 0x143
INTERPOLATION
FILTER,
MODULATION,
AND INVSINC/PFIR
DATA
DIGITAL GAIN
(GAIN RAMP UP/DOWN)
DATA TO DACs
DAC OUTPUT
SHUTDOWN
REG 0x060 TO REG 0x064
PDP_PROTECT
PDP
REG 0x12C
JESD204B
ERRORS
REG 0x125
SPI
TXEN PIN
INTERFACE_PROTECT
SPI_PROTECT
REG 0x013
TXEN
BSM_PROTECT
REG 0x013, REG 0x11F
BSM
FLUSH
DATAPATH
SPI
REG 0x013
SPI_TXEN_EN
PROTECT_OUT PIN
TX_PROTECT
TXENSM
TX_DAC_CLK
TX_DAC_CORE
DAC CLK ON/OFF
DAC CORE ON/OFF
REG 0x012, REG 0x013, REG 0x11F
12994-166
REG 0x065,
REG 0x066
Figure 66. Downstream Protection Block Diagram
The AD9152 has several blocks designed to protect the power
amplifier (PA) of the system, as well as other downstream
blocks. First, the DAC output can be shut down by tuning the
digital gain that is automatically triggered by the following
signals: PDP_PROTECT, INTERFACE_PROTECT,
SPI_PROTECT, and BSM_PROTECT. Second, an external pin
(PROTECT_OUT) can be used to shut down external
components. The PROTECT_OUT pin is triggered by the
following signals: PDP_PROTECT, INTERFACE_PROTECT,
SPI_PROTECT, and TX_PROTECT.
The downstream protection function largely consists of a power
detection and protection (PDP) block, a blanking state machine
(BSM), and a transmit enable state machine (TXENSM).
The PDP block can be used to monitor incoming data. If a
moving average of the data power goes above a threshold, the
PDP block provides a signal (PDP_PROTECT) that can be
routed externally and turn off the DAC output gradually by
tuning the digital gain.
The TXENSM block controls the delay between TXEN and
the Tx_PROTECT signals. At the same time, the Tx_PROTECT
signal can optionally be routed externally to the PROTECT_OUT
pin, and the TXENSM can also generate the TX_DAC_CLK
signal and TX_DAC_CORE signal to power down the DAC
clock and the DAC core.
The BSM block flushes the datapath and turns the DAC output
on or off by tuning the digital gain that is triggered by
BSM_PROTECT, which can also be routed to the external
PROTECT_OUT pin. BSM_PROTECT follows the status of
TXEN.
Power Detection and Protection
The input signal PDP block detects the average power of the
DAC input signal and prevents overrange signals from being
passed to the next stage, which may potentially cause destructive
breakdown on power sensitive devices, such as PAs. The protection
function provides a signal (PDP_PROTECT) that can be routed
externally to shut down a PA and shut down the DAC output.
The PDP block uses a separate path with a shorter latency than
the datapath to ensure that PDP_PROTECT is triggered before
the overrange signal reaches the analog DAC cores. The sum of
the I2 and Q2 are calculated as a representation of the input signal
power (only the top six MSBs of data samples are used). The
calculated sample power numbers are accumulated through a
moving average filter whose output is the average of the input
signal power in a certain number of samples.
When the output of the averaging filter is larger than the threshold,
the internal signal PDP_PROTECT goes high, which can optionally
be configured to trigger a signal on the PROTECT_OUT pin and
turn off the DAC output through digital gain.
The choice of PDP_AVG_TIME (Register 0x062) and
PDP_THRESHOLD (Register 0x060 to Register 0x061) for
effective protection are application dependent. Experiment with
real-world vectors to ensure proper configuration. The PDP_
POWER readback (Register 0x063 to Register 0x064) can help
by storing the maximum power when a set threshold is passed.
The PDP block is configured as shown in Table 62.
TXEN can come from the external TXEN pin or the SPI, which
is selected by SPI_TXEN_EN (Register 0x013, Bit 1).
Rev. 0 | Page 59 of 104
AD9152
Data Sheet
Table 62. PDP Registers
Addr.
0x060
0x061
0x062
0x063
0x064
0x12C
0x013
Bit
No.
[7:0]
Value
PDP_THRESHOLD[7:0]
[4:0]
7
[3:0]
PDP_THRESHOLD[12:8]
PDP_ENABLE
PDP_AVG_TIME
[7:0]
PDP_POWER[7:0]
[4:0]
7
PDP_POWER[12:8]
PROTECT_MODE
0
DACOFF_AVG_PW
6
PDP_PROTECT_OUT
Description
Power that triggers
PDP_PROTECT. 8 LSBs.
5 MSBs.
Set to 1 to enable PDP.
Can be set from 0 to 10.
Averages across
2(9 + PDP_AVG_TIME), IQ sample
pairs.
If PDP_THRESHOLD is
crossed, this reads back
the maximum power
seen. If not, this reads
back the instantaneous
power. 8 LSBs.
5 MSBs.
If this bit is high, the DAC
is in protect mode, and is
shut down automatically
when some errors occur.
If this bit is high, Bit 7 is
high, and the input
average power is greater
than the given threshold
(see Register 0x060 and
Register 0x061) within a
given time window, the
DAC output shuts down
automatically.
1: PDP_PROTECT triggers
PROTECT_OUT.
Power Detection and Protection IRQ
The PDP_PROTECT signal is available as an IRQ event.
Use Register 0x021, Bit 7 to enable PDP_PROTECT and then use
Register 0x025, Bit 7 to read back its status and reset the IRQ signal.
See the Interrupt Request Operation section for more information.
Transmit Enable State Machine
If DACA_MASK (Register 0x012, Bit 6) = 1, a falling edge of
TXEN causes the DAC core I DAC and Q DAC to power down;
a rising edge of TXEN causes the DAC core I DAC and Q DAC
to power up.
If CLKA_MASK (Register 0x012, Bit 4 ) = 1, a falling edge of
TXEN causes the DAC clock to power down; a rising edge of
TXEN causes the DAC clock to power up.
The TXENSM is configured as shown in Table 63.
Table 63. TXENSM Registers
Addr.
0x012
Bit No.
6
Value
DACA_MASK
4
CLKA_MASK
0x013
5
TX_PROTECT_OUT
0x11F
0
TXEN_SM_EN
Description
DAC core power-down
mask for TXEN.
Datapath power-down
mask for TXEN.
1: TX_PROTECT triggers
PROTECT_OUT.
If high, enable TXEN
state machine.
TXENSM Startup Sequence
To ensure that the TXENSM functions properly, the following sequence must be used. Excepting Register 0x012 and Register 0x013,
other registers must follow the recommend values in Table 64.
Table 64. TXENSM Startup Sequence1
Addr.
0x012
Value
0x00
0x013
0x140
0x142
0x11F
0x20
0x04
0x09
0x83
1
Description
Enable the DAC core and datapath power-down
mask
TX_PROTECT triggers PROTECT_OUT
Gain ramp up step
Gain ramp down step
Enable the TXEN state machine
Perform these writes in the order they are listed in this table.
After applying the sequence in Table 64, the function of the
TXENSM timing is shown in Figure 67.
The TXENSM block controls the delay between TXEN and
the Tx_PROTECT signals. At the same time, the Tx_PROTECT
signal can optionally be routed externally to the PROTECT_
OUT pin and the TXENSM can generate the TX_DAC_CLK
signal and TX_DAC_CORE signal to power down the DAC
clock and DAC core.
Rev. 0 | Page 60 of 104
Data Sheet
AD9152
255
DACCLKs
4080
DACCLKs
TXEN
TX_DAC_CORE
TX_DAC_CLK
TX_PROTECT
4095
DACCLKs
1820
DACCLKs
12994-167
I/Q OUT
Figure 67. TXENSM Timing
Blanking State Machine (BSM)
The BSM block flushes the datapath and turns the DAC output
on or off through the digital gain and is triggered by
BSM_PROTEST, which can also be routed to the external
PROTECT_OUT pin. BSM_PROTECT follows the status of
TXEN. The BSM is configured as shown in Table 65.
Table 66. PROTECT_OUT Registers
Addr.
0x013
Table 65. TXENSM Registers
Addr.
0x013
Bit No.
4
Value
BSM_PROTECT_OUT
Description
1: BSM triggers
PROTECT_OUT
Bit
No.
6
Value
PDP_PROTECT_OUT
5
TX_PROTECT_OUT
4
BSM_PROTECT_OUT
3
1
SPI_PROTECT_OUT_
EN
SPI_PROTECT_OUT_
CTRL
SPI_TXEN_EN
0
SPI_TXEN_CTRL
2
Shutdown DAC Output
The DAC output can be shut down gradually by tuning the
digital gain that is automatically triggered by the following
signals: PDP_PROTECT, INTERFACE_PROTECT, SPI_
PROTECT, and BSM_PROTECT. For proper ramping, digital
gain must be enabled. The step size to use when ramping the gain
to 0 or its assigned value can be controlled via the GAIN_RAMP_
DOWN_STEP registers (Register 0x142 and Register 0x143)
and the GAIN_RAMP_UP_STEP registers (Register 0x140
and Register 0x141).
Besides the PDP block and the BSM block, certain JESD204B and
SPI write errors can also be configured to shut down the DAC
output when they occur using Register 0x065, Register 0x066, and
Register 0x125.
Description
1: PDP_PROTECT
triggers PROTECT_OUT
1: TX_PROTECT triggers
PROTECT_OUT
1: BSM_PROTECT
triggers PROTECT_OUT
1: SPI_PROTECT
triggers PROTECT_OUT
1: PROTECT_OUT is low
1: TXEN is controlled by
the SPI
1: TXEN is high
DATAPATH PRBS
The datapath PRBS verifies that the AD9152 datapath is receiving
and correctly decoding data. The datapath PRBS verifies that
the JESD204B parameters of the transmitter and receiver match,
the lanes of the receiver are mapped appropriately, lanes have
been appropriately inverted, if necessary, and in general that the
start-up routine has been implemented correctly. Note that the
datapath PRBS function applies only to 2×, 4×, and 8×
interpolation.
PROTECT_OUT Generation
Register 0x013 controls which signals are OR’ed into the external
PROTECT_OUT signal (see Table 66). Register 0x11F, Bit 2
can be used to invert the PROTECT_OUT signal. By default,
PROTECT_OUT is high when the output is valid.
Rev. 0 | Page 61 of 104
AD9152
Data Sheet
To run the datapath PRBS test, complete the following steps:
For example,
1.
•
•
•
2.
3.
4.
5.
6.
7.
8.
9.
Set up the device in the desired operating mode. See the
Device Setup Guide section for details on setting up the
device.
Send the PRBS7 or PRBS15 data.
Write 0 to Register 0x14B, Bit 2 for PRBS7 or write 1 for
PRBS15.
Write 0b11 to Register 0x14B, Bits[1:0] to enable and reset
the PRBS test.
Write 0b01 to Register 0x14B, Bits[1:0] to enable the PRBS
test and release reset.
Wait 500 ms.
Check the status by checking the IRQ for the I DAC and
the Q DAC PRBS as described in the Datapath PRBS IRQ
section.
Read Register 0x14B, Bits[7:6]. Bit 6 is 0 if the I DAC of the
selected dual has any errors. Bit 7 is 0 if the Q DAC of the
selected dual has any errors. This must match the IRQ.
Read Register 0x14C to read the error count for the I DAC.
Read Register 0x14D to read the error count for the Q DAC.
Note that the PRBS processes 32 bits at a time, and compares
the 32 new bits to the previous set of 32 bits. It detects (and
reports) only 1 error in every group of 32 bits; therefore, the
error count partly depends on when the errors are seen.
Bits: 32 good, 31 good, 1 bad; 32 good (2 errors)
Bits: 32 good, 22 good, 10 bad; 32 good (2 errors)
Bits: 32 good, 31 good, 1 bad; 31 good, 1 bad; 32 good
(3 errors)
Datapath PRBS IRQ
The PRBS fail signals for each DAC are available as IRQ events.
Use Register 0x020, Bits[1:0] to enable the fail signals, and then
use Register 0x02s[1:0] to read back their statuses and reset the
IRQ signals. See the Interrupt Request Operation section for
more information.
DC TEST MODE
As a convenience, the AD9152 provides a dc test mode, which is
enabled by setting Register 0x0F7, Bit 1. When this mode is
enabled, the datapath is given 0 (midscale) for its data.
In conjunction with dc offset, this test mode can provide
desired dc data to the DACs. This test mode can also provide
sinusoidal data to the DACs by combining digital modulation
(to set frequency) and dc offset (to set amplitude). See the DC
Offset section.
Rev. 0 | Page 62 of 104
Data Sheet
AD9152
INTERRUPT REQUEST OPERATION
The AD9152 provides an interrupt request output signal on
Pin 10 (IRQ) that can be used to notify an external host processor
of significant device events. On assertion of the interrupt, query
the device to determine the precise event that occurred.
The IRQ pin is an open-drain, active low output. Pull the IRQ
pin high external to the device. This pin can be tied to the
interrupt pins of other devices with open-drain outputs to wire;
OR these pins together.
Figure 68 shows a simplified block diagram of how the IRQ
blocks works. If IRQ_EN is low, the INTERRUPT_SOURCE
signal is set to 0. If IRQ_EN is high, any rising edge of an event
causes the INTERRUPT_SOURCE signal to be set high. If any
INTERRUPT_SOURCE signal is high, the IRQ pin is pulled
low. INTERRUPT_SOURCE can be reset to 0 by either an IRQ
reset signal or a device reset.
Depending on STATUS_MODE, the EVENT_STATUS bit reads
back an event or INTERRUPT_SOURCE. The AD9152 has
several IRQ register blocks that can monitor up to 48 events
(depending on device configuration). Certain details vary by
IRQ register block as described in Table 67. Table 68 shows
which registers the IRQ_EN, IRQ_RESET, and STATUS_MODE
signals in Figure 68 originate from, as well as the address where
EVENT_STATUS is read back.
Table 67. IRQ Register Block Details
Register Block
0x01F to 0x025
Event
Reported
Per chip
0x46D to 0x46F; 0x470
to 0x473; 0x47A
0x47B, Bit 4
Per link and
lane
Per link
EVENT_STATUS
INTERRUPT_SOURCE if
IRQ is enabled, if not, it
is an event
INTERRUPT_SOURCE if
IRQ is enabled, if not, 0
INTERRUPT_SOURCE if
IRQ is enabled, if not, 0
INTERRUPT SERVICE ROUTINE
Interrupt request management begins by selecting the set of event
flags that require host intervention or monitoring. Enable the
events that require host action so that the host is notified when
they occur. For events requiring host intervention upon IRQ
activation, run the following routine to clear an interrupt request:
1.
2.
3.
Read the status of the event flag bits that are being monitored.
Disable the interrupt by writing 0 to IRQ_EN.
Read the event source. For Register 0x01F to
Register 0x026, EVENT_STATUS has a live readback. For
other events, see their registers.
Perform any actions that may be required to clear the cause
of the event. In many cases, no specific actions may be
required.
Verify that the event source is functioning as expected.
Enable the interrupt by writing 1 to IRQ_EN.
Clear the interrupt by writing 1 to IRQ_RESET.
4.
5.
6.
7.
0
1
EVENT_STATUS
STATUS_MODE
IRQ
IRQ_EN
0
1
EVENT
IRQ_EN
INTERRUPT_SOURCE
OTHER
INTERRUPT
SOURCES
IRQ_RESET
12994-072
DEVICE_RESET
Figure 68. Simplified Schematic of IRQ Circuitry
Table 68. IRQ Register Block Address of IRQ Signal Details
Register Block
0x01F to 0x025
0x46D to 0x46F
IRQ_EN
0x01F to 0x021; R/W per chip
0x47A; W per link
0x470 to 0x473
0x47A; W per link
0x47, Bit 4
0x47B, Bit 3; R/W per link; 1 by
default
Address of IRQ Signals
IRQ_RESET
STATUS_MODE
0x023 to 0x025; W per chip
STATUS_MODE = IRQ_EN
0x46D to 0x46F; W per link
Not applicable,
and lane
STATUS_MODE = 1
0x470 to 0x473; W per link
Not applicable,
STATUS_MODE = 1
0x47B, Bit 4; W per link
Not applicable,
STATUS_MODE = 1
Rev. 0 | Page 63 of 104
EVENT_STATUS
0x023 to 0x25; R per chip
0x47A; R per link
0x47A; R per link
0x47B, Bit 4; R per link
AD9152
Data Sheet
DAC INPUT CLOCK CONFIGURATIONS
The AD9152 DAC sample clock (DACCLK) can be sourced
directly through DACCLK± (Pin 48 and Pin 49) or by clock
multiplication through the REFCLK± differential input (Pin 3
and Pin 4). Clock multiplying employs the on-chip PLL that
accepts a reference clock operating at a submultiple of the
desired DACCLK rate. The PLL then multiplies the reference
clock up to the desired DACCLK frequency, which generates 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 removes the burden of generating and distributing
the high speed DACCLK.
DAC PLL FIXED REGISTER WRITES
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.
Loop Filter
The DACCLK± and REFCLK± differential inputs share similar
clock receiver input circuitry, shown in Figure 69. The on-chip
clock receiver has a differential input impedance of 10 kΩ. It is
self biased to a common-mode voltage of approximately 600 mV.
The inputs can be driven by differential PECL or LVDS drivers
with ac coupling between the clock source and the receiver.
These writes properly set up the DAC PLL, including the loop
filter and the charge pump.
The RF PLL filter is fully integrated on-chip and is a standard
passive third-order filter with five 4-bit programmable
components (see Figure 70). The C1, C2, C3, R1, and R3 filter
components are programmed in as listed in the DAC PLL fixed
register writes in the DAC PLL Fixed Register Writes section to
Register 0x087, Register 0x088, and Register 0x089.
R3
FROM CHARGE PUMP
TO VCO
R1
C3
C2
C1
DACCLK+/
REFCLK+
TO VCO LDO
12994-074
DRIVING THE DACCLK± AND REFCLK± INPUTS
To optimize the PLL across all operating conditions, the
following SPI writes are recommended: Register 0x087 = 0x62,
Register 0x088 = 0xC9, Register 0x089 = 0x0E, Register 0x08A =
0x12, Register 0x08D = 0x7B, Register 0x1B0 = 0x00,
Register 0x1B4 = 0x78, Register 0x1B5 = 0xC9, Register 0x1B9
= 0x24, Register 0x1BC = 0x0D, Register 0x1BE = 0x02,
Register 0x1BF = 0x8E, Register 0x1C0 = 0x2A, Register 0x1C1
= 0x34, Register 0x1C4 = 0x7E, and Register 0x1C5 = 0x06.
Figure 70. Loop Filter
5kΩ
Charge Pump
The charge pump current is 6-bit programmable variable with a
range of 0.1 mA to 6.4 mA. It is programmed in Register 0x08A,
Bits[5:0] as shown in the DAC PLL Fixed Register Writes section.
12994-073
DACCLK−/
REFCLK−
Figure 69. Simplified Equivalent Circuit of the Clock Receiver Input
The minimum input drive level to the differential clock input is
400 mV p-p differential. The optimal performance is achieved
when the clock input signal is between 600 mV p-p differential
and 800 mV p-p differential. Whether using the on-chip clock
multiplier or sourcing the DACCLK directly, the input clock
signal to the device must have low jitter and fast edge rates to
optimize the DAC noise performance. Direct clocking with a
low noise clock produces the lowest noise spectral density at the
DAC outputs.
The charge pump is automatically calibrated the first time the
DAC PLL is enabled. The charge pump calibration raises Bit 5
of Register 0x084 after it is complete and valid.
The clocks and clock receiver are powered down by default. The
clocks must be enabled by writing to Register 0x011. To enable
all clocks on the device, write 0x00 to Register 0x011.
UP
TO LOOP FILTER
DOWN
CHARGE PUMP CURRENT = 0.1mA TO 6.4mA
Figure 71. Charge Pump
Rev. 0 | Page 64 of 104
12994-075
600mV
5kΩ
Data Sheet
AD9152
CONDITION SPECIFIC REGISTER WRITES
The clock multiplication circuit operates such that the VCO
outputs a frequency, fVCO.
Clock Multiplication Relationships
The on-chip PLL clock multiplier circuit generates the DAC
sample rate clock from a lower frequency reference clock. The PLL
is integrated on chip, including the VCO and the loop filter. The
VCO operates over the frequency range of 6 GHz to 12 GHz.
The PLL configuration parameters must be programmed before
the PLL is enabled. Step by step instructions on how to program the
PLL can be found in the Temperature Tracking section. The functional block diagram of the clock multiplier is shown in Figure 72.
The clock multiplication circuit generates the DAC sampling clock
from the REFCLK± input, which is fed in on the REFCLK± differential pins (Pin 3 and Pin 4). The frequency of the REFCLK±
input is referred to as fREF.
The REFCLK± input is divided by the variable RefDivFactor. Select
the RefDivFactor variable to ensure that the frequency into the
phase frequency detector (PFD) block is between 35 MHz and
80 MHz. The valid values for RefDivFactor are 2, 4, 8, 16, or 32.
Each RefDivFactor maps to the appropriate REF_DIV_MODE
register control according to Table 69. The REF_DIV_MODE
register is programmed through Register 0x08C, Bits[2:0].
Divide by Factor
(RefDivFactor)
2
4
8
16
REF_DIV_MODE,
Reg. 0x08C, Bits[2:0]
1
2
3
4
The range of fREF is 80 MHz to 1 GHz, and the output frequency
of the PLL is 420 MHz to 2.25 GHz. Use the following equations to
determine the RefDivFactor:
35 MHz <
f REF
< 80 MHz
(1)
RefDivFactor
where:
fREF is the reference frequency on the REFCLK± input pins.
RefDivFactor is the reference divider division ratio.
The BCount value is the divide ratio of the loop divider. It is set
to divide the fDAC to frequency match the fREF/RefDivFactor.
Select BCount so that the following equation is true:
f DAC
f REF
=
2 × BCount RefDivFactor
(3)
From Equation 2, the DAC sample clock frequency, fDAC, equals
f DAC = 2 × BCount ×
f REF
RefDivFactor
(4)
The LODivFactor is chosen to keep fVCO in the operating range
between 6 GHz and 12 GHz. The valid values for LODivFactor
are 4, 8, and 16. Each LODivFactor maps to a LO_DIV_MODE
value. The LO_DIV_MODE (Register 0x08B, Bits[1:0]) is
programmed as described in Table 70.
Table 70. DAC VCO Divider Selection
DAC Frequency
Range (MHz)
>1500
750 to 1500
420 to 750
Divide by Factor
(LODivFactor)
4
8
16
LO_DIV_MODE,
Register 0x08B, Bits[1:0]
1
2
3
Table 71 lists some common frequency examples for the
RefDivFactor, LODivFactor, and BCount values that are needed
to configure the PLL properly.
Table 71. Common Frequency Examples
Table 69. Mapping of RefDivFactor to REF_DIV_MODE
DAC Reference
Frequency Range (MHz)
70 to 160
160 to 320
320 to 640
640 to 1000
fVCO = fDAC × LODivFactor
(2)
Freq.
(MHz)
368.64
184.32
307.2
122.88
61.44
491.52
245.76
fDAC (MHz)
1474.56
1474.56
1228.88
983.04
983.04
1966.08
1966.08
fVCO
(MHz)
11796.48
11796.48
9831.04
7864.35
7864.35
7864.35
7864.35
RefDivFactor
8
4
8
2
1
8
4
LODivFactor
8
8
8
8
8
4
4
BCount
16
16
16
8
8
16
16
Temperature Tracking
When properly configured, the device automatically selects one of
the 512 VCO bands. The PLL settings selected by the device ensure
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.
To properly configure temperature tracking, follow the settings
in the DAC PLL Fixed Register Writes section and the fVCO
dependent SPI writes shown in Table 72.
Table 72. VCO Control Lookup Table
where:
fDAC is the DAC sample clock.
BCount is the feedback loop divider ratio.
The BCount value is programmed with Bits[7:0] of Register 0x085.
It is programmable from 6 to 127.
The PFD compares fREF/RefDivRate to fDAC/(2 × BCount) and
pulses the charge pump up or down to control the frequency of
the VCO. A low noise VCO is tunable over an octave with an
oscillation range of 6 GHz to 12 GHz.
VCO Frequency Range (GHz)
fVCO < 6.78
6.78 ≤ fVCO < 8.69
8.69 ≤ fVCO < 10.6
fVCO ≥ 10.6
Rev. 0 | Page 65 of 104
Register 0x1B6
Setting
0x49
0x49
0x4D
0x4D
Register 0x1BB
Setting
0x15
0x13
0x13
0x04
AD9152
Data Sheet
STARTING THE PLL
Register 0x084, Bit 1 notifies the user that the PLL has locked.
The programming sequence for the DAC PLL is as follows:
Register 0x084, Bit 7 and Register 0x084, Bit 6 notify the user
that the DAC PLL has reached the upper or lower edge of its
operating band, respectively. If either of these bits are high,
recalibrate the DAC PLL by setting Register 0x083, Bit 7 to 0
and then 1.
1.
2.
3.
4.
5.
6.
7.
Use the equations in the Clock Multiplication
Relationships section to find fVCO, fREF, BCount,
RefDivMode, and LODivMode.
Program the registers in the DAC PLL Fixed Register
Writes section.
Program the value of LODivMode into Register 0x08B,
Bits[1:0].
Program the value of BCount into Register 0x085,
Bits[7:0].
Program the value of RefDivMode into Register 0x08C,
Bits[2:0].
Based on the fVCO found in Step 1, write the temperature
tracking registers as shown in Table 72.
Enable the DAC PLL synthesizer by setting Register 0x083,
Bit 4 to 1.
DAC PLL IRQ
The DAC PLL lock and lost signals are available as IRQ events.
Use Register 0x01F, Bits[7:6] to enable these signals, and then
use Register 0x023, Bits[7:6] to read back their statuses and
reset the IRQ signals. See the Interrupt Request Operation
section for more information.
÷2
÷4
÷8
÷16
C1
RETIMER
UP
C2
C3
R1
LC VCO
6GHz
TO
12GHz
÷2
DOWN
÷2
÷2
÷2
R3
I
Q
I
Q
I
Q
ALC CAL
FO CAL
CAL CONTROL BITS
0.1mA TO 6.4mA
MUX/SELECTABLE BUFFERS
LODivFactor =
4, 8, 16
÷2
B COUNTER
BCount (INTEGER FEEDBACK DIVIDER)
RANGE = 6 TO 127
Figure 72. Device Clock PLL Block Diagram
Rev. 0 | Page 66 of 104
DAC CLOCK
420MHz TO 2.25GHz
12994-076
35MHz
TO 1GHz
PFD
80MHz
MAX
700MHz TO 1.5GHz
fREF
VCO
LDO
1.5GHz TO 3GHz
RefDivFactor
4-BIT
PROGRAMMABLE,
INTEGRATED
LOOP FILTER
3GHz TO 6GHz
CHARGE
PUMP
350MHz TO 750MHz
Register 0x084, Bit 5 notifies the user that the DAC PLL calibration
is completed and is valid.
Data Sheet
AD9152
ANALOG OUTPUTS
TRANSMIT DAC OPERATION
Table 73. DAC Full-Scale Current Registers
Figure 73 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 (IOUTFS) is nominally 20.22 mA.
The output currents from the IOUT±/QOUT± 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.
Address
0x040[1:0]
0x041[7:0]
0x042[1:0]
0x043[7:0]
I DAC
FULL-SCALE
ADJUST
IOUT–
I DAC
CURRENT
SCALING
15
10
5
QOUT+
DAC GAIN CODE
Figure 73. Simplified Block Diagram of the DAC Core
1024
12994-078
896
960
768
832
640
704
576
448
512
384
256
320
192
128
0
0
Q DAC
Q DAC
FULL-SCALE
ADJUST
64
4kΩ
Figure 74. DAC Full-Scale Current vs. DAC Gain Code
The DAC has a 0.5 V band gap reference with an output
impedance of 5 kΩ. A 4 kΩ external resistor, RSET, must be
connected from the I120 pin to the ground plane. This resistor,
along with the reference control amplifier, sets up the correct
internal bias currents for the DAC. Because the full-scale
current is inversely proportional to this resistor, the tolerance of
RSET is reflected in the full-scale output amplitude.
The full-scale current equation, where the DAC gain is set
individually for the I and Q DACs in Register 0x040 through
Register 0x043, respectively, is as follows:
I FS =
20
QOUT–
12994-172
I20
IOUT+
Description
I DAC MSB gain code
I DAC LSB gain code
Q DAC MSB gain code
Q DAC LSB gain code
25
DAC FULL-SCALE CURRENT (mA)
0.5V
Value
DACFSC_I[9:8]
DACFSC_I[7:0]
DACFSC_Q[9:8]
DACFSC_Q[7:0]
Transmit DAC Transfer Function
The output currents from the IOUT+/QOUT+ and IOUT−/
QOUT− pins are complementary, meaning that the sum of the
positive and negative 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.
IOUT± and QOUT± provide the maximum output current
when all bits are high for binary data. The output currents vs.
DACCODE for the DAC outputs using binary format are
expressed as
VREF 
 1

× 13.33 + 
× DAC gain  
RSET 
 19.19

I OUTP =
For nominal values of VREF (1.2 V), RSET (4 kΩ), and DAC gain
(1023), the full-scale current of the DAC is typically 20 mA. The
DAC full-scale current can be adjusted from 4 mA to 20 mA by
programming the values in Register 0x040 through Register 0x043,
as shown in Table 73 and Figure 74.
DACCODE BIN
× I OUTFS
2N
IOUTN = IOUTFS − IOUTP
(5)
(6)
where DACCODEBIN is the 16-bit input to the DAC in unsigned
binary. DACCODEBIN has a range of 0 to 2N − 1.
If the data format is twos complement, the output currents are
expressed as
IOUTP =
DACCODETWOS + 2 N − 1
× IOUTFS
2N
IOUTN = IOUTFS − IOUTP
Rev. 0 | Page 67 of 104
(7)
AD9152
Data Sheet
TEMPERATURE SENSOR
The AD9152 has a band gap temperature sensor for monitoring
the temperature changes of the AD9152. The temperature must
be calibrated against a known temperature to remove the device
to device variation on the band gap circuit used to sense the
temperature.
To use the temperature sensor, it must be enabled by setting
Register 0x12F, Bit 0 to 1. The user must write 0 and then 1 to
Register 0x134, Bit 0 before reading back the die temperature
from Register 0x132 and Register 0x133.
To monitor temperature change, take a reading at a known
ambient temperature for a single-point calibration of each
AD9152 device.
Tx = TREF + 7.16 × (CODE_x − CODE_REF)/1000
where:
CODE_x is the readback code at the unknown temperature, Tx.
CODE_REF is the readback code at the known calibrated
temperature, TREF.
Rev. 0 | Page 68 of 104
Data Sheet
AD9152
EXAMPLE START-UP SEQUENCE
Table 74 through Table 82 show the register writes needed to set
up the AD9152 with fDAC = 1474.56 MHz, 2× interpolation, and
the DAC PLL enabled with a 368.64 MHz reference clock. The
JESD204B interface is configured in Mode 4, single link mode,
Subclass 1, and scrambling is enabled with all four SERDES lanes
running at 7.3728 Gbps, inputting twos complement formatted
data. No remapping of lanes with the crossbar is used in this example.
The sequence of steps to properly start up the AD9152 are as follows:
1.
2.
3.
4.
5.
6.
Set up the SPI interface, power up necessary circuit blocks,
make required writes to the configuration register, and set
up the DAC clocks (see Step 1: Start Up the DAC).
Set the digital features of the AD9152 (see Step 2: Digital
Datapath).
Set up the JESD204B links (see Step 3: Transport Layer).
Set up the physical layer of the SERDES interface (see Step 4:
Physical Layer).
Set up the data link layer of the SERDES interface. This
procedure is for quick startup or debug only and does not
guarantee deterministic latency (see Step 5: Data Link Layer).
Check for errors on the link (see Step 6: Optional Error
Monitoring).
These steps are outlined in detail in the following sections in
tables that list the required register write and read commands.
STEP 1: START UP THE DAC
Power-Up and DAC Initialization
Table 74. Power-Up and DAC Initialization
Command
W
W
W
Addr.
0x000
0x000
0x011
Value
0xBD
0x3C
0x00
W
W
0x080
0x081
0x04
0x04
W
0x1CD
0xD8
Description
Soft reset
Deassert reset, set 4-wire SPI
Enable the reference, DAC
channels, and clocks
Enable duty cycle correction
Power up the SYSREF± receiver,
disable hysteresis
Band gap configuration
Required Device Configurations
Table 75. Required SERDES PLL Configuration
Command
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
Addr.
Value
Description
0x284
0x285
0x286
0x287
0x28A
0x28B
0x290
0x291
0x294
0x296
0x297
0x299
0x29A
0x29C
0x29F
0x2A0
0x62
0xC9
0xE
0x12
0x2B
0x0
0x89
0x4C
0x24
0x03
0xD
0x2
0x8E
0x2A
0x7E
0x6
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
SERDES PLL configuration
Configure the DAC PLL
Table 76. Required DAC PLL Configuration
Command
W
W
W
W
W
W
W
W
W
Addr.
Value
Description
0x08D
0x1B0
0x1B9
0x1BC
0x1BE
0x1BF
0x1C0
0x1C4
0x1C1
0x7B
0x0
0x24
0xD
0x2
0x8E
0x2A
0x7E
0x34
DAC PLL configuration
DAC PLL configuration
DAC PLL configuration
DAC PLL configuration
DAC PLL configuration
DAC PLL configuration
DAC PLL configuration
DAC PLL configuration
DAC PLL configuration
Table 77. Configure the DAC PLL
Command
W
Addr.
0x08B
Value
0x02
W
0x08C
0x03
W
0x085
0x10
W
W
W
0x1B6
0x1B5
0x1BB
0x4D
0x89
0x04
W
W
W
W
W
W
W
R
0x1B4
0x1C5
0x08A
0x087
0x088
0x089
0x083
0x084
0x78
0x06
0x12
0x62
0xC9
0x0E
0x10
0x01
Rev. 0 | Page 69 of 104
Description
Set the VCO LO divider to 8 such that
6 GHz ≤ fVCO = fDAC × 2(LODivMode + 1) ≤ 12 GHz.
Set the reference clock divider to 8 so
that the reference clock into the PLL is
less than 80 MHz.
Set the B counter to 16 to divide the DAC
clock down to 2× the reference clock.
Write the VCO output level from Table 72.
Optimal DAC PLL VCO settings.
Write the VCO bias reference and TC
from Table 72.
Optimal DAC PLL VCO settings.
Optimal DAC PLL VCO settings.
Optimal DAC PLL VCO settings.
Optimal DAC PLL loop filter settings.
Optimal DAC PLL loop filter settings.
Optimal DAC PLL loop filter settings.
Enable the DAC PLL.
Verify that Bit 1 reads back high for
PLL locked.
AD9152
Data Sheet
STEP 2: DIGITAL DATAPATH
STEP 5: DATA LINK LAYER
Table 78. Digital Datapath
Note that this procedure does not guarantee deterministic latency.
Command
W
W
Addr.
0x112
0x110
Value
0x01
0x00
Description
Set the interpolation to 2×.
Set twos complement data
format.
STEP 3: TRANSPORT LAYER
Table 79. Link Transport Layer
Command
W
W
W
Addr.
0x200
0x201
0x300
Value
0x00
0x00
0x00
W
0x450
0x00
W
0x451
0x00
W
0x452
0x00
W
0x453
0x83
W
W
W
W
W
0x454
0x455
0x456
0x457
0x458
0x00
0x1F
0x01
0x0F
0x2F
W
0x459
0x20
W
W
W
W
W
0x45A
0x45D
0x46C
0x476
0x47D
0x80
0x45
0x0F
0x01
0x0F
Description
Power up the interface
Enable all lanes
First power down JESD204B
digital (by default)
Set the device ID to match Tx
(0x00 in this example)
Set the bank ID to match Tx
(0x00 in this example)
Set the lane ID to match Tx (0x00
in this example)
Set descrambling and L = 4
(in n − 1 notation)
Set F = 1 (in n − 1 notation)
Set K = 32 (in n − 1 notation)
Set M = 2 (in n − 1 notation)
Set N = 16 (in n − 1 notation)
Set Subclass 1 and NP = 16 (in
n − 1 notation)
Set JESD204B Version and S = 1
(in n − 1 notation)
Set HD = 1
Set checksum for Lane 0
Deskew Lane 0 to Lane 3
Set F (not in n − 1 notation)
Enable Lane 0 to Lane 3
Table 81. Data Link Layer—Does Not Guarantee
Deterministic Latency
Command
W
W
W
Addr.
0x301
0x304
0x306
Value
0x01
0x00
0x0A
W
W
W
SYSREF±
0x03A
0x03A
0x03A
0x01
0x81
0xC1
W
0x300
0x01
STEP 6: OPTIONAL ERROR MONITORING
Link Checks
Confirm that the registers in Table 82 read back as noted and
system tasks are completed as described.
Table 82. Link Checks
Command
R
Value
0x01
0x01
0x29
W
W
W
0x206
0x206
0x289
0x00
0x01
0x04
W
R
0x280
0x281
0x01
0x01
Value
0x0F
R
0x471
0x0F
R
R
0x472
0x473
0x0F
0x0F
Table 80. Physical Layer
Addr.
0x2A7
0x314
0x230
Addr.
0x470
SERDINx±
STEP 4: PHYSICAL LAYER
Command
W
W
W
Description
Set the subclass = 1
Set the LMFC delay setting to 0
Set the LMFC receive buffer
delay to 10
Set sync mode = one shot sync
Enable the sync machine
Arm the sync machine
Ensure that at least one SYSREF±
edge is sent to the device
Bit 0 = 1 to enable Link 0.
Description
Autotune PHY setting
SERDES SPI configuration
Configure CDRs in half rate
mode and set the SYNCOUT±
swing VOD to 350 mV
Resets CDR logic
Release CDR logic reset
Configure the PLL divider to 1
along with PLL required
configuration
Enable the SERDES PLL
Verify that Bit 0 reads back high
for the SERDES PLL lock
Rev. 0 | Page 70 of 104
Description
Acknowledge that four
consecutive K28.5 characters
have been detected on Lane 0
to Lane 3. Confirm
that SYNCOUT± is high.
Apply ILAS and data to SERDES
input pins.
Check for frame sync on all
lanes.
Check for good checksum.
Check for ILAS.
Data Sheet
AD9152
BOARD LEVEL HARDWARE CONSIDERATIONS
POWER SUPPLY RECOMMENDATIONS
AD9152
1.8V
STEPDOWN DC/DC
1.2MHz, 2A
ADP2119
1.2V
ADP1753
POWER
INPUT
BUCK
1.2MHz/600kHz
800mA
+12V
1.2V
ADP1741
3.8V
3.3V
ADM7154-3.3
SVDD12 + SDVDD12
+ PLLVDD12
DVDD12
CVDD12 + PVDD12
AVDD33
ADP2370
3.3V
ADM7160-3.3
IOVDD + SIOVDD33
12994-175
+3.3V
1.2V
ADP1741
Figure 75. Power Supply Connections
Table 83. Power Supplies
Power Supply Domain
DVDD12 1
PVDD12 2
CVDD121
SVDD12 3
SDVDD123
PLLVDD123
VTT 4
AVDD33
IOVDD
SIOVDD33
Voltage (V)
1.2
1.2
1.2
1.2
1.2
1.2
1.2
3.3
3.3
3.3
Circuitry
Digital core
DAC PLL
DAC clocking
JESD204B analog
JESD204B digital
SERDES PLL
VTT
DAC
SPI interface and IOs
Sync LVDS transmit
This supply requires a 1.3 V supply when operating at maximum DAC sample rates. See Table 3 for details.
This supply may be combined with CVDD12 on the same regulator with a separate supply filter network and sufficient bypass capacitors near the pins.
This supply requires a 1.3 V supply when operating at maximum interface rates. See Table 4 for details.
4
This supply is connected to SVDD12 and does not need separate circuitry.
1
2
3
The power supply domains are described in Table 83. The
power supplies can be grouped into separate PCB domains as
show in Figure 75. All the AD9152 supply domains must
remain as noise free as possible. Optimal DAC output NSD and
DAC output phase noise performance can be achieved using
linear regulators that provide excellent power supply rejection.
AVDD33, PVDD12, and CVDD12 are particularly sensitive to
supply noise.
JESD204B SERIAL INTERFACE INPUTS (SERDIN0±
TO SERDIN3±)
When considering the layout of the JESD204B serial interface
transmission lines, there are many factors to consider to
maintain optimal link performance. Among these factors are
insertion loss, return loss, signal skew, and the topology of the
differential traces.
Insertion Loss
The JESD204B specification limits the amount of insertion loss
allowed in the transmission channel (see Figure 41). The AD9152
equalization circuitry allows significantly more loss in the channel
than is required by the JESD204B specification. It is still important
that the designer of the PCB minimize the amount of insertion
loss by adhering to the following guidelines:
•
•
•
Rev. 0 | Page 71 of 104
Keep the differential traces short by placing the AD9152 as
near to the transmitting logic device as possible and routing
the trace as directly as possible between the devices.
Route the differential pairs on a single plane using a solid
ground plane as a reference.
Use a PCB material with a low dielectric constant (<4) to
minimize loss, if possible.
AD9152
Data Sheet
When choosing between stripline and microstrip techniques,
consider the following: stripline has less loss (see Figure 42) and
emits less EMI, but requires the use of vias that can add complexity
to the task of controlling the impedance, whereas microstrip (see
Figure 43) is easier to implement if the component placement and
density allow routing on the top layer and eases the task of
controlling the impedance.
If using the top layer of the PCB is problematic or the advantages
of stripline are desirable, follow these recommendations:

LAYER 1
LAYER 2
ADD GROUND VIAS
DIFF–
LAYER 3
LAYER 4
DIFF+
LAYER 6
y
y
STANDARD VIA
LAYER 5
GROUND
y
Topology
Structure the differential SERDINx± pairs to achieve 50 Ω to
ground for each half of the pair. Stripline vs. microstrip tradeoffs are described in the Insertion Loss section. In either case, it
is important to keep these transmission lines separated from
potential noise sources such as high speed digital signals and
noisy supplies. If using stripline differential traces, route them
using a coplanar method, with both traces on the same layer.
Although this does not offer more noise immunity than the
broadside routing method (traces routed on adjacent layers), it
is easier to route and manufacture so that the impedance
continuity is maintained. An illustration of the broadside
technique vs. the coplanar technique is shown in Figure 77.
GROUND
12994-056
LAYER 7
Tx DIFF A
Figure 76. Minimizing Stub Effect and Adding Ground Vias for Differential
Stripline Traces
Tx DIFF B
LAYER 8
MINIMIZE STUB EFFECT
Return Loss
Tx ACTIVE
BROADSIDE DIFFERENTIAL Tx LINES
The JESD204B specification limits the amount of return loss
allowed in a converter device and a logic device, but does not
specify return loss for the channel. However, every effort must
be made to maintain a continuous impedance on the transmission
line between the transmitting logic device and the AD9152. As
mentioned in the Insertion Loss section, minimizing the use of
vias, or eliminating them all together, reduces one of the primary
sources for impedance mismatches on a transmission line.
Maintain a solid reference beneath (for microstrip) or above
and below (for stripline) the differential traces to ensure continuity
in the impedance of the transmission line. If the stripline technique
is used, follow the guidelines listed in the Insertion Loss section
to minimize impedance mismatches and stub effects.
Another primary source for impedance mismatch is at either
end of the transmission line, where care must be taken to match
the impedance of the termination to that of the transmission
line. The AD9152 handles this internally with a calibrated
termination scheme for the receiving end of the line. See the
Interface Power-Up and Input Termination section for details
on this circuit and the calibration routine.
Tx
DIFF A
Tx
DIFF B
Tx
ACTIVE
12994-057

Minimize the number of vias.
If possible, use blind vias to eliminate via stub effects and
use micro vias to minimize via inductance.
If using standard vias, use the maximum via length to
minimize the stub size. For example, on an 8-layer board,
use Layer 7 for the stripline pair (see Figure 76).
For each via pair, place a pair of ground vias adjacent to them
to minimize the impedance discontinuity (see Figure 76).
There are many sources for signal skew, but the two sources to
consider when laying out a PCB are interconnect skew within a
single JESD204B link and skew between multiple JESD204B
links. In each case, keeping the channel lengths matched to
within 15 mm is adequate for operating the JESD204B link at
speeds of up to 12.38 Gbps. Managing the interconnect skew
within a single link is fairly straightforward. Managing multiple
links across multiple devices is more complex. However, follow
the 15 mm guideline for length matching.
COPLANAR DIFFERENTIAL Tx LINES
Figure 77. Broadside vs. Coplanar Differential Stripline Routing Techniques
When considering the trace width vs. copper weight and
thickness, the speed of the interface must be considered. At
multigigabit speeds, the skin effect of the conducting material
confines the current flow to the surface. Maximize the surface
area of the conductor by making the trace width wider to
reduce the losses. Additionally, loosely couple differential traces
to accommodate the wider trace widths. This helps reduce the
crosstalk and minimize the impedance mismatch when the
traces must separate to accommodate components, vias,
connectors, or other routing obstacles. Tightly coupled vs.
loosely coupled differential traces are shown in Figure 78.
Tx
DIFF A
Tx
DIFF B
TIGHTLY COUPLED
DIFFERENTIAL Tx LINES
Rev. 0 | Page 72 of 104
Tx
DIFF A
Tx
DIFF B
LOOSELY COUPLED
DIFFERENTIAL Tx LINES
Figure 78. Tightly Coupled vs. Loosely Coupled Differential Traces
12994-058


Signal Skew
Data Sheet
AD9152
AC Coupling Capacitors
Separate the SYNCOUT± signal from other noisy signals,
because noise on the SYNCOUT± might be interpreted as a
request for K characters.
The AD9152 requires that the JESD204B input signals be
ac-coupled to the source. These capacitors must be 100 nF and
placed as close as possible to the transmitting logic device. To
minimize the impedance mismatch at the pads, select the
package size of the capacitor so that the pad size on the PCB
matches the trace width as closely as possible.
It is important to keep similar trace lengths for the
DACCLK±/REFCLK± and SYSREF± signals from the clock
source to each of the devices on either end of the JESD204B
links, see Figure 79. If using a clock chip that can tightly control
the phase of DACCLK±/REFCLK± and SYSREF±, the trace
length matching requirements are greatly reduced.
SYNCOUT±, SYSREF±, and DACCLK±/REFCLK± Signals
The SYNCOUT± and SYSREF± signals on the AD9152 are low
speed LVDS differential signals. Use controlled impedance
traces routed with 100 Ω differential impedance and 50 Ω to
ground when routing these signals. As with the SERDIN0± to
SERDIN3± data pairs, it is important to keep these signals
separated from potential noise sources such as high speed
digital signals and noisy supplies.
LANE 0
LANE 1
Tx
DEVICE
Rx
DEVICE
LANE N – 1
LANE N
SYSREF
SYSREF TRACE LENGTH
DEVICE CLOCK TRACE LENGTH
DEVICE CLOCK
SYSREF TRACE LENGTH
DEVICE CLOCK TRACE LENGTH
Figure 79. SYSREF± Signal and Device Clock Trace Length
Rev. 0 | Page 73 of 104
12994-059
DEVICE CLOCK
SYSREF
CLOCK SOURCE
(AD9516-1, AD9525,
AND AD9528)
AD9152
Data Sheet
REGISTER MAP AND DESCRIPTIONS
In the following tables, register addresses (Reg. column) and reset values (Reset column) are hexadecimal. In the read/write (R/W)
column, R means read only, W means write only, R/W means read/write, and N/A means not applicable.
DEVICE CONFIGURATION REGISTER MAP
Table 84. Device Configuration Register Map
Reg.
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Reset
RW
0x000
SPI_INTFCONFA
SOFTRESET_
M
LSBFIRST_M
ADDRINC_M
SDOACTIVE_M
SDOACTIVE
ADDRINC
LSBFIRST
SOFTRESET
0x00
R/W
0x003
CHIPTYPE
0x04
R
0x004
PRODIDL
PRODIDL
0x52
R
0x005
PRODIDH
PRODIDH
0x91
R
0x006
CHIPGRADE
0x07
R
0x011
PWRCNTRL0
PD_BG
PD_DACI
PD_DACQ
PD_DIGCLK
0x6C
R/W
0x012
TXENMASK
RESERVED
DACA_MASK
RESERVED
CLKA_MASK
0x00
R/W
0x013
PWRCNTRL3
RESERVED
PDP_PROTECT_ TX_PROTECT_
OUT
OUT
BSM_
PROTECT_OUT
SPI_PROTECT_
OUT_EN
0x20
R/W
0x014
PWRCNTRL1
RESERVED
POWER_DN_I
POWER_DN_Q
RESERVED
0x01F
IRQ_ENABLE0
IRQEN_DACPLLLOST
IRQEN_DACPLLLOCK
RESERVED
IRQEN_SERPLLLOST
0x020
IRQ_ENABLE1
IRQEN_
PARMBAD
IRQEN_
LANEFIFO
IRQEN_DLYBUF
0x021
IRQ_ENABLE2
IRQEN_
PDPERR
0x023
IRQ_STATUS0
DACPLLLOST DACPLLLOCK
0x024
IRQ_STATUS1
PARMBAD
LANEFIFO
DLYBUF
DATAREADY
OVERFLOW
0x025
IRQ_STATUS2
PAERR
RESERVED
RESERVED
NCOALIGN
SYNCLOCK
0x026
OVERFLOW_
STATUS0
PFIR_
OVERFLOW
INT1_
OVERFLOW
INT2_
OVERFLOW
INT3_
OVERFLOW
COARSE_
MOD_BY8_
OVERFLOW
FINE_MOD_
OVERFLOW
0x027
OVERFLOW_
STATUS1
0x030
JESD_CHECKS
0x032
SYNC_DACDELAY_L
0x033
SYNC_DACDELAY_H
0x034
SYNC_ERRWINDOW
0x035
SYNC_DLYCOUNT
0x036
0x038
0x039
SYNC_LASTERR_H
CHIPTYPE
RESERVED
DEV_REVISION
RESERVED
RESERVED
PD_ICLK
PD_QCLK
PD_PCLK
PD_CLKRCVR
RESERVED
SPI_PROTECT_
OUT_CTRL
SPI_TXEN_EN
POWER_UP_I
POWER_UP_Q
0x00
R
IRQEN_SERPLLLOCK
RESERVED
IRQEN_LANEFIFOERR
IRQEN_DRDLFIFOERR
0x00
R/W
IRQEN_
DATAREADY
IRQEN_
OVERFLOW
RESERVED
IRQEN_PRBSQ
IRQEN_PRBSI
0x00
R/W
IRQEN_
NCOALIGN
IRQEN_
SYNCLOCK
IRQEN_
SYNCROTATE
IRQEN_
SYNCWLIM
IRQEN_
SYNCTRIP
0x00
R/W
SERPLLLOST
SERPLLLOCK
RESERVED
LANEFIFOERR
DRDLFIFOERR
0x00
R
RESERVED
PRBSQ
PRBSI
0x00
R
SYNCROTATE
SYNCWLIM
SYNCTRIP
0x00
R
PHASE_ADJ_
OVERFLOW
GAIN_ADJ_
OVERFLOW
0x00
R
DC_OFFSET_
OVERFLOW
0x00
R
ERR_INTSUPP
0x00
R
0x00
R/W
RESERVED
RESERVED
ERR_DLYOVER
ERR_WINLIMIT
ERR_JESDBAD
ERR_KUNSUPP
ERR_SUBCLASS
SPI_TXEN_CTRL
DAC_DELAY_L
RESERVED
DAC_DELAY_H
0x00
R/W
0x00
R/W
DLYCOUNT
0x00
R/W
SYNC_REFCOUNT
REFCOUNT
0x00
R/W
SYNC_LASTERR_L
LASTERROR_L
0x00
R
RESERVED
LASTUNDER
ERRWINDOW
LASTOVER
0x03A SYNC_CONTROL
SYNCENABLE SYNCARM
0x03B SYNC_STATUS
SYNCBUSY
RESERVED
SYNCCLRSTKY
LASTERROR_H
SYNCCLRLAST
RESERVED
SYNCMODE
SYNCLOCK
0x03C SYNC_CURRERR_L
SYNCROTATE
SYNCWLIM
SYNCTRIP
CURRERROR_L
0x03D SYNC_CURRERR_H
CURRUNDER CURROVER
0x03E
ERROR_THERM
THRMOLD
0x040
DAC_GAIN1_I
0x041
DAC_GAIN0_I
0x042
DAC_GAIN1_Q
0x043
DAC_GAIN0_Q
0x047
COARSE_GROUP_
DLY
0x050
NCOALIGN_MODE
0x051
NCOKEY_ILSB
THRMOVER
THRMPOS
THRMZERO
RESERVED
NCO_
ALIGN_ARM
RESERVED
NCO_ALIGN_
MTCH
NCO_ALIGN_
FAIL
NCOKEYI[7:0]
Rev. 0 | Page 74 of 104
RESERVED
R
R
R
THRMUNDER
0x00
R
DACFSC_I[9:8]
0x03
R/W
0xFF
R/W
DACFSC_Q[9:8]
0x03
R/W
0xFF
R/W
0x0
R/W
0x00
R/W
0x00
R/W
THRMNEG
COARSE_GROUP_DLY_Q
NCO_ALIGN_
PASS
0x00
0x00
DACFSC_Q[7:0]
COARSE_GROUP_DLY_I
R/W
0x00
DACFSC_I[7:0]
RESERVED
R
0x00
CURRERROR_H
RESERVED
RESERVED
0x00
NCO_ALIGN_MODE
Data Sheet
AD9152
Reg.
Name
Bit 7
Bit 6
Bit 5
0x052
NCOKEY_IMSB
0x053
NCOKEY_QLSB
0x054
NCOKEY_QMSB
0x060
PDP_THRES0
0x061
PDP_THRES1
0x062
PDP_AVG_TIME
0x063
PDP_POWER0
0x064
PDP_POWER1
0x065
PA_OFFGAIN0
EN_UKCIRQOFFGAIN
0x066
PA_OFFGAIN1
EN_CMMIRQ- EN_CGSIRQOFFGAIN
GAIN
0x080
CLKCFG0
0x081
SYSREF_ACTRL0
0x082
SYSREF_ACTRL1
0x083
DACPLLCNTRL
RECAL_
DACPLL
0x084
DACPLLSTATUS
CP_OVERRANGE_H
Bit 4
Bit 3
Reset
RW
NCOKEYI[15:8]
0x00
R/W
NCOKEYQ[7:0]
0x00
R/W
NCOKEYQ[15:8]
0x00
R/W
PDP_THRESHOLD[7:0]
0x00
R/W
0x00
R/W
RESERVED
PDP_ENABLE
DACLOOPFILT1
0x088
DACLOOPFILT2
0x089
DACLOOPFILT3
Bit 1
Bit 0
PDP_THRESHOLD[12:8]
RESERVED
PDP_AVG_TIME
PDP_POWER[7:0]
RESERVED
PDP_POWER[12:8]
RESERVED
EN_FSIRQOFFGAIN
EN_GCSIRQOFFGAIN
EN_ILSIRQOFFGAIN
EN_ILDIRQOFFGAIN
PD_SYSREF
HYS_ON
SYSREF_RISE
RESERVED
RESERVED
CP_OVERRANGE_L
ENABLE_
DACPLL
CP_CAL_VALID
CURRENTS_
READY
RESERVED
LF_R1_WORD
LF_BYPASS_
R3
0x08A DACCPCNTRL
LF_BYPASS_
R1
LF_BYPASS_C2
LF_BYPASS_C1
RESERVED
EN_NITIRQOFFGAIN
0x00
R/W
RESERVED
0x04
R/W
HYS_CNTRL1
0x10
R/W
0x00
R/W
0x00
R/W
0x00
R/W
DAC_PLL_LOCK
RESERVED
0x06
R/W
LF_C1_WORD
0x88
R/W
LF_C3_WORD
0x88
R/W
LF_R3_WORD
0x08
R/W
RESERVED
0x08C DACLDOCNTRL1
LO_DIV_MODE
RESERVED
RESERVED
REF_DIV_MODE
PD_DAC_
ONDET
CLK_ON
0x20
R/W
0x00
R/W
0x00
R/W
0x08E
CLK_DETECT
0x0F7
DIG_TEST0
0x0F8
DC_TEST_VALUEI0
DC_TEST_VALUEI[7:0]
0x00
R/W
0x0F9
DC_TEST_VALUEI1
DC_TEST_VALUEI[15:8]
0x00
R/W
0x0FA DC_TEST_VALUEQ0
DC_TEST_VALUEQ[7:0]
0x00
R/W
0x0FB
DC_TEST_VALUEQ1
DC_TEST_VALUEQ[15:8]
0x00
R/W
0x110
DATA_FORMAT
BINARY_
FORMAT
RESERVED
0x00
R/W
0x111
DATAPATH_CTRL
INVSINC_
ENABLE
0x20
R/W
0x112
INTERP_MODE
SINGLE_
DAC_EN
0x01
R/W
0x113
NCO_FTW_UPDATE
0x00
R/W
0x114
FTW0
FTW[7:0]
0x00
R/W
0x115
FTW1
FTW[15:8]
0x00
R/W
0x116
FTW2
FTW[23:16]
0x00
R/W
0x117
FTW3
FTW[31:24]
0x00
R/W
0x118
FTW4
FTW[39:32]
0x00
R/W
0x119
FTW5
FTW[47:40]
0x10
R/W
0x11A NCO_PHASE_
OFFSET0
NCO_PHASE_OFFSET[7:0]
0x00
R/W
0x11B NCO_PHASE_
OFFSET1
NCO_PHASE_OFFSET[15:8]
0x00
R/W
RESERVED
RESERVED
DIG_GAIN_
ENABLE
PHASE_ADJ_
ENABLE
MODULATION_TYPE
IS_DIFF
CLK_DET_EN
0x00
R/W
DC_TEST_MOD
DIG_CLK_PD
0x1C
R/W
SEL_SIDEBAND
RESERVED
RESERVED
INTERP_MODE
RESERVED
0x11C IQ_PHASE_ADJ0
0x11D IQ_PHASE_ADJ1
PD_DAC_
ONDIFF
R
EN_DISIRQOFFGAIN
CP_CURRENT
0x08B DACLOGENCNTRL
0x00
R/W
B_COUNT
LF_C2_WORD
R
0x00
RESERVED
VCO_CAL_
PROGRESS
R/W
0x00
EN_LANEFIFOOFFGAIN
HYS_CNTRL0
RESERVED
0x00
EN_DELAYBUFFEROFFGAIN
DUTY_EN
0x085 DACINTEGERWORD0
0x087
Bit 2
FTW_UPDATE_
ACK
PHASE_ADJ[7:0]
RESERVED
PHASE_ADJ[12:8]
Rev. 0 | Page 75 of 104
FTW_UPDATE_
REQ
0x00
R/W
0x00
R/W
AD9152
Reg.
Name
0x11F
TXEN_SM_0
0x125
DACOUT_ON_
DOWN
Data Sheet
Bit 7
Bit 6
FALL_COUNTERS
Bit 4
RISE_COUNTERS
Bit 3
Bit 2
Bit 1
Bit 0
Reset
RW
RESERVED
PROTECT_OUT_I
NVERT
RESERVED
TXEN_SM_EN
0x83
R/W
DACOUT_
SHUTDOWN
DACOUT_ON_
TRIGGER
0x00
R/W
DACOFF_AVG_
PW
0x81
R/W
TEMP_SENSOR_
ENABLE
0x20
R/W
RESERVED
0x12C DACOFF
PROTECT_
MODE
0x12F
RESERVED
DIE_TEMP_CTRL0
Bit 5
RESERVED
FS_CURRENT
RESERVED
0x132
DIE_TEMP0
DIE_TEMP[7:0]
0x00
R
0x133
DIE_TEMP1
DIE_TEMP[15:8]
0x00
R
0x134
DIE_TEMP_UPDATE
RESERVED
DIE_TEMP_
UPDATE
0x00
R/W
0x135
DC_OFFSET_CTRL
RESERVED
DC_OFFSET_ON
0x00
R/W
0x136
IPATH_DC_OFFSET_
1PART0
LSB_OFFSET_I[7:0]
0x00
R/W
0x137
IPATH_DC_OFFSET_
1PART1
LSB_OFFSET_I[15:8]
0x00
R/W
0x138
QPATH_DC_
OFFSET_1PART0
LSB_OFFSET_Q[7:0]
0x00
R/W
0x139
QPATH_DC_
OFFSET_1PART1
LSB_OFFSET_Q[15:8]
0x00
R/W
0x13A IPATH_DC_OFFSET_
2PART
RESERVED
SIXTEENTH_OFFSET_I
0x00
R/W
0x13B QPATH_DC_
OFFSET_2PART
RESERVED
SIXTEENTH_OFFSET_Q
0x00
R/W
0x00
R/W
0x13C IDAC_DIG_GAIN0
IDAC_DIG_GAIN[7:0]
0x13D IDAC_DIG_GAIN1
0x13E
QDAC_DIG_GAIN0
0x13F
QDAC_DIG_GAIN1
0x140
GAIN_RAMP_UP_
STEP0
0x141
GAIN_RAMP_UP_
STEP1
0x142
GAIN_RAMP_
DOWN_STEP0
0x143
GAIN_RAMP_
DOWN_STEP1
0x14B PRBS
RESERVED
IDAC_DIG_GAIN[11:8]
QDAC_DIG_GAIN[7:0]
RESERVED
QDAC_DIG_GAIN[11:8]
GAIN_RAMP_UP_STEP[7:0]
RESERVED
GAIN_RAMP_UP_STEP[11:8]
GAIN_RAMP_DOWN_STEP[7:0]
RESERVED
PRBS_
GOOD_Q
PRBS_GOOD_I RESERVED
GAIN_RAMP_DOWN_STEP[7:0]
PRBS_INV_Q
PRBS_INV_I
PRBS_MODE
PRBS_RESET
PRBS_EN
0x08
R/W
0x00
R/W
0x08
R/W
0x04
R/W
0x00
R/W
0x09
R/W
0x00
R/W
0x10
R/W
R
0x14C PRBS_ERROR_I
PRBS_COUNT_I
0x00
0x14D PRBS_ERROR_Q
PRBS_COUNT_Q
0x00
R
0x00
R/W
ACC_MODULUS[7:0]
0x00
R/W
0x151
DATAPATH_CTRL2
RESERVED
PFIR_DEMOD4_
ENABLE
PFIR_ENABLE
RESERVED
NEG_DDS_FREQ
MODULUS_
ENABLE
0x152
ACC_MODULUS0
0x153
ACC_MODULUS1
ACC_MODULUS[15:8]
0x00
R/W
0x154
ACC_MODULUS2
ACC_MODULUS[23:16]
0x00
R/W
0x155
ACC_MODULUS3
ACC_MODULUS[31:24]
0x00
R/W
0x156
ACC_MODULUS4
ACC_MODULUS[39:32]
0x00
R/W
0x157
ACC_MODULUS5
ACC_MODULUS[47:40]
0x00
R/W
0x158
ACC_DELTA0
ACC_DELTA[7:0]
0x00
R/W
0x159
ACC_DELTA1
ACC_DELTA[15:8]
0x00
R/W
0x15A ACC_DELTA2
ACC_DELTA[23:16]
0x00
R/W
0x15B ACC_DELTA3
ACC_DELTA[31:24]
0x00
R/W
0x15C ACC_DELTA4
ACC_DELTA[39:32]
0x00
R/W
0x15D ACC_DELTA5
ACC_DELTA[47:40]
0x00
R/W
0x164
SWEEP_WORD0_L
SWEEP_WORD0_L
0x00
R/W
0x165
SWEEP_WORD0_M
SWEEP_WORD0_M
0x00
R/W
Rev. 0 | Page 76 of 104
Data Sheet
AD9152
Reg.
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
0x166
SWEEP_WORD0_H
SWEEP_WORD0_H
0x00
R/W
0x167
SWEEP_WORD1_L
SWEEP_WORD1_L
0x00
R/W
0x168
SWEEP_WORD1_M
SWEEP_WORD1_M
0x00
R/W
0x169
SWEEP_WORD1_H
SWEEP_WORD1_H
0x00
R/W
0x16A RISE_DELTA_L
RISE_DELTA_L
0x00
R/W
0x16B RISE_DELTA_M
RISE_DELTA_M
0x00
R/W
0x16C RISE_DELTA_H
RISE_DELTA_H
0x00
R/W
0x16D FALL_DELTA_L
FALL_DELTA_L
0x00
R/W
0x16E
FALL_DELTA_M
FALL_DELTA_M
0x00
R/W
0x16F
FALL_DELTA_H
FALL_DELTA_H
0x00
R/W
0x170
RISE_RATE_L
RISE_RATE_L
0x00
R/W
0x171
RISE_RATE_H
RISE_RATE_H
0x00
R/W
0x172
FALL_RATE_L
FALL_RATE_L
0x00
R/W
0x173
FALL_RATE_H
0x17A PFIR_COEFF0_L
0x17B PFIR_COEFF0_H
0x00
R/W
0x00
R/W
0x17F
PFIR_COEFF2_H
0x180
PFIR_COEFF3_L
0x181
PFIR_COEFF3_H
RESERVED
0x182
PFIR_COEFF_
UPDATE
RESERVED
RESERVED
VCO_CAL_OFFSET
PHY_PD
GENERIC_PD
0x206
CDR_RESET
0x230
CDR_OPERATING_
MODE_REG_0
0x268
EQ_BIAS_REG
0x280
SERDESPLL_
ENABLE_CNTRL
0x281
SERDES_PLL_
STATUS
0x289
REF_CLK_DIVIDER_
LDO
RESERVED
INIT_ALC_VALUE
RESERVED
PORESETB_
VCO
EXT_VCO_BITSEL
RESERVED
EXT_BAND_EN
R/W
R/W
PFIR_COEFF3[8]
0x00
R/W
PFIR_COEFF_
UPDATE
0x00
R/W
EXT_BAND2
0x78
R/W
0x83
R/W
0x4A
R/W
0x0C
R/W
VCO_BIAS_REF
0x08
R/W
0x00
R/W
SPI_PD_MASTER
0x01
R/W
0x00
R/W
SPI_SYNC_PD
RESERVED
0x00
R/W
SPI_CDR_RESETN 0x01
R/W
CDR_OVERSAMP
SYNCOUTB_
SWING
0x28
R/W
0x62
R/W
RESERVED
SPI_PD_PHY
RESERVED
RESERVED
RESERVED
EQ_POWER_MODE
RESERVED
RESERVED
RESERVED
SERDES_CP_
SERDES_CP_
OVER_RANGE_H OVER_RANGE_L
SERDES_PLL_
CAL_VALID
RECAL_
SERDESPLL
RESERVED
ENABLE_
SERDESPLL
0x00
R/W
SERDES_VCO_
CAL_PROGRESS
SERDES_PLL_
CURRENTS_
READY
SERDES_PLL_
LOCK
0x00
R
0x04
R/W
SPI_I_TUNE_R_
CAL_TERMBLK1
0x00
R/W
LINK_EN
0x00
R/W
0x01
R/W
RESERVED
0x2A7 TERM_BLK1_
CTRLREG0
SERDES_PLL_DIV_MODE
RESERVED
RESERVED
CHECKSUM_
MODE
R/W
R/W
0x00
TSTWINDOW
ENHALFRATE
0x00
0x00
VCO_VAR
RESERVED
RESERVED
R/W
R/W
0x00
VCO_VAR_REF
RESERVED
0x00
0x00
VCO_LVL_OUT
VCO_BIAS_TCF
RESERVED
0X1FE TEST_MODE
0x203
PFIR_COEFF2[8]
PFIR_COEFF3[7:0]
0x1C5 DACPLLT18
0x201
PFIR_COEFF1[8]
PFIR_COEFF2[7:0]
0x1BB DACPLLTB
MASTER_PD
PFIR_COEFF0[8]
RESERVED
0x1B5 DACPLLT5
RW
FALL_RATE_H
PFIR_COEFF2_L
BYP_LOAD_
DELAY
Reset
PFIR_COEFF0[7:0]
0x17E
0x200
Bit 0
PFIR_COEFF1[7:0]
0x17D PFIR_COEFF1_H
0x1B6 DACPLLT6
Bit 1
RESERVED
0x17C PFIR_COEFF1_L
0x1B4 DACPLLT4
Bit 2
0x300
GENERAL_JRX_
CTRL_0
RESERVED
0x301
GENERAL_JRX_
CTRL_1
0x302
DYN_LINK_
LATENCY_0
RESERVED
DYN_LINK_LATENCY_0
0x00
R/W
0x304
LMFC_DELAY_0
RESERVED
LMFC_DELAY_0
0x00
R/W
RESERVED
SUBCLASSV_LOCAL
Rev. 0 | Page 77 of 104
AD9152
Data Sheet
Reg.
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
0x306
LMFC_VAR_0
0x308
XBAR_LN_0_1
RESERVED
LOGICAL_LANE1_SRC
LOGICAL_LANE0_SRC
0x08
R/W
0x309
XBAR_LN_2_3
RESERVED
LOGICAL_LANE3_SRC
LOGICAL_LANE2_SRC
0x1A
R/W
0x00
R
RESERVED
Bit 1
Bit 0
LMFC_VAR_0
0x30C FIFO_STATUS_REG_0
RESERVED
LANE_FIFO_FULL
0x30D FIFO_STATUS_REG_1
RESERVED
0x311
SYNCB_GEN_0
RESERVED
0x312
SYNCB_GEN_1
SYNCB_ERR_DUR
0x313
SYNCB_GEN_3
0x314
SERDES_SPI_REG
0x315
PHY_PRBS_TEST_EN
0x316
PHY_PRBS_TEST_
CTRL
0x317
PHY_PRBS_TEST_
THRESHOLD_
LOBITS
0x318
0x319
LANE_FIFO_EMPTY
Reset
RW
0x06
R/W
0x00
R
0x00
R/W
0x00
R/W
0x00
R
0x00
R/W
0x00
R/W
PHY_TEST_START PHY_TEST_RESET 0x00
R/W
PHY_PRBS_THRESHOLD[7:0]
0x00
R/W
PHY_PRBS_TEST_
THRESHOLD_
MIDBITS
PHY_PRBS_THRESHOLD[15:8]
0x00
R/W
PHY_PRBS_TEST_
THRESHOLD_HIBITS
PHY_PRBS_THRESHOLD[23:16]
0x00
R/W
0x31A PHY_PRBS_TEST_
ERRCNT_LOBITS
PHY_PRBS_ERR_CNT[7:0]
0x00
R
0x31B PHY_PRBS_TEST_
ERRCNT_MIDBITS
PHY_PRBS_ERR_CNT[15:8]
0x00
R
0x31C PHY_PRBS_TEST_
ERRCNT_HIBITS
PHY_PRBS_ERR_CNT[23:16]
0x00
R
0x0F
R
0x00
R/W
RESERVED
EOMF_MASK_0
RESERVED
EOF_MASK_0
SYNCB_SYNCREQ_DUR
LMFC_PERIOD
SERDES_SPI_CONFIG
RESERVED
RESERVED
PHY_TEST_EN
PHY_SRC_ERR_CNT
0x31D PHY_PRBS_TEST_
STATUS
PHY_PRBS_PAT_SEL
RESERVED
0x32C SHORT_TPL_TEST_0
RESERVED
PHY_PRBS_PASS
SHORT_TPL_SP_SEL
SHORT_TPL_DAC_SEL
SHORT_TPL_
TEST_RESET
SHORT_TPL_
TEST_EN
0x32D SHORT_TPL_TEST_1
SHORT_TPL_REF_SP_LSB
0x00
R/W
0x32E
SHORT_TPL_TEST_2
SHORT_TPL_REF_SP_MSB
0x00
R/W
0x32F
SHORT_TPL_TEST_3
0x00
R
0x334
JESD_BIT_INVERSE_
CTRL
0x00
R/W
0x400
DID_REG
0x00
R
0x401
BID_REG
0x00
R
0x402
LID0_REG
RESERVED
0x403
SCR_L_REG
SCR_RD
0x404
F_REG
0x405
K_REG
0x406
M_REG
0x407
CS_N_REG
0x408
NP_REG
0x409
S_REG
0x40A HD_CF_REG
RESERVED
SHORT_TPL_FAIL
RESERVED
JESD_BIT_INVERSE
DID_RD
ADJCNT_RD
ADJDIR_RD
BID_RD
PHADJ_RD
RESERVED
LID0_RD
0x00
R
L-1_RD
0x00
R
0x00
R
K-1_RD
0x00
R
0x00
R
0x00
R
F-1_RD
RESERVED
M-1_RD
CS_RD
HD_RD
RESERVED
N-1_RD
SUBCLASSV_RD
NP-1_RD
0x00
R
JESDV_RD
S-1_RD
0x00
R
RESERVED
0x40B RES1_REG
0x40C RES2_REG
0x00
R
RES1_RD
CF_RD
0x00
R
RES2_RD
0x00
R
0x40D CHECKSUM_REG
FCHK0_RD
0x00
R
0x40E
COMPSUM0_REG
FCMP0_RD
0x00
R
0x412
LID1_REG
0x00
R
0x415
CHECKSUM1_REG
0x00
R
0x416
COMPSUM1_REG
0x41A LID2_REG
0x41D CHECKSUM2_REG
RESERVED
LID1_RD
FCHK1_RD
FCMP1_RD
RESERVED
LID2_RD
FCHK2_RD
Rev. 0 | Page 78 of 104
0x00
R
0x00
R
0x00
R
Data Sheet
AD9152
Reg.
Name
0x41E
COMPSUM2_REG
0x422
LID3_REG
0x425
CHECKSUM3_REG
0x426
COMPSUM3_REG
0x450
ILS_DID
0x451
ILS_BID
0x452
ILS_LID0
RESERVED
ADJDIR
0x453
ILS_SCR_L
SCR
RESERVED
0x454
ILS_F
0x455
ILS_K
0x456
ILS_M
0x457
ILS_CS_N
0x458
ILS_NP
0x459
ILS_S
0x45A ILS_HD_CF
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
FCMP2_RD
Reset
RW
0x00
R
0x00
R
FCHK3_RD
0x00
R
FCMP3_RD
0x00
R
0x00
R/W
RESERVED
LID3_RD
DID
ADJCNT
BID
0x00
R/W
LID0
0x00
R/W
L-1
0x83
R/W
0x00
R/W
0x1F
R/W
0x01
R/W
N-1
0x0F
R/W
SUBCLASSV
NP-1
0x2F
R/W
JESDV
S-1
0x20
R/W
CF
0x80
R/W
PHADJ
F-1
RESERVED
K-1
M-1
CS
RESERVED
HD
RESERVED
0x45B ILS_RES1
RES1
0x00
R/W
0x45C ILS_RES2
RES2
0x00
R/W
0x45D ILS_CHECKSUM
0x46B ERRCNTRMON_RB
0x46B ERRCNTRMON
RESERVED
FCHK0
0x45
R/W
READERRORCNTR
0x00
R
LANESEL
RESERVED
0x46C LANEDESKEW
0x00
W
0x0F
R/W
0x00
R
0x00
W
0x00
R
0x00
W
0x00
R
0x00
W
CODEGRPSYNC
0x00
R/W
FRAMESYNC
0x00
R/W
0x46D BADDISPARITY_RB
0x46D BADDISPARITY
CNTRSEL
LANEDESKEW
BADDIS
RST_IRQ_
DIS
DISABLE_ERR_ RST_ERR_CNTR_
CNTR_DIS
DIS
RESERVED
RST_IRQ_
NIT
DISABLE_ERR_ RST_ERR_CNTR_
CNTR_NIT
NIT
RESERVED
LANE_ADDR_DIS
0x46E
NIT_RB
0x46E
NIT_W
NIT
0x46F
UNEXPECTED_
CONTROL_RB
0x46F
UNEXPECTED_
CONTROL_W
0x470
CODEGRPSYNCFLG
0x471
FRAMESYNCFLG
0x472
GOODCHKSUMFLG
GOODCHECKSUM
0x00
R/W
0x473
INITLANESYNCFLG
INITIALLANESYNC
0x00
R/W
0x476
CTRLREG1
F
0x01
R/W
0x477
CTRLREG2
0x00
R/W
0x478
KVAL
LANE_ADDR_NIT
UCC
RST_IRQ_
UCC
DISABLE_ERR_ RST_ERR_CNTR_
CNTR_UCC
UCC
ILAS_MODE
RESERVED
RESERVED
THRESHOLD_
MASK_EN
LANE_ADDR_UCC
RESERVED
0x01
R/W
0x47A IRQVECTOR_FLAG
BADDIS_
FLAG
NIT_FLAG
UCC_FLAG
RESERVED
KSYNC
INITIALLANESYNC_FLAG
BADCHECKSUM_ FRAMESYNC_
FLAG
FLAG
CODEGRPSYNC_
FLAG
0x00
R
0x47A IRQVECTOR_MASK
BADDIS_
MASK
NIT_MASK
UCC_MASK
RESERVED
INITIALLANESYNC_MASK
BADCHECKSUM_ FRAMESYNC_
MASK
MASK
CODEGRPSYNC_
MASK
0x00
W
0x47B SYNCASSERTIONMASK
BADDIS_S
NIT_S
UCC_S
CMM
CMM_ENABLE
0x08
R/W
0xFF
R/W
0x0F
R/W
0x00
R/W
0x47C ERRORTHRES
0x47D LANEENABLE
0x47E
RAMP_ENA
RESERVED
ETH
RESERVED
LANE_ENA
RESERVED
Rev. 0 | Page 79 of 104
ENA_RAMP_
CHECK
AD9152
Data Sheet
DEVICE CONFIGURATION REGISTER DESCRIPTIONS
Table 85. Device Configuration Register Descriptions
Addr.
0x000
Name
SPI_INTFCONFA
Bits
7
6
5
4
3
2
Bit Name
SOFTRESET_M
LSBFIRST_M
ADDRINC_M
SDOACTIVE_M
SDOACTIVE
ADDRINC
1
LSBFIRST
0
SOFTRESET
0x003
CHIPTYPE
[7:0] CHIPTYPE
0x004
0x005
0x006
PRODIDL
PRODIDH
CHIPGRADE
0x011
PWRCNTRL0
[7:0]
[7:0]
[7:5]
[4:0]
7
PRODIDL
PRODIDH
RESERVED
DEV_REVISION
PD_BG
6
PD_DAC_I
5
PD_DAC_Q
4
3
2
1
0
7
6
PD_DIGCLK
PD_ICLK
PD_QCLK
PD_PCLK
PD_CLKRCVR
RESERVED
DACA_MASK
5
4
RESERVED
CLKA_MASK
[3:0]
7
6
5
4
3
RESERVED
RESERVED
PDP_PROTECT_OUT
TX_PROTECT_OUT
BSM_PROTECT_OUT
SPI_PROTECT_OUT_
EN
SPI_PROTECT_OUT_
CTRL
0x012
0x013
TXENMASK
PWRCNTRL3
2
Settings Description
Soft reset (mirror).
LSB first (mirror).
Address increment (mirror).
SDO active (mirror).
SDO active.
Address increment. When set, causes
incrementing streaming addresses; otherwise
descending addresses are generated.
1 During streaming bytes mode (multibyte), the
addresses are incremented.
0 During streaming bytes mode (multibyte), the
addresses are decremented.
LSB first. When set, causes input and output data
to be oriented as LSB first. If this bit is clear, data is
oriented as MSB first.
1 Shift LSB in first.
0 Shift MSB in first.
Soft reset. Setting this bit initiates a reset. This bit
is auto-clearing after the soft reset is complete.
1 Assert soft reset.
The product type is high speed DAC, which is
represented by a code of 0x04.
Product ID low.
Product ID high.
Reserved.
Device revision.
Reference power-down. Powers down the band
gap reference for the entire chip. Circuits are not
provided with bias currents.
0 Reference on.
1 Reference powered down (overrides TXEN
masked bit).
Power down DAC bias for I DAC.
1 Power down I DAC.
Power down DAC bias for Q DAC.
1 Power down Q DAC.
Power down digital clock.
Power down DAC clock For I DAC.
Power down DAC clock For Q DAC.
Power down PCLK.
Power down clock receiver.
Reserved.
DAC power-down mask for TXEN.
1 If TXEN is low, DAC I and DAC Q are powered
down.
Reserved.
DAC clock power-down mask from TXEN.
1 If TXEN is low digital clocks are powered down.
Reserved.
Reserved.
1 PDP_PROTECT triggers PROTECT_OUT.
1 TX_PROTECT triggers PROTECT_OUT.
1 BSM_PROTEXT triggers PROTECT_OUT.
1 SPI_PROTECT triggers PROTECT_OUT.
1 PROTECT_OUT is low.
Rev. 0 | Page 80 of 104
Reset
0x0
0x0
0x0
0x0
0x0
0x0
Access
R
R
R
R
R/W
R/W
0x0
R/W
0x0
R/W
0x4
R
0x52
0x91
0x0
0x7
0x0
R
R
R
R
R/W
0x1
R/W
0x1
R/W
0x0
0x1
0x1
0x0
0x0
0x0
0x0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0x0
0x0
R/W
R/W
0x0
0x0
0x0
0x1
0x0
0x0
R/W
R/W
R/W
R/W
R/W
R/W
0x0
R/W
Data Sheet
Addr.
Name
0x014
PWRCNTRL1
0x01F
0x020
IRQ_ENABLE0
IRQ_ENABLE1
AD9152
Bits
1
0
[7:6]
5
Bit Name
SPI_TXEN_EN
SPI_TXEN_CTRL
RESERVED
POWER_DN_I
4
POWER_DN_Q
[3:2]
1
RESERVED
POWER_UP_I
0
POWER_UP_Q
7
IRQEN_DACPLLLOST
6
IRQEN_DACPLLLOCK
5
4
RESERVED
IRQEN_SERPLLLOST
3
IRQEN_SERPLLLOCK
2
1
RESERVED
IRQEN_LANEFIFOERR
0
IRQEN_DRDLFIFOERR
7
IRQEN_PARMBAD
6
IRQEN_LANEFIFO
5
IRQEN_DLYBUF
4
IRQEN_DATAREADY
3
IRQEN_OVERFLOW
Settings Description
1 TXEN is controlled by SPI.
1 TXEN SPI is high.
Reserved.
I DAC power-down status.
1 DAC is fully powered down.
Q DAC power-down status.
1 DAC is fully powered down.
Reserved.
I DAC power-up status.
1 DAC is fully powered up.
Q DAC power-up status.
1 DAC is fully powered up.
Enable the IRQ of DAC PLL lost detection.
1 If IRQEN_DACPLLLOST goes high, it latches and pulls
IRQ low.
0 IRQEN_DACPLLLOST shows current status.
Enable the IRQ of DAC PLL lock detection.
1 If IRQEN_DACPLLLOCK goes high, it latches and pulls
IRQ low.
0 IRQEN_DACPLLLOCK shows current status.
Reserved.
Enable the IRQ of SERDES PLL lost detection.
1 If IRQEN_SERPLLLOST goes high, it latches and pulls
IRQ low.
0 IRQEN_SERPLLLOST shows current status.
Enable the IRQ of SERDES PLL lock detection.
1 If IRQEN_SERPLLLOCK goes high, it latches and pulls
IRQ low.
0 IRQEN_SERPLLLOCK shows current status.
Reserved.
Enable the IRQ of lane FIFO error detection.
1 If IRQEN_LANEFIFOERR goes high, it latches and pulls
IRQ low.
0 IRQEN_LANEFIFOERR shows current status.
Enable the IRQ of DRDL FIFO error detection.
1 If IRQEN_DRDLFIFOERR goes high, it latches and
pulls IRQ low.
0 IRQEN_DRDLFIFOERR shows current status.
Enable the interrupt of bad parameter.
1 If IRQEN_PARMBAD goes high, it latches and pulls
IRQ low.
0 IRQEN_PARMBAD shows current status.
Enable the interrupt of lane FIFO empty/full.
1 If IRQEN_LANEFIFO goes high, it latches and pulls
IRQ low.
0 IRQEN_LANEFIFO shows current status.
Enable the interrupt of delay buffer empty/full.
1 If IRQEN_DLYBUF goes high, it latches and pulls
IRQ low.
0 IRQEN_DLYBUF shows current status.
Enable the interrupt of data ready.
1 If IRQEN_DATAREADY goes high, it latches and pulls
IRQ low.
0 IRQEN_DATAREADY shows current status.
Enable the interrupt of data path modules
overflow.
1 If IRQEN_OVERFLOW goes high, it latches and
pulls IRQ low.
0 IRQEN_OVERFLOW shows current status.
Rev. 0 | Page 81 of 104
Reset
0x0
0x0
0x0
0x0
Access
R/W
R/W
R
R
0x0
R
0x0
0x0
R
R
0x0
R
0x0
R/W
0x0
R/W
0x0
0x0
R/W
R/W
0x0
R/W
0x0
0x0
R/W
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
AD9152
Addr.
0x021
Name
IRQ_ENABLE2
Data Sheet
Bits
2
1
Bit Name
RESERVED
IRQEN_PRBSQ
0
IRQEN_PRBSI
7
IRQEN_PDPERR
[6:5] RESERVED
4
IRQEN_NCOALIGN
0x023
IRQ_STATUS0
3
IRQEN_SYNCLOCK
2
IRQEN_SYNCROTATE
1
IRQEN_SYNCWLIM
0
IRQEN_SYNCTRIP
7
DACPLLLOST
6
DACPLLLOCK
5
4
RESERVED
SERPLLLOST
3
SERPLLLOCK
2
RESERVED
Settings Description
Reserved.
Enable the interrupt of Q DAC PRBS.
1 If IRQEN_PRBSQ goes high, it latches and
pulls IRQ low.
0 IRQEN_PRBSQ shows current status.
Enable the interrupt of Q DAC PRBS.
1 If IRQEN_ PRBSI goes high, it latches and pulls IRQ
low.
0 IRQEN_PRBSI shows current status.
Enable the interrupt of PDP error.
1 If IRQEN_PDPERR goes high, it latches and
pulls IRQ low.
0 IRQEN_PDPERR shows current status.
Reserved.
Enable the interrupt of NCO alignment.
1 If IRQEN_NCOALIGN goes high, it latches and
pulls IRQ low.
0 IRQEN_NCOALIGN shows current status.
Enable the interrupt of link alignment lock.
1 If IRQEN_SYNCLOCK goes high, it latches and
pulls IRQ low.
0 IRQEN_SYNCLOCK shows current status.
Enable the interrupt of link alignment rotate.
1 If IRQEN_SYNCROTATE goes high, it latches and
pulls IRQ low.
0 IRQEN_SYNCROTATE shows current status.
Enable the interrupt of link alignment outside
limit window.
1 If IRQEN_SYNCWLIM goes high, it latches and
pulls IRQ low.
0 IRQEN_SYNCWLIM shows current status.
Enable the interrupt of link alignment tripped.
1 If SYNCTRIP goes high, it latches and pulls IRQ
low.
0 SYNCTRIP shows current status.
DAC PLL lost status. If IRQEN _DACPLLLOST is low,
this bit shows current status. If not, this bit latches
on a rising edge and pulls IRQ low. When latched,
write a 1 to clear this bit.
1 DAC PLL lock was lost.
DAC PLL lock status. If IRQEN _DACPLLLOCK is
low, this bit shows current status. If not, this bit
latches on a rising edge and pulls IRQ low. When
latched, write a 1 to clear this bit.
1 DAC PLL locked.
Reserved.
SERDES PLL lost status. If IRQEN _SERPLLLOST is
low, this bit shows current status. If not, this bit
latches on a rising edge and pulls IRQ low. When
latched, write a 1 to clear this bit.
1 SERDES PLL lock was lost.
SERDES PLL lock status. If IRQEN _SERPLLLOCK is
low, this bit shows current status. If not, this bit
latches on a rising edge and pulls IRQ low. When
latched, write a 1 to clear this bit.
1 SERDES PLL locked.
Reserved.
Rev. 0 | Page 82 of 104
Reset Access
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
0x0
R
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
0x0
R
R/W
0x0
R/W
0x0
R
Data Sheet
Addr.
0x024
0x025
Name
IRQ_STATUS1
IRQ_STATUS2
AD9152
Bits
1
Bit Name
LANEFIFOERR
0
DRDLFIFOERR
7
PARMBAD
6
LANEFIFO
5
DLYBUF
4
DATAREADY
3
2
1
OVERFLOW
RESERVED
PRBSQ
0
PRBSI
7
PAERR
[6:5] RESERVED
4
NCOALIGN
3
SYNCLOCK
Settings Description
Lane FIFO error status. If IRQEN_LANEFIFOERR is
low, this bit shows current status. If not, this bit
latches on a rising edge and pulls IRQ low.
A lane FIFO error occurs when there is a full or
empty condition on any of the FIFOs between the
deserializer block and the digital core. This error
requires a link disable and reenable to remove it.
The status of the lane FIFOs can be found in
Register 0x30C (FIFO full), and Register 0x30D
(FIFO empty).
1 Lane FIFO error.
DRDL FIFO status. If IRQEN_DRDLFIFOERR is low,
this bit shows current status. If not, this bit latches
on a rising edge and pulls IRQ low. When latched,
write a 1 to clear this bit.
1 DRDL FIFO error.
BAD parameter status. If IRQEN_PARMBAD is low,
this bit shows current status. If not, this bit latches
on a rising edge and pulls IRQ low. When latched,
write a 1 to clear this bit.
1 Bad parameter.
Lane FIFO empty/full Status. If IRQEN_LANEFIFO is
low, this bit shows current status. If not, this bit
latches on a rising edge and pulls IRQ low. When
latched, write a 1 to clear this bit.
1 Lane FIFO empty/full.
Delay buffer empty/full Status. If IRQEN_DLYBUF
is low, this bit shows current status. If not, this bit
latches on a rising edge and pulls IRQ low. When
latched, write a 1 to clear this bit.
1 Delay buffer empty/full.
Data ready status. If IRQEN_DATAREADY is low,
this bit shows current status. If not, this bit latches
on a rising edge and pulls IRQ low. When latched,
write a 1 to clear this bit.
1 Data ready.
Data path over flow interrupt.
Reserved.
DACQ PRBS error status. If IRQEN_PRBSQ is low,
this bit shows current status. If not, this bit latches
on a rising edge and pulls IRQ low. When latched,
write a 1 to clear this bit.
1 DACQ failed PRBS.
DACI PRBS error status. If IRQEN_PRBSI is low, this
bit shows current status. If not, this bit latches on
a rising edge and pulls IRQ low. When latched,
write a 1 to clear this bit.
1 DACI failed PRBS.
PDP error. If IRQEN_ PAERR is low, this bit shows
current status. If not, this bit latches on a rising
edge and pulls IRQ low. When latched, write a 1 to
clear this bit.
1 Data into datapath over power threshold.
Reserved.
NCO align tripped status. If IRQEN_ NCOALIGN is
low, this bit shows current status. If not, this bit
latches on a rising edge and pulls IRQ low. When
latched, write a 1 to clear this bit.
1 NCO alignment tripped.
LMFC alignment locked status. If IRQEN_SYNCLOCK
is low, this bit shows current status. If not, this bit
latches on a rising edge and pulls IRQ low. When
latched, write a 1 to clear this bit.
1 LMFC alignment locked
Rev. 0 | Page 83 of 104
Reset Access
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
0x0
0x0
R/W
R
R/W
0x0
R/W
0x0
R/W
0x0
0x0
R/W
R/W
0x0
R/W
AD9152
Addr.
Name
0x026
OVERFLOW_STATUS0
0x027
OVERFLOW_STATUS1
0x030
JESD_CHECKS
0x032
0x033
SYNC_DACDELAY_L
SYNC_DACDELAY_H
0x034
SYNC_ERRWINDOW
Data Sheet
Bits
2
Bit Name
SYNCROTATE
Settings Description
LMFC alignment rotate status. If IRQEN_SYNCROTATE
is low, this bit shows current status. If not, this bit
latches on a rising edge and pulls IRQ low. When
latched, write a 1 to clear this bit.
1 LMFC alignment rotated.
Outside window status. If IRQEN_SMODE_
1
SYNCWLIM
SYNC_WLIM0 is low, this bit shows current status.
If not, this bit latches on a rising edge and
pulls IRQ low. When latched, write a 1 to clear this
bit.
1 LMFC alignment phase outside of limit window.
LMFC alignment tripped status. If IRQEN_SYNCTRIP
0
SYNCTRIP
is low, this bit shows current status. If not, this bit
latches on a rising edge and pulls IRQ low. When
latched, write a 1 to clear this bit.
1 LMFC alignment tripped.
7
PFIR_OVERFLOW
The overflow status of PFIR filter.
6
INT1_OVERFLOW
The overflow status of INT1 filter.
5
INT2_OVERFLOW
The overflow status of INT2 filter.
4
INT3_OVERFLOW
The overflow status of INT3 filter.
3
COARSE_MOD_BY8_OVERFLOW
The overflow status of fS/8 coarse modulation.
2
FINE_MOD_OVERFLOW
The overflow status of fine modulation.
1
PHASE_ADJ_OVERFLOW
The overflow status of phase adjustment.
0
GAIN_ADJ_OVERFLOW
The overflow status of gain adjustment.
[7:1] RESERVED
Reserved.
0
DC_OFFSET_OVERFLOW
The overflow status of DC offset.
[7:6] RESERVED
Reserved.
5
ERR_DLYOVER
Error: LMFC_DELAY > JESD_K parameter.
1 LMFC_DELAY > JESD_K.
4
ERR_WINLIMIT
Unsupported window limit.
1 Unsupported SYSREF window limit.
3
ERR_JESDBAD
Unsupported M/L/S/F selection.
1 This JESD combination is not supported.
2
ERR_KUNSUPP
Unsupported K values. 16 and 32 are supported.
1 K value unsupported.
Unsupported subclass value. 0 and 1 are
1
ERR_SUBCLASS
supported.
1 Unsupported subclass value.
Unsupported interpolation rate factor. 1, 2, 4, 8
0
ERR_INTSUPP
are supported.
1 Unsupported interpolation rate factor.
[7:0] DAC_DELAY_L
Sync DAC delay.
[7:1] RESERVED
Reserved.
0
DAC_DELAY_H
DAC delay, Bit 8.
[7:3] RESERVED
Reserved.
LMFC sync error window. The error window allows
[2:0] ERRWINDOW
the SYSREF± sample phase to vary within the confines
of the window without triggering a clock
adjustment. This is useful if SYSREF± cannot be
guaranteed to always arrive in the same period of
the device clock associated with the target phase.
Error window tolerance = ± ERRWINDOW in
DACCLKs.
000 Error window tolerance ± 0.
001 Error window tolerance ± 1.
010 Error window tolerance ± 2.
011 Error window tolerance ± 3.
100 Error window tolerance ± 4.
101 Error window tolerance ± 5.
110 Error window tolerance ± 6.
111 Error window tolerance ± 7.
Rev. 0 | Page 84 of 104
Reset Access
0x0
R/W
0x0
R/W
0x0
R/W
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
R
R
R
R
R
R
R
R
R
R
R
R
0x0
R
0x0
R
0x0
R
0x0
R
0x0
R
0x0
0x0
0x0
0x0
0x0
R/W
R
R/W
R
R/W
Data Sheet
AD9152
Addr.
0x035
Name
SYNC_DLYCOUNT
Bits Bit Name
[7:0] DLYCOUNT
0x036
SYNC_REFCOUNT
[7:0] REFCOUNT
0x038
0x039
SYNC_LASTERR_L
SYNC_LASTERR_H
[7:0] LASTERROR_L
7
LASTUNDER
6
0x03A
SYNC_CONTROL
LASTOVER
[5:1] RESERVED
0
LASTERROR_H
7
SYNCENABLE
6
SYNCARM
5
SYNCCLRSTKY
4
SYNCCLRLAST
[3:0] SYNCMODE
0x03B
SYNC_STATUS
7
SYNCBUSY
[6:4] RESERVED
3
SYNCLOCK
0x03C
SYNC_CURRERR_L
0x03D SYNC_CURRERR_H
0x03E
ERROR_THERM
2
SYNCROTATE
1
SYNCWLIM
0
SYNCTRIP
[7:0] CURRERROR_L
7
CURRUNDER
6
CURROVER
[5:1] RESERVED
0
CURRERROR_H
7
THRMOLD
[6:5] RESERVED
4
THRMOVER
Settings Description
Pulse mode delay. Specifies minimum number of
LMFC counts before a SYSREF± sync cycle is
considered active.
Pulse mode reference count. Specifies count of
SYSREF± pulses to cause a rotate.
Sync last error, Bits[7:0].
LMFC sync last error under flag.
1 Last phase error was beyond lower window
tolerance boundary.
LMFC sync last error over flag.
1 Last phase error was beyond upper window
tolerance boundary.
Reserved.
Sync last error, Bit 8 and flags.
Sync logic enable.
1 Enable sync logic.
0 Disable sync logic.
Sync arm strobe.
1 Sync one shot armed.
LMFC sync sticky bit clear. On a rising edge, this
bit clears SYNC_ROTATE and SYNC_TRIP.
LMFC sync clear last error. On a rising edge, this
bit clears LASTERROR, LASTUNDER, and
LASTOVER.
LMFC sync mode.
0b0001 Sync one shot mode.
0b0010 Sync continuous mode.
0b1000 Sync monitor only mode.
0b1001 Sync one shot, then monitor.
Sync machine busy.
1 Sync logic SM is busy.
Reserved.
Sync alignment locked.
1 Sync logic aligned within window.
Sync rotated.
1 Sync logic rotated with SYSREF± (sticky).
Sync alignment limit Range.
1 Phase error outside window threshold.
Sync tripped after arming.
1 Sync received SYSREF± pulse (sticky).
LMFC sync alignment error. 9-bit twos complement
value that represents the phase error in number of
DAC clock cycles (that is, number of DAC clocks
between LMFC edge and SYSREF± edge).
When an adjustment of the clocks is made on any
given SYSREF±, the value of the phase error is
placed into SYNC_ LASTERR, and SYNC_CURRERR
is forced to 0.
LMFC sync current error under flag.
1 Current phase error is beyond lower window
tolerance boundary.
LMFC sync current error over flag.
1 Current phase error is beyond upper window
tolerance boundary.
Reserved.
SYNC_CURRERR, Bit 8.
Error is from a prior sample.
1 From an old sample.
Reserved.
Error > +WinLimit.
1 Error > +WinLimit.
Rev. 0 | Page 85 of 104
Reset Access
0x0
R/W
0x0
R/W
0x0
0x0
R
R
0x0
R
0x0
0x0
0x0
R
R
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R
0x0
0x0
R
R
0x0
R
0x0
R
0x0
R
0x0
R
0x0
R
0x0
R
0x0
0x0
0x0
R
R
R
0x0
0x0
R
R
AD9152
Addr.
Name
Data Sheet
Bits
3
Bit Name
THRMPOS
2
THRMZERO
1
THRMNEG
0
THRMUNDER
0x040
DAC_GAIN1_I
[7:2] RESERVED
[1:0] DACFSC_I[9:8]
0x041
0x042
DAC_GAIN0_I
DAC_GAIN1_Q
[7:0] DACFSC_I[7:0]
[7:2] RESERVED
[1:0] DACFSC_Q[9:8]
0x043
0x047
DAC_GAIN0_Q
COARSE_GROUP_DLY
[7:0] DACFSC_Q[7:0]
[7:4] COARSE_GROUP_DLY_I
[3:1] COARSE_GROUP_DLY_Q
0x050
NCOALIGN_MODE
7
NCO_ALIGN_ARM
6
5
RESERVED
NCO_ALIGN_MTCH
4
NCO_ALIGN_PASS
3
NCO_ALIGN_FAIL
2
RESERVED
[1:0] NCO_ALIGN_MODE
0x051
0x052
0x053
0x054
0x060
NCOKEY_ILSB
NCOKEY_IMSB
NCOKEY_QLSB
NCOKEY_QMSB
PDP_THRES0
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
NCOKEYI[7:0]
NCOKEYI[15:8]
NCOKEYQ[7:0]
NCOKEYQ[15:8]
PDP_THRESHOLD[7:0]
0x061
PDP_THRES1
0x062
PDP_AVG_TIME
[7:5]
[4:0]
7
[6:4]
[3:0]
RESERVED
PDP_THRESHOLD[12:8]
PDP_ENABLE
RESERVED
PDP_AVG_TIME
Settings Description
Error > 0.
1 Error > 0.
Error = 0.
1 Error = 0.
Error < 0.
1 Error < 0.
Error < −WinLimit.
1 Error < −WinLimit.
Reserved.
2 MSBs of I DAC gain.
1111111111 = 20 mA.
0000000000 = 4 mA.
8 LSBs of I DAC gain.
Reserved.
2 MSBs of Q DAC gain.
1111111111 = 20 mA.
0000000000 = 4 mA.
8 LSBs of Q DAC Gain.
Coarse Group Delay. 0 = minimum delay, 15 =
maximum delay.
The range of the delay is −4 DAC clock periods to
+3 DAC clock periods and the resolution is 1/2
DAC clock period.
Coarse Group Delay. 0 = minimum delay, 15 =
maximum delay.
The range of the delay is −4 DAC clock periods to
+3 DAC clock periods and the resolution is 1/2
DAC clock period.
Arm NCO align. On a rising edge, arms the NCO
align operation.
Reserved.
NCO align data match.
1 Key NCO align data match.
0 If finished, NCO not aligned on data match.
NCO align pass.
1 NCO align takes effect.
0 Clear not taken effect yet.
NCO align fail.
1 NCO reset during rotate.
0 Not finished yet.
Reserved.
NCO align mode.
00 NCO align disabled.
10 NCO align on data key.
01 NCO align on SYSREF±.
NCO data key LSB for I.
NCO data key MSB for I.
NCO data key LSB for Q.
NCO data key MSB for Q.
PDP_THRESHOLD is the average power threshold
for comparison. If the moving average of signal
power crosses this threshold, PDP_PROTECT is set
high.
Reserved.
See Register 0x060.
1 Enable average power calculation.
Reserved.
Can be set from 0 to 10. Averages across 2(9 +
PDP_AVG_TIME) IQ sample pairs.
Rev. 0 | Page 86 of 104
Reset Access
0x0
R
0x0
R
0x0
R
0x0
R
0x0
0x3
R/W
R/W
0xFF
0x0
0x3
R/W
R/W
R/W
0xFF
0x0
R/W
R/W
0x0
0x0
R/W
0x0
0x0
R
R
0x0
R
0x0
R
0x0
0x0
R
R/W
0x0
0x0
0x0
0x0
0x0
R/W
R/W
R/W
R/W
R/W
0x0
0x0
0x0
0x0
0x0
R
R/W
R/W
R
R/W
Data Sheet
AD9152
Addr.
0x063
Name
PDP_POWER0
Bits Bit Name
[7:0] PDP_POWER[7:0]
0x064
PDP_POWER1
0x065
PA_OFFGAIN0
[7:5] RESERVED
[4:0] PDP_POWER[12:8]
7
EN_UKCIRQOFFGAIN
[6:2] RESERVED
1
EN_DELAYBUFFEROFF-GAIN
0x066
PA_OFFGAIN1
0x080
CLKCFG0
0x081
SYSREF_ACTRL0
0
7
EN_LANEFIFOOFFGAIN
EN_CMMIRQOFFGAIN
6
5
EN_CGSIRQGAIN
EN_FSIRQOFFGAIN
4
3
EN_GCSIRQOFFGAIN
EN_ILSIRQOFFGAIN
2
1
EN_ILDIRQOFFGAIN
EN_DISIRQOFFGAIN
0
EN_NITIRQOFFGAIN
[7:3]
2
[1:0]
[7:5]
4
RESERVED
DUTY_EN
RESERVED
RESERVED
PD_SYSREF
3
HYS_ON
2
SYSREF_RISE
[1:0] HYS_CNTRL1
0x082
0x083
SYSREF_ACTRL1
DACPLLCNTRL
[7:0] HYS_CNTRL0
7
RECAL_DACPLL
[6:5] RESERVED
4
ENABLE_DACPLL
0x084
DACPLLSTATUS
[3:0] RESERVED
7
CP_OVERRANGE_H
6
CP_OVERRANGE_L
Settings Description
If PDP_POWER has not gone over
PDP_THRESHOLD, PDP_POWER reads back the
moving average of the signal power (I2 + Q2). Only
6 data MSBs are used in calculating power.
Reserved.
See Register 0x063.
Enable off gain function when unexpected Kcharacters error counter reaches the threshold.
Reserved.
Enable off gain function when delay buffer has
error.
Enable off gain when lane FIFO has error.
Enable off gain function when ILAS configuration
on Lane 0 is mismatched.
Enable off gain function when CGS failed.
Enable off gain function when frame
synchronization failed.
Enable off gain function when checksum failed.
Enable off gain function when initial lane
alignment failed.
Enable off gain function when lane deskew failed.
Enable off gain function when disparity error
count exceeds the threshold.
Enable off gain because NIT error count exceeded
the threshold.
Reserved.
Enable duty cycle control of clock receiver
Reserved.
Reserved.
Power-down SYSREF± buffer. This bit powers
down the SYSREF± receiver. For Subclass 1
operation to work, this buffer must be enabled.
Hysteresis enabled. This bit enables the
programmable hysteresis control for the SYSREF±
receiver. Using hysteresis gives some noise
resistance, but delays the SYSREF± edge an
amount depending on HYS_CNTRL and the
SYSREF± edge rate. The SYSREF± KOW is not
guaranteed when using hysteresis.
Select DAC clock edge to sample SYSREF±.
0 Use falling edge of DAC clock to sample SYSREF±
for alignment
1 Use rising edge of DAC clock to sample SYSREF±
for alignment
Hysteresis control, Bits[9:8]. HYS_CNTRL is a 10-bit
thermometer-coded number. Each bit set adds 10
mV of differential hysteresis to the SYSREF±
receiver.
Hysteresis control, Bits[7:0].
Recalibrate DAC PLL. On a rising edge of this bit,
recalibrate the DAC PLL.
Reserved.
Synthesizer enable. This bit enables and calibrates
the DAC PLL.
Reserved.
Charge pump high overrange. This bit indicates
that the DAC PLL hit the upper edge of its
operating band. Recalibrate.
1 Control voltage too high.
This bit indicates that the DAC PLL hit the lower
edge of its operating band. Recalibrate.
1 Control voltage too low.
Rev. 0 | Page 87 of 104
Reset Access
0x0
R
0x0
0x0
0x0
R
R
R/W
0x0
0x0
R/W
R/W
0x0
0x0
R/W
R/W
0x0
0x0
R/W
R/W
0x0
0x0
R/W
R/W
0x0
0x0
R/W
R/W
0x0
R/W
0x0
0x1
0x0
0x0
0x1
R/W
R/W
R/W
R/W
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
0x0
R/W
R/W
0x0
0x0
R/W
R/W
0x0
0x0
R/W
R
0x0
R
AD9152
Addr.
Name
0x085
DACINTEGERWORD0
0x087
DACLOOPFILT1
0x088
DACLOOPFILT2
0x089
DACLOOPFILT3
0x08A
DACCPCNTRL
0x08B
DACLOGENCNTRL
0x08C
DACLDOCNTRL1
Data Sheet
Bits
5
Bit Name
CP_CAL_VALID
4
VCO_CAL_PROGRESS
3
CURRENTS_READY
2
1
RESERVED
DAC_PLL_LOCK
0
RESERVED
[7:0] B_COUNT
[7:4]
[3:0]
[7:4]
[3:0]
7
LF_C2_WORD
LF_C1_WORD
LF_R1_WORD
LF_C3_WORD
LF_BYPASS_R3
6
LF_BYPASS_R1
5
LF_BYPASS_C2
4
LF_BYPASS_C1
[3:0]
[7:6]
[5:0]
[7:2]
[1:0]
LF_R3_WORD
RESERVED
CP_CURRENT
RESERVED
LO_DIV_MODE
[7:3] RESERVED
Settings Description
Charge pump calibration valid
0 If CP_CAL_EN is low, this stays low.
1 If CP_CAL_EN high (def), this happens when
charge pump is calibrated.
VCO calibration in progress.
0 VCO not calibrating.
1 VCO calibrating.
Indicating DAC PLL bias current status.
0 Bias not ready.
1 Bias ready.
Reserved.
DAC PLL lock bit. This bit is set high by the PLL when
it has achieved lock.
Reserved.
Integer division word. This bit controls the integer
feedback divider for the DAC PLL. Determine the
frequency of the DAC clock by the following
equations (see the Clock Multiplication
Relationships section for more details):
fDAC = fREF/(REF_DIVRATE) × 2 × B_COUNT
fVCO = fREF/(REF_DIVRATE) × 2 × B_COUNT ×
LO_DIV_MODE
Minimum value is 6.
C2 control word.
C1 control word.
R1 control word.
C3 control word.
Bypass R3 resistor. When this bit is set, bypass the R3
capacitor (set to 0 pF) when R3_WORD is set to 0.
Bypass R1 resistor. When this bit is set, bypass the R1
capacitor (set to 0 pF) when R1_WORD is set to 0.
Bypass C2 capacitor. When this bit is set, bypass
the C2 capacitor (set to 0 pF) when C2_WORD is
set to 0.
Bypass C1 capacitor. When this bit is set, bypass
the C1 capacitor (set to 0 pF) when C1_WORD is
set to 0.
R3 control word.
Reserved.
Charge pump current control.
Reserved.
This range controls the RF clock divider between
the VCO and DAC clock rates. The options are 4×,
8×, or 16× division. Choose the LO_DIV_MODE so
that 6 GHz < fVCO < 12 GHz (see the Clock
Multiplication Relationships section for more
details):
01 DAC clock = VCO/4
10 DAC clock = VCO/8
11 DAC clock = VCO/16
Reserved.
Rev. 0 | Page 88 of 104
Reset Access
0x0
R
0x0
R
0x0
R
0x0
0x0
R/W
R
0x0
0x6
R/W
R/W
0x8
0x8
0x8
0x8
0x0
R/W
R/W
R/W
R/W
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x8
0x0
0x20
0x0
0x0
R/W
R/W
R/W
R/W
R/W
0x0
R/W
Data Sheet
AD9152
Addr.
Name
Bits Bit Name
[2:0] REF_DIV_MODE
0x08E
CLK_DETECT
[7:5] RESERVED
4
PD_DAC_ONDIFF
0x0F7
DIG_TEST0
0x0F8
0x0F9
0x0FA
0x0FB
0x110
DC_TEST_VALUEI0
DC_TEST_VALUEI1
DC_TEST_VALUEQ0
DC_TEST_VALUEQ1
DATA_FORMAT
0x111
DATAPATH_CTRL
3
PD_DAC_ONDET
2
CLK_ON
1
IS_DIFF
0
CLK_DET_EN
[7:2]
1
0
[7:0]
[7:0]
[7:0]
[7:0]
7
RESERVED
DC_TEST_MOD
DIG_CLK_PD
DC_TEST_VALUEI[7:0]
DC_TEST_VALUEI [15:8]
DC_TEST_VALUEQ[7:0]
DC_TEST_VALUEQ[15:8]
BINARY_FORMAT
[6:0]
7
6
5
4
[3:2]
RESERVED
INVSINC_ENABLE
RESERVED
DIG_GAIN_ENABLE
PHASE_ADJ_ENABLE
MODULATION_TYPE
1
SEL_SIDEBAND
0
RESERVED
Settings Description
Reference clock division ratio. This field controls
the amount of division that is done to the input
clock at the REFCLK+/ REFCLK− pins before it is
presented to the PLL as a reference clock. The
reference clock frequency must be between 35
MHz and 80 MHz, but the REFCLK+/REFCLK−
input frequency can range from 35 MHz to 1 GHz.
The user sets this division to achieve a 35 MHz to
80 MHz PLL reference frequency. For more details
see the Clock Multiplication Relationships section.
001 2×.
010 4×.
011 8×.
100 16×.
Reserved.
Automatically power-down DACs if clock is not
differential.
0 Only report clock errors.
1 Automatically force DAC PD is clock if not
differential.
Automatically power-down DACs if clock is lost.
0 Only report clock errors.
1 Automatically force DAC PD if clock is lost.
Indicate if DACCLK is on.
0 The clock is not on.
1 The clock is on.
Indicate if the clock is differential.
0 The clock is not differential.
1 The clock is differential.
Enable Clock Detector.
0 Disable clock detect circuit.
1 Enable clock detect circuit.
Reserved.
DC test mode enable.
Power down top digital clock.
DC value LSB of dc test mode for I DAC.
DC value MSB of dc test mode for I DAC.
DC value LSB of dc test mode for Q DAC.
DC value MSB of dc test mode for Q DAC.
Binary or twos complementary format on the data
bus.
0 Input data is twos complement.
1 Input data is offset binary.
Reserved.
1 Enable inverse sinc filter.
Reserved.
1 Enable digital gain function.
1 Enable phase adjust compensation.
Selects type Of modulation operation.
00 No modulation.
01 NCO fine modulation (uses FTW).
10 fs/4 coarse modulation.
11 fs/8 coarse modulation.
Spectrum inversion control. Can be used with
both fine modulation and coarse modulation.
This causes the negative sideband to be selected
and is equivalent to changing the sign of FTW.
Reserved.
Rev. 0 | Page 89 of 104
Reset Access
0x0
R/W
0x0
0x0
R/W
R/W
0x0
R/W
0x0
R
0x0
R
0x0
R/W
0x7
0x0
0x0
0x0
0x0
0x0
0x0
0x0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0x0
0x0
0x0
0x1
0x0
0x0
R/W
R/W
R/W
R/W
R/W
R/W
0x0
R/W
0x0
R/W
AD9152
Addr.
0x112
Name
INTERP_MODE
Data Sheet
Bits
7
Bit Name
SINGLE_DAC_EN
[6:2] RESERVED
[1:0] INTERP_MODE
0x113
NCO_FTW_UPDATE
[7:2] RESERVED
1
FTW_UPDATE_ACK
0
FTW_UPDATE_REQ
FTW[7:0]
FTW[15:8]
FTW[23:16]
FTW[31:24]
FTW[39:32]
FTW[47:40]
NCO_PHASE_OFFSET[7:0]
0x114
0x115
0x116
0x117
0x118
0x119
0x11A
FTW0
FTW1
FTW2
FTW3
FTW4
FTW5
NCO_PHASE_OFFSET0
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
0x11B
NCO_PHASE_OFFSET1
0x11C
IQ_PHASE_ADJ0
[7:0] NCO_PHASE_
OFFSET[15:8]
[7:0] PHASE_ADJ[7:0]
0x11D IQ_PHASE_ADJ1
0x11F
TXEN_SM_0
[7:5] RESERVED
[4:0] PHASE_ADJ[12:8]
[7:6] FALL_COUNTERS
[5:4] RISE_COUNTERS
3
2
0x125
DACOUT_ON_DOWN
RESERVED
PROTECT_OUT_INVERT
1
RESERVED
0
TXEN_SM_EN
[7:2] RESERVED
1
DACOUT_SHUTDOWN
Settings Description
Enable single DAC mode. If this bit is high, only
Mode 9 and Mode 10 in Table 42 can be supported
and Q DAC powers down automatically.
Reserved.
Interpolation mode.
00 1× (bypass).
01 2× mode.
10 4× mode.
11 8× mode.
Reserved.
Frequency tuning word update acknowledge. This
readback is high when an FTW has been updated.
Frequency tuning word update request from SPI.
Unlike most registers, those relating to fine NCO
modulation (Register 0x114 to Register 0x11B) are
not updated immediately upon writing to them.
Once the desired FTW and phase offset values are
written, set this bit. These registers update on the
rising edge of this bit. It is only after this update
that the internal state matches Register 0x114 to
Register 0x11B. Confirmation that this update has
occurred can be made by reading back Bit 1 of
this register and ensuring it is set high for the
update acknowledge.
NCO frequency tuning word.
NCO frequency tuning word.
NCO frequency tuning word.
NCO frequency tuning word.
NCO frequency tuning word.
NCO frequency tuning word.
8 LSBs of NCO Phase Offset. NCO_PHASE_OFFSET
changes the phase of both I and Q data, and is
only functional when using NCO fine modulation.
It is a 16-bit, twos complement number ranging
from −180° to+180° in steps of 0.0055°.
8 MSBs of NCO phase offset.
8 LSBs of phase compensation word. Phase
compensation changes the phase between the I
and Q data. PHASE_ADJ is a 13-bit, twos
complement value. The control ranges from −14°
to +14° with 0.0035° resolution steps.
Reserved.
5 MSBs of phase compensation word.
Fall Counters. The number of counters to use to
delay TX_PROTECT fall from TXEN falling edge. Must
be set to 1 or 2.
Rise Counters. The number of counters to use to
delay TX_PROTECT rise from TXEN rising edge.
Reserved.
PROTECT_OUT invert.
0 PROTECT_OUT is low when error happens.
Suitable for enabling downstream components
during transmission.
1 PROTECT_OUT is high when error happens.
Suitable for disabling downstream components
when not transmitting.
Reserved.
Enable TXEN state machine.
Reserved.
Shut down DAC output. 1 means DAC is shut
down manually. 1 = shut down, 0 = enable DAC.
Rev. 0 | Page 90 of 104
Reset Access
0x0
R/W
0x0
0x1
R/W
R/W
0x0
0x0
R/W
R
0x0
R/W
0x0
0x0
0x0
0x0
0x0
0x10
0x0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x2
R/W
0x0
R/W
0x0
0x0
R/W
R/W
0x1
0x1
0x0
0x0
R/W
R/W
R/W
R/W
Data Sheet
AD9152
Addr.
Name
Bits
0
Bit Name
DACOUT_ON_TRIGGER
0x12C
DACOFF
7
PROTECT_MODE
[6:1] RESERVED
0
DACOFF_AVG_PW
0x12F
DIE_TEMP_CTRL0
7
RESERVED
[6:4] FS_CURRENT
[3:1]
0
[7:0]
[7:0]
[7:1]
0
RESERVED
TEMP_SENSOR_ENABLE
DIE_TEMP[7:0]
DIE_TEMP[15:8]
RESERVED
DIE_TEMP_UPDATE
0x132
0x133
0x134
DIE_TEMP0
DIE_TEMP1
DIE_TEMP_UPDATE
0x135
DC_OFFSET_CTRL
0x136
IPATH_DC_OFFSET_
1PART0
0x137
IPATH_DC_OFFSET_
1PART1
[7:0] LSB_OFFSET_I[15:8]
0x138
QPATH_DC_OFFSET_
1PART0
[7:0] LSB_OFFSET_Q[7:0]
0x139
QPATH_DC_OFFSET_
1PART1
[7:0] LSB_OFFSET_Q[15:8]
0x13A
IPATH_DC_OFFSET_
2PART
[7:5] RESERVED
[4:0] SIXTEENTH_OFFSET_I
0x13B
QPATH_DC_OFFSET_
2PART
[7:5] RESERVED
[4:0] SIXTEENTH_OFFSET_Q
0x13C IDAC_DIG_GAIN0
0x13D IDAC_DIG_GAIN1
0x13E
QDAC_DIG_GAIN0
0x13F
QDAC_DIG_GAIN1
[7:1] RESERVED
0
DC_OFFSET_ON
[7:0] LSB_OFFSET_I[7:0]
[7:0]
[7:4]
[3:0]
[7:0]
IDAC_DIG_GAIN[7:0]
RESERVED
IDAC_DIG_GAIN[11:8]
QDAC_DIG_GAIN[7:0]
[7:4] RESERVED
[3:0] QDAC_DIG_
GAIN[11:8]
Settings Description
Turn on DAC output manually. Self clear signal.
Cannot turn on the DAC if DAC is shut down by Bit 1,
DACOUT_SHUTDOWN.
If this bit is high then DAC is in protect mode, and
DAC is shut down automatically when some
errors happen.
Reserved.
If this bit is high and Bit 7 is high, then if input
average power is bigger than given threshold
(see Register 0x60, Register 0x61) within a given
time window, DAC output shuts down
automatically.
Reserved.
Aux ADC full-scale current (LSB 12.5 µA). Must
write the default value for proper operation.
000 Lowest current (50 µA).
111 Highest current (137.5 µA).
Reserved.
1 = Enable temperature sensor.
Die temperature code readback.
Die temperature code readback.
Reserved.
Die temperature code update. On a rising edge of
this bit, a new temperature code is generated.
Reserved.
1 Enables dc offset module.
8 LSBs of I path DC offset. LSB_OFFSET_I is a 16bit, twos complement number that is added to
incoming data.
8 MSBs of I path DC offset. Offset. LSB_OFFSET_I is
a 16-bit, twos complement number that is added
to incoming I data.
8 LSBs of Q path DC offset. LSB_OFFSET_Q is a 16bit, twos complement number that is added to
incoming Q data.
8 MSBs of Q path DC offset. LSB_OFFSET_Q is a 16bit, twos complement number that is added to
incoming Q data.
Reserved.
SIXTEENTH_OFFSET_I is a 5-bit twos complement
number in 16ths of an LSB that is added to
incoming I data.
x x/16 LSB DC offset.
Reserved.
SIXTEENTH_OFFSET_Q is a 5-bit twos
complement number in 16ths of an LSB that is
added to incoming Q data.
x x/16 LSB DC offset.
LSB of I DAC digital gain.
Reserved.
4 MSBs of I DAC digital gain.
8 LSBs of Q DAC digital gain. QDAC_DIG_GAIN is
the digital gain of the Q DAC. The digital gain is a
multiplier from 0 to 4095/2048 in steps of 1/2048.
Reserved.
4 MSBs of Q DAC digital gain.
Rev. 0 | Page 91 of 104
Reset Access
0x0
R/W
0x1
R/W
0x0
0x1
R/W
R/W
0x0
0x2
R/W
R/W
0x0
0x0
0x0
0x0
0x0
0x0
R/W
R/W
R
R
R/W
R/W
0x0
0x0
0x0
R/W
R/W
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
0x0
R/W
R/W
0x0
0x0
R/W
R/W
0x0
0x0
0x8
0x0
R/W
R/W
R/W
R/W
0x0
0x8
R/W
R/W
AD9152
Data Sheet
Addr.
0x140
Name
GAIN_RAMP_UP_STEP0
Bits
[7:0]
0x141
GAIN_RAMP_UP_STEP1
0x142
GAIN_RAMP_DOWN_
STEP0
[7:4] RESERVED
[3:0] GAIN_RAMP_UP_
STEP[11:8]
[7:0] GAIN_RAMP_DOWN_
STEP[7:0]
0x143
GAIN_RAMP_DOWN_
STEP1
0x14B
PRBS
0x14C PRBS_ERROR_I
0x14D PRBS_ERROR_Q
0x151 DATAPATH_CTRL2
0x152
0x153
0x154
0x155
0x156
0x157
0x158
0x159
0x15A
0x15B
0x15C
ACC_MODULUS0
ACC_MODULUS1
ACC_MODULUS2
ACC_MODULUS3
ACC_MODULUS4
ACC_MODULUS5
ACC_DELTA0
ACC_DELTA1
ACC_DELTA2
ACC_DELTA3
ACC_DELTA4
Bit Name
GAIN_RAMP_UP_
STEP[7:0]
Settings Description
8 LSBs of gain ramp up step.
GAIN_RAMP_UP_STEP controls the amplitude step
size of the BSMs ramping feature when the gain is
being ramped to its assigned value.
0x0 Smallest ramp up step size.
0xFFF Largest ramp up step size.
Reserved.
4 MSBs of gain ramp up step. See Register 0x140
for description.
8 LSBs of gain ramp down step.
GAIN_RAMP_DOWN_STEP controls the amplitude
step size of the BSMs ramping feature when the gain
is being ramped to zero.
0 Smallest ramp down step size.
0xFFF Largest ramp down step size.
Reserved.
MSB of digital gain drops
[7:4] RESERVED
[3:0] GAIN_RAMP_DOWN_
STEP[7:0]
7
PRBS_GOOD_Q
6
PRBS_GOOD_I
5
4
RESERVED
PRBS_INV_Q
3
PRBS_INV_I
2
PRBS_MODE
1
PRBS_RESET
0
PRBS_EN
[7:0]
[7:0]
[7:6]
5
4
[3:2]
1
0
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
PRBS_COUNT_I
PRBS_COUNT_Q
RESERVED
PFIR_DEMOD4_ENABLE
PFIR_ENABLE
RESERVED
NEG_DDS_FREQ
MODULUS_ENABLE
ACC_MODULUS[7:0]
ACC_MODULUS[15:8]
ACC_MODULUS[23:16]
ACC_MODULUS[31:24]
ACC_MODULUS[39:32]
ACC_MODULUS[47:40]
ACC_DELTA[7:0]
ACC_DELTA[15:8]
ACC_DELTA[23:16]
ACC_DELTA[31:24]
ACC_DELTA[39:32]
Good data indicator imaginary channel.
0 Incorrect sequence detected.
1 Correct PRBS sequence detected.
Good data indicator real channel.
0 Incorrect sequence detected.
1 Correct PRBS sequence detected.
Reserved.
Data inversion imaginary channel.
0 Expect normal data.
1 Expect inverted data.
Data inversion real channel.
0 Expect normal data.
1 Expect inverted data.
Polynomial select.
0 7-bit: x7 + x6 + 1.
1 15-bit: x15 + x14 + 1.
Reset error counters.
0 Normal operation.
1 Reset counters.
Enable PRBS checker.
0 Disable
1 Enable
Error count value real channel.
Error count value imaginary channel.
Reserved.
Programmable FIR demodulation enable.
Programmable FIR enable.
Reserved.
Negative DDS frequency.
Modulus enable.
Tuning Word B for modulus DDS.
Tuning Word B for modulus DDS.
Tuning Word B for modulus DDS.
Tuning Word B for modulus DDS.
Tuning Word B for modulus DDS.
Tuning Word B for modulus DDS.
Tuning Word A for modulus DDS.
Tuning Word A for modulus DDS.
Tuning Word A for modulus DDS.
Tuning Word A for modulus DDS.
Tuning Word A for modulus DDS.
Rev. 0 | Page 92 of 104
Reset Access
0x4
R/W
0x0
0x0
R/W
R/W
0x9
R/W
0x0
0x0
R/W
R/W
0x0
R
0x0
R
0x0
0x1
R/W
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Data Sheet
AD9152
Addr. Name
0x15D ACC_DELTA5
0x164 SWEEP_WORD0_L
Bits Bit Name
[7:0] ACC_DELTA[47:40]
[7:0] SWEEP_WORD0_L
0x165
SWEEP_WORD0_M
[7:0] SWEEP_WORD0_M
0x166
SWEEP_WORD0_H
[7:0] SWEEP_WORD0_H
0x167
SWEEP_WORD1_L
[7:0] SWEEP_WORD1_L
0x168
SWEEP_WORD1_M
[7:0] SWEEP_WORD1_M
0x169
SWEEP_WORD1_H
[7:0] SWEEP_WORD1_H
0x16A
0x16B
0x16C
0x16D
0x16E
0x16F
0x170
0x171
0x172
0x173
0x17A
0x17B
RISE_DELTA_L
RISE_DELTA_M
RISE_DELTA_H
FALL_DELTA_L
FALL_DELTA_M
FALL_DELTA_H
RISE_RATE_L
RISE_RATE_H
FALL_RATE_L
FALL_RATE_H
PFIR_COEFF0_L
PFIR_COEFF0_H
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
[7:0]
[7:1]
0
[7:0]
[7:1]
0
[7:0]
[7:1]
0
[7:0]
[7:1]
0
[7:1]
0
7
[6:3]
2
1
RISE_DELTA_L
RISE_DELTA_M
RISE_DELTA_H
FALL_DELTA_L
FALL_DELTA_M
FALL_DELTA_H
RISE_RATE_L
RISE_RATE_H
FALL_RATE_L
FALL_RATE_H
PFIR_COEFF0[7:0]
RESERVED
PFIR_COEFF0[8]
PFIR_COEFF1[7:0]
RESERVED
PFIR_COEFF1[8]
PFIR_COEFF2[7:0]
RESERVED
PFIR_COEFF2[8]
PFIR_COEFF3[7:0]
RESERVED
PFIR_COEFF3[8]
RESERVED
PFIR_COEFF_UPDATE
BYP_LOAD_DELAY
VCO_CAL_OFFSET
RESERVED
EXT_BAND_EN
0
[7:4]
[3:0]
7
6
EXT_BAND2
INIT_ALC_VALUE
VCO_VAR
RESERVED
PORESETB_VCO
[5:4]
[3:0]
[7:5]
[4:3]
[2:0]
[7:4]
[3:0]
[7:3]
[2:0]
EXT_VCO_BITSEL
VCO_LVL_OUT
RESERVED
VCO_BIAS_TCF
VCO_BIAS_REF
RESERVED
VCO_VAR_REF
RESERVED
TSTWINDOW
0x17C PFIR_COEFF1_L
0x17D PFIR_COEFF1_H
0x17E
0x17F
PFIR_COEFF2_L
PFIR_COEFF2_H
0x180
0x181
PFIR_COEFF3_L
PFIR_COEFF3_H
0x182
PFIR_COEFF_UPDATE
0x1B4
DACPLLT4
0x1B5
DACPLLT5
0x1B6
DACPLLT6
0x1BB
DACPLLTB
0x1C5
DACPLLT18
0x1FE
TEST_MODE
Settings Description
Tuning Word A for modulus DDS.
Start tuning word of linear sweep mode, lowest
byte.
Start tuning word of linear sweep mode, middle
byte.
Start tuning word of linear sweep mode, highest
byte.
End tuning word of linear sweep mode, lowest
byte.
End tuning word of linear sweep mode, middle
byte.
End tuning word of linear sweep mode, highest
byte.
Rising step of linear sweep, lowest byte.
Rising step of linear sweep, middle byte.
Rising step of linear sweep, highest byte e.
Falling step of linear sweep, lowest byte.
Falling step of linear sweep, middle byte.
Falling step of linear sweep, highest byte.
Rising rate of linear sweep, lowest byte.
Rising rate of linear sweep, highest byte.
Falling rate of linear sweep, lowest byte.
Falling rate of linear sweep, highest byte.
PFIR Coefficient 0, Bits[7:0].
Reserved.
PFIR Coefficient 0, Bit 8.
PFIR Coefficient 1, Bits[7:0].
Reserved.
PFIR Coefficient 1, Bit 8.
PFIR Coefficient 0, Bits[7:0].
Reserved.
PFIR Coefficient 1, Bit 8.
PFIR Coefficient 0, Bits[7:0].
Reserved.
PFIR Coefficient 1, Bit 8.
Reserved.
PFIR coefficient update.
Bypass load delay.
Starting offset for VCO calibration
Reserved.
Force VCO tuning band externally
0 Normal auto calibration mode.
1 Manual for VCO band.
External band MSB.
Initial ALC sweep value.
Varactor KVO setting.
Reserved.
RESET for VCO logic.
Bit select; Does nothing.
VCO amplitude control.
Reserved.
Temperature coefficient for VCO bias.
VCO Bias control
Reserved.
VCO varactor reference
Reserved.
Sync error window. Sync alignment tolerance in
±DACCLKs.
Rev. 0 | Page 93 of 104
Reset Access
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0xF
0x0
0x0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0x0
0x8
0x3
0x0
0x1
W
R/W
R/W
R/W
R/W
0x0
0xA
0x0
0x1
0x4
0x0
0x8
0x0
0x0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R
R/W
AD9152
Data Sheet
Addr.
0x200
Name
MASTER_PD
Bits Bit Name
[7:1] RESERVED
0
SPI_PD_MASTER
0x201
PHY_PD
[7:4] RESERVED
[3:0] SPI_PD_PHY
0x203
GENERIC_PD
[7:2]
1
0x206
CDR_RESET
Settings Description
Reserved.
Power down the entire JESD204B receiver analog
(all four channels plus bias).
Reserved.
SPI override to power down the individual PHYs.
Set Bit x to power down the corresponding
SERDINx± PHY
Reserved.
Power down LVDS buffer for SYNCOUT± .
RESERVED
SPI_SYNC_PD
0
RESERVED
[7:1] RESERVED
0
SPI_CDR_RESETN
0
1
0x230
CDR_OPERATING_
MODE_REG_0
[7:6] RESERVED
5
ENHALFRATE
[4:2] RESERVED
1
CDR_OVERSAMP
0
SYNCOUTB_SWING
0
1
0x268
EQ_BIAS_REG
[7:6] EQ_POWER_MODE
00
01
[5:0] RESERVED
0x280
SERDESPLL_ENABLE_
CNTRL
[7:3] RESERVED
2
RECAL_SERDESPLL
1
0
0x281
SERDES_PLL_STATUS
RESERVED
ENABLE_SERDESPLL
[7:6] RESERVED
SERDES_CP_OVER_
5
RANGE_H
4
SERDES_CP_OVER_
RANGE_L
3
SERDES_PLL_CAL_VALID
2
SERDES_VCO_CAL_
PROGRESS
0
1
1
0x289
REF_CLK_DIVIDER_LDO
Reserved.
Reserved.
Resets the digital control logic for all PHYs.
Hold CDR in reset
Enable CDR
Reserved.
Enables half-rate CDR operation. Set to 1 when
5.75 Gbps ≤ lane rate ≤ 12.38 Gbps.
Must write the default value for proper operation.
Enables oversampling of the input data. Set to 1
when 1.44 Gbps ≤ lane rate ≤ 3.09 Gbps.
This bit is to adjust SYNCOUT± LVDS output
swing.
SYNCOUT± swing VOD is about 170 mV.
SYNCOUT± swing VOD is about 350 mV.
Control the equalizer power/insertion loss
capability.
Normal mode.
Low power mode.
Reserved. Must write the default value for proper
operation.
Reserved.
Recalibrate SERDES PLL. On a rising edge,
recalibrate the SERDES PLL.
Reserved.
Enable the SERDES PLL. Setting this bit enables
and calibrates the SERDES PLL.
Reserved.
Charge pump high overrange. This bit indicates
that the SERDES PLL hit the lower edge of its
operating band. Recalibrate.
Charge pump low overrange. This bit indicates
that the SERDES PLL hit the lower edge of its
operating band. Recalibrate.
SERDES PLL calibration valid. This bit indicates
that the SERDES PLL has been successfully
calibrated.
This bit set indicates that a VCO calibration is
running.
VCO calibration is not running.
VCO calibration is running.
SERDES_PLL_CURRENTS_READY
0
SERDES_PLL_LOCK
[7:2]
RESERVED
0 PLL bias currents are not ready
1 PLL bias currents are ready
SERDES PLL lock. This bit is set high by the PLL
when it has achieved lock.
Must be set to 1 for proper SERDES PLL
configuration.
Rev. 0 | Page 94 of 104
Reset Access
0x0
R/W
0x1
R/W
0x0
0x0
R/W
R/W
0x0
0x0
R/W
R/W
0x0
0x0
0x1
R/W
R/W
R/W
0x0
0x1
R/W
R/W
0x2
0x0
R/W
R/W
0x0
R/W
0x1
R/W
0x22
R/W
0x0
0x0
R/W
R/W
0x0
0x0
R/W
R/W
0x0
0x0
R
R
0x0
R
0x0
R
0x0
R
0x0
R
0x0
R
0x1
R/W
Data Sheet
AD9152
Addr.
Name
Bits Bit Name
[1:0] SERDES_PLL_DIV_MODE
0x2A7
TERM_BLK1_CTRLREG0
0x300
GENERAL_JRX_CTRL_0
[7:1] RESERVED
SPI_I_TUNE_R_CAL_
0
TERMBLK1
7
RESERVED
6
CHECKSUM_MODE
[5:1] RESERVED
0
LINK_EN
0x301
GENERAL_JRX_CTRL_1
[7:3] RESERVED
[2:0] SUBCLASSV_LOCAL
0x302
DYN_LINK_LATENCY_0
[7:5] RESERVED
[4:0] DYN_LINK_LATENCY_0
0x304
LMFC_DELAY_0
[7:5] RESERVED
[4:0] LMFC_DELAY_0
0x306
LMFC_VAR_0
[7:5] RESERVED
[4:0] LMFC_VAR_0
0x308
XBAR_LN_0_1
[7:6] RESERVED
[5:3] LOGICAL_LANE1_SRC
[2:0] LOGICAL_LANE0_SRC
0x309
XBAR_LN_2_3
[7:6] RESERVED
[5:3] LOGICAL_LANE3_SRC
[2:0] LOGICAL_LANE2_SRC
Settings Description
SERDES PLL reference clock division factor. This
field controls the division of the SERDES PLL
reference clock before it is fed into the SERDES
PLL phase frequency detector (PFD). It must be set
so fREF/DivFactor is between 35 MHz and 80 MHz.
00 Divide by 4 for 5.75 Gbps to 12.38 Gbps lane rate
01 Divide by 2 for 2.88 Gbps to 6.19 Gbps lane rate
10 Divide by 1 for 1.44 Gbps to 3.09 Gbps lane rate
Reserved.
Termination calibration. The rising edge of this bit
calibrates PHY terminations to 50 Ω.
Reserved.
Checksum mode. This bit controls the locally
generated JESD204B link parameter checksum
method. The value is stored in the FCMP registers
(Register 0x40E, Register 0x416, Register 0x41E, and
Register 0x426).
0 Checksum is calculated by summing the individual
fields in the link configuration table as defined in
Section 8.3, Table 20 of the JESD204B standard.
1 Checksum is calculated by summing the registers
containing the packed link configuration fields
(Σ[0x450:0x45C] modulo 256).
Reserved.
Link enable. Enable the link only after the
following has occurred: all JESD204B parameters
are set, the DAC PLL is enabled and locked
(Register 0x084[1] = 1), and the JESD204B PHY is
enabled (Register 0x200 = 0x00) and calibrated
(Register 0x281[2] = 0).
Reserved.
JESD204B Subclass.
000 Subclass 0.
001 Subclass 1.
Reserved.
Dynamic link latency: Link 0. Latency between the
LMFCRx for Link 0 and the last arriving LMFC
boundary in units of PCLK cycles. See the
Deterministic Latency section.
Reserved.
LMFC delay: Link 0 Delay from the LMFC to LMFCRx
for Link 0. In units of frame clock cycles for
subclass 1 and PCLK cycles for subclass 0. See the
Deterministic Latency section.
Reserved.
Variable delay buffer: Link 0. Sets when data is read
from a buffer to be consistent across links and power
cycles. In units of PCLK cycles. See the Deterministic
Latency section.
This setting must not be more than 10.
Reserved.
Logical Lane 1 source. Selects a physical lane to
be mapped onto Logical Lane 1.
x Data is from SERDINx.
Logical Lane 0 source. Selects a physical lane to
be mapped onto Logical Lane 0.
x Data is from SERDINx.
Reserved.
Logical Lane 3 source. Selects a physical lane to
be mapped onto Logical Lane 3.
x Data is from SERDINx.
Logical Lane 2 source. Selects a physical lane to
be mapped onto Logical Lane 2.
x Data is from SERDINx.
Rev. 0 | Page 95 of 104
Reset Access
0x0
R/W
0x0
0x0
R
R/W
0x0
0x0
R
R/W
0x0
0x0
R
R/W
0x0
0x1
R/W
R/W
0x0
0x0
R/W
R
0x0
0x0
R/W
R/W
0x0
0x6
R/W
R/W
0x0
0x1
R/W
R/W
0x0
R/W
0x0
0x3
R/W
R/W
0x2
R/W
AD9152
Addr.
0x30C
Name
FIFO_STATUS_REG_0
Data Sheet
Bits Bit Name
[7:4] RESERVED
[3:0] LANE_FIFO_FULL
0x30D FIFO_STATUS_REG_1
[7:4] RESERVED
[3:0] LANE_FIFO_EMPTY
0x311
[7:4] RESERVED
3
RESERVED
2
EOMF_MASK_0
SYNCB_GEN_0
1
0
0x312
SYNCB_GEN_1
RESERVED
EOF_MASK_0
Settings Description
Reserved.
FIFO full flags for each logical lane. A full FIFO
indicates an error in the JESD204B configuration
or with a system clock. If the FIFO for Lane x is full,
Bit x in this register is high.
Reserved.
FIFO empty flags for each logical lane. An empty FIFO
indicates an error in the JESD204B configuration or
with a system clock. If the FIFO for Logical Lane x is
empty, Bit x in this register is high.
Reserved.
Reserved.
Mask EOMF from QBD. Assert SYNCOUT± based
on loss of multiframe sync.
0 Do not assert SYNCOUT± on Loss of multiframe.
1 Assert SYNCOUT± on loss of multiframe.
Reserved.
Mask EOF from QBD. Assert SYNCOUT± based on
loss of frame sync.
0 Do not assert SYNCOUT± on loss of frame.
1 Assert SYNCOUT± on loss of frame.
[7:4] SYNCB_ERR_DUR
0
1
2
[3:0] SYNCB_SYNCREQ_DUR
0x313
SYNCB_GEN_3
[7:0] LMFC_PERIOD
0x314
SERDES_SPI_REG
[7:0]
0x315
PHY_PRBS_TEST_EN
[7:4] RESERVED
[3:0] PHY_TEST_EN
0x316
PHY_PRBS_TEST_CTRL
7
RESERVED
[6:4] PHY_SRC_ERR_CNT
SERDES_SPI_CONFIG
x
[3:2] PHY_PRBS_PAT_SEL
00
01
10
11
1
PHY_TEST_START
0
1
0
PHY_TEST_RESET
0
1
0x317
PHY_PRBS_TEST_
THRESHOLD_LOBITS
[7:0] PHY_PRBS_
THRESHOLD[7:0]
Rev. 0 | Page 96 of 104
Duration of SYNCOUT± low for error. A sync error is
asserted at the end of a multiframe whenever one or
more disparity, not in table, or unexpected control
character errors are encountered.
½ PCLK cycle.
1 PCLK cycle.
2 PCLK cycles.
Duration of SYNCOUT± low for purpose of sync
request. 0 means a duration > 5 frame + 9 octets.
Add an additional PCLK = 4 octets for each
increment of the value.
LMFC period in PCLK cycle. This is to report the
global LMFC period based on PCLK.
SERDES SPI configuration. Must be written to
0x01 as part of the physical layer setup step.
Reserved.
PHY test enable. Enables the PHY BER test.
Set Bit x to enable the PHY test for Lane x.
Reserved.
PHY error count source. Selects which PHY errors
are being reported in Register 0x31A to
Register 0x31C.
Report Lane x error count.
PHY PRBS pattern select. Selects the PRBS pattern
for the PHY BER test.
PRBS7.
PRBS15.
PRBS31.
Reserved.
PHY PRBS test start. Starts and stops the PHY PRBS
test.
Test stopped.
Test in progress.
PHY PRBS test reset. Resets the PHY PRBS test
state machine and error counters.
Enable PHY PRBS test state machine.
Hold PHY PRBS test state machine in reset.
Bits[7:0] of the 24-bit threshold value to set the
error flag for the PHY PRBS test.
Reset Access
0x0
R
0x0
R
0x0
0x0
R
R
0x0
0x0
0x0
R/W
R/W
R/W
0x0
0x0
R/W
R/W
0x0
R/W
0x0
R/W
0x0
R
0x0
R/W
0x0
0x0
R/W
R/W
0x0
0x0
R/W
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
Data Sheet
Addr.
0x318
AD9152
Name
PHY_PRBS_TEST_
THRESHOLD_MIDBITS
0x319 PHY_PRBS_TEST_
THRESHOLD_HIBITS
0x31A PHY_PRBS_TEST_
ERRCNT_LOBITS
0x31B PHY_PRBS_TEST_
ERRCNT_MIDBITS
0x31C PHY_PRBS_TEST_
ERRCNT_HIBITS
0x31D PHY_PRBS_TEST_
STATUS
Bits Bit Name
[7:0] PHY_PRBS_
THRESHOLD[15:8]
[7:0] PHY_PRBS_
THRESHOLD[23:16]
[7:0] PHY_PRBS_ERR_CNT[7:0]
0x32C
[7:6] RESERVED
[5:4] SHORT_TPL_SP_SEL
SHORT_TPL_TEST_0
[7:0] PHY_PRBS_ERR_
CNT[15:8]
[7:0] PHY_PRBS_ERR_
CNT[23:16]
[7:4] RESERVED
[3:0] PHY_PRBS_PASS
[3:2] SHORT_TPL_DAC_SEL
1
SHORT_TPL_TEST_RESET
0
SHORT_TPL_TEST_EN
0x32D SHORT_TPL_TEST_1
[7:0] SHORT_TPL_REF_SP_LSB
0x32E
SHORT_TPL_TEST_2
[7:0] SHORT_TPL_REF_SP_MSB
0x32F
SHORT_TPL_TEST_3
[7:1] RESERVED
0
SHORT_TPL_FAIL
0x334
JESD_BIT_INVERSE_CTRL
[7:4] RESERVED
[3:0] JESD_BIT_INVERSE
0x400
DID_REG
[7:0] DID_RD
0x401
BID_REG
[7:4] ADJCNT_RD
[3:0] BID_RD
Settings Description
Bits[15:8] of the 24-bit threshold value to set the
error flag for the PHY PRBS test.
Bits[23:16] of the 24-bit threshold value to set the
error flag for the PHY PRBS test.
Bits[7:0] of the 24-bit reported PHY BERT error
count from the selected lane.
Bits[15:8] of the 24-bit reported PHY BERT error
count from the selected lane.
Bits[23:16] of the 24-bit reported PHY BERT error
count from the selected lane.
Reserved.
PHY PRBS test pass/fail.
Bit x corresponds to PHY PRBS pass/fail for
Physical Lane x. The bit is set to 1 while the error
count for Physical Lane x is less than
PHY_PRBS_THRESHOLD.
Reserved.
Short transport layer sample select. Selects which
sample to check from the DAC selected via
Bits[3:2].
x Sample x.
Short transport layer test DAC select. Selects
which DAC to sample.
x Sample from DAC x.
Short transport layer test reset. Resets the result
of short transport layer test.
0 Not reset.
1 Reset.
Short transport layer test enable. See the Subclass 0
section for details on how to perform this test.
0 Disable.
1 Enable.
Short transport layer test reference, sample LSB.
This is the lower eight bits of the expected DAC
sample. It is used to compare with the received
DAC sample at the output of the JESD204B
receiver.
Short transport layer test reference, sample MSB.
This is the upper eight bits of the expected DAC
sample. It is used to compare with the received
DAC sample at the output of the JESD204B
receiver.
Reserved.
Short transport layer test fail. This bit shows
whether the selected DAC sample matches the
reference sample. If they match, it is a test pass,
otherwise it is a test fail.
0 Test pass.
1 Test fail.
Reserved.
Logical lane invert. Set Bit x high to invert the
JESD204B deserialized data on Logical Lane x.
Device identification number. Link information
received on Lane 0 as specified in Section 8.3 of
JESD204B.
Adjustment resolution to DAC LMFC. Link
information received on Lane 0 as specified in
Section 8.3 of JESD204B.
Bank identification: extension to DID. Link
information received on Lane 0 as specified in
Section 8.3 of JESD204B.
Rev. 0 | Page 97 of 104
Reset Access
0x0
R/W
0x0
R/W
0x0
R
0x0
R
0x0
R
0x0
0xF
R
R
0x0
0x0
R/W
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
0x0
R
R
0x0
0x0
R/W
R/W
0x0
R
0x0
R
0x0
R
AD9152
Addr.
0x402
Name
LID0_REG
Data Sheet
Bits
7
6
Bit Name
RESERVED
ADJDIR_RD
5
PHADJ_RD
[4:0] LID0_RD
0x403
SCR_L_REG
7
SCR_RD
[6:5] RESERVED
[4:0] L-1_RD
0x404
F_REG
[7:0] F-1_RD
0x405
K_REG
[7:5] RESERVED
[4:0] K-1_RD
0x406
M_REG
[7:0] M-1_RD
0x407
CS_N_REG
[7:6] CS_RD
5
RESERVED
[4:0] N-1_RD
0x408
NP_REG
[7:5] SUBCLASSV_RD
[4:0] NP-1_RD
0x409
S_REG
[7:5] JESDV_RD
[4:0] S-1_RD
Settings Description
Reserved.
Direction to adjust DAC LMFC. Link information
received on Lane 0 as specified in Section 8.3 of
JESD204B. Must be 0.
Phase adjustment request to DAC. Link information
received on Lane 0 as specified in Section 8.3 of
JESD204B. Must be 0.
Lane identification for Lane 0. Link information
received on Lane 0 as specified in Section 8.3 of
JESD204B.
Transmit scrambling status. Link information received
on Lane 0 as specified in Section 8.3 of JESD204B.
0 Scrambling is disabled.
1 Scrambling is enabled.
Reserved.
Number of lanes per converter device. Link
information received on Lane 0 as specified in
Section 8.3 of JESD204B.
0 One lane per converter device.
1 Two lanes per converter device.
Number of octets per frame. Settings of 1, 2, and 4
octets per frame are valid. Link information received
on Lane 0 as specified in Section 8.3 of JESD204B.
0 One octet per frame.
1 Two octets per frame.
3 Four octets per frame.
Reserved.
Number of frames per multiframe. Settings of 16
or 32 are valid. Link information received on Lane
0 as specified in Section 8.3 of JESD204B.
0x0F 16 frames per multiframe.
0x1F 32 frames per multiframe.
Number of converters per device. Link
information received on Lane 0 as specified in
Section 8.3 of JESD204B. Must be 0 or 1.
0 One converter per device.
1 Two converters per device.
Number of control bits per sample. Link
information received on Lane 0 as specified in
Section 8.3 of JESD204B. CS_RD must be set to 0.
Reserved.
Converter resolution. Link information received on
Lane 0 as specified in Section 8.3 of JESD204B.
Converter resolution of 16.
0x0F Converter resolution of 16.
Device subclass version. Link information received
on Lane 0 as specified in Section 8.3 of JESD204B.
0 Subclass 0.
1 Subclass 1.
Total number of bits per sample. Link information
received on Lane 0 as specified in Section 8.3 of
JESD204B. Must be 16 bits per sample.
0x0F 16 bits per sample.
JESD204 version. Link information received on
Lane 0 as specified in Section 8.3 of JESD204B.
000 JESD204A.
001 JESD204B.
Number of samples per converter per frame cycle.
Settings of one and two are valid. See Table 33.
Link information received on Lane 0 as specified
in Section 8.3 of JESD204B.
0 One sample per converter per frame.
1 Two samples per converter per frame.
Rev. 0 | Page 98 of 104
Reset Access
0x0
R
0x0
R
0x0
R
0x0
R
0x0
R
0x0
0x0
R
R
0x0
R
0x0
0x0
R
R
0x0
R
0x0
R
0x0
0x0
R
R
0x0
R
0x0
R
0x0
R
0x0
R
Data Sheet
Addr.
0x40A
Name
HD_CF_REG
AD9152
Bits
7
Bit Name
HD_RD
[6:5] RESERVED
[4:0] CF_RD
0x40B
RES1_REG
[7:0] RES1_RD
0x40C
RES2_REG
[7:0] RES2_RD
0x40D CHECKSUM_REG
[7:0] FCHK0_RD
0x40E
COMPSUM0_REG
[7:0] FCMP0_RD
0x412
LID1_REG
[7:5] RESERVED
[4:0] LID1_RD
0x415
CHECKSUM1_REG
[7:0] FCHK1_RD
0x416
COMPSUM1_REG
[7:0] FCMP1_RD
0x41A
LID2_REG
[7:5]
[4:0]
[7:0]
[7:0]
RESERVED
LID2_RD
FCHK2_RD
FCMP2_RD
RESERVED
LID3_RD
FCHK3_RD
FCMP3_RD
0x41D CHECKSUM2_REG
0x41E COMPSUM2_REG
0x422
LID3_REG
0x425
0x426
CHECKSUM3_REG
COMPSUM3_REG
[7:5]
[4:0]
[7:0]
[7:0]
0x450
ILS_DID
[7:0] DID
0x451
ILS_BID
[7:4] ADJCNT
[3:0] BID
0x452
ILS_LID0
7
6
5
[4:0]
RESERVED
ADJDIR
PHADJ
LID0
0x453
ILS_SCR_L
7
SCR
[6:5] RESERVED
[4:0] L-1
Settings Description
High density format. See Section 5.1.3 of the
JESD294B standard. Link information received on
Lane 0 as specified in Section 8.3 of JESD204B.
0 Low density mode.
1 High density mode: link information received on
Lane 0 as specified in Section 8.3 of JESD204B.
Reserved.
Number of control words per frame clock period
per link. Link information received on Lane 0 as
specified in Section 8.3 of JESD204B. Bits[4:0] must
be 0.
Reserved Field 1. Link information received on Lane
0 as specified in Section 8.3 of JESD204B.
Reserved Field 2. Link information received on Lane
0 as specified in Section 8.3 of JESD204B.
Checksum for Lane 0. Link information received
on Lane 0 as specified in Section 8.3 of JESD204B.
Computed checksum for Lane 0. The JESD204B
receiver computes the checksum of the link
information received on Lane 0 as specified in
Section 8.3 of JESD204B. The computation
method is set by the CHECKSUM_MODE bit
(Address 0x300[6]) and must match the likewise
calculated checksum in Register 0x40D.
Reserved.
Lane identification for Lane 1. Link information
received on Lane 0 as specified in Section 8.3 of
JESD204B.
Checksum for Lane 1. Link information received
on Lane 0 as specified in Section 8.3 of JESD204B.
Computed checksum for Lane 1. See the
description for Register 0x40E.
Reserved.
Lane identification for Lane 2.
Checksum for Lane 2.
Computed checksum for Lane 2 (see the
description for Register 0x40E).
Reserved.
Lane identification for Lane 3.
Checksum for Lane 3.
Computed checksum for Lane 3 (see the
description for Register 0x40E).
Device identification number. Link information
received on Lane 0 as specified in Section 8.3 of
JESD204B. Must be set to the value read in
Register 0x400.
Adjustment resolution to DAC LMFC. Must be set
to 0.
Bank identification: extension to DID. Must be set
to the value read in Register 0x401[3:0].
Reserved.
Direction to adjust DAC LMFC. Must be set to 0.
Phase adjustment request to DAC. Must be set to 0.
Lane identification for Lane 0. Must be set to the
value read in Register 0x402[4:0].
Receiver descrambling enable.
0 Descrambling is disabled.
1 Descrambling is enabled.
Reserved.
Number of lanes per converter device. See Table 33.
0 One lane per converter.
1 Two lanes per converter.
Rev. 0 | Page 99 of 104
Reset Access
0x0
R
0x0
0x0
R
R
0x0
R
0x0
R
0x0
R
0x0
R
0x0
0x0
R
R
0x0
R
0x0
R
0x0
0x0
0x0
0x0
R
R
R
R
0x0
0x0
0x0
0x0
R
R
R
R
0x0
R/W
0x0
R/W
0x0
R/W
0x0
0x0
0x0
0x0
R/W
R/W
R/W
R/W
0x1
R/W
0x0
0x3
R/W
R/W
AD9152
Data Sheet
Addr.
0x454
Name
ILS_F
Bits Bit Name
[7:0] F-1
0x455
ILS_K
[7:5] RESERVED
[4:0] K-1
0x456
ILS_M
[7:0] M-1
0x457
ILS_CS_N
[7:6] CS
5
RESERVED
[4:0] N-1
0x458
ILS_NP
[7:5] SUBCLASSV
[4:0] NP-1
0x459
ILS_S
[7:5] JESDV
[4:0] S-1
0x45A
ILS_HD_CF
7
HD
[6:5] RESERVED
[4:0] CF
0x45B ILS_RES1
0x45C ILS_RES2
0x45D ILS_CHECKSUM
[7:0] RES1
[7:0] RES2
[7:0] FCHK0
0x46B
ERRCNTRMON_RB
[7:0] READERRORCNTR
0x46B
ERRCNTRMON
7
RESERVED
[6:4] LANESEL
[3:2] RESERVED
[1:0] CNTRSEL
Settings Description
Number of octets per lane per frame. Settings of 1, 2,
and 4 (octets per lane) per frame are valid. See
Table 33.
0 (One octet per lane) per frame.
1 (Two octets per lane) per frame.
3 (Four octets per lane) per frame.
Reserved.
Number of frames per multiframe. Settings of 16
or 32 are valid. Must be set to 32 when F = 1
(Register 0x476).
0x0F 16 frames per multiframe.
0x1F 32 frames per multiframe.
Number of converters per device. See Table 33.
0 One converter per link.
1 Two converters per link.
Number of control bits per sample. Must be set to
0. Control bits are not supported.
0 Zero control bits per sample.
Reserved.
Converter Resolution. Must be set to 16 bits of
resolution.
0xF Converter resolution of 16.
Device subclass version.
0 Subclass 0.
1 Subclass 1.
Total number of bits per sample. Must be set to
16 bits per sample.
0xF 16 bits per sample.
JESD204 version.
000 JESD204A.
001 JESD204B.
Number of samples per converter per frame cycle.
Settings of one and two are valid. See Table 33.
0 One sample per converter per frame.
1 Two samples per converter per frame.
High density format. If F = 1, HD must be set to 1.
Otherwise, HD must be set to 0. See Section 5.1.3
of JESD204B standard.
0 Low density mode.
1 High density mode.
Reserved.
Number of control words per frame clock period per
link. Must be set to 0. Control bits are not supported.
Reserved Field 1.
Reserved Field 2.
Checksum for Lane 0. Calculated checksum.
Calculation depends on 0x300[6].
Read JESD204B error counter. After selecting the
lane and error counter by writing to LANESEL and
CNTRSEL (both in this same register), the selected
error counter is read back here.
Reserved.
Lane select for JESD204B error counter. Selects
the lane whose errors are read back in this register.
x Selects Lane x.
Reserved.
JESD204B error counter select. Selects the type of
error that are read back in this register.
00 BADDISCNTR: bad running disparity counter.
01 NITCNTR: not in table error counter.
10 UCCCNTR: Unexpected control character counter.
Rev. 0 | Page 100 of 104
Reset Access
0x0
R/W
0x0
0x1F
R/W
R/W
0x1
R/W
0x0
R/W
0x0
0xF
R/W
R/W
0x1
R/W
0xF
R/W
0x1
R/W
0x0
R/W
0x1
R/W
0x0
0x0
R/W
R/W
0x0
0x0
0x45
R/W
R/W
R/W
0x0
R
0x0
0x0
R
W
0x0
0x0
R
W
Data Sheet
AD9152
Addr. Name
0x46C LANEDESKEW
0x46D BADDISPARITY_RB
Bits Bit Name
[7:0] LANEDESKEW
[7:0] BADDIS
0x46D BADDISPARITY
7
RST_IRQ_DIS
6
DISABLE_ERR_CNTR_DIS
5
RST_ERR_CNTR_DIS
0x46E
NIT_RB
[4:3] RESERVED
[2:0] LANE_ADDR_DIS
[7:0] NIT
0x46E
NIT_W
7
RST_IRQ_NIT
6
DISABLE_ERR_CNTR_NIT
5
RST_ERR_CNTR_NIT
0x46F
[4:3] RESERVED
[2:0] LANE_ADDR_NIT
UNEXPECTED_CONTROL_RB [7:0] UCC
0x46F
UNEXPECTED_CONTROL_W
7
RST_IRQ_UCC
6
DISABLE_ERR_CNTR_UCC
5
RST_ERR_CNTR_UCC
0x470
CODEGRPSYNCFLG
[4:3] RESERVED
[2:0] LANE_ADDR_UCC
[7:0] CODEGRPSYNC
0x471
FRAMESYNCFLG
[7:0] FRAMESYNC
0x472
GOODCHKSUMFLG
[7:0] GOODCHECKSUM
0x473
INITLANESYNCFLG
[7:0] INITIALLANESYNC
Settings Description
Lane deskew. Setting Bit x deskews Lane x.
Bad disparity character error (BADDIS). Bit x is set
when the bad disparity error count for Lane x
reaches the threshold in Register 0x47C.
BADDIS IRQ reset. Reset BADDIS IRQ for the lane
selected via Bits[2:0] by writing 1 to this bit.
BADDIS error counter disable. Disable the BADDIS
error counter for the lane selected via Bits[2:0] by
writing 1 to this bit.
BADDIS error counter reset. Reset the BADDIS
error counter for the lane selected via Bits[2:0] by
writing 1 to this bit.
Reserved.
Lane address for functions described in Bits[7:5].
Not in table character error (NIT). Bit x is set when
the NIT error count for Lane x reaches the
threshold in Register 0x47C.
IRQ reset. Reset the IRQ for the lane selected via
Bits[2:0] by writing 1 to this bit.
Disable error counter. Disable the error counter for
the lane selected via Bits[2:0] by writing 1 to this bit.
Reset error counter. Reset error counter for the lane
selected via Bits[2:0] by writing 1 to this bit.
Reserved.
Lane address for functions described in Bits[7:5].
Unexpected control character error (UCC). Bit x is
set when the UCC error count for Lane x reaches
the threshold in Register 0x47C.
IRQ reset. Reset IRQ for the lane selected via
Bits[2:0] by writing 1 to this bit.
Disable error counter. Disable the error counter for
the lane selected via Bits[2:0] by writing 1 to this bit.
Reset error counter. Reset error counter for the
lane selected via Bits[2:0] by writing 1 to this bit.
Reserved.
Lane Address for functions described in Bits[7:5].
Code group sync flag (from each instantiated
lane). Writing 1 to Bit 7 resets the IRQ. The
associated IRQ flag is located in Register 0x47A[0].
A loss of CODEGRPSYNC triggers sync request
assertion. See the SYNCOUT and SYSREF Signals
section and the Deterministic Latency section.
0 Synchronization is lost.
1 Synchronization is achieved.
Frame sync flag (from each instantiated lane). This
register indicates the live status for each lane.
Writing 1 to Bit 7 resets the IRQ. A loss of frame
sync automatically initiates a synchronization
sequence.
0 Synchronization is lost.
1 Synchronization is achieved.
Good checksum flag (from each instantiated
lane). Writing 1 to Bit 7 resets the IRQ. The
associated IRQ flag is located in Register 0x47A[2].
0 Last computed checksum is not correct.
1 Last computed checksum is correct.
Initial lane syncflag (from each instantiated lane).
Writing 1 to Bit 7 resets the IRQ. The associated
IRQ flag is located in Register 0x47A[3]. Loss of
synchronization is also reported on SYNCOUT±.
See the SYNCOUT±, SYSREF±, and DACCLK±/
REFCLK± Signals section and the Deterministic
Latency section.
Rev. 0 | Page 101 of 104
Reset Access
0xF
R/W
0x0
R
0x0
W
0x0
W
0x0
W
0x0
0x0
0x0
R
W
R
0x0
W
0x0
W
0x0
W
0x0
0x0
0x0
R
W
R
0x0
W
0x0
W
0x0
W
0x0
0x0
0x0
R
W
R/W
0x0
R/W
0x0
R/W
0x0
R/W
AD9152
Data Sheet
Addr.
0x476
Name
CTRLREG1
Bits Bit Name
[7:0] F
0x477
CTRLREG2
7
ILAS_MODE
[6:4] RESERVED
3
THRESHOLD_MASK_EN
0x478
KVAL
[2:0] RESERVED
[7:0] KSYNC
0x47A
IRQVECTOR_FLAG
7
BADDIS_FLAG
6
NIT_FLAG
5
UCC_FLAG
4
3
RESERVED
INITIALLANESYNC_FLAG
2
BADCHECKSUM_FLAG
1
FRAMESYNC_FLAG
0
CODEGRPSYNC_FLAG
7
BADDIS_MASK
6
NIT_MASK
5
UCC_MASK
4
3
RESERVED
INITIALLANESYNC_MASK
2
BADCHECKSUM_MASK
1
FRAMESYNC_MASK
0x47A
IRQVECTOR_MASK
Settings Description
Number of Octets per Frame. Settings of 1, 2, and
4 are valid. See Table 33.
1 One octet per frame.
2 Two octets per frame.
4 Four octets per frame.
ILAS test mode. Defined in Section 5.3.3.8 of
JESD204B specification.
1 JESD204B receiver is constantly receiving ILAS frames.
0 Normal link operation.
Reserved.
Threshold mask enable. Set this bit if using
SYNC_ASSERTION_MASK (Register 0x47B[7:5]).
Reserved.
Number of K multiframes during ILAS (divided by
four). Sets the number of multiframes to send
initial lane alignment sequence. Cannot be set to 0.
x 4x multiframes during ILAS.
Bad disparity error Count.
1 Bad disparity character count reached
ERRORTHRESH (0x47C) on at least one lane. Read
Register 0x46D to determine which lanes are in error.
Not in table error count.
1 Not in table character count reached
ERRORTHRESH (0x47C) on at least one lane. Read
Register 0x46E to determine which lanes are in error.
Unexpected control character error count.
1 Unexpected control character count reached
ERRORTHRESH (0x47C) on at least one lane. Read
Register 0x46F to determine which lanes are in error.
Reserved.
Initial lane sync fag.
1 Initial lane sync failed on at least one lane. Read
Register 0x473 to determine which lanes are in error.
Bad checksum flag.
1 Bad checksum on at least one lane. Read Register
0x472 to determine which lanes are in error.
Frame sync flag.
1 Frame sync failed on at least one lane. Read
Register 0x471 to determine which lanes are in error.
Code group sync flag.
1 Code group sync failed on at least one lane. Read
Register 0x470 to determine which lanes are in error.
Bad disparity mask.
1 If the bad disparity count reaches ERRORTHRESH
on any lane, IRQ is pulled low.
Not in table mask.
1 If the not in table character count reaches
ERRORTHRESH on any lane, IRQ is pulled low.
Unexpected control character mask.
1 If the unexpected control character count reaches
ERRORTHRESH on any lane, IRQ is pulled low.
Reserved.
Initial lane sync mask.
1 If initial lane sync (0x473) fails on any lane, IRQ is
pulled low.
Bad checksum mask.
1 If there is a bad checksum (0x472) on any
lane, IRQ is pulled low.
Frame sync mask.
1 If frame sync (0x471) fails on any lane, IRQ is
pulled low.
Rev. 0 | Page 102 of 104
Reset Access
0x1
R/W
0x0
R/W
0x0
0x0
R/W
R/W
0x0
0x1
R/W
R/W
0x0
R
0x0
R
0x0
R
0x0
0x0
R
R
0x0
R
0x0
R
0x0
R
0x0
W
0x0
W
0x0
W
0x0
0x0
R
W
0x0
W
0x0
W
Data Sheet
AD9152
Addr.
Name
Bits
0
Bit Name
CODEGRPSYNC_MASK
0x47B
SYNCASSERTIONMASK
7
BADDIS_S
6
NIT_S
5
UCC_S
4
CMM
3
CMM_ENABLE
0x47C
ERRORTHRES
[2:0] RESERVED
[7:0] ETH
0x47D LANEENABLE
[7:4] RESERVED
[3:0] LANE_ENA
0x47E
[7:1] RESERVED
0
ENA_RAMP_CHECK
RAMP_ENA
Settings Description
Code group sync machine mask.
1 If code group sync (0x470) fails on any lane, IRQ is
pulled low.
Bad disparity error on sync.
1 The deframer asserts the SYNCOUT± signal when
the bad disparity error count reaches the threshold
in Register 0x47C.
0 The deframer does not assert the SYNCOUT±
when the bad disparity error count reaches the
threshold in Register 0x47C.
Not in table disparity character error on sync.
1 The deframer asserts the SYNCOUT± signal when
the not in table disparity character error count
reaches the threshold in Register 0x47C.
0 The deframer does not assert the SYNCOUT±
when the not in table disparity character error
count reaches the threshold on Register 0x47C.
Unexpected K character error on sync.
1 The deframer asserts the SYNCOUT± signal when
the unexpected K character error count reaches
the threshold in Register 0x47C.
0 The deframer does not assert the SYNCOUT±
when the unexpected K character error count
reaches the threshold in Register 0x47C.
Writing a 1 resets the CMM_IRQ (applicable if
Register 0x47B, Bit 3 = 1) Configuration mismatch
flag when read.
1 Lane 0 configuration registers (Register 0x450 to
Register 0x45D) do not match the comparable
JESD204B transmit settings as reported in
Register 0x400 to Register 0x40D.
0 Lane 0 configuration registers (Register 0x450 to
Register 0x45D) match the comparable JESD Tx
settings as reported in Register 0x400 to Register
0x40D.
Configuration mismatch IRQ enable.
1 Enables IRQ generation if a configuration mismatch
is detected.
0 Configuration mismatch IRQ disabled.
Error threshold. Bad disparity, not in table, and
unexpected control character errors are counted
and compared to the error threshold value. When
the count reaches the threshold, either an IRQ is
generated or the SYNCOUT± signal is asserted per
the mask register settings, or both. Function is
performed in all lanes.
Reserved.
Lane Enable. Setting Bit x enables Lane x. This
register must be programmed before receiving
the code group pattern for proper operation.
Reserved.
Enable ramp checking at the beginning of ILAS.
0 Disable ramp checking at beginning of ILAS; ILAS
data need not be a ramp.
1 Enable ramp checking; ILAS data needs to be a
ramp starting at 00-01-02; otherwise, the ramp
ILAS fails and the device does not start up.
Rev. 0 | Page 103 of 104
Reset Access
0x0
W
0x0
R/W
0x0
R/W
0x0
R/W
0x0
R/W
0x1
R/W
0x0
0xFF
R/W
R/W
0x0
0xF
R
R/W
0x0
0x0
R
W
AD9152
Data Sheet
OUTLINE DIMENSIONS
8.10
8.00 SQ
7.90
0.30
0.25
0.18
PIN 1
INDICATOR
PIN 1
INDICATOR
56
43
1
42
0.50
BSC
*6.70
EXPOSED
PAD
6.60 SQ
6.50
29
0.80
0.75
0.70
0.45
0.40
0.35
14
15
28
BOTTOM VIEW
0.05 MAX
0.02 NOM
COPLANARITY
0.08
0.203 REF
PKG-004323
SEATING
PLANE
0.20 MIN
6.50 REF
FOR PROPER CONNECTION OF
THE EXPOSED PAD, REFER TO
THE PIN CONFIGURATION AND
FUNCTION DESCRIPTIONS
SECTION OF THIS DATA SHEET.
*COMPLIANT TO JEDEC STANDARDS MO-220-WLLD-5
WITH EXCEPTION TO EXPOSED PAD DIMENSION.
08-01-2013-B
TOP VIEW
Figure 80. 56-Lead Lead Frame Chip Scale Package [LFCSP_WQ]
8 mm × 8 mm Body, Very Very Thin Quad
(CP-56-9)
Dimensions shown in millimeters
ORDERING GUIDE
Model 1
AD9152BCPZ
AD9152BCPZRL
AD9152-EBZ
AD9152-FMC-EBZ
AD9152-M6720-EBZ
1
Temperature Range
−40°C to +85°C
−40°C to +85°C
Package Description
56-Lead Lead Frame Chip Scale Package [LFCSP_WQ]
56-Lead Lead Frame Chip Scale Package [LFCSP_WQ]
DPG3 Evaluation Board
FMC Evaluation Board
DPG3 Evaluation Board with ADRF6720 Modulator
Z = RoHs Compliant Part.
©2015 Analog Devices, Inc. All rights reserved. Trademarks and
registered trademarks are the property of their respective owners.
D12994-0-4/15(0)
Rev. 0 | Page 104 of 104
Package Option
CP-56-9
CP-56-9