AnsweredAssumed Answered

How do I get CAN Rx interrupts to fire on an MPC5668G when the FIFO is enabled?

Question asked by Ashley Clarke on Nov 3, 2016
Latest reply on Nov 4, 2016 by Ashley Clarke

As soon as the FEN bit is set in CANx MCR the Rx Interrupts stop firing.   We are using a port of MQX though I don't believe that to be the issue.   All the registers look OK.   I have reserved the lower 8 MBs (0 - 7) for Rx and moved the Tx MBs up.   Tx works fine but no amount of coxing gets it to work.  I'm now almost at register level:

 

CAN_B.MCR.B.FRZ = 1;

CAN_B.MCR.B.HALT = 1;

while(CAN_B.MCR.B.FRZACK == 0){};

CAN_B.MCR.B.FEN = 1;

CAN_B.MCR.B.HALT = 0;

Outcomes