Automotive CAN bus message structure

2019-09-17 11:49:51 root 489

The information of the car CAN bus includes two parts: the information part and the data part.

The first two bytes are the information part, the first one is the identifier, and the first 8 bits of the identifier are used as the receiving judgment, which should include the destination address of this packet.

Then think of the RTR bit (should be set to 0), and finally the 4-bit DLC. DLC is the data length bit, which is the actual length of the transmitted data, in bytes.

The remaining 8 bytes are the data part. For the actual data to be sent, please refer to the following figure:

When transmitting data, the unit that sends the message is called the sender of the message. The unit is always the transmitter before the bus is idle or lost. If the unit is a message transmitter and the bus is not in an idle state, the unit is the receiver.

For the message sender and receiver, the actual effective time of the message is different. For the sender and the sender, if there is no error until the end of the frame, it is valid for the sender message. If the message is corrupted, it will be allowed to be sent automatically in the order of priority. In order to compete with other messages for CAN bus access, once the bus is idle, retransmission starts immediately. For the receiver, if there is no error until the last bit of the end of the frame, it is valid for the receiver message.

The frame start, arbitration field, control field, data field, and CRC sequence that make up a frame are all encoded by bit stuffing rules. When the transmitter detects 5 consecutive consecutive identical values in the transmitted bit stream, it automatically inserts a complement bit in the actually transmitted bit stream. The remaining bits of the data frame and the remote frame are in a fixed format and are not padded. Error frames and overload frames are also fixed formats and are not padded.

The data frame carries the data from the transmitter to the receiver, and the remote frame is sent through the CAN bus unit to send the data frame with the same identifier. The error frame is sent by any unit that detects the CAN bus error, and the overload frame is used to provide the current frame. The additional delay of the subsequent and subsequent data frames, the data frame and the remote frame are separated from the current frame by the interframe space.

 速銳得圖片

 



    主站蜘蛛池模板: 国产人成精品香港三级古代| 一卡2卡3卡4卡免费高清| 欧美性最猛xxxx在线观看视频| 十八岁的天空完整版在线观看| 香蕉视频在线观看免费国产婷婷| 国产精品美女久久久网av| jizzjizzjizz国产| 成人爽a毛片在线视频网站| 国产av人人夜夜澡人人爽麻豆 | 最新国产你懂的在线网址| 天天射天天干天天色| 中国大陆国产高清aⅴ毛片| 正在播放国产美人| 全部免费毛片免费播放| 舌头伸进去里面吃小豆豆| 国产又黄又爽视频| 欧美丝袜一区二区三区| 国产精品理论电影| 中文字幕亚洲精品无码| 日韩av片无码一区二区不卡电影| 亚洲中文无码av永久| 欧美精品亚洲精品日韩专区va| 免费中文字幕一级毛片| 精品性高朝久久久久久久| 国产gay小鲜肉| 要灬要灬再深点受不了好舒服| 国产成人精品综合在线观看| 伊人五月天综合| 国产视频一区在线播放| GOGO人体大胆全球少妇| 婷婷六月丁香午夜爱爱| 一级毛片一级毛片| 成人无遮挡毛片免费看 | 国产无遮挡又黄又爽网站| qvod小说区图片区亚洲| 成人三级精品视频在线观看| 国产AV人人夜夜澡人人爽麻豆 | 免费h成人黄漫画嘿咻破解版| 美女免费视频黄的| 国产三级精品三级男人的天堂 | 成人品视频观看在线|