-
Notifications
You must be signed in to change notification settings - Fork 11
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
adi:ad559xr:Added Matlab Support #47
base: main
Are you sure you want to change the base?
Conversation
end | ||
|
||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we not adding any attributes here in the driver?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No this is only targeted at data capture
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can still add s-rate attribute perhaps? (if it's already part of Linux driver)
|
||
% Instantiate the system object | ||
rx = adi.AD5592r.Rx(); | ||
rx.uri = 'serial:COM43,230400,8n1n'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this part have a linux driver? if yes, should we add the URI as 'ip:analog.local'?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this part does have a linux driver but matlab is not a requested feature by apps and only the IIO fw ADC features are supported after an internal discussion. I this case, I feel it is okay to target the serail com port as uri
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But isn't it a generic standard that we provide the IP in all the drivers, even though we don't test it? @SaikiranGudla do you remember why we started adding the IP?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True... In case the Linux drivr exists, we put it to network address (ip here)... only if there's no Linux driver, we can go with serial uris.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add the parts to doc/source/index.rst?
35de8f6
to
ca7a125
Compare
Added Rx.m for ad5592r and ad5593r Added example script for data capture Signed-off-by: Disha D <Disha.D@analog.com>
Added Rx.m for ad5592r and ad5593r
Added example script for data capture
Pull Request Description
Please replace this with a detailed description and motivation of the changes.
You can tick the checkboxes below with an 'x' between square brackets or just check them after publishing the PR.
If this PR contains a breaking change, list dependent PRs and try to push all related PRs at the same time.
PR Type
PR Checklist