{"id":44772,"date":"2023-09-28T23:56:26","date_gmt":"2023-09-28T15:56:26","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=44772"},"modified":"2023-09-28T23:56:26","modified_gmt":"2023-09-28T15:56:26","slug":"syudqb","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/44772.html","title":{"rendered":"SPI\u4e0eUART\u7684\u533a\u522b"},"content":{"rendered":"
SPI\u548cUART\u662f\u4e24\u79cd\u4e0d\u540c\u7684\u6570\u636e\u4f20\u8f93\u534f\u8bae\uff0c\u5b83\u4eec\u7684\u4e3b\u8981\u533a\u522b\u5728\u4e8e\u4f20\u8f93\u901f\u5ea6\u3001\u4f20\u8f93\u8ddd\u79bb\u3001\u4f20\u8f93\u6548\u7387\u548c\u590d\u6742\u6027\u7b49\u65b9\u9762\u3002\u672c\u6587\u5c06\u5bf9\u8fd9\u4e24\u79cd\u534f\u8bae\u7684\u533a\u522b\u8fdb\u884c\u8be6\u7ec6\u6bd4\u8f83\uff0c\u4ee5\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3\u5b83\u4eec\u7684\u4e0d\u540c\u4e4b\u5904\u3002<\/p>\n
SPI\uff08Serial Peripheral Interface\uff09\u662f\u4e00\u79cd\u4e32\u884c\u63a5\u53e3\uff0c\u5b83\u7531\u56db\u6839\u7ebf\u7ec4\u6210\uff1aMOSI\u3001MISO\u3001SCK\u548cSS\uff08Slave Select\uff09\u3002\u5b83\u53ef\u4ee5\u7528\u4e8e\u5728\u4e3b\u673a\u548c\u5916\u56f4\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u5177\u6709\u9ad8\u901f\u4f20\u8f93\u3001\u4f4e\u6210\u672c\u3001\u4f4e\u529f\u8017\u7b49\u4f18\u70b9\u3002<\/p>\n
SPI\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u5230\u6bcf\u79d2\u51e0\u5341\u5146\u4f4d\uff0c\u6700\u9ad8\u53ef\u8fbe50MHz\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5927\u591a\u6570\u5e94\u7528\u573a\u666f\u7684\u9700\u6c42\u3002<\/p>\n
SPI\u7684\u4f20\u8f93\u8ddd\u79bb\u4e00\u822c\u57281-5\u7c73\u8303\u56f4\u5185\uff0c\u53d7\u9650\u4e8e\u786c\u4ef6\u7535\u7f06\u7684\u957f\u5ea6\u3002<\/p>\n
SPI\u7684\u4f20\u8f93\u6548\u7387\u6bd4\u8f83\u9ad8\uff0c\u53ef\u4ee5\u8fbe\u5230\u6bcf\u79d2\u51e0\u5341\u5146\u4f4d\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5927\u591a\u6570\u5e94\u7528\u573a\u666f\u7684\u9700\u6c42\u3002<\/p>\n
SPI\u7684\u590d\u6742\u6027\u8f83\u4f4e\uff0c\u53ea\u9700\u8981\u56db\u6839\u7ebf\u5c31\u53ef\u4ee5\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\uff0c\u800c\u4e14\u786c\u4ef6\u8bbe\u8ba1\u7b80\u5355\uff0c\u4e5f\u4e0d\u9700\u8981\u590d\u6742\u7684\u8f6f\u4ef6\u9a71\u52a8\u7a0b\u5e8f\u3002<\/p>\n
UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u662f\u4e00\u79cd\u5f02\u6b65\u4f20\u8f93\u63a5\u53e3\uff0c\u5b83\u7531\u4e24\u6839\u7ebf\u7ec4\u6210\uff1aTX\u548cRX\uff0c\u53ef\u4ee5\u7528\u4e8e\u5728\u4e3b\u673a\u548c\u5916\u56f4\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u5177\u6709\u4f4e\u6210\u672c\u3001\u4f4e\u529f\u8017\u7b49\u4f18\u70b9\u3002<\/p>\n
UART\u7684\u4f20\u8f93\u901f\u7387\u4e00\u822c\u5728\u6bcf\u79d2\u51e0\u5343\u4f4d\u81f3\u51e0\u5341\u5146\u4f4d\u4e4b\u95f4\uff0c\u6700\u9ad8\u53ef\u8fbe200MHz\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5927\u591a\u6570\u5e94\u7528\u573a\u666f\u7684\u9700\u6c42\u3002<\/p>\n
UART\u7684\u4f20\u8f93\u8ddd\u79bb\u4e00\u822c\u57281-50\u7c73\u8303\u56f4\u5185\uff0c\u53d7\u9650\u4e8e\u786c\u4ef6\u7535\u7f06\u7684\u957f\u5ea6\u3002<\/p>\n
UART\u7684\u4f20\u8f93\u6548\u7387\u6bd4\u8f83\u4f4e\uff0c\u4e00\u822c\u53ea\u80fd\u8fbe\u5230\u6bcf\u79d2\u51e0\u5343\u4f4d\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\uff0c\u4e0d\u80fd\u6ee1\u8db3\u9ad8\u901f\u4f20\u8f93\u7684\u9700\u6c42\u3002<\/p>\n
UART\u7684\u590d\u6742\u6027\u8f83\u9ad8\uff0c\u9700\u8981\u4e24\u6839\u7ebf\u624d\u80fd\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\uff0c\u800c\u4e14\u786c\u4ef6\u8bbe\u8ba1\u590d\u6742\uff0c\u9700\u8981\u590d\u6742\u7684\u8f6f\u4ef6\u9a71\u52a8\u7a0b\u5e8f\u3002<\/p>\n
\u4ece\u4e0a\u9762\u7684\u6bd4\u8f83\u53ef\u4ee5\u770b\u51fa\uff0cSPI\u548cUART\u6709\u8bb8\u591a\u4e0d\u540c\u4e4b\u5904\uff0c\u5b83\u4eec\u5404\u6709\u4f18\u52a3\uff0c\u6839\u636e\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u6765\u9009\u62e9\u9002\u5408\u81ea\u5df1\u7684\u4f20\u8f93\u534f\u8bae\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":" SPI\u548cUART\u662f\u4e24\u79cd\u4e0d\u540c\u7684\u6570\u636e\u4f20\u8f93\u534f\u8bae\uff0c\u5b83\u4eec\u7684\u4e3b\u8981\u533a\u522b\u5728\u4e8e\u4f20\u8f93\u901f\u5ea6\u3001\u4f20\u8f93\u8ddd\u79bb\u3001\u4f20\u8f93\u6548\u7387\u548c\u590d\u6742\u6027\u7b49\u65b9\u9762\u3002\u672c\u6587\u5c06\u5bf9\u8fd9\u4e24\u79cd\u534f\u8bae\u7684\u533a\u522b\u8fdb\u884c\u8be6\u7ec6\u6bd4\u8f83\uff0c\u4ee5\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3\u5b83\u4eec\u7684\u4e0d<\/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-44772","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\/44772","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=44772"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/44772\/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=44772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=44772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=44772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}