Malcolm Robb
2014-07-09 16:56:05 UTC
Hi,
First post, hope I don't break any rules. I've a question about the rtlsdr_set_freq_correction() function.
I've used SDRSharp to fine tune my dongle to a local Airfield ATIS broadcast, and like many others in our group come up with an error of around 50ppm. So I can use rtlsdr_set_freq_correction() in my application to fine tune the RF center frequency. However, there is only one crystal in the dongle (28.8MHz) and that crystal generates both the RF frequency and the digital sampling frequency. So presumably if the RF frequency is 50ppm off, then so is the digital sampling frequency.
My question is : Does the rtlsdr_set_freq_correction() function correct both the RF frequency (set by rtlsdr_set_center_freq()) and the sampling frequency (set by rtlsdr_set_sample_rate()) , or just the RF?
The reason this matters is that I use the sampling frequency to timestamp signals recovered from the raw samples, and 50ppm error is enough to mess up the results.
Cheers
Malcolm
First post, hope I don't break any rules. I've a question about the rtlsdr_set_freq_correction() function.
I've used SDRSharp to fine tune my dongle to a local Airfield ATIS broadcast, and like many others in our group come up with an error of around 50ppm. So I can use rtlsdr_set_freq_correction() in my application to fine tune the RF center frequency. However, there is only one crystal in the dongle (28.8MHz) and that crystal generates both the RF frequency and the digital sampling frequency. So presumably if the RF frequency is 50ppm off, then so is the digital sampling frequency.
My question is : Does the rtlsdr_set_freq_correction() function correct both the RF frequency (set by rtlsdr_set_center_freq()) and the sampling frequency (set by rtlsdr_set_sample_rate()) , or just the RF?
The reason this matters is that I use the sampling frequency to timestamp signals recovered from the raw samples, and 50ppm error is enough to mess up the results.
Cheers
Malcolm