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.

CCS/TMS320F28035: Mailboxes and CANopen ID setting

Part Number: TMS320F28035

Tool/software: Code Composer Studio

Hi All.

I try to communicate via CANopen between F28035 and another board which is compatible to CANopen standard.

I'm a bit confused because in CANopen standard I have COB-ID, ID and Node ID definitions. COB-ID is for example 0x0601 - means 0x0600 + Node ID (=1).

So do I have to set 0x0001 or 0x0601 message ID in Mailbox?

My another doubt is that, in manual I  can see that MSGID has 28bit ID field. In CCS I have EXTMSGID_H, EXTMSGID_L and STDMSGID, I guess in SCC I have to assign message id as follows:

ECanaMboxes.MBOX0.MSGID.bit.STDMSGID = 0x0001 (Node ID)

Am I right?

Best regards.

  • MSGID can be either 11-bits or 29-bits (not 28-bits as you had mentioned). You make a mention of SCC mode. Note that regardless of whetehr you are in the SCC mode or eCAN mode, the way you configure a mailbox for STD ID or EXT ID does not change. Please look at the code examples in SPRA876 for guidance on how to configure mailboxes for standard or extended IDs.

    I am not familiar with CANopen, so I am unable to answer your question about the ID to write in the mailbox. You may want to post your question to CANopen forums or CAN forum like CANLIST.