Forum: GNU Radio Re: gr-sounder using xcvr2450 daughterboard - usrpsounder.py

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5764093ae096f4ad173eacc4b5cdf56e?d=identicon&s=25 mutsa gahadza (Guest)
on 2008-12-31 15:02
(Received via mailing list)
Hi
 


I am beggining to suspect that there is something wrong with the
xcvr2450 daughter board. Sorry I made a typo error last time and typed
xcvr2458. When I use the 'loopback', which I understand does not need a
daughterboard,I get perfect results. When I looked at usrp.py module in
/usr/local/lib/python2.5/site-packages/gnuradio directory, I realised
that its  pick_rx_subdevice(u) and pick_tx_subdevice(u) functions did
not contain usrp_dbid.XCVR2450_RX and usrp_dbid.XCVR2450_RX 
respectively. So I added these since the usrp_dbid.py module in
/usr/local/lib/python2.5/site-packages/usrpm does have XCVR2450_RX and
XCVR2450_RX. I thought I had found the reason but apparently not. I of
course,tried to use , a = read_complex_binary('output.dat',inf);
as you had suggested but apparantly the problem lies elsewhere.Now I am
quite confused.

Thank you.

Mutsa


--- On Fri, 12/12/08, Qi Chen <chenqi@ittc.ku.edu> wrote:

From: Qi Chen <chenqi@ittc.ku.edu>
Subject: Re: [Discuss-gnuradio] gr-sounder using xcvr2458 daughterboard
- usrpsounder.py
To: mutsa_gahadza@yahoo.com
Cc: discuss-gnuradio@gnu.org
Date: Friday, December 12, 2008, 7:02 AM

On Dec 12, 2008, at 3:29 AM, mutsa gahadza wrote:

> Dear all
>
> I have two debian host PCs and two USRPs. I have been trying to measure
Channel Impulse Response using usrpsounder.py.
>
> My command lines are as follows:
> # ./usrp_sounder.py -f 2.4G -r -v -D -F output.dat
> # ./usrp_sounder.py -f 2.4G -R A -t -v -D
>
> I then used
>  a=read_complex_binary.m

you have to specify your binary file like this:
a = read_complex_binary('output.dat',inf);


>
>  plot(abs(a))
> to see the result. I am consistently getting zero values all the time.
>
> My output lines are as below:
>
>
***********************************************************************************
>
> gnuradio:/home/gnuradio/gnuradio/gr-sounder/src/python# ./usrp_sounder.py
-f 2.4G -R A -t -v -D
> Disabling digital loopback.
> KeyboardInterrupt
> Disabling transmitter.
> Writing mode register with: 0x0
> xcvr2450: __del__
> gnuradio:/home/gnuradio/gnuradio/gr-sounder/src/python#
>
>
*****************************************************************************
>
> melag:/home/mutsag/gnuradio/gr-sounder/src/python# ./usrp_sounder.py -f
2.4G -r -v -D -F output.dat
> xcvr2450: Setting reg 8 to 01C218
> xcvr2450: Setting reg 9 to 0068B9
> xcvr2450: Setting reg 10 to 003C0A
> xcvr2450: Setting reg 11 to 00010B
> xcvr2450: Setting reg 12 to 0003FC
> RF=2.45G VCO=3.26667G R=1 PHD=21.3333M DIV=153.12500 I=153 F= 8192
ACT=2.45G
> Writing mode register with: 0x1
>    512 were allocated.  If this isn't OK, consider padding
> Received impulse vector of length 32760
> Received impulse vector of length 32760
> Stopping receiver flow graph.
> Waiting for threads...
> Receiver flow graph stopped.
> Writing mode register with: 0x0
> xcvr2450: __del__
>
*****************************************************************************
8609964d75de56552443da57880d4424?d=identicon&s=25 Bruh G. (bruh)
on 2009-02-24 19:18
mutsa gahadza wrote:

>> Dear all
>>
>> I have two debian host PCs and two USRPs. I have been trying to measure
> Channel Impulse Response using usrpsounder.py.
>>
>> My command lines are as follows:
>> # ./usrp_sounder.py -f 2.4G -r -v -D -F output.dat
>> # ./usrp_sounder.py -f 2.4G -R A -t -v -D
>>
>> I then used
>>  a=read_complex_binary.m
>
> you have to specify your binary file like this:
> a = read_complex_binary('output.dat',inf);
>
>
>>
>>  plot(abs(a))
>> to see the result. I am consistently getting zero values all the time.
>>


Hey Mutsa,

I am facing the same problem too.
Have u got any solutions since then?
Thanks!

Bruhtesfa
This topic is locked and can not be replied to.