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.

TMS320F28035: CAN Error and Status Register not showing correct values

Part Number: TMS320F28035

Hi all,

Referring to SPRUGL7 - Enhanced Control Area Network. Following things are specified in Error and Status Register(CANES) Section :-

1) CANES.TM - This bit reflects what the CAN module is actually doing regardless of mailbox configuration. 1 - CAN module is transmitting a message 0 - CAN module is not transmitting a message

2) CANES.BO - This bit reflects that the CAN module is in Bus-off state.

So what i am trying is to check the action of these bits during Bus off state(manually done by shorting CAN_H with CAN_L) of CAN module.Following are my observations:-

1) CANES.TM bit is 0 when can is transmitting a message but as soon as bus off state happened it is becoming 1

2) CANES.BO is not changing its value during bus off state

So my observations are contradicting with description written in sheet.So can anyone help me in providing correct explanation for this type of behavior in CAN Registers

Thanks,

Siddharth

  • Siddharth,
    How are you reading the bit values? On the watchwindow of CCS or do you copy them to a variable periodically and examine the value of the variable? If it is the latter, do you employ 32-bit R/W? If ABO=0, CCR will be set upon bus-off. Have you tried this?