AnsweredAssumed Answered

[5744P]FlexCAN example code problem

Question asked by eric hsu on Nov 10, 2016
Latest reply on Jan 9, 2017 by yefang xiao

I'm using the MPC5744P now. I use GHS MULTI IDE and P&E MULTILINK and EVB is KIT33908MBEVBE+KITMPC5744DBEVM.

But the CAN0 ( FlexCAN module) can not work well. And the program is always suspending in the below line.

 

while ( (CAN_0.IFLAG1.B.BUF31TO8I & 1) == 0) { } // wait until the tx is completed.

 

Could someone give me advice about the CAN0, please? It would be better if you can share me the example code of  FlexCAN.

Thanks a lot.

Original Attachment has been moved to: Example-MPC5744P-FlexCAN-simpleTXRX-v1_0-GHS614.zip

Outcomes