Hey,

I am currently setting up an E320 and want to use both TX Chains
simultaneously. I first did the benchmark_rate test:

$ ~/pybombs_gnuradio/lib/uhd/examples/benchmark_rate    --args
"addr=192.168.10.2"    --duration 60    --channels "0,1"    --rx_rate 1e6
 --rx_subdev "A:0 A:1"

This ran fine and I moved over to gnuradio. The test flowchart consists of
two sine signal sources as input for one sink block. Arguments in the USRP
sink block are set to the following:

- Device Address: addr=192.168.10.2
- Mb0: SubDev Spec: A:0 A:1
- Num Channels: 2

Rest of the arguments are the default values. Starting the flowchart
returns:
...
[INFO] [0/Radio_0] Performing CODEC loopback test...
[INFO] [0/Radio_0] CODEC loopback test passed
[INFO] [0/Radio_0] Performing CODEC loopback test...
[INFO] [0/Radio_0] CODEC loopback test passed

>>> Done (return code -11)

I tried to see where this comes from. The segfault is triggered after a
call to set the center frequency of the second channel:
...
        self.uhd_usrp_sink_0 = uhd.usrp_sink(
            ",".join(('addr=192.168.10.2', "")),
            uhd.stream_args(
                cpu_format="fc32",
                args='',
                channels=[],
            ),
            '',
        )
        self.uhd_usrp_sink_0.set_subdev_spec('A:0 A:1', 0)
        self.uhd_usrp_sink_0.set_center_freq(freq, 0)
        self.uhd_usrp_sink_0.set_normalized_gain(0.5, 0)
        print("91")
        self.uhd_usrp_sink_0.set_antenna('TX/RX', 0)
        print("93")
        self.uhd_usrp_sink_0.set_center_freq(freq, 1)
<-- Segfault appears in this call
        print("95")
        self.uhd_usrp_sink_0.set_normalized_gain(0.5, 1)
        print("97")
        self.uhd_usrp_sink_0.set_antenna('TX/RX', 1)
        self.uhd_usrp_sink_0.set_samp_rate(samp_rate)
...

Used UHD Version: UHD 3.14.1.1-0-g0347a6d8
Used GR Version: 3.8.0.0

Did anyone run into the same issue? As the error code is during the config
call I am not sure if this connected to a wrong config or something else.

Thanks in advance. Regards,
Alex
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to