Hello,
TDA4VM main domain MCU2_1 project.
CAN code in sdk0804 is as below:



We modified filter number to 32, but there are only 25 ID message can enter the interrupt. Why can't the last 7 filter ID enter the interrupt?
Please give some help.
Thanks.
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.
Hello,
TDA4VM main domain MCU2_1 project.
CAN code in sdk0804 is as below:



We modified filter number to 32, but there are only 25 ID message can enter the interrupt. Why can't the last 7 filter ID enter the interrupt?
Please give some help.
Thanks.
Hello,
Up to 128 filter elements can be configured for 11-bit standard IDs. When accessing a Standard Message ID Filter element, its address is the Filter List Standard Start Address [15-2] FLSSA field plus the index of the filter element (0-127).
In example it is provided #define APP_MCAN_STD_ID_FILTER_NUM (1U)
and configured as below
it seems you write this app_mcan.c by yourself, so please also take care of the Paramconfig as well as the FIFO/RAM size and task stack size are enough to support your 32 numbers of messages.
Hi,
How can i check whether the FIFO/RAM size and task stack size are enough to support 32 numbers of messages? Can you be more specific?
Thanks
Regards
Hello,
How is the data being received , all coming at once or periodically ? Are you using Rx Buffer or FIFO ?
Is it possible to share the full application code so that I can try replicating this on my side on the EVM?
Regards
Tarun Mukesh
Hi,
The data is received periodically. Yes, I am using Rx Buffer of FIFO.
The code is as below:

Please check it.
Thanks.
hongyao, how did you make the tx and rx task priority? shall we increase the priority higher for tx over rx?
Tarun Mukesh, be note that customer is likely to use the canfd instead of standard can according to their code snippet.
Hello Hongyao ,
As you said you are using Rx FIFO0 , if you aren't using RxFIF01 and Rx Buffer ,can you increase this