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.

TMS570LS0432: TMS570 CAN Bus arbitration load.

Part Number: TMS570LS0432

HI, 

I use TMS570 MCU CAN Bus functions.

I want do load the CAN ID and data.

how to write the  code do to that?

I set the message box9 ID is 0x14EA01EF.

I set the int variable "u32temp" to read the ID,but it can work.

  • Hi Kuanlee,

    1. You need to transfer the message arbitration or ID from message RAM to IFx register

         canREG1->IF1CMD = 0x20U;

         canREG1>IF1NO = messageBox;

    2. then read the ID from IFx register

        u32temp = node->IF1ARB

    You can use canGetID(...) in can.c to read the message ID.