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

adi: Add support for AD4052 #28

Merged
merged 3 commits into from
May 20, 2024
Merged

adi: Add support for AD4052 #28

merged 3 commits into from
May 20, 2024

Conversation

ribdp
Copy link
Contributor

@ribdp ribdp commented May 17, 2024

Pull Request Description

  1. Add AD405x driver for the family
  2. Add Rx class for AD4052
  3. Add example script

PR Type

  • Bug fix (change that fixes an issue)
  • New feature (change that adds new functionality)
  • Breaking change (has dependencies in other repos or will cause CI to fail)

PR Checklist

  • I have performed a self-review of the changes
  • I have commented my code, at least hard-to-understand parts
  • I have build all projects affected by the changes in this PR
  • I have tested in hardware affected projects, at the relevant boards
  • I have signed off all commits from this PR
  • I have updated the documentation by running CI/gen_doc/docs/gen_sysobj_doc.m script locally, if applies.

@ribdp ribdp force-pushed the add-ad405x-drivers branch 3 times, most recently from 01ce48b to 1e26742 Compare May 20, 2024 05:28
Copy link
Collaborator

@SaikiranGudla SaikiranGudla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some minor comments

% integer.
SamplesPerFrame = 400

% BurstAveragingLength Burst Averaging Length
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Format extra space

% Length of the averaging filter in 'burst averaging mode'
AvgFilterLength = 2

% BurstSampleRate Burst Sample Rate
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: extra space

end

function set.AvgFilterLength(obj, value)
% Setter method for the Averaging Filter Length attribute
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Can format comment spacing in-line with the line 85. Same comment for line 93.

@@ -0,0 +1,37 @@
Reference APIs
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall this change be reflected in the commit message as this is not specific to ad405x doco?

@@ -11,9 +11,9 @@ jobs:
with:
submodules: recursive
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v5
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be part of a separate commit (maybe the previous one on documentation) and a relevant message be added to the commit?

@ribdp ribdp force-pushed the add-ad405x-drivers branch 3 times, most recently from 47c4cf3 to 7f8d09a Compare May 20, 2024 07:07
@ribdp ribdp requested a review from SaikiranGudla May 20, 2024 07:29
Copy link
Collaborator

@SaikiranGudla SaikiranGudla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo in 3rd commit message word instruction.

Is Base.m file removed? It somehow doesn't appear on my end.!

ribdp added 2 commits May 20, 2024 13:23
1. Add AD405x family driver base class
2. Add AD4052 Receive rx class
3. Add AD4052 data capture example

Signed-off-by: RibhuDP <[email protected]>
1. Add reference to reference api index
2. Generate documentation from comments

Signed-off-by: RibhuDP <[email protected]>
@ribdp ribdp force-pushed the add-ad405x-drivers branch from 7f8d09a to c8c112d Compare May 20, 2024 07:56
1. Update pull request template instruction for doc build
2. Update requirements and doc.yml for sphinx installation

Signed-off-by: RibhuDP <[email protected]>
@ribdp ribdp force-pushed the add-ad405x-drivers branch from c8c112d to bae1d9a Compare May 20, 2024 07:58
@ribdp ribdp requested a review from SaikiranGudla May 20, 2024 07:58
@ribdp ribdp merged commit 7b86a3d into main May 20, 2024
5 checks passed
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