-
Notifications
You must be signed in to change notification settings - Fork 779
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[i2c] Monitor stretching and lost arbitration for control symbols
The control symbols were overlooked for clock stretching and arbitration. SCL can be stretched on (repeated) Start and Stop symbols like any other, and in the multi-controller context, SCL can be pulled low early as well. If SCL is pulled low before the controller intended, treat it as clock synchronization if SDA had already reached its desired level first, and treat it as lost arbitration if SDA did not. Categorize any SCL pulse that is shorter than the round-trip time as a runt pulse. Add SCL interference events for runt SCL pulses detected by the bus monitor, and treat these as arbitration loss, since the SCL movement is too fast to satisfy any of the timing requirements. Signed-off-by: Alexander Williams <[email protected]>
- Loading branch information
Showing
2 changed files
with
57 additions
and
9 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