Post Go back to editing

Programming the ADS7-V2 EBZ with MATLAB

I have a problem programming the AD7-V2 board with MATLAB. My goal is to automate tone generation from the AD9162 through the AD7-V2. Specifically, the demo script I am using appears to be outdated. There are a number of string changes and variable tweaks I had to make to the GetAds7.m and AD9162.m scripts to get them somewhat working, but I am stuck now. There are a bunch of methods that do not appear to be accessible. For example:

% Set the FMC LA signal mapping
jesd204Core.Tx.SetSignalLAPort('SYNC0', 1);

where jesd204Core is an instance of dpg_interface.AttachedDevices.JESD204.

Tx is not a field of the ADS7 IHardware device, and SetSignalLAPort is not a method. I checked the programming reference which was also not helpful. There are some fields that have the right name but have moved to a different class. For instance, jesd204Core.Tx.M has been moved to the JESD204 Framer class.

At this point, the only thing I can think of to try is downloading an older version of the DPGDownloader which appears in the readme.txt with the MATLAB code I am using. Is there an updated script I can use, or am I just using the wrong code?

Using MATLAB with ADS7 Series Pattern Generators [Analog Devices Wiki]   

Programming Reference [Analog Devices Wiki] 

ftp://ftp.analog.com/pub/HSSP_SW/HSCDAC/dpg/matlab/AD9162_Matlab_readme.txt

  • I've asked our developer about this and will get back to you shortly.

  • Thank you. If it helps, here are the version #s of my setup:

    Software

    DPGDownloader: Version 1.3.25.64 *demo script suggests 1.3.37.85 or later

    AnalogDevices.DPG.EvalBoard.AD9162: 1.3.30.0

    AnalogDevices.DPG.Hardware.ADS7: 1.0.2.0

    Hardware

    AD9162-EBZ-FMC

    AD7-V2-EBZ

    Firmware

    JESD204B.A.ADS7V2

    *demo script suggests JESD204B.B.ADS7V2, which I do not have in my C:\Program Files (x86)\Analog Devices\DPG\FPGA Configurations folder

    I can also email the matlab scripts I am using to you or to your developer. Meanwhile, I will try downloading the version of DPGDownloader specified in the readme.txt and see if that makes a difference. It could be that my version is the one that is outdated.

  • The MATLAB demo requires the most recent software release. It will not work with previous versions of the DAC Software Suite. New methods have been added to the API and the FPGA image has been changed. Please install version 1.3.37.85  (http://swdownloads.analog.com/DSS/DAC_Setup_1.3.37.85_Full.exe) of the DAC Software Suite. The demo script should work without modification.