discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] running OFDM on USRP2


From: Veljko Pejovic
Subject: Re: [Discuss-gnuradio] running OFDM on USRP2
Date: Tue, 2 Feb 2010 15:05:55 -0800

Hi,

The example provided with the gnuradio codebase requires small
modifications in order to work with USRP2. You can try with the
modifications I made:

www.cs.ucsb.edu/~veljko/downloads/ofdm_example.tar.gz

In my case with XCVR2450 daughter boards running the following works fine:

transmitter:
benchmark_ofdm_tx_new.py -f 2.45G --tx-amplitude 0.9 -M 8 -s 200 -m
bpsk --fft-length=512 --occupied-tones=80 -i 64 --tx-gain=10
--cp-length=128

receiver:
benchmark_ofdm_rx_new.py -e eth1 -f 2.45G -m bpsk --fft-length=512
--occupied-tones=80 -d 64 --rx-gain=30 --cp-length=128

You can try with the transmitter only first and usrp2_fft.py on the
other end, just to see if there's something getting transmitted and if
it looks like OFDM.

cheers,


veljko

2010/2/2 Ian Holland <address@hidden>:
> Hi Anupama
>
> Unfortunately, I can't offer a solution at this stage. However, I had
> similar error messages a few days ago. I thought perhaps these python
> scripts were to be used exclusively for the original USRPs, though I
> think in one or two posts I have seen, people mentioned successfully
> running them for USRP2s.
>
> Ian.
>
>
>
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of Anu000
> Sent: Wednesday, 3 February 2010 8:04 AM
> To: address@hidden
> Subject: Re: [Discuss-gnuradio] running OFDM on USRP2
>
>
> Hi,
> We did try the below command on two USRP2s coneected via a SMA Cable
> (Tx-Rx)
> with freq = 25M  however it returned the following error on both sides
>
> At Rx side it shows like the below -
>
> address@hidden ofdm]# ./benchmark_ofdm_rx.py -f 25M -d 256
> --fft-length=64
> --occupied-tones=32 --cp-length=4
> usrp: failed to find usrp[0]
> Traceback (most recent call last):
>  File "./benchmark_ofdm_rx.py", line 210, in <module>
>    main()
>  File "./benchmark_ofdm_rx.py", line 199, in main
>    tb = my_top_block(rx_callback, options)
>  File "./benchmark_ofdm_rx.py", line 51, in __init__
>    self._setup_usrp_source()
>  File "./benchmark_ofdm_rx.py", line 70, in _setup_usrp_source
>    fusb_nblocks=self._fusb_nblocks)
>  File "/usr/lib/python2.6/site-packages/gnuradio/usrp/usrp_swig.py",
> line
> 1699, in source_c
>    return _usrp_swig.source_c(*args, **kwargs)
> RuntimeError: can't open usrp
>
> At Tx side -
> address@hidden ofdm]# ./benchmark_ofdm_tx.py -f 25M -i 512 --fft-length=64
> --occupied-tones=32 --cp-length=4
> usrp: failed to find usrp[0]
> Traceback (most recent call last):
>  File "./benchmark_ofdm_tx.py", line 217, in <module>
>    main()
>  File "./benchmark_ofdm_tx.py", line 190, in main
>    tb = my_top_block(options)
>  File "./benchmark_ofdm_tx.py", line 51, in __init__
>    self._setup_usrp_sink()
>  File "./benchmark_ofdm_tx.py", line 66, in _setup_usrp_sink
>    fusb_nblocks=self._fusb_nblocks)
>  File
> "/usr/local/lib/python2.5/site-packages/gnuradio/usrp/usrp_swig.py",
> line 2415, in sink_c
>    return _usrp_swig.sink_c(*args, **kwargs)
> RuntimeError: can't open usrp
>
> May we request somebody to support us at the earliest to resolve the
> above
> issue with either software or hardware .
>
> Thanks again,
> Anupama
>
>
>
> bin zan wrote:
>>
>> Hello,
>>        I was trying to run following OFDM command on USRP2, however, I
> got
>> a
>> bunch of "SSSSStime out" at the receiver side.
>>
>> ./benchmark_ofdm_tx.py -f 2.4G -i 512 --fft-length=64
> --occupied-tones=32
>> --cp-length=4
>> ./benchmark_ofdm_rx.py -f 2.4G -d 256 --fft-length=64
> --occupied-tones=32
>> --cp-length=4
>>
>> I wonder if there is any one successfully running OFDM on USRP2, what
> are
>> the command parameters you are using and if there is any modification
> in
>> the
>> code, can you let me know.
>>
>> Thanks,
>> Bin
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/running-OFDM-on-USRP2-tp27342376p27427749.html
> Sent from the GnuRadio mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>




reply via email to

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