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.

TMS570 CAN, catch sender ID

Hi, TMS570 users

In CAN communication,

Is there any method to catch sender's ID?

Like a gateway, A external device send a packet to my device,

I need to know what device send that packet to me.

Thank you.

  • Hi Duke,

    There is no identifier in a CAN message itself that will tell you which device sent you a specific message.  This would have to be accomplished via your implementation, either by using some of the message ID bits to give a unique ID to each known device on the network, or by including some identification information in the message data itself. 

    Note that the latter solution would require more processing time, since the data would have to be analyzed each time to find the necessary information.  

    Paul B

    If my reply answers your question please click on the green "Verify Answer" button!

  • Hi Paul,

    Thank you for reply.

    Additionally, Some another Processor(Like Atmel AT91SAM)  has that function(identify sender ID)

    I thought  CAN bus data frame include ID field, and it can be catch by message-Box.

    Thank you agin.