We are using the S32K118 board, and I have made the following configuration.
Set the register CAN_MCR[IRMQ] to 0,and set the option of Rx FIFO ID fiters number to 8 Rx FIFO Fiters.The result is that only 8 CAN IDs can be accepted. I would like to accept a quantity of CAN IDs exceeding 8.So I change the number of 8 to 16.But the board can't work of can communication when do this configuration.I have seen some other examples, whether it need to change the number to 40.
Appreciate any help!
Thanks
yeah,I set the option of Rx FIFO ID fiters number to 16 Rx FIFO Fiters.It mean CTRL2[RFFN] (RFFN = 0x01),So the Remaining available maixboxes should begin to MB10.It could be work when I change the number MB8 to MB10.
Hi,
can you share the code you have?
CTRL2[RFFN] specifies number of ID filter element used. Be sure that also MCR[MAXMB] is set accordingly.
Below SDK example show usage of RXFIFO with DMA with 16 filter elements set https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-FlexCAN-RXFIFO-DMA-S32DS-ARM-2018-R...
BR, Petr