summaryrefslogtreecommitdiff
path: root/src/tuner_fc0013.c
AgeCommit message (Collapse)Author
2012-10-28tuner_fc0013: disable loopthrough outputSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-03tuner_fc001x: fix tuning for frequencies < 45 MHzSteve Markgraf
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-20tuner_fc0013: fix and improve manual LNA gainSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-09-19tuner_fc001x: check if PLL values are within boundariesSteve Markgraf
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-05-28tuner_fc0013: get rid of compiler warningSteve Markgraf
"this decimal constant is unsigned only in ISO C90" Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-27tuner_fc0013: improve tuning resolutionSteve Markgraf
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>
2012-05-25tuner_fc0013: use new cleaned-up driverSteve Markgraf
The driver was taken from http://git.linuxtv.org/ and adapted for librtlsdr. Also, fc0013_set_gain() was added. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-25introduce api to configure crystal oscillator frequencyDimitri Stolnikov
Usually both, the RTL and the tuner ICs use the same clock. Changing the clock may make sense if you are applying an external clock to the tuner or to compensate the frequency (and samplerate) error caused by the original cheap crystal. This commit covers all tuner drivers except of the Fitipower FC2580
2012-04-01rework on autotools handling ofDimitri Stolnikov
private headers
2012-04-01add tuner initialization, fix fc0013 replug bugSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-03-31add support for autoprobing the tunersSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-03-27rework towards a library interfaceDimitri Stolnikov
2012-03-12initial commitSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>