AnsweredAssumed Answered

How do I confirm the frequency of FMCOMMS1 by libiio function?

Question asked by Nobunari on Nov 12, 2015
Latest reply on Nov 18, 2015 by Nobunari

Hello.

I am using FMCOMMS1 and FMCOMMS4 with Zedboard and would be interested to learn about libiio.

I want to set RX local frequency of Both cards at 2.44224GHz.

In case of FMCOMMS4, example code of libiio(ad9361-iiostream.c) uses "iio_channel_attr_write_longlong".

and also uses "frequency" as attribute.

Although I can't read frequency by "iio_channel_attr_read_longlong".
Actually, when I searched attribute by function "iio_channel_get_attr" , there were no words "frequency".

I can only confirm it by pushing iio-oscilloscope's Reload settings button,

and its source doesn't use function "iio_channel_attr_read_longlong"
or the one listed libiio mainpage "http://analogdevicesinc.github.io/libiio/".

 

The matter is same as FMCOMMS1 and attribute "rf_bandwidth".

 

I read thread "http://ez.analog.com/thread/71768", but FMCOMMS1 doesn't use AD9361 but AD9643.

 

I have two questions.

 

1. Where is the discription about attribute "frequency".

2. How do I confirm the frequency of FMCOMMS1 by libiio function ?

 

I look foward to your reply.

Thanks for reading.

Outcomes