Who has an example of MPC5746C's CAN?

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

Who has an example of MPC5746C's CAN?

919 Views
木子李
Contributor II

Hello:

      When I was doing MPC5746C's CAN transceiver test, CAN couldn't drive it. Who has a reference example for this?I need an example of MPC5746C's CAN.

Thanks!

0 Kudos
2 Replies

467 Views
martin_kovar
NXP Employee
NXP Employee

Hello,

there are some examples in software example list, which are created for MPC5748G, but those are also usable for MPC5746C. Please check the links below:

MPC5 software example list 

Example MPC5748G FlexCAN DMA ISR 

Example MPC5748G-FlexCAN_with_interrupts S32DS 

https://community.nxp.com/docs/DOC-333556 

Regards,

Martin

0 Kudos

467 Views
木子李
Contributor II

Hello,

I refer to these examples, but enter the initCAN_1_tx function, the program stuck at CAN_1.MCR.B.MDIS = 1, as shown below

pastedImage_1.png

pastedImage_2.png

thanks.

0 Kudos