Tuesday, December 3, 2013

Re: [Discuss-gnuradio] two RX paths

Thank you Marcus again,

I changed device address, in both places, but the same problem appears. I see that it loads now 4rx image, but the problem remains.
       
        self.uhd_usrp_source_1 = uhd.usrp_source(
            device_addr="fpga=usrp1_fpga_4rx.rbf",
            stream_args=uhd.stream_args(
                cpu_format="fc32",
                channels=range(1),
            ),
        )





On Tue, Dec 3, 2013 at 5:40 PM, Marcus D. Leech <mleech@ripnet.com> wrote:
On 12/03/2013 11:24 AM, Nemanja Savic wrote:
I see, but still don't get where this change should be made.
And also, more important, i I have standard configuration with 2 DDCs and 2 DUCs, then it should work like that, cause I need only 2 DDCs if I am not wrong.

YOu make the change in the device_addr args.

And you really do need the 4RX image to make this work.




On Tue, Dec 3, 2013 at 5:15 PM, Marcus D. Leech <mleech@ripnet.com> wrote:
On 12/03/2013 11:10 AM, Nemanja Savic wrote:
Hi all guys,

I would like to receive in my application signals from WBX board and from LFTX simultaneousely.
At the moment, when I run the flow graph it ends immediately with core dump, and zero divisin exception.

In the script, sources are defined in this way:

        self.uhd_usrp_source_0 = uhd.usrp_source(
            device_addr="",
            stream_args=uhd.stream_args(
                cpu_format="fc32",
                channels=range(1),
            ),
        )

        self.uhd_usrp_source_0.set_subdev_spec("A:0", 0)
        self.uhd_usrp_source_0.set_samp_rate(samp_rate_wbx)
        self.uhd_usrp_source_0.set_center_freq(433900000, 0)
        self.uhd_usrp_source_0.set_gain(input_gain_slider_wbx, 0)
        self.uhd_usrp_source_0.set_antenna("RX2", 0)

and the second:

        self.uhd_usrp_source_1 = uhd.usrp_source(
            device_addr="",
            stream_args=uhd.stream_args(
                cpu_format="fc32",
                channels=range(1),
            ),
        )

        self.uhd_usrp_source_1.set_subdev_spec("B:A", 0)
        self.uhd_usrp_source_1.set_samp_rate(samp_rate_CC1000)
        self.uhd_usrp_source_1.set_center_freq(freq_CC1000, 0)
        self.uhd_usrp_source_1.set_gain(gain_CC1000, 0)

There are certain posts about using different firmware, but I am not able to figure out what should I really do, and is that necessary?

Thanx for help,

Best,

--
Nemanja Savić
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
You need to specify the dual-DDC image for USRP1:

usrp1_fpga_4rx.rbf

http://files.ettus.com/uhd_docs/manual/html/usrp1.html#specify-a-non-standard-image



--   Marcus Leech  Principal Investigator  Shirleys Bay Radio Astronomy Consortium  http://www.sbrac.org  

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




--
Nemanja Savić


--   Marcus Leech  Principal Investigator  Shirleys Bay Radio Astronomy Consortium  http://www.sbrac.org  



--
Nemanja Savić

No comments:

Post a Comment