gr-bladeRF
gr-bladeRF copied to clipboard
BladeRF Sink and BladeRF Source - Cannot Output Clock
Hello, I am using the BladeRF blocks in Gnu Radio 3.10.1.1. I am using multiple bladeRF 2.0 Micro xA4. These blocks allow a lot of things that are not possible with Osmocom or Soapy blocks, one of them is choosing to enable the output clock for synchronization.
However, when I modify the value of the boolean from clk_out: False to True in the block parameters, and click "apply" it does not save it and the clock_out remains disabled.
I am trying to go around that by simply modify the generated python file once the .grc ran but it does not provide a long term solution.
Do you have any idea on how to change that part in the source code of the blocks themselves ?
Thanks, Best Maxence
Hi, unluckily I can only confirm that problem still occurs with Gnu Radio Copmanion 3.10.1.1 (Python 3.10.12), bladeRF micro xA9 and newest gr-bladeRF downloaded from https://github.com/Nuand/gr-bladeRF
Found a way to fix this problem. Commited fix, but not sure if it will be accepted. When you download repository from https://github.com/Nuand/gr-bladeRF you need to change code in file /gr-bladeRF/grc/gen_bladerf_blocks.py
Find: '- id: out_clk' and make sure it is set like that:
-
id: out_clk label: 'Output clock' dtype: enum default: False options: ['False', 'True'] option_labels: ['Disable', 'Enable']
Find '+ ",in_clk=" + '${'$'}{in_clk}'' and under it there should be:
- ",out_clk=" + '${'$'}{out_clk}'
Then just: cd gr-bladeRF mkdir build cd build cmake .. make -j4 sudo make install
And this worked for me :D Hope it also will help you