Posting on both GNURadio and USRP lists here, since my application overlaps
both gr-uhd/GNURadio and the UHD API.
The top-level question is, can gr-uhd support all the necessary
N321-specific commands necessary to export the TX LO from RF0 to RF1? That
would include running the command to set the 1x4 splitter. That's the one
in question.

get_device()->get_tree()->access<bool>("mboards/0/dboards/A/tx_frontends/0/los/lo1/lo_distribution/LO_OUT_0/export").set(true)

If not, Marcus suggested using a python snippet. I've used that with RFNoC
before, but how would that work?
I'm guessing it would be an "after-init" and then call the python API for
the above (if that command is supported)?

Thanks

On Fri, Jan 14, 2022 at 5:32 PM Marcus D. Leech <patchvonbr...@gmail.com>
wrote:

> On 2022-01-14 17:30, Rob Kossler wrote:
>
> These thare the UHD commands. I don't know how these translate to gnuradio.
>
> % set both LO sources to use external
> set_tx_lo_source(“external”, “lo1”, 0)
> set_tx_lo_source(“external”, “lo1”, 1)
>
> % export the internal LO to the 1:4 splitter
> set_tx_lo_export_enabled(true, “lo1”, 0)
>
> % enable the 1:4 splitter output port
>
> get_device()->get_tree()->access<bool>("mboards/0/dboards/A/tx_frontends/0/los/lo1/lo_distribution/LO_OUT_0/export").set(true)
>
> I don't think the current GR code has support for controlling the
> splitter, so a "code snippet" would likely be required.
>
>
> To unsubscribe send an email to usrp-users-le...@lists.ettus.com
>>>
>>
>

Reply via email to