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

SPI finish interrupt is not working under DMA mode // Batch Async SPI Transfers with Bulk Data Exhibit Unreliable Behavior #33

Open
andelf opened this issue Sep 27, 2024 · 2 comments

Comments

@andelf
Copy link
Collaborator

andelf commented Sep 27, 2024

It seems that Future returns before the SPI transfer has finished.

Only occurs when bulk data is transferred under slow SPI frequency.

UPDATE:

SPI finish interrupt is not working under DMA mode.

@andelf
Copy link
Collaborator Author

andelf commented Sep 27, 2024

Bug in async fn transfer_inner().
DMA finish is awaited. No RX/TX finish signal is awaited.

andelf added a commit that referenced this issue Sep 28, 2024
@andelf andelf changed the title Batch Async SPI Transfers with Bulk Data Exhibit Unreliable Behavior SPI finish interrupt is not working under DMA mode // Batch Async SPI Transfers with Bulk Data Exhibit Unreliable Behavior Sep 28, 2024
andelf added a commit that referenced this issue Sep 28, 2024
@andelf
Copy link
Collaborator Author

andelf commented Sep 28, 2024

Added busy-loop waiting to address the issue. This issue will remain open to document the hardware behavior.

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

No branches or pull requests

1 participant