Skip to main content
EGerh.1
Visitor II
March 7, 2022
Question

In RS485 communication I receive everything I send, how do I disable this return (echo)?

  • March 7, 2022
  • 0 replies
  • 1384 views

I'm working on a driver present in the Linux 5.4 kernel. In RS485 communication I receive everything I send, without being connected to another device to return what I sent.

I use the command echo -e "Test" > /dev/ttyLP0 for the submission.

I know that by default in RS485 communication I receive everything I send, but I want to disable the return (echo).

BUG:

0693W00000KbhsAQAR.jpgMy setup is:

PLC - Programmable Logic Controller

Processor: LS1027 (It's not a ST processor)

Linux Kernel 5.4 (tty driver present in this kernel version, who owns the stm32-usart.c)

I use a USB logic analyzer to analyze the signal sent through the echo -e "Test" > /dev/ttyLP0. With rs485 serial pins: D+, D- and GND.

Hardware:

0693W00000KbhrbQAB.png0693W00000KbhrbQAB.pngBest regards

Eduardo Gerhardt

This topic has been closed for replies.