Hi, Iam working on MC9S12DG256B(HCS12) microcontroller for CAN module. I've just used the Software in the App Note AN3034 to program the MSCAN. I've changed nothing in the software, but only deactivated loop back self test mode ( in CANCTL1 ). I am using CAN-USB interface.
But in the CAN0SendFrame() the Transmission completes never. The Code execution freezes here:
CAN0TFLG = txbuffer; // Start transmission while ( (CAN0TFLG & txbuffer) != txbuffer); // Wait for Transmission completion I have no idea why! i'll be thankful for your help!