CAN Bit Rate Configuration
The Controller Area Network (CAN) provides the user with several parameters to configure the bit timing, sampling point, and bit rate. With this flexibility comes some complexity in choosing the correct values for these parameters and properly configuring the bit rate. A given bit rate can be achieved by setting these parameter in more than one way. It is also possible to incorrectly configure these parameters and achieve a close enough bit rate that will allow the system to function but not perform in an optimized manner. This paper discusses how to calculate the bit rate and how to choose some of these parameters. A set of equations were developed and used in an example to configure the bit rate for a PIC18FXX8 CAN controller.