Skip to content

Conversation

@XenuIsWatching
Copy link
Member

It is most certainly 'okay' for a secondary controller to do a
ENTDAA. Remove the 'block' that was preventing this.

The datasheet erroneously suggested to add a + 1 to the abort len.
This was suggested because if a controller gave a EoD, then it was
afraid that the abort would take precedence over the EoD. This was
not true. The EoD will always take precedence over a controller
abort. Remove the + 1 as this can cause issues.

For example, when talking to a part that will auto-increment a read
address, having the +1 can unknownly move this address pointer further
than anticipated.

dcpleung
dcpleung previously approved these changes Mar 22, 2025
@XenuIsWatching XenuIsWatching changed the title I3c cdns minor fixes driver: i3c: cdns: minor fixes Mar 22, 2025
It is most certainly 'okay' for a secondary controller to do a
ENTDAA. Remove the 'block' that was preventing this.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
The datasheet erroneously suggested to add a + 1 to the abort len.
This was suggested because if a controller gave a EoD, then it was
afraid that the abort would take precedence over the EoD. This was
not true. The EoD will always take precedence over a controller
abort. Remove the + 1 as this can cause issues.

For example, when talking to a part that will auto-increment a read
address, having the +1 can unknownly move this address pointer further
than anticipated.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
@kartben kartben merged commit 5eb7ae3 into zephyrproject-rtos:main Apr 9, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants