Associate
May 10, 2022
Question
INVSTATE hard fault with SPI interrupt handler. STM32F405
- May 10, 2022
- 2 replies
- 1336 views
I'm attempting to have my program run some code when a SPI transfer is complete using the RXNE flag. Setting the RXNEIE bit invokes SPI2_IRQHandler() as expected but it always results in a hard fault (CFSR register = 0x20000), without any additions to SPI2_IRQHandler().
I don't have much experience in debugging of this kind so any help/tips would be appreciated.