c6747. usb worked in Bulk protocol.
the protocol is very simply, It can divided into 3 steps:
1) OUT a package (CBW ctrol block. which inform device send some data up, or put some data down).
2) IN/OUT several package. in my case, always 8 package(64 bytes per package, 64 is device ep's maxp)
3) IN a package (CSW)
I set Interval of epOut or epIn which equal = 2, so if op timeout, I can capture this event.
Here is the experiment result:
Several times when RECV package from device, epOut timeout event is triggered. But at this moment, I have move into Step2(that means the Transmit Queue Event has happed, And I am trying to recv sth, now).
why?