Forum Discussion
Altera_Forum
Honored Contributor
15 years agoUnless you need to readback the error/channel numbers then you probably don't need the response port enabled on the dispatcher block. It contains a FIFO so if it fills up and you don't empty it the DMA will become blocking.
It looks like you are working with 32-bit data. If you setup the write master for "Full word access only" mode and passed in a transfer length of 255 bytes I could see that being problematic. That mode requires that you pass in a transfer length that is a multiple of the word size (I'm assuming 4 bytes per word in your case so 256 would be the closed valid length) Some of your code looks like you are using 0xFF as if the transfer length is in terms of words, it's actually bytes so if you wanted 0xFF transfers and the data is 32-bit use 0x3FC instead.