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

Add support for AD353xr #620

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

SaikiranGudla
Copy link
Contributor

@SaikiranGudla SaikiranGudla commented Dec 10, 2024

Add ad353xr.py driver
Add example script
Update index.rst, init.py, supported_parts.md files

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How has this been tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • Hardware:
  • OS:

Documentation

If this is a new feature or example please mention or link any documentation. All new hardware interface classes require documentation.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have signed off all commits and they contain "Signed-off by: "
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Sorry, something went wrong.

@SaikiranGudla SaikiranGudla force-pushed the ad353xr_support branch 8 times, most recently from 3c91481 to 337e85d Compare January 29, 2025 11:52
@SaikiranGudla
Copy link
Contributor Author

May I know if there are any comments on this PR, @tfcollins ?

@tfcollins tfcollins self-requested a review February 17, 2025 20:06
adi/ad353xr.py Outdated
# SPDX short identifier: ADIBSD
# Copyright (C) 2025 Analog Devices, Inc.
#
# All rights reserved.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Large license not required if you have the SPDX short identifier

adi/ad353xr.py Outdated
if not self._txdac:
raise Exception("Error in selecting matching device")

self.output_bits = []
Copy link
Collaborator

Choose a reason for hiding this comment

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

What is this property? If its expected to be used by end users then it needs to be documented. Otherwise it should not be "public"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this gives the channel-wise number of output bits expected to be used by the end-user. Added the docstring as required!

Copy link
Collaborator

@tfcollins tfcollins left a comment

Choose a reason for hiding this comment

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

Minor comments

@SaikiranGudla
Copy link
Contributor Author

Minor comments

Resolved them!

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add ad353xr.py driver
Add example code, test script
Update index.rst, init.py, supported_parts.md files
Add xml emu context file
Update hardware_map.yml file for test emulation

Signed-off-by: SGudla <[email protected]>
@tfcollins tfcollins merged commit a0c09a0 into analogdevicesinc:main Mar 19, 2025
23 of 25 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.

None yet

2 participants