USB104 A7 Zmod Scope 1410 Demo
Overview
This project demonstrates the implementation of a Zmod Scope 1410 on the USB104 A7.
Description
The simplified block diagram of the system implemented for this demo is shown below:
A console application is used to communicate with the USB104 A7. A typical application would be to arm the Zmod Scope 1410 with a specified trigger and store the resulting waveform to a file. The process of an arm operation on channel 1 is as follows:
1. Run application and program device.
2. Send a trigger level command to device using the application. “level 1.0”
-
Triggerlevel opcode (4) or'ed with channel 1 (1«16) is sent over DPTI, followed by the value
3. Send an arm command to device along with a file name to save to. “arm waveform.csv”
-
ARM OPCODE(1)或带有通道1(1«16)的ARM OPCODE(1)通过DPTI发送。
-
The application then requests a buffer of default length 0x3FFF from the DPTI device. It will wait until data is received before continuing.
4.当触发器发生时,将从ZMOD范围1410获取数据,并通过DMA发送到Channelbuffer。
5. Channelbuffer is then sent to the PC application over DPTI and saved to the specified CSV file.
在设计中实例化及其功能的IPS如下所述:
-
ZmodADC1410 Low Level Controller - initializes the Zmod Scope 1410 hardware and formats the input data according to the AD9648ADCrequirements.
-
AXI_ZmodADC - An AXI interface to communicate with the ZmodADC Low Level Controller from a software environment. Sends data to the ZmodADC through DMA.
-
AXI_DPTI - Initializes the DPTI interface. Sends and receives data from the DPTI interface through DMA.
-
AXI_IIC - An I2C interface to communicate with the ZmodADC hardware.
-
AXI_UARTLITE - A UART interface used to send debugging messages to a COM port on the PC.
Inventory
Hardware
-
-
Including aUSB A cable和5V电源
-
NOTE: SW1 DDR voltage set to 1.5V
-
-
-
Including aMicro USB cable
-
软件
-
Vivado Design Suite 2019.1withDigilent Board Support Filesinstalled
-
跟着Installing Vivado, Xilinx SDK, and Digilent Board Files指南如何安装Vivado和Digilent板支持文件。
-
-
-
用于读取FPGA的调试消息。跟着Serial Terminal Emulator Guidefor more information on installing and using Tera Term.
-
技能
-
Basic familiarity with Vivado
-
可以通过走过我们的“Vivado入门” guide
-
-
Basic familiarity with Digilent Waveforms
Downloads
Demo Setup
Hardware Setup
1. Connect the Analog Discovery 2 board to the host computer using a MicroUSB cable.
2. Connect the Zmod Scope 1410 to the USB104 A7 Syzygy port.
3. Connect the 5V power supply to the USB104A7. Plug the USB104 A7 into the PC using the USB A cable.
4. Screw the SMA to alligator clip cable into the Zmod Scope 1410, channel 1.
5.将AD2连接到鳄鱼夹,如下所示:
-
W1 to channel 1 red clip.
-
GND到达1个黑色剪辑。
软件Setup
Programming the FPGA
1. Download the release from the git reporeleases。这包括DPTI控制台应用程序,Vivado Project和Xilinx SDK文件,其中包括Vivado的预构建输出产品。
注意:发布/FPGA文件夹中已包含一个预编译的位+ELF位文件。可以使用Vivado Hardware Manager或Digilent Adept将其编程到FPGA。步骤2至8可以跳过。
2.启动Xilinx SDK。选择<版本目录>/fpga/sdk_workspace文件夹作为工作区。
3. Click文件>从文件系统打开项目。单击目录,然后选择<版本目录>/fpga/sdk_workspace。
4. SelectUSB104A7_ZmodADC_Demo,USB104A7_ZmodADC_Demo_bsp, 和design_1_wrapper_hw_platform_0。Click结束。Xilinx SDK will import these projects and build them automatically.
5. Program the FPGA by clickingXilinx FPGA程序>。ClickProgram。
6. To receive debug messages, open Tera Term and connect to the COM port associated with the USB104A7. Set the baud rate to 115200.
7. Program the Microblaze processor with the elf file. In the Project Explorer view, select theUSB104A7_ZmodADC_Demoproject. ClickRun>Run (Ctrl+F11)。
8. ClickLaunch on Hardware (System Debugger)和then click好的。
Generating a waveform
1. Open Digilent Waveforms and select the Wavegen.
2. Select the type of waveform to generate and clickRun。
Operating the Demo
1. Run
2.键入“ 0.5级”以将触发级设置为0.5V。TERA术语窗口应如下图所示显示调试信息。
3. Type “arm waveform.csv” to arm the Zmod Scope 1410. The program will arm the Zmod Scope 1410 and wait until the trigger occurs.
4. When the trigger occurs, the device will send the data to the PC and it will be saved to the waveform.csv file.
最后笔记
For more guides and example projects for your USB104 A7, please visit itsResource Center。
有关如何使用此演示中使用的其他数字产品的更多信息,请访问其各自的资源中心:
Analog Discovery 2,Zmod Scope。
要获得技术支持,请访问Digilent Forums。