AnsweredAssumed Answered

Base on RTM 1.0.0 firmware library,CAN Reception for any number of incoming message ID's

Question asked by Jason zhao on Jan 31, 2018
Latest reply on Jan 31, 2018 by Ana Aldescu

We are working on Evaluation Board S32K144 and RTM 1.0.0 firmware library. I just want to receive the data for whatever incoming Id without Rx FIFO(Id's are unknown).
I have done with the single Id configuration for particular message buffer and its working fine.

         FLEXCAN_DRV_ConfigRxMb(INST_CANCOM2, RX_MAILBOX, &dataInfo, RX_MSG_ID);


         FLEXCAN_DRV_Receive(INST_CANCOM2, RX_MAILBOX, &recvBuff);
         while (FLEXCAN_DRV_GetTransferStatus(INST_CANCOM2, RX_MAILBOX) == STATUS_BUSY);


      Now,I have hundred,thousands of unknown incoming IDs What changes do I need to make,interrupt should be generated for all incoming ID's, with the above approach its seems impossible to achieve the task.


   Base on RTM 1.0.0 firmware library, how should I modify it?