difference between begindataxfer and xferdata functions | Cypress Semiconductor
difference between begindataxfer and xferdata functions
I am using cyc68013 development kit for my application of data transfer.
I am sending and receiving 8 bytes of buffer means length = 8.
I am using bulk end points.
the coding I am using in vc++ is here
UCHAR *outContext= USBDevice->BulkOutEndPt->BeginDataXfer((unsigned char *)buffer, length,&outOvLap);
UCHAR *inContext = USBDevice->BulkInEndPt->BeginDataXfer(inBuf, length,&inOvLap);
with this coding I get the required speed say, my complete test run in 62 seconds, I have not used waitforxfer in sending data.
but when I used this coding in c#
outEndpoint.XferData(ref outData, ref xferLen);
inEndpoint.XferData(ref inData, ref xferLen);
my test run in 124 seconds. why
what is the difference between them.
and it is very hard to understand begindataxfer in c#.
please also I need virtual com port driver and hex for 68013 128axc.
Thanks in Advance.