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.

CANMessageGet incorrect length

For some reason, CANMessageGet( ) is receiving the correct ID; however, the length is incorrect (1B). Data[0] is correct, as well.

Looking through CANMessageGet(), I see CAN_IF1MCTL and CAN_IF2MCTL are '&' together to produce the DLC (length).

CAN_IF1MCTL = 0x00001F88

CAN_IF2MCTL = 0x0000B401

Any ideas?

Tx,

B