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

2 REPLIES 2
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.