CAN Recevier issue

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

CAN Recevier issue

跳至解决方案
1,197 次查看
剑明肖
Contributor II

Hi, 

I run the CAN demo (can_model_pnt.mdl) in MBDT toolbox(MBDToolbox\mbdtbx_MPC574xP\mbdtbx_pnt\Examples), it works well. But when I add another CAN_Receive_Data_Trigger(configured the different message id) block into the program, the CAN can not receive messages. Are there anyone met the same issue? Why this happen and how to fix it?

Attach is my simulink program.

标签 (1)
0 项奖励
1 解答
874 次查看
mariuslucianand
NXP Employee
NXP Employee

Hello 剑明 肖,

Thank you for reporting this issue. 

I think this is caused by a toolbox bug, so I prepared a fix for this.

Please try replacing the following files with the ones attached, but before that please make a backup for the existing ones.

{Toolbox install dir}\mbdtbx_MPC574xP_2.0\mbdtbx_pnt\src\mbdtbx_pnt\src\c_library  folder flexcan_pnt_library.c file

{Toolbox install dir}\mbdtbx_MPC574xP_2.0\mbdtbx_pnt\mbdtbx_pnt\blocks\can  folder can_pnt_receive_data_trigger.tlc file

Please give us a feedback after you replaced the files.

Best regards,

Marius

在原帖中查看解决方案

0 项奖励
1 回复
875 次查看
mariuslucianand
NXP Employee
NXP Employee

Hello 剑明 肖,

Thank you for reporting this issue. 

I think this is caused by a toolbox bug, so I prepared a fix for this.

Please try replacing the following files with the ones attached, but before that please make a backup for the existing ones.

{Toolbox install dir}\mbdtbx_MPC574xP_2.0\mbdtbx_pnt\src\mbdtbx_pnt\src\c_library  folder flexcan_pnt_library.c file

{Toolbox install dir}\mbdtbx_MPC574xP_2.0\mbdtbx_pnt\mbdtbx_pnt\blocks\can  folder can_pnt_receive_data_trigger.tlc file

Please give us a feedback after you replaced the files.

Best regards,

Marius

0 项奖励