-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid bridge state corruption when the SoC polls too fast
Increase the delay in spid and make the bridge code more resilient against the EVSYS ISR preempting the DMA ISR when the bridge gets a new transaction before finishing processing the last one. There could be a better solution with more invasive changes to tell the SoC when it is allowed to poll. This fix doesn't guarantee correctness, and costs performance, but substantially improves stability when using all three bridge pipes simultaneously.
- Loading branch information
1 parent
120ad3c
commit 45250d8
Showing
2 changed files
with
27 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters