-
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] Add StretchAcqSetup state to preserve ACK setup time
Add StretchAcqSetup state to follow the release of the hold from StretchAcqFull after the ACQ FIFO gains the necessary space. Continue to stretch SCL so the change to SDA doesn't violate setup time, then proceed to the normal ACK setup state. Remove the immediate write to the ACQ FIFO in the StretchAcqFull state when we're proceeding to a normal ACK. This created extra ACQ FIFO writes when it transitioned to the AcquireAckWait state, and the FSM gets simpler and less error-prone if only error cases operate on FIFOs outside of the non-stretch states. Signed-off-by: Alexander Williams <[email protected]>
- Loading branch information
Showing
2 changed files
with
27 additions
and
12 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