AnsweredAssumed Answered

FlexCAN Receive question on S32K148

Question asked by sumityadav on Jan 25, 2019
Latest reply on Jan 31, 2019 by sumityadav

In my application I would like to configure FlexCAN to receive a message with a specific ID. I understand that I need to setup a mailbox to receive the message using FLEXCAN_DRV_ConfigRxMb followed by FLEXCAN_DRV FLEXCAN_DRV_Receive.

 

My question is the following:

When this message is received and the callback is invoked can I safely call both of these functions again to configure the mailbox to receive the same message ID again from within the callback? I need this to happen as fast as possible so as to no drop messages. If there is a better way of handling this please let me know.

 

Thanks!

Outcomes