analogdevicesinc / gr-iio

IIO blocks for GNU Radio
GNU General Public License v3.0
94 stars 62 forks source link

USRP E310 and gr-iio #78

Open krono-i2 opened 4 years ago

krono-i2 commented 4 years ago

Hello, I'm trying to use GNU Radio and USRP E310 in "network mode" and I found out that this is possible using iio drivers and gr-iio. To simplify the interface I added source/sink blocks in gr-iio module, adapting fmcomms2 ones. I would like share with you these blocks, they could be useful to someone.

Now, I have some questions:

Ivan

mod.zip

tfcollins commented 4 years ago

How are these different than the existing FMComms blocks? They seem just have a name change from FMComms->E310.

  1. Driver changes frequencies on all platforms that use AD936x.
  2. I don't believe this is possible through a standard attribute right now. Essentially you need to change the GPIO settings (adi,gpio-settings) in the device tree, which is possible through debug fs attributes and re-initializing the driver. The driver handles the filter bank
krono-i2 commented 4 years ago

The block are almost the same for fmcomms2. On E310 it‘s not possible to select the rf paths, thus I removed such a feature in both, source and sink code. Furthermore, I removed the exceptions provided for fmcomms4 (ad9364). I also found out, and corrected in E310 block, a bug in the yml of the fmcomms2 source: gain box was not revealed when manual mode was selected.

1) I was not talking about frequency set, but rf path select. 2) Ok, I will investigate on the driver side.

Ivan

tfcollins commented 4 years ago
  1. Driver handles this.