Re: [Ftdi-usb-sio-devel] Resetting the FTDI
Brought to you by:
bryder
From: Chris S. <chr...@ya...> - 2010-11-21 10:33:08
|
--- On Tue, 11/16/10, Michael Plante <mic...@gm...> wrote: > Again, I would suggest that you consider using a non-blocking form, > and schedule multiple read requests. > > http://developer.intra2net.com/git/?p=libftdi-1.0 > > Consider ftdi_read_data_submit, > ftdi_transfer_data_done, etc. Hello again Michael, FYI: I took your suggestion and tried libftdi-1.0 asynchronous calls. My "ping pong rate" improved slightly from the synchronous calls (as you predicted), but they still are not near the ftdi_sio rates: 1. libftdi-0.1, sync read, single thread: ~300Hz 2. libftdi-0.1, sync read, reads on separate thread in an infinite loop: ~300Hz 3. libftdi-1.0, async read (as you recommended): ~500Hz 4. ftdi_sio, sync read, single thread: ~1000Hz 5. ftdi_sio, sync read, reads on separate thread in an infinite loop: ~1000Hz Note: Operations 4 and 5 run at 1000Hz most of the time, but experience a second or two of ~500Hz rates every 10 seconds or so. Thank you all for your help, Chris |