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

USB low-full-high speed peripherals Forum Discussions

ubs1
Level 1
5 replies posted 10 sign-ins 5 questions asked
Level 1

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 100 solutions authored 10 likes received First like given
Moderator

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 100 solutions authored 10 likes received First like given
Moderator

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
ubs1
Level 1
5 replies posted 10 sign-ins 5 questions asked
Level 1

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 250 solutions authored 500 replies posted 250 replies posted
Moderator

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