CAN Recevier issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,200件の閲覧回数
剑明肖
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 解決策
877件の閲覧回数
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 返信
878件の閲覧回数
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 件の賞賛