We are developing a linux application(ad9371-iiosteram.c) for AD9371. We are referring to ad9361-iiosteram.c and dummy-iiosteram.c file..
Now we are able to Acquire local context, acquire both tx and rx devices and create tx and rx buffer. now I want to push IQ data to hardware. I am looping back tx and rx using RF cables ( TX1 => RX2 ). Then I want capture IQ samples from Rx2 port. But iio_channel_read API is giving me segmentation fault. What may be the reason ?
PFA of ad9371_iiosteram.c