{"id":59657,"date":"2023-11-01T21:48:37","date_gmt":"2023-11-01T13:48:37","guid":{"rendered":"\/\/www.dealsbon.com\/?p=59657"},"modified":"2023-11-01T21:48:37","modified_gmt":"2023-11-01T13:48:37","slug":"sdyuyj","status":"publish","type":"post","link":"\/\/www.dealsbon.com\/blog\/59657.html","title":{"rendered":"SPI\u5bf9\u5e94USB\u5f15\u811a"},"content":{"rendered":"

  SPI\uff08Serial Peripheral Interface\uff09\u662f\u4e00\u79cd\u4e32\u884c\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002USB\uff08Universal Serial Bus\uff09\u662f\u4e00\u79cd\u901a\u7528\u7684\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u652f\u6301\u5927\u91cf\u7684\u8bbe\u5907\u8fde\u63a5\u3002\u8fd9\u4e24\u79cd\u63a5\u53e3\u6709\u7740\u4e0d\u540c\u7684\u7279\u70b9\uff0c\u4f46\u662f\u5b83\u4eec\u4e5f\u6709\u7740\u76f8\u540c\u7684\u5f15\u811a\u3002\u672c\u6587\u5c06\u4ecb\u7ecdSPI\u548cUSB\u5f15\u811a\u7684\u5173\u7cfb\uff0c\u4ee5\u53ca\u5b83\u4eec\u4e4b\u95f4\u7684\u5dee\u5f02\u3002<\/p>\n

SPI\u5f15\u811a<\/h2>\n

  SPI\u5f15\u811a\u53ef\u4ee5\u5206\u4e3a4\u79cd\uff1aMISO\uff08Master In Slave Out\uff09\uff0cMOSI\uff08Master Out Slave In\uff09\uff0cSCK\uff08Serial Clock\uff09\u548cSS\uff08Slave Select\uff09\u3002MISO\u662f\u4ece\u4ece\u673a\u53d1\u9001\u6570\u636e\u7684\u5f15\u811a\uff0cMOSI\u662f\u4e3b\u673a\u53d1\u9001\u6570\u636e\u7684\u5f15\u811a\uff0cSCK\u662f\u65f6\u949f\u4fe1\u53f7\u7684\u5f15\u811a\uff0cSS\u662f\u4ece\u673a\u9009\u62e9\u4fe1\u53f7\u7684\u5f15\u811a\u3002\u8fd94\u4e2a\u5f15\u811a\u90fd\u662fSPI\u7684\u5fc5\u5907\u5f15\u811a\uff0c\u5b83\u4eec\u662fSPI\u7684\u6838\u5fc3\u90e8\u5206\uff0c\u6ca1\u6709\u5b83\u4eec\uff0cSPI\u5c31\u65e0\u6cd5\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n

USB\u5f15\u811a<\/h2>\n

  USB\u5f15\u811a\u4e5f\u53ef\u4ee5\u5206\u4e3a4\u79cd\uff1aVCC\uff08\u7535\u6e90\uff09\uff0cGND\uff08\u63a5\u5730\uff09\uff0cD+\uff08\u6570\u636e+\uff09\u548cD-\uff08\u6570\u636e-\uff09\u3002VCC\u548cGND\u662fUSB\u7535\u6e90\u7684\u5f15\u811a\uff0cD+\u548cD-\u662f\u6570\u636e\u4f20\u8f93\u7684\u5f15\u811a\u3002USB\u7684\u5f15\u811a\u4e5f\u662f\u5b83\u7684\u6838\u5fc3\u90e8\u5206\uff0c\u6ca1\u6709\u5b83\u4eec\uff0cUSB\u5c31\u65e0\u6cd5\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n

SPI\u4e0eUSB\u7684\u5f15\u811a\u5173\u7cfb<\/h2>\n

  SPI\u4e0eUSB\u7684\u5f15\u811a\u6709\u7740\u660e\u663e\u7684\u4e0d\u540c\uff0c\u4f46\u662f\u5b83\u4eec\u4e5f\u6709\u7740\u76f8\u540c\u7684\u5f15\u811a\u3002MISO\u548cMOSI\u5f15\u811a\uff0c\u5b83\u4eec\u5206\u522b\u5bf9\u5e94USB\u7684D+\u548cD-\u5f15\u811a\uff0c\u5b83\u4eec\u90fd\u662f\u7528\u6765\u4f20\u8f93\u6570\u636e\u7684\u3002SCK\u5f15\u811a\uff0c\u5b83\u5bf9\u5e94USB\u7684VCC\u5f15\u811a\uff0c\u5b83\u4e5f\u662f\u7528\u6765\u4f20\u8f93\u6570\u636e\u7684\u3002SS\u5f15\u811a\uff0c\u5b83\u5bf9\u5e94USB\u7684GND\u5f15\u811a\uff0c\u5b83\u4e5f\u662f\u7528\u6765\u4f20\u8f93\u6570\u636e\u7684\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  SPI\u5f15\u811a\u548cUSB\u5f15\u811a\u6709\u7740\u4e0d\u540c\u7684\u7279\u70b9\uff0c\u4f46\u662f\u5b83\u4eec\u4e5f\u6709\u7740\u76f8\u540c\u7684\u5f15\u811a\u3002<\/strong>MISO\u548cMOSI\u5f15\u811a\u5206\u522b\u5bf9\u5e94USB\u7684D+\u548cD-\u5f15\u811a\uff0cSCK\u5f15\u811a\u5bf9\u5e94USB\u7684VCC\u5f15\u811a\uff0cSS\u5f15\u811a\u5bf9\u5e94USB\u7684GND\u5f15\u811a\u3002\u5b83\u4eec\u4e4b\u95f4\u7684\u5173\u7cfb\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

SPI\uff08SerialPeripheralInterface\uff09\u662f\u4e00\u79cd\u4e32\u884c\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002USB\uff08UniversalSerialBus\uff09\u662f<\/p>\n","protected":false},"author":1,"featured_media":1839,"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-59657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-spitx"],"_links":{"self":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts\/59657"}],"collection":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/comments?post=59657"}],"version-history":[{"count":0,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts\/59657\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/media\/1839"}],"wp:attachment":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/media?parent=59657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/categories?post=59657"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/tags?post=59657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}