Hello NXP Community,
I am trying to implement CAN communication on MPC5775E. My Transmite and Receive functions are as follows. While debugging, I see that it is stuck in the while loop inside the TransmitMsg function.
while ( CAN_A.IFLAG1.B.BUF31TO8I == 0) { } // wait until the tx is completed.

Could you pelase help me how to solve these problems?
Best Regards,
Berfin.