From af894ef3ccb5cdbc83f60b04249ce33847f8ad86 Mon Sep 17 00:00:00 2001
From: Martin Braun <martin.braun@ettus.com>
Date: Mon, 15 Mar 2021 10:54:50 +0100
Subject: n320: Fix address for RX frontend control

The RX FE core was using the address for the TX FE core.
---
 host/lib/usrp/dboard/rhodium/rhodium_radio_control_init.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'host')

diff --git a/host/lib/usrp/dboard/rhodium/rhodium_radio_control_init.cpp b/host/lib/usrp/dboard/rhodium/rhodium_radio_control_init.cpp
index ced621cda..f19298697 100644
--- a/host/lib/usrp/dboard/rhodium/rhodium_radio_control_init.cpp
+++ b/host/lib/usrp/dboard/rhodium/rhodium_radio_control_init.cpp
@@ -160,7 +160,7 @@ void rhodium_radio_control_impl::_init_peripherals()
     _tx_fe_core->populate_subtree(get_tree()->subtree(FE_PATH / "tx_fe_corrections" / 0));
 
     RFNOC_LOG_TRACE("Initializing RX frontend DSP core...")
-    _rx_fe_core = rx_frontend_core_3000::make(_wb_iface, n320_regs::SR_TX_FE_BASE);
+    _rx_fe_core = rx_frontend_core_3000::make(_wb_iface, n320_regs::SR_RX_FE_BASE);
     _rx_fe_core->set_adc_rate(_master_clock_rate);
     _rx_fe_core->set_dc_offset(rx_frontend_core_3000::DEFAULT_DC_OFFSET_VALUE);
     _rx_fe_core->set_dc_offset_auto(rx_frontend_core_3000::DEFAULT_DC_OFFSET_ENABLE);
-- 
cgit v1.2.3