Questions about receiving various CAN Msgs

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

Questions about receiving various CAN Msgs

791 次查看
jm_shin
Contributor I

Hello

We are considering using multiple MAILBOXs to handle the received Multi CAN Msg.
However, the test result shows that MAILBOX (0,1) with maximum 2ea including Tx/Rx can be used and 'STATUS_CAN_BUFF_OUT_OF_RANGE' is generated when using more than this.
ex)
#define RX_BUFF_IDX 0U, #define TX_BUFF_IDX 1U - ok
#define RX_BUFF_IDX 0U, #define RX_BUFF_IDX_2 1U - ok
#define RX_BUFF_IDX 0U, #define RX_BUFF_IDX_2 1U, #define RX_BUFF_IDX_3 2U - fail

How can I receive various CAN Msgs?
I was refer to example code of can_pal_s32k144

Thanks

标签 (1)
标记 (2)
0 项奖励
回复
2 回复数

681 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

try to increase number of available MBs in CAN component inspector. 

pastedImage_1.png 

BR, Petr

0 项奖励
回复

681 次查看
jm_shin
Contributor I

Dear Petr Stancik

Thank you for quick response.
I increased the 'Number of buffers' as shown below but the problem was not resolved. (2->8)

pastedImage_1.png

We still return the same 'STATUS_CAN_BUFF_OUT_OF_RANGE' state when MAILBOX (0,1) with over 2ea including Tx/Rx be used.

Could you please guide to solving this problem.

Thanks

0 项奖励
回复