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
15 years agoHi!
I want to use the DMA driver for a UART -> SRAM transfer. When the stansfer finished i will to generate a IRQ (using the DMA registers). I register the dma irq with the function (I use EIC and DMA_IRQ has the highest priority): alt_ic_isr_register( DMA_IRQ_INTERRUPT_CONTROLLER_ID, DMA_IRQ, DMA_isr, DMA_BASE, NULL); The transfer works (the lenght decrese), but when the DMA_isr is called the program crashed. Can you help me?! How can I register the DMA IRQ? Thanks!