AnsweredAssumed Answered

How do I register the interrupt for DMA buffer handling?

Question asked by John Griswold on Sep 27, 2017
Latest reply on Sep 28, 2017 by John Griswold

I have serial data coming in at a high rate, so DMA is the only reasonable way to handle this firehose of data. I believe I have _nearly_ everything set up properly, but for the interrupt that signals DMA completion and the need to reset pointers and restart DMA. 

I know (or perhaps just think) I should ultimately get to DMA2_Channel7_IRQHandler() for the selections I've made, but the interrupt never occurs. So I don't think I've properly asked it to be triggered, and wonder just where I should do that.


All of the underpinnings were generated by STM32CubeMX version 4.22.0. Is this where my troubles begin? There seems to be a lot of anti-CubeMX sentiment in the ranks.


Until I get this interrupt properly set up, the 0x800 bytes of buffer fill up, and the pointers don't change.