libftdi Archives

Subject: latency in read time

From: "Matt" <lists@xxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 14 Dec 2011 11:32:33 -0000
Hi,

With libftdi 0.19 I read one byte using ftdi_read_data() (I'm using the
mpsse for i2c). What I see is that the read cycle delays for approximately
16ms before returning. I requested one byte from ftdi_read_data(). It has
obviously read one byte but then decides to wait ~16ms (which is the
default latency time). Why? Any ideas?

I found this related post:
http://developer.intra2net.com/mailarchive/html/libftdi/2009/msg00261.html

Am I best to always set the chunk size to the amount of data I read and
write? Should I reduce the timeout?

Any suggestions welcome.

Many thanks,
--  Matt


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

Current Thread