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.