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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,310 次查看
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 项奖励
回复
1 解答
1,261 次查看
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 项奖励
回复
2 回复数
1,249 次查看
Lornix
Contributor I

Thank you Aldo,

I am using MIMX8ML8_M7

I'll check your links

0 项奖励
回复
1,262 次查看
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 项奖励
回复