libftdi Archives

Subject: Re: write/read syncronization

From: "Dr. Igor Nikitin" <igor.nikitin@xxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 5 Feb 2010 12:39:17 +0100 (CET)
Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> hat am 5. Februar 2010 um
11:52 geschrieben:

> >>>>> "Igor" == Igor Nikitin <igor.nikitin@xxxxxxxxxxx> writes:
>
> ...
>
>     Igor> The same behavior if tx and rx on FT232 are directly connected.
>
> If you can send me the compilable code, I could test here.


the code is attached. The output on my side:

g++ test.c -I. -L. -lftdi -lusb -o test
./test
latency=1
in: one
out(0):
in: two
out(4): two
in: three
out(6): three
in: one
out(4): one
in: two
out(4): two
in: three
out(6): three
in: one
out(4): one
in: two
out(4): two
in: three
out(6): three
Cheers, Igor.

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

Attachment: test.c
Description: Text Data

Current Thread