| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
The Magnesium daughterboards have GPIO port expanders, but both have the
same udev label. In order to specify which port expander to use, we pass
in the parent udev I2c device.
|
| |
|
| |
|
|
|
|
|
| |
The setter will throw an exception though. It is supposed to be
overriden by device-specific classes.
|
|
|
|
|
|
|
|
|
|
|
| |
Prior to this commit, device_info was always an empty dictionary on all
dboard classes. The device_info dict is now auto-populated from the
EEPROM contents, if any were provided.
Dboard classes can still opt to amend that dictionary in specific class
implementations.
Signed-off-by: Martin Braun <martin.braun@ettus.com>
|
|
|
|
|
|
| |
There are cases where we need to specify a parent device in order to
disambiguate GPIO devices with the same label. This lets you passing in
a parent udev device to clarify.
|
|
|
|
| |
We're not using C++14 yet, so named captures are not yet available.
|
| |
|
|
|
|
|
| |
This is a specific override for the N310. It returns all the default
device info as a dict.
|
|
|
|
|
|
| |
MPMD binds a property for the mboard EEPROM to the appropriate RPC
calls. PeriphManager now provides default implementations for an mboard
EEPROM.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Based on feedback from ADI, updated SYSREF sequencing for
meeting deterministic latency requirements.
- Changed majority of register addresses in nijesdcore.py to
constants.
- Corrected write data to SYSREF_CAPTURE_CONTROL to produce
the correct SYSREF toggle rate inside the FPGA.
Signed-off-by: djepson1 <daniel.jepson@ni.com>
|
|
|
|
| |
Signed-off-by: djepson1 <daniel.jepson@ni.com>
|
|
|
|
| |
Signed-off-by: djepson1 <daniel.jepson@ni.com>
|
|
|
|
| |
Signed-off-by: djepson1 <daniel.jepson@ni.com>
|
|
|
|
| |
Signed-off-by: djepson1 <daniel.jepson@ni.com>
|
|
|
|
|
|
|
|
| |
- add clock shifting
- add DAC support
- modify __init__ calls for cleanup
Signed-off-by: djepson1 <daniel.jepson@ni.com>
|
|
|
|
|
|
|
|
| |
An N310 device will query all its dboards for ref lock status and
return a Boolean combination as a motherboard sensors (note: the N310
does not actually have a ref_locked sensor on the motherboard, this is
mostly for backwards-compat with UHD applications that expect a
motherboard ref lock sensor).
|
|
|
|
|
|
|
|
| |
- Motherboard sensors are automatically populated into the property
tree, they can be automatically enumerated and queried
- Daughterboard sensors have an API for querying and enumerating
sensors, but this commit does not automatically add them to the
property tree
|
|
|
|
| |
- Adds unit tests for sensor_value_t also
|
|
|
|
|
|
|
|
|
|
| |
This will enable both RevC and RevD from an MPM perspective. The
revision read back from the EEPROM is used to enable the code for either
rev.
The impact on the code is limited to the port expander GPIOs. Port
expander objects are instantiated in both the N310 MPM module as well as
the n3xx_bist executable.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
| |
add comments
add TODOs
fix set_gain return value
|
| |
|
|
|
|
|
| |
add comment
label get_fir as const
|
|
|
|
|
| |
change error outputs
add comments to some functions
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Better logging
- Better error messages
|
| |
|
|
|
|
|
| |
this fixes the channel swap in RX
preserves functionality in TX
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
... to match dts spec
|
|
|
|
|
|
| |
When reading revision numbers from EEPROM, we now have an easy way of
checking of our version MPM is sufficient to run on the current device.
N310 implicitly makes use of this starting with this commit.
|
|
|
|
|
| |
- Adds most API calls
- Adds prop tree nodes
|
| |
|
| |
|
|
|
|
|
| |
- Adds convenience method to read 16-bit SPI transactions
- Fixes peek16 in spi_regs_iface to actually use 16-bit transactions
|
| |
|
| |
|