discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Sampling Freq


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Sampling Freq
Date: Fri, 23 Mar 2007 05:53:43 -0700
User-agent: Mutt/1.5.9i

On Thu, Mar 22, 2007 at 02:14:05PM -0700, Johnathan Corgan wrote:
> Jonathan Shan wrote:
> 
> >> What do you have the transmitter interpolation and receiver decimation
> >> set to?
> > 
> > interp_rate = 64, decim_rate = 16.
> > 
> > I saw the formulas
> > usb_sample_rate1 = 64e6 / decim_rate
> > usb_sample_rate2 = 128e6 / interp_rate
> > 
> > Using current values, usb_rate1 = 2 * usb_rate2. I'm assuming.. to
> > get the correct sampling freq, usb_sample_rate at both ends should be
> > same?
> 
> Correct.

And it would be better to use the

  u.adc_rate()  and
  u.dac_rate()  

methods to retrieve the rates than to hard code them.

Eric




reply via email to

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