Cypress FX2 speed issue for loopback

Hi , I am using Cypress FX2 USB controller in out High speed USB device. I am performing bulk loop-back operation (same as per sample from Cypress) I am transfering total data for 1 MB using 512 bytes at a time. That gives ~1955 packets. I observed that ~ 150 times ReadFile or WriteFile from application takes 16 millisecond to complete transfer of 512 bytes, which seems long to me.

this 16 millisecond response costs my overall speed to go down as low as 10 Mbits/second or so. I want to achieve atleast 90 to 110 Mbits per second speed.

Is this because of bulk transfer? Can this be fixed? or I need to fine tune things somewhere?

Thanks, David

Reply to
David
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.