MBD MPC5744 CAN Receive interrupt does not work

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MBD MPC5744 CAN Receive interrupt does not work

ソリューションへジャンプ
2,473件の閲覧回数
fupeng
Contributor II

Hi all,

   I used MBD mpc5744 to create a can receive model,my trigger function is to make a Led bright. I can receive model send can data, but the can receive interruput does not work.The following is my model.

QQ图片20170623111840.png

trigger function model

QQ图片20170623111948.png

0 件の賞賛
返信
1 解決策
2,073件の閲覧回数
Daniel_Popa
NXP Employee
NXP Employee

Hi fupeng‌,

Have you tried the example shipped with the Model Based Design for MPC5744P ?

The example/demo is doing the exact same thing with what you want and can be found here: {MBDToolbox Install dir}\mbdtbx_MPC574xP\mbdtbx_pnt\Examples\can_model_pnt.mdl

Capture.PNG

Please give it a try and let us know if this works. If the demo works then most likely there is a configuration issue in your model - and you could use this demo as a starting point.

Hope this will resolve your issue.

Best regards,

Daniel

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,074件の閲覧回数
Daniel_Popa
NXP Employee
NXP Employee

Hi fupeng‌,

Have you tried the example shipped with the Model Based Design for MPC5744P ?

The example/demo is doing the exact same thing with what you want and can be found here: {MBDToolbox Install dir}\mbdtbx_MPC574xP\mbdtbx_pnt\Examples\can_model_pnt.mdl

Capture.PNG

Please give it a try and let us know if this works. If the demo works then most likely there is a configuration issue in your model - and you could use this demo as a starting point.

Hope this will resolve your issue.

Best regards,

Daniel

0 件の賞賛
返信
2,073件の閲覧回数
fupeng
Contributor II

Hi,

  This demo can work properly,Thank you very much for your reply!

0 件の賞賛
返信