{"id":28453,"date":"2023-09-19T01:19:50","date_gmt":"2023-09-18T17:19:50","guid":{"rendered":"\/\/www.viralrail.com\/?p=28453"},"modified":"2023-09-25T16:10:11","modified_gmt":"2023-09-25T08:10:11","slug":"sbssyjc","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/28453.html","title":{"rendered":"\u901f\u535aSPI\u4f7f\u7528\u6559\u7a0b"},"content":{"rendered":"
\u901f\u535aSPI(Serial Peripheral Interface)\u662f\u4e00\u79cd\u9ad8\u901f\u7684\u3001\u5168\u53cc\u5de5\u7684\u3001\u591a\u8bbe\u5907\u7684\u3001\u540c\u6b65\u7684\u3001\u4f4e\u6210\u672c\u7684\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u5728\u5fae\u5904\u7406\u5668\u548c\u5916\u8bbe\u4e4b\u95f4\u63d0\u4f9b\u5feb\u901f\u7684\u6570\u636e\u4f20\u8f93\uff0c\u4ece\u800c\u63d0\u9ad8\u7cfb\u7edf\u7684\u6027\u80fd\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u901f\u535aSPI\u7684\u57fa\u672c\u539f\u7406\u3001\u7279\u70b9\u4ee5\u53ca\u4f7f\u7528\u65b9\u6cd5\u3002<\/p>\n
SPI\u662f\u4e00\u79cd\u5168\u53cc\u5de5\u7684\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u63d0\u4f9b\u5feb\u901f\u7684\u6570\u636e\u4f20\u8f93\u3002SPI\u7684\u7279\u70b9\u662f\u7b80\u5355\u3001\u5feb\u901f\u3001\u4f4e\u6210\u672c\u3002\u5b83\u7684\u5de5\u4f5c\u539f\u7406\u662f\uff1a\u4e3b\u673a(Master)\u53d1\u51fa\u4e00\u4e2a\u4fe1\u53f7\uff0c\u4ece\u673a(Slave)\u63a5\u6536\u5230\u4fe1\u53f7\u540e\uff0c\u5c06\u6570\u636e\u53d1\u9001\u7ed9\u4e3b\u673a\uff0c\u4e3b\u673a\u518d\u5c06\u6570\u636e\u53d1\u9001\u7ed9\u4ece\u673a\uff0c\u4ece\u673a\u63a5\u6536\u5230\u6570\u636e\u540e\uff0c\u5c06\u6570\u636e\u53d1\u9001\u7ed9\u4e3b\u673a\uff0c\u4ece\u800c\u5b8c\u6210\u4e00\u6b21\u6570\u636e\u4f20\u8f93\u3002<\/p>\n
SPI\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u5230\u6bcf\u79d2\u51e0\u767e\u4e07\u6b21\uff0c\u6bd4\u5176\u4ed6\u63a5\u53e3\u7684\u4f20\u8f93\u901f\u7387\u5feb\u51e0\u5341\u500d\uff0c\u53ef\u4ee5\u6ee1\u8db3\u9ad8\u901f\u4f20\u8f93\u7684\u9700\u6c42\u3002<\/p>\n
SPI\u63a5\u53e3\u7684\u786c\u4ef6\u8bbe\u8ba1\u7b80\u5355\uff0c\u786c\u4ef6\u6210\u672c\u4f4e\uff0c\u53ea\u9700\u8981\u51e0\u4e2a\u666e\u901a\u7684\u82af\u7247\u5c31\u53ef\u4ee5\u5b9e\u73b0SPI\u63a5\u53e3\u7684\u529f\u80fd\uff0c\u8fd9\u4f7f\u5f97SPI\u63a5\u53e3\u6210\u4e3a\u4f4e\u6210\u672c\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n
SPI\u63a5\u53e3\u662f\u5168\u53cc\u5de5\u7684\uff0c\u5373\u4e3b\u673a\u548c\u4ece\u673a\u53ef\u4ee5\u540c\u65f6\u53d1\u9001\u6570\u636e\uff0c\u8fd9\u6837\u53ef\u4ee5\u63d0\u9ad8\u4f20\u8f93\u6548\u7387\u3002<\/p>\n
\u9996\u5148\uff0c\u9700\u8981\u5c06SPI\u63a5\u53e3\u7684\u786c\u4ef6\u8fde\u63a5\u597d\uff0c\u5c06\u4e3b\u673a\u548c\u4ece\u673a\u7684SPI\u63a5\u53e3\u8fde\u63a5\u8d77\u6765\uff0c\u5e76\u786e\u4fdd\u8fde\u63a5\u7a33\u5b9a\u3002<\/p>\n
\u63a5\u7740\uff0c\u9700\u8981\u7f16\u5199SPI\u63a5\u53e3\u7684\u7a0b\u5e8f\uff0c\u786e\u4fdd\u7a0b\u5e8f\u53ef\u4ee5\u6b63\u5e38\u8fd0\u884c\uff0c\u5e76\u786e\u4fdd\u4e3b\u673a\u548c\u4ece\u673a\u4e4b\u95f4\u53ef\u4ee5\u6b63\u5e38\u4f20\u8f93\u6570\u636e\u3002<\/p>\n
\u6700\u540e\uff0c\u9700\u8981\u8fdb\u884c\u7a0b\u5e8f\u6d4b\u8bd5\uff0c\u786e\u4fdd\u7a0b\u5e8f\u53ef\u4ee5\u6b63\u5e38\u8fd0\u884c\uff0c\u5e76\u4e14\u53ef\u4ee5\u6b63\u5e38\u4f20\u8f93\u6570\u636e\u3002<\/p>\n
SPI\u662f\u4e00\u79cd\u9ad8\u901f\u7684\u3001\u5168\u53cc\u5de5\u7684\u3001\u591a\u8bbe\u5907\u7684\u3001\u540c\u6b65\u7684\u3001\u4f4e\u6210\u672c\u7684\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u5728\u5fae\u5904\u7406\u5668\u548c\u5916\u8bbe\u4e4b\u95f4\u63d0\u4f9b\u5feb\u901f\u7684\u6570\u636e\u4f20\u8f93\uff0c\u4ece\u800c\u63d0\u9ad8\u7cfb\u7edf\u7684\u6027\u80fd\u3002<\/strong>\u672c\u6587\u4ecb\u7ecd\u4e86SPI\u7684\u57fa\u672c\u539f\u7406\u3001\u7279\u70b9\u4ee5\u53ca\u4f7f\u7528\u65b9\u6cd5\uff0c\u4ee5\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3\u548c\u4f7f\u7528SPI\u63a5\u53e3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u901f\u535aSPI(Serial Peripheral Interface)\u662f\u4e00\u79cd\u9ad8\u901f\u7684\u3001\u5168\u53cc\u5de5\u7684\u3001\u591a\u8bbe\u5907\u7684\u3001\u540c\u6b65\u7684\u3001\u4f4e\u6210\u672c\u7684\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u5728\u5fae\u5904\u7406\u5668\u548c\u5916\u8bbe\u4e4b\u95f4\u63d0\u4f9b\u5feb\u901f\u7684\u6570\u636e\u4f20<\/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,52],"class_list":["post-28453","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-spiinterface","tag-spitx","tag-wxtx"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/28453"}],"collection":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/comments?post=28453"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/28453\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/3671"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=28453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=28453"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=28453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}