AN2662 CAN bootloader
Doc ID 14156 Rev 1 49/83
Figure 34. Speed command via CAN: Host side
1. After setting the new baud rate, the bootloader sends the ACK message. Therefore, the host sets its baud
rate while waiting for the ACK.
The host sends the message as follows
Command message: Std ID = 0x03, DLC = 0x01, data[0] = XXh where XXh takes the
following values depending on the baud rate to be set:
● 0x01 -> baud rate = 125 kbps
● 0x02 -> baud rate = 250 kbps
● 0x03 -> baud rate = 500 kbps
● 0x04 -> baud rate = 1 Mbps
%NDOFSPEED
3ENDSPEEDMESSAGESTD)$X
3TARTSPEEDCOMMAND
AI
7AITFOR!#+
OR.!#+
#HANGESTHE#!.BAUDRATE
ACCORDINGTOCOMMANDSENT
7AITFOR!#+
.!#+
!#+