Forum Discussion
Altera_Forum
Honored Contributor
16 years agoDMA transfer inside ISR: Problem
Hi everybody, I think this is a common issue, but I didn't find a solution to my question, so hopefully I will get an answer here: I have a DMA controller which I want to use on an IRQ com...
Altera_Forum
Honored Contributor
16 years agoI would set some flag inside the ISR and call up the DMA from outside the ISR based on this flag. Interrupts should be short and by placing a DMA transfer call inside of it there are a lot of things that could go wrong (too many to list). I suspect interrupts are masked while you are in the PIO ISR and that's why you don't see the DMA IRQ fire (it fires but nobody is listening).