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
1,033 views 5 comments
by anonymous

As far a I can see there is clearly a major issue with the implementation of RS485 on RUT955. I've tried several routers and the problem is still there. After probing the data lines to the HVD73 chip my impression is that there is an error with the implementation.

This is what I get on the oscilloscope when looking at the RS485 data lines from the RUT955. CH1 (yellow) is D_N pin (driver negative) and CH2 (green) is D_P (driver positive). Ground reference is router chassi ground. White is CH1-CH2 (math). RS485 signal levels require 200 mV difference between D+ and D- for detection of high/low level. This means that "high" levels are never detected. Baud rate is set to 115200 which means shortest pulse is about 8 us.

To investigate this further on I took a look at the input pins to the HVD73 chip, the RS-485 tranceiver inside the RUT955.

The interesting pins here are pin 4 DE (driver enable high) and 5 D (driver data input). Looking at those in the oscilloscope when sending data:

Those lines are inverted with respect to one another which means that driver enable (DE) is only high when data (D) is low. This means that it is impossible to recieve any data (since all the "high" levels are omitted).

For reference here is a "normal" RS485 data transfer using a RS485 USB serial modem connected to a computer:

 

I've not been able to figure out if the DE line is somehow connected to a GPIO pin on the Atheros SoC. If so this is maybe a driver related issue within RutOS? And software setting or registry write that can bring this line "high"? For this particular use we have a full duplex single master RS485 network which means that leaving the driver on (=DE high) is not a problem.

So has anyone got RS485 working from RUT955 batch 081? From the pcb image above you can see that the termination resistor and the jumper is missing. Is RS485 support removed? If so why is the transciever still there?

1 Answer

0 votes
by anonymous
Hello,

Thank you for information. I have forwarded this to RnD department for investigation. When I have any news about this case, I will contact via this query.
by
Is there any resolution on this issue? We are using old boards a lot with RS485 support and this issue is cost us a lot of troubles with the last order of routers which came with the new board. The other thing is that there is no explanation at all for those changes...
by anonymous
Hello,

About which issue part here your are asking? RS485 signal or removed termination resistor?
by anonymous
The only option on RUT955 is, as far as I understand, bit timing direction control. This means you need to fail-safe biasing on the recievers. If you are using older RS485 equipment without fail-safe biasing you need to add pull up and pull down resistors on the recieving side.
by
I just received a RUT955, batch 084, and now want to use RS485 ( 2 wire) for comms to modbus devices.

Is the issue regarding RS485 signals fixed already in my device ? To install a terminating resistor is no big deal for me, although I am  a software guy.
by anonymous
Hello,

There is nothing to worry about because our RND team investigated this and they were unable to reproduce it on other devices, all of those performed communication tests successfully.
Regards,
Tomas