eidtech
Junior Member level 2
Hi Forum...
I have a problem with RS485...
I'm programming an AVR Microcontroller to communicate with 2 RS485 Equipment.
At beginning of code execution all is fine... but after some minutes(3-5) MCU starts to receive corrupted data (seen in Oscilloscope and forwarded to other RS232 Terminal), by example the same data but in different order (random), duplicated bytes, etc.
I've tried with some RS485 Converters (from Home Made to Commercial converters). Trying: Optocoupled, NonOptocoupled, Using Terminate Resistor (120 Ohm), Line Resistors (in Series with A & B - 47 Ohms), Pulling Down and Pulling Up Resistors in A & B (560 Ohms).
When 120 Ohms Resistor was connected the problem was reduced but still present now.
Any idea to solve my problem?
Thank u very much to all.
I have a problem with RS485...
I'm programming an AVR Microcontroller to communicate with 2 RS485 Equipment.
At beginning of code execution all is fine... but after some minutes(3-5) MCU starts to receive corrupted data (seen in Oscilloscope and forwarded to other RS232 Terminal), by example the same data but in different order (random), duplicated bytes, etc.
I've tried with some RS485 Converters (from Home Made to Commercial converters). Trying: Optocoupled, NonOptocoupled, Using Terminate Resistor (120 Ohm), Line Resistors (in Series with A & B - 47 Ohms), Pulling Down and Pulling Up Resistors in A & B (560 Ohms).
When 120 Ohms Resistor was connected the problem was reduced but still present now.
Any idea to solve my problem?
Thank u very much to all.