[prev in list] [next in list] [prev in thread] [next in thread]
List: libftdi
Subject: Re: ftdi_read loses bytes (when latency is low)
From: Anders Larsen <al () alarsen ! net>
Date: 2014-12-07 14:00:29
Message-ID: 1417960829.4398.0 () oscar
[Download RAW message or body]
On 2014-12-07 10:51, Rogier Wolff wrote:
> Whoa! As far as I can see we're talking about the latency timer in the
> FTDI chip.
yes indeed
> http://www.ftdichip.com/Support/Documents/AppNotes/AN232B-04_DataLatencyFlow.pdf
>
> The PC will assume "more data available" when the packet is 64 bytes!
>
> So... For setting the latency timer: NEVER EVER set it below the time
> required to gather 64 bytes. (unless your data transfer is slow
> compared to 64 bytes/ms.).
interesting info - thanks for the (important) hint!
Cheers
Anders
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@developer.intra2net.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic