How to bypass FlexCAN ID Filter to receive All Extended AND Standard frames on iMX8

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

How to bypass FlexCAN ID Filter to receive All Extended AND Standard frames on iMX8

Jump to solution
444 Views
Lornix
Contributor I

As the title says, i want to set FlexCAN peripheral to receive ALL frames (Standard AND Extended), without any filter

It seems to me that it's impossibile to do this by FIFO mode, because it is mandatory to specify IDE bit

Witch is the "right" way to do so?

Thank you

0 Kudos
1 Solution
395 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I do not actually know which i.MX8 are you using or which core, either Cortex-A or Cortex-M, but you may refer to this community thread for an example for Cortex-M
https://community.nxp.com/t5/i-MX-Processors/FlexCAN-filter-of-type-quot-Range-quot-in-iMX8-CM7/td-p...

While for Cortex-A you may refer to the following app note:
https://www.nxp.com/webapp/Download?colCode=AN13210
Chapter 4.4.7 Filter the received CAN frames, you may try setting can_mask to 0  so it receives any ID.

Best regards,
Aldo.

View solution in original post

0 Kudos
2 Replies
383 Views
Lornix
Contributor I

Thank you Aldo,

I am using MIMX8ML8_M7

I'll check your links

0 Kudos
396 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I do not actually know which i.MX8 are you using or which core, either Cortex-A or Cortex-M, but you may refer to this community thread for an example for Cortex-M
https://community.nxp.com/t5/i-MX-Processors/FlexCAN-filter-of-type-quot-Range-quot-in-iMX8-CM7/td-p...

While for Cortex-A you may refer to the following app note:
https://www.nxp.com/webapp/Download?colCode=AN13210
Chapter 4.4.7 Filter the received CAN frames, you may try setting can_mask to 0  so it receives any ID.

Best regards,
Aldo.

0 Kudos