Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix LPSPI word unpacking in receive operations #176

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

mciantyre
Copy link
Member

LPSPI receive operations are reversing byte and half-word elements when they place data in the caller's buffer. We can show this using the revised loopback tests on an older LPSPI driver.

The unpacking routines need to consider the frame boundary and the bit order when they deconstruct the 32 bit LPSPI word.

LPSPI receive operations are reversing byte and half-word elements when
they place data in the caller's buffer. We can show this using the
revised loopback tests on an older LPSPI driver.

The unpacking routines need to consider the frame boundary and the bit
order when they deconstruct the 32 bit LPSPI word.
@mciantyre mciantyre merged commit 56f91a1 into imxrt-rs:main Nov 25, 2024
31 checks passed
@mciantyre mciantyre deleted the fix-lpspi-receive branch November 25, 2024 00:44
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.

2 participants