Re: gr-sounder using xcvr2450 daughterboard - usrpsounder.py


#1

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 removed_email_address@domain.invalid wrote:

From: Qi Chen removed_email_address@domain.invalid
Subject: Re: [Discuss-gnuradio] gr-sounder using xcvr2458 daughterboard

  • usrpsounder.py
    To: removed_email_address@domain.invalid
    Cc: removed_email_address@domain.invalid
    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



#2

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