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.

 速銳得圖片

 



    主站蜘蛛池模板: 做a的视频免费| 性满足久久久久久久久| 风间由美在线亚洲一区| 欧美日韩亚洲成色二本道三区| 国产漂亮白嫩美女在线观看| 丰满岳妇乱一区二区三区| 狠狠热免费视频| 国产成人av区一区二区三| 三年片在线观看免费观看大全中国| 欧美综合自拍亚洲综合图片区 | 久久精品视频7| 精品久久久久久无码中文野结衣| 国产精品泄火熟女| 久久久久久网站| 波多野结衣教师在线| 国产内射在线激情一区| 99热在线只有精品| 日韩内射美女片在线观看网站| 免费网站看V片在线18禁无码| 亚洲五月激情综合图片区| 性导航app精品视频| 亚洲国产日韩欧美| 美女张开腿让男人桶爽国产| 国产色产综合色产在线视频| 久久中文字幕无码专区| 欧美激情一区二区三区免费观看| 国产一卡2卡3卡4卡网站免费| 97精品国产一区二区三区| 日本特级淫片免费| 亚洲精品欧美精品国产精品| 青柠直播在线观看高清播放| 天天爽天天爽夜夜爽毛片| 久久免费国产视频| 欧美爽爽爽爽爽爽视频| 又爽又黄又无遮挡的视频在线观看| 16女性下面扒开无遮挡免费| 恋脚app直播软件| 亚洲av永久无码精品三区在线4 | 欧美激情一级欧美精品| 亚洲色成人网一二三区| 色网站在线播放|