Question
DMA Interrupt handler not working
Posted on January 17, 2012 at 17:30
I'm using the standard periphery library for this board. The DMA is working correctly in combination with DAC (memory to peripheral transfer) but I can't get the cpu to execute the interrupt handler for DMA1_Stream5 (transfer complete interrupt):
void DMA1_Stream5_IRQHandler(void) { DMA_ClearITPendingBit(DMA1_Stream5, DMA_FLAG_TCIF5); STM_EVAL_LEDToggle(LED3); } In main.c DMA interrupt is enabled using the stm32f4xx_dma.c function: DMA_ITConfig(DMA1_Stream5, DMA_IT_TC, ENABLE); Other interrupts work fine. EDIT: with DMA_GetITStatus(DMA1_Stream5, DMA_IT_TCIF5) I can see that the interrupt has occurred, but the interrupt handler is not executed.