aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Tsou <tom.tsou@ettus.com>2016-05-03 15:14:06 -0700
committerTom Tsou <tom.tsou@ettus.com>2016-05-03 15:14:06 -0700
commita5e0f1cdba850d50a6743ec3aeaa565b25db0465 (patch)
treee1df6c8101bb4edea0d6c1e9f3feb50e21cedb6d
parent2c650a6895f573e4455f55f0d1ed136ba8ae4744 (diff)
uhd: Update default E3XX settings
Tune timing values after testing on UHD 003.009.002 for E3XX. Table value for 1 sps was off by 10 samples causing improper operation. Table value for 4 sps was shifted by 1 sample for more accurate timing. Also update E3XX description string detection. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
-rw-r--r--Transceiver52M/UHDDevice.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/Transceiver52M/UHDDevice.cpp b/Transceiver52M/UHDDevice.cpp
index f63aa56..bcb64b0 100644
--- a/Transceiver52M/UHDDevice.cpp
+++ b/Transceiver52M/UHDDevice.cpp
@@ -110,8 +110,8 @@ static struct uhd_dev_offset uhd_offsets[] = {
{ B210, 4, 1, B2XX_TIMING_4SPS, "B210 4 SPS" },
{ E1XX, 1, 1, 9.5192e-5, "E1XX 1 SPS" },
{ E1XX, 4, 1, 6.5571e-5, "E1XX 4 SPS" },
- { E3XX, 1, 1, 1.5000e-4, "E3XX 1 SPS" },
- { E3XX, 4, 1, 1.2740e-4, "E3XX 4 SPS" },
+ { E3XX, 1, 1, 1.84616e-4, "E3XX 1 SPS" },
+ { E3XX, 4, 1, 1.29231e-4, "E3XX 4 SPS" },
{ X3XX, 1, 1, 1.5360e-4, "X3XX 1 SPS"},
{ X3XX, 4, 1, 1.1264e-4, "X3XX 4 SPS"},
{ UMTRX, 1, 1, 9.9692e-5, "UmTRX 1 SPS" },
@@ -657,7 +657,7 @@ bool uhd_device::parse_dev_type()
b210_str = mboard_str.find("B210");
e100_str = mboard_str.find("E100");
e110_str = mboard_str.find("E110");
- e310_str = mboard_str.find("E310");
+ e310_str = mboard_str.find("E3XX");
x300_str = mboard_str.find("X300");
x310_str = mboard_str.find("X310");
umtrx_str = dev_str.find("UmTRX");
@@ -700,7 +700,8 @@ bool uhd_device::parse_dev_type()
tx_window = TX_WINDOW_FIXED;
dev_type = UMTRX;
} else {
- LOG(ALERT) << "Unknown UHD device type " << dev_str;
+ LOG(ALERT) << "Unknown UHD device type "
+ << dev_str << " " << mboard_str;
return false;
}