Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mpm: mykonos: Increase SPI speed to 20 MHz | Trung N Tran | 2017-12-22 | 1 | -1/+1 |
| | |||||
* | mpm: mykonos: Add API to change master clock rate | Trung N Tran | 2017-12-22 | 6 | -9/+126 |
| | |||||
* | mpm: ad937x: Add LO lock API | Martin Braun | 2017-12-22 | 1 | -0/+11 |
| | | | | | Reviewed-By: Steven Bingler <steven.bingler@ni.com> Reviewed-By: Trung Tran <trung.tran@ettus.com> | ||||
* | mpm: Minor spidev fixes | Martin Braun | 2017-12-22 | 1 | -18/+5 |
| | | | | Fixes some compiler warnings. | ||||
* | mpm: lib: ad937x: Change _get_arm_binary_path | Moritz Fischer | 2017-12-22 | 1 | -1/+1 |
| | | | | | | | The firmware will be installed under /lib/firmware/adi/mykonos-m3.bin, so going forward this is the path we require. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> | ||||
* | mpm: enable RX external LO set through args | Trung N Tran | 2017-12-22 | 5 | -5/+50 |
| | | | | | | | | | This change allow user to set RX LO of ad9371 to external or internal from args constructor of usrp device. new args is rx_lo_source value can be either internal or external: If there's no rx_lo_source specified or invalid value, default rx_lo is used; which is internal LO. Usage example: usrp_application --args "rx_lo_source=external" | ||||
* | mg: enable init and track calibration API | Trung Tran | 2017-12-22 | 3 | -58/+75 |
| | | | | | | | | | | | | | | | | | | | Currently, AD9371 turned on most of the calibration and hard coding the turning on process during bringup time. This change enables users to pass in a mask field for init ARM calibration and tracking arm calibration at the time creating USRP device reference. This mask field can be passed through device arguments of: 1/ init_cals : for init ARM calibration masks. This is defined in AD9371 UG-992 table 65. Default to 0x4DFF 2/ tracking_cals : for tracking calibration masks. This is defined in AD9371 UG-992 table 66. Default to 0xC3 Example of pasing in init calibration and tracking calibration mask usrp_application --args "init_cals=0x4f, tracking_cals=0xC3" NOTE: UHD currently expect user to input the correct init_cals and tracking_cals. There's no mechanism to check if init mask and tracking mask are valid. For example if the init mask field not mask 0x4f, the AD9371 will failed to setup. | ||||
* | mpm: ad937x: Make log functions go through central logger | Martin Braun | 2017-12-22 | 1 | -5/+26 |
| | | | | Reviewed-By: Mark Meserve <mark.meserve@ni.com> | ||||
* | mpm: Add log_buf class | Martin Braun | 2017-12-22 | 2 | -0/+65 |
| | | | | | | | This is a buffer for log messages, designed for getting log messages from C++ back into Python. Reviewed-By: Mark Meserve <mark.meserve@ni.com> | ||||
* | mykonos: turn on init cals and tracking cals | Trung N Tran | 2017-12-22 | 1 | -13/+13 |
| | |||||
* | spidev: fix error handling in initialization | Mark Meserve | 2017-12-22 | 2 | -41/+78 |
| | | | | | | | | | | | - Reversed the incorrect logic in spidev_iface.cpp for error checking on init_spi - Error on failed fd creation is now valid and added a null pointer check for fd - ioctl read operations are now given non-const references - Bits per word coercion check is now initialized correctly - Coercion errors now return -ENOTSUP instead of 2 - Improved logging messages with more information | ||||
* | ad937x: remove magic constant in ad937x_config_t | Mark Meserve | 2017-12-22 | 2 | -4/+7 |
| | |||||
* | ad937x: revise ad937x_device | Mark Meserve | 2017-12-22 | 1 | -8/+8 |
| | | | | | | add comments add TODOs fix set_gain return value | ||||
* | ad937x: add comments to ad937x_gain_ctrl_config | Mark Meserve | 2017-12-22 | 2 | -17/+19 |
| | |||||
* | ad937x: update ad937x_fir | Mark Meserve | 2017-12-22 | 2 | -3/+4 |
| | | | | | add comment label get_fir as const | ||||
* | ad937x: address TODOs in adi_ctrl | Mark Meserve | 2017-12-22 | 1 | -10/+44 |
| | | | | | change error outputs add comments to some functions | ||||
* | ad937x: cleanup and optimize ad937x_config_t | Mark Meserve | 2017-12-22 | 2 | -66/+54 |
| | |||||
* | mg: replace bind with lambda in ad937x_device | Mark Meserve | 2017-12-22 | 1 | -49/+56 |
| | |||||
* | mg: add const where possible in ad937x_device | Mark Meserve | 2017-12-22 | 2 | -43/+43 |
| | |||||
* | mg: make timeout values uint32_t | Mark Meserve | 2017-12-22 | 1 | -1/+1 |
| | |||||
* | mg: add new framer/deframer values | Mark Meserve | 2017-12-22 | 1 | -3/+6 |
| | | | | | this fixes the channel swap in RX preserves functionality in TX | ||||
* | adi: update arm_version function signature | Mark Meserve | 2017-12-22 | 3 | -1/+36 |
| | |||||
* | adi: reapply our changes to API version 3565 | Mark Meserve | 2017-12-22 | 4 | -33/+33 |
| | |||||
* | adi: update to API version 3565 | Mark Meserve | 2017-12-22 | 14 | -1191/+3244 |
| | |||||
* | mpm: ad937x: Updated controls | Mark Meserve | 2017-12-22 | 6 | -236/+460 |
| | |||||
* | mpm: spi: Added 16-bit SPI transactions | Mark Meserve | 2017-12-22 | 2 | -4/+28 |
| | | | | | - Adds convenience method to read 16-bit SPI transactions - Fixes peek16 in spi_regs_iface to actually use 16-bit transactions | ||||
* | mg: General fixes | Mark Meserve | 2017-12-22 | 4 | -133/+128 |
| | | | | | - Make DB probe-able - Add RPC client | ||||
* | mpm: spi: Added 16-bit access to SPI regs | Martin Braun | 2017-12-22 | 1 | -1/+30 |
| | |||||
* | mpm: Enabled selection of SPI mode | Martin Braun | 2017-12-22 | 2 | -6/+10 |
| | |||||
* | mg: bring up links | Mark Meserve | 2017-12-22 | 4 | -64/+76 |
| | |||||
* | mpm: eiscat: magnesium: Removed C++-only SPI ifaces | Martin Braun | 2017-12-22 | 5 | -84/+3 |
| | | | | | | | - EISCAT is now Python only with the exception of the definition of the SPI ifaces - Magnesium uses a Python-generated SPI iface - Removed SPI lock from EISCAT dboard | ||||
* | mpm: eiscat: Added first pass at EISCAT dboard driver | Martin Braun | 2017-12-22 | 2 | -0/+37 |
| | |||||
* | mpm: Exposed spi regs iface factory to Python | Martin Braun | 2017-12-22 | 1 | -0/+20 |
| | |||||
* | mpm: Added peek/poke interface to ad937x_ctrl | Martin Braun | 2017-12-22 | 1 | -0/+12 |
| | |||||
* | mpm: Major refactoring | Martin Braun | 2017-12-22 | 22 | -290/+704 |
| | | | | | | - Created clean interfaces for SPI and registers - Severed most links to UHD - Added a lockable class which allows exposing mutexes into Python | ||||
* | spidev: initialize cs_change | Mark Meserve | 2017-12-22 | 1 | -2/+3 |
| | |||||
* | mpm: Fixed a plethora of SPI-related issues | Martin Braun | 2017-12-22 | 8 | -39/+80 |
| | |||||
* | ad9371: Added JESD init functionality | Mark Meserve | 2017-12-22 | 7 | -112/+223 |
| | |||||
* | mpm: mpm reorganization | Andrej Rode | 2017-12-22 | 3 | -213/+0 |
| | |||||
* | mpm: Improved ad937x code | Mark Meserve | 2017-12-22 | 7 | -79/+481 |
| | | | | | | - Add gain control pin configuration - Fixed gcc compilation - Better docstrings | ||||
* | mpm: fixup for spi and ad937x path changes | Mark Meserve | 2017-12-22 | 3 | -3/+3 |
| | |||||
* | mpm: clean up spi | Mark Meserve | 2017-12-22 | 6 | -245/+18 |
| | | | | | remove spi_lock remove ad9371 spi_config types | ||||
* | ad9371: update jesd default config | Mark Meserve | 2017-12-22 | 1 | -4/+4 |
| | |||||
* | ad9371: cleanup ctrl | Mark Meserve | 2017-12-22 | 3 | -53/+51 |
| | | | | | | remove device forward declaration make helper functions local to ad9371_ctrl.cpp fix UHD include paths | ||||
* | ad9371: whitespace cleanup | Mark Meserve | 2017-12-22 | 8 | -144/+144 |
| | |||||
* | mpm: move public includes into include/ | Martin Braun | 2017-12-22 | 15 | -374/+31 |
| | |||||
* | mpm: python refactoring | Andrej Rode | 2017-12-22 | 9 | -2/+504 |
| | |||||
* | mpm: add make factory to lmk04828 spi iface | Andrej Rode | 2017-12-22 | 1 | -0/+5 |
| | |||||
* | mpm: cleanup CMakeLists, fixup minor bugs | Andrej Rode | 2017-12-22 | 3 | -3/+4 |
| | |||||
* | mpm: Minor modifications to ad937x controls | Martin Braun | 2017-12-22 | 3 | -29/+28 |
| | | | | | - Made rates a vector instead of set for better compat w/ RPC and UHD - Minor whitespace fixes |