Doubt about the number of stop bits that should be used in UART implementation.
More specifically, should we implement it for 1,5 stop bits, or is it enough for 1 or 2 stop bits?
|
Implement 1,5 bits too. The value 1,5 means the duration of the bit.
|
When should I send the data? And when should I receive it?
|
You should only send data when CTS is active. You should receive it whenever the other end of the line sends the data. In this way, a buffer overrun on reception if the other side does not use hardware flow control.
|