Shop OBEX P1 Docs P2 Docs Learn Events
Problem when using three instances of a MCP2515 CAN-Bus object — Parallax Forums

Problem when using three instances of a MCP2515 CAN-Bus object

avionikerenavionikeren Posts: 64
edited 2015-06-15 14:11 in Propeller 1
I have made a board with three MCP2515 IC`s to kind of bridging three different CAN-Busses.
It`s supposed to forward the messages received on CAN-Bus no.1 to no.2 and vice verca.

My problem is that when a message is received on bus no.1 it is forwarded many times on no.2 instead of only one time.
Another problem is that the message received on number 1 and 2 are sometimes mixed together and sent out as a new message.

To me this appears to be some kind of cross talking between the objects.
I have tried to create three copies of the objects with different names and also different variable names for the variables in the DAT section, but it did not help.
The object is a stripped down version of Stephen Moracos object.

Any ideas here would be very much appreciated.

Complete set of code:
100751.Program V1.0 - Archive [Date 2015.06.15 Time 22.54].zip
Sign In or Register to comment.