AnsweredAssumed Answered

Send more CAN messages with fewer available MBs

Question asked by Jingwen Shi on Dec 11, 2019
Latest reply on Dec 12, 2019 by Petr Stancik

I am using S32K146 MCU which has 3 CAN instances. Now my ECU will use one of them access to vehicle CAN network.

According to my dbc file, my ECU will have about 38 messages for reception and about 25 messages for transmission.

According to S32K146 RM, I have to enable the CAN Rx FIFO for reception, and with this way, MB 0-5 will not be used by me, then I can use MB 6-15 for fifo reception(I can configure 40 messages for received, this is OK). MBs remaining for CAN Tx(25 Tx messages) only have 16 (MB 16-31). 

Now, I initialize one CAN message for every Tx MB during initialization. Actually, it is not enough. Other 9 messages beyond 16 messages cannot be sent.

Is there any way to solve my problem? Or which article I can take for reference.

Thank you very much~~

Outcomes