AnsweredAssumed Answered

RS485 is giving extra byte 0x0d when transmitting 0x0a

Question asked by DEVEN SOLANKI on Jun 20, 2019
Latest reply on Jun 20, 2019 by igorpadykov

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

Outcomes