{"id":41628,"date":"2023-10-04T13:06:21","date_gmt":"2023-10-04T05:06:21","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=41628"},"modified":"2023-10-04T13:06:21","modified_gmt":"2023-10-04T05:06:21","slug":"sckbgyzmb","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/41628.html","title":{"rendered":"STM32F103\u4e32\u53e3\u4e0d\u591f\u7528\u600e\u4e48\u529e\uff1f"},"content":{"rendered":"

  STM32F103\u662f\u4e00\u6b3e\u5177\u6709\u591a\u79cd\u529f\u80fd\u7684\u5fae\u63a7\u5236\u5668\uff0c\u5176\u4e2d\u6700\u5e38\u7528\u7684\u529f\u80fd\u4e4b\u4e00\u5c31\u662f\u4e32\u53e3\u901a\u4fe1\u3002\u4f46\u662f\uff0c\u6709\u65f6\u5019STM32F103\u7684\u4e32\u53e3\u6570\u91cf\u53ef\u80fd\u4e0d\u591f\u7528\uff0c\u8fd9\u65f6\u5019\u5c31\u9700\u8981\u627e\u5230\u66f4\u591a\u7684\u4e32\u53e3\u901a\u4fe1\u65b9\u5f0f\u6765\u5b9e\u73b0\u66f4\u591a\u7684\u529f\u80fd\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528STM32F103\u7684\u4e32\u53e3\u6765\u5b9e\u73b0\u66f4\u591a\u7684\u529f\u80fd\u3002<\/p>\n

\u4f7f\u7528UART\u591a\u901a\u9053<\/h2>\n

  UART\u591a\u901a\u9053\u662f\u4e00\u79cd\u5141\u8bb8\u591a\u4e2a\u8bbe\u5907\u8fde\u63a5\u5230\u4e00\u4e2aUART\u4e32\u53e3\u7684\u6280\u672f\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u5b9e\u73b0\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002UART\u591a\u901a\u9053\u7684\u4f18\u70b9\u662f\uff0c\u5b83\u53ef\u4ee5\u5229\u7528STM32F103\u7684\u4e32\u53e3\u6570\u91cf\uff0c\u53ef\u4ee5\u5b9e\u73b0\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/p>\n

  UART\u591a\u901a\u9053\u7684\u5b9e\u73b0\u65b9\u5f0f<\/h3>\n

  UART\u591a\u901a\u9053\u7684\u5b9e\u73b0\u65b9\u5f0f\u4e3b\u8981\u6709\u4e24\u79cd\uff1a\u786c\u4ef6\u5b9e\u73b0\u548c\u8f6f\u4ef6\u5b9e\u73b0\u3002\u786c\u4ef6\u5b9e\u73b0\u662f\u6307\u4f7f\u7528\u4e13\u7528\u7684\u786c\u4ef6\u82af\u7247\u6765\u5b9e\u73b0UART\u591a\u901a\u9053\uff0c\u8fd9\u79cd\u65b9\u5f0f\u7684\u4f18\u70b9\u662f\u53ef\u9760\u6027\u9ad8\uff0c\u800c\u4e14\u786c\u4ef6\u82af\u7247\u7684\u53c2\u6570\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u8fdb\u884c\u8c03\u6574\u3002\u4f46\u662f\uff0c\u786c\u4ef6\u5b9e\u73b0\u7684\u6210\u672c\u8f83\u9ad8\uff0c\u800c\u4e14\u5b9e\u65bd\u8d77\u6765\u6bd4\u8f83\u590d\u6742\u3002\u8f6f\u4ef6\u5b9e\u73b0\u662f\u6307\u4f7f\u7528\u8f6f\u4ef6\u6765\u5b9e\u73b0UART\u591a\u901a\u9053\uff0c\u5b83\u7684\u4f18\u70b9\u662f\u6210\u672c\u4f4e\uff0c\u800c\u4e14\u5b9e\u65bd\u8d77\u6765\u6bd4\u8f83\u7b80\u5355\u3002<\/p>\n

  UART\u591a\u901a\u9053\u7684\u5e94\u7528<\/h3>\n

  UART\u591a\u901a\u9053\u53ef\u4ee5\u7528\u4e8e\u5404\u79cd\u5e94\u7528\u573a\u666f\uff0c\u4f8b\u5982\u5bb6\u5ead\u81ea\u52a8\u5316\uff0c\u5de5\u4e1a\u63a7\u5236\uff0c\u667a\u80fd\u5b89\u9632\uff0c\u6c7d\u8f66\u7535\u5b50\uff0c\u667a\u80fd\u5bb6\u5c45\u7b49\u7b49\u3002\u5b83\u53ef\u4ee5\u5e2e\u52a9\u8bbe\u5907\u4e4b\u95f4\u5b9e\u73b0\u66f4\u591a\u7684\u529f\u80fd\uff0c\u6bd4\u5982\u63a7\u5236\u8bbe\u5907\uff0c\u4f20\u8f93\u6570\u636e\uff0c\u5b9e\u73b0\u8fdc\u7a0b\u63a7\u5236\u7b49\u7b49\u3002<\/p>\n

\u4f7f\u7528CAN\u603b\u7ebf<\/h2>\n

  CAN\u603b\u7ebf\u662f\u4e00\u79cd\u63a7\u5236\u5668\u5c40\u57df\u7f51\uff08Controller Area Network\uff09\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u591a\u4e2a\u8bbe\u5907\uff0c\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002CAN\u603b\u7ebf\u7684\u4f18\u70b9\u662f\uff0c\u5b83\u53ef\u4ee5\u5728\u7f51\u7edc\u4e0a\u4f20\u8f93\u5927\u91cf\u7684\u6570\u636e\uff0c\u800c\u4e14\u5b83\u7684\u901a\u4fe1\u901f\u7387\u53ef\u4ee5\u8fbe\u52301Mbit\/s\uff0c\u8fd9\u6837\u53ef\u4ee5\u6ee1\u8db3\u5927\u591a\u6570\u5e94\u7528\u573a\u666f\u7684\u9700\u6c42\u3002<\/p>\n

  CAN\u603b\u7ebf\u7684\u5b9e\u73b0\u65b9\u5f0f<\/h3>\n

  CAN\u603b\u7ebf\u7684\u5b9e\u73b0\u65b9\u5f0f\u4e3b\u8981\u6709\u4e24\u79cd\uff1a\u786c\u4ef6\u5b9e\u73b0\u548c\u8f6f\u4ef6\u5b9e\u73b0\u3002\u786c\u4ef6\u5b9e\u73b0\u662f\u6307\u4f7f\u7528\u4e13\u7528\u7684\u786c\u4ef6\u82af\u7247\u6765\u5b9e\u73b0CAN\u603b\u7ebf\uff0c\u8fd9\u79cd\u65b9\u5f0f\u7684\u4f18\u70b9\u662f\u53ef\u9760\u6027\u9ad8\uff0c\u800c\u4e14\u786c\u4ef6\u82af\u7247\u7684\u53c2\u6570\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u8fdb\u884c\u8c03\u6574\u3002\u4f46\u662f\uff0c\u786c\u4ef6\u5b9e\u73b0\u7684\u6210\u672c\u8f83\u9ad8\uff0c\u800c\u4e14\u5b9e\u65bd\u8d77\u6765\u6bd4\u8f83\u590d\u6742\u3002\u8f6f\u4ef6\u5b9e\u73b0\u662f\u6307\u4f7f\u7528\u8f6f\u4ef6\u6765\u5b9e\u73b0CAN\u603b\u7ebf\uff0c\u5b83\u7684\u4f18\u70b9\u662f\u6210\u672c\u4f4e\uff0c\u800c\u4e14\u5b9e\u65bd\u8d77\u6765\u6bd4\u8f83\u7b80\u5355\u3002<\/p>\n

  CAN\u603b\u7ebf\u7684\u5e94\u7528<\/h3>\n

  CAN\u603b\u7ebf\u7684\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u6c7d\u8f66\u7535\u5b50\uff0c\u5bb6\u5ead\u81ea\u52a8\u5316\uff0c\u5de5\u4e1a\u63a7\u5236\uff0c\u667a\u80fd\u5b89\u9632\u7b49\u7b49\u3002\u5b83\u53ef\u4ee5\u5e2e\u52a9\u8bbe\u5907\u4e4b\u95f4\u5b9e\u73b0\u66f4\u591a\u7684\u529f\u80fd\uff0c\u6bd4\u5982\u63a7\u5236\u8bbe\u5907\uff0c\u4f20\u8f93\u6570\u636e\uff0c\u5b9e\u73b0\u8fdc\u7a0b\u63a7\u5236\u7b49\u7b49\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u672c\u6587\u4ecb\u7ecd\u4e86\u5f53STM32F103\u7684\u4e32\u53e3\u6570\u91cf\u4e0d\u591f\u7528\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528UART\u591a\u901a\u9053\u548cCAN\u603b\u7ebf\u6765\u5b9e\u73b0\u66f4\u591a\u7684\u529f\u80fd\u3002<\/strong>UART\u591a\u901a\u9053\u7684\u5b9e\u73b0\u65b9\u5f0f\u6709\u786c\u4ef6\u5b9e\u73b0\u548c\u8f6f\u4ef6\u5b9e\u73b0\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u5bb6\u5ead\u81ea\u52a8\u5316\uff0c\u5de5\u4e1a\u63a7\u5236\uff0c\u667a\u80fd\u5b89\u9632\uff0c\u6c7d\u8f66\u7535\u5b50\uff0c\u667a\u80fd\u5bb6\u5c45\u7b49\u7b49\u3002CAN\u603b\u7ebf\u7684\u5b9e\u73b0\u65b9\u5f0f\u4e5f\u6709\u786c\u4ef6\u5b9e\u73b0\u548c\u8f6f\u4ef6\u5b9e\u73b0\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u6c7d\u8f66\u7535\u5b50\uff0c\u5bb6\u5ead\u81ea\u52a8\u5316\uff0c\u5de5\u4e1a\u63a7\u5236\uff0c\u667a\u80fd\u5b89\u9632\u7b49\u7b49\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

STM32F103\u662f\u4e00\u6b3e\u5177\u6709\u591a\u79cd\u529f\u80fd\u7684\u5fae\u63a7\u5236\u5668\uff0c\u5176\u4e2d\u6700\u5e38\u7528\u7684\u529f\u80fd\u4e4b\u4e00\u5c31\u662f\u4e32\u53e3\u901a\u4fe1\u3002\u4f46\u662f\uff0c\u6709\u65f6\u5019STM32F103\u7684\u4e32\u53e3\u6570\u91cf\u53ef\u80fd\u4e0d\u591f\u7528\uff0c\u8fd9\u65f6\u5019\u5c31\u9700\u8981\u627e\u5230\u66f4\u591a\u7684\u4e32\u53e3\u901a\u4fe1\u65b9\u5f0f\u6765<\/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":[287],"class_list":["post-41628","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-stm32"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/41628","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=41628"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/41628\/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=41628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=41628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=41628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}