{"id":46442,"date":"2023-09-30T21:45:14","date_gmt":"2023-09-30T13:45:14","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=46442"},"modified":"2023-09-30T21:45:14","modified_gmt":"2023-09-30T13:45:14","slug":"rhsyfszu","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/46442.html","title":{"rendered":"\u5982\u4f55\u4f7f\u7528FPGA\u8bbe\u7f6eUART"},"content":{"rendered":"
UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u662f\u4e00\u79cd\u5e38\u7528\u7684\u901a\u4fe1\u6280\u672f\uff0c\u7528\u4e8e\u5728\u4e24\u4e2a\u4e0d\u540c\u7684\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002\u5b83\u53ef\u4ee5\u5728\u5f88\u591a\u4e0d\u540c\u7684\u7cfb\u7edf\u4e2d\u4f7f\u7528\uff0c\u5176\u4e2d\u6700\u5e38\u7528\u7684\u662f\u5728FPGA\uff08Field Programmable Gate Array\uff09\u7cfb\u7edf\u4e2d\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528FPGA\u8bbe\u7f6eUART\uff0c\u4ee5\u53ca\u5b83\u6240\u6d89\u53ca\u7684\u4e00\u4e9b\u5173\u952e\u6982\u5ff5\u3002<\/p>\n
FPGA\u662f\u4e00\u79cd\u53ef\u7f16\u7a0b\u7684\u786c\u4ef6\u8bbe\u5907\uff0c\u5b83\u80fd\u591f\u6839\u636e\u7528\u6237\u7684\u8f93\u5165\u6765\u5b9e\u73b0\u7279\u5b9a\u7684\u529f\u80fd\u3002\u5b83\u7684\u7ed3\u6784\u7c7b\u4f3c\u4e8e\u4e00\u4e2a\u7535\u8def\u677f\uff0c\u5176\u4e0a\u6709\u4e00\u7cfb\u5217\u7684\u53ef\u7f16\u7a0b\u903b\u8f91\u5355\u5143\uff08PLU\uff09\uff0c\u8fd9\u4e9bPLU\u53ef\u4ee5\u5b9e\u73b0\u7528\u6237\u8bbe\u8ba1\u7684\u529f\u80fd\u3002FPGA\u53ef\u4ee5\u7528\u6765\u5b9e\u73b0\u590d\u6742\u7684\u7cfb\u7edf\uff0c\u5982\u63a7\u5236\u7cfb\u7edf\u3001\u6570\u636e\u91c7\u96c6\u7cfb\u7edf\u4ee5\u53ca\u901a\u4fe1\u7cfb\u7edf\u7b49\u3002<\/p>\n
UART\u662f\u4e00\u79cd\u5f02\u6b65\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u4f7f\u7528\u4e24\u79cd\u4fe1\u53f7\u6765\u4f20\u8f93\u6570\u636e\uff1a\u4e00\u4e2a\u662fTX\u4fe1\u53f7\uff0c\u7528\u4e8e\u53d1\u9001\u6570\u636e\uff1b\u53e6\u4e00\u4e2a\u662fRX\u4fe1\u53f7\uff0c\u7528\u4e8e\u63a5\u6536\u6570\u636e\u3002UART\u7684\u5de5\u4f5c\u539f\u7406\u662f\uff1a\u5f53\u4e00\u4e2a\u8bbe\u5907\u53d1\u9001\u6570\u636e\u65f6\uff0c\u5b83\u4f1a\u901a\u8fc7TX\u4fe1\u53f7\u5c06\u6570\u636e\u53d1\u9001\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\uff1b\u800c\u53e6\u4e00\u4e2a\u8bbe\u5907\u4f1a\u901a\u8fc7RX\u4fe1\u53f7\u63a5\u6536\u5230\u8fd9\u4e9b\u6570\u636e\uff0c\u7136\u540e\u8fdb\u884c\u5904\u7406\u3002<\/p>\n
\u8981\u4f7f\u7528FPGA\u8bbe\u7f6eUART\uff0c\u9996\u5148\u9700\u8981\u5728FPGA\u4e0a\u6dfb\u52a0\u4e00\u4e2aUART\u6a21\u5757\uff0c\u8fd9\u4e2a\u6a21\u5757\u53ef\u4ee5\u7531FPGA\u7684\u5185\u90e8\u8d44\u6e90\u6784\u5efa\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u5916\u90e8UART\u6a21\u5757\u3002\u7136\u540e\uff0c\u9700\u8981\u5c06UART\u6a21\u5757\u4e0eFPGA\u7684\u5176\u4ed6\u6a21\u5757\u76f8\u8fde\u63a5\uff0c\u4f7f\u5176\u80fd\u591f\u6b63\u786e\u5730\u63a5\u6536\u548c\u53d1\u9001\u6570\u636e\u3002<\/p>\n
\u5728\u786c\u4ef6\u8bbe\u7f6e\u5b8c\u6210\u540e\uff0c\u4e0b\u4e00\u6b65\u5c31\u662f\u5728FPGA\u4e0a\u5b89\u88c5UART\u8f6f\u4ef6\uff0c\u8fd9\u4e2a\u8f6f\u4ef6\u53ef\u4ee5\u7528\u6765\u63a7\u5236UART\u6a21\u5757\u7684\u884c\u4e3a\u3002\u5b83\u53ef\u4ee5\u8bbe\u7f6eUART\u7684\u6ce2\u7279\u7387\uff0c\u4ee5\u53ca\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\u7684\u683c\u5f0f\u3002<\/p>\n
\u6700\u540e\uff0c\u5728\u8bbe\u7f6e\u5b8c\u6210\u540e\uff0c\u9700\u8981\u8fdb\u884c\u6d4b\u8bd5\uff0c\u4ee5\u786e\u4fddUART\u6b63\u5e38\u5de5\u4f5c\u3002\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e2a\u7b80\u5355\u7684\u6d4b\u8bd5\u7a0b\u5e8f\uff0c\u6bd4\u5982\u628a\u4e00\u4e2a\u5b57\u7b26\u4e32\u53d1\u9001\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\uff0c\u7136\u540e\u63a5\u6536\u5230\u7684\u5b57\u7b26\u4e32\u4e0e\u53d1\u9001\u7684\u5b57\u7b26\u4e32\u8fdb\u884c\u6bd4\u8f83\u3002\u5982\u679c\u63a5\u6536\u5230\u7684\u5b57\u7b26\u4e32\u4e0e\u53d1\u9001\u7684\u5b57\u7b26\u4e32\u5b8c\u5168\u76f8\u540c\uff0c\u5219\u8bf4\u660eUART\u8bbe\u7f6e\u6210\u529f\u3002<\/p>\n
\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528FPGA\u8bbe\u7f6eUART\u3002\u9996\u5148\uff0c\u9700\u8981\u5728FPGA\u4e0a\u6dfb\u52a0UART\u6a21\u5757\uff0c\u7136\u540e\u5b89\u88c5UART\u8f6f\u4ef6\uff0c\u6700\u540e\u8fdb\u884c\u6d4b\u8bd5\u3002\u4f7f\u7528FPGA\u8bbe\u7f6eUART\u53ef\u4ee5\u66f4\u6709\u6548\u5730\u4f20\u8f93\u6570\u636e\uff0c\u63d0\u9ad8\u7cfb\u7edf\u6027\u80fd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
UART\uff08UniversalAsynchronousReceiver\/Transmitter\uff09\u662f\u4e00\u79cd\u5e38\u7528\u7684\u901a\u4fe1\u6280\u672f\uff0c\u7528\u4e8e\u5728\u4e24\u4e2a\u4e0d\u540c\u7684\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002\u5b83\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-46442","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\/46442","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=46442"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/46442\/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=46442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=46442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=46442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}