Hi,
I have two DCAN message objects configured with all parameters the same except for the 11-bit arbitration id (in DCANIF1ARB). Message object 5 is the first receive message object configured and is the lowest numbered (i.e. highest priority receive message). Message object 10 is configured following message object 5 and is a lower priority). So:
DCANIF1MSK=0xC00007FF, DCANIF1ARB=0x88880000, DCANIF1MCTL=0x00001486, DCANIF1CMD=0xF8, DCANIF1NO=0x5, DCAN1INT bit set active for message object 5 (0x222).
DCANIF1MSK=0xC00007FF, DCANIF1ARB=0x88A40000, DCANIF1MCTL=0x00001486, DCANIF1CMD=0xF8, DCANIF1NO=0xA, DCAN1INT bit set active for message object 10 (0x229).
My problem is that receipt of message 0x229 is recorded as 0x00050000 in DCANINT rather than expected 0x000A0000 (i.e. the message object associated with message id 0x222 and not message id 0x229). DCANNWDAT12 is also incorrectly set to 0x00000010 (for message object 5)
Receipt of message 0x222 is correctly reported in DCANINT (0x0005000) and DCANNWDAT12 (0x00000010).
I have the same problem with other message arbitration ids, on receipt, they are all reported in DCANINT as being sourced from message object 5 (the highest priority receive message object).
Does anybody have any idea what I am doing wrong, presumably a configuration problem?
Regards, Tony.