Thomas Heller wrote: > Am 29.07.2012 16:30, schrieb Balog Dániel: > >Dear all, > > > >I'm working on a way to read in data form ADCs to a PC via the UM245R. > >It is working, but i could only achieve 630 KB/s compared to the > >theoretical speed of the device (1MB/s with d2xx drivers). I'm > >assuming that my code is inefficient, since I'm only a hobbist at > >programming. > > IIUC, in the time you measure, you are including the printf calls to the > console. Don't know how much this influences the result.
I'd expect it to influence it quite a lot, but his code only prints the buffer when you hit a key. (it's hard to see that because the indentation is messed up) -jim -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
