SLOA101B August 2002 – May 2016 SN55HVD233-SEP , SN65HVDA1040A-Q1 , SN65HVDA1050A-Q1 , SN65HVDA540-5-Q1 , SN65HVDA540-Q1 , SN65HVDA541-5-Q1 , SN65HVDA541-Q1 , SN65HVDA542-5-Q1 , SN65HVDA542-Q1
In autobaud loopback, the “bus-transmit” function of the transceiver is disabled, while the “bus-receive” function and all of the normal operating functions of the device remain intact. With the autobaud function engaged, normal bus activity can be monitored by the device.
Autobaud detection is best suited to applications that have a known selection of baud rates. For example, a popular industrial application has optional settings of 125 kbps, 250 kbps, or 500 kbps. Once a logic-high has been applied to pin 5 (AB) of the HVD235, assume a baud rate such as 125 kbps; then wait for a message to be transmitted by another node on the bus. If the wrong baud rate has been selected, an error message is generated by the host CAN controller. However, because the “bus-transmit” function of the device has been disabled, no other nodes receive the error message of the controller.
This procedure makes use of the CAN controller’s status register indications of message received and error warning status to signal if the current baud rate is correct or not. The warning status indicates that the CAN chip error counters have been incremented. A message-received status indicates that a good message has been received.
If an error is generated, reset the CAN controller with another baud rate and wait to receive another message. When an error-free message has been received, the correct baud rate has been detected.