Hi,

Here is the output from the tx_timed_samples when it fails. Anyway, it does not fail always. Sometimes everything works fine.

tx_timed_samples --args "addr0=192.168.130.2,addr1=192.168.50.2"

Creating the usrp device with: addr0=192.168.130.2,addr1=192.168.50.2...
[INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501; UHD_3.13.0.HEAD-0-gf114cfa0
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Radio 1x clock: 200 MHz
[INFO] [1/DmaFIFO_0] Initializing block control (NOC ID: 0xF1F0D00000000000)
[INFO] [1/DmaFIFO_0] BIST passed (Throughput: 1304 MB/s)
[INFO] [1/DmaFIFO_0] BIST passed (Throughput: 1322 MB/s)
[INFO] [1/Radio_0] Initializing block control (NOC ID: 0x12AD100000000001)
[INFO] [1/Radio_1] Initializing block control (NOC ID: 0x12AD100000000001)
[INFO] [1/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000)
[INFO] [1/DDC_1] Initializing block control (NOC ID: 0xDDC0000000000000)
[INFO] [1/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000000)
[INFO] [1/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000000)
[INFO] [X300] Radio 1x clock: 200 MHz
[INFO] [0/DmaFIFO_0] Initializing block control (NOC ID: 0xF1F0D00000000000)
[INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1319 MB/s)
[INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1306 MB/s)
[INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000000001)
[INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000000001)
[INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000)
[INFO] [0/DDC_1] Initializing block control (NOC ID: 0xDDC0000000000000)
[INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000000)
[INFO] [0/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000000)
Using Device: Multi USRP:
  Device: X-Series Device
  Mboard 0: X310
  Mboard 1: X310
  RX Channel: 0
    RX DSP: 0
    RX Dboard: A
    RX Subdev: UBX RX
  RX Channel: 1
    RX DSP: 0
    RX Dboard: B
    RX Subdev: UBX RX
  RX Channel: 2
    RX DSP: 0
    RX Dboard: A
    RX Subdev: UBX RX
  RX Channel: 3
    RX DSP: 0
    RX Dboard: B
    RX Subdev: UBX RX
  TX Channel: 0
    TX DSP: 0
    TX Dboard: A
    TX Subdev: UBX TX
  TX Channel: 1
    TX DSP: 0
    TX Dboard: B
    TX Subdev: UBX TX
  TX Channel: 2
    TX DSP: 0
    TX Dboard: A
    TX Subdev: UBX TX
  TX Channel: 3
    TX DSP: 0
    TX Dboard: B
    TX Subdev: UBX TX

Setting TX Rate: 6.250000 Msps...
Actual TX Rate: 6.250000 Msps...

Setting device timestamp to 0...
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 364 samples
Sent packet: 172 samples

Waiting for async burst ACK... fail

Done!

On 23.05.19 19:09, Marcus D. Leech wrote:
On 05/23/2019 01:02 PM, Vladica Sark wrote:
I am using 1 Gb ETH interface. The sample rate is the default for tx_timed_samples, i.e. 6.25 MSps. I am getting no underrun indication. The tx_timed_samples sends the samples to the radio and schedules the transmission 1.5 seconds in future. If I put only 1 radio, i.e. one IP address, everything works perfect. With 2 IP addresses (two radios), sometimes reports success sometimes fail. It seems completely undetermined.
Could you share the error output with us when you use tx_timed_samples?



BR,
Vladica


On 23.05.19 17:47, Marcus D. Leech via USRP-users wrote:
On 05/23/2019 05:39 AM, Vladica Sark via USRP-users wrote:
Hi again,

I found an easy way to reproduce the problem. I use two x310's and run the tx_timed_samples as:

tx_timed_samples --args "addr0=192.168.50.2,addr1=192.168.130.2" --secs 0.5 --nsamps 1000000

sometimes it fails, sometimes it works. I use larger number of samples to be able to notice the LED blinking.

BR,
Vladica
Are you getting any under-run indication?  What type of ethernet interface are you using, and at what sample rates?




On 23.05.19 08:36, Vladica Sark wrote:
Hi folks,

I have 2x X310 connected to Octoclock (10 MHz + PPS), each with 2x UBX frontends. I control them from a C/C++ program. Since there are 4 channels, I create 4 tx streamers in order to transmit timed samples on each of them. The transmissions are not at the same time and this is the reason for using 4 tx streamers. The problem is that when I schedule timed transmissions on all of the channels (at the same time for test), sometimes I do not get anything with recv_async_msg, i.e. the timeout expires. This also happens even when I schedule only a single transmission from single tx streamer (all 4 streamers are created). Sometimes it happens that everything is working without problems, i.e. I make 200 transmissions on each of the channels and I get the proper response from the recv_async_msg, but many times, restarting the same program leads to just recv_async_msg with expired timeout. I am using UHD 3.13.0.

I can probably use one streamer and transmitting 0's on the rest of the channels, but I would like to avoid LO leakage in the air.

Best regards,
Vladica

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to