Open Ursescu opened 5 years ago
Right now, using only one UART with diode on TX, the information sent is also received.
Solve only software which can fail, because the sent packet can be corrupted and the length can missmatch.
Solve hardware, use two UART one for TX and one for RX.
Try to disable the buffer when doing TX (clearing the buffer after TX is not fast enough -> it will cause losing valuable data).
Right now, using only one UART with diode on TX, the information sent is also received.
Solve only software which can fail, because the sent packet can be corrupted and the length can missmatch.
Solve hardware, use two UART one for TX and one for RX.
Try to disable the buffer when doing TX (clearing the buffer after TX is not fast enough -> it will cause losing valuable data).