{"id":56171,"date":"2023-10-19T12:15:43","date_gmt":"2023-10-19T04:15:43","guid":{"rendered":"https:\/\/www.techphant.cn\/blog\/56171.html"},"modified":"2023-10-19T12:15:43","modified_gmt":"2023-10-19T04:15:43","slug":"ucejgdsj","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/56171.html","title":{"rendered":"UART\u4e32\u4e8c\u6781\u7ba1\u4e22\u6570\u636e"},"content":{"rendered":"

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u662f\u4e00\u79cd\u5f02\u6b65\u7684\u4e32\u884c\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u8fdb\u884c\u53cc\u5411\u4f20\u8f93\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u5176\u4e2d\u4e00\u4e2a\u8bbe\u5907\u4e0a\u8fdb\u884c\u6570\u636e\u7684\u4e22\u5931\u3002\u4e0b\u9762\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecdUART\u4e32\u4e8c\u6781\u7ba1\u4e22\u6570\u636e\u7684\u539f\u7406\uff0c\u4ee5\u53ca\u5982\u4f55\u907f\u514d\u6570\u636e\u4e22\u5931\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528UART\u4e32\u4e8c\u6781\u7ba1\u6765\u4f20\u8f93\u6570\u636e\u3002<\/p>\n

UART\u4e32\u4e8c\u6781\u7ba1\u7684\u57fa\u672c\u539f\u7406<\/h2>\n

  UART\u4e32\u4e8c\u6781\u7ba1\u662f\u4e00\u79cd\u53cc\u5411\u4f20\u8f93\u7684\u4e32\u884c\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u8fdb\u884c\u53cc\u5411\u4f20\u8f93\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u5176\u4e2d\u4e00\u4e2a\u8bbe\u5907\u4e0a\u8fdb\u884c\u6570\u636e\u7684\u4e22\u5931\u3002<\/strong>UART\u4e32\u4e8c\u6781\u7ba1\u7684\u57fa\u672c\u539f\u7406\u662f\uff0c\u53d1\u9001\u7aef\u5c06\u8981\u4f20\u8f93\u7684\u6570\u636e\u653e\u5165\u4e32\u884c\u63a5\u53e3\u4e2d\uff0c\u7136\u540e\u901a\u8fc7UART\u4e32\u4e8c\u6781\u7ba1\u5c06\u6570\u636e\u53d1\u9001\u51fa\u53bb\uff0c\u63a5\u6536\u7aef\u63a5\u6536\u5230\u6570\u636e\u4e4b\u540e\u5c06\u6570\u636e\u653e\u5165\u4e32\u884c\u63a5\u53e3\u4e2d\uff0c\u7136\u540e\u5c06\u6570\u636e\u53d1\u9001\u56de\u53d1\u9001\u7aef\u3002<\/p>\n

\u5982\u4f55\u907f\u514dUART\u4e32\u4e8c\u6781\u7ba1\u4e22\u6570\u636e<\/h2>\n

  UART\u4e32\u4e8c\u6781\u7ba1\u53ef\u80fd\u4f1a\u51fa\u73b0\u6570\u636e\u4e22\u5931\u7684\u60c5\u51b5\uff0c\u4e3a\u4e86\u907f\u514d\u8fd9\u79cd\u60c5\u51b5\uff0c\u6211\u4eec\u53ef\u4ee5\u91c7\u53d6\u4ee5\u4e0b\u51e0\u79cd\u63aa\u65bd\uff1a<\/p>\n

  1. \u4f7f\u7528\u7f13\u51b2\u533a<\/h3>\n

  \u4f7f\u7528\u7f13\u51b2\u533a\u53ef\u4ee5\u6709\u6548\u5730\u964d\u4f4eUART\u4e32\u4e8c\u6781\u7ba1\u4e22\u5931\u6570\u636e\u7684\u6982\u7387\uff0c\u56e0\u4e3a\u7f13\u51b2\u533a\u53ef\u4ee5\u6682\u5b58\u6570\u636e\uff0c\u4ee5\u4fbf\u5728\u7cfb\u7edf\u51fa\u73b0\u6545\u969c\u65f6\uff0c\u53ef\u4ee5\u5c06\u6570\u636e\u91cd\u65b0\u53d1\u9001\u51fa\u53bb\u3002<\/p>\n

  2. \u4f7f\u7528CRC\u6821\u9a8c<\/h3>\n

  CRC\uff08Cyclic Redundancy Check\uff09\u662f\u4e00\u79cd\u6570\u636e\u6821\u9a8c\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u68c0\u67e5\u6570\u636e\u7684\u5b8c\u6574\u6027\uff0c\u4ee5\u786e\u4fdd\u63a5\u6536\u5230\u7684\u6570\u636e\u662f\u6b63\u786e\u7684\u3002\u5982\u679c\u63a5\u6536\u7aef\u63a5\u6536\u5230\u7684\u6570\u636e\u4e0e\u53d1\u9001\u7aef\u53d1\u9001\u7684\u6570\u636e\u4e0d\u5339\u914d\uff0c\u5219\u53ef\u4ee5\u91cd\u65b0\u53d1\u9001\u6570\u636e\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u7684\u5b8c\u6574\u6027\u3002<\/p>\n

  3. \u4f7f\u7528\u8d85\u65f6\u91cd\u4f20<\/h3>\n

  \u8d85\u65f6\u91cd\u4f20\u662f\u4e00\u79cd\u5e38\u7528\u7684\u6570\u636e\u4f20\u8f93\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u68c0\u6d4b\u662f\u5426\u6709\u6570\u636e\u4e22\u5931\uff0c\u5982\u679c\u53d1\u73b0\u6709\u6570\u636e\u4e22\u5931\uff0c\u5219\u53ef\u4ee5\u91cd\u65b0\u53d1\u9001\u6570\u636e\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u7684\u5b8c\u6574\u6027\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  UART\u4e32\u4e8c\u6781\u7ba1\u662f\u4e00\u79cd\u53cc\u5411\u4f20\u8f93\u7684\u4e32\u884c\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u8fdb\u884c\u53cc\u5411\u4f20\u8f93\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u5176\u4e2d\u4e00\u4e2a\u8bbe\u5907\u4e0a\u8fdb\u884c\u6570\u636e\u7684\u4e22\u5931\u3002<\/strong>\u4e3a\u4e86\u907f\u514dUART\u4e32\u4e8c\u6781\u7ba1\u4e22\u5931\u6570\u636e\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u7f13\u51b2\u533a\u3001CRC\u6821\u9a8c\u548c\u8d85\u65f6\u91cd\u4f20\u7b49\u6280\u672f\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u7684\u5b8c\u6574\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

UART\uff08UniversalAsynchronousReceiver\/Transmitter\uff09\u662f\u4e00\u79cd\u5f02\u6b65\u7684\u4e32\u884c\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u8fdb\u884c\u53cc\u5411\u4f20\u8f93\uff0c\u5e76\u4e14\u53ef<\/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":[145],"class_list":["post-56171","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-uart"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/56171","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=56171"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/56171\/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=56171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=56171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=56171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}