Forum Discussion
Altera_Forum
Honored Contributor
22 years agoNIOS II DMA HAL
Anybody use the DMA HAL driver? I need correct example for stream device and memory. I want receive from steram device through DMA(using HAL) and save stream data to memory. I have written ...
Altera_Forum
Honored Contributor
22 years agoThanks. I try it check tomorrow and inform about result.
Yes, comments for alt_avalon_dma_launch_rxonly: <div class='quotetop'>QUOTE </div> --- Quote Start --- /* * alt_avalon_dma_launch_rxonly() is called to launch a new transaction when * only the receive channel is using incrementing addresses, * i.e. the transmit channel is accessing a single memory location (which is * probably a device register). */[/b] --- Quote End --- But in function code set DMA control flag RCON, and too(WCON) for alt_avalon_dma_launch_txonly. <div class='quotetop'>QUOTE </div> --- Quote Start --- The use of transmit and receive in this context is a little confusing, since they have different meanings depending on whether you view things from outside or inside the DMA.[/b] --- Quote End --- Receive or send DMA mode defined by connection WriteMaster and ReadMaster of the DMA channel (in current DMA opperation) and independet from view point (outside or inside the DMA).