From 4c0be9993927d3ed71a5454e6039a36b6e664da4 Mon Sep 17 00:00:00 2001 From: nitest Date: Wed, 9 Oct 2019 10:19:37 -0500 Subject: 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. --- host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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( - 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); -- cgit v1.2.3