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 agoI can't see any obvious source of this problem. However I do notice that in your test code you use a transfer size of DMA_BUFF_SIZE*2 and in your HAL example you use a size of 1024. I don't know what value you have set for DMA_BUFF_BYTESIZE, but could it be that you have a memory overwrite here?