Hello,
I am using FLEXCAN driver from S32 SDK and I have enabled the Rx FIFO feature with 8 Rx FIFO filters using FLEXCAN_RX_FIFO_ID_FORMAT_A as id format.
I want to set multiple (less than 8, of course) custom individual masks. Is that possible?
What I am doing for now is, after initializing the driver (FLEXCAN_DRV_Init()), i call FLEXCAN_DRV_ConfigRxFifo(), but through this function I have no option to specify a custom mask per id. What I need after this is to specify a mask per each one of the ids I added in the table I specified when I called FLEXCAN_DRV_ConfigRxFifo().
Is there a way I can do that?
I have seen the API FLEXCAN_DRV_SetRxIndividualMask(), but it needs for MB to be specified and I don't know in which MB have the ids (from the id table I specified in FLEXCAN_DRV_ConfigRxFifo()) been configured.
To summarize, what I want is to use the Rx FIFO and at the same time be able to have different filters like:
- Filter 1:
- ID: 0x100
- Mask: 0x740
- Filter 2:
- ID: 0x560
- Mask: 0x7E0
- ...
Thanks in advance!
Best regards,
Adria