This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DMA interrupts

Other Parts Discussed in Thread: HALCOGEN

Hi, I'm trying to get DMA interrupts to work.  Here's my code:

main()
{
_enable_interrupt_();

....

dmaEnableInterrupt(SPI1_DMA,FTC);

}

void dmaNotification(dmaBASE_t *DMA, uint32 flags)
{
while(1);
}

I've also enabled VIM channel 33 (DMA FTC) in HalCoGen.  Unfortunately, my ISR is never reached.  The DMA is definitely working, so it would seem to be my interrupt configuration which is wrong.  Any ideas?

Thanks,

Jack