{"id":46229,"date":"2023-09-30T10:37:23","date_gmt":"2023-09-30T02:37:23","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=46229"},"modified":"2023-09-30T10:39:11","modified_gmt":"2023-09-30T02:39:11","slug":"udwlc","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/46229.html","title":{"rendered":"UART\u7684\u7269\u7406\u5c42"},"content":{"rendered":"

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u662f\u4e00\u79cd\u901a\u7528\u7684\u5f02\u6b65\u6536\u53d1\u5668\uff0c\u5b83\u53ef\u4ee5\u5728\u4e24\u4e2a\u8ba1\u7b97\u673a\u4e4b\u95f4\u63d0\u4f9b\u53ef\u9760\u7684\u6570\u636e\u4f20\u8f93\u3002UART\u7684\u7269\u7406\u5c42\u662f\u5b83\u7684\u6838\u5fc3\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u5f0f\u6765\u4f20\u8f93\u6570\u636e\u3002<\/strong>\u672c\u6587\u5c06\u4ecb\u7ecdUART\u7684\u7269\u7406\u5c42\uff0c\u5305\u62ec\u5b83\u7684\u786c\u4ef6\u7ed3\u6784\uff0c\u63a5\u53e3\u6807\u51c6\u548c\u6570\u636e\u4f20\u8f93\u534f\u8bae\u3002<\/p>\n

UART\u7684\u786c\u4ef6\u7ed3\u6784<\/h2>\n

  UART\u7684\u786c\u4ef6\u7ed3\u6784\u5f88\u7b80\u5355\uff0c\u5b83\u7531\u4e00\u4e2a\u53d1\u9001\u5668\uff08transmitter\uff09\u548c\u4e00\u4e2a\u63a5\u6536\u5668\uff08receiver\uff09\u7ec4\u6210\u3002\u53d1\u9001\u5668\u7528\u4e8e\u5c06\u6570\u636e\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\uff0c\u800c\u63a5\u6536\u5668\u7528\u4e8e\u63a5\u6536\u6765\u81ea\u53e6\u4e00\u4e2a\u8bbe\u5907\u7684\u6570\u636e\u3002\u53d1\u9001\u5668\u548c\u63a5\u6536\u5668\u4e4b\u95f4\u901a\u8fc7\u53cc\u7ede\u7ebf\u8fde\u63a5\uff0c\u53cc\u7ede\u7ebf\u901a\u5e38\u7531\u56db\u4e2a\u7ebf\u7f06\u7ec4\u6210\uff0c\u5206\u522b\u662fTXD\uff08\u53d1\u9001\uff09\uff0cRXD\uff08\u63a5\u6536\uff09\uff0cGND\uff08\u5730\uff09\u548cVCC\uff08\u7535\u6e90\uff09\u3002<\/p>\n

  \u63a5\u53e3\u6807\u51c6<\/h3>\n

  UART\u7684\u63a5\u53e3\u6807\u51c6\u7531EIA\uff08Electronic Industries Association\uff09\u63d0\u51fa\uff0c\u5b83\u5b9a\u4e49\u4e86UART\u7684\u7269\u7406\u5c42\u63a5\u53e3\uff0c\u5305\u62ec\u63a5\u53e3\u4fe1\u53f7\u7684\u683c\u5f0f\uff0c\u4f20\u8f93\u901f\u7387\uff0c\u6570\u636e\u683c\u5f0f\u7b49\u3002UART\u7684\u63a5\u53e3\u6807\u51c6\u5206\u4e3aRS-232\u3001RS-422\u548cRS-485\u4e09\u79cd\uff0c\u5b83\u4eec\u7684\u4e3b\u8981\u533a\u522b\u5728\u4e8e\u4f20\u8f93\u8ddd\u79bb\u548c\u4f20\u8f93\u901f\u7387\u3002<\/p>\n

  \u6570\u636e\u4f20\u8f93\u534f\u8bae<\/h3>\n

  UART\u7684\u6570\u636e\u4f20\u8f93\u534f\u8bae\u662f\u4e00\u79cd\u534a\u53cc\u5de5\u5f02\u6b65\u4f20\u8f93\u534f\u8bae\uff0c\u5b83\u4f7f\u7528\u4e00\u4e2a\u4f4d\u6765\u8868\u793a\u6570\u636e\u7684\u5f00\u59cb\u548c\u7ed3\u675f\uff0c\u5e76\u4f7f\u7528\u53e6\u4e00\u4e2a\u4f4d\u6765\u8868\u793a\u6570\u636e\u7684\u6b63\u786e\u6027\u3002UART\u7684\u6570\u636e\u4f20\u8f93\u534f\u8bae\u5206\u4e3a\u4e24\u79cd\uff0c\u4e00\u79cd\u662f8\u4f4d\u6570\u636e\uff0c\u4e00\u79cd\u662f9\u4f4d\u6570\u636e\uff0c\u5b83\u4eec\u7684\u4e3b\u8981\u533a\u522b\u5728\u4e8e\u4f20\u8f93\u7684\u6570\u636e\u957f\u5ea6\u3002<\/p>\n

UART\u7684\u5e94\u7528<\/h2>\n

  UART\u7684\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u6570\u636e\u4f20\u8f93\uff0c\u63a7\u5236\u548c\u76d1\u63a7\uff0c\u4ee5\u53ca\u667a\u80fd\u5bb6\u5c45\u7b49\u573a\u666f\u3002UART\u7684\u5e94\u7528\u975e\u5e38\u7075\u6d3b\uff0c\u53ef\u4ee5\u901a\u8fc7\u66f4\u6539\u63a5\u53e3\u6807\u51c6\u548c\u6570\u636e\u4f20\u8f93\u534f\u8bae\u6765\u6ee1\u8db3\u4e0d\u540c\u7684\u9700\u6c42\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  UART\u7684\u7269\u7406\u5c42\u662f\u5b83\u7684\u6838\u5fc3\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u5f0f\u6765\u4f20\u8f93\u6570\u636e\u3002<\/strong>UART\u7684\u786c\u4ef6\u7ed3\u6784\u5f88\u7b80\u5355\uff0c\u5b83\u7531\u4e00\u4e2a\u53d1\u9001\u5668\u548c\u4e00\u4e2a\u63a5\u6536\u5668\u7ec4\u6210\u3002UART\u7684\u63a5\u53e3\u6807\u51c6\u7531EIA\u63d0\u51fa\uff0c\u5b83\u5b9a\u4e49\u4e86UART\u7684\u7269\u7406\u5c42\u63a5\u53e3\uff0c\u5305\u62ec\u63a5\u53e3\u4fe1\u53f7\u7684\u683c\u5f0f\uff0c\u4f20\u8f93\u901f\u7387\uff0c\u6570\u636e\u683c\u5f0f\u7b49\u3002UART\u7684\u6570\u636e\u4f20\u8f93\u534f\u8bae\u662f\u4e00\u79cd\u534a\u53cc\u5de5\u5f02\u6b65\u4f20\u8f93\u534f\u8bae\uff0c\u5b83\u4f7f\u7528\u4e00\u4e2a\u4f4d\u6765\u8868\u793a\u6570\u636e\u7684\u5f00\u59cb\u548c\u7ed3\u675f\uff0c\u5e76\u4f7f\u7528\u53e6\u4e00\u4e2a\u4f4d\u6765\u8868\u793a\u6570\u636e\u7684\u6b63\u786e\u6027\u3002UART\u7684\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u6570\u636e\u4f20\u8f93\uff0c\u63a7\u5236\u548c\u76d1\u63a7\uff0c\u4ee5\u53ca\u667a\u80fd\u5bb6\u5c45\u7b49\u573a\u666f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

UART\uff08UniversalAsynchronousReceiver\/Transmitter\uff09\u662f\u4e00\u79cd\u901a\u7528\u7684\u5f02\u6b65\u6536\u53d1\u5668\uff0c\u5b83\u53ef\u4ee5\u5728\u4e24\u4e2a\u8ba1\u7b97\u673a\u4e4b\u95f4\u63d0\u4f9b\u53ef\u9760\u7684\u6570\u636e\u4f20\u8f93\u3002\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-46229","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\/46229","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=46229"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/46229\/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=46229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=46229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=46229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}