{"id":39669,"date":"2023-09-27T09:33:14","date_gmt":"2023-09-27T01:33:14","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=39669"},"modified":"2023-09-27T09:33:14","modified_gmt":"2023-09-27T01:33:14","slug":"bzckjkdy","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/39669.html","title":{"rendered":"\u6807\u51c6\u4e32\u53e3\u63a5\u53e3\u5b9a\u4e49"},"content":{"rendered":"
\u6807\u51c6\u4e32\u53e3\u63a5\u53e3\uff08Serial Port Interface\uff0cSPI\uff09\u662f\u4e00\u79cd\u5de5\u4e1a\u6807\u51c6\u7684\u4e32\u884c\u6570\u636e\u4f20\u8f93\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5728\u4e24\u4e2a\u7535\u5b50\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u662f\u4e00\u79cd\u9ad8\u6548\u3001\u53ef\u9760\u548c\u7075\u6d3b\u7684\u63a5\u53e3\u6280\u672f\u3002\u672c\u6587\u5c06\u4ecb\u7ecdSPI\u7684\u57fa\u672c\u7ed3\u6784\u3001\u7279\u70b9\u548c\u5e94\u7528\uff0c\u540c\u65f6\u63d0\u4f9b\u4e00\u4e9b\u5b9e\u7528\u7684\u6280\u672f\u6307\u5bfc\uff0c\u4ee5\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u7406\u89e3SPI\u63a5\u53e3\u3002<\/p>\n
\u6807\u51c6\u4e32\u53e3\u63a5\u53e3\uff08SPI\uff09\u662f\u4e00\u79cd\u5de5\u4e1a\u6807\u51c6\u7684\u4e32\u884c\u6570\u636e\u4f20\u8f93\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5728\u4e24\u4e2a\u7535\u5b50\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002\u5b83\u7684\u4e3b\u8981\u7279\u70b9\u662f\u9ad8\u6548\u3001\u53ef\u9760\u548c\u7075\u6d3b\uff0c\u53ef\u4ee5\u5728\u5f88\u591a\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e2d\u4f7f\u7528\uff0c\u6bd4\u5982\u63a7\u5236\u5668\u3001\u4f20\u611f\u5668\u3001\u5916\u90e8\u5b58\u50a8\u5668\u7b49\u3002<\/p>\n
SPI\u63a5\u53e3\u75314\u6839\u4fe1\u53f7\u7ebf\u7ec4\u6210\uff0c\u5206\u522b\u662f\uff1a<\/p>\n
SPI\u7684\u4e3b\u8981\u7279\u70b9\u662f\u9ad8\u6548\u3001\u53ef\u9760\u548c\u7075\u6d3b\uff0c\u5b83\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u6570\u636e\u4f20\u8f93\u6a21\u5f0f\uff0c\u6bd4\u5982\u534a\u53cc\u5de5\u3001\u5168\u53cc\u5de5\u548c\u4e09\u7ebf\u6a21\u5f0f\u7b49\u3002\u6b64\u5916\uff0cSPI\u8fd8\u6709\u4e00\u4e9b\u5176\u4ed6\u7279\u70b9\uff1a<\/p>\n
SPI\u63a5\u53e3\u53ef\u4ee5\u5e94\u7528\u4e8e\u591a\u79cd\u4e0d\u540c\u7684\u573a\u666f\uff0c\u6bd4\u5982\u63a7\u5236\u5668\u3001\u4f20\u611f\u5668\u3001\u5916\u90e8\u5b58\u50a8\u5668\u7b49\u3002\u6b64\u5916\uff0cSPI\u63a5\u53e3\u8fd8\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u591a\u4e2a\u5916\u90e8\u8bbe\u5907\uff0c\u6bd4\u5982\u89e6\u6478\u5c4f\u3001\u663e\u793a\u5668\u7b49\u3002<\/p>\n
\u4f7f\u7528SPI\u63a5\u53e3\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u8fdb\u884c\u786c\u4ef6\u8fde\u63a5\u3002SPI\u63a5\u53e3\u53ea\u9700\u89814\u6839\u7ebf\uff0c\u5206\u522b\u662fMOSI\u3001MISO\u3001SCK\u548cSS\u4fe1\u53f7\u7ebf\uff0c\u8fd94\u6839\u7ebf\u5fc5\u987b\u8fde\u63a5\u5230\u4e3b\u673a\u548c\u4ece\u673a\u7684\u76f8\u5e94\u63a5\u53e3\u4e0a\u3002<\/p>\n
\u5728\u786c\u4ef6\u8fde\u63a5\u5b8c\u6210\u4e4b\u540e\uff0c\u63a5\u4e0b\u6765\u5c31\u8981\u8fdb\u884c\u8f6f\u4ef6\u8bbe\u7f6e\u4e86\u3002\u9996\u5148\uff0c\u9700\u8981\u786e\u5b9aSPI\u7684\u5de5\u4f5c\u6a21\u5f0f\uff0c\u5373\u4e3b\u673a\u548c\u4ece\u673a\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u6a21\u5f0f\uff0c\u6bd4\u5982\u534a\u53cc\u5de5\u3001\u5168\u53cc\u5de5\u548c\u4e09\u7ebf\u6a21\u5f0f\u7b49\u3002\u5176\u6b21\uff0c\u9700\u8981\u786e\u5b9aSPI\u7684\u6570\u636e\u683c\u5f0f\uff0c\u5373\u6570\u636e\u4f20\u8f93\u7684\u4f4d\u5bbd\uff0c\u6bd4\u59828\u4f4d\u300116\u4f4d\u548c32\u4f4d\u7b49\u3002\u6700\u540e\uff0c\u9700\u8981\u786e\u5b9aSPI\u7684\u4f20\u8f93\u901f\u7387\uff0c\u5373\u6570\u636e\u4f20\u8f93\u7684\u901f\u5ea6\uff0cSPI\u63a5\u53e3\u53ef\u4ee5\u652f\u6301\u6700\u9ad850MHz\u7684\u4f20\u8f93\u901f\u7387\u3002<\/p>\n
\u672c\u6587\u4ecb\u7ecd\u4e86\u6807\u51c6\u4e32\u53e3\u63a5\u53e3\uff08SPI\uff09\u7684\u57fa\u672c\u7ed3\u6784\u3001\u7279\u70b9\u548c\u5e94\u7528\u3002<\/strong>SPI\u63a5\u53e3\u662f\u4e00\u79cd\u9ad8\u6548\u3001\u53ef\u9760\u548c\u7075\u6d3b\u7684\u63a5\u53e3\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u6570\u636e\u4f20\u8f93\u6a21\u5f0f\uff0c\u652f\u6301\u591a\u4e2a\u4ece\u673a\uff0c\u652f\u6301\u9ad8\u901f\u4f20\u8f93\uff0c\u652f\u6301\u591a\u79cd\u6570\u636e\u683c\u5f0f\uff0c\u5e76\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u591a\u4e2a\u5916\u90e8\u8bbe\u5907\u3002\u4f7f\u7528SPI\u63a5\u53e3\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u4e4b\u524d\uff0c\u9700\u8981\u5148\u8fdb\u884c\u786c\u4ef6\u8fde\u63a5\uff0c\u7136\u540e\u8fdb\u884c\u8f6f\u4ef6\u8bbe\u7f6e\uff0c\u786e\u5b9aSPI\u7684\u5de5\u4f5c\u6a21\u5f0f\u3001\u6570\u636e\u683c\u5f0f\u548c\u4f20\u8f93\u901f\u7387\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u6807\u51c6\u4e32\u53e3\u63a5\u53e3\uff08SerialPortInterface\uff0cSPI\uff09\u662f\u4e00\u79cd\u5de5\u4e1a\u6807\u51c6\u7684\u4e32\u884c\u6570\u636e\u4f20\u8f93\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5728\u4e24\u4e2a\u7535\u5b50\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u662f\u4e00\u79cd\u9ad8\u6548\u3001\u53ef\u9760\u548c\u7075\u6d3b\u7684\u63a5\u53e3\u6280\u672f\u3002\u672c<\/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":[69],"class_list":["post-39669","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-cktx"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/39669","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=39669"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/39669\/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=39669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=39669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=39669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}