On 2022-08-10 08:14, [email protected] wrote:
Hello,
I'm trying to create a simple loopback application (using the same DB
for TX and RX) with my X310, but I'm having problems. The setup is an
X310 with WBX120 (TX/RX for transmission and RX2 for receiving). I
traced the issue back to running the "txrx_loopback_to_file" uhd
example with following parameters:
./txrx_loopback_to_file --tx-rate 1e6 --rx-rate 1e6 --tx-freq 1e9
--rx-freq 1e9
I get the following error:
Creating the transmit usrp device with: ...
[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100;
UHD_4.2.0.1-0-g321295fb
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Maximum frame size: 8000 bytes.
[INFO] [X300] Radio 1x clock: 200 MHz
Creating the receive usrp device with: ...
Using TX Device: Single USRP:
Device: X-Series Device
Mboard 0: X310
RX Channel: 0
RX DSP: 0
RX Dboard: A
RX Subdev: WBX-120 RX+GDB
RX Channel: 1
RX DSP: 1
RX Dboard: B
RX Subdev: WBX-120 RX+GDB
TX Channel: 0
TX DSP: 0
TX Dboard: A
TX Subdev: WBX-120 TX+GDB
TX Channel: 1
TX DSP: 1
TX Dboard: B
TX Subdev: WBX-120 TX+GDB
Using RX Device: Single USRP:
Device: X-Series Device
Mboard 0: X310
RX Channel: 0
RX DSP: 0
RX Dboard: A
RX Subdev: WBX-120 RX+GDB
RX Channel: 1
RX DSP: 1
RX Dboard: B
RX Subdev: WBX-120 RX+GDB
TX Channel: 0
TX DSP: 0
TX Dboard: A
TX Subdev: WBX-120 TX+GDB
TX Channel: 1
TX DSP: 1
TX Dboard: B
TX Subdev: WBX-120 TX+GDB
Setting TX Rate: 1.000000 Msps...
Actual TX Rate: 1.000000 Msps...
Setting RX Rate: 1.000000 Msps...
Actual RX Rate: 1.000000 Msps...
Setting TX Freq: 1000.000000 MHz...
Actual TX Freq: 1000.000000 MHz...
Setting RX Freq: 1000.000000 MHz...
Actual RX Freq: 1000.000000 MHz...
[WARNING] [0/Radio#0] Attempting to set tick rate to 0. Skipping.
Checking TX: LO: locked ...
Checking RX: LO: unlocked ...
Error: AssertionError: lo_locked.to_bool()
in _main
at /home/hp/uhd-4.2/host/examples/txrx_loopback_to_file.cpp:483
I have another WBX120 in slot B which returns with the same error.
However, if I transmit with the one in slot A and receive with the one
on slot B (or vice-versa) both TX and RX locks:
./txrx_loopback_to_file --tx-rate 1e6 --rx-rate 1e6 --tx-freq 1e9
--rx-freq 1e9 --tx-subdev A:0 --rx-subdev B:0 --rx-ant RX2
...
[WARNING] [0/Radio#0] Attempting to set tick rate to 0. Skipping.
Checking TX: LO: locked ...
Checking RX: LO: locked ...
Press Ctrl + C to stop streaming...
Setting device timestamp to 0...
[WARNING] [0/Radio#1] Attempting to set tick rate to 0. Skipping.
^C
Done!
I also have an SBX for which the test with the same parameters work:
./txrx_loopback_to_file --tx-rate 1e6 --rx-rate 1e6 --tx-freq 1e9
--rx-freq 1e9
[WARNING] [0/Radio#0] Attempting to set tick rate to 0. Skipping.
Checking TX: LO: locked ...
Checking RX: LO: locked ...
Press Ctrl + C to stop streaming...
Setting device timestamp to 0...
UHD version is: UHD_4.2.0.1-0-g321295fb
Any help to resolve the issue would be appreciated!
Thanks,
Balint
Can you try this with an older version of UHD?
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]