Forum Discussion
Altera_Forum
Honored Contributor
15 years agoSo the DMA seems to work.
Why are you setting every register double time? Why are you setting it to different values? e.g the control register is first set to constant write address, then to constant read address. When you start the transaction, you set it again to constant write address, then start it again with constant read address. If the DMA was not finished at that time, your code might confuse it during operation... You can read these register as often as you like, but you should only need to write them only once. The values should not change until the DMA is really started, even afterwards most of them should still read the same values.