AnsweredAssumed Answered

Extra interrupts generated when using DMA and SPI?

Question asked by mex1 on Jan 7, 2014
Latest reply on Jan 9, 2014 by sung.chen_chung
I have a STM32 discovery board configured in slave mode receiving commands over SPI. When it receives a specific command byte, it activates DMA and sends back a set number of bytes back. I have a print statement at the beginning of my rx_isr function. I've noticed that when I receive the command byte, DMA is activated and begins to work (confirmed with the logic analyzer) but my rx_isr is called an additional 4 times. I would assume that since the DMA controller is now handling the SPI communication, I shouldn't receive any more calls to my isr. Does anyone have an idea what might be causing this? 

Outcomes