Timeout trying to set an external clock

Having issues with the site, hardware, source code, or any other issues?
Post Reply
bladeRF_user1234
Posts: 1
Joined: Tue Feb 06, 2024 8:32 am

Timeout trying to set an external clock

Post by bladeRF_user1234 »

Hi,

I'm currently seeing a huge peak at 422.4MHz, which is exactly CLK(38.4MHz)*11. The idea was to use a 10MHz CLK to see if we could rid of that specific peak, unfortunately I can't manage to set an external clock using bladeRF-cli:

Code: Select all

bladeRF> set clock_sel onboard

[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:429] nios_config_read: Read 0x00000001
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:440] nios_config_write: Wrote 0x00000001
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:429] nios_config_read: Read 0x00000001
  Clock input:     Onboard VCTCXO

bladeRF> set clock_sel external

[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:429] nios_config_read: Read 0x00000001
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:77] Failed to receive NIOS II response: Operation timed out
[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:3587] bladerf_set_clock_select: dev->backend->config_gpio_write(dev, gpio) failed: Operation timed out


  Error: Operation timed out
  
I'm using the following version:

Code: Select all

bladeRF> version

  bladeRF-cli version:        1.9.0-0.2023.02-4build1
  libbladeRF version:         2.5.0-0.2023.02-4build1

  Firmware version:           2.4.0-git-a3d5c55f
  FPGA version:               0.15.3 (configured from SPI flash)
Any ideas to solve that issue ? Or can anyone confirm that the huge 422.4MHz peak is indeed the 11th clock harmonic? It's quite strong and it's a bit weird to have such amplitude on an 11th harmonic.

Is it possible to reconfigure the VCTCXO to change it's base clock output ? Like change the 38.4MHz to a 31 or whatever would be in its possible range ?

Thanks,
Post Reply