{"id":38958,"date":"2023-10-05T11:36:00","date_gmt":"2023-10-05T03:36:00","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=38958"},"modified":"2023-11-25T00:11:07","modified_gmt":"2023-11-24T16:11:07","slug":"isudqb","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/38958.html","title":{"rendered":"I2C\u3001SPI\u3001UART\u7684\u533a\u522b"},"content":{"rendered":"
I2C\u3001SPI\u3001UART\u4e09\u8005\u90fd\u662f\u5e38\u7528\u7684\u6570\u636e\u4f20\u8f93\u6a21\u5f0f\uff0c\u5b83\u4eec\u7684\u533a\u522b\u5728\u4e8e\u5b83\u4eec\u7684\u7279\u6027\u3001\u7528\u9014\u4ee5\u53ca\u4f20\u8f93\u6548\u7387\u3002<\/strong>\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e09\u79cd\u6570\u636e\u4f20\u8f93\u6a21\u5f0f\u7684\u7279\u6027\uff0c\u4ee5\u53ca\u5b83\u4eec\u4e4b\u95f4\u7684\u533a\u522b\u3002<\/p>\n I2C\uff08Inter-Integrated Circuit\uff09\u662f\u4e00\u79cd\u53cc\u603b\u7ebf\u7684\u8fde\u63a5\u65b9\u5f0f\uff0c\u5b83\u7531\u4e24\u6839\u7ebf\u7ec4\u6210\uff1aSCL\uff08\u65f6\u949f\u7ebf\uff09\u548cSDA\uff08\u6570\u636e\u7ebf\uff09\u3002I2C\u53ef\u4ee5\u7528\u4e8e\u5728\u4e24\u4e2a\u6216\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u53ea\u9700\u8981\u4e00\u4e2a\u4e3b\u8bbe\u5907\u6765\u63a7\u5236\u4f20\u8f93\u8fc7\u7a0b\uff0c\u5176\u4ed6\u8bbe\u5907\u5219\u4f5c\u4e3a\u4ece\u8bbe\u5907\u88ab\u63a7\u5236\u3002I2C\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u5230100Kbps\uff0c\u7528\u4e8e\u77ed\u8ddd\u79bb\u4f20\u8f93\u6570\u636e\uff0c\u53ef\u4ee5\u652f\u6301\u591a\u4e2a\u4ece\u8bbe\u5907\uff0c\u8fd9\u4f7f\u5f97I2C\u5728\u5f88\u591a\u573a\u666f\u4e2d\u53ef\u4ee5\u66ff\u4ee3\u5176\u4ed6\u7684\u6570\u636e\u4f20\u8f93\u6a21\u5f0f\u3002<\/p>\n SPI\uff08Serial Peripheral Interface\uff09\u662f\u4e00\u79cd\u4e3b\u4ece\u5f0f\u7684\u8fde\u63a5\u65b9\u5f0f\uff0c\u5b83\u75314\u6839\u7ebf\u7ec4\u6210\uff1aMOSI\uff08\u4e3b\u8bbe\u5907\u8f93\u51fa\uff09\u3001MISO\uff08\u4ece\u8bbe\u5907\u8f93\u51fa\uff09\u3001SCLK\uff08\u65f6\u949f\u7ebf\uff09\u548cSS\uff08\u7247\u9009\u7ebf\uff09\u3002SPI\u53ef\u4ee5\u7528\u4e8e\u5728\u4e24\u4e2a\u6216\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u53ea\u6709\u4e00\u4e2a\u4e3b\u8bbe\u5907\u53ef\u4ee5\u63a7\u5236\u4f20\u8f93\u8fc7\u7a0b\uff0c\u5176\u4ed6\u8bbe\u5907\u5219\u4f5c\u4e3a\u4ece\u8bbe\u5907\u88ab\u63a7\u5236\u3002SPI\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u523010Mbps\uff0c\u7528\u4e8e\u77ed\u8ddd\u79bb\u4f20\u8f93\u6570\u636e\uff0c\u53ef\u4ee5\u652f\u6301\u591a\u4e2a\u4ece\u8bbe\u5907\uff0c\u8fd9\u4f7f\u5f97SPI\u5728\u5f88\u591a\u573a\u666f\u4e2d\u53ef\u4ee5\u66ff\u4ee3\u5176\u4ed6\u7684\u6570\u636e\u4f20\u8f93\u6a21\u5f0f\u3002<\/p>\n UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u662f\u4e00\u79cd\u4e32\u884c\u901a\u4fe1\u7684\u8fde\u63a5\u65b9\u5f0f\uff0c\u5b83\u75312\u6839\u7ebf\u7ec4\u6210\uff1aRX\uff08\u63a5\u6536\u7ebf\uff09\u548cTX\uff08\u53d1\u9001\u7ebf\uff09\u3002UART\u53ef\u4ee5\u7528\u4e8e\u5728\u4e24\u4e2a\u6216\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u53ea\u6709\u4e00\u4e2a\u8bbe\u5907\u53ef\u4ee5\u63a7\u5236\u4f20\u8f93\u8fc7\u7a0b\uff0c\u5176\u4ed6\u8bbe\u5907\u5219\u4f5c\u4e3a\u4ece\u8bbe\u5907\u88ab\u63a7\u5236\u3002UART\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u5230115200bps\uff0c\u7528\u4e8e\u77ed\u8ddd\u79bb\u4f20\u8f93\u6570\u636e\uff0c\u53ef\u4ee5\u652f\u6301\u591a\u4e2a\u4ece\u8bbe\u5907\uff0c\u8fd9\u4f7f\u5f97UART\u5728\u5f88\u591a\u573a\u666f\u4e2d\u53ef\u4ee5\u66ff\u4ee3\u5176\u4ed6\u7684\u6570\u636e\u4f20\u8f93\u6a21\u5f0f\u3002<\/p>\n I2C\u3001SPI\u3001UART\u4e09\u8005\u90fd\u662f\u5e38\u7528\u7684\u6570\u636e\u4f20\u8f93\u6a21\u5f0f\uff0c\u5b83\u4eec\u7684\u533a\u522b\u5728\u4e8e\u5b83\u4eec\u7684\u7279\u6027\u3001\u7528\u9014\u4ee5\u53ca\u4f20\u8f93\u6548\u7387\u3002<\/strong>I2C\u662f\u4e00\u79cd\u53cc\u603b\u7ebf\u7684\u8fde\u63a5\u65b9\u5f0f\uff0c\u5b83\u7531\u4e24\u6839\u7ebf\u7ec4\u6210\uff0c\u53ef\u4ee5\u652f\u6301\u591a\u4e2a\u4ece\u8bbe\u5907\uff0c\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u5230100Kbps\u3002SPI\u662f\u4e00\u79cd\u4e3b\u4ece\u5f0f\u7684\u8fde\u63a5\u65b9\u5f0f\uff0c\u5b83\u75314\u6839\u7ebf\u7ec4\u6210\uff0c\u53ef\u4ee5\u652f\u6301\u591a\u4e2a\u4ece\u8bbe\u5907\uff0c\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u523010Mbps\u3002UART\u662f\u4e00\u79cd\u4e32\u884c\u901a\u4fe1\u7684\u8fde\u63a5\u65b9\u5f0f\uff0c\u5b83\u75312\u6839\u7ebf\u7ec4\u6210\uff0c\u53ef\u4ee5\u652f\u6301\u591a\u4e2a\u4ece\u8bbe\u5907\uff0c\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u5230115200bps\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" I2C\u3001SPI\u3001UART\u4e09\u8005\u90fd\u662f\u5e38\u7528\u7684\u6570\u636e\u4f20\u8f93\u6a21\u5f0f\uff0c\u5b83\u4eec\u7684\u533a\u522b\u5728\u4e8e\u5b83\u4eec\u7684\u7279\u6027\u3001\u7528\u9014\u4ee5\u53ca\u4f20\u8f93\u6548\u7387\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e09\u79cd\u6570\u636e\u4f20\u8f93\u6a21\u5f0f\u7684\u7279\u6027\uff0c<\/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":[351,145],"class_list":["post-38958","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-i2c","tag-uart"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/38958","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=38958"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/38958\/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=38958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=38958"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=38958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}I2C<\/h2>\n
I2C\u7684\u4f18\u70b9<\/h3>\n
\n
I2C\u7684\u7f3a\u70b9<\/h3>\n
\n
SPI<\/h2>\n
SPI\u7684\u4f18\u70b9<\/h3>\n
\n
SPI\u7684\u7f3a\u70b9<\/h3>\n
\n
UART<\/h2>\n
UART\u7684\u4f18\u70b9<\/h3>\n
\n
UART\u7684\u7f3a\u70b9<\/h3>\n
\n
\u603b\u7ed3<\/h2>\n