libftdi Archives

Subject: Re: D2XX

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 02 Apr 2009 20:43:04 +0200
Hello Florian,

Florian Beier wrote:
Hi again,
I managed to use the libftdi without the D2xx commands to communicate
with my sensor.
I have on issue, I do not understand.
I am checking the buffer of my FT2232 chip. If it is empty, the
usb_bulk_read in the ftdi_read_data function takes almost 12 ms. If
the buffer has data, it only takes about 1 ms.
I tried to change the ftdi->usb_read_timeout, but it had no effect at all.
Any ideas?

Sounds like the on-chip latency timer, try to decrease it via
ftdi_set_latency_timer().

Cheers,
Thomas

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
Current Thread