Forum Discussion
Altera_Forum
Honored Contributor
14 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.