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.

TMS570LS0714: Tms 570 ls 0714

Part Number: TMS570LS0714
Other Parts Discussed in Thread: HALCOGEN

Dear all,

I have to initiate CAN Interface for TMS 570 Ls 0714, I will have to handle multiple CAN message with different CAN ID per second. The example code I received shows I have to go to the halcogen everytime to configure the messageboxes for either Transmit/ Receive. and then generate the code on halcogen which is included on code composer studio. At some other point If i have to change it to Transmit/ Receive I have to log in on halcogen and update the source code. I also noticed that the can ID's also have to be set on halcogen. Only after performing all this will i was able to use canTransmit / canReceive function to perform CAN operation. 

The project is on developing faces and has to interface with multiple devices via CAN, I may have to change IDs often in future, every time going and editing it on HALCOGEN might reduce the productivity of our team. so is there any other way to edit CAN IDs and edit tx/rx configuration of the messagebox on code composer studio itself? 

Thank you,

Jose

  • Hello Jose,

    1. You can update the message ID using canUpdateID(..) function before transmitting this message.

    2. or you can add the message ID the canTransmit(..) function as a new arguments.

    3. The CAN modules support up to 64 mailboxes. How many mailboxes are used in your project? You can use other mailbox for different message ID.