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爱免费视频| 龙珠全彩里番acg同人本子 | 国产精品无码一区二区三区免费 | 中国老头和老头gay视频ha| 日韩在线视频一区| 全日本爽视频在线| 诗涵留学荷兰被黑人摘小说| 国产欧美综合一区二区三区| 91中文字幕在线| 天堂а√在线地址| 亚洲AV一二三区成人影片| 欧美波霸影院在线观看| 国产一区二区三区小向美奈子| 国产在线精品网址你懂的| 国产精品毛片va一区二区三区| 99精品在线免费| 好大好湿好硬顶到了好爽视频 | 国产乱国产乱老熟300部视频 | 一区二区三区在线播放| 欧美日韩一区二区三区自拍| 人妻在线日韩免费视频| 黄瓜视频官网下载免费版| 天天爽亚洲中文字幕| 中文字幕免费在线观看| 欧美亚洲国产精品久久| 亚洲精品国产肉丝袜久久| 看一级毛片**直播在线| 午夜爽爽爽男女免费观看hd| 亚洲成年www| 好吊妞国产欧美日韩免费观看| 中文亚洲av片不卡在线观看| 无码一区二区三区中文字幕| 久久久国产精品亚洲一区| 日韩亚洲欧美一区|