Hi,
I’m using the microprocessor MC9S12XF512MLM and i try to send and receive a CAN frame. But in the example FREESCALE, i can just receive by interrupte the ID 0x6C700000.
For my application, i want to receive all CAN frame with their ID.
/* Acceptance FiltersCAN0IDAC = 0x10;CAN0IDAR0 = 0xFF;CAN0IDMR0 = 0xFF;CAN0IDAR1 = 0xFF;CAN0IDMR1 =0xFF;CAN0IDAR2 =0xFF;CAN0IDMR2 =0xFF;CAN0IDAR3 = 0xFF;CAN0IDMR3 = 0xFF;CAN0IDAR4 = 0xFF;CAN0IDMR4 =0xFF;CAN0IDAR5 = 0xFF;CAN0IDMR5 = 0xFF;CAN0IDAR6 = 0xFF;CAN0IDMR6 = 0xFF;CAN0IDAR7 = 0xFF;CAN0IDMR7 = 0xFF;
I have doing that, is that correct?
Regards,
Solved! Go to Solution.
ID 0x6C700000.
This number is not the CAN ID. Extended CAN ID has 29bits. Your number won't fit.
Yes, setting all bits in CANxIDMRn registers will make filter accepting all identifiers.
ID 0x6C700000.
This number is not the CAN ID. Extended CAN ID has 29bits. Your number won't fit.
Yes, setting all bits in CANxIDMRn registers will make filter accepting all identifiers.