This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

About CAN communication between devices...



Dear sirs,

I have question about the CAN communication.

In some master-slave interface, the role is clear that mater device can issue commands to slave device by assign its address.

However, how to do such thing in CAN interface since there is no master or slave in CAN bus devices.

I had study the TI online video, but still not know how to get data from certain device and send command to the device what you want to send!

Thanks.

  

  • Hi Peter,

    Many times a node is just configured to transmit its data at fixed intervals (or when needed, such as when a variable changes state or some critical threshold is reached).  Since arbitration already ensures that lower-identifier messages are prioritized on the bus, this can be done without a master sequencing the communication from different nodes.

    There is also a mechanism in the protocol specifically for requesting data.  This is called a remote frame, and you can read more about it here:

    https://www.kvaser.com/about-can/the-can-protocol/can-messages-23/

    Regards,
    Max