Forum Discussion
Altera_Forum
Honored Contributor
13 years agoIf you are not seeing the interupt fire I recommend switching to polling just to ensure the transfer is being setup correctly. Polling is less error prone than interrupt based interactions and I typically recommend polling when you start then switching to interrupts once you are confident the hardware/system is behaving correctly.
Also for stuff like this I often simulate my system with a minimal amount of hardware & software running so that I can watch how the DMA behaves. Often you'll find weird stuff like you passing a pointer instead of the location where the data lives to the DMA and other mistakes that can cause the hardware to go off into the weeds. Debugging that type of thing in a simulation is much easier than with a software debugger since you just watch what the masters do and it'll sometimes be clear what happened.