Hi,
I am using i.MX7D with Linux 4.9 kernel. I am configuring UART as a RS485. I am trying to transfer 0x0A data over serial but at the receive end I am getting extra 0x0d byte. (i.e transmitting 0x0a - receiving 0x0d 0x0a ). I went through some forums (see below link.) I got some idea why it is happening but I am unable to solve the issue. Can you please guide me.
link : c - UNIX send CR rather than LF - Stack Overflow ,
Thanks in advance.
Deven
Hi DEVEN
one can try to decrease baud rate, add delays between sending data to transmitter
and disable sdma (if it is used in the case).
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------