cancel
Showing results for 
Search instead for 
Did you mean: 

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

MSeo.9
Associate

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....

1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

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

View solution in original post

1 REPLY 1
Erwan YVIN
ST Employee

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