aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-11-14 17:32:46 -0800
committerJosh Blum <josh@joshknows.com>2011-11-14 17:32:46 -0800
commitff2e730a0dc7f67241942143c120e02a838f932e (patch)
treef4c64296273de9dd6ccffddded0c514399f68cf9 /host/utils
parent5a77062d33ff675e8f395a8a871e8e6632a204a0 (diff)
downloaduhd-ff2e730a0dc7f67241942143c120e02a838f932e.tar.gz
uhd-ff2e730a0dc7f67241942143c120e02a838f932e.tar.bz2
uhd-ff2e730a0dc7f67241942143c120e02a838f932e.zip
uhd: different interp methods for IQ vs DC
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/CMakeLists.txt6
-rw-r--r--host/utils/usrp_cal_rx_iq_balance.cpp (renamed from host/utils/usrp_gen_rx_iq_cal_table.cpp)2
-rw-r--r--host/utils/usrp_cal_tx_dc_offset.cpp (renamed from host/utils/usrp_gen_tx_dc_cal_table.cpp)2
-rw-r--r--host/utils/usrp_cal_tx_iq_balance.cpp (renamed from host/utils/usrp_gen_tx_iq_cal_table.cpp)2
-rw-r--r--host/utils/usrp_cal_utils.hpp2
5 files changed, 7 insertions, 7 deletions
diff --git a/host/utils/CMakeLists.txt b/host/utils/CMakeLists.txt
index 6c17be22c..92807f882 100644
--- a/host/utils/CMakeLists.txt
+++ b/host/utils/CMakeLists.txt
@@ -37,9 +37,9 @@ ENDFOREACH(util_source)
SET(util_share_sources
usrp_burn_db_eeprom.cpp
usrp_burn_mb_eeprom.cpp
- usrp_gen_rx_iq_cal_table.cpp
- usrp_gen_tx_iq_cal_table.cpp
- usrp_gen_tx_dc_cal_table.cpp
+ usrp_cal_rx_iq_balance.cpp
+ usrp_cal_tx_dc_offset.cpp
+ usrp_cal_tx_iq_balance.cpp
)
IF(ENABLE_USB)
diff --git a/host/utils/usrp_gen_rx_iq_cal_table.cpp b/host/utils/usrp_cal_rx_iq_balance.cpp
index 71c447e65..7b7fdaec9 100644
--- a/host/utils/usrp_gen_rx_iq_cal_table.cpp
+++ b/host/utils/usrp_cal_rx_iq_balance.cpp
@@ -138,7 +138,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
//print the help message
if (vm.count("help")){
- std::cout << boost::format("USRP Generate RX Frontend Calibration Table %s") % desc << std::endl;
+ std::cout << boost::format("USRP Generate RX IQ Balance Calibration Table %s") % desc << std::endl;
std::cout <<
"This application measures leakage between RX and TX on an XCVR daughterboard to self-calibrate.\n"
<< std::endl;
diff --git a/host/utils/usrp_gen_tx_dc_cal_table.cpp b/host/utils/usrp_cal_tx_dc_offset.cpp
index 570203496..2c75242c7 100644
--- a/host/utils/usrp_gen_tx_dc_cal_table.cpp
+++ b/host/utils/usrp_cal_tx_dc_offset.cpp
@@ -140,7 +140,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
//print the help message
if (vm.count("help")){
- std::cout << boost::format("USRP Generate TX Frontend Calibration Table %s") % desc << std::endl;
+ std::cout << boost::format("USRP Generate TX DC Offset Calibration Table %s") % desc << std::endl;
std::cout <<
"This application measures leakage between RX and TX on an XCVR daughterboard to self-calibrate.\n"
<< std::endl;
diff --git a/host/utils/usrp_gen_tx_iq_cal_table.cpp b/host/utils/usrp_cal_tx_iq_balance.cpp
index a2b98d8e6..c7cda49c7 100644
--- a/host/utils/usrp_gen_tx_iq_cal_table.cpp
+++ b/host/utils/usrp_cal_tx_iq_balance.cpp
@@ -140,7 +140,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
//print the help message
if (vm.count("help")){
- std::cout << boost::format("USRP Generate TX Frontend Calibration Table %s") % desc << std::endl;
+ std::cout << boost::format("USRP Generate TX IQ Balance Calibration Table %s") % desc << std::endl;
std::cout <<
"This application measures leakage between RX and TX on an XCVR daughterboard to self-calibrate.\n"
<< std::endl;
diff --git a/host/utils/usrp_cal_utils.hpp b/host/utils/usrp_cal_utils.hpp
index c9695d305..c08d869ed 100644
--- a/host/utils/usrp_cal_utils.hpp
+++ b/host/utils/usrp_cal_utils.hpp
@@ -39,7 +39,7 @@ static const size_t wave_table_len = 8192;
static const size_t num_search_steps = 5;
static const size_t num_search_iters = 7;
static const size_t skip_initial_samps = 20;
-static const double default_freq_step = 13.7e3;
+static const double default_freq_step = 13.7e6;
static const size_t default_num_samps = 10000;
/***********************************************************************