This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RM48HDK, CAN1 + CAN2 Test, Identifier Issue

Hi,

I have the HDK, and configured CAN1 and CAN2 on the board to do a basic Tx and Rx test (note: wired across the board).

My first test is to just set the ID in a standard ID to 0x3FF (all 11bits on), and the data to zero, just to see what happens.

On the CRO I see bit 5 of the ID stuck at zero, not at 1 as would be expected, also the EXT bit is set high (extended message) not STD message (see image below - CAN H Line)

Looking at the transmit message box I see that the CAN1 IFARB register value ix 0xBFFC0000 which is setting the MsgVal and Dir Bits, along with the ID of 0x7FF shifted 18 places into ID[28:18].

So can anyone please suggest why the message ID is not being transmitted correctly, or in the alternate provide some advice on what other registers I should be checking to ensure the ID is set correctly.

Thanks

Stomp!