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

BladeRF Sink and BladeRF Source - Cannot Output Clock #14

Open
MaxenceCrvlh opened this issue May 30, 2023 · 1 comment
Open

BladeRF Sink and BladeRF Source - Cannot Output Clock #14

MaxenceCrvlh opened this issue May 30, 2023 · 1 comment

Comments

@MaxenceCrvlh
Copy link

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
Copy link

Vincenque commented Aug 11, 2023

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

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

2 participants