How to set CAN ID masking for Rx FIFO in MBDT

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

How to set CAN ID masking for Rx FIFO in MBDT

597 次查看
Wei_H
Contributor III

Dear MBD team,

I'm currently using MBDT on Simulink to develop project on the MPC5748G Devkit for CAN communication. I noticed that in the normal CAN receive set up, you can configure the ID mask to allow a certain range of ID that can be received.

Wei_H_0-1706304009242.png

However, in the case of using Rx FIFO, I couldn't find a place to add declare ID mask. So far, I've been only using the filter table, which allows for filtering the full ID but without masking, hence not able to give a range of ID that can be receive by Rx FIFO. I'm working with Extended ID, which means that without the masking option for Rx FIFO, I'm limited to maximum 128 specific IDs on Rx FIFO using ID format A.

Wei_H_1-1706304278219.png

I saw another post asking this question but not on the Simulink environment:

https://community.nxp.com/t5/S32-SDK/How-to-set-Rx-FIFO-Mask/m-p/1005375

But in Simulink, I can only choose either Rx FIFO mode or CAN FD mode. In my case, I prefer Rx FIFO since it provide a more stable CAN communication. So what I ask is to find where I can configure masking for RX FIFO so that I can allow for more CAN ID to be received by Rx FIFO. 

 

Thanks

Wei

 

0 项奖励
回复
0 回复数