FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
172 views 1 comments
by anonymous

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 anonymous

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 anonymous

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