{"id":32121,"date":"2023-09-16T10:02:59","date_gmt":"2023-09-16T02:02:59","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=32121"},"modified":"2023-09-25T16:10:26","modified_gmt":"2023-09-25T08:10:26","slug":"cktxuihs","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/32121.html","title":{"rendered":"\u4e32\u53e3\u901a\u4fe1USART\u3001I2C\u548cSPI"},"content":{"rendered":"
\u4e32\u53e3\u901a\u4fe1\uff08Serial Communication\uff09\u662f\u8ba1\u7b97\u673a\u4e2d\u7684\u4e00\u79cd\u5e38\u7528\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5728\u4e24\u53f0\u8ba1\u7b97\u673a\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002\u4e32\u53e3\u901a\u4fe1\u4e2d\uff0c\u5e38\u7528\u7684\u63a5\u53e3\u6709USART\u3001I2C\u548cSPI\uff0c\u5b83\u4eec\u5404\u6709\u7279\u70b9\uff0c\u5728\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e0b\u53ef\u4ee5\u53d1\u6325\u4e0d\u540c\u7684\u4f5c\u7528\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u8fd9\u4e09\u79cd\u63a5\u53e3\u7684\u539f\u7406\u3001\u7279\u70b9\u548c\u5e94\u7528\u573a\u666f\u3002<\/p>\n
USART\uff08Universal Synchronous Asynchronous Receiver Transmitter\uff09\u662f\u4e00\u79cd\u5168\u53cc\u5de5\u3001\u540c\u6b65\/\u5f02\u6b65\u7684\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u5728\u4e24\u53f0\u8ba1\u7b97\u673a\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002USART\u63a5\u53e3\u53ef\u4ee5\u5b9e\u73b0\u5168\u53cc\u5de5\u7684\u6570\u636e\u4f20\u8f93\uff0c\u53ef\u4ee5\u540c\u65f6\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\uff0c\u800c\u4e14\u53ef\u4ee5\u5b9e\u73b0\u540c\u6b65\u548c\u5f02\u6b65\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n
USART\u63a5\u53e3\u7684\u5e94\u7528\u573a\u666f\u975e\u5e38\u5e7f\u6cdb\uff0c\u53ef\u4ee5\u7528\u4e8e\u5b9e\u65f6\u7684\u6570\u636e\u4f20\u8f93\uff0c\u5982\u4e32\u53e3\u8c03\u8bd5\u3001\u6570\u636e\u91c7\u96c6\u3001\u8bbe\u5907\u63a7\u5236\u7b49\u3002\u6b64\u5916\uff0cUSART\u63a5\u53e3\u8fd8\u53ef\u4ee5\u7528\u4e8e\u8fdc\u7a0b\u63a7\u5236\uff0c\u5982\u7f51\u7edc\u63a7\u5236\u3001\u8fdc\u7a0b\u4f20\u611f\u5668\u76d1\u63a7\u7b49\u3002<\/p>\n
I2C\uff08Inter-Integrated Circuit\uff09\u662f\u4e00\u79cd\u884c\u4e1a\u6807\u51c6\u7684\u4e32\u884c\u603b\u7ebf\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u5728\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002I2C\u63a5\u53e3\u662f\u4e00\u79cd\u5168\u53cc\u5de5\u7684\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u4e24\u53f0\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\uff0c\u800c\u4e14\u53ef\u4ee5\u652f\u6301\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n
I2C\u63a5\u53e3\u7684\u5e94\u7528\u573a\u666f\u4e5f\u975e\u5e38\u5e7f\u6cdb\uff0c\u53ef\u4ee5\u7528\u4e8e\u5b9e\u65f6\u7684\u6570\u636e\u4f20\u8f93\uff0c\u5982\u667a\u80fd\u5bb6\u5c45\u3001\u8bbe\u5907\u76d1\u63a7\u7b49\u3002\u6b64\u5916\uff0cI2C\u63a5\u53e3\u8fd8\u53ef\u4ee5\u7528\u4e8e\u8fdc\u7a0b\u63a7\u5236\uff0c\u5982\u7f51\u7edc\u63a7\u5236\u3001\u8fdc\u7a0b\u4f20\u611f\u5668\u76d1\u63a7\u7b49\u3002<\/p>\n
SPI\uff08Serial Peripheral Interface\uff09\u662f\u4e00\u79cd\u5168\u53cc\u5de5\u7684\u4e32\u884c\u603b\u7ebf\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u5728\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002SPI\u63a5\u53e3\u662f\u4e00\u79cd\u5168\u53cc\u5de5\u7684\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u4e24\u53f0\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\uff0c\u800c\u4e14\u53ef\u4ee5\u652f\u6301\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n
SPI\u63a5\u53e3\u7684\u5e94\u7528\u573a\u666f\u4e5f\u975e\u5e38\u5e7f\u6cdb\uff0c\u53ef\u4ee5\u7528\u4e8e\u5b9e\u65f6\u7684\u6570\u636e\u4f20\u8f93\uff0c\u5982\u667a\u80fd\u5bb6\u5c45\u3001\u8bbe\u5907\u76d1\u63a7\u7b49\u3002\u6b64\u5916\uff0cSPI\u63a5\u53e3\u8fd8\u53ef\u4ee5\u7528\u4e8e\u8fdc\u7a0b\u63a7\u5236\uff0c\u5982\u7f51\u7edc\u63a7\u5236\u3001\u8fdc\u7a0b\u4f20\u611f\u5668\u76d1\u63a7\u7b49\u3002<\/p>\n
\u4e32\u53e3\u901a\u4fe1\u662f\u8ba1\u7b97\u673a\u4e2d\u7684\u4e00\u79cd\u5e38\u7528\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5728\u4e24\u53f0\u8ba1\u7b97\u673a\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002<\/strong>\u5e38\u7528\u7684\u4e32\u53e3\u63a5\u53e3\u6709USART\u3001I2C\u548cSPI\uff0c\u5b83\u4eec\u5404\u6709\u7279\u70b9\uff0c\u5728\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e0b\u53ef\u4ee5\u53d1\u6325\u4e0d\u540c\u7684\u4f5c\u7528\u3002USART\u63a5\u53e3\u53ef\u4ee5\u5b9e\u73b0\u5168\u53cc\u5de5\u7684\u6570\u636e\u4f20\u8f93\uff0c\u53ef\u4ee5\u5b9e\u73b0\u9ad8\u901f\u7684\u6570\u636e\u4f20\u8f93\uff0c\u6700\u5927\u4f20\u8f93\u8ddd\u79bb\u53ef\u4ee5\u8fbe\u523015\u7c73\uff0c\u5e38\u7528\u4e8e\u5b9e\u65f6\u7684\u6570\u636e\u4f20\u8f93\uff0c\u5982\u4e32\u53e3\u8c03\u8bd5\u3001\u6570\u636e\u91c7\u96c6\u3001\u8bbe\u5907\u63a7\u5236\u7b49\u3002I2C\u63a5\u53e3\u53ef\u4ee5\u5b9e\u73b0\u5168\u53cc\u5de5\u7684\u6570\u636e\u4f20\u8f93\uff0c\u53ef\u4ee5\u5b9e\u73b0\u9ad8\u901f\u7684\u6570\u636e\u4f20\u8f93\uff0c\u6700\u5927\u4f20\u8f93\u8ddd\u79bb\u53ef\u4ee5\u8fbe\u52302\u7c73\uff0c\u5e38\u7528\u4e8e\u5b9e\u65f6\u7684\u6570\u636e\u4f20\u8f93\uff0c\u5982\u667a\u80fd\u5bb6\u5c45\u3001\u8bbe\u5907\u76d1\u63a7\u7b49\u3002SPI\u63a5\u53e3\u53ef\u4ee5\u5b9e\u73b0\u5168\u53cc\u5de5\u7684\u6570\u636e\u4f20\u8f93\uff0c\u53ef\u4ee5\u5b9e\u73b0\u9ad8\u901f\u7684\u6570\u636e\u4f20\u8f93\uff0c\u6700\u5927\u4f20\u8f93\u8ddd\u79bb\u53ef\u4ee5\u8fbe\u523050\u7c73\uff0c\u5e38\u7528\u4e8e\u5b9e\u65f6\u7684\u6570\u636e\u4f20\u8f93\uff0c\u5982\u667a\u80fd\u5bb6\u5c45\u3001\u8bbe\u5907\u76d1\u63a7\u7b49\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u4e32\u53e3\u901a\u4fe1\uff08Serial Communication\uff09\u662f\u8ba1\u7b97\u673a\u4e2d\u7684\u4e00\u79cd\u5e38\u7528\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5728\u4e24\u53f0\u8ba1\u7b97\u673a\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002\u4e32\u53e3\u901a\u4fe1\u4e2d\uff0c\u5e38\u7528\u7684\u63a5\u53e3\u6709USART\u3001I2C\u548cSPI\uff0c\u5b83\u4eec<\/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":[301,288,69],"class_list":["post-32121","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-spiinterface","tag-spitx","tag-cktx"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/32121","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=32121"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/32121\/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=32121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=32121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=32121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}