Hi TI,
I want to deal with frame loss when CAN_FD receives data, but there are a few things I need to make sure:
- I set the FIFO size to be 5, but how many data will be in the FIFO after an interrupt?
- How do I get how much data is currently in the FIFO?
- If the FIFO has multiple data, how can the software read the second data after reading the data once? Or will another call to the read function automatically read the second data?
The picture is the logic of the receiving function,
[sdk version] 8.6.0
Looking forward to your reply.