{"id":42441,"date":"2023-10-05T06:26:23","date_gmt":"2023-10-04T22:26:23","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=42441"},"modified":"2023-10-05T06:26:23","modified_gmt":"2023-10-04T22:26:23","slug":"csjgsjjhyy","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/42441.html","title":{"rendered":"CAN\u6570\u636e\u683c\u5f0f\uff1a\u7b80\u4ecb\u548c\u5e94\u7528"},"content":{"rendered":"

  CAN\uff08Controller Area Network\uff09\u662f\u4e00\u79cd\u5c40\u57df\u7f51\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5c06\u591a\u4e2a\u8bbe\u5907\u8fde\u63a5\u5728\u4e00\u8d77\uff0c\u4ece\u800c\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u548c\u4fe1\u606f\u4ea4\u6362\u3002CAN\u6570\u636e\u683c\u5f0f\u662f\u4e00\u79cd\u7528\u4e8e\u5728CAN\u7f51\u7edc\u4e2d\u4f20\u8f93\u4fe1\u606f\u7684\u683c\u5f0f\uff0c\u5b83\u53ef\u4ee5\u4e3a\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u63d0\u4f9b\u7edf\u4e00\u7684\u683c\u5f0f\uff0c\u4ece\u800c\u4f7f\u8bbe\u5907\u4e4b\u95f4\u7684\u4fe1\u606f\u4ea4\u6362\u66f4\u52a0\u9ad8\u6548\u3002\u672c\u6587\u5c06\u4ecb\u7ecdCAN\u6570\u636e\u683c\u5f0f\u7684\u7ed3\u6784\uff0c\u4ee5\u53ca\u5b83\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u91cd\u8981\u6027\u3002<\/p>\n

CAN \u6570\u636e\u683c\u5f0f\u7ed3\u6784<\/h2>\n

  CAN\u6570\u636e\u683c\u5f0f\u4e3b\u8981\u5305\u62ecID\uff08\u6807\u8bc6\u7b26\uff09\u3001\u6570\u636e\u957f\u5ea6\u3001\u6570\u636e\u5185\u5bb9\u548cCRC\uff08\u5faa\u73af\u5197\u4f59\u6821\u9a8c\uff09\u56db\u90e8\u5206\u7ec4\u6210\u3002ID\u662f\u4e00\u4e2a11\u4f4d\u7684ID\u53f7\uff0c\u7528\u4e8e\u6807\u8bc6CAN\u7f51\u7edc\u4e2d\u7684\u6bcf\u4e00\u4e2a\u8282\u70b9\uff0c\u4ee5\u4fbf\u4e8e\u786e\u5b9a\u4fe1\u606f\u7684\u53d1\u9001\u8005\u548c\u63a5\u6536\u8005\u3002\u6570\u636e\u957f\u5ea6\u662f\u6307CAN\u6570\u636e\u5e27\u4e2d\u6570\u636e\u7684\u957f\u5ea6\uff0c\u6700\u591a\u53ef\u4ee5\u4f20\u8f938\u4e2a\u5b57\u8282\u7684\u6570\u636e\u3002\u6570\u636e\u5185\u5bb9\u662f\u6307CAN\u6570\u636e\u5e27\u4e2d\u7684\u5b9e\u9645\u6570\u636e\uff0c\u53ef\u4ee5\u662f\u6587\u672c\u3001\u56fe\u50cf\u3001\u97f3\u9891\u7b49\u3002CRC\u662f\u4e00\u79cd\u6821\u9a8c\u65b9\u5f0f\uff0c\u7528\u4e8e\u786e\u5b9aCAN\u6570\u636e\u5e27\u4e2d\u7684\u6570\u636e\u662f\u5426\u88ab\u7be1\u6539\u8fc7\u3002<\/p>\n

  ID<\/h3>\n

  CAN\u7684ID\u662f\u4e00\u4e2a11\u4f4d\u7684ID\u53f7\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u786e\u5b9aCAN\u7f51\u7edc\u4e2d\u7684\u6bcf\u4e00\u4e2a\u8282\u70b9\uff0c\u4ee5\u4fbf\u4e8e\u786e\u5b9a\u4fe1\u606f\u7684\u53d1\u9001\u8005\u548c\u63a5\u6536\u8005\u3002ID\u53ef\u4ee5\u5206\u4e3a\u6807\u51c6ID\u548c\u6269\u5c55ID\u4e24\u79cd\uff0c\u6807\u51c6ID\u662f11\u4f4d\u7684ID\u53f7\uff0c\u53ef\u4ee5\u6807\u8bc62047\u4e2a\u8282\u70b9\uff1b\u6269\u5c55ID\u662f29\u4f4d\u7684ID\u53f7\uff0c\u53ef\u4ee5\u6807\u8bc6536870911\u4e2a\u8282\u70b9\u3002<\/p>\n

  \u6570\u636e\u957f\u5ea6<\/h3>\n

  CAN\u6570\u636e\u5e27\u4e2d\u7684\u6570\u636e\u957f\u5ea6\u662f\u6307CAN\u6570\u636e\u5e27\u4e2d\u6570\u636e\u7684\u957f\u5ea6\uff0c\u6700\u591a\u53ef\u4ee5\u4f20\u8f938\u4e2a\u5b57\u8282\u7684\u6570\u636e\uff0c\u6bcf\u4e2a\u5b57\u8282\u67098\u4f4d\uff0c\u53ef\u4ee5\u8868\u793a256\u79cd\u4e0d\u540c\u7684\u72b6\u6001\u3002<\/p>\n

  \u6570\u636e\u5185\u5bb9<\/h3>\n

  CAN\u6570\u636e\u5e27\u4e2d\u7684\u6570\u636e\u5185\u5bb9\u662f\u6307CAN\u6570\u636e\u5e27\u4e2d\u7684\u5b9e\u9645\u6570\u636e\uff0c\u53ef\u4ee5\u662f\u6587\u672c\u3001\u56fe\u50cf\u3001\u97f3\u9891\u7b49\uff0c\u6570\u636e\u5185\u5bb9\u7684\u683c\u5f0f\u53d6\u51b3\u4e8e\u53d1\u9001\u8005\u548c\u63a5\u6536\u8005\u6240\u4f7f\u7528\u7684\u534f\u8bae\u3002<\/p>\n

  CRC<\/h3>\n

  CRC\uff08\u5faa\u73af\u5197\u4f59\u6821\u9a8c\uff09\u662f\u4e00\u79cd\u6821\u9a8c\u65b9\u5f0f\uff0c\u7528\u4e8e\u786e\u5b9aCAN\u6570\u636e\u5e27\u4e2d\u7684\u6570\u636e\u662f\u5426\u88ab\u7be1\u6539\u8fc7\u3002\u5b83\u901a\u8fc7\u8ba1\u7b97CAN\u6570\u636e\u5e27\u4e2d\u7684\u6bcf\u4e2a\u5b57\u8282\u7684\u6821\u9a8c\u548c\uff0c\u4ee5\u786e\u5b9aCAN\u6570\u636e\u5e27\u4e2d\u7684\u6570\u636e\u662f\u5426\u6b63\u786e\u3002<\/p>\n

CAN\u6570\u636e\u683c\u5f0f\u7684\u5e94\u7528<\/h2>\n

  CAN\u6570\u636e\u683c\u5f0f\u7684\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u6c7d\u8f66\u3001\u822a\u7a7a\u822a\u5929\u7b49\u591a\u4e2a\u9886\u57df\u3002\u5728\u6c7d\u8f66\u9886\u57df\uff0cCAN\u6570\u636e\u683c\u5f0f\u53ef\u4ee5\u7528\u4e8e\u6c7d\u8f66\u7684\u63a7\u5236\u3001\u76d1\u63a7\u548c\u8bca\u65ad\u7b49\uff0c\u53ef\u4ee5\u5b9e\u73b0\u6c7d\u8f66\u7684\u5b89\u5168\u6027\u3001\u53ef\u9760\u6027\u548c\u8282\u80fd\u7b49\u3002\u5728\u822a\u7a7a\u822a\u5929\u9886\u57df\uff0cCAN\u6570\u636e\u683c\u5f0f\u53ef\u4ee5\u7528\u4e8e\u822a\u7a7a\u5668\u7684\u63a7\u5236\u3001\u76d1\u63a7\u548c\u8bca\u65ad\u7b49\uff0c\u53ef\u4ee5\u5b9e\u73b0\u98de\u884c\u5668\u7684\u5b89\u5168\u6027\u3001\u53ef\u9760\u6027\u548c\u8282\u80fd\u7b49\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  CAN\u6570\u636e\u683c\u5f0f\u662f\u4e00\u79cd\u7528\u4e8e\u5728CAN\u7f51\u7edc\u4e2d\u4f20\u8f93\u4fe1\u606f\u7684\u683c\u5f0f\uff0c\u5b83\u4e3b\u8981\u7531ID\uff08\u6807\u8bc6\u7b26\uff09\u3001\u6570\u636e\u957f\u5ea6\u3001\u6570\u636e\u5185\u5bb9\u548cCRC\uff08\u5faa\u73af\u5197\u4f59\u6821\u9a8c\uff09\u56db\u90e8\u5206\u7ec4\u6210\u3002<\/strong>\u5b83\u7684\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u53ef\u4ee5\u7528\u4e8e\u6c7d\u8f66\u3001\u822a\u7a7a\u822a\u5929\u7b49\u591a\u4e2a\u9886\u57df\uff0c\u53ef\u4ee5\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u548c\u4fe1\u606f\u4ea4\u6362\uff0c\u4ece\u800c\u63d0\u9ad8\u8bbe\u5907\u4e4b\u95f4\u7684\u4fe1\u606f\u4ea4\u6362\u6548\u7387\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

CAN\uff08ControllerAreaNetwork\uff09\u662f\u4e00\u79cd\u5c40\u57df\u7f51\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5c06\u591a\u4e2a\u8bbe\u5907\u8fde\u63a5\u5728\u4e00\u8d77\uff0c\u4ece\u800c\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u548c\u4fe1\u606f\u4ea4\u6362\u3002CAN\u6570\u636e\u683c\u5f0f\u662f\u4e00\u79cd\u7528\u4e8e\u5728CAN\u7f51<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","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-42441","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-ctx"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/42441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=42441"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/42441\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=42441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=42441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=42441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}