From aa66d2605920285da02a21ba7a47b3de6c5035c2 Mon Sep 17 00:00:00 2001 From: f4exb Date: Sun, 27 Sep 2015 22:44:47 +0200 Subject: [PATCH] Changed HackRF sample rate list --- Readme.md | 2 ++ plugins/samplesource/hackrf/hackrfgui.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 0c01fc938..132344fac 100644 --- a/Readme.md +++ b/Readme.md @@ -77,6 +77,8 @@ If you use your own location for libhackrf install directory you need to specify `-DLIBHACKRF_LIBRARIES=/opt/install/libhackrf/lib/libhackrf.so -DLIBHACKRF_INCLUDE_DIR=/opt/install/libhackrf/include` +HackRF is better used with a sampling frequency over 8 MS/s. You can use the 9.6Ms/s setting that decimates nicely into integer kS/s sample rates. There are quite a few problems with narrowband work with this hardware. You may try various amplifiers settings to limit images and I/Q imbalance with varying success... The cheap RTL-SDR dongles usually do better. +

FunCube Dongle

Both Pro and Pro+ are supported with the plugins in fcdpro and fcdproplus respectively. For the Pro+ the band filter selection is not effective as it is handled by the firmware using the center frequency. diff --git a/plugins/samplesource/hackrf/hackrfgui.cpp b/plugins/samplesource/hackrf/hackrfgui.cpp index 382f93429..90d179c1e 100644 --- a/plugins/samplesource/hackrf/hackrfgui.cpp +++ b/plugins/samplesource/hackrf/hackrfgui.cpp @@ -265,7 +265,7 @@ void HackRFGui::updateHardware() m_updateTimer.stop(); } -unsigned int HackRFSampleRates::m_rates_k[] = {2500, 3200, 5000, 6400, 10000, 12800, 19200}; +unsigned int HackRFSampleRates::m_rates_k[] = {2400, 3200, 4800, 6400, 9600, 12800, 19200}; unsigned int HackRFSampleRates::getRate(unsigned int rate_index) {