Re: [Ftdi-usb-sio-devel] Resetting the FTDI
Brought to you by:
bryder
From: Chris S. <chr...@ya...> - 2010-11-22 21:29:37
|
--- On Sun, 11/21/10, Michael Plante <mic...@gm...> wrote: > How many transfers did you typically have scheduled at a > time? Michael, just one: for () { tc = ftdi_read_data_submit(); ftdi_write_data() ftdi_transfer_data_done(tc); } However, your implication that multiple reads would help got me excited. Unfortunately, however, libftdi-1 only allows one outstanding read submission. This is because all read submissions ultimately go into the same "global" buffer within libftdi. However, I will look into using libusb and handling the transfers myself in the hopes I can improved latency over ftdi_sio. (There is also something called a libftdi streaming read -- I'm not sure what that is yet.) Thank you for your help and patience, Chris |