aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorMark Meserve <mark.meserve@ni.com>2019-05-28 14:24:28 -0500
committerMartin Braun <martin.braun@ettus.com>2019-05-28 17:03:51 -0700
commit6a290dbf60f658724bfc31a48ed3995b9ae4f7d2 (patch)
tree1be1983cddd71fa5fc429811b51859aff6e1e1a2 /host/lib
parent4eca9b9365063b867372f8a8dce7b1b3933e17a0 (diff)
downloaduhd-6a290dbf60f658724bfc31a48ed3995b9ae4f7d2.tar.gz
uhd-6a290dbf60f658724bfc31a48ed3995b9ae4f7d2.tar.bz2
uhd-6a290dbf60f658724bfc31a48ed3995b9ae4f7d2.zip
twinrx: increase rev c lo1 charge pump default value
- This change improves spur performance for the Rev C TwinRX daughterboard
Diffstat (limited to 'host/lib')
-rwxr-xr-xhost/lib/ic_reg_maps/gen_adf5356_regs.py2
-rw-r--r--host/lib/usrp/dboard/db_twinrx.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/ic_reg_maps/gen_adf5356_regs.py b/host/lib/ic_reg_maps/gen_adf5356_regs.py
index 65517c48e..7c9fce068 100755
--- a/host/lib/ic_reg_maps/gen_adf5356_regs.py
+++ b/host/lib/ic_reg_maps/gen_adf5356_regs.py
@@ -44,7 +44,7 @@ power_down 4[6] 0 disabled, enabled
pd_polarity 4[7] 1 negative, positive
mux_logic 4[8] 1 1_8V, 3_3V
ref_mode 4[9] 0 single, diff
-charge_pump_current 4[10:13] 0 0_30ma, 0_60ma, 0_90ma, 1_20ma, 1_50ma, 1_80ma, 2_10ma, 2_40ma, 2_70ma, 3_00ma, 3_30ma, 3_60ma, 3_90ma, 4_20ma, 4_50ma, 4_80ma
+charge_pump_current 4[10:13] 2 0_30ma, 0_60ma, 0_90ma, 1_20ma, 1_50ma, 1_80ma, 2_10ma, 2_40ma, 2_70ma, 3_00ma, 3_30ma, 3_60ma, 3_90ma, 4_20ma, 4_50ma, 4_80ma
double_buff_div 4[14] 0 disabled, enabled
r_counter_10_bit 4[15:24] 0
reference_divide_by_2 4[25] 0 disabled, enabled
diff --git a/host/lib/usrp/dboard/db_twinrx.cpp b/host/lib/usrp/dboard/db_twinrx.cpp
index bc655ef27..de1cd3f33 100644
--- a/host/lib/usrp/dboard/db_twinrx.cpp
+++ b/host/lib/usrp/dboard/db_twinrx.cpp
@@ -116,7 +116,7 @@ public:
"los/LO1/charge_pump/value",
prepend_ch("los/LO1/charge_pump/desired", _ch_name),
prepend_ch("los/LO1/charge_pump/coerced", _ch_name),
- (get_rx_id() == twinrx::TWINRX_REV_C_ID) ? 0.3e-6 : 0.9375e-6,
+ (get_rx_id() == twinrx::TWINRX_REV_C_ID) ? 0.9e-6 : 0.9375e-6,
AUTO_RESOLVE_ON_READ_WRITE);
// LO2 Charge Pump