How long does a S32K144 DMA transfer take?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How long does a S32K144 DMA transfer take?

710 Views
tommy1231
Contributor II

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##

0 Kudos
Reply
1 Reply

637 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply