SYZYGY ADC-LTC226X Reference Design
Introduction
This reference design uses FrontPanel with an XEM8320 to obtain data from a SYZYGY ADC peripheral. A host PC running Windows 10 generates an animated graph of the retrieved data. The design is based heavily on Xilinx Application Note 524, XAPP524, and implements a simplified version of the serial LVDS interface described by Xilinx.
Required Materials
- XEM8320
- SZG-ADC-LTC2264-12 or SZG-ADC-LTC2268-14
- SMA cable
- FrontPanel Version 5.2.5
- Python 3.7.3 – This guide was performed with this version of Python, but might work with newer or older versions of Python 3.
- Matplotlib 3.5
- Vivado 2021.1.1 or later
- ADC reference design source code on GitHub
Tutorial
This tutorial guides you through using your SZG-ADC-LTC2264-12 or SZG-ADC-LTC2268-14 with this example reference design. You will accomplish building the gateware and running the graphing utility.
- Turn off your XEM8320.
- Connect a SZG-ADC to port A.
- Connect an SMA cable to the SZG-ADC and your analog signal source. An audio source with a voltage less than 2 volts peak-to-peak works well.
- Connect your XEM8320 to your host PC with the provided USB cable.
- Power on your XEM8320.
- Follow the “How to Build the Gateware” section below.
- Follow the “How to Run the Graphing Utility” section below.
How to Build the Gateware
- Open Vivado 2021.1.1 or later.
- In the Tcl Console, enter
cd <ADC_Sample directory>
.- Make sure you use forward slashes instead of backslashes for the file structure.
- If you are using the ADC-LTC2264-12, enter
source project-adc12.tcl
to generate the project. - If you are using the ADC-LTC2268-14, enter
source project-adc14.tcl
to generate the project. - Click ‘Generate Bitstream’ after the project opens.
How to Run the Graphing Utility
- Set up your Python environment by following the instructions from the Opal Kelly ‘Programming Languages’ documentation’ under ‘Python API,’ placing the required files into the reference design’s
python
folder. - Place the generated bitstream from ‘How to Build the Gateware’ in the reference design’s
python
folder. - Power on the XEM8320.
- Run
adc_read.py
with the name of the bitfile as an argument. - The animated graph is now displaying the analog signal.