AnsweredAssumed Answered

FlexCAN Rx non-blocking function for K70

Question asked by Vasanthakumar Rajendran on Apr 24, 2017
Latest reply on May 22, 2017 by Vasanthakumar Rajendran



I am using K70 board with MQX RTOS and trying to test FlexCAN. Example code is working fine.

Is there any driver function to check the FlexCAN receive buffer and get back the ID without blocking?


FLEXCAN_Rx_message function used in the example code is blocking when there is no CAN msg in the network.

My requirement is to have a timer and in the interrupt function check the buffer for any data and set flags based on the msg ID received or just exit the interrupt function without blocking.


With Regards,