Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To change XferSize in C#, the method

Code Block
languagec#
endpointIdentifier.XferSize = DesiredValue;

shall be used. Cypress sets DesiredValue to 4,096 bytes by default. This default value is not documented in the CyUSB.dll manual (pag 110-111 of CyUSB.NET.pdf), but it has been retrieved by using the following C# instructions:

Code Block
languagec#
int XferSizeReadValue = outEndPointPipeNo.XferSize;

...


Console.WriteLine("XferSize {0} ", XferSizeReadValue);
Scroll Title
titledata throughput as a function of XferSize given PacketSize = 102,400 bytes

XferSize
(bytes)

Throughput
(Mbyte/s)

Data throughput [Mbyte/s] as a function of XferSize [byte]
given PacketSize = 102,400 bytes.

PacketSize = 102,400
(bytes)

4,096 (1)

15.4

8,192

20.4

16,384

26.7

32,768

30.4

65,536

34.2

131,072

36.5

262,144

36.8


...