Part Number: TMS570LS3137
Hi,
I wanted to know how to work canIsRxMessageArrived function of can.h. I am using CAN interface in polling mode, so I am checking for new data in the CAN buffer. However, canIsRxMessageArrived returns '0x1' every time (I understand that this function have to return 0 if no data has been received). Considfering this, how can I do to clear the Rx CAN buffer and use canIsRxMessageArrived without problems?
Thanks and regards,
Leandro
