Skip to main content
Visitor II
January 8, 2024
Solved

Controller Area Network: 29-bit identifier example

  • January 8, 2024
  • 2 replies
  • 2675 views

Hi @everyone

 i completed the CAN2.0A based communication. Now i want to learn about CAN2.0B that is 29-bit identifier. so can you please provide the example if available for my reference.

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello,

    It doesn't need additional knowledge. In your example you need to change:

    TxHeader.IDE = CAN_ID_EXT;

    TxHeader.ExtId = <ID from 0 to 0x1FFFFFFF>

    Also take care about the filters configuration.

    2 replies

    mƎALLEmAnswer
    Technical Moderator
    January 8, 2024

    Hello,

    It doesn't need additional knowledge. In your example you need to change:

    TxHeader.IDE = CAN_ID_EXT;

    TxHeader.ExtId = <ID from 0 to 0x1FFFFFFF>

    Also take care about the filters configuration.

    Visitor II
    July 7, 2024

    Dude, can you please tell me about, how to set the Extended CAN ID in reception of CAN MESSAGES??

    Technical Moderator
    July 8, 2024

    Hello @vedant_joshi 

    I suggest you to open a new thread for your question.

    Thank you for your understanding.

    Visitor II
    January 8, 2024

    Hi @mƎALLEm 

    Thank you so much i will try it.