Forum Discussion
Altera_Forum
Honored Contributor
15 years agoIf I remember correctly then those look like the correct flags to pass in. Typically I access the DMA directly using the register macros provided with the driver since I typically like my DMA overhead to be at a minimum. Usually it takes around four accesses to the slave port to get the DMA moving, using the driver it'll be much more and since it's not a scatter-gather DMA you can't hide that overhead.
Page 153 in this document explains setting up the channel in more detail: http://www.altera.com/literature/hb/nios2/n2sw_nii5v2.pdf