I would like to call my libIIO on the ARM of Zedboard, and transmit data and receive data from AD-FMCOMMS4-EBZ(which is AD9364).
Is there any document about:
where is the Linux code base that includes libIIO and corresponding driver of AD9364?
how to add and compile my personal C code with the upper code base?
Could you please kindly help me?
Thanks and Best Regards,
I found ADI Linux code base at:
in drivers/iio folder of the upper git repo, there are C drivers for AD9364.
but I didn't find the libiio source code the upper code base.
Do you have any document about how to add libiio to the upper code base?
I didn't find the cross-compiler for the code, do you have any guideline?
Many thanks and Best Regards,
Please see here:
If you want to know more about the AD9361 IIO API please start looking here:
Many thanks, Mhennerich!
I got 2 question about the instructions in the upper 2 links you mentioned:
Configure kernel with “make menuconfig” (alternatively use “make xconfig” or “make qconfig”)
where should I run the command "make menuconfig"?
how to install the cross compiler?
I try to install it by installing petalinux by following the instructions from Xilinx confluence:
but I am experiencing issue:
If it is necessary, I could migrate the upper question to ADI forum for your reference.
Do you have any suggestion about the upper issue?
We don't have any help/hints for PetaLinux.
It is on our plan to write a Wiki for this, but we're not there yet.
Our example for building the linux kernel refers to
or more particularly
You should run the `make menuconfig` command inside a Linux repository (particularly ours).
If you want to control the AD9364 via libiio (from userspace), you would need this repo:
But generally, looking through wiki.analog.com should help.
It is pretty well documented for this stuff.
Many thanks for your answer!
Is there any doc about how to build libiio, libad9361-iio and my personal application to the image(Linux)?