How long does it cost for the DMA to convert buffers?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Hello. Recently I'm reading an application note Designing a GPIF™ II Master Interface on http://www.cypress.com/?docID=47100.

   

On page 8 it says " The time taken for the DMA channel to switch to the next buffer is not deterministic, although it is typically of the order of a few microseconds. "

   

I tested the time mentioned above using FLAGA in the GPIF state machine, and found it related to the GPIF clock frequency, For example, if the frequency is 96MHz, the time is about 600ns. If the frequency is 12MHz, the time is about 2us, If the frequency is 375kHz, the time is about 38us.

   

So what factors are controlling the DMA to convert buffers? Which clock is driving this DMA behavior? Can we calculate the conversion time given a GPIF clock frequency?

   

Thank you!

0 Likes
2 Replies