AnsweredAssumed Answered

MQX FlexCAN FIFO message reception delay

Question asked by mpfgregory on Apr 15, 2016
Latest reply on May 24, 2016 by Rene Kolarik

I'm using the MQX FlexCAN FIFO receive mechanism. It works fine except for a delay in message reception. When the first CAN message is received, the output of the FIFO is a message containing only zeroes. The same happens for messages 2-5. When the 6th CAN message is received, the output of the FIFO is the first CAN message that was received. It continues like this. The 7th message received brings the 2nd message to the FIFO output and so on.

 

Is this intended behavior? I know the FIFO is 6 message buffers deep.

 

I'm using MQX 4.0 with the Phytec patches for the PCM052. This version didn't contain the FlexCAN driver. A while back I integrated the FlexCAN Driver from MQX4.1 into it. I see this behavior with the FlexCAN example application.

Outcomes