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.

 速銳得圖片

 



    主站蜘蛛池模板: 成人精品一区二区激情| 亚洲视频精品在线观看| jizz国产丝袜18老师美女| 日韩精品无码免费专区午夜不卡| 人妻少妇看a偷人无码精品| 色综合天天综合| 国产欧美精品一区二区色综合 | 山村乱肉系列h| 亚洲欧美日韩精品专区卡通| 韩国福利视频一区二区| 国产精品免费一区二区三区四区| aaa日本高清在线播放免费观看 | 青青网在线视频| 国产第一页在线播放| 两夫妇交换的一天| 日韩不卡视频在线| 亚洲一区中文字幕久久| 精品亚洲一区二区| 国产一区二区四区在线观看| 麻豆波多野结衣| 国产精品久久久久久久久久久不卡 | 亚洲国产另类久久久精品黑人 | 国产精品xxxx国产喷水| 91天堂国产在线在线播放| 天天拍夜夜拍高清视频| 一本高清在线视频| 欧美xxxx网站| 亚洲欧美日韩精品久久亚洲区| 粉嫩小泬无遮挡久久久久久| 四虎最新地址在线观看1080p| 717影院理伦午夜论八戒| 女儿国交易二手私人衣物app| 九一制片厂果冻传媒56| 欧美和拘做受全程看| 刘敏涛三级无删减版在线观看| 老熟女高潮一区二区三区| 国产亚洲美女精品久久久| 麻豆AV一区二区三区久久| 国产无套乱子伦精彩是白视频| 丝袜诱惑中文字幕| 娇小bbb搡bbb搡bbb|