{"id":44938,"date":"2023-10-04T22:40:45","date_gmt":"2023-10-04T14:40:45","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=44938"},"modified":"2023-11-25T00:11:13","modified_gmt":"2023-11-24T16:11:13","slug":"shiszsrljlzzlxdsjcsbz","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/44938.html","title":{"rendered":"SPI\u548cI2C\u65f6\u949f\uff1a\u6df1\u5165\u7406\u89e3\u4e24\u79cd\u6700\u6d41\u884c\u7684\u6570\u636e\u4f20\u8f93\u6807\u51c6"},"content":{"rendered":"

  SPI\u548cI2C\u65f6\u949f\u662f\u5f53\u4eca\u6700\u6d41\u884c\u7684\u6570\u636e\u4f20\u8f93\u6807\u51c6\uff0c\u5b83\u4eec\u90fd\u5177\u6709\u7075\u6d3b\u7684\u6570\u636e\u4f20\u8f93\u901f\u5ea6\u3001\u4f4e\u529f\u8017\u3001\u53ef\u9760\u6027\u548c\u5bb9\u6613\u4f7f\u7528\u7684\u7279\u70b9\uff0c\u56e0\u6b64\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5404\u79cd\u7535\u5b50\u8bbe\u5907\u4e2d\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8SPI\u548cI2C\u65f6\u949f\u7684\u5de5\u4f5c\u539f\u7406\uff0c\u4ee5\u53ca\u5b83\u4eec\u4e4b\u95f4\u7684\u533a\u522b\uff0c\u4ee5\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u4e86\u89e3\u8fd9\u4e24\u79cd\u6700\u6d41\u884c\u7684\u6570\u636e\u4f20\u8f93\u6807\u51c6\u3002<\/p>\n

SPI\u65f6\u949f\uff1a\u5b83\u662f\u5982\u4f55\u5de5\u4f5c\u7684\uff1f<\/h2>\n

  SPI\uff08Serial Peripheral Interface\uff09\u65f6\u949f\u662f\u4e00\u79cd\u4e32\u884c\u6570\u636e\u4f20\u8f93\u6807\u51c6\uff0c\u53ef\u7528\u4e8e\u5728\u591a\u4e2a\u5916\u56f4\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002\u5b83\u4f7f\u7528\u4e00\u4e2a\u4e3b\u8bbe\u5907\u548c\u4e00\u4e2a\u4ece\u8bbe\u5907\uff0c\u4e3b\u8bbe\u5907\u53ef\u4ee5\u63a7\u5236\u4ece\u8bbe\u5907\uff0c\u4ece\u800c\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u3002SPI\u65f6\u949f\u4f7f\u7528\u56db\u6839\u4fe1\u53f7\u7ebf\uff0c\u5176\u4e2d\u4e00\u6839\u662f\u65f6\u949f\u4fe1\u53f7\u7ebf\uff0c\u53e6\u5916\u4e09\u6839\u5206\u522b\u7528\u4e8e\u6570\u636e\u4f20\u8f93\uff0c\u5373\u9009\u62e9\u4fe1\u53f7\u7ebf\uff0c\u6570\u636e\u8f93\u5165\u4fe1\u53f7\u7ebf\u548c\u6570\u636e\u8f93\u51fa\u4fe1\u53f7\u7ebf\u3002<\/p>\n

  SPI\u65f6\u949f\u7684\u5de5\u4f5c\u539f\u7406\u662f\uff0c\u4e3b\u8bbe\u5907\u5411\u4ece\u8bbe\u5907\u53d1\u9001\u65f6\u949f\u4fe1\u53f7\uff0c\u4ece\u8bbe\u5907\u6536\u5230\u65f6\u949f\u4fe1\u53f7\u540e\uff0c\u6839\u636e\u4e3b\u8bbe\u5907\u53d1\u51fa\u7684\u6307\u4ee4\uff0c\u5411\u4e3b\u8bbe\u5907\u53d1\u9001\u6570\u636e\u3002\u4e3b\u8bbe\u5907\u6536\u5230\u6570\u636e\u540e\uff0c\u53ef\u4ee5\u6839\u636e\u9700\u8981\u5bf9\u6570\u636e\u8fdb\u884c\u5904\u7406\uff0c\u7136\u540e\u518d\u5411\u4ece\u8bbe\u5907\u53d1\u9001\u6307\u4ee4\uff0c\u4ee5\u63a7\u5236\u4ece\u8bbe\u5907\u7684\u5de5\u4f5c\u3002<\/p>\n

I2C\u65f6\u949f\uff1a\u5b83\u662f\u5982\u4f55\u5de5\u4f5c\u7684\uff1f<\/h2>\n

  I2C\uff08Inter-Integrated Circuit\uff09\u65f6\u949f\u662f\u4e00\u79cd\u4e32\u884c\u6570\u636e\u4f20\u8f93\u6807\u51c6\uff0c\u53ef\u7528\u4e8e\u5728\u591a\u4e2a\u5916\u56f4\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002\u5b83\u4f7f\u7528\u4e00\u4e2a\u4e3b\u8bbe\u5907\u548c\u4e00\u4e2a\u4ece\u8bbe\u5907\uff0c\u4e3b\u8bbe\u5907\u53ef\u4ee5\u63a7\u5236\u4ece\u8bbe\u5907\uff0c\u4ece\u800c\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u3002I2C\u65f6\u949f\u4f7f\u7528\u4e24\u6839\u4fe1\u53f7\u7ebf\uff0c\u5373\u65f6\u949f\u4fe1\u53f7\u7ebf\u548c\u6570\u636e\u4fe1\u53f7\u7ebf\uff0c\u800c\u4e14\u53ef\u4ee5\u652f\u6301\u591a\u4e2a\u4ece\u8bbe\u5907\u3002<\/p>\n

  I2C\u65f6\u949f\u7684\u5de5\u4f5c\u539f\u7406\u662f\uff0c\u4e3b\u8bbe\u5907\u5411\u4ece\u8bbe\u5907\u53d1\u9001\u65f6\u949f\u4fe1\u53f7\uff0c\u4ece\u8bbe\u5907\u6536\u5230\u65f6\u949f\u4fe1\u53f7\u540e\uff0c\u6839\u636e\u4e3b\u8bbe\u5907\u53d1\u51fa\u7684\u6307\u4ee4\uff0c\u5411\u4e3b\u8bbe\u5907\u53d1\u9001\u6570\u636e\u3002\u4e3b\u8bbe\u5907\u6536\u5230\u6570\u636e\u540e\uff0c\u53ef\u4ee5\u6839\u636e\u9700\u8981\u5bf9\u6570\u636e\u8fdb\u884c\u5904\u7406\uff0c\u7136\u540e\u518d\u5411\u4ece\u8bbe\u5907\u53d1\u9001\u6307\u4ee4\uff0c\u4ee5\u63a7\u5236\u4ece\u8bbe\u5907\u7684\u5de5\u4f5c\u3002<\/p>\n

SPI\u548cI2C\u65f6\u949f\u7684\u533a\u522b<\/h2>\n

  \u867d\u7136SPI\u548cI2C\u65f6\u949f\u90fd\u662f\u4e32\u884c\u6570\u636e\u4f20\u8f93\u6807\u51c6\uff0c\u4f46\u5b83\u4eec\u4e4b\u95f4\u6709\u4e00\u4e9b\u91cd\u8981\u7684\u533a\u522b\u3002\u9996\u5148\uff0cSPI\u65f6\u949f\u4f7f\u7528\u56db\u6839\u4fe1\u53f7\u7ebf\uff0c\u800cI2C\u65f6\u949f\u53ea\u4f7f\u7528\u4e24\u6839\u4fe1\u53f7\u7ebf\u3002\u5176\u6b21\uff0cSPI\u65f6\u949f\u53ea\u80fd\u652f\u6301\u4e00\u4e2a\u4ece\u8bbe\u5907\uff0c\u800cI2C\u65f6\u949f\u53ef\u4ee5\u652f\u6301\u591a\u4e2a\u4ece\u8bbe\u5907\u3002\u6700\u540e\uff0cSPI\u65f6\u949f\u7684\u6570\u636e\u4f20\u8f93\u901f\u5ea6\u66f4\u5feb\uff0c\u800cI2C\u65f6\u949f\u7684\u529f\u8017\u66f4\u4f4e\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u672c\u6587\u6df1\u5165\u63a2\u8ba8\u4e86SPI\u548cI2C\u65f6\u949f\u7684\u5de5\u4f5c\u539f\u7406\uff0c\u4ee5\u53ca\u5b83\u4eec\u4e4b\u95f4\u7684\u533a\u522b\u3002<\/strong>SPI\u65f6\u949f\u4f7f\u7528\u56db\u6839\u4fe1\u53f7\u7ebf\uff0c\u53ea\u80fd\u652f\u6301\u4e00\u4e2a\u4ece\u8bbe\u5907\uff0c\u6570\u636e\u4f20\u8f93\u901f\u5ea6\u8f83\u5feb\uff1b\u800cI2C\u65f6\u949f\u4f7f\u7528\u4e24\u6839\u4fe1\u53f7\u7ebf\uff0c\u53ef\u4ee5\u652f\u6301\u591a\u4e2a\u4ece\u8bbe\u5907\uff0c\u529f\u8017\u8f83\u4f4e\u3002\u56e0\u6b64\uff0c\u8bfb\u8005\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\uff0c\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u4f20\u8f93\u6807\u51c6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

SPI\u548cI2C\u65f6\u949f\u662f\u5f53\u4eca\u6700\u6d41\u884c\u7684\u6570\u636e\u4f20\u8f93\u6807\u51c6\uff0c\u5b83\u4eec\u90fd\u5177\u6709\u7075\u6d3b\u7684\u6570\u636e\u4f20\u8f93\u901f\u5ea6\u3001\u4f4e\u529f\u8017\u3001\u53ef\u9760\u6027\u548c\u5bb9\u6613\u4f7f\u7528\u7684\u7279\u70b9\uff0c\u56e0\u6b64\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5404\u79cd\u7535\u5b50\u8bbe\u5907\u4e2d\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8SPI\u548cI2C\u65f6<\/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,288],"class_list":["post-44938","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-i2c","tag-spitx"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/44938","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=44938"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/44938\/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=44938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=44938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=44938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}