Questions about receiving various CAN Msgs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Questions about receiving various CAN Msgs

966 Views
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

Labels (1)
0 Kudos
Reply
2 Replies

856 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

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

pastedImage_1.png 

BR, Petr

0 Kudos
Reply

856 Views
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 Kudos
Reply