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 agoI don't see the second descriptor being set up anywhere. Is the "OWNED_BY_HW" bit cleared in the second descriptor so it is not processed?
If it is set, the DMA controller is probably already processing the second descriptor when you clear the run bit and executing a random transfer then throwing another interrupt.