aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp
diff options
context:
space:
mode:
authorTrung N Tran <trung.tran@ettus.com>2017-11-09 17:32:32 -0800
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:05:57 -0800
commit7df29f6ee62d44eaeed878700ddbaeeb1d7fda46 (patch)
treebc1ac0a1e4e09bd9ad3e6fbb23d7b459b9bf0449 /host/lib/usrp/dboard/magnesium/magnesium_constants.hpp
parentb9a0cf1467e89000658f69089bb773722e41ea89 (diff)
downloaduhd-7df29f6ee62d44eaeed878700ddbaeeb1d7fda46.tar.gz
uhd-7df29f6ee62d44eaeed878700ddbaeeb1d7fda46.tar.bz2
uhd-7df29f6ee62d44eaeed878700ddbaeeb1d7fda46.zip
mg: Add LO specific properties and methods
This change adds extra hooks to the property tree to make LOs accessible thru the property tree. These can be used by multi_usrp api. Reviewed-By: Martin Braun <martin.braun@ettus.com>
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_constants.hpp')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_constants.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp b/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp
index 581b1cc97..94b7c52d2 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp
@@ -13,6 +13,12 @@
static const size_t FPGPIO_MASTER_RADIO = 0;
+static const double AD9371_MIN_FREQ = 300.0e6; // Hz
+static const double AD9371_MAX_FREQ = 6.0e9; // Hz
+
+static const double ADF4351_MIN_FREQ = 35.0e6;
+static const double ADF4351_MAX_FREQ = 4.4e9;
+
static const double MAGNESIUM_RADIO_RATE = 125e6; // Hz
static const double MAGNESIUM_MIN_FREQ = 1e6; // Hz
static const double MAGNESIUM_MAX_FREQ = 6e9; // Hz
@@ -50,6 +56,11 @@ static const double MAGNESIUM_CENTER_FREQ = 2.5e9; // Hz
static const std::vector<std::string> MAGNESIUM_RX_ANTENNAS = {
"TX/RX", "RX2", "CAL", "LOCAL"
};
+//! AD9371 LO (for direct conversion)
+static const char* MAGNESIUM_LO1 = "rfic";
+//! Low-band LO (for IF conversion)
+static const char* MAGNESIUM_LO2 = "low_synth";
+
static const double MAGNESIUM_DEFAULT_BANDWIDTH = 40e6; // Hz TODO: fix
// Note: MAGNESIUM_NUM_CHANS is independent of the number of chans per
// RFNoC block. TODO: When we go to one radio per dboard, this comment can