aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp
Commit message (Collapse)AuthorAgeFilesLines
* n310: Add Filter API to n310mattprost2022-04-071-0/+3
| | | | | | | | | | Add the Filter API to n3xx specifically for the AD937x device. The TX filter is limited to 32 taps, and the RX filter is limited to 48 taps. This feature requires MPM version 4.2 or later on the device. Co-authored-by: bpadalino <bpadalino@gmail.com> Signed-off-by: mattprost <matt.prost@ni.com>
* n3x0/e3x0: Remove reference to "master FP-GPIO radio"Martin Braun2021-07-301-1/+0
| | | | | | | | | In days of yore, before we had evolved RFNoC to the UHD 4.0 state, only one radio on N310 was able to drive the front-panel GPIOs. With the introduction of the UHD 4.0 GPIO API, we have fine-grained control for every pin who may drive it. This makes this constant obsolete, and we remove it to avoid confusion. Besides, these two `constexpr` values where being used nowhere.
* dboard: magnesium: Update Rx IF Frequency Valuemattprost2021-04-301-1/+1
| | | | | | | Add extra precision to if frequency in the low band rx path in order to avoid hitting the edges of a filter. Signed-off-by: mattprost <matt.prost@ni.com>
* uhd: Apply clang-format against all .cpp and .hpp files in host/Martin Braun2020-03-031-1/+1
| | | | | Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against.
* mg/rh/rfnoc: Harmonize peripheral registersMartin Braun2019-11-261-6/+16
| | | | | - Move the SPI addresses out of radio_control_impl - Fix the GPIO address spaces for N310/N300
* x300/mpmd: Port all RFNoC devices to the new RFNoC frameworkMartin Braun2019-11-261-0/+23
| | | | | | | Co-Authored-By: Alex Williams <alex.williams@ni.com> Co-Authored-By: Sugandha Gupta <sugandha.gupta@ettus.com> Co-Authored-By: Brent Stapleton <brent.stapleton@ettus.com> Co-Authored-By: Ciro Nishiguchi <ciro.nishiguchi@ni.com>
* mg: Allow for timeout on retuneMartin Braun2019-08-221-0/+3
| | | | set_freq() calls now have a 15 seconds timeout.
* uhd: mpm: apply clang-format to all filesBrent Stapleton2019-01-161-30/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applying formatting changes to all .cpp and .hpp files in the following directories: ``` find host/examples/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/tests/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/dboard/neon/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/dboard/magnesium/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/device3/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/mpmd/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/x300/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/utils/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find mpm/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file ``` Also formatted host/include/, except Cpp03 was used as a the language standard instead of Cpp11. ``` sed -i 's/ Cpp11/ Cpp03/g' .clang-format find host/include/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file ``` Formatting style was designated by the .clang-format file.
* mg: clipping frequencyTrung Tran2018-09-141-0/+3
| | | | | Clipping requested frequency to acceptable ranges in Magnesium TX/RX set frequency functions.
* mg: Allow calling set_rate() at runtimeMartin Braun2018-08-021-0/+1
|
* n3xx: add front panel gpio control registersTrung N Tran2018-02-211-1/+1
|
* uhd: Update license headersMartin Braun2018-02-191-1/+1
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* mg : implement set_bandwidthTrung N Tran2018-02-081-0/+6
|
* mg: Fix various compiler warningsMartin Braun2018-01-161-41/+34
| | | | | | - Made const constexpr where sensible - Moved non-global constants to their local scope - Changed const char * to const char[] where they should
* mg: add facility that handle individual gainTrung N Tran2018-01-121-0/+16
| | | | | | | -Create name for each gain/att element -Create property tree entry for each gain and their handlers. -Create gain profile that control how gain distributed. Right now, it is either "default" or "manual".
* mg: Use enums for all bands, move freq mapping to single locationMartin Braun2018-01-081-13/+1
| | | | | | | | This removes the need to re-implement the band checks (in particular, the low band check) in multiple places, potentially causing confusion. Signed-off-by: Trung Tran <trung.tran@ettus.com> Reviewed-by: Trung Tran <trung.tran@ettus.com>
* mg: Renamed lowband LO to 'lowband'Martin Braun2017-12-221-1/+1
| | | | Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* mg: Add LO specific properties and methodsTrung N Tran2017-12-221-0/+11
| | | | | | | | This change adds extra hooks to the property tree to make LOs accessible thru the property tree. These can be used by multi_usrp api. Reviewed-By: Martin Braun <martin.braun@ettus.com>
* mg: Enable variable master clock ratesMartin Braun2017-12-221-1/+0
| | | | | | | | | | The master_clock_rate argument is passed to init() during initialization; this change allows to query the correct MCR at initialization time. It does not allow changing the MCR while a session is active. The MCR also affects the LO settings; it is the reference clock for the lowband LOs.
* mg: Fix minor compiler warningsMartin Braun2017-12-221-2/+0
|
* mg: Enable CAL and LO-CAL "antenna" inputsMartin Braun2017-12-221-1/+1
| | | | | For consistency, the LO-CAL antenna name is actually "LOCAL" (without the dash).
* mg: Add static gain tables and -supportMartin Braun2017-12-221-2/+2
| | | | | | | | | - Adds two new compilation units (magnesium_gain_table.* and magnesium_radio_ctrl_gain.cpp) - Static gain tables are hard-coded in that file, includes method to look up gain table entries for a given frequency and gain - DSA code moved back to accept attenuation - TX/RX switch code needed update to enable bypass for certain gains
* mg: Refactor magnesium_radio_ctrl and friendsMartin Braun2017-12-221-0/+64
- Spin out AD9371 control into its own class - Split file into multiple compilation units - Fixed many minor code formatting issues