Re: [USRP-users] RFNoC loopback without radio cores in C++ (UHD-3.15.LTS)

2020-11-18 Thread Jorge Arroyo Giganto via USRP-users
Hi, In case anyone finds this unresolved entry, I think I found the error I was making, it probably had to do with thread handling. I would recommend always creating a thread group (boost::thread_group tg), and then calling two separate threads, one for RX (tg.create_thread(boost::bind(&receive_th

Re: [USRP-users] RFNoC loopback without radio cores in C++ (UHD-3.15.LTS)

2020-11-11 Thread Jorge Arroyo Giganto via USRP-users
Hi Rob, Thanks again for your response. Enabling UHD logging didn't give much more information about my "No upstream blocks." message or about anything that might give any clues to make the program work. I'll attach my .cpp in this mail in case anyone sees anything off with it (as a quick reminde

Re: [USRP-users] RFNoC loopback without radio cores in C++ (UHD-3.15.LTS)

2020-11-10 Thread Rob Kossler via USRP-users
Hi Jorge, I don't immediately see what the problem is. I can tell you that it is certainly possible to do what you are doing. You can do so with as few as one rfnoc block or you can use a chain. I have done this often. Typically, after I verify my custom rfnoc block with a testbench, I will buil

Re: [USRP-users] RFNoC loopback without radio cores in C++ (UHD-3.15.LTS)

2020-11-10 Thread Jorge Arroyo Giganto via USRP-users
Hi Rob, Thank you for your quick response. I'm sorry if I didn't specifically mention that. I did connect the blocks calling the connect() function like so: uhd::rfnoc::graph::sptr txrx_graph = usrp3->create_graph("txrx"); usrp3->clear(); txrx_graph->connect(dmafifo_blockid, 0, gain_b

Re: [USRP-users] RFNoC loopback without radio cores in C++ (UHD-3.15.LTS)

2020-11-09 Thread Rob Kossler via USRP-users
Hi Jorge, I don't see any indication that you are calling the Connect() function to connect the RFNoC blocks in the FPGA. Rob On Mon, Nov 9, 2020 at 1:35 PM Jorge Arroyo Giganto via USRP-users < usrp-users@lists.ettus.com> wrote: > Hi all, > > After testing a loopback in GNU Radio with a custom b

Re: [USRP-users] RFNoC loopback

2018-09-30 Thread Daniel Rauschen via USRP-users
Hi Nick, that would be great, thanks. Daniel On 28.09.2018 20:33, Nick Foster wrote: Haven't had time to look at it, but certainly you should be able to connect blocks directly in UHD; this should be independent of loopback operation. I'll give it a shot in the next few days. Nick On Fri, Se

Re: [USRP-users] RFNoC loopback

2018-09-28 Thread Nick Foster via USRP-users
Haven't had time to look at it, but certainly you should be able to connect blocks directly in UHD; this should be independent of loopback operation. I'll give it a shot in the next few days. Nick On Fri, Sep 28, 2018 at 2:39 AM Daniel Rauschen via USRP-users < usrp-users@lists.ettus.com> wrote:

Re: [USRP-users] RFNoC loopback

2018-09-28 Thread Daniel Rauschen via USRP-users
Has nobody figured out how to do a RFNoC loopback in UHD/C++ ? On 26.09.2018 17:12, Daniel Rauschen via USRP-users wrote: Hi, sure, find the cpp attached. Thanks and best regards, Daniel On 26.09.2018 16:56, Brian Padalino wrote: On Wed, Sep 26, 2018 at 10:36 AM Daniel Rauschen via USRP-users

Re: [USRP-users] RFNoC loopback

2018-09-26 Thread Daniel Rauschen via USRP-users
Hi, sure, find the cpp attached. Thanks and best regards, Daniel On 26.09.2018 16:56, Brian Padalino wrote: On Wed, Sep 26, 2018 at 10:36 AM Daniel Rauschen via USRP-users mailto:usrp-users@lists.ettus.com>> wrote: Hi all, I have a question regarding a RFNoC loopback in plain UHD.

Re: [USRP-users] RFNoC loopback

2018-09-26 Thread Brian Padalino via USRP-users
On Wed, Sep 26, 2018 at 10:36 AM Daniel Rauschen via USRP-users < usrp-users@lists.ettus.com> wrote: > Hi all, > > I have a question regarding a RFNoC loopback in plain UHD. > > I am familiar with [1] and I have a working solution with gr-ettus and > python. The problem is, I can not figure out ho

Re: [USRP-users] RFNoC: Loopback broken

2018-01-16 Thread Daniel Rauschen via USRP-users
Hi Nick, it is for a X300 type USRP. Thanks for your reply, Daniel On 16.01.2018 17:21, Nick Foster wrote: I haven't tried loopback since that version was introduced. Can you remind me if your application was for E300 or X300? Nick On Tue, Jan 16, 2018, 1:56 AM Daniel Rauschen via USRP-

Re: [USRP-users] RFNoC: Loopback broken

2018-01-16 Thread Nick Foster via USRP-users
I haven't tried loopback since that version was introduced. Can you remind me if your application was for E300 or X300? Nick On Tue, Jan 16, 2018, 1:56 AM Daniel Rauschen via USRP-users < usrp-users@lists.ettus.com> wrote: > Hi all, > > I recently upgraded from *UHD_4.0.0.rfnoc-devel-369-g190867

Re: [USRP-users] rfnoc loopback

2017-12-21 Thread Jack Ziegler via USRP-users
AllI, I having another issue with this loopback implementation. Using the Python code provided with radio Rx to radio TX or with fifos and another block inbetween, the radios are not starting (Rx and TX lights off) for master clock rates larger than 8 Msps. Sometimes I get lucky and it runs, buy

Re: [USRP-users] rfnoc loopback

2017-12-15 Thread Nick Foster via USRP-users
You have neglected to also modify gr-ettus to add these to the API. Nick On Fri, Dec 15, 2017 at 11:18 AM John Medrano wrote: > Thank you for the code. > > I have an E310 and we are using latest version of RFNOC Development and > these functions return an error: > > > stream_cmd=uhd.stream_cmd_

Re: [USRP-users] rfnoc loopback

2017-12-15 Thread John Medrano via USRP-users
Thank you for the code. I have an E310 and we are using latest version of RFNOC Development and these functions return an error: stream_cmd=uhd.stream_cmd_t(uhd.stream_cmd_t.STREAM_MODE_START_CONTINUOUS) #self.uhd_rfnoc_streamer_radio_0.issue_stream_cmd(stream_cmd) self.uhd_rfnoc_

Re: [USRP-users] rfnoc loopback

2017-12-14 Thread Jack Ziegler via USRP-users
I got it working (lights now turn on), see the below code: not sure exactly why this one works but hopefully someone will find it useful. #!/usr/bin/env python2 # -*- coding: utf-8 -*- ## # GNU Radio Python Flow Graph # Title: Rfnoc Rxtx Nogui # Gene

Re: [USRP-users] rfnoc loopback

2017-12-14 Thread Jack Ziegler via USRP-users
actually try this one. I think I had the tx and rx mixed up. Neither still work though. #!/usr/bin/env python2 # -*- coding: utf-8 -*- ## # GNU Radio Python Flow Graph # Title: Rfnoc Sin Radio E310 # Generated: Thu Sep 21 14:12:08 2017

Re: [USRP-users] rfnoc loopback

2017-12-14 Thread Nick Foster via USRP-users
Thanks. At first blush this looks like it should work to me. I'll try it out here. Nick On Thu, Dec 14, 2017 at 11:37 AM Jack Ziegler wrote: > *Trying to do loopback with a rfnoc rx radio connect to a rfnoc tx radio. > (running at 56e6 Msps with the E310/E312). This is with no host connection

Re: [USRP-users] rfnoc loopback

2017-12-14 Thread Jack Ziegler via USRP-users
*Trying to do loopback with a rfnoc rx radio connect to a rfnoc tx radio. (running at 56e6 Msps with the E310/E312). This is with no host connections *third gen E310 * [UHDlinux; GNU C++ version 4.9.2; Boost_105700; UHD_4.0.0.rfnoc-devel-369-g1908672f] , with modifications from the "stupid rfnoc

Re: [USRP-users] rfnoc loopback

2017-11-30 Thread Nick Foster via USRP-users
You need to help us before we can help you. Can you tell me: * What you're actually trying to do * Your hardware setup * Your UHD version * Your flowgraph * The results you expect * The results you actually observe Then maybe we can help. Nick On Thu, Nov 30, 2017 at 4:44 PM Jack Ziegler wrote

Re: [USRP-users] rfnoc loopback

2017-11-30 Thread Jack Ziegler via USRP-users
I tried doing the changes in uhd, and gr-ettus. I also tried changing that register value to 0 for the fpga and making a new e300.bit file. Any recommendations on how to troubleshoot? Also as I referenced, I'm doing this on a new e312 usrp. Thanks, Jack On Wed, Nov 29, 2017 at 10:36 PM, Nick F

Re: [USRP-users] rfnoc loopback

2017-11-29 Thread Nick Foster via USRP-users
It should still apply. Is there something specific you're having trouble with? On Wed, Nov 29, 2017, 10:06 PM Jack Ziegler via USRP-users < usrp-users@lists.ettus.com> wrote: > Has anyone recently tried rfnoc loopback? > I tried following these directions: > https://corvid.io/2017/04/22/stupid-rf