Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHi,
I've never used the SGDMA before but one thing I noticed while taking a quick look at the code: In _resetrx you are trying to reset the SGDMA by writing ALTERA_AVALON_SGDMA_CONTROL_SOFTWARERESET_MSK once. But I think it must be done twice. Doesn't it?! I guess that's not solving your problem but maybe it's causing trouble too. Regards ADDITION: Do you really need the software reset? Quoting the embedded ip user guide:--- Quote Start --- Executing a software reset when a DMA transfer is active may result in permanent bus lockup until the next system reset. Hence, Altera recommends that you use the software reset as your last resort. --- Quote End ---