Dear community,
My platofrm information is S32K144 with S32DS + RTM3.03.
A fault is reported twice that an TX CANID is missing but other TX CANID is fine. After check my code, I'm sure it caused by function "FLEXCAN_DRV_Send" retuen busy.
Further more, function "FLEXCAN_SetMsgBuffIntCmd" was noticed: it was called in both ISR and normal routine. However, it's not thread safe as there contain RMW operation like" (base->IMASK1) = ((base ->IMASK1) | (temp));".
So is this RMW operation the root cause of my ID-missing issue?
If so, is there officical patch to fix this issue?
I have checked RTM4.02 and no change on this.
Best Regards,
Guangyu