{"id":22172,"date":"2023-08-25T13:04:29","date_gmt":"2023-08-25T05:04:29","guid":{"rendered":"\/\/www.viralrail.com\/?p=22172"},"modified":"2023-08-25T13:04:29","modified_gmt":"2023-08-25T05:04:29","slug":"ctxbwhyjx","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/22172.html","title":{"rendered":"CAN\u901a\u8baf\u62a5\u6587\u542b\u4e49\u89e3\u6790"},"content":{"rendered":"

  CAN\uff08Controller Area Network\uff09\u662f\u4e00\u79cd\u540c\u6b65\u603b\u7ebf\uff0c\u5b83\u53ef\u4ee5\u8ba9\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u901a\u4fe1\uff0c\u5177\u6709\u9ad8\u6027\u80fd\u3001\u4f4e\u6210\u672c\u3001\u9ad8\u53ef\u9760\u6027\u7b49\u7279\u70b9\u3002\u5728CAN\u901a\u8baf\u4e2d\uff0c\u6570\u636e\u4ee5\u62a5\u6587\u7684\u5f62\u5f0f\u53d1\u9001\uff0c\u62a5\u6587\u5305\u542b\u4e86\u53d1\u9001\u65b9\u548c\u63a5\u6536\u65b9\u7684\u5730\u5740\uff0c\u4ee5\u53ca\u62a5\u6587\u7684\u5185\u5bb9\u3002\u672c\u6587\u5c06\u4ecb\u7ecdCAN\u901a\u8baf\u62a5\u6587\u7684\u57fa\u672c\u7ed3\u6784\u53ca\u542b\u4e49\uff0c\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3CAN\u901a\u8baf\u62a5\u6587\u3002<\/p>\n

CAN\u62a5\u6587\u7ed3\u6784<\/h2>\n

  CAN\u62a5\u6587\u7531\u4ee5\u4e0b\u51e0\u4e2a\u90e8\u5206\u7ec4\u6210\uff1a<\/p>\n

\u62a5\u6587\u6807\u8bc6\u7b26\uff08Message Identifier\uff09<\/h3>\n

  \u62a5\u6587\u6807\u8bc6\u7b26\u662fCAN\u62a5\u6587\u7684\u552f\u4e00\u6807\u8bc6\uff0c\u5b83\u753111\u4f4d\u4e8c\u8fdb\u5236\u6570\u5b57\u7ec4\u6210\uff0c\u53ef\u4ee5\u6807\u8bc6\u51fa\u62a5\u6587\u7684\u53d1\u9001\u65b9\u548c\u63a5\u6536\u65b9\u3002\u6807\u8bc6\u7b26\u7684\u4f4e\u4f4d8\u4f4d\uff08\u4f4d0-7\uff09\u7528\u6765\u6807\u8bc6\u62a5\u6587\u7684\u4f18\u5148\u7ea7\uff0c\u8d8a\u9ad8\u7684\u4f18\u5148\u7ea7\u8d8a\u5148\u53d1\u9001\uff1b\u6807\u8bc6\u7b26\u7684\u9ad8\u4f4d3\u4f4d\uff08\u4f4d8-10\uff09\u7528\u6765\u6807\u8bc6\u62a5\u6587\u7684\u7c7b\u578b\uff0c\u4ee5\u6b64\u6765\u533a\u5206\u4e0d\u540c\u7c7b\u578b\u7684\u62a5\u6587\u3002<\/p>\n

\u62a5\u6587\u7c7b\u578b<\/h3>\n

  CAN\u62a5\u6587\u5206\u4e3a\u4e24\u79cd\uff1a\u6807\u51c6\u5e27\uff08Standard Frame\uff09\u548c\u6269\u5c55\u5e27\uff08Extended Frame\uff09\u3002\u6807\u51c6\u5e27\u7684\u62a5\u6587\u6807\u8bc6\u7b26\u957f\u5ea6\u4e3a11\u4f4d\uff0c\u800c\u6269\u5c55\u5e27\u7684\u62a5\u6587\u6807\u8bc6\u7b26\u957f\u5ea6\u4e3a29\u4f4d\uff0c\u6269\u5c55\u5e27\u53ef\u4ee5\u643a\u5e26\u66f4\u591a\u7684\u4fe1\u606f\uff0c\u56e0\u6b64\u5728\u4f20\u8f93\u8f83\u5927\u7684\u6570\u636e\u65f6\uff0c\u4e00\u822c\u4f7f\u7528\u6269\u5c55\u5e27\u3002<\/p>\n

\u62a5\u6587\u957f\u5ea6<\/h3>\n

  \u62a5\u6587\u957f\u5ea6\u6307\u7684\u662f\u62a5\u6587\u4e2d\u6570\u636e\u957f\u5ea6\uff0c\u6700\u5927\u53ef\u4f20\u8f938\u4e2a\u5b57\u8282\u7684\u6570\u636e\uff0c\u6570\u636e\u957f\u5ea6\u4ece0\u52308\u4e2a\u5b57\u8282\u4e0d\u7b49\uff0c\u5177\u4f53\u957f\u5ea6\u7531\u62a5\u6587\u4e2d\u7684\u62a5\u6587\u957f\u5ea6\u7801\uff08Data Length Code\uff09\u6765\u6307\u5b9a\u3002<\/p>\n

\u62a5\u6587\u5185\u5bb9<\/h3>\n

  \u62a5\u6587\u5185\u5bb9\u662f\u62a5\u6587\u4e2d\u6700\u91cd\u8981\u7684\u90e8\u5206\uff0c\u5b83\u5305\u542b\u4e86\u53d1\u9001\u65b9\u548c\u63a5\u6536\u65b9\u4e4b\u95f4\u8981\u4f20\u9012\u7684\u4fe1\u606f\u3002\u62a5\u6587\u5185\u5bb9\u53ef\u4ee5\u662f\u4efb\u610f\u7c7b\u578b\u7684\u6570\u636e\uff0c\u5982\u5b57\u7b26\u4e32\u3001\u6570\u5b57\u3001\u56fe\u50cf\u7b49\uff0c\u5177\u4f53\u53d6\u51b3\u4e8e\u53d1\u9001\u65b9\u548c\u63a5\u6536\u65b9\u4e4b\u95f4\u7684\u534f\u8bae\u3002<\/p>\n

CAN\u62a5\u6587\u542b\u4e49<\/h2>\n

  CAN\u62a5\u6587\u7684\u6bcf\u4e2a\u90e8\u5206\u90fd\u6709\u5176\u7279\u5b9a\u7684\u542b\u4e49\uff0c\u5728\u62a5\u6587\u4e2d\uff0c\u62a5\u6587\u6807\u8bc6\u7b26\u4ee3\u8868\u4e86\u62a5\u6587\u7684\u53d1\u9001\u65b9\u548c\u63a5\u6536\u65b9\uff0c\u62a5\u6587\u7c7b\u578b\u6307\u660e\u4e86\u62a5\u6587\u7684\u7c7b\u578b\uff0c\u62a5\u6587\u957f\u5ea6\u6307\u660e\u4e86\u62a5\u6587\u4e2d\u6570\u636e\u7684\u957f\u5ea6\uff0c\u800c\u62a5\u6587\u5185\u5bb9\u5219\u662f\u53d1\u9001\u65b9\u548c\u63a5\u6536\u65b9\u4e4b\u95f4\u8981\u4f20\u9012\u7684\u4fe1\u606f\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u672c\u6587\u4ecb\u7ecd\u4e86CAN\u62a5\u6587\u7684\u57fa\u672c\u7ed3\u6784\u53ca\u542b\u4e49\uff0c\u62a5\u6587\u7531\u62a5\u6587\u6807\u8bc6\u7b26\u3001\u62a5\u6587\u7c7b\u578b\u3001\u62a5\u6587\u957f\u5ea6\u548c\u62a5\u6587\u5185\u5bb9\u7ec4\u6210\uff0c\u6bcf\u4e2a\u90e8\u5206\u90fd\u6709\u5176\u7279\u5b9a\u7684\u542b\u4e49\uff0c\u6b63\u786e\u7406\u89e3\u62a5\u6587\u4e2d\u7684\u4fe1\u606f\uff0c\u6709\u52a9\u4e8e\u6211\u4eec\u66f4\u597d\u5730\u4f7f\u7528CAN\u901a\u8baf\u6280\u672f\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"

CAN\uff08ControllerAreaNetwork\uff09\u662f\u4e00\u79cd\u540c\u6b65\u603b\u7ebf\uff0c\u5b83\u53ef\u4ee5\u8ba9\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u901a\u4fe1\uff0c\u5177\u6709\u9ad8\u6027\u80fd\u3001\u4f4e\u6210\u672c\u3001\u9ad8\u53ef\u9760\u6027\u7b49\u7279\u70b9\u3002\u5728CAN\u901a\u8baf\u4e2d\uff0c\u6570\u636e\u4ee5\u62a5\u6587\u7684\u5f62\u5f0f<\/p>\n","protected":false},"author":1,"featured_media":3671,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[212],"class_list":["post-22172","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-ctx"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/22172"}],"collection":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/comments?post=22172"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/22172\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/3671"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=22172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=22172"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=22172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}