Skip to content

Conversation

@Aaron-Hartwig
Copy link
Collaborator

@Aaron-Hartwig Aaron-Hartwig commented Jan 16, 2026

This commit adds the ability to abort an I2C transaction. It achieves this by exposing an abort port which will request to abort a transaction. The I2CCore will then gracefully end the transaction with a STOP. For writes, this means after the next ACK from the target (we'd STOP after a NACK anyway). For reads, this means to NACK after receiving the next byte from the target.

Additionally, this commit uses the new abort functionality in the QsfpModuleController to support timing-out an I2C transaction after a given time. Previously this could just go on forever.

fixes #362

QsfpModuleController: add I2C transaction timeout
@Aaron-Hartwig Aaron-Hartwig self-assigned this Jan 16, 2026
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.

QsfpModuleController: Want automatic I2C transaction timeout mechanism

2 participants