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

Trigger master-slave in dual RX configuration #16

Open
marcospanghero opened this issue Sep 3, 2024 · 0 comments
Open

Trigger master-slave in dual RX configuration #16

marcospanghero opened this issue Sep 3, 2024 · 0 comments

Comments

@marcospanghero
Copy link

Hi,
I am trying to setup a dual radio RX system with two active channels per radio.
Using the gr block, the trigger system seems not be configuring correctly, but if enabled fails with the following

 File "/home/rec/bladerf-sampler/./bladerfsampler.py", line 220, in <module>
   main()
 File "/home/rec/bladerf-sampler/./bladerfsampler.py", line 197, in main
   tb = top_block_cls()
 File "/home/rec/bladerf-sampler/./bladerfsampler.py", line 53, in _init_
   self.bladeRF_source_0_0 = bladeRF.source(
RuntimeError: setup_trigger: bladerf_trigger_init failed: Invalid operation or parameter (-3)

These are the configs used in the blocks

Args: numchan=2,metadata=False,bladerf=c51c5a682f884c508b811eae5e53b949,verbosity=warning,feature=default,sample_format=8bit,fpga=,fpga-reload=False,use_ref_clk=False,ref_clk=10000000,buflen=131072,buffers=128,in_clk=ONBOARD,out_clk=Fal
se,use_dac=False,dac=10000,xb200=none,tamer=internal,sampling=internal,lpf_mode=disabled,smb=38400000,dc_calibration=LPF_TUNING,trigger0=True,trigger_role0=master,trigger_signal0=J51_1,trigger1=True,trigger_role1=master,trigger_signal1=
J51_1,bias_tee0=False,bias_tee1=False
Args: numchan=2,metadata=False,bladerf=c51c5a682f884c508b811eae5e53b949,verbosity=warning,feature=default,sample_format=8bit,fpga=,fpga-reload=False,use_ref_clk=False,ref_clk=10000000,buflen=131072,buffers=128,in_clk=ONBOARD,out_clk=Fal
se,use_dac=False,dac=10000,xb200=none,tamer=internal,sampling=internal,lpf_mode=disabled,smb=38400000,dc_calibration=LPF_TUNING,trigger0=True,trigger_role0=master,trigger_signal0=J51_1,trigger1=True,trigger_role1=master,trigger_signal1=
J51_1,bias_tee0=False,bias_tee1=False

Could you please advise on a fix or a debug strategy?

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

1 participant