Change RF parameters from matlab using libiio on adrv9361z7035
Show older comments
I am using adrv9361z7035 board. I wanted to control the RF parameters OF AD9361 from matlab using libiio. As the first step I have installed and setup Communications Toolbox Support Package for Xilinx Zynq-Based Radio. With the Linux image copied to the SD card, i was able to run the example.
1) I wanted to change the RF parameters like sampling frequency, LO frequency, gain, gain mode, etc from matlab with the help of libiio. Is there any APIs for that.
2) Will i be able to do the same if i load a cutom binary file?
By using the system command i am able to change few RF parametrs from matlab wilth iio commands(image:system(iio_cmd)).
I tried to follow this link to capture samples and save it
https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_readdev
3) I was able to do so with the image provided while setting up communication toolbox. But when i try to capture using a custom binary,even with qpsk example model, I am getting buffer error "Unable to refill buffer: Unknown error".
Any inputs will be helpfull. Thankyou.
Accepted Answer
More Answers (0)
Categories
Find more on Targeting FPGA & SoC Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!