{"id":43485,"date":"2023-09-28T23:03:42","date_gmt":"2023-09-28T15:03:42","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=43485"},"modified":"2023-09-28T23:03:42","modified_gmt":"2023-09-28T15:03:42","slug":"scmsjssjcw","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/43485.html","title":{"rendered":"SPI\u4ece\u6a21\u5f0f\u63a5\u6536\u6570\u636e\u9519\u8bef"},"content":{"rendered":"
SPI\uff08Serial Peripheral Interface\uff09\u662f\u4e00\u79cd\u9ad8\u901f\u7684\u3001\u5168\u53cc\u5de5\u7684\u3001\u591a\u8def\u7684\u3001\u540c\u6b65\u7684\u3001\u4e32\u884c\u603b\u7ebf\uff0c\u5b83\u80fd\u591f\u5728\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u6570\u636e\u4f20\u8f93\u63a5\u53e3\u3002\u4f46\u662f\uff0c\u5728\u4f7f\u7528SPI\u8fdb\u884c\u6570\u636e\u63a5\u6536\u65f6\uff0c\u5982\u679c\u4e0d\u6b63\u786e\u4f7f\u7528SPI\u4ece\u6a21\u5f0f\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u63a5\u6536\u6570\u636e\u9519\u8bef\uff0c\u4ece\u800c\u5f71\u54cd\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u548c\u6b63\u5e38\u8fd0\u884c\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdSPI\u4ece\u6a21\u5f0f\u63a5\u6536\u6570\u636e\u9519\u8bef\u7684\u539f\u56e0\u548c\u89e3\u51b3\u529e\u6cd5\u3002<\/p>\n
SPI\u4ece\u6a21\u5f0f\u662f\u6307\u4ece\u8bbe\u5907\uff08slave\uff09\u4ece\u4e3b\u8bbe\u5907\uff08master\uff09\u63a5\u6536\u6570\u636e\u7684\u4e00\u79cd\u6a21\u5f0f\u3002\u4ece\u8bbe\u5907\u53ea\u80fd\u63a5\u6536\u4e3b\u8bbe\u5907\u53d1\u9001\u7684\u6570\u636e\uff0c\u4e0d\u80fd\u53d1\u9001\u6570\u636e\u7ed9\u4e3b\u8bbe\u5907\u3002<\/p>\n
SPI\u4ece\u6a21\u5f0f\u7684\u7279\u70b9\u662f\uff1a<\/p>\n
SPI\u4ece\u6a21\u5f0f\u63a5\u6536\u6570\u636e\u9519\u8bef\u7684\u539f\u56e0\u6709\u5f88\u591a\uff0c\u4e3b\u8981\u6709\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n
SPI\u4ece\u6a21\u5f0f\u7684\u65f6\u5e8f\u662f\u4e00\u4e2a\u5f88\u91cd\u8981\u7684\u56e0\u7d20\uff0c\u5982\u679c\u65f6\u5e8f\u4e0d\u6b63\u786e\uff0c\u5c31\u4f1a\u5bfc\u81f4\u63a5\u6536\u5230\u7684\u6570\u636e\u9519\u8bef\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528SPI\u4ece\u6a21\u5f0f\u65f6\uff0c\u5fc5\u987b\u786e\u4fdd\u65f6\u5e8f\u6b63\u786e\uff0c\u624d\u80fd\u6b63\u786e\u63a5\u6536\u6570\u636e\u3002<\/p>\n
\u5982\u679c\u6570\u636e\u683c\u5f0f\u4e0d\u6b63\u786e\uff0c\u4e5f\u4f1a\u5bfc\u81f4\u63a5\u6536\u5230\u7684\u6570\u636e\u9519\u8bef\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528SPI\u4ece\u6a21\u5f0f\u65f6\uff0c\u5fc5\u987b\u786e\u4fdd\u6570\u636e\u683c\u5f0f\u6b63\u786e\uff0c\u624d\u80fd\u6b63\u786e\u63a5\u6536\u6570\u636e\u3002<\/p>\n
\u5982\u679c\u4fe1\u53f7\u5f3a\u5ea6\u4e0d\u8db3\uff0c\u4e5f\u4f1a\u5bfc\u81f4\u63a5\u6536\u5230\u7684\u6570\u636e\u9519\u8bef\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528SPI\u4ece\u6a21\u5f0f\u65f6\uff0c\u5fc5\u987b\u786e\u4fdd\u4fe1\u53f7\u5f3a\u5ea6\u8db3\u591f\uff0c\u624d\u80fd\u6b63\u786e\u63a5\u6536\u6570\u636e\u3002<\/p>\n
\u8981\u89e3\u51b3SPI\u4ece\u6a21\u5f0f\u63a5\u6536\u6570\u636e\u9519\u8bef\u7684\u95ee\u9898\uff0c\u9996\u5148\u8981\u786e\u4fdd\u65f6\u5e8f\u6b63\u786e\u3001\u6570\u636e\u683c\u5f0f\u6b63\u786e\u3001\u4fe1\u53f7\u5f3a\u5ea6\u8db3\u591f\u3002\u5176\u6b21\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b\u5de5\u5177\u6765\u68c0\u67e5\u548c\u8c03\u8bd5SPI\u4ece\u6a21\u5f0f\u7684\u6027\u80fd\uff0c\u4ee5\u786e\u4fdd\u63a5\u6536\u5230\u7684\u6570\u636e\u662f\u6b63\u786e\u7684\u3002\u6b64\u5916\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b\u5b89\u5168\u673a\u5236\u6765\u786e\u4fdd\u63a5\u6536\u5230\u7684\u6570\u636e\u662f\u6b63\u786e\u7684\uff0c\u6bd4\u5982CRC\u6821\u9a8c\u3002<\/p>\n
\u603b\u4e4b\uff0c\u8981\u89e3\u51b3SPI\u4ece\u6a21\u5f0f\u63a5\u6536\u6570\u636e\u9519\u8bef\u7684\u95ee\u9898\uff0c\u5fc5\u987b\u786e\u4fdd\u65f6\u5e8f\u6b63\u786e\u3001\u6570\u636e\u683c\u5f0f\u6b63\u786e\u3001\u4fe1\u53f7\u5f3a\u5ea6\u8db3\u591f\uff0c\u5e76\u4f7f\u7528\u4e00\u4e9b\u5de5\u5177\u548c\u5b89\u5168\u673a\u5236\u6765\u68c0\u67e5\u548c\u786e\u4fdd\u63a5\u6536\u5230\u7684\u6570\u636e\u662f\u6b63\u786e\u7684\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":" SPI\uff08SerialPeripheralInterface\uff09\u662f\u4e00\u79cd\u9ad8\u901f\u7684\u3001\u5168\u53cc\u5de5\u7684\u3001\u591a\u8def\u7684\u3001\u540c\u6b65\u7684\u3001\u4e32\u884c\u603b\u7ebf\uff0c\u5b83\u80fd\u591f\u5728\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u6570\u636e\u4f20\u8f93\u63a5\u53e3\u3002<\/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":[288],"class_list":["post-43485","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-spitx"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/43485","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=43485"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/43485\/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=43485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=43485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=43485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}