discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] how to take input from multiple subdevices in th


From: Shabbir Ahmed
Subject: Re: [Discuss-gnuradio] how to take input from multiple subdevices in the USRP simultaneously
Date: Mon, 16 Mar 2009 15:15:32 +1100

Hi Eric:

Thank you loads again for your recommendations. I did go through both the files that you mentioned.

1. For the technique used in "usrp_wfm_rcv2_nogui.py".  We can retrieve two receive streams from a one daughter board, but this uses only one of the antennas either the "TX/RX" or "RX2".

2. For what is done in "multi_file.py". We get to retrieve 4 streams from two daughter boards.

3. Now my question. Is it possible to receive two streams from a single daughter board on a usrp, one from antenna "TX/RX" and the other from antenna "RX2". ie.
    input 1: subdev(0,0)---"TX/RX"
    input 2: subdev(0,0)---"RX2"

    Do I still have to load the "std_4rx_0tx.rbf"??
    And use the same mux 0xf3f2f1f0??

Thank you loads in advance.

Shabbir




On Fri, Mar 13, 2009 at 4:08 AM, Eric Blossom <address@hidden> wrote:
On Thu, Mar 12, 2009 at 09:40:29AM -0700, sHabzbd wrote:
>
> Hi Everyone:
>
> I am guessing that my last post was not clear since I didnt get any replies.
> So here I go again.
>
> 1. I am using two Flex900 daughter cards on a single USRP.
> 2. I am getting to select two subdevices (0,0) and (1,0) ie. daughter board
> A or daughter board B
> 3. On each subdevice I am getting to select two antennas 'TX/RX' and 'RX2'
>
> Now here is the thing. I can take anyone of the input at a single time, ie.
> I can either get
> a. subdevice(0,0) & antenna 'TX/RX'
> b. subdevice(0,0) & antenna 'RX2'
> c. subdevice(1,0) & antenna 'TX/RX'
> d. subdevice(1,0) & antenna 'RX2'
>
> That is I am getting to set the usrp mux with
>       tb.src_usrp.set_mux(usrp.determine_rx_mux_value(tb.src_usrp, subdevice))
> and then select and antenna for the subdevice
>       tb.subdev.select_rx_antenna('RX2')
>
> But I need to build a graph where I can take at least two of the above
> mentioned inputs. And store them in two separate sinks if possible. Using
> two different sink_files.
>
> Would really really appreciate any help or some direction or hint.
>
> Thank you loads in advance.
>

Hi Shabbir,

I can point you to two different examples that between them do
something similar to what you're trying to do.

The first is gnuradio-examples/python/usrp_wfm_rcv2_nogui.py.
This uses two DDCs to extract two streams from a single daughterboard.
You can ignore the fact that the signal processing is an FM recvr.

The second is gnuradio-examples/python/multi-antenna/multi_file.py.
This one expects two Basic Rx daughterboards, and extracts a total of
4 streams, 2 from each daughterboard.

In your case, since your extracting a single stream from each
daughterboard, you'll want to use the tune method twice, once on each
daughterboard.  Your rx mux setting should be 0x32103210

Eric



--
Shabbir Ahmed
PhD. Student
Centre for Telecommunications and Microelectronics
Victoria University
Email: address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]