-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Beaglebone RS485 cape
Anthony Papillon edited this page Dec 7, 2015
·
4 revisions
To connect with modbus using Beaglebone RS485 cape (http://elinux.org/CircuitCo:CircuitCo/BeagleBone_RS485) 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/hmis/libmodbus/commit/33f2365fb7a6bc9ff46d0214244f590b797152bf
- https://github.com/hmis/libmodbus/commit/53c183b0db23e61fbf5bcc122cd40adcae9d4294
To talk about: