AnsweredAssumed Answered

S32K Flexcan can continuous send data

Question asked by xia bin on Nov 7, 2019
Latest reply on Nov 18, 2019 by Petr Stancik

I use S32K evb  to send can message;when I use can continuous send  like this question;

 

how to program to let Flexcan can continuous send data on s32ds. 

 

if(FLEXCAN_DRV_GetTransferStatus(INST_CANCOM1, TX_MAILBOX) == STATUS_SUCCESS)
{
SendCANData(TX_MAILBOX, TX_MSG_ID, &ledRequested, 1);
}

 

The sending rate is very slow, and only 5 frames can be sent every 1 s.

The project is on the attachment. Where is the problem?

Outcomes