Forum Discussion
Altera_Forum
Honored Contributor
20 years agoDMA & Interrupt Problems...
I'm a newbie in Nios, and my English is not to good, but in this forum i found some topics to control NiosII device like pio, timer, uart by Nios syntax, but few topic about to teach me about dm...
Altera_Forum
Honored Contributor
20 years agoI haven't tested DMA myself but for IRQ you can just use the linux kernel functions.
With a call to request_irq you can register your Interrupt service routine. Make sure to do this from kernel-space (a kernel module or compiled in the kernel) "normal" userspace programs can't (and shouldn't) recieve IRQ's. Iirc someone on this forum uses the kernel functions for DMA-transfers, maybe you can find the thread. Greetz wgoossens P.S.: Don't worry about your english!