Forum Discussion
Altera_Forum
Honored Contributor
15 years agoSGDMA Callback fires more often than i restart the SGDMA
Hi, i have some trouble with SGDMA and TSE. I guess the problem is in the callback function(_ISR_HanderRX) of the RX-SGDMA. Ok let's explain this stuff a little bit: After first init of t...
Altera_Forum
Honored Contributor
15 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 ---