Forum Discussion
Altera_Forum
Honored Contributor
21 years agodma code problem
Hello, First I tried the DMA code example from the sw datasheet. Than I used the single line codes. I see the DMA register working and status on 0x800020 changing. But somehow the sent ...
Altera_Forum
Honored Contributor
21 years agoTwo suggestions:
1) Clear the DMA control register before doing anything else: IOWR_ALTERA_AVALON_DMA_CONTROL(DMA_0_BASE, 0); (This ensures that the DMA init code within the HAL won't interfere with your operation). 2) Double-check that the DMA write master is connected to the slave at address 0x00800000.