CAN message acceptance filter and mask

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

CAN message acceptance filter and mask

跳至解决方案
1,461 次查看
pranav_prabhu
Contributor III

I would like to know how to calculate acceptance filter and mask values for extended IDs in KEA128 MCU

0 项奖励
回复
1 解答
1,439 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

There are two banks of CAN receiver ID acceptance filter as the rectangle registers which can function for Extended ID filter(29 bits) and standard ID filter(11 bits). The MSCAN_CANIDARn is the ID that the CAN module wants to accept, the MSCAN_CANIDMRn include the mask bit.

The MSCAN_CANIDAC[IDAM] defines the filter mode.

For the acceptance pls refer to section 32.4.5 Identifier acceptance filter

 

xiangjun_rong_0-1726797608521.png

Hope it can help you

BR

XiangJun Rong

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,440 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

There are two banks of CAN receiver ID acceptance filter as the rectangle registers which can function for Extended ID filter(29 bits) and standard ID filter(11 bits). The MSCAN_CANIDARn is the ID that the CAN module wants to accept, the MSCAN_CANIDMRn include the mask bit.

The MSCAN_CANIDAC[IDAM] defines the filter mode.

For the acceptance pls refer to section 32.4.5 Identifier acceptance filter

 

xiangjun_rong_0-1726797608521.png

Hope it can help you

BR

XiangJun Rong

0 项奖励
回复