Altera_Forum
Honored Contributor
14 years agoDMA problem
why when i use my dma, the program stucks here: --- Quote Start --- while (!rx_done); printf ("Transfer successful!\n"); --- Quote End --- pls help! thanks!
Single access to flash memory requires at least 60 to 120ns depending from your flash speed grade. then 64kb requires at least a few millisecs. The transfer time will certainly be longer (both with cpu and dma transfer) because of bus contention or other instrinsic delays.
Then, if you have a timer which can measure intervals in the ms range you can easily make the test with 64kb.