{"id":96200,"date":"2024-07-31T14:03:29","date_gmt":"2024-07-31T06:03:29","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=96200"},"modified":"2024-07-31T14:03:33","modified_gmt":"2024-07-31T06:03:33","slug":"ujkysmy-3","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/96200.html","title":{"rendered":"UART\u63a5\u53e3\u6709\u4ec0\u4e48\u7528"},"content":{"rendered":"\n

\u3000\u3000UART\u63a5\u53e3<\/a><\/strong>(\u901a\u7528\u5f02\u6b65\u6536\u53d1\u4f20\u8f93\u5668)\u662f\u4e00\u79cd\u5e7f\u6cdb\u5e94\u7528\u4e8e\u4e32\u884c\u901a\u4fe1\u7684\u7269\u7406\u63a5\u53e3\uff0c\u5177\u6709\u591a\u79cd\u7528\u9014\u548c\u529f\u80fd\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u7684\u89e3\u91ca\uff1a<\/p>\n\n\n\n

\u3000\u3000UART\u63a5\u53e3\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u5404\u79cd\u5916\u90e8\u8bbe\u5907\uff0c\u5982\u4f20\u611f\u5668\u3001\u6253\u5370\u673a\u3001\u626b\u63cf\u4eea\u3001\u5b58\u50a8\u8bbe\u5907\u7b49\u3002\u5b83\u8fd8\u53ef\u4ee5\u8fde\u63a5\u7ec8\u7aef\u8bbe\u5907\u3001\u6a21\u5757\u548c\u8ba1\u7b97\u673a\u7b49\u3002<\/p>\n\n\n\n

\u3000\u3000UART\u63a5\u53e3\u4e3b\u8981\u7528\u4e8e\u5b9e\u73b0\u4e24\u53f0\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002\u5b83\u652f\u6301\u5168\u53cc\u5de5\u901a\u4fe1\uff0c\u5373\u540c\u65f6\u8fdb\u884c\u53d1\u9001\u548c\u63a5\u6536\u64cd\u4f5c\u3002\u8fd9\u79cd\u7279\u6027\u4f7f\u5f97UART\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4e2d\u975e\u5e38\u6709\u7528\uff0c\u4f8b\u5982\u6c7d\u8f66\u97f3\u54cd\u4e0e\u5916\u63a5AP\u4e4b\u95f4\u7684\u901a\u4fe1\uff0c\u4ee5\u53caPC\u673a\u4e0e\u76d1\u63a7\u8c03\u8bd5\u5668\u548c\u5176\u4ed6\u5668\u4ef6\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/p>\n\n\n\n

\u3000\u3000UART\u91c7\u7528\u5f02\u6b65\u4f20\u8f93\u65b9\u5f0f\uff0c\u8fd9\u610f\u5473\u7740\u53d1\u9001\u548c\u63a5\u6536\u53cc\u65b9\u4e0d\u9700\u8981\u5171\u4eab\u65f6\u949f\u4fe1\u53f7\uff0c\u800c\u662f\u901a\u8fc7\u6570\u636e\u5e27\u4e2d\u7684\u8d77\u59cb\u4f4d\u3001\u505c\u6b62\u4f4d\u548c\u53ef\u80fd\u5b58\u5728\u7684\u6821\u9a8c\u4f4d\u6765\u540c\u6b65\u6570\u636e\u3002\u8fd9\u79cd\u65b9\u5f0f\u7b80\u5316\u4e86\u901a\u4fe1\u534f\u8bae\u7684\u8bbe\u8ba1\uff0c\u5e76\u63d0\u9ad8\u4e86\u7cfb\u7edf\u7684\u7075\u6d3b\u6027\u3002<\/p>\n\n\n\n

\u3000\u3000UART\u80fd\u591f\u652f\u6301\u591a\u79cd\u901a\u4fe1\u534f\u8bae\uff0c\u5305\u62ecRS-232\u3001LIN\u3001IrDA\u7b49\u3002\u8fd9\u4f7f\u5f97\u5b83\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e2d\u7075\u6d3b\u4f7f\u7528\uff0c\u4f8b\u5982\u5de5\u4e1a\u63a7\u5236\u3001\u7f51\u7edc\u901a\u4fe1\u548c\u6d88\u8d39\u7535\u5b50\u8bbe\u5907\u7b49\u3002<\/p>\n\n\n\n

\u3000\u3000UART\u901a\u5e38\u7531\u53d1\u9001\u5668\u548c\u63a5\u6536\u5668\u7ec4\u6210\uff0c\u80fd\u591f\u5c06\u5e76\u884c\u6570\u636e\u8f6c\u6362\u4e3a\u4e32\u884c\u6570\u636e\u6d41\uff0c\u5e76\u4e14\u652f\u6301\u591a\u79cd\u6821\u9a8c\u65b9\u5f0f(\u5982\u5947\u5076\u6821\u9a8c)\u548c\u6570\u636e\u683c\u5f0f(\u5982\u8d77\u59cb\u4f4d\u3001\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d)\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u5177\u5907FIFO\u7f13\u51b2\u533a\u3001\u6d41\u63a7\u5236\u3001\u81ea\u52a8\u6ce2\u7279\u7387\u68c0\u6d4b\u7b49\u529f\u80fd\u3002<\/p>\n\n\n\n

\u3000\u3000\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0cUART\u5e38\u7528\u4e8e\u5fae\u63a7\u5236\u5668\u4e0e\u5916\u56f4\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\uff0c\u5982\u8fde\u63a5GPS\u6a21\u5757\u3001\u84dd\u7259\u6a21\u5757\u7b49\u3002\u5b83\u4e5f\u5e38\u7528\u4e8e\u8ba1\u7b97\u673a\u4e0e\u5916\u8bbe\u4e4b\u95f4\u7684\u901a\u4fe1\uff0c\u5982\u9f20\u6807\u3001\u952e\u76d8\u3001\u663e\u793a\u5668\u7b49\u3002<\/p>\n\n\n\n

\u3000\u3000UART\u63a5\u53e3\u56e0\u5176\u7b80\u5355\u53ef\u9760\u3001\u652f\u6301\u591a\u79cd\u901a\u4fe1\u534f\u8bae\u548c\u5f3a\u5927\u7684\u6570\u636e\u4f20\u8f93\u80fd\u529b\uff0c\u5728\u5404\u79cd\u7535\u5b50\u8bbe\u5907\u548c\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4e2d\u5f97\u5230\u4e86\u5e7f\u6cdb\u5e94\u7528\u3002\u65e0\u8bba\u662f\u8fde\u63a5\u5916\u90e8\u8bbe\u5907\u8fd8\u662f\u5b9e\u73b0\u590d\u6742\u7684\u901a\u4fe1\u534f\u8bae\uff0cUART\u90fd\u5c55\u73b0\u51fa\u4e86\u5176\u4e0d\u53ef\u66ff\u4ee3\u7684\u4f18\u52bf\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e00\u3001 UART\u63a5\u53e3\u5728\u73b0\u4ee3\u901a\u4fe1\u6280\u672f\u4e2d\u7684\u66ff\u4ee3<\/h2>\n\n\n\n

\u3000\u3000\u5728\u73b0\u4ee3\u901a\u4fe1\u6280\u672f\u4e2d\uff0cUART\u63a5\u53e3\u7684\u66ff\u4ee3\u54c1\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u79cd\uff1a<\/p>\n\n\n\n