diff options
author | nitest <matt.prost@ni.com> | 2019-10-09 10:19:37 -0500 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-10-10 16:39:03 -0700 |
commit | 4c0be9993927d3ed71a5454e6039a36b6e664da4 (patch) | |
tree | c9f8ace46c8d92a2724a93c5c8a91968e6e3aa56 /host/lib | |
parent | d79538d5a5f8b07bdcdc1684f3fffbf14c7aae6c (diff) | |
download | uhd-4c0be9993927d3ed71a5454e6039a36b6e664da4.tar.gz uhd-4c0be9993927d3ed71a5454e6039a36b6e664da4.tar.bz2 uhd-4c0be9993927d3ed71a5454e6039a36b6e664da4.zip |
n320: updated rhodium dboard mcr initialization
db0 is used as the master for driving the radio path and must be the dboard
used to set the master clock rate.
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp b/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp index 6b870b333..d6dbbc594 100644 --- a/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp +++ b/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp @@ -93,9 +93,10 @@ double rhodium_radio_ctrl_impl::set_rate(double requested_rate) return current_rate; } + // The master clock rate is always set by requesting db0's clock rate. UHD_LOG_TRACE(unique_id(), "Updating master clock rate to " << rate); auto new_rate = _rpcc->request_with_token<double>( - SET_RATE_RPC_TIMEOUT_MS, _rpc_prefix + "set_master_clock_rate", rate); + SET_RATE_RPC_TIMEOUT_MS, "db_0_set_master_clock_rate", rate); // The lowband LO frequency will change with the master clock rate, so // update the tuning of the device. set_tx_frequency(get_tx_frequency(0), 0); |