2019-07-17 04:04 AM
Hi all,
I'm using SPC570S0DISP DEMO Board(SPC570S50E1) to lean how to config CAN's filter.
And the attachment is my config and source code.
In my config,i just want CAN ID 0x112 to interrupt fifo callback function.And then i get the data in callback function. But unfortunatelly,ID 0x112/0x200/0x312/0x400/0x512/0x600/0x712 can interrupt fifo callback also.
So,can anyone help me correct my configuration and explain it?
thanks.
Jer.
Solved! Go to Solution.
2019-07-17 07:11 AM
Hi ,
Maybe you should add a filter in your configuration
Cf Screenshot
Best regards
Erwan
2019-07-17 07:11 AM
Hi ,
Maybe you should add a filter in your configuration
Cf Screenshot
Best regards
Erwan
2019-07-17 06:09 PM
Hi Erwan,
The attachment file"filterConfig" was my configuration.And it doesn't work.The fifo callback function still able to be interruptted by 0x200/0x400/0x600.
And i find some information from "RM0349 SPC570Sx 32-bit MCU reference manual rev6, Dec 2015",please check attachment--"CAN mask".That means 3-13bits avaliable to standard frame.So,i used filter mask--0x1fff to check also.But without any improvement.
Can you help me set-up the configuration of filter items?
Thanks.
Jer.