SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
|
|
Posted: Mon Mar 02, 2009 5:27 pm |
|
|
Using a hardware UART a Stop bit can be immediately followed by the next Start bit.
Using a software UART is actually slightly faster. Software getc() returns after the Stop bit is detected in the middle of the bit which for the usual N,8,1 settings is only 9.5 bits from the beginning of the Start bit, instead of 10 bits for the hardware UART.
If you allow a full 10 bit times per byte (Start bit, 8 data bits, Stop bit) you will be safe. _________________ The search for better is endless. Instead simply find very good and get the job done. |
|