diff options
| author | Sugandha Gupta <sugandha.gupta@ettus.com> | 2018-08-03 18:59:24 -0700 | 
|---|---|---|
| committer | Brent Stapleton <bstapleton@g.hmc.edu> | 2018-08-09 17:39:14 -0700 | 
| commit | 885d5a8acc86162d4c728814d6b4f96686404684 (patch) | |
| tree | 6bbf6d5024e1d3c765d36266b4e3feb61168aecc /host/lib/usrp/dboard/neon/neon_constants.hpp | |
| parent | 4683f0fa1886e3d53749965471ce419d42f04fd2 (diff) | |
| download | uhd-885d5a8acc86162d4c728814d6b4f96686404684.tar.gz uhd-885d5a8acc86162d4c728814d6b4f96686404684.tar.bz2 uhd-885d5a8acc86162d4c728814d6b4f96686404684.zip  | |
e320: Fix tx/rx atr - antenna and frequency settings
- Change RX/TX min/max frequency according to AD9361 datasheet
- Fix set_atr_bits to change with rx/tx frequency and antenna independently
- Make AMP switching active high
Diffstat (limited to 'host/lib/usrp/dboard/neon/neon_constants.hpp')
| -rw-r--r-- | host/lib/usrp/dboard/neon/neon_constants.hpp | 9 | 
1 files changed, 6 insertions, 3 deletions
diff --git a/host/lib/usrp/dboard/neon/neon_constants.hpp b/host/lib/usrp/dboard/neon/neon_constants.hpp index dc560ca93..58e5244fc 100644 --- a/host/lib/usrp/dboard/neon/neon_constants.hpp +++ b/host/lib/usrp/dboard/neon/neon_constants.hpp @@ -19,8 +19,11 @@ static constexpr double AD9361_RX_MAX_BANDWIDTH = 40.0e6; // HZ  static constexpr double AD9361_TX_MIN_BANDWIDTH = 20.0e6;  // HZ  static constexpr double AD9361_TX_MAX_BANDWIDTH = 40.0e6; // HZ -static constexpr double AD9361_MIN_FREQ = 70.0e6; // Hz -static constexpr double AD9361_MAX_FREQ = 6.0e9; // Hz +static constexpr double AD9361_TX_MIN_FREQ = 47.0e6; // Hz +static constexpr double AD9361_TX_MAX_FREQ = 6.0e9; // Hz + +static constexpr double AD9361_RX_MIN_FREQ = 70.0e6; // Hz +static constexpr double AD9361_RX_MAX_FREQ = 6.0e9; // Hz  static constexpr double NEON_RADIO_RATE = 16e6; // Hz @@ -43,7 +46,7 @@ static constexpr char   NEON_DEFAULT_RX_ANTENNA[] = "RX2";  static constexpr char   NEON_DEFAULT_TX_ANTENNA[] = "TX/RX";  static const std::vector<std::string> NEON_RX_ANTENNAS = { -    "TX/RX", "RX2" +    "RX2", "TX/RX"  };  static constexpr size_t NEON_NUM_CHANS = 2;  | 
