Skip to content
Commit de18f97f authored by Attie Grande's avatar Attie Grande Committed by Fabio Baltieri
Browse files

drivers: i2c: sam0: Resolve spurious trailing 0xff on reads



Previously, the I2C bus would have an extended idle period on write
operations, and a spurious trailing byte on read operations (after a
final NACK).

This patch relocates the issuance of the stop condition from the driving
thread's context, into the ISR.

Thanks to @benediktibk for discovery and initial patch.

Signed-off-by: default avatarAttie Grande <attie.grande@argentum-systems.co.uk>
parent 6755ac7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment