Reputation: 1020
Im working on a project that requires me to use CAN for communication. There are 3 Master nodes and 48 slave nodes. Each Master does the same functions(for redundancy in decisions and voting). Each master will be sending about 64 bytes of data per transfer to a slave and receiving about 40 bytes of data back from the slave. Per CAN transfer of message only 8 bytes of data is possible. After sending 8 bytes each master node has to wait for acknowledgement from the slave before sending the next 8 and so on. Currently im implementing this myself.
My question is: Are there any CAN Application layer protocols that i can refer to and implement a customised protocol to handle large packets of data ?Im not looking for hardware level of details about the CAN. Im looking for how to handle packets of data in software once they arrive(like using software besed mailboxes using received ID etc)
Upvotes: 4
Views: 1881
Reputation: 632
I don't know why it hasn't been answered before, but ISO-TP (ISO 15765-2) is designed to do exactly that.
Upvotes: 3