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.

TMS320F28335 Ecan communication

Other Parts Discussed in Thread: TMS320F28335

hello sir,

i am working on TMS320F28335 DSP board for Ecan communication .. i am facing some problems such as

when i am sending the continuous signal the transmitter transmit only first data repeatedly, no further data is transmitted . also receiver is not sending TA bit to transmitter.

please provide the solution .

thanking you 

  • Gopal,

                The receiver does not "send TA" to the transmitter. The receiver transmits the ACKnowlegde bit (during the ACK phase) and the transmitting node sets the TA bit. I think you have a problem in the physical layer, meaning the two nodes may not be connected properly to each other. Please look at the checklist below:

     

    •          Are 32-bit R/W operations used while accessing the eCAN registers? This is VERY important (See TRM for example)

    •          Was the MSGGID register initialized to zero, before the individual bits/Bit-fields were configured?

    •          Have you tried a lower bit-rate? Say, 50 kbps, for example?

    •          Are all CAN nodes configured for the same bit-rate? VERY important.

    •          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.

    •          What is the end-to-end bus length?

    •          Has the bus been terminated correctly (with 120-ohms) at either ends (only)? (The must be terminated only at either ends and with a 120-ohm resistor. In other words, no more than two terminator resistors may be present on the bus, unless split termination is followed, in which case there will be two resistors on either ends).

  • You could also connect an oscilloscope to the CANTX pin and see if the whole frame is transmitted and the ACK bit is driven low by the receiver.
  • sir i go through all possible option you have mention and this things solve my ecan communication problem...
    thank you
  • Gopal,

       For the benefit of everyone in the forum, please tell us what was wrong in your setup. Also, kindly close this post.