AnsweredAssumed Answered

RX and TX of messages on same flexcan

Question asked by Vrushali Taklikar on Aug 3, 2017
Latest reply on Aug 3, 2017 by Vrushali Taklikar

Hi,

 

I am trying to receive message on CAN_A.MB[0], and then after processing  transmit back message via same CANA via CAN_A.MB[8]. 

Observation: 

I can transmit the message 1st and then when I receive and agin call transmit function, it is not successfully transmitted.

 

initCAN_A();
TransmitMsg();
/* Loop forever */
while(1)
{
if(CAN_A.IFLAG1.B.BUF5I)
{

CAN_Message_Receive();
temp = CAN_A.TIMER.R;
CAN_A.IFLAG1.R = 0x00000020;

TransmitMsg();

}

Outcomes