USB Transfer with chained transfer descriptors - slow

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB Transfer with chained transfer descriptors - slow

1,110 次查看
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?

标签 (2)
0 项奖励
回复
2 回复数

995 次查看
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 项奖励
回复

995 次查看
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 项奖励
回复