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.

 速銳得圖片

 



    主站蜘蛛池模板: 久久久久久国产精品mv| 佐佐木明希哔哩哔哩| 1024毛片基地| 炕上摸着老妇雪白肥臀| 国产一级特黄高清免费下载| japan高清日本乱xxxxx| 日本zljzljzlj日本| 免费国产a国产片高清网站| 里番肉本子同人全彩h| 天天干天天爽天天射| 亚洲一区二区三区精品视频| 美女黄网站人色视频免费国产| 在线播放高清国语自产拍免费| 久久综合九色综合97手机观看| 永久免费毛片在线播放| 午夜三级限制福利电影在线看| 1024香蕉视频| 大香网伊人久久综合观看| 久久精品中文闷骚内射| 欧美巨大另类极品videosbest| 人体大胆做受大胆视频一| 成人免费福利视频| 婷婷五月综合缴情在线视频 | 黑人vs亚洲人在线播放| 好男人在线视频www官网| 亚洲youjizz| 精品久久久久久无码免费| 国产真人无遮挡作爱免费视频| 97热久久免费频精品99| 无码人妻一区二区三区免费n鬼沢| 二代妖精免费看| 男人扒开女人的腿做爽爽视频 | 小爱同学下载二三三乐园| 中文字幕在线永久| 日本免费精品视频| 亚洲日韩欧洲无码av夜夜摸| 色天天综合久久久久综合片| 国产成人www免费人成看片| 色婷五月综激情亚洲综合| 女人张开腿等男人桶免费视频| 久久精品aⅴ无码中文字字幕|