Hi everyone.
we download boot image from analog devices https://wiki.analog.com/resources/tools-software/linux-software/zynq_images which designated to zynq-zc706-adv7511-ad9361-fmcomms2-3. we succeeded in using the iio oscilloscope properly but we also interset with the same image to use matlab/simulink .
we looked at the https://wiki.analog.com/resources/tools-software/linux-software/libiio/clients/matlab_simulink#property_dialog_and_configuration_file but we didn't understand:
1. how to build the configuration file and where to put it?
2. did we need to change something in our SD card (boot image).
3. we download the libiio for windows (turn out it was just the iio oscilloscope software), we need to download more files which concerned the libiio , if there are more files which files and how to install them properly?
4. we saw that dts file provided by mathwork contains extra drivers which include the matlab drivers(we presume) but it doesn't include the analog devices environment , did we need to touch the devicetree of analog devices and modify it ? and how? (we are not experienced embedded engineering we come from the fpga world)
thanks for your help .
Dupe of https://ez.analog.com/linux-software-drivers/f/q-a/539773/how-to-use-matlab-system-block-which-combined-to-iio-oscilloscope-proper
Moving conversation there.
-Travis
The original libiio bindings in that link for MATLAB have been deprecated. For AD9361 and other transceivers, MATLAB support from ADI is provided by the Transceiver Toolbox: https://wiki.analog.com/resources/tools-software/transceiver-toolbox
This relies upon the standard SD card (the one you linked), and no modifications need to be made to the device tree or HDL. It will just work out of the box.
thank you for the response.
if you mind we have one more question:
if we talking about streaming simulation in the means that by building the configuration file provided by analog devices we create the following system in simulink:
as we can see the parameters in the inputs and outputs of the block represent the iio oscilloscope's parameters when configure the tx and rx parameters of the ad9361.
if we interest to adding to this block the attributes and properties of the connection between ad9361 to ad-frqcvt1-ebz how we do it and what will be the relevant updates to our cfg file ?
thank you very much