Slow usb response
Posted: Wed Feb 28, 2018 2:47 am
Hi All
I am using Fitlet-i with Libusb-1.0 to do Control Transfers to a usb port that has an Industrial I/O board connected to it.
When doing this on my Laptop it takes 185 micro seconds to do a write to the board.
When doing this on The Fitlet-i it takes 700 micro seconds.
Although the Laptop is an Acer Aspire i5 1.6Ghz, I don't believe the speed of the Laptop should make that much difference.
It is the same software running on both, and using either usb 2 or usb 3 makes no difference. The only thing noticeable is that the square pulse varies significantly in width.
By doing a Write to set an output, and then immediately another Write to turn it Off results in a 700 micro second pulse on the Fitlet-i and 185 micro second pulse on my laptop.
Does anyone have any ideas.
I am using Fitlet-i with Libusb-1.0 to do Control Transfers to a usb port that has an Industrial I/O board connected to it.
When doing this on my Laptop it takes 185 micro seconds to do a write to the board.
When doing this on The Fitlet-i it takes 700 micro seconds.
Although the Laptop is an Acer Aspire i5 1.6Ghz, I don't believe the speed of the Laptop should make that much difference.
It is the same software running on both, and using either usb 2 or usb 3 makes no difference. The only thing noticeable is that the square pulse varies significantly in width.
By doing a Write to set an output, and then immediately another Write to turn it Off results in a 700 micro second pulse on the Fitlet-i and 185 micro second pulse on my laptop.
Does anyone have any ideas.