AnsweredAssumed Answered

  questions about MPC5643L and Flexcan

Question asked by Gease Huang on Mar 8, 2017

hi everyone,

I‘m using MPC5643L for a can bus. I am trying to use CAN_0 to transmit a message to CAN_1.

''while(5 != ME.GS.B.S_CURRENT_MODE) {}'':the program is executing in this while loop all the time.

I don't know what's wrong with this? 

Here are my pictures that someone can look at and also is the program.  

On the other hand ,could someone help me check the circuit whether it is true or not.Maybe it's possible to cause  mistakes.

Finally,I'm sorry for my poor English and if someone who can tell me what's wrong with me, thank you. 

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

Outcomes