libftdi Archives

Subject: Re: Clear the ft2232h output fifo

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: Thomas Heller <theller@xxxxxxxxxx>
Date: Fri, 28 Sep 2012 09:33:55 +0200

Hi Thomas

 

On Friday, 28. September 2012 09:07:06 Thomas Heller wrote:

> So, the question is: Is it possible to clear the ft2232h output fifo?

 

ftdi_usb_purge_tx_buffer() will do the job.

 

> Another question: According to the data sheet the output fifo has

> a depth of 4kBytes. In my experiments, it only buffers 1kB - is this

> a configuration issue, is the datasheet wrong, or am I missing

> something?

 

This could be the latency timer. IIRC the chip buffers up to

xx milliseconds and then sends whatever it got in the buffer.

Try to increase it. Though I'm not sure on this one.

 

Cheers,

Thomas

 



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


Current Thread