libftdi Archives

Subject: Re: libftdi-1.0: More patches

From: Jim Paris <jim@xxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 2 Sep 2011 17:39:51 -0400
Uwe Bonnes wrote:
> >>>>> "Jim" == Jim Paris <jim@xxxxxxxx> writes:
> 
> ...
>     >> results. However with the RS232 pattern you can't easily measure
>     >> exact frequency with the scope.
>        ^^^^^
>     Jim> If you send a continuous string of UUUUU then you'll see the base
>     Jim> frequency as a simple square wave.
> 
> But the square wave is disturbed by the start/stop bits and the
> turnaround between bytes. So you can estimate the frequency, but not measure
> exact. 

If you're using 8 data bits, no parity, and 1 stop bit, it'll be an
exact undisturbed square wave.  Try it, you'll see :)  The turnaround
between bytes will be zero as long as you don't let the FTDI buffer
underflow.

-jim


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

Current Thread