libftdi Archives
|
From: | Krishnendu Chatterjee <krishnendu.chatterjee@xxxxxxxxx> |
---|---|
To: | libftdi@xxxxxxxxxxxxxxxxxxxxxxx |
Date: | Fri, 10 May 2013 12:05:40 +0530 |
Hi, The way out is "overlapped I/O", which registers a number of transfers to the operating system, which can execute in the background as a parallel thread. These transfers are controlled by the device driver and interrupts. Hence they are less likely to be affected by the scheduler.I presume, you are going to run your application on ARM running Linux. If so, D2XX driver cannot offer that kind of throughput. This is because "overlapped I/O" is not supported by D2XX driver on Linux. And you need overlapped I/O to sustain this kind of data rate. The reason is data fetch from FT2232 occurs only when FT_Read is executed. But due to application scheduling, your application, and hence the FT_Read function, may not be executed for sometime. The on-board 4kB buffer of FT2232 will provide some space to breath. But if it is full, and your application is not yet scheduled, then you will loose data. I could manage to get data at around 1MB/sec using FT_Read. But not beyond that point. On Fri, May 10, 2013 at 9:46 AM, Peter Witkowski <pwitkowski@xxxxxxxxx> wrote:
-- Dr. Krishnendu Chatterjee IIT Delhi India libftdi - see http://www.intra2net.com/en/developer/libftdi for details. |
Current Thread |
---|
|