AN75779 - UVC example bulk endpoint packet size in USB 2.0 HiSpeed mode | Cypress Semiconductor
AN75779 - UVC example bulk endpoint packet size in USB 2.0 HiSpeed mode
Hello, studying the source code for the UVC example I've seen that the bulk endpoint for streaming pixel data is set in the firmware as 1024 bytes ( valid for USB 3.0 but not for 2.0 ) but in the same firmware in the descriptor for the USB 2.0 situation the packet size is correctly set to 512 bytes.
The endpoint initialization function uses the 1024 bytes zixe on all modes but the descriptor is correctly done, my question is: if I have a device that will be used exclusively with USB 2.0 hosts should I change the endpoint initialization structure to use 512 as the packet size or it could remain at 1024 as in the example ?
My concern is that even if now the example seem to work on USB 2.0 hosts later it may not work anymore depending on the host software or work wrongly if the packet size is different in between the descriptor and the initialization function.
I would appreciate if some Cypress tech will shed light on the issue.