Hi kef,
thanks for the fast reply. I took a Freescale code example and modified it. The clearing of the RXF is the last statement before return, so i read the IDR's and DSR' before i clear the flag. I'm wondering why the RX buffer isn't overwritten by the new incoming message ID.
I attached the two important c files which include the CANRxisr and the vfnCAN_ReceivedFrame().
Perhaps you could give me a short code example how to read out the ID if the way i'm doing it in the code is wrong.
thanks so far for your help,
Chris
interrupts.c
CAN_driver.c
Message Edited by t.dowe on 2009-09-14 11:25 AM