diff options
author | Mark Meserve <mark.meserve@ni.com> | 2017-06-29 14:59:18 -0500 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-06-30 13:26:47 -0700 |
commit | 533b7ea652ebe5acc2ec2a5434284af608a0f521 (patch) | |
tree | c77899effffade1978780eb24e0cc3bb249e654d /host/lib/usrp/dboard/db_sbx_common.hpp | |
parent | 49d3d20e0c71db8454246f95c45ab47eb06496a0 (diff) | |
download | uhd-533b7ea652ebe5acc2ec2a5434284af608a0f521.tar.gz uhd-533b7ea652ebe5acc2ec2a5434284af608a0f521.tar.bz2 uhd-533b7ea652ebe5acc2ec2a5434284af608a0f521.zip |
cbx: turn on LO LPF at <2GHz instead of <1.5GHz
Diffstat (limited to 'host/lib/usrp/dboard/db_sbx_common.hpp')
-rw-r--r-- | host/lib/usrp/dboard/db_sbx_common.hpp | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/host/lib/usrp/dboard/db_sbx_common.hpp b/host/lib/usrp/dboard/db_sbx_common.hpp index ad64e2267..0c0ad3ca7 100644 --- a/host/lib/usrp/dboard/db_sbx_common.hpp +++ b/host/lib/usrp/dboard/db_sbx_common.hpp @@ -116,6 +116,14 @@ static const freq_range_t sbx_enable_rx_lo_filter = list_of (range_t(0.4e9, 1.5e9)) ; +static const freq_range_t cbx_enable_tx_lo_filter = list_of + (range_t(1.2e9, 2e9)) +; + +static const freq_range_t cbx_enable_rx_lo_filter = list_of + (range_t(1.2e9, 2e9)) +; + static const std::vector<std::string> sbx_tx_antennas = list_of("TX/RX")("CAL"); static const std::vector<std::string> sbx_rx_antennas = list_of("TX/RX")("RX2")("CAL"); @@ -226,9 +234,12 @@ protected: /*! * CBX daughterboard * - * The only driver difference between SBX and CBX is the MAX2870 vs. ADF435x. - * There is also no LO filter switching required, but the GPIO is left blank - * so we don't worry about it. + * There are a few differences between SBX and CBX + * - The CBX and SBX use the MAX2870 and ADF435x respectively for LOs + * - There are different frequency ranges + * - There are different LO LPF cutoff frequencies + * There is also no LO filter switching required on CBX, but the GPIO is left + * blank so we don't worry about it. */ class cbx : public sbx_versionx { public: @@ -252,6 +263,18 @@ protected: freq_range_t freq_range; /*! + * Frequency range to use the LO LPF in RX; this is set in the constructor + * to correspond either to SBX or CBX. + */ + freq_range_t enable_rx_lo_filter; + + /*! + * Frequency range to use the LO LPF in TX; this is set in the constructor + * to correspond either to SBX or CBX. + */ + freq_range_t enable_tx_lo_filter; + + /*! * Handle to the version-specific implementation of the SBX. * * Since many of this class's functions are dependent on the version of the |