cancel
Showing results for 
Search instead for 
Did you mean: 

Controller Area Network: 29-bit identifier example

sriramdhivakar
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
SofLit
ST Employee

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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
sriramdhivakar
Associate II

Hi @SofLit 

Thank you so much i will try it.

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

Hello @vedant_joshi 

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

Thank you for your understanding.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.