I've updated the codes as follows but the situation are same...
In addition, it seems this problem does not repro on USB2.0 port.
Dim XferCompleted As Boolean = False
Dim Reclen As Integer = 0
Dim curEndPt As CyUSBEndPoint = curRcvEndPt.GetEndPt()
Reclen = Data.Length
If curEndPt IsNot Nothing Then
If (curEndPt.bIn) Then
Dim bulkEpt As CyBulkEndPoint = CType(curEndPt, CyBulkEndPoint)
bulkEpt.TimeOut = TimeoutReceive
XferCompleted = bulkEpt.XferData(Data, Reclen, False)
If XferCompleted = True Then
' data received
There's a workaround.
50ms or more delay just before XferData call clears the problem.
However it affects the throughput heavily.
Any thoughts ?