SPRAD59 October 2023 TMS320F280039
In case of filtering for Rx Buffers, a filter element can be configured to store a frame with matching ID defined by Standard ID1, in a Rx Buffer Element for which the number is defined by Standard ID2. Consequently, there has to be one Filter Element (std/ext) for each Rx Buffer Element. It is NOT possible to use any filter types to store frames in the Rx Buffer.
An interrupt can be generated when a new message is received in a dedicated Rx Buffer. There are two registers MCAN_NDAT1 and MCAN_NDAT2, with a bit corresponding to each of the possible 64 Rx Buffer elements, which is set on receiving a new frame in the particular buffer element. This new message can be read from the Message RAM using Driverlib API after which the New Data Flag needs to be cleared. As long as the New Data Flag is set, the Rx Buffer Element does not receive new data, and the corresponding filter element is disabled.