Altera_Forum
Honored Contributor
14 years agohelp on burst transfer with DMA
Hi guys,
I am using a DMA core to manage burst transfer between a SDRAM and a SRAM on a DE2-115 board. For the DMA core, I set DMA length register width to be 10 bits, and max burst size to be 128 words. Then I set the number of bytes to be transferred with function "alt_dma_txchan_send". But by playing with the chip, I found that the maximum bytes which can be successfully transferred was 568 bytes. Any value larger than that will not make the DMA transfer successful. I don't know why 568 is the magic number, since I think the max number of bytes should be 4*128 in this case. Any suggestion is appreciated! Leon