IC : S32K144
here is my code:
I want to send 496byte data at once, it should sendout 62 frames.
if I don,t compare the value of radar_send_status and decide whether to resend or not.
it only sendout 61 frames, case the sending function (FlexCANSendData) returns BUSY once when it is sent.
Isn't the MCU going to reissue on its own? Why did he miss one frame?
Hi,
if you want to reuse same MB for next message you have to be sure previous one is transmitted and MB can be written. Is the FlexCANSendData your written function? What is the driver used?
Assuming e.g SDK driver is used then use either SendBlocking function or test if message is already sent using FLEXCAN_DRV_GetTransferStatus function.
BR, Petr
Thank for your help. Problem has been sloved.