discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gr-digital and USRP sample rate


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] gr-digital and USRP sample rate
Date: Wed, 29 Feb 2012 20:59:42 -0500

On Wed, Feb 29, 2012 at 10:33 AM, Nowlan, Sean <address@hidden> wrote:

I noticed that the generic_mod_demod.py script in gr-digital uses a root-raised cosine filter taps and the polyphase filterbank arbitrary resampler block. I want to resample so that I can exactly hit a supported USRP transmit sample rate. What kind of issues will I encounter trying to do this? My understanding is that the USRP can only sample at integer divisions of the DSP rate (100MSPS for N200/210)., and that if a requested sample rate doesn’t hit a supported rate exactly, it picks the nearest faster one. Is this correct?

 

Thanks,

Sean


The benchmark scripts take care of this, if I understand your question. We try to set the sample rate through the UHD interface, then ask for the actual sample rate it set. This is done in benchmark_tx where we use this info to set the actual samples per symbol (a real number) based on the the difference between the asked for and actual sample rate. It's this number that is then used in the generic_mod_demod code to set the sample rate in the pfb_arb_resampler to match the sample rates.

Tom


reply via email to

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