Unable to generate a dc calibration table

Having issues with the site, hardware, source code, or any other issues?
Post Reply
ekoloski
Posts: 6
Joined: Fri Mar 01, 2013 5:33 pm

Unable to generate a dc calibration table

Post by ekoloski »

Hi,

I have two blaxerf x115 units, the original ones with the usb micro b connectors from back in the kickstarter days. This issue effects both of them (so I don't believe it's a hardware issue). It also happens on two different PCs, and happens whether I use linux or windows. This is on dedicated hw, no virtual machines. To rule out a cable issue I've tried using the original blue cables that shipped with them as well as an assortment of others. The bladerf's are running the latest FX3 image and the latest hosted fpga image:

Code: Select all

bladeRF> version

  bladeRF-cli version:        1.8.0-git-5a146b2a
  libbladeRF version:         2.4.1-git-5a146b2a

  Firmware version:           2.4.0-git-a3d5c55f
  FPGA version:               0.14.0 (configured from SPI flash)

Code: Select all

bladeRF> info

  Board:                    Nuand bladeRF (bladerf1)
  Serial #:                 <removed_before_posting>
  VCTCXO DAC calibration:   0x971d
  FPGA size:                115 KLE
  FPGA loaded:              yes
  Flash size:               32 Mbit
  USB bus:                  2
  USB address:              4
  USB speed:                SuperSpeed
  Backend:                  libusb
  Instance:                 0
It appears that the bladerf is getting reset during the process, though I am unsure why.

I see the following on a calibrate command:

Code: Select all

bladeRF> cal table dc rx
[DEBUG @ host/libraries/libbladeRF/src/board/bladerf1/bladerf1.c:1337] Enable channel: RX - True
[DEBUG @ host/libraries/libbladeRF/src/board/bladerf1/bladerf1.c:2034] Setting RX1 frequency to 237500000
[DEBUG @ host/libraries/libbladeRF/src/streaming/sync.c:433] sync_rx: Worker is idle. Going to reset buf mgmt.
[DEBUG @ host/libraries/libbladeRF/src/streaming/sync.c:454] sync_rx: Reset buf_mgmt consumer index
[DEBUG @ host/libraries/libbladeRF/src/streaming/sync.c:469] sync_rx: Worker is now running.
[DEBUG @ host/libraries/libbladeRF/src/streaming/sync.c:597] Sample discontinuity detected @ buffer 58, message 2: Expected t=945728, got t=945729
[DEBUG @ host/libraries/libbladeRF/src/streaming/sync.c:597] Sample discontinuity detected @ buffer 61, message 24: Expected t=1005790, got t=1005791
[ERROR @ host/libraries/libbladeRF/src/backend/usb/libusb.c:1089] Transfer timed out for buffer 0x560359b168e0

[DEBUG @ host/libraries/libbladeRF/src/board/bladerf1/bladerf1.c:1337] Enable channel: RX - False
[DEBUG @ host/libraries/libbladeRF/src/board/bladerf1/bladerf1.c:2034] Setting TX1 frequency to 2446999999

  Error: Operation timed out
Checking dmesg I see that there was a reset:

Code: Select all

[ 1247.049247] usb 2-6: New USB device found, idVendor=2cf0, idProduct=5246, bcdDevice= 0.00
[ 1247.049256] usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1247.049260] usb 2-6: Product: bladeRF
[ 1247.049264] usb 2-6: Manufacturer: Nuand
[ 1247.049266] usb 2-6: SerialNumber: <removed_for_no_particular_reason>
[ 1348.663260] usb 2-6: reset SuperSpeed USB device number 4 using xhci_hcd
[ 1348.683707] usb 2-6: LPM exit latency is zeroed, disabling LPM.
Has anyone seen anything like this before? I did search the forums, but don't seem to see anything that matches.
hydrogen_maser
Posts: 1
Joined: Wed Jul 06, 2022 11:01 pm

Re: Unable to generate a dc calibration table

Post by hydrogen_maser »

I encountered the same issue with versions 0.14.0 and 0.12.0 of the FPGA and was able to resolve it by reverting to version 0.11.1 of the FPGA.
Post Reply