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
first i do 32 writes, seeminly okay - but when i tell the dma to get it i must set the length parameter to 128 to empty the fifo. why dont i fetch number of words equal to length? also the first five words are not fetched correctly, why is that?