Skip to content

Conversation

earlephilhower
Copy link
Owner

Fixes #3068. The SPISlave TX-FIFO IRQ would infinitely try to fill the FIFO as soon as IRQs were enabled, but in the case when the app never sent any data this would cause an infinite loop in the IRQ handler.

Now abort if we don't have any data, even if there is space in the FIFO.

Fixes #3068.  The SPISlave TX-FIFO IRQ would infinitely try to fill the FIFO
as soon as IRQs were enabled, but in the case when the app never sent any
data this would cause an infinite loop in the IRQ handler.

Now abort if we don't have any data, even if there is space in the FIFO.
@earlephilhower earlephilhower changed the title Handke SPISlave with no output data ever written Handle SPISlave with no output data ever written Aug 9, 2025
@earlephilhower earlephilhower merged commit 2f983de into master Aug 10, 2025
26 checks passed
@earlephilhower earlephilhower deleted the slopp branch August 10, 2025 17:46
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.

SPISlave seems to crash the controler
1 participant