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.

TMS320F280049C: CAN Error Under the Debug Mode

Part Number: TMS320F280049C


Dear Experts,

I encountered a CAN error under the debug mode (the error messages are shown below), but CAN messages can be normally transmitted under the standalone mode.

I use GPIO30 & 31 as Rx and Tx for my implementation. The below snapshots are the register values for CAN_A.

May I know what reasons cause this phenomenon and how to resolve it?

I am looking forward to your feedback.

Many thanks.

C.C. Liu

  • Liu,

                  Please download my Application report http://www.ti.com/lit/SPRACE5 and look at the Debug tips provided. Most CAN issues can be resolved by going through this checklist.

     

    In a properly designed/configured network, communication errors should be rare. Common reasons for errors are

    (i) Loose oscillator tolerance

    (ii) Improper sampling-point selection

    (iii) Mismatched bit-rates between nodes. This can happen, among other things, due to loose oscillator tolerance

    (iv)  Electrical noise. If the noise is transient, the bus should recover on its own once the disturbances vanish. That is how the protocol is designed. 

    Bus-off is a severe error condition. You should investigate the root-cause of the errors (leading to bus-off) during communication.