Forum Discussion
Altera_Forum
Honored Contributor
15 years agoweird dma transfer behavoir
have set up a simple hardware system where the nios writes data to a on-chip fifo, and a dma transfer it back to sdram. datawidth is 32 all the way. i also use rxchan_ioctl to set dma to 32 bit ...
Altera_Forum
Honored Contributor
15 years agoThe length register uses a byte format. So to move 32 words of width 32-bits that's 128 bytes you are moving.
If you are seeing data corruption make sure you are bypassing the cache or flushing it before kicking off the DMA.