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 register corruption due to colliding SPI transactions in FSK #1550

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thingsconnected
Copy link
Contributor

@thingsconnected thingsconnected commented Jul 16, 2023

Fix register corruption due to colliding SPI transactions in FSK

In FSK Tx, the Dio1 interrupt may already fire while the SPI transaction for SetOpMode is still in progress. This leads to registers 0x02 and further being overwritten with junk data.

This is solved by disabling interrupts for this specific SetOpMode call.

A more detailed discussion is posted on #1551

@thingsconnected thingsconnected changed the base branch from master to feature/update-samr34-platform July 16, 2023 01:28
@thingsconnected thingsconnected changed the base branch from feature/update-samr34-platform to master July 16, 2023 01:29
In FSK Tx, the Dio1 interrupt may already fire while the SPI transaction for
SetOpMode is still in progress. This leads to registers 0x02 and further being
overwritten with junk data.

This is solved by disabling interrupts for this specific SetOpMode call.
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.

None yet

2 participants