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.
#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
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)
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.