Monday 8 August 2016

Is it possible to have any CAN baudrate?


Is it possible to have any CAN baud values? e.g. 507 baud


If not, on what basis is the standard values are derived?



Answer



If you are building your own network, yes. All baud rates are valid provided every single device on the bus is using that particular baud rate.


If your bus has devices which are beyond your control, use only standard baud rates, otherwise you will generate error frames.



Standard baud rates are 125 kbit/s, 250 kbit/s, 500 kbit/s and 1 Mbit/s.


I don't know if there is a standard way to "derive" baud values, but most devices come with these baud rates.


Also, you can implement your own algorithm to detect the baud rate of the bus and then configure your device accordingly. One of the methods is described in section 5.1.15 of the docuemnt Introduction to the Controller Area Network (CAN).


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...