USB 2.0 FX2LP and FX3 USB 3.0 maximum chunk size transfer

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

cross mob
azot_0
Level 2
Level 2
10 replies posted 10 questions asked 25 sign-ins

Hi,what is the maximum chunk size for BULK/Interrupt transfer from the host to the slave for both FX2/USB2 or FX3/USB3 using libusb or cypress driver?. read that it is controller dependent but they follow some standard guidelines. Is there a table?.Is USB2 max chunk is 4096 or 256K.?

0 Likes
1 Solution
Meghavi
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 10 likes received

Hi,

The Cypress windows 11 driver supports a USB transfer size of 32MB for Bulk and 4MB for Interrupt for Superspeed devices. For HighSpeed devices, the driver supports max transfer size of 4MB for Bulk and Interrupt. 

Please refer to the following link which mentions the maximum transfer size for SuperSpeed and HighSpeed devices:

https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-bandwidth-allocation

Also, please refer to this thread: https://community.infineon.com/t5/USB-low-full-high-speed/Win10-specific-issue-in-data-transfer-from... for cyusb3 1.3.0.2v driver which supports 32MB bulk transfer. 

Regards

View solution in original post

0 Likes
3 Replies
Meghavi
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 10 likes received

Hi,

The Cypress windows 11 driver supports a USB transfer size of 32MB for Bulk and 4MB for Interrupt for Superspeed devices. For HighSpeed devices, the driver supports max transfer size of 4MB for Bulk and Interrupt. 

Please refer to the following link which mentions the maximum transfer size for SuperSpeed and HighSpeed devices:

https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-bandwidth-allocation

Also, please refer to this thread: https://community.infineon.com/t5/USB-low-full-high-speed/Win10-specific-issue-in-data-transfer-from... for cyusb3 1.3.0.2v driver which supports 32MB bulk transfer. 

Regards

0 Likes
azot_0
Level 2
Level 2
10 replies posted 10 questions asked 25 sign-ins

Hi,

How about if one passes larger chunk size than the ones shown in the documents?. like for USB2 passing higher than 4096 like 256K instead as maximum chunk size. Does this cause a major side effect?.

0 Likes
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

Apologies for the delay in my response.

No, there won't be any major side effects. The data will be sent in multiple transfers each being the maximum chunk size except for the last packet.

Regards,

Mallika

 

0 Likes