Hello to all,
I am using mc9s12xdt512 and i have a code that implements the communication with the MSCAN module.
I use a simulator that simulates a car operation that uses CAN Bus. The system runs fine and the operation is right.
The problem occurs when i want to change the baud rate of the simulator and connect with the application.
I have done the necessary changes to the MSCAN registers to support the new baud rate and i begin the
initialization process of the module from scratch.
The problem is that the MSCAN does not synchronize with the bus. The application at initialization
sends a wakeup and a bootup message. Are those messages essential for the CAN Bus communication or can i
When testing the application, if I am connected to the bus and receiving the messages with BR=125k and manually begin
the auto baudrate process without changing the BR value then the connection is fine but when i change the BR value to 250k
and then again to 125k the connection is lost. In that case i have the TFLG reg to 110 and the TIER reg to 1. The Synch bit
in the CTL0 reg is 1 for both BR values.
Does anyone knows how to auto baudrate in the MSCAN? Moreover, are there any messages that need to send for the
synchronization or is it dine automatically?
Thank you in advance,