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

Update ad469x spi engine #1181

Merged
merged 5 commits into from
Oct 24, 2023
Merged

Update ad469x spi engine #1181

merged 5 commits into from
Oct 24, 2023

Conversation

PIoandan
Copy link
Collaborator

@PIoandan PIoandan commented Sep 25, 2023

PR Description

I replaced the SPI Engine connections in the ad469x_bd.tcl with the
spi_engine_create procedure found in the spi_engine.tcl script. Through
these changes, a more generic instantiation for the spi_engine can be
achieved. I also created the ad469x_fmc.txt file for generating the system_constr.xdc file.
Linux part works partially. Tested with NO-OS and it does not work.

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 followed the code style guidelines
  • I have performed a self-review of changes
  • I have compiled all hdl projects and libraries affected by this PR
  • I have tested in hardware affected projects, at least on relevant boards
  • I have commented my code, at least hard-to-understand parts
  • I have signed off all commits from this PR
  • I have updated the documentation (wiki pages, ReadMe files, Copyright etc)
  • I have not introduced new Warnings/Critical Warnings on compilation
  • I have added new hdl testbenches or updated existing ones

projects/ad469x_fmc/common/ad469x_bd.tcl Outdated Show resolved Hide resolved
projects/ad469x_fmc/zed/system_constr.xdc Outdated Show resolved Hide resolved
projects/ad469x_fmc/zed/system_constr.xdc Outdated Show resolved Hide resolved
projects/ad469x_fmc/zed/system_constr.xdc Outdated Show resolved Hide resolved
gastmaier
gastmaier previously approved these changes Sep 27, 2023
Copy link
Contributor

@IuliaCMoldovan IuliaCMoldovan left a comment

Choose a reason for hiding this comment

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

The PR description and the commit message should be modified to also state why this change was done. After the PR is approved, the commits must be squashed

I replaced the SPI Engine connections in the ad469x_bd.tcl with the
spi_engine_create procedure found in the spi_engine.tcl script. Through
these changes, a more generic instantiation for the spi_engine can be
achieved. I also created the ad469x_fmc.txt file for generating the
system_constr.xdc file.

Signed-off-by: Ioan-daniel Pop <Pop.Ioan-daniel@analog.com>
The system_constr.xdc file is made based on the fmc_constr.xdc file
generated by the adi_fmc_constr_generator.tcl script.

Signed-off-by: Ioan-daniel Pop <Pop.Ioan-daniel@analog.com>
I modified the Readme.md file

Signed-off-by: Ioan-daniel Pop <Pop.Ioan-daniel@analog.com>
* Parts : [AD4696, 16-Bit, 16-Channel, 1 MSPS, Easy Drive Multiplexed SAR ADC](https://www.analog.com/ad4696)
* Parts : [AD4695, 16-Bit, 16-Channel, 500 kSPS, Easy Drive Multiplexed SAR ADC](https://www.analog.com/ad4695)
* Parts : [AD4697, 16-Bit, 8-Channel, 500 kSPS, Easy Drive Multiplexed SAR ADC](https://www.analog.com/ad4697)
* Parts : [AD4696, 16-Bit, 8-Channel, 1 MSPS, Easy Drive Multiplexed SAR ADC](https://www.analog.com/ad4696)
Copy link
Contributor

Choose a reason for hiding this comment

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

AD4696 appears to be duplicated, can you please remove it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done. The last part must be ad4698.

Regenerated the Makefile and updated the Readme.md file.

Signed-off-by: Ioan-daniel Pop <Pop.Ioan-daniel@analog.com>
PopPaul2021
PopPaul2021 previously approved these changes Oct 5, 2023
Copy link
Contributor

@PopPaul2021 PopPaul2021 left a comment

Choose a reason for hiding this comment

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

Looks good to me!

I edited the ad469x_fmc.txt file.

Signed-off-by: Ioan-daniel Pop <Pop.Ioan-daniel@analog.com>
@PIoandan PIoandan merged commit d3be779 into master Oct 24, 2023
1 of 2 checks passed
@PIoandan PIoandan deleted the update_ad469x_spi_engine branch October 24, 2023 09:44
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.

5 participants