SPRADP4 February   2025 AM620-Q1 , AM623 , AM625 , AM625-Q1 , AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1 , AM62P , AM62P-Q1 , AM67 , AM68A , AM69A , DRA821U , TDA4AEN-Q1 , TDA4AH-Q1 , TDA4AL-Q1 , TDA4AP-Q1 , TDA4VE-Q1 , TDA4VEN-Q1 , TDA4VH-Q1 , TDA4VL-Q1 , TDA4VM , TDA4VM-Q1 , TDA4VP-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2MCAN Features
  6. 3MCAN Software Configuration
    1. 3.1 Filter Configuration
    2. 3.2 Transmitter Delay Compensation
    3. 3.3 MCAN Bit Timing Parameters
  7. 4Debug Tips to Resolve MCAN Communication Issues
    1. 4.1 Debugging the MCAN Hardware
    2. 4.2 Debugging using MCAN registers
      1. 4.2.1 MCAN Protocol Status Register
      2. 4.2.2 MCAN Error Counter Register
    3. 4.3 Understanding MCAN applications in TI SDKs
      1. 4.3.1 MCU PLUS SDK
      2. 4.3.2 Linux SDK
      3. 4.3.3 MCAL SDK
      4. 4.3.4 PDK
    4. 4.4 Other Common Issues
  8. 5Related FAQs
  9. 6Summary
  10. 7References

Debugging the MCAN Hardware

  1. Bus Termination: The bus termination at the ends must be within 120 ohms only. Proper bus termination is crucial for maintaining signal integrity on the CAN bus. Make sure that the bus is correctly terminated at both ends (120-ohm resistors). Incorrect termination can lead to signal reflections and communication errors.
  2. Power supply: The CAN transceiver must be powered up properly.

    For example, in case of TCAN 1042D, apart from other physical connections, 5V power supply must be provided for CAN transmission

  3. Checking physical connections: If an oscilloscope is used, then make sure the triggered signal from oscilloscope, matches with the signal probed on the board.
  4. Acknowledgment error: When a node transmits a frame, this node expects an acknowledgment (ACK) back. When there is no ACK received from the receptor node, the transmitter node keeps sending the frame forever, until a bus-off is reached.
  5. Transceiver: To see the waveform until the ACK phase, a transceiver must be connected to the node. Without a transceiver, the node immediately goes into an error state.