AnsweredAssumed Answered

ad9361-iiostream error: Error -13 writing to channel "rf_port_select"

Question asked by suranga on Jan 26, 2018
Latest reply on Jan 29, 2018 by suranga

I have created a boot image using ADI kernel downloaded from github. I used petalinux to build the kernel. I have added the drivers ad9361-phy, cf-ad9361-dds-core-lpc and cf-ad9361-lpc and cross compiled libiio so I can run ad9361-iiostream.c example. When I try to run the example, I get the error:

* Acquiring IIO context
* Acquiring AD9361 streaming devices
* Configuring AD9361 for streaming
* Acquiring AD9361 phy channel 0
Error -13 writing to channel "rf_port_select"
value may not be supported.
* Destroying buffers
* Disabling streaming channels
* Destroying context


Could you please help me get this example to work?