unexpected WaitForXfer() behavior / low throughput | Cypress Semiconductor
unexpected WaitForXfer() behavior / low throughput
I'm using a code legacy of the streamer example from the SDK1.3
The BeginDataXfer/WaitForXfer/FinishDataXfer is working fine at high throughput (my PC read and process data at 2Gb/s). Now when I have a low throughput of data (<1Gb/s) due to a different FPGA operating mode, the functions WaitForXfer(hEvent, 500) returns 0. And I've tried several options : adding or removing the following functions EndP abort(), Pinvoke.WaitForSingleObject(), FinishDataXfer()... but I'm still stucked and the documentation of CyUSB.NET is not very clear. Help would be precious.
Config : My CYUSB3012 is connected to my FPGA with a 32-bits GPIF interface and dedicated partial flags for FPGA write to the CYUSB. HW Signals are OK (CYUSB & FPGA communicate together without any problem, oscilloscope checked). Library = cyUSB.dll v18.104.22.168.
NB : When I use the control center, I use BULKIN 0X81 Xfer Data-IN to get my data with low or high throughput without any problem.