Greets.
I’m trying to talk to a device using rs485.
I got Logic Supply Serial Capes: http://www.logicsupply.com/eu-en/cbb-serial/ bor beaglebone black.
Before I’m trying to talk to the actual device, I’m trying to make 2 boards with cape to talk to each other.
Since couldn’t find anything recent on the topic I’m following this somewhat old howto: http://inspire.logicsupply.com/2014/09/beaglebone-rs-485-communication.html
the board runs latest resin.io and python hello-world project (beaglebone-ff3af2 4.4.9+ kernel) as firmware.
I’ve connected A to A, and B to B of 2 boards (see attachment). And the jumpers are setup as in the howto abobe.
From what I understand I should be able to have those 2 boards talk.
One thing that might be very relevant: It looks like the serial device is no longer /dev/ttyO4, but /dev/ttyS4.
As you could probably guess I couldn’t make those 2 boards talk. I’m doing a “ser.read()” on one of them in a loop, and a “ser.write(‘some string’)” in the other, but I don’t get anything.
So…
What am I doing wrong
Thanks, in advance,
/Vitaly.