usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Software Loopback RFNoC TX/RX same flowgraph

RW
Robert Wilson
Wed, Feb 24, 2021 9:13 PM

Hello,

OS: Linux Ubuntu 20.04
GRC: 3.8
UHD: 4.0
USRP: X310 with two UBX-160 daughterboards

Attempting to receive and repeat a spectrum with low latency without using
RX/TX streamers with RFNoC in GnuRadio.
Currently using the default x310 image core.
Steps I have taken to do this:
Shown that I can receive correct signal with a RX-Radio RFNoC Block ->DDC
RFNoC->Rx Streamer.
Also shown that I can transmit correct signal via TX Streamer-.>DUC
RFNoC->TX-Radio RFNoC Block.
However, when attempting  RX-Radio RFNoC Block ->DDC RFNoC-> DUC
RFNoC->TX-Radio RFNoC Block, there is no signal output and no TX/RX RX2
link lights.
Changing the Block Instances to match the existing default x310 image core
Static connections made the flow graph run, but again with no lights or
output.

I found (through this mailing list) relevant material on this, the "Stupid
RFNoC Tricks: Loopback"  in removing timestamps on received signals.
https://corvid.io/2017/04/22/stupid-rfnoc-tricks-loopback/

But, the current UHD build does not have the same filesystem or files (from
what I can tell).

Looking for guidance or reference in order to build this repeater.

Robert

Hello, OS: Linux Ubuntu 20.04 GRC: 3.8 UHD: 4.0 USRP: X310 with two UBX-160 daughterboards Attempting to receive and repeat a spectrum with low latency without using RX/TX streamers with RFNoC in GnuRadio. Currently using the default x310 image core. Steps I have taken to do this: Shown that I can receive correct signal with a RX-Radio RFNoC Block ->DDC RFNoC->Rx Streamer. Also shown that I can transmit correct signal via TX Streamer-.>DUC RFNoC->TX-Radio RFNoC Block. However, when attempting RX-Radio RFNoC Block ->DDC RFNoC-> DUC RFNoC->TX-Radio RFNoC Block, there is no signal output and no TX/RX RX2 link lights. Changing the Block Instances to match the existing default x310 image core Static connections made the flow graph run, but again with no lights or output. I found (through this mailing list) relevant material on this, the "Stupid RFNoC Tricks: Loopback" in removing timestamps on received signals. https://corvid.io/2017/04/22/stupid-rfnoc-tricks-loopback/ But, the current UHD build does not have the same filesystem or files (from what I can tell). Looking for guidance or reference in order to build this repeater. Robert
JP
Jonathon Pendlum
Wed, Feb 24, 2021 9:41 PM

Hi Robert,

Here is a patch to gr-ettus that adds loopback support and an example
flowgraph. You can apply it using "git am". This may not be what the final
result will look like when merged into gr-ettus, so consider this a
temporary solution.

Jonathon

On Wed, Feb 24, 2021 at 4:14 PM Robert Wilson via USRP-users <
usrp-users@lists.ettus.com> wrote:

Hello,

OS: Linux Ubuntu 20.04
GRC: 3.8
UHD: 4.0
USRP: X310 with two UBX-160 daughterboards

Attempting to receive and repeat a spectrum with low latency without using
RX/TX streamers with RFNoC in GnuRadio.
Currently using the default x310 image core.
Steps I have taken to do this:
Shown that I can receive correct signal with a RX-Radio RFNoC Block ->DDC
RFNoC->Rx Streamer.
Also shown that I can transmit correct signal via TX Streamer-.>DUC
RFNoC->TX-Radio RFNoC Block.
However, when attempting  RX-Radio RFNoC Block ->DDC RFNoC-> DUC
RFNoC->TX-Radio RFNoC Block, there is no signal output and no TX/RX RX2
link lights.
Changing the Block Instances to match the existing default x310 image core
Static connections made the flow graph run, but again with no lights or
output.

I found (through this mailing list) relevant material on this, the "Stupid
RFNoC Tricks: Loopback"  in removing timestamps on received signals.
https://corvid.io/2017/04/22/stupid-rfnoc-tricks-loopback/

But, the current UHD build does not have the same filesystem or files
(from what I can tell).

Looking for guidance or reference in order to build this repeater.

Robert


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Hi Robert, Here is a patch to gr-ettus that adds loopback support and an example flowgraph. You can apply it using "git am". This may not be what the final result will look like when merged into gr-ettus, so consider this a temporary solution. Jonathon On Wed, Feb 24, 2021 at 4:14 PM Robert Wilson via USRP-users < usrp-users@lists.ettus.com> wrote: > Hello, > > OS: Linux Ubuntu 20.04 > GRC: 3.8 > UHD: 4.0 > USRP: X310 with two UBX-160 daughterboards > > Attempting to receive and repeat a spectrum with low latency without using > RX/TX streamers with RFNoC in GnuRadio. > Currently using the default x310 image core. > Steps I have taken to do this: > Shown that I can receive correct signal with a RX-Radio RFNoC Block ->DDC > RFNoC->Rx Streamer. > Also shown that I can transmit correct signal via TX Streamer-.>DUC > RFNoC->TX-Radio RFNoC Block. > However, when attempting RX-Radio RFNoC Block ->DDC RFNoC-> DUC > RFNoC->TX-Radio RFNoC Block, there is no signal output and no TX/RX RX2 > link lights. > Changing the Block Instances to match the existing default x310 image core > Static connections made the flow graph run, but again with no lights or > output. > > I found (through this mailing list) relevant material on this, the "Stupid > RFNoC Tricks: Loopback" in removing timestamps on received signals. > https://corvid.io/2017/04/22/stupid-rfnoc-tricks-loopback/ > > But, the current UHD build does not have the same filesystem or files > (from what I can tell). > > Looking for guidance or reference in order to build this repeater. > > Robert > > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >
M
mamuki92@gmail.com
Wed, Jun 9, 2021 2:53 PM

Hi Jonathon,

I have a similar problem here with an E320. I have applied your patch, re-built gr-ettus and tried to test the grc included inside the patch in GNURadio, but it gives me the following error:

AttributeError: 'rfnoc_rx_radio_sptr' object has no attribute 'enable_rx_timestamps'  

I see this attribute defined in .cc and .h rfnoc_rx_radio files inside gr-ettus and also it is defined in the UHD radio_control class, so I do not understand why it does not work. I have also recompile uhd and gnuradio, just in case.

Is there any additional change that I must done to have this working?

Kind Regards,

Maria

Hi Jonathon, I have a similar problem here with an E320. I have applied your patch, re-built gr-ettus and tried to test the grc included inside the patch in GNURadio, but it gives me the following error: ``` AttributeError: 'rfnoc_rx_radio_sptr' object has no attribute 'enable_rx_timestamps' ``` I see this attribute defined in .cc and .h rfnoc_rx_radio files inside gr-ettus and also it is defined in the UHD radio_control class, so I do not understand why it does not work. I have also recompile uhd and gnuradio, just in case. Is there any additional change that I must done to have this working? Kind Regards, Maria
R
rblack@swri.org
Tue, Jun 15, 2021 5:44 PM

Hi Johnathon,

I am also trying to get loopback working on the X310. Several questions:

  • Did Maris’s issues get resolved?  With her last post she was still having problems after the patch install

  • Which UHD versions is your patch compatible with?

  • The software load comes with an “example program” called something like “loopback test”.  Is this supposed to work on X310?

  • What loopback latency would you expect?

thanks in advance

robert

Hi Johnathon, I am also trying to get loopback working on the X310. Several questions: * Did Maris’s issues get resolved? With her last post she was still having problems after the patch install * Which UHD versions is your patch compatible with? * The software load comes with an “example program” called something like “loopback test”. Is this supposed to work on X310? * What loopback latency would you expect? thanks in advance robert