7644 questions

9073 answers

14631 comments

12005 members

0 votes
14 views 0 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. 

Please log in or register to answer this question.