libftdi Archives

Subject: Re: fixing the baud rate mess & understanding baudrates for bitbang

From: "Gerd v. Egidy" <gerd.von.egidy@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sun, 6 Dec 2009 21:12:03 +0100
Hi,

> I ported my test program to D2XX and it behaves identically, so it doesn't
> seem to be a bug in libftdi.

It seems I had done the port from an old version with a bug - when using d2xx 
the factor is always about 0.25 - for sync and async bitbang. This most 
probably comes from d2xx reading it's data in a background thread instead of 
synchronous in one thread.

So I have created a version of baud_test with substantially reduced usb read 
timeout and this yields the same results.

So one question remains: why is bitbang always only using 1/4 of the expected 
baudrate?

Kind regards,

Gerd

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

Current Thread