Hello, we are using the AD9375 with the Linux Driver by AD. We take advantage of the IIO oscilloscope plug in for AD9371/5 in order to provide manual configuration. We are investigating the Initial Calibration procedure. On UG992, we collected MYKONOS APIs in order to enable and monitor Initial Calibrations. We realized that the Mykonos APIs require us to develop a HAL to be ported on our environment. We posted questions on Design Support to AD9371/AD9375 and we were told the following:
“API's are basic C codes and can be used with Linux and NO-OS bare metal setup. Linux drivers . https://wiki.analog.com/resources/tools-software/linux-drivers/iio-transceiver/ad9371?s=ad9371&s=linux “
But we have tried to use the APIs with Linux. Our attempt was to use them in user space, but we realized the SPI is used by the AD9371 driver and it doesn’t allow us to write the SPI HAL layer inside the Mykonos library. We suspect we should use the spidev driver instead of the AD9371 one in case we want to use the Mykonos library in user space. Are we doing something wrong?
Thank you for any suggestion you will be able to provide
There are multiple ways to control the transceiver. If you are using Linux and libiio you need to iio driver API: https://wiki.analog.com/resources/tools-software/linux-drivers/iio-transceiver/ad9371
The iio driver uses the mykonos API under the hood.
Alternatively, you can use No-OS which utilizes the Xilinx SDK and you can directly use the mykonos API: https://wiki.analog.com/resources/eval/user-guides/mykonos/no-os-setup
You can use Linux+libiio or No-OS, but not together for AD9371.