-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Beaglebone RS485 cape
Michael Heimpold edited this page Mar 20, 2019
·
4 revisions
To connect with modbus using Beaglebone RS485 cape (https://elinux.org/RS485_Cape_RevB) there are required a few modifications to the library:
- You have to make sure that read buffer is empty before writing anything to uart.
- You have to make sure that write buffer is empty before select function (before reading).
- You should use one of GPIO ports instead of RTS (due to board design).
Those two commits allow modbus communication using RS485 cape.
- https://github.com/stephane/libmodbus/commit/33f2365fb7a6bc9ff46d0214244f590b797152bf
- https://github.com/stephane/libmodbus/commit/53c183b0db23e61fbf5bcc122cd40adcae9d4294
To talk about: