How long does a S32K144 DMA transfer take?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How long does a S32K144 DMA transfer take?

1,472件の閲覧回数
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 件の賞賛
返信
1 返信

1,399件の閲覧回数
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 件の賞賛
返信