Skip to content

Conversation

@episource
Copy link

I observed that sometimes dreq did not become high after SCI operations. This is compliant with the datasheet p.38 ("If DREQ is low when an SCI operation is performed, it also stays low after SCI operation processing"). The datasheet gives maximum times SCI operations may require until completion.

Howerver, the current implemention always expected dreq to become high after SCI operations. It will wait endlessly if not.

This PR adds a timed wait for data request to be used for SCI operations. The default timeout (50ms) is chosen, such that all SCI operations will have completed within the chosen timeout. See datasheet p.38.

Default timeout (50ms) chosen, such that all sci operations have completed
within the chosen timeout. See datasheet, p.38.
@episource episource force-pushed the feature/wait-for-dreq-timeout-in-sci-mode branch from 91b230e to 4315250 Compare September 28, 2023 18:36
@episource
Copy link
Author

Conflicts resolved. Rebased to current master.

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.

1 participant