how use can 2.0b protocol communication?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how use can 2.0b protocol communication?

666 Views
rlaxortn
Contributor IV

i am using s32k314 and s32ds 3.6, RTD 4.0.0 Version.

 

how use can 2.0b protocol communication?

it is not can 2.0a and can-fd. 

i wanna use 2.0b can protocol.

bcause i gonna use extended CAN ID. 

 

would you know me a can configure and example code for using CAN 2.0B?

 

it is current setting about can. 

it work for CAN 2.0A.

1.png

 

2.png

 

thanks to help.

Tags (3)
0 Kudos
Reply
1 Reply

650 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

it would be enough to set rx_info parameter accordingly before MB is configured

rx_info.msg_id_type = FLEXCAN_MSG_ID_EXT;
FlexCAN_Ip_ConfigRxMb(INST_FLEXCAN_0, RX_MB_IDX, &rx_info, 0xFACE);

Also check how mask acceptance register is set.

BR, Petr

0 Kudos
Reply