Nuand / gr-bladeRF

GNU Radio block for bladeRF devices
GNU General Public License v3.0
28 stars 9 forks source link

BladeRF Sink and BladeRF Source - Cannot Output Clock #14

Open MaxenceCrvlh opened 1 year ago

MaxenceCrvlh commented 1 year ago

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

Vincenque commented 1 year ago

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: