Hi Petr,
I use this example code and tested on the MPC5744P EVB,but it cannot work.Everytime it stops at this words:
while ( (CAN_0.IFLAG1.B.BUF31TO8I & 1) == 0) { } // wait until the tx is completed.
I locate TransmitMsg() into PIT0_ISR,then the PIT cannot work;When I mask this words,the PIT works well.So I think there is something wrong with it.Can you help me?Thanks very much.