timeout in serial read SERRXD

Jack Hale

New Member
When reading from a PC using SERRXD, if a data string starts to arrive towards the end of the timeout period will the whole string be received or will it cut off at the end of the timeout period?
 
Hi,

Do you mean specifically SERRXD (which has a fixed Polarity, Baud Rate and pin number) or SERIN (for which all are selectable)? But in either case, AFAIK the timeout (if selected) is "reset to zero" each time a character is received, so you don't need to worry that the string might be artificially truncated. But don't forget that the PC must include (at least) a short pause (idle level) before every character.

Cheers, Alan.
 
Back
Top