Hello, 目前使用得是S32K1xx系列得片子。然后禁用了FIFO收信。使用得MB收信。也就是一个ID对应一个MB得策略。但是目前想让一个MB对应一个范围得ID报文。有什么方式吗?比如想配置一个MB可以接收0x500~0x53F区间得报文。请问有MASK得配置吗?能否提供一下帮助,谢谢
Hi,
you can refer to https://community.nxp.com/t5/S32K-Knowledge-Base/S32K1xx-FlexCAN-Mask-Setting-Demo/ta-p/1519753
generally to receive std. ID range 0x500-0x53F into single MB, just set MB ID = 0x500<<18 and respective mask register = 0x7C0<<18, meaning lower 6 bits are don't care.
BR, Petr
@PetrS yep,i set MB ID = 0x500<<18 and relevant RXIMRx register = 0x7C0<<18,but the other MBs receice will be in disorder.and all the respective IFLAG1 register will be set 1 when just receice single ID.
The configuration code: