I compiled the the ad9361 iiostream.c example and executed it successfully with default bandwidth, central frequency and sample rate. Frequency provided to adrv9361-Zc7035 by signal generator at RX1a with 0dbm level and displayed this signal on spectrum analyzer from channel TX1a. But the signal level of transmitted signal was very low -80dbm . I verified the signal generator and spectrum analyzer for functionality by connecting direct to one another . So the cable and equipment were correct .
Now I want to know that how I can increase signal level of the transmitted signal or what is the issue.
I would first start playing with the OSC application:
On the advanced plugin BIST tab - you can do a RX->TX loopback.
If you get your expected signal levels, by setting TX attenuation, RX gain, etc.
You can move back to the iostream example:
Please note that this example only writes 0 to the TX buffer!
Also note that that the TX samples are MSB aligned, so they need to be shifted by 4 or multiplied by 32.
Thank you very much. I successfully executed the loop back using IIO-oscilloscope.
Now, I want to take fixed values of RX and TX chain like whenever i open the oscilloscope and run the channel one in frequency domain (FFT), I see fixed values of RX and TX chain (RF bandwidth, Sampling rate, RX/TX LO). I already tried doing this in GUI widget's fmcomms2.glade file. This served the purpose a bit by giving me a short range of values but ultimately i need to change the power up defaults. I guess it can be done in device tree. but i don't know how i can do this. can u share any document or suggest me any approach that can be used to take fix values instead range of values.
Please see here:
thanks for the quick response. Let me try it and i'll share my results.
I read your recommended documents and some other resources. I think i don't need to modify the drivers and device tree. I only need to change the user interface of the iio-oscilloscope. For example, On the advanced plugin BIST tab loopback option, we have three drop down options. I need only one and remove the other two from GUI. I don't want to change the functionality i just need to change user interface. All three functional options can be present but only can see only one option and cannot change it.
I tried doing so by editing fmcomms2_adv.glade file. But whatever i changed and compiled,installed, resulted in disappearance of fmcomm2/3/4 plugin. I also tried just changing the order of mentioned three option but still result was the same. The whole plugin disappeared.
I hope i made my goal and problem clear. Am i missing something or going to the wrong way?