Hello,
I am using the DMA to transfer the results of the ADC into RAM. I have configured this using the PDB to sample each of the channels and then trigger the DMA transfer. The PDB then overflows and it starts over again (this ensures that I have a consistent sample frequency). To ensure that the DMA transfer has completed before the PDB overflows, I want to calculate how long the DMA transfer will take. I wasn't able to find any information on how to calculate the DMA transfer and was hoping somebody can point me to it.
Thank you,
Tom##
Hello Tom,
It depends on the system frequency, DMA configuration, amount of data, crossbar switch arbitration.
You can simply measure the time between the triggers and the DMA complete interrupt.
BR, Daniel