Hi folks,
I have a problem with the CAN on my TMS570 Dev Kit.
I configured the message object #1 of CAN1 as transmission object with 0x100 as identifier. As counterpart I configured message object #2 of CAN2 as reception object also with identifier 0x100. After this I wired CAN1 with CAN2 and started the transmission. Everything works fine, the message is recognized by CAN2 and the transmitted data is correct. For all this I am working with the generated functions from the HALCoGen code generator. I just extended canGetData() to extract the identifier type and the identifier itself.
And here is my problem: After loading the message object in IF2 during canGetData(), the If2Arb register shows the content 0x60000040, which is wrong. But the according message object in the message RAM shows 0x40000100, which is correct. This means I get 64 as identifier and not 256 as mentioned.
What am I doing wrong? Or is this a known malfunction?