From 0ac85e4d0186cb63cb98da90363f34947675b3e5 Mon Sep 17 00:00:00 2001 From: mattprost Date: Thu, 5 Mar 2020 10:47:59 -0600 Subject: x300: lf/basic antenna API implementation This results in a change of operation for LF/Basic Boards on X300/X310 devices. The RX streaming mode will now be specified by the antenna rather than the subdev: (AB or BA for complex streaming, and A or B for real-mode streaming, with AB being the default antenna value). For real-mode streaming, data is collected as complex data with zeroed-out values in the quadrature domain. The subdevs for these boards have been changed to 0 and 1 for the RX channels, and 0 for the TX channel, in order to align with subdev specs of other RFNoC devices. Note: the old streaming mode paradigm is still in place for the N210. --- host/lib/usrp/cores/rx_frontend_core_3000.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/usrp/cores') diff --git a/host/lib/usrp/cores/rx_frontend_core_3000.cpp b/host/lib/usrp/cores/rx_frontend_core_3000.cpp index 788e222ed..1dc8be745 100644 --- a/host/lib/usrp/cores/rx_frontend_core_3000.cpp +++ b/host/lib/usrp/cores/rx_frontend_core_3000.cpp @@ -193,6 +193,7 @@ public: { switch (_fe_conn.get_sampling_mode()) { case fe_connection_t::REAL: + return _adc_rate; case fe_connection_t::HETERODYNE: return _adc_rate / 2; default: -- cgit v1.2.3