usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Re: [EXTERNAL]Re: rfnoc loopback to tx ports, and other warnings

MB
Martin Braun
Fri, May 23, 2025 11:16 AM

On Fri, May 23, 2025 at 9:44 AM Kevin Williams kevin.williams@vastech.co.za
wrote:

Hi Martin,

I read too quickly – you said splitter and duc DON’T accept stream
commands.

Misunderstanding: The Radio-input-ports do not accept stream commands. The
split-stream and DUC blocks will happily forward them.

Is it not correct, then, to DROP streaming commands instead?

Your PolConverter should one-to-fan (which it seems it does).

What I would really like is for a streaming command that starts the whole
pol converter stream processing to start the TX side as well, automatically.

If you remove the timestamps, then TX will start automatically. If neither
your PolConverter nor your UHD host code needs timestamps, you can simply
turn them off in the radio:
https://uhd.readthedocs.io/en/latest/classuhd_1_1rfnoc_1_1radio__control.html#a4a8f86f1fac5a9c356a76744aebfcc91

--M

On Fri, May 23, 2025 at 9:44 AM Kevin Williams <kevin.williams@vastech.co.za> wrote: > Hi Martin, > > > > I read too quickly – you said splitter and duc DON’T accept stream > commands. > Misunderstanding: The Radio-input-ports do not accept stream commands. The split-stream and DUC blocks will happily forward them. > Is it not correct, then, to DROP streaming commands instead? > Your PolConverter should one-to-fan (which it seems it does). > > > What I would really like is for a streaming command that starts the whole > pol converter stream processing to start the TX side as well, automatically. > If you remove the timestamps, then TX will start automatically. If neither your PolConverter nor your UHD host code needs timestamps, you can simply turn them off in the radio: https://uhd.readthedocs.io/en/latest/classuhd_1_1rfnoc_1_1radio__control.html#a4a8f86f1fac5a9c356a76744aebfcc91 --M
RK
Rob Kossler
Fri, May 23, 2025 1:37 PM

If you haven't seen it, the stock example rfnoc_radio_loopback
https://github.com/EttusResearch/uhd/blob/master/host/examples/rfnoc_radio_loopback.cpp
might
be helpful to look at. This should work with a stock image to show a simple
loopback from Rx to Tx.  If you modify freqs (ddc/duc or radio freqs), you
can have your loopback implement frequency conversion.
Rob

On Fri, May 23, 2025 at 7:17 AM Martin Braun martin.braun@ettus.com wrote:

On Fri, May 23, 2025 at 9:44 AM Kevin Williams <
kevin.williams@vastech.co.za> wrote:

Hi Martin,

I read too quickly – you said splitter and duc DON’T accept stream
commands.

Misunderstanding: The Radio-input-ports do not accept stream commands. The
split-stream and DUC blocks will happily forward them.

Is it not correct, then, to DROP streaming commands instead?

Your PolConverter should one-to-fan (which it seems it does).

What I would really like is for a streaming command that starts the whole
pol converter stream processing to start the TX side as well, automatically.

If you remove the timestamps, then TX will start automatically. If neither
your PolConverter nor your UHD host code needs timestamps, you can simply
turn them off in the radio:
https://uhd.readthedocs.io/en/latest/classuhd_1_1rfnoc_1_1radio__control.html#a4a8f86f1fac5a9c356a76744aebfcc91

--M


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

If you haven't seen it, the stock example rfnoc_radio_loopback <https://github.com/EttusResearch/uhd/blob/master/host/examples/rfnoc_radio_loopback.cpp> might be helpful to look at. This should work with a stock image to show a simple loopback from Rx to Tx. If you modify freqs (ddc/duc or radio freqs), you can have your loopback implement frequency conversion. Rob On Fri, May 23, 2025 at 7:17 AM Martin Braun <martin.braun@ettus.com> wrote: > > > On Fri, May 23, 2025 at 9:44 AM Kevin Williams < > kevin.williams@vastech.co.za> wrote: > >> Hi Martin, >> >> >> >> I read too quickly – you said splitter and duc DON’T accept stream >> commands. >> > > Misunderstanding: The Radio-input-ports do not accept stream commands. The > split-stream and DUC blocks will happily forward them. > > >> Is it not correct, then, to DROP streaming commands instead? >> > > Your PolConverter should one-to-fan (which it seems it does). > >> >> >> What I would really like is for a streaming command that starts the whole >> pol converter stream processing to start the TX side as well, automatically. >> > > If you remove the timestamps, then TX will start automatically. If neither > your PolConverter nor your UHD host code needs timestamps, you can simply > turn them off in the radio: > https://uhd.readthedocs.io/en/latest/classuhd_1_1rfnoc_1_1radio__control.html#a4a8f86f1fac5a9c356a76744aebfcc91 > > --M > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com >