Forum: GNU Radio multi_file usrp tuning options

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
7de99ba7a8144e8f34524dc0ca683bd7?d=identicon&s=25 unknown (Guest)
on 2007-05-31 22:12
(Received via mailing list)

I'm developing a 4-channel receiver using 4 rx paths and 2 LFRX
daughter boards.  I'm basing my code on the multi_* examples in the
multi-antenna directory.  Two of the channels I want to capture are
AM-modulated at roughly 2 MHz carrier frequency, the other two signals
not modulated and are low frequency on the order of 1 kHz.

My question is, can I tune each subdevice to a different frequency?  I
would need to in order to capture both sets of signals simultaneously in
phase-locked fashion (this is important).


Eric H. Matlis, Ph.D.
Aerospace & Mechanical Engineering Dept.
120 Hessert Center for Aerospace Research
University of Notre Dame
Notre Dame, IN 46556-5684
Phone: (574) 631-6054
Fax:   (574) 631-8355
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2007-06-01 06:31
(Received via mailing list)
On Thu, May 31, 2007 at 04:11:47PM -0400, wrote:
> in a phase-locked fashion (this is important).
Yes.  See multi-antenna/  It tunes all 4 subdevs.
It happens to tune them all to the same freq, but that's just because
that was what was needed at the time the code was written.

745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2007-09-25 23:01
(Received via mailing list)
On Fri, Jun 01, 2007 at 09:27:55AM -0400, wrote:
> Excellent.  Just so I understand how this is done- when one tunes
> different subdevices to different frequencies, is there one LO on the USRP
> which is being switched between these frequencies, or is there more than
> one LO?

In general, the tuning is split between an LO on the daughterboard and
the DDCs in the the FPGA.  In the case of the Basic Rx and LF RX,
there is no LO on the daughterboard, so all the tuning is handled by
the DDC.  When using std_4rx_0tx.rbf, there are 4 DDCs available in
the FPGA.

u.tune(...) handles adjusting the LO (if any) and the DDCs
transparently for the common case.

> Also- Can I tune all four subdevices independently, or am I restricted to
> using the same frequency on a given daughterboard?

With the Basic and LF Rx everything is independent, since there's no
LO on the daughterboard.  In the case of daughterboards with LO's,
life is a bit more complicated and you'll have to explicitly control
the LO on the daughterboard, and then explicitly control the 2 DDCs
that are being fed from the given daughterboard.  You of course need
to ensure that that two frequencies that you want within the IF
passband of the daughterboard.

To see how this is currently handled, take a look at the
implementation of "tune" in gr-usrp/src/

> Finally- I would guess that at a minimum the decimation factor set in the
> fpga must be the same for all subdevices.  Is this correct?

Yes, the decimation rate applies to all subdevices.

> thanks again,
> eric

You're welcome!

This topic is locked and can not be replied to.