How can set CAN Rx Fillter range with RT1050 EVK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can set CAN Rx Fillter range with RT1050 EVK

195 Views
dskim2
Contributor III

Hi

I want to filter the CAN ID below with RT1050 EVK board.
How can I do this?

I'm asking because the flexcan example only filters one CAN ID ( 0x123).

 

1. 700 ~ 7FF

2. 580 ~ 5FF

3. 395

Best Regards

0 Kudos
1 Reply

140 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello
I hope you are well.

Matching to a range of IDs is possible by using ID Acceptance Masks. FlexCAN supports individual masking per MB. Please refer to "Rx Mailboxes Global Mask Register" from the Reference Manual.

Best regards,
Omar

0 Kudos