libftdi Archives

Subject: Re: FT232R strangeness

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 17 Aug 2011 13:12:43 +0200
>>>>> "Dean" == Dean  <dean@xxxxxxxxxxxxxxx> writes:

    Dean> Thanks for the reply.  I didn't realize the 232R had such a small
    Dean> read fifo.  That makes a lot of sense then :) On Aug 17, 2011, at
    Dean> 6:41 AM, Uwe Bonnes wrote:

    >> For every BITMODE_SYNCBB write() you must issue one BITMODE_SYNCBB
    >> read(), as one read byte is generated for every write. 384 Bytes is
    >> the read FIFO size and as soon as the read fifo is full, the whole
    >> BITMODE_SYNCBB machine stalls.

Buffers are FIFO RX Buffer (128 bytes) and FIFO TX Buffer (256 bytes).
The first 128 bytes written are actually transferred and fill the RX FIFO,
whil the next 256 bytes will hang in the TX Buffer.

Bye
-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

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

Current Thread