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

Need to move I2C State Machine Handler to ISR for Maintaining Performance #338

Open
JamesHuard opened this issue Mar 6, 2025 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@JamesHuard
Copy link
Contributor

Due to the potential for delays between async calls, the state machine transitions (i.e., START->WRITE->CONT->READ->STOP) should be handled in the ISR directly, so that the async i2c transaction function simply polls a future for when the entire transfer is complete, instead of each individual state transition being polled. This will help guarantee I2C bus performance regardless of what work the CPU has bound

@jerrysxie jerrysxie added the enhancement New feature or request label Mar 6, 2025
@jerrysxie jerrysxie added this to the Code Complete milestone Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants