Forum Discussion
Altera_Forum
Honored Contributor
14 years agoIf you are using the DMA driver where you map a callback when the IRQ fires then maybe you are not measure the transfer time (just the setup time of the DMA). So normally with the driver the DMA is started and when the interrupt occurs a function (of your choosing) gets called when the DMA completes (IRQ fires).
In other words if you are just measuring the time it takes for alt_dma_txchan_send() and/or alt_dma_rxchan_prepare take to complete then you are not measuring the total transfer time since those are non-blocking calls.