discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Sampling Freq


From: Jonathan Shan
Subject: Re: [Discuss-gnuradio] Sampling Freq
Date: Thu, 22 Mar 2007 17:11:30 -0400 (EDT)



On Thu, 22 Mar 2007, Johnathan Corgan wrote:

Jonathan Shan wrote:

When I send this to file_sink, I see correctly 16 samples from peak to
peak. However, when I transmit this using 'usrp sink' and receive at the
other end, I see about 32 samples from peak to peak.. double what I
expected. What is happening?

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?

Jonathan Shan




reply via email to

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