10075 questions

12024 answers

18641 comments

20096 members

0 votes
64 views 1 comments
by

We are investigating a problem where simultaneous traffic in and out on the RUT955 RS485 interface give errors.

Our setup is a measurement and control device connected with 4-wires to the RUT955 RS485 sends ~100 bytes of data periodically every 100ms. Baudrate is 115200. Reception of data at RUT is successful and without errors. But if the RUT is sending data at the same time the recieved data is gettings lots of errors.

Terminal 1:

root@VPN089:~# cat /dev/rs485

{"i":-1,"bri":255,"cnt":0,"cnt2":0,"nz":1,"c":1,"a1":3,"a2":4095n":1024,"p":0}

{"i":-1,"bri":255,"cnt":0,"cnt2":0,"1":3,"a2":4095,"r":0,"reason":1024,"p":0}

{"i":-1,"bri":255,"cnt":0,"cnt2:0,"nz":1,"c":1,"a1":3,"a2":4095,"r":0,"reason":1024,"p":}

{"i":-1,"bri":255,"cnt":0"cnt2":0,"nz":1,"c":1,"a1":3,"a2":4095,"r":0,"reason":102,"p":0}

{j▒dr▒▒▒,▒▒ј▒|"0▒▒▒H2▒▒▒▒L2▒▒▒▒▒/▒1▒,▒,▒▒▒▒8▒▒▒3$

▒▒9q8"▒>o▒▒▒&

...

/▒j▒▒c▒▒8▒▒                                                  ▒▒▒▒▒▒˜▒"0▒▒$▒▒▒▒▒p▒▒

           ▒>$▒▒▒:3▒▒8&▒9‰▒▒▒▒▒▒▒▒0▒▒▒▒▒▒/▒1▒8▒5=▒▒,▒▒▒3▒"▒N▒▒$r▒▒▒▒I▒▒▒▒b▒▒▒{"i":-1,"bri":255,"cnt":0,"cnt2":0,"nz":1,"c":1,"a1":3,"a2":4095,"r":0,"reason":1024,"p":0}

{"i":-1,"bri":255,"cnt":0,"cnt2":0,"nz":1,"c":1,"a1":3,"a2":095,"r":0,"reason":1024,"p":0}

{"i":-1,"bri":255,"cnt":0,"cnt2":0,"nz":1c":1,"a1":3,"a2":4095,"r":0,"reason":1024,"p":0}

{"i":-1,"bri":255"cnt":0,"cnt2":0,"nz":1,"c":1,"a1":3,"a2":4095,"r":0,"reaon":1024,"p":0}0}

^C

root@VPN089:~#

Terminal 2:
root@VPN089:~# while :; do echo -n 'UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU' > /dev/rs485; done
^C
root@VPN089:~#
As you can see recieved data is garbage when data is sent out on the same time.
Using a RS485/422 USB dongle connected to the same RUT does not show any garbage data.
RUT955 is using latest FW. 

1 Answer

0 votes
by

Hello,

Did you placed Termination resistors at each cable end. Termination resistor, equal in resistance to cable characteristic impedance, must be connected at each end of the cable to reduce reflection. Refer to the link below to find out how to enable termination on the RUT955:

https://wiki.teltonika-networks.com/view/RUT955_RS232/RS485

Best regards.

by

This is not related to termination issues. This is because reciever is disabled while transmitting. Which from my point of view means that RS-485 is not full duplex.

Related questions here:

https://community.teltonika-networks.com/5358/is-it-possible-to-do-a-loopback-test-on-the-rs485-port

https://community.teltonika-networks.com/42634/rut955-rs-485-full-duplex-mode