Hello,
I was going through the TRM and read the following:
All message objects of a FIFO buffer needs to be read and cleared before the next batch of messages
can be stored. Otherwise true FIFO functionality cannot be guaranteed, since the message objects of
a partly read buffer will be re-filled according to the normal (descending) priority.
In our application, we are checking every 1ms if we have received data on the CAN bus, meaning that in worst case between each check, we can receive from 4 to 7 frames depending on the payload size of the messages.
Emission won't stop while we retrieve these data so I can fairly imagine a corner case where I would be receiving a new frame while emptying the FIFO.
How do you recommend to handle it in order to guarantee the FIFO functionality ?
Regards,
Clément