AnsweredAssumed Answered

How do I setup Flexcan fifo on k64?

Question asked by Ahmed Sobhy on Mar 4, 2018
Latest reply on Mar 9, 2018 by Ahmed Sobhy

I have the Flexcan module on the K64 setup to receive data from the CAN bus using Message Buffers. I setup each Message buffer with a specific ID to listen to and receive the info from the bus.

 

Everytime a message is received the module causes an Interrupt. I then read the data from the message buffer and so on. I would like to know if there is a better implementation using FIFO buffers for example, that would not cause any messages to be dropped and at the same time reduce the workload on the MCU.

 

Thank you,

Ahmed.

Outcomes