Discussion and technical support related to USRP, UHD, RFNoC
View all threadsDear List,
I am trying to stream using tx_samples_from_file as:
./tx_samples_from_file --args="addr0=192.168.10.2,addr1=192.168.10.3" --rate=390625 --freq=0 --repeat --ref=external
However only the LED-A of USRP 192.168.10.2 is on. If I change order to
./tx_samples_from_file --args="addr0=192.168.10.3,addr1=192.168.10.2" --rate=390625 --freq=0 --repeat --ref=external
only LED-A of USRP 192.168.10.3 is on. The results are the same on a pair of USRP2 as on a pair of N210.
I use ubuntu 22.04 with UHD version "tag: v4.7.0.0-rc1". The USRPs are connected though a netgear switch. Below is an example printout from a run:
./tx_samples_from_file --args="addr0=192.168.10.3,addr1=192.168.10.2" --rate=390625 --freq=0 --repeat --ref=external
Creating the usrp device with: addr0=192.168.10.3,addr1=192.168.10.2...
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.7.0.HEAD-0-g327f294e
[INFO] [USRP2] Opening a USRP2/N-Series device...
[INFO] [USRP2] Current recv frame size: 1472 bytes
[INFO] [USRP2] Current send frame size: 1472 bytes
Using Device: Multi USRP:
Device: USRP2 / N-Series Device
Mboard 0: USRP2 r4
Mboard 1: USRP2 r3
RX Channel: 0
RX DSP: 0
RX Dboard: A
RX Subdev: LFRX (AB)
RX Channel: 1
RX DSP: 0
RX Dboard: A
RX Subdev: LFRX (AB)
TX Channel: 0
TX DSP: 0
TX Dboard: A
TX Subdev: LFTX (AB)
TX Channel: 1
TX DSP: 0
TX Dboard: A
TX Subdev: LFTX (AB)
Setting TX Rate: 0.390625 Msps...
Actual TX Rate: 0.390625 Msps...
Setting TX Freq: 0.000000 MHz...
Setting TX LO Offset: 0.000000 MHz...
Actual TX Freq: 0.000000 MHz...
Checking TX: Ref: locked ...
Press Ctrl + C to stop streaming...
^C
Done!
^C[WARNING] [UHD] Exception caught in safe-call.
in ~usrp2_fifo_ctrl_impl
at /home/perzet/uhd_here/uhd/host/lib/usrp/usrp2/usrp2_fifo_ctrl.cpp:49
this->peek32(0); -> RuntimeError: fifo ctrl timed out looking for acks
^[[A^C^C[WARNING] [UHD] Exception caught in safe-call.
in ~usrp2_fifo_ctrl_impl
at /home/perzet/uhd_here/uhd/host/lib/usrp/usrp2/usrp2_fifo_ctrl.cpp:49
this->peek32(0); -> RuntimeError: fifo ctrl timed out looking for acks
Any help would be appreciated.
BR/
Per
Dear Per,
On 2025-01-07 10:45 +0000, Per Zetterberg via USRP-users wrote:
I am trying to stream using tx_samples_from_file as:
./tx_samples_from_file --args="addr0=192.168.10.2,addr1=192.168.10.3" --rate=390625 --freq=0 --repeat --ref=external
However only the LED-A of USRP 192.168.10.2 is on. If I change order to
./tx_samples_from_file --args="addr0=192.168.10.3,addr1=192.168.10.2" --rate=390625 --freq=0 --repeat --ref=external
only LED-A of USRP 192.168.10.3 is on. The results are the same on a pair of USRP2 as on a pair of N210.
I use ubuntu 22.04 with UHD version "tag: v4.7.0.0-rc1". The USRPs are connected though a netgear switch. Below is an example printout from a run:
./tx_samples_from_file --args="addr0=192.168.10.3,addr1=192.168.10.2" --rate=390625 --freq=0 --repeat --ref=external
You need to specify the channels you want to use,
e.g. ./tx_samples_from_file [...] --channels '0,1'
.
Indeed, if you read the source code of tx_samples_from_file [1]
it only uses channel 0 by default.
You can use ./tx_samples_from_file --help
for the list of options.
Cédric Hannotier