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

SPI operates in "endless transaction" mode #71

Closed
ryan-summers opened this issue Apr 21, 2020 · 1 comment · Fixed by #159
Closed

SPI operates in "endless transaction" mode #71

ryan-summers opened this issue Apr 21, 2020 · 1 comment · Fixed by #159

Comments

@ryan-summers
Copy link
Member

When a SPI transaction occurs, the HAL operates the SPI in "endless transaction" mode, which means that the SPI peripheral is not able to detect when a transaction completes.

The SPI_CR2.TSIZE register value needs to be updated with the size of the transaction in bytes before a transaction is initiated.

@richardeoin
Copy link
Member

This behaviour seems to be OK for simple SPI usage, but fixing this would be an improvement 👍

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 a pull request may close this issue.

2 participants