We are using libmodbus on an ODROID C1+ together with an ADM2483 chip to communicate using RS485.
Since we are experiencing the problems described here:
we also need to apply the fix described here to get the communication to work. Without this fix will not receive any data at all.
With these modifications we will get modbus communication to work BUT:
1. We are flooding the syslog with error messages like these:
Uart 0 Driver: Framing Error while receiving a character
2. The communication will hang up on a cyclic basis and when enabling debug in libmodbus we will recieve:
ERROR Connection timed out: select
<F0><01><04><02><FF><EE><78><8C>
As you can see we have some garbage attached in the beginning of the response even though we use modbus_flush() as described in issue 302 above.
What can we do to get rid of these problems?
BR,
Martin