MBD MPC5744 CAN Receive interrupt does not work

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

MBD MPC5744 CAN Receive interrupt does not work

Jump to solution
1,439 Views
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 Kudos
1 Solution
1,039 Views
dumitru-daniel_
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

View solution in original post

0 Kudos
2 Replies
1,040 Views
dumitru-daniel_
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 Kudos
1,039 Views
fupeng
Contributor II

Hi,

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

0 Kudos