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

nrf: spim: Anomaly 109 workaround for SPIM peripheral (#460) #1871

Merged
merged 1 commit into from
Sep 10, 2023

Conversation

plaes
Copy link
Contributor

@plaes plaes commented Sep 7, 2023

This implements SPIM TX workaround suggested from section 3.8.1 from Anomaly 109 addendum.

In workaround case we first keep track of original maxcnt values, then initiate "fake" transfer with zero-length maxcnt values. Once the "fake" transfer is triggered, we handle it, fill in the original maxcnt values and restart the transmission.

This implements SPIM TX workaround suggested from section 3.8.1
from Anomaly 109 addendum.

In workaround case we first keep track of original maxcnt values,
then initiate "fake" transfer with zero-length maxcnt values.
Once the "fake" transfer is triggered, we handle it, fill in the
original maxcnt values and restart the transmission.
@plaes plaes force-pushed the dma-anomaly-109-spim-workaround branch from b83fa4e to 9de08d5 Compare September 7, 2023 15:58
Copy link
Member

@Dirbaio Dirbaio left a comment

Choose a reason for hiding this comment

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

thanks!

@Dirbaio Dirbaio added this pull request to the merge queue Sep 10, 2023
Merged via the queue into embassy-rs:main with commit 808fa9d Sep 10, 2023
@plaes plaes deleted the dma-anomaly-109-spim-workaround branch September 11, 2023 06:54
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