aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-12-26rtl_power: apply first series of patchesKyle Keen1-23/+132
* fix typos * droop compensation * improve sample rates, peak hold * direct sampling * offset tuning Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-28make sure offset tuning works with gr-osmosdrSteve Markgraf1-1/+6
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-07add getters for direct sampling and offset tuning modeSteve Markgraf2-0/+36
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-07tuner_r820t: improve tuning accuracy, allow freq correctionSteve Markgraf2-22/+37
We now use Hz instead of KHz for calculating the PLL parameters, and use the actual crystal frequency in Hz, which allows to correct the frequency error in ppm. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-06add function for offset tuning with zero-IF tunersSteve Markgraf2-2/+47
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-03tuner_fc001x: fix tuning for frequencies < 45 MHzSteve Markgraf2-56/+44
This allows tuning to 27 MHz for example (civil band). Best results are achieved when setting the gain to very low values. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-09-19tuner_fc001x: check if PLL values are within boundariesSteve Markgraf2-4/+28
This fixes the issue of the FC0013 locking up at frequencies between 928.0 and 950.0 MHz, which happened because the numerator of the fraction exceeded its 5 bit limit. For the tuner to behave normally again, the dongle needed to be replugged. For the FC0013 this now results in a small gap between 948.6 MHz and 950.0 MHz, where no valid PLL values are existant. For the FC0012 tuning is aborted when the maximum frequency has been reached (948.6 MHz). Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-09-13add support for direct sampling modeSteve Markgraf3-12/+84
This commit adds the function rtlsdr_set_direct_sampling() which can be used to enable/disable a mode where the RTL2832 acts as a direct sampling receiver. This mode disables the tuner, and by attaching a long wire, or better, a 50Ω to 200Ω transformer and a lowpass- filter to the In-phase ADC input (pin 1 or 2 of the RTL2832, whereas pin 1 is at the molded dot) it is possible to listen to shortwave radio stations. The coupling capacitors can be left in place, but for better results they should be removed. Tuning in this mode is done with the DDC, and since the ADC samples with 28.8 MHz, tuning is possible from 0 to 28.8 MHz. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17rtl_fm: add -E for optional lower edge tuningKyle Keen1-5/+9
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-08apply frequency correction value on the xtal clock directlyDimitri Stolnikov2-29/+59
by using this approach both, the tuning frequency and the sample rate should be corrected at the same time.
2012-05-27tuner_fc0013: improve tuning resolutionSteve Markgraf2-32/+32
We now use Hz instead of kHz for the internal calculations, and thus improve the tuning resolution to ~50 Hz (tested with DAB). Signed-off-by: Steve Markgraf <steve@steve-m.de>