Forum Discussion
Altera_Forum
Honored Contributor
19 years agoDMA receive channel
Hi Nios community, I'm building a system that uses a DMA device in a NiosII core. It is set up as a DMA receive channel to stream data from a fixed address peripheral to SRAM memory. T...
Altera_Forum
Honored Contributor
19 years agoYou're right. Using the macros provided in the regs header for the DMA is much easier. There's probably a reason for the HAL API (re-entrancy or something like that), but for a simple DMA transfer it's overkill.
Even more trivial than what you've done, however, is to use C2H to create your own custom DMAs, or, perhaps, try your hand at accelerating some code... Cheers, - slacker