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.

 速銳得圖片

 



    主站蜘蛛池模板: 亚洲国产婷婷综合在线精品| 国产免费av片在线观看| 免费国产黄网站在线观看视频| 麻豆精品传媒视频观看| 国产老妇一性一交一乱| 九九99re在线视频精品免费| 美女久久久久久久久久久 | 精品人妻中文字幕有码在线| 国产免费插插插| 69成人免费视频| 国产黄a三级三级看三级| yy4080私人影院6080青苹果手机| 日本pissjapantv厕所自| 久久综合精品国产二区无码| 欧美大香线蕉线伊人久久| 国产三级无码内射在线看| 99re热在线观看| 嫩草影院在线播放| 中文字幕日韩一区二区三区不| 日韩欧美亚洲乱码中文字幕| 亚洲人成人无码网www国产| 欧美边吃奶边爱边做视频| 伊人久久大香线蕉av色婷婷色| 精品日本一区二区三区在线观看| 国产乱码精品一区二区三区四川| 91网站在线看| 国产精品99久久久久久猫咪| 一区二区在线视频观看| 插鸡网站在线播放免费观看| 亚洲欧美成人在线| 自拍偷自拍亚洲精品播放| 国产国产人免费人成成免视频| 日本娇小videos精品| 好大好硬好深好爽想要之黄蓉| 中文精品北条麻妃中文| 日本簧片在线观看| 久久精品国产精品国产精品污 | 亚洲一卡2卡4卡5卡6卡在线99 | 美女被艹免费视频| 国产一级三级三级在线视| 顶级欧美妇高清xxxxx|