AnsweredAssumed Answered

MPC5643L FLEXCAN

Question asked by 智凯 蔡 on Oct 9, 2016

I am testing the flexcan module of MPC5643L using the example program,but the transmission works while reception doesn't work.I have watched the register, and found that the reception cannot get its flag when comes to the program as below.I don't know what's wrong.

if(1 == CAN_1.IFLAG1.B.BUF9I) 

I will be appreciate if someone can help me sovle the problem.Thank you.

 and here is the sample program.

Original Attachment has been moved to: MPC5643L-FlexCAN-SimpleRXTX-CW210.zip

Outcomes