Tool/software:
Hi, TI's experts.
How to confirm which one between RxBuffer and RxFIFO will be used to store the new MCAN message? And by whicn one MCAN register can I get this information?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi, TI's experts.
How to confirm which one between RxBuffer and RxFIFO will be used to store the new MCAN message? And by whicn one MCAN register can I get this information?
Hi Sangminbo,
Your application can use either RX FIFO or RX Buffer and this will be dependent on what the application needs.. Configuring where the received message will go would be dependent on the filter element definition. A standard filter element will have the SFEC[2:0] element. If the value of the field is 0x5, received message will be saved in FIFO0. If the value of SFEC is 0x6, received message will be saved to FIFO1. If SFEC has a value of 0x7, the received message will be save to the buffer. For the extended ID, the filter element will have EFEC[2:0]. Destination of received buffer will be similar to the value of SFEC.
For an illustration on how RX FIFO or RX Buffer is used and configured, check out examples mcan_ex8_filter_receive (fifo) and mcan_ex4_receive (buffer).
Regards,
Joseph