It looks that the TX and RX sampling rates have to be the same in IIO setting. Is there any special reason for that? Thanks.
They are the same. You only need to write one -
No need to update both with the same value.
The constraints are that they need to be either the same or if FDD Special Timing mode is used they can be Rx rate = 2 * Tx rate.
If the two sampling rates are the same in general, the call to ad9361_set_rx_sampling_freq and ad9361_set_tx_sampling_freq need to take the same input value, right? Thanks.
I think that you are right, but to make sure I will transfer this post to Linux Software Drivers subspace for a confirmation.
I have same problem. Why these two have to be same? Does the IIO or AD9361 HW force the same? In my application, I need different TX and RX sampling rate. Thanks.
please see comments above. It's a HW constrain.
You only need to write one of these ad9361_set_tx(rx)_sampling_freq attributes.
Or for the no-OS driver these are function calls.
Thanks for the reply.
Now I know this is a HW issue. Thanks!
Retrieving data ...