Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange timestamps with bladeRF 2.0 #730

Closed
KarlL2 opened this issue Feb 14, 2019 · 1 comment
Closed

Strange timestamps with bladeRF 2.0 #730

KarlL2 opened this issue Feb 14, 2019 · 1 comment

Comments

@KarlL2
Copy link

KarlL2 commented Feb 14, 2019

Hi,

I'm using a bladeRF 2.0 micro on Win10 through Soapy so I'm not 100% sure if the problem comes from blade or soapy.

bladeRF-cli version:        1.7.1-PothosSDR-2019.01.26-vc14-x64
libbladeRF version:         2.2.0-PothosSDR-2019.01.26-vc14-x64

Firmware version:           2.3.2
FPGA version:               0.10.2

I just started trying the bladeRF 2. I'm receiving blocks of 508 samples in CS16 at 55MS/s on a single channel. It seems 508 is a good number to avoid losing samples, not sure why.

I'm getting the right number of samples, but sometimes the corresponding timestamp is huge (and always the same, it seems, while the stream is open). Here is an examples of the timestamps I get:

354310007611350
354310007620586
354310007629823
354310007667968
354310009888786
5403559341571466134
5403559341571466134
5403559341571466134
5403559341571466134
5403559341571466134
5403559341571466134
5403559341571466134
354310010054732
5403559341571466134
354310010063968
354310010073205
5403559341571466134
354310010094041
354310010103277
5403559341571466134
354310010112514
354310010121750
354310010130986
354310010140223
354310010149459
354310010158695
5403559341571466134
354310010167932
354310010177168
5403559341571466134
354310010186405
354310010195641

The 5403559341571466134 seems to mostly appear in the 1st 100 or so blocks of samples. I still get a bunch of it from time to time. Its value changes slightly between runs (eg 5403508717576707884).

The strange timestamp seems to be dependent on the sampling rate:

  • at 50MS/s it's something like 7788488250102240434, 7788464422105176684, 7788505138102870934
  • at 40MS/s -4099528598654215607, -4099567862654389607, -4099597736657010357
  • at 30MS/s 6831683955593752351, 6831575683590478851
  • at 20MS/s -8199457430324793714, -8199508621324826214

The lower the sampling rate, the lower the number of time I see the strange timestamp.

I also get the following errors from time to time at high sampling rate
[ERROR @ host/libraries/libbladeRF/src/streaming/sync.c:306] wait_for_buffer: Timed out waiting for buf_ready after 1000 ms
and
[ERROR @ host/libraries/libbladeRF/src/backend/usb/libusb.c:1083] Transfer timed out for buffer 000001653A124120

@Nuand
Copy link
Collaborator

Nuand commented Mar 18, 2019

Duplicate issue ( see #729 ).

@Nuand Nuand closed this as completed Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant