Skip to main content
MSeo.9
Associate
May 28, 2019
Solved

how to not use CAN receive filter. Receive All msg.id data.

  • May 28, 2019
  • 1 reply
  • 1045 views

Hello. 

I'm using SPC58EC-DISP Kit, SPC5Studio.

I am writing a can communication program from the example.

I want to know how to not use can receive filter.

I want to All Packet Received.

SPC58 Wizard Setting only Specified ID Received....

This topic has been closed for replies.
Best answer by Erwan YVIN

Hello ,

i think that you should update :

Global Filter Configuration Register (GFC) (ANFS/ANFE)

and Standard ID Filter Configuration Register (SIDFC)

you can patch the RLA drivers in your code file (can_lld.c)

example below :

 /* Global Filter Initialization */
 canp->mcan->GFC.B.ANFS = 0x00U; /*reject messages don't match filtering */

Best regards

Erwan

Best regards

Erwan

1 reply

Erwan YVIN
Erwan YVINBest answer
ST Employee
July 4, 2019

Hello ,

i think that you should update :

Global Filter Configuration Register (GFC) (ANFS/ANFE)

and Standard ID Filter Configuration Register (SIDFC)

you can patch the RLA drivers in your code file (can_lld.c)

example below :

 /* Global Filter Initialization */
 canp->mcan->GFC.B.ANFS = 0x00U; /*reject messages don't match filtering */

Best regards

Erwan

Best regards

Erwan