Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AD7944/85/86: Add preliminary support, docs #16

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

threexc
Copy link
Contributor

@threexc threexc commented Feb 13, 2024

This adds basic support for the AD7944, AD7985, and AD7986 ADCs to PrecisionToolbox.

It is currently in draft format because the driver has not been merged in the upstream Linux kernel yet and will not be present in the ADI tree until after that.

Note that no VoltageOffset() function was added because that hasn't been implemented in the driver.

Also, while the Voltage() function is present in all three classes and was implemented in a fashion identical to other devices (e.g. AD4020), it doesn't seem to work properly with the test environments I've been setting up. rx() and VoltageScale() work fine (the latter only correctly reports the value after rx() is run at least once; otherwise it reports NaN.

@CLAassistant
Copy link

CLAassistant commented Feb 13, 2024

CLA assistant check
All committers have signed the CLA.

@threexc
Copy link
Contributor Author

threexc commented Nov 13, 2024

Rebased the original work with some cleanup to reflect the upstream driver. Still need to do some testing for the AD7944 and AD7986 before moving it out of draft state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants