Hello all,
I am using interrupts and a FIFO to receive CAN messages, but I am having trouble understanding its operation. I have a FIFO that stores messages and I have a subroutine that reads the messages starting with the lowest object ID. My question is, if a new message is received after NewDat bit for the first object is cleared, will the next CAN message be placed at the beginning of the FIFO or at the end of the remaining data? The TRM was not clear.
I created the diagram below to help you understand my question. The text in red is what I need clarified because I am trying to write a routine that reads the FIFO messages reliably.

Thank you!
- Matthew
