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

library/spi_engine: fix PCORE_VERSION #1637

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dlech
Copy link
Collaborator

@dlech dlech commented Mar 31, 2025

Commit 24f2454 ("SPI Engine: simplify interconnect (#1502)") bumped the patch version in the documentation but missed changing it in PCORE_VERSION which is the value used by the version register.

PR Description

Please replace this comment with summary, motivation and context of the changes.
List any dependencies required for this change.

You can check the checkboxes below by inserting a 'x' between square brackets
(without any other characters or spaces) or just check them after publishing the PR.

If there is a breaking change, specify dependent PRs in description and
try to push all related PRs at the same time.

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)
  • Documentation

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

Commit 24f2454 ("SPI Engine: simplify interconnect (analogdevicesinc#1502)") bumped the patch version in
the documentation but missed changing it in PCORE_VERSION which is the value used by the
version register.

Signed-off-by: David Lechner <[email protected]>
Commit 24f2454 ("SPI Engine: simplify interconnect (analogdevicesinc#1502)") made it so that the SYNC
command is no longer required. This is actually a "feature" we want to test for. So that
commit should have bumped the minor version instead of the patch version. Bump the version
now so that we can test for this feature in the software driver.

Signed-off-by: David Lechner <[email protected]>
@dlech
Copy link
Collaborator Author

dlech commented Mar 31, 2025

It turns out that being able to omit the SYNC instruction is a feature that is useful to obtain 4MSPS on 16-bit ADC w/ 80MHz SCLK. So I added another patch to bump the version even more so that we can test for this feature in software. Assuming that I interpreted the commit message correctly and SYNC really is no longer required. 😄

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.

1 participant