RS485 using logic supply serial cape

72 views
Skip to first unread message

Vitaly Kushner

unread,
Jul 8, 2016, 1:11:32 AM7/8/16
to BeagleBoard
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.

Vitaly Kushner

unread,
Jul 9, 2016, 8:20:56 PM7/9/16
to BeagleBoard
Hmm. just figured out I forgot to include the attachment (thought its not that much of information worthy anyway).

here we go...
cbb-serial-cape-beaglebone-black-pic2-min-2.jpg
Reply all
Reply to author
Forward
0 new messages