summaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorJason Abele <jason@ettus.com>2011-12-05 12:06:58 -0800
committerJosh Blum <josh@joshknows.com>2011-12-05 13:05:47 -0800
commit04da3ec10aee9b04dbc34cb10c3adf026adf03c7 (patch)
treea41225096f8172e0db80a12149f1ed7ef7d414a7 /host/lib
parent40c637bfb723be607800f67a3115aa1eee31f9d7 (diff)
downloaduhd-04da3ec10aee9b04dbc34cb10c3adf026adf03c7.tar.gz
uhd-04da3ec10aee9b04dbc34cb10c3adf026adf03c7.tar.bz2
uhd-04da3ec10aee9b04dbc34cb10c3adf026adf03c7.zip
Make TX disable mixer when idle to avoid LO leakage
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/dboard/db_sbx_common.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard/db_sbx_common.hpp b/host/lib/usrp/dboard/db_sbx_common.hpp
index 8997350ae..b3e55c209 100644
--- a/host/lib/usrp/dboard/db_sbx_common.hpp
+++ b/host/lib/usrp/dboard/db_sbx_common.hpp
@@ -47,7 +47,7 @@
#define TX_ATTN_MASK (63 << TX_ATTN_SHIFT) // valid bits of RX Attenuator Control
// Mixer functions
-#define TX_MIXER_ENB (SYNTH_PDBRF)
+#define TX_MIXER_ENB (SYNTH_PDBRF|TX_ENABLE)
#define TX_MIXER_DIS 0
#define RX_MIXER_ENB (SYNTH_PDBRF)
@@ -61,7 +61,7 @@
#define RXIO_MASK (LO_LPF_EN|LNASW|SYNTH_CE|SYNTH_PDBRF|RX_ATTN_MASK|DIS_POWER_RX|RX_DISABLE)
// Power functions
-#define TX_POWER_UP (SYNTH_CE|TX_ENABLE)
+#define TX_POWER_UP (SYNTH_CE)
#define TX_POWER_DOWN (DIS_POWER_TX)
#define RX_POWER_UP (SYNTH_CE)