Dear Support Team:
I am using ADRV9008-2 eval board with ZC706.
I want to transmit data and capture observation data from Matlab to ADRV9008.
TES works well, but I cannot connect the board with Matlab.
This is how I did it:
1. download and install Board Support packages
2 Use the same SD card(JUNE 2018 rev 1.0 for use with Windows-based TES)
3. ran in Matlab:
tx = adi.ADRV9009.Tx('uri','ip:192.168.1.10');
rx = adi.ADRV9009.Rx('uri','ip:192.168.1.10');
data = rx();
it returned: Failed to create context for uri: ip:192.168.1.10
How should I transmit the signal via Matlab to board? And I guess I should read data from observation path not RX in 9008-2, what API should I use ?
Thanks a lot
Please refer below post whether it helps,
Thanks for your reply!
I tried the same API referring to these posts, but I cannot connect to the board via Matlab.
I am using the same SD card shipped with 9008-2 board that works for TES. Is this SD card right for Matlab API control?
PS, I am using ZC706 FPGA.
The MATLAB interfaces that use the below API require the "Prototyping Platform" software stack running on the FPGA board, not the TES SD card.
For the ZC706 this is no official release yet, but you can build the boot files for the FPGA from our master repositories. Here are instructions for building the BOOT.BIN and kernel: https://wiki.analog.com/resources/tools-software/linux-build/generic/zynq
For the TES, the GUI will export MATLAB scripts but the API is different. This is more closely related to the ADRV9009 C API itself.
I didn't find the devicetree for ADRV900x from the master repositories.
The default is : zynq-zc702-adv7511-ad9361-fmcomms2-3.dtb
What 'devicetree_file' I should use?
Looks like this was missing for ADRV9008. They have been added here: https://github.com/analogdevicesinc/linux/commit/5afc51f89687e0433f3990221912fefc8b1a6126