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.

CAN Auto Baud Rate Detection

Hi,

TMS570 LS3137

Is there a suggested method for performing automatic baud rate detection?

We are wondering about using DCAN silent mode in which we would configure each of the two possible expected baud rates one after the other to see which is successful in receiving a valid message.

Regards, Tony

  • Tony,

    I'm not aware of any specific technique to detect a CAN baud rate.
    Anyway, here are my thought:

    1]  the CAN bus implementation usually uses standard baud rate, so an option is to "try" these baud rate.

    2] You can also measure the bit width of a CAN communication to find out the baud rate.

    Using the silent mode is a good option for #1. You will not disturb the on going traffic while looking for the baud rate.

  • Thanks Jean-Marc,

    It's as we expected then. We will listen to see what's out there in silent mode and then configure ourselves accordingly.

    Regards, Tony.