Skip to main content
Michel Bensoussan
Visitor II
March 21, 2017
Question

filtering criteria for accepting frames into the FIFO

  • March 21, 2017
  • 1 reply
  • 707 views
Posted on March 21, 2017 at 10:29

Hello,

I' using spc56EL70L5

I'm trying to define several CAN acceptance filters. Let's say I want to receive ids 0x100 to 0x1FF and 0x400 to 0x4FF, only regulars. I config as following:

BCC = 1

RXFIFO.IDTABLE

[

0

] =

0x08000000

RXIMR

[

0

] =

0xf8000000

RXFIFO.IDTABLE

[

1

] =

0x20000000

RXIMR

[

1

] =

0xf8000000

MCR = 0x2003001F

The second filter (

IDTABLE

[

1

] and 

RXIMR

[

1

]) has no effect and only ids 0x100 to 0x1FF are received.

I don't understand how to use the 8 filters.

Thanks

#spc56el70xx #spc56 #can-filter
This topic has been closed for replies.

1 reply

Erwan YVIN
ST Technical Moderator
June 14, 2017
Posted on June 14, 2017 at 14:43

Hello ,

Sorry for the late answer

Have you compared your application with our test applications in AppWizard (SPC5Studio 5.4.0)

SPC56ELxx_RLA CAN Test Application for DiscoveryPlus

             Best Regards

                              Erwan

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.