diff options
author | Scott Torborg <storborg@gmail.com> | 2018-03-04 18:24:13 -0800 |
---|---|---|
committer | Brent Stapleton <bstapleton@g.hmc.edu> | 2018-11-16 10:39:53 -0800 |
commit | 2df06060b57f33e095bfd08ce8143a7053c6fb6e (patch) | |
tree | d1b0f0485a8a3e3f188218ccf2196f72e8735926 /host/lib/usrp/x300/x300_defaults.hpp | |
parent | 1f0c8bd2c76a3d9149fd72a8b1a9a8356362018e (diff) | |
download | uhd-2df06060b57f33e095bfd08ce8143a7053c6fb6e.tar.gz uhd-2df06060b57f33e095bfd08ce8143a7053c6fb6e.tar.bz2 uhd-2df06060b57f33e095bfd08ce8143a7053c6fb6e.zip |
x300: New mode to configure master clock rate
Add a new clocking mode to automatically configure arbitrary master
clock rates.
Co-authored-by: Brent Stapleton <brent.stapleton@ettus.com>
Co-authored-by: Martin Braun <martin.braun@ettus.com>
Diffstat (limited to 'host/lib/usrp/x300/x300_defaults.hpp')
-rw-r--r-- | host/lib/usrp/x300/x300_defaults.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/host/lib/usrp/x300/x300_defaults.hpp b/host/lib/usrp/x300/x300_defaults.hpp index 1f5a52fec..363a90314 100644 --- a/host/lib/usrp/x300/x300_defaults.hpp +++ b/host/lib/usrp/x300/x300_defaults.hpp @@ -31,9 +31,10 @@ static constexpr size_t SRC_ADDR0 = 0; static constexpr size_t SRC_ADDR1 = 1; static constexpr size_t DST_ADDR = 2; -static constexpr double DEFAULT_TICK_RATE = 200e6; // Hz -static constexpr double BUS_CLOCK_RATE = 187.5e6; //Hz -static const std::vector<double> TICK_RATE_OPTIONS{184.32e6, 200e6}; +static constexpr double DEFAULT_TICK_RATE = 200e6; // Hz +static constexpr double MAX_TICK_RATE = 200e6; // Hz +static constexpr double MIN_TICK_RATE = 187.5e6; // Hz +static constexpr double BUS_CLOCK_RATE = 187.5e6; // Hz static const std::string FW_FILE_NAME = "usrp_x300_fw.bin"; |