how use can 2.0b protocol communication?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how use can 2.0b protocol communication?

800 次查看
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.

标记 (3)
0 项奖励
回复
1 回复

784 次查看
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 项奖励
回复