{"id":4984,"date":"2023-06-27T22:29:09","date_gmt":"2023-06-27T14:29:09","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=4984"},"modified":"2023-06-27T22:29:15","modified_gmt":"2023-06-27T14:29:15","slug":"uhuqbhcj","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/4984.html","title":{"rendered":"uart\u548cusart\u533a\u522b\u548c\u573a\u666f?"},"content":{"rendered":"\n

\u3000\u3000UART<\/a><\/strong>\u548cUSART\u662f\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\u7684\u4e24\u79cd\u7c7b\u578b\uff0c\u5b83\u4eec\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4e2d\u5e7f\u6cdb\u5e94\u7528\u3002\u867d\u7136\u5b83\u4eec\u5728\u540d\u79f0\u4e0a\u975e\u5e38\u76f8\u4f3c\uff0c\u4f46\u5b83\u4eec\u6709\u7740\u4e0d\u540c\u7684\u529f\u80fd\u548c\u7279\u70b9\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u573a\u666f\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdUART\u548cUSART\u7684\u533a\u522b\u548c\u5e94\u7528\u573a\u666f\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e00\u3001UART\u548cUSART\u7684\u57fa\u672c\u6982\u5ff5<\/h2>\n\n\n\n

\u3000\u3000UART\u662f\u901a\u7528\u5f02\u6b65\u6536\u53d1\u4f20\u8f93\u5668(Universal Asynchronous Receiver\/Transmitter)\u7684\u7f29\u5199\uff0c\u662f\u4e00\u79cd\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\u3002\u5b83\u7684\u4e3b\u8981\u529f\u80fd\u662f\u5c06\u5e76\u884c\u6570\u636e\u8f6c\u6362\u4e3a\u4e32\u884c\u6570\u636e\uff0c\u5e76\u5c06\u4e32\u884c\u6570\u636e\u8f6c\u6362\u4e3a\u5e76\u884c\u6570\u636e\u3002UART\u4e00\u822c\u7531\u6536\u53d1\u5668\u3001\u6ce2\u7279\u7387\u53d1\u751f\u5668\u548c\u63a7\u5236\u903b\u8f91\u7535\u8def\u7b49\u7ec4\u6210\u3002UART\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\u4f4e\u4e8eUSART\uff0c\u901a\u5e38\u5728115200bps\u4ee5\u4e0b\u3002<\/p>\n\n\n\n

\u3000\u3000USART\u662f\u901a\u7528\u540c\u6b65\u5f02\u6b65\u6536\u53d1\u4f20\u8f93\u5668(Universal Synchronous\/Asynchronous Receiver\/Transmitter)\u7684\u7f29\u5199\uff0c\u4e5f\u662f\u4e00\u79cd\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\u3002USART\u652f\u6301\u540c\u6b65\u548c\u5f02\u6b65\u4e24\u79cd\u4f20\u8f93\u6a21\u5f0f\uff0c\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e\u5b9e\u73b0\u4e32\u884c\u901a\u4fe1\u3001\u540c\u6b65\u901a\u4fe1\u548cISO7816\u63a5\u53e3\u901a\u4fe1\u7b49\u3002USART\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\u9ad8\u4e8eUART\uff0c\u901a\u5e38\u652f\u6301\u9ad8\u8fbe2Mbps\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e8c\u3001UART\u548cUSART\u7684\u533a\u522b<\/h2>\n\n\n\n

\u3000\u30001. \u4f20\u8f93\u901f\u7387<\/h3>\n\n\n\n

\u3000\u3000UART\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\u8f83\u4f4e\uff0c\u901a\u5e38\u5728115200bps\u4ee5\u4e0b\u3002\u800cUSART\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\u8f83\u9ad8\uff0c\u901a\u5e38\u652f\u6301\u9ad8\u8fbe2Mbps\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\u3002<\/p>\n\n\n\n

\u3000\u30002. \u4f20\u8f93\u6a21\u5f0f<\/h3>\n\n\n\n

\u3000\u3000UART\u53ea\u652f\u6301\u5f02\u6b65\u4f20\u8f93\u6a21\u5f0f\uff0c\u800cUSART\u65e2\u652f\u6301\u540c\u6b65\u4f20\u8f93\u6a21\u5f0f\uff0c\u4e5f\u652f\u6301\u5f02\u6b65\u4f20\u8f93\u6a21\u5f0f\u3002<\/p>\n\n\n\n

\u3000\u30003. \u6570\u636e\u5e27\u7ed3\u6784<\/h3>\n\n\n\n

\u3000\u3000UART\u6570\u636e\u5e27\u7ed3\u6784\u56fa\u5b9a\u4e3a\u8d77\u59cb\u4f4d\u3001\u6570\u636e\u4f4d\u3001\u6821\u9a8c\u4f4d\u548c\u505c\u6b62\u4f4d\uff0c\u5176\u4e2d\u6821\u9a8c\u4f4d\u53ef\u4ee5\u7701\u7565\u3002\u800cUSART\u7684\u6570\u636e\u5e27\u7ed3\u6784\u53ef\u4ee5\u914d\u7f6e\u4e3a5~9\u4f4d\u6570\u636e\u4f4d\uff0c\u53ef\u9009\u62e9\u5947\u5076\u6821\u9a8c\u4f4d\u548c1~2\u4f4d\u505c\u6b62\u4f4d\u3002<\/p>\n\n\n\n

\u3000\u30004. \u7535\u6c14\u7279\u6027<\/h3>\n\n\n\n

\u3000\u3000UART\u7684\u7535\u6c14\u7279\u6027\u4e00\u822c\u4e3aTTL\u7535\u5e73\uff0c\u800cUSART\u7684\u7535\u6c14\u7279\u6027\u53ef\u4ee5\u4e3aTTL\u7535\u5e73\u6216RS232\u7535\u5e73\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e09\u3001UART\u548cUSART\u7684\u5e94\u7528\u573a\u666f<\/h2>\n\n\n\n

\u3000\u3000UART\u9002\u7528\u4e8e\u4f4e\u901f\u4e32\u884c\u901a\u4fe1\u573a\u666f\uff0c\u5982\u63a7\u5236\u53f0\u8c03\u8bd5\u4fe1\u606f\u8f93\u51fa\u3001\u4f20\u611f\u5668\u6570\u636e\u91c7\u96c6\u3001\u5355\u7247\u673a\u4e0e\u5916\u8bbe\u901a\u4fe1\u7b49\u3002<\/p>\n\n\n\n

\u3000\u3000USART\u9002\u7528\u4e8e\u9ad8\u901f\u4e32\u884c\u901a\u4fe1\u573a\u666f\uff0c\u5982\u97f3\u9891\u6570\u636e\u4f20\u8f93\u3001\u56fe\u50cf\u6570\u636e\u4f20\u8f93\u3001\u7f51\u7edc\u901a\u4fe1\u3001\u84dd\u7259\u3001Wi-Fi\u7b49\u65e0\u7ebf\u901a\u4fe1\u7b49\u3002<\/p>\n\n\n\n

\u3000\u3000\u56db\u3001\u603b\u7ed3<\/h2>\n\n\n\n

\u3000\u3000UART\u548cUSART\u662f\u4e24\u79cd\u4e0d\u540c\u7684\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u4eec\u5177\u6709\u4e0d\u540c\u7684\u529f\u80fd\u548c\u7279\u70b9\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u573a\u666f\u3002UART\u9002\u7528\u4e8e\u4f4e\u901f\u4e32\u884c\u901a\u4fe1\u573a\u666f\uff0cUSART\u9002\u7528\u4e8e\u9ad8\u901f\u4e32\u884c\u901a\u4fe1\u573a\u666f\u3002<\/strong>\u5728\u9009\u62e9\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\u65f6\uff0c\u9700\u8981\u8003\u8651\u901a\u4fe1\u901f\u7387\u3001\u6570\u636e\u5e27\u7ed3\u6784\u3001\u7535\u6c14\u7279\u6027\u7b49\u56e0\u7d20\uff0c\u5e76\u6839\u636e\u5177\u4f53\u5e94\u7528\u573a\u666f\u8fdb\u884c\u9009\u62e9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

UART\u548cUSART\u662f\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\u7684\u4e24\u79cd\u7c7b\u578b\uff0c\u5b83\u4eec\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4e2d\u5e7f\u6cdb\u5e94\u7528\u3002\u867d\u7136\u5b83\u4eec\u5728\u540d\u79f0\u4e0a\u975e\u5e38\u76f8\u4f3c\uff0c\u4f46\u5b83\u4eec\u6709\u7740\u4e0d\u540c\u7684\u529f\u80fd\u548c\u7279\u70b9\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u573a\u666f\u3002<\/p>\n","protected":false},"author":1,"featured_media":3671,"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-4984","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\/4984","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=4984"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/4984\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/3671"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=4984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=4984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=4984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}