0220 Interfacing FPGAs To An ADCs Digital Data Output
0220 Interfacing FPGAs To An ADCs Digital Data Output
Interfacing FPGAs to an
ADC’s Digital Data Output
The Applications Engineering Group
VISIT ANALOG.COM
Typical CMOS drivers shown in Figure 3 are capable of generating large tran-
FPGA
sient currents, especially when driving capacitive loads. Particular care must
75 MHz Converter be taken with CMOS data output ADCs so that these currents are minimized
× 128 Bits and do not generate additional noise and distortion in the ADC.
SERDES 600 MHz
FPGA × 16 Bits × 16 Bits
Logic Typical Examples
Generates 10 mA/Bit
fS dV
= 1 V/ns Charging Current when
dt
Figure 2. SERDES blocks in an FPGA interface with high speed serial interfaces on a Driving 10 pF Directly
converter. R
Analog ADC with
General Recommendations Input CMOS Outputs N Bits
C = 10 pF
Some general recommendations are helpful in interfacing between ADCs Simulates 1 Gate Load
and FPGAs. 1
Plus PCB Parasitics
Make RC <0.1 f
S
X Use external resistor terminations at the receiver (FPGA or ASIC), rather For fS = 100 MSPS, RC <1 ns
than the internal FPGA terminations, to avoid reflections due to mismatch If C = 10 pF, R = 100 Ω
Figure 5 shows a standard LVDS driver in CMOS. The nominal current is 3.5 mA
and the common-mode voltage is 1.2 V. The swing on each input at the receiver
Figure 3. Typical CMOS digital output drivers. is therefore 350 mV p-p when driving a 100 Ω differential termination resistor.
This corresponds to a differential swing of 700 mV p-p. These figures are
ADC digital outputs should be treated with care because transient currents derived from the LVDS specification.
can increase the noise and distortion of the ADC by coupling back into the
analog input.
–200
–500
(a) (b)
Smaller Output
Swing = Save Power:
~30 mW at 40 MSPS to 65 MSPS
100 100
Tie Jitter Histogram (Hits)
50 50
0 0
–100 ps 0 ps 100 ps –100 ps 0 ps 100 ps
(c) (d)
Data Eye for LVDS Outputs in Data Eye for LVDS Outputs in
ANSI Mode with Trace IEEE Mode with Trace
Lengths Less than 12” Lengths Less than 12”
on Standard FR-4 on Standard FR-4
There are two LVDS standards: one is defined by ANSI and the other by IEEE. Figure 7 compares the ANSI and IEEE LVDS standards with long trace lengths
While the two standards are similar and generally compatible with each other, above 12” or 30 cm. Both graphs are driven at the ANSI version standard.
they are not identical. Figure 6 compares an eye diagram and a jitter histogram In the graph on the right, the output current is doubled. Doubling the output
for each of the two standards. IEEE standard LVDS has a reduced swing of current cleans up the eye and improves the jitter histogram.
200 mV p-p as compared to the ANSI standard of 320 mV p-p. This helps to
Note the effects of a long trace on FR4 material in Figure 8. The left plot shows
save power on the digital outputs. For this reason, use the IEEE standard if it
an ideal eye diagram, right at the transmitter. At the receiver, 40” away, the
will accommodate the application and connections that need to be made to
eye has almost closed and the receiver has difficulty recovering the data.
the receiver.
Visit analog.com // 3
EYE: ALL BITS ULS: 9600/15600 EYE: ALL BITS ULS: 9599/15599
500 400
200 200
Eye Diagram Voltage (mV)
–200 –200
–500 –400
Smaller Output
Swing = Save Power:
~30 mW at 40 MSPS to 65 MSPS
100
100
Tie Jitter Histogram (Hits)
50
50
0 0
–100 ps 0 ns 100 ps –150 ps –100 ps –50 ps 0 ns 50 ps 100 ps 150 ps
(c) (d)
Data Eye for LVDS Outputs in Data Eye for LVDS Outputs in
ANSI Mode with Trace Lengths ANSI Mode with Double Current
Greater than 12”on Standard FR-4 On, Trace Lengths Greater than 12”
on Standard FR-4
Figure 7. ANSI vs. IEEE LVDS standards with traces over 12”.
Figure 9. AD9268 ADC with missing bit 14. Figure 11. AD9268 ADC time domain plot with missing bit 14.
In Figure 9, a Visual Analog® digital display of the data bits shows that Figure 11 is a time domain plot of the same data. Instead of a smooth
bit 14 never toggles. This could indicate an issue with the part, the PCB, or sine wave, the data is offset and has significant peaks at points through-
the receiver, or that the unsigned data simply is not large enough to toggle out the waveform.
the most significant bit.
Figure 12. AD9268 ADC with bit 9 and bit 10 shorted together.
Figure 10. AD9268 ADC frequency domain plot with missing bit 14.
In Figure 12, instead of missing a bit, two bits are shorted together so that
Figure 10 shows a frequency domain view of the previous digital data where the receiver always sees the same data on the two pins.
bit 14 is not toggling. The plot shows that the bit is significant and there is
an error somewhere in the system.
Visit analog.com // 5
Figure 15 shows a converter with invalid timing, in this case caused by setup/
hold problems. Unlike the previous errors, which generally showed them-
selves during each cycle of the data, timing errors are usually less consistent.
Less severe timing errors may be intermittent. These plots show the time
domain and frequency domain of a data capture that is not meeting timing
requirements. Notice that the errors in the time domain are not consistent
between cycles. Also, note the elevated noise floor in the FFT/frequency
domain. This usually indicates a missing bit, which can be caused by incorrect
time alignment.
Figure 13. AD9268 ADC frequency domain plot with bit 9 and bit 10 shorted together.
Figure 13 shows a frequency domain view of the same case where two bits
are shorted together. While the fundamental tone is clearly present, the
noise floor is significantly worse than it should be. The degree to which the
floor is distorted depends on which bits are shorted.
Figure 16. AD9268 zoom-in time domain plot with invalid data and clock timing.
Figure 16 is a closer view of the time domain timing error shown in Figure 15.
Again, note that the errors are not consistent from cycle to cycle, but that
certain errors do repeat. An example is the negative spike on the valley of
several cycles in this plot.
Conclusion
This article discussed the standard interfaces—SPI, I2C, SPORT, LVDS, and
JESD204A—used to connect an FPGA to an ADC. Interfacing FPGAs to ADCs
will continue to be a common challenge as the data rate further increases.
Figure 14. AD9268 ADC time domain plot with bit 9 and bit 10 shorted together.
JESD204B supports 12.5 Gbps, and JESD204C will move to 32 Gbps. Careful
In the time domain view shown in Figure 14, the issue is less obvious. Although design will be required to achieve those high data rates.
some smoothness is lost in the peaks and valleys of the wave, this is also com-
mon when the sample rate is close to the waveform’s frequency.
Online Support
Community
Engage with the
Analog Devices technology experts in our online support
community. Ask your tough design questions, browse FAQs,
or join a conversation.
Visit ez.analog.com
Figure 15. AD9268 time domain plot with invalid data and clock timing.
For regional headquarters, sales, and distributors or ©2013 Analog Devices, Inc. All rights reserved. Trademarks and
to contact customer service and technical support, registered trademarks are the property of their respective owners.
visit analog.com/contact.
Ahead of What’s Possible is a trademark of Analog Devices.
Ask our ADI technology experts tough questions,
browse FAQs, or join a conversation at the
Analog Devices, Inc. EngineerZone Online Support Community.
Visit analog.com Visit ez.analog.com. TA10339-11/19(A)