Questions about receiving various CAN Msgs

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Questions about receiving various CAN Msgs

974件の閲覧回数
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)
0 件の賞賛
返信
2 返答(返信)

864件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

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

pastedImage_1.png 

BR, Petr

0 件の賞賛
返信

864件の閲覧回数
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 件の賞賛
返信