Page 1 of 1

RS232 timeout

Posted: Wed Jun 27, 2012 2:48 pm
by Jan Lichtenbelt
Where can I find information about RS232 timeout. What is the meaning, what are realistic/advised numbers?

Kind regards

Jan Lichtenbelt

Re: RS232 timeout

Posted: Wed Jun 27, 2012 4:04 pm
by Benj
Hi Jan,

There are two settings for the timeout available from the RS232 component properties.

Legacy - Timeout is based on a number of iterations, delay is clock speed dependent.
Millisecond - Timeout is based in milliseconds, delay is clock speed independent.

If a byte is received during the timeout period then the macro will return immediately with the data.

If a timeout period of 255 is used then the macro will wait forever for valid data.

This info applies to both hardware and software UARTs.