USB Transfer with chained transfer descriptors - slow

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

USB Transfer with chained transfer descriptors - slow

508 Views
mrharmonsr
Contributor III

I using the HSUSB on a K61 MCU in device mode.

I'm using firmware based on the old Freescale USB 4.1.1 stack.

I have setup a bulk transfer of 1MByte using several transfer descriptors chained in a list.

The transfer completes correctly.

But I notice a 40 microsecond delay between transfer descriptors. (seen on USB analyzer)

Is this normal?  I expected the USB engine to work much faster than that.

Anyone have any experience with this?  Is this behavior documented?

Labels (2)
0 Kudos
2 Replies

393 Views
mrharmonsr
Contributor III

I realize now that the time is spent reading the next packet as well as moving to the next transfer descriptor.

My transfer descriptors are in DDR, but I am reading data directly from Flexbus with wait states, so the data transfer is slowing things down.

I am transferring data from Flexbus one packet at a time, because the Flexbus timing is too slow for HSUSB's DMA engine.

Does anyone know the minimum speed of a slave region to support HSUSB transfers?

0 Kudos

393 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Larry,

I have heard some customer using external RAM for FSUSB module, but for HSUSB , you'd better use the internal SRAM.


Have a great day,
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos