small break time between DMA buffer switching of a certain thread

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

cross mob
Anonymous
Not applicable

Cypress doc says that there's a small break time when a certain thread switches its DMA buffer (not switching socket of the thread, but switching to next DMA buffer of the socket), how long is that time roughly? less than 1us or several micro-seconds or more?

   

Seems this is a difference from the FX2 chip, for FX2, there's no break time when crossing the USB FIFO buffer (e.g. for 4x 512bytes FIFO)...understood that FX3 needs more complicated design (DMA involved), but is there any idea about this breaking time?

   

Thanks!

0 Likes
3 Replies
Anonymous
Not applicable

It is around 550 - 900ns. Considering auto mode. In manual mode it would have dependency based on what the application firmware is doing.

   

You can use the many to one configuration is one way of working around the buffer switching issue.

   

Regards,

   

Anand

0 Likes
Anonymous
Not applicable

Anand,

   

  Thanks...

   

   The programming manual said 550 - 900 ns (in chapter about PPort)..,,there's another application notes about UVC said the break time is in "micro-seconds".

   

    550-900ns is good enough for my application.. Thanks again.

0 Likes
Anonymous
Not applicable

In my application I use AUTO DMA and double buffering. But I can watch breaks up to 12µs while switching the DMA buffer. The minimum I can measure is 2.1µs. This results in a data rate of only 308MB/s using the 100MHz PCLK. Can you explain this? I use the SDK version 1.2.3

0 Likes