discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] uhd::tune_result_t vs. usrp2::tune_result


From: Moritz Fischer
Subject: Re: [Discuss-gnuradio] uhd::tune_result_t vs. usrp2::tune_result
Date: Fri, 26 Nov 2010 15:52:10 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101028 Lanikai/3.1.6

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/25/2010 05:44 PM, Josh Blum wrote:

> In UHD, you set the sample rate. However for usrp2 and usrp1 gnuradio
> drivers, you set the decimation and interpolation and the sample rate is
> implied to be codec_rate/decim.

Ok, I got it working now for some of the demos (benchmark_tx/rx),
however it's far from looking nice enough for a merge ;-)

While looking at the code I was wondering whether
we still have to support the 'legacy' interface on next.

If not, I'll attempt to throw out the old stuff from the digital
examples and just use the uhd sources/sinks for the examples;UHD should,
if compiled with support for USRP1, automatically select the right
sources/sinks as far as I know(?) at least that's what it does in my tests.

Now if I connect say two USRP2s and one USRP1, is there any way to
influence the order in which they'll be selected? For the USRP2s the
'addr=...' parameter seems to work, but how would I do the same to
select one USRP2 and one USRP1?

And now for something completely different ;-)

While playing with the USRP1 it occured to me, that I had to manually
copy the std.ihx from $PREFIX/share/usrp/rev4/std.ihx to
$PREFIX/share/uhd/images/usrp1_fw.ihx in order to get UHD to find the USRP1.

Looking at line 64 and following in host/lib/usrp/usrp1/usrp1_impl.cpp
in UHD, if I got it right, we search for a file called 'usrp1_fw.ihx'.

Did I miss some under the hood magic or is this file 'missing' in the
images package?

Again thanks and happy hacking,

Moritz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJM78maAAoJEOjnDXL6I0uZB2AP/2p2+nu0YAl4EiySXNGpjUc8
bwXgz4wwheoeFlTmNrI3c6I2swePyFaeXq8nSRGiKy5N0LbQmlhfsKnCB3Nyq59q
d+9y6gq4v6XCazjXNrz3uK1/tI9tbZU3oKPRxy1kMCfBZzNM5369U906sa42uHEw
RCC3IzEr69V8asxHM31BYapdivt2r1lrH1oY7MQxkbA09NKerlW3ln8ltIYnoxj1
OMPeR3Ed0ve6Fz72TRaB0EgewVxXwujmpnyRTlZDEx0RaNSc4iBZICE4kPRxnn4L
HJ0B2hsURUXZhGPOZMSlD39Q0iY/bGC/wJje+ZVRyHy7j+Q00GiL9bzWTWZwPKVE
SKiQbs0Ni6zu1Z4Q9F5JPs6uz7hBu+PbqC2CkOramu1+9r6u+O7EitaKrcj+tUs5
9+1Hoh5xi15hel2/mtkmN+/rG/E2X0IiLGu9goib4BAvVtslZXUB+gpvskq43Jl4
96kmCH4Sha4dzGM6IExfpbMrv2Grd4Kw+r6e7q75r/Orr1+JWG6Y65tY9xCm0qq0
TSyRS+JwL1dTgzT8ml8ZrOsPpTrTdK8o2r7fxEGTr+7JCq2z4WH1j9mP6miEYLRI
q0KrAfh8+zb0CDNc4TIpsWXGNbCd3O9V6uICy1IXK4XYgNLNLH91xZlRtk5JaQYM
OvQbHIpQ8/oQPijWul9V
=F+ws
-----END PGP SIGNATURE-----



reply via email to

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