AnsweredAssumed Answered

DMA Interrupt handler not working

Question asked by inler on Jan 17, 2012
Latest reply on Jan 24, 2012 by inler
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.

Outcomes