Skip to content

Release TWI bus right after stop or repeated start condition #3735

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

Closed

Conversation

sandeepmistry
Copy link
Contributor

This resolves timing issues seen in #1477.

Merging #66 made timing errors from #1477 more frequent, as TWI bus was no longer released earlier (via twi_stop). This change releases the TWI bus right after a stop or repeated start condition is received.

Example sketches from #1477 (comment) can be used to reproduce, and verify the fix with 2 Arduino Uno boards. The delay in the master can also be removed.

@cmaglie cmaglie added Type: Bug Library: Wire The Wire Arduino library labels Aug 28, 2015
@cmaglie cmaglie added this to the Release 1.6.6 milestone Oct 22, 2015
@cmaglie
Copy link
Member

cmaglie commented Oct 22, 2015

rebased and merged: 48ff3a1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Library: Wire The Wire Arduino library Type: Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants