{"id":43266,"date":"2023-09-27T11:46:49","date_gmt":"2023-09-27T03:46:49","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=43266"},"modified":"2023-09-27T11:46:49","modified_gmt":"2023-09-27T03:46:49","slug":"ctxyjgdyy","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/43266.html","title":{"rendered":"CAN\u901a\u4fe1\u5f15\u811a\uff1aGD32F103CBT6\u7684\u5e94\u7528"},"content":{"rendered":"

  CAN\uff08Controller Area Network\uff09\u662f\u4e00\u79cd\u57fa\u4e8e\u603b\u7ebf\u7684\u591a\u70b9\u6570\u636e\u4ea4\u6362\u7cfb\u7edf\uff0c\u5b83\u80fd\u591f\u8ba9\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u5728\u77ed\u65f6\u95f4\u5185\u8fdb\u884c\u9ad8\u901f\u901a\u4fe1\u3002GD32F103CBT6\u662f\u4e00\u6b3e\u57fa\u4e8eARM Cortex-M3\u5185\u6838\u768432\u4f4dMCU\uff0c\u5b83\u5177\u6709\u591a\u79cd\u529f\u80fd\uff0c\u5176\u4e2d\u5305\u62ecCAN\u901a\u4fe1\u5f15\u811a\u3002\u672c\u6587\u5c06\u4ecb\u7ecdGD32F103CBT6\u7684CAN\u901a\u4fe1\u5f15\u811a\uff0c\u4ee5\u53ca\u5b83\u4eec\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u4f5c\u7528\u3002<\/p>\n

CAN\u901a\u4fe1\u5f15\u811a\uff1aGD32F103CBT6\u7684\u7ec4\u6210\u90e8\u5206<\/h2>\n

  GD32F103CBT6\u7684CAN\u901a\u4fe1\u5f15\u811a\u7531CAN_RX\u548cCAN_TX\u4e24\u90e8\u5206\u7ec4\u6210\uff0c\u5176\u4e2dCAN_RX\u7528\u4e8e\u63a5\u6536CAN\u4fe1\u53f7\uff0cCAN_TX\u7528\u4e8e\u53d1\u9001CAN\u4fe1\u53f7\u3002\u4e24\u8005\u4e4b\u95f4\u53ef\u4ee5\u901a\u8fc7CAN\u603b\u7ebf\u8fde\u63a5\uff0c\u4ece\u800c\u5b9e\u73b0CAN\u4fe1\u53f7\u7684\u6536\u53d1\u3002<\/p>\n

  CAN_RX\uff1a\u63a5\u6536CAN\u4fe1\u53f7<\/h3>\n

  GD32F103CBT6\u7684CAN_RX\u5f15\u811a\u7528\u4e8e\u63a5\u6536CAN\u4fe1\u53f7\uff0c\u5b83\u53ef\u4ee5\u63a5\u6536\u5230\u6765\u81eaCAN\u603b\u7ebf\u7684\u4fe1\u53f7\uff0c\u5e76\u5c06\u5176\u8f6c\u6362\u4e3aMCU\u53ef\u8bc6\u522b\u7684\u4fe1\u53f7\u3002\u5b83\u53ef\u4ee5\u63a5\u6536\u5230CAN\u603b\u7ebf\u4e0a\u4f20\u8f93\u7684\u6570\u636e\uff0c\u5e76\u5c06\u5176\u8f6c\u6362\u4e3aMCU\u80fd\u591f\u8bc6\u522b\u7684\u683c\u5f0f\uff0c\u4ece\u800c\u5b9e\u73b0\u5bf9CAN\u4fe1\u53f7\u7684\u63a7\u5236\u548c\u63a5\u6536\u3002<\/p>\n

  CAN_TX\uff1a\u53d1\u9001CAN\u4fe1\u53f7<\/h3>\n

  GD32F103CBT6\u7684CAN_TX\u5f15\u811a\u7528\u4e8e\u53d1\u9001CAN\u4fe1\u53f7\uff0c\u5b83\u53ef\u4ee5\u5c06MCU\u7684\u4fe1\u53f7\u8f6c\u6362\u4e3aCAN\u603b\u7ebf\u53ef\u8bc6\u522b\u7684\u683c\u5f0f\uff0c\u4ece\u800c\u5b9e\u73b0\u5bf9CAN\u4fe1\u53f7\u7684\u53d1\u9001\u3002\u5b83\u53ef\u4ee5\u5c06MCU\u53d1\u51fa\u7684\u4fe1\u53f7\u8f6c\u6362\u4e3aCAN\u603b\u7ebf\u53ef\u8bc6\u522b\u7684\u683c\u5f0f\uff0c\u4ece\u800c\u5b9e\u73b0\u5bf9CAN\u4fe1\u53f7\u7684\u53d1\u9001\u3002<\/p>\n

CAN\u901a\u4fe1\u5f15\u811a\uff1aGD32F103CBT6\u7684\u5b9e\u9645\u5e94\u7528<\/h2>\n

  GD32F103CBT6\u7684CAN\u901a\u4fe1\u5f15\u811a\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u591a\u79cd\u5e94\u7528\uff0c\u5982\u667a\u80fd\u5bb6\u5c45\u3001\u6c7d\u8f66\u7535\u5b50\u7b49\u3002<\/p>\n

  \u667a\u80fd\u5bb6\u5c45<\/h3>\n

  GD32F103CBT6\u7684CAN\u901a\u4fe1\u5f15\u811a\u53ef\u4ee5\u7528\u4e8e\u667a\u80fd\u5bb6\u5c45\u7cfb\u7edf\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u591a\u8bbe\u5907\u4e4b\u95f4\u7684\u9ad8\u901f\u901a\u4fe1\uff0c\u4ece\u800c\u5b9e\u73b0\u667a\u80fd\u5bb6\u5c45\u7cfb\u7edf\u7684\u81ea\u52a8\u5316\u63a7\u5236\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528CAN\u901a\u4fe1\u5f15\u811a\u6765\u63a7\u5236\u5bb6\u5c45\u8bbe\u5907\u7684\u5f00\u5173\uff0c\u5b9e\u73b0\u81ea\u52a8\u5316\u63a7\u5236\u3002<\/p>\n

  \u6c7d\u8f66\u7535\u5b50<\/h3>\n

  GD32F103CBT6\u7684CAN\u901a\u4fe1\u5f15\u811a\u4e5f\u53ef\u4ee5\u7528\u4e8e\u6c7d\u8f66\u7535\u5b50\u7cfb\u7edf\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u591a\u4e2a\u6c7d\u8f66\u7535\u5b50\u8bbe\u5907\u4e4b\u95f4\u7684\u9ad8\u901f\u901a\u4fe1\uff0c\u4ece\u800c\u5b9e\u73b0\u6c7d\u8f66\u7535\u5b50\u7cfb\u7edf\u7684\u81ea\u52a8\u5316\u63a7\u5236\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528CAN\u901a\u4fe1\u5f15\u811a\u6765\u63a7\u5236\u6c7d\u8f66\u7684\u706f\u5149\u3001\u7a7a\u8c03\u7b49\u8bbe\u5907\uff0c\u5b9e\u73b0\u81ea\u52a8\u5316\u63a7\u5236\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u672c\u6587\u4ecb\u7ecd\u4e86GD32F103CBT6\u7684CAN\u901a\u4fe1\u5f15\u811a\uff0c\u4ee5\u53ca\u5b83\u4eec\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u4f5c\u7528\u3002<\/strong>\u901a\u8fc7\u4f7f\u7528GD32F103CBT6\u7684CAN\u901a\u4fe1\u5f15\u811a\uff0c\u53ef\u4ee5\u5b9e\u73b0\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u9ad8\u901f\u901a\u4fe1\uff0c\u4ece\u800c\u5b9e\u73b0\u667a\u80fd\u5bb6\u5c45\u548c\u6c7d\u8f66\u7535\u5b50\u7cfb\u7edf\u7684\u81ea\u52a8\u5316\u63a7\u5236\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

CAN\uff08ControllerAreaNetwork\uff09\u662f\u4e00\u79cd\u57fa\u4e8e\u603b\u7ebf\u7684\u591a\u70b9\u6570\u636e\u4ea4\u6362\u7cfb\u7edf\uff0c\u5b83\u80fd\u591f\u8ba9\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u5728\u77ed\u65f6\u95f4\u5185\u8fdb\u884c\u9ad8\u901f\u901a\u4fe1\u3002GD32F103CBT6\u662f\u4e00\u6b3e\u57fa\u4e8eA<\/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-43266","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\/43266","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=43266"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/43266\/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=43266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=43266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=43266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}