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

Workaround for TWI driver freeze #111

Merged
merged 2 commits into from
Oct 27, 2020
Merged

Workaround for TWI driver freeze #111

merged 2 commits into from
Oct 27, 2020

Conversation

JF002
Copy link
Collaborator

@JF002 JF002 commented Oct 23, 2020

Workaround for bug #79 until a better fix is found.
When the driver is stuck in an infinite loop for more than ~2.5ms, the TWI device is re-init and the transaction is retried.
Read() and Write() return an error code.

When the driver is stuck in an infinite loop for more than ~2.5ms, the TWI device is re-init and the transaction is retried.

Read() and Write() return an error code.
@JF002 JF002 mentioned this pull request Oct 23, 2020
@JF002 JF002 merged commit 45e65b6 into develop Oct 27, 2020
@JF002 JF002 mentioned this pull request Oct 27, 2020
@Avamander Avamander deleted the fix-twi-hang branch September 27, 2022 21:28
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