{"id":67347,"date":"2023-12-21T02:59:55","date_gmt":"2023-12-20T18:59:55","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=67347"},"modified":"2024-12-04T10:15:57","modified_gmt":"2024-12-04T02:15:57","slug":"ljsihuszzxdqb","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/67347.html","title":{"rendered":"\u4e86\u89e3SPI\u3001I2C\u548cUART\u4e09\u79cd\u603b\u7ebf\u7684\u533a\u522b"},"content":{"rendered":"

  \u5728\u8ba1\u7b97\u673a\u79d1\u5b66\u548c\u7535\u5b50\u5de5\u7a0b<\/a>\u9886\u57df\uff0c\u901a\u4fe1\u603b\u7ebf\u626e\u6f14\u7740\u5173\u952e\u7684\u89d2\u8272\u3002\u4e86\u89e3SPI\u3001I2C\u548cUART\u4e09\u79cd\u603b\u7ebf\u4e4b\u95f4\u7684\u533a\u522b\u5bf9\u4e8e\u7406\u89e3\u8bbe\u5907\u95f4\u901a\u4fe1\u7684\u65b9\u5f0f\u548c\u4f18\u52a3\u81f3\u5173\u91cd\u8981\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u8fd9\u4e09\u79cd\u603b\u7ebf\u7684\u7279\u6027\u548c\u533a\u522b\uff0c\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3\u5b83\u4eec\u3002<\/p>\n

SPI\u603b\u7ebf<\/h2>\n

  SPI\uff08Serial Peripheral Interface\uff09\u662f\u4e00\u79cd\u5168\u53cc\u5de5\u3001\u540c\u6b65\u3001\u4e32\u884c\u6570\u636e\u4f20\u8f93\u7684\u901a\u4fe1\u534f\u8bae\u3002\u5b83\u901a\u5e38\u7531\u4e00\u4e2a\u4e3b\u8bbe\u5907\u548c\u4e00\u4e2a\u6216\u591a\u4e2a\u4ece\u8bbe\u5907\u7ec4\u6210\u3002SPI\u6709\u56db\u6839\u7ebf\uff1a\u65f6\u949f\u7ebf\uff08SCLK\uff09\u3001\u4e3b\u8f93\u5165\/\u4ece\u8f93\u51fa\u7ebf\uff08MISO\uff09\u3001\u4e3b\u8f93\u51fa\/\u4ece\u8f93\u5165\u7ebf\uff08MOSI\uff09\u548c\u7247\u9009\u7ebf\uff08SS\uff09\u3002<\/p>\n

  SPI\u603b\u7ebf\u7684\u4f18\u70b9<\/h3>\n

  SPI\u603b\u7ebf\u4f20\u8f93\u901f\u5ea6\u5feb\uff0c\u9002\u5408\u5bf9\u65f6\u5e8f\u8981\u6c42\u4e25\u683c\u7684\u5e94\u7528\u3002\u540c\u65f6\uff0cSPI\u63a5\u53e3<\/a>\u7075\u6d3b\uff0c\u53ef\u4ee5\u652f\u6301\u9ad8\u8fbe8\u4e2a\u4ece\u8bbe\u5907\u3002<\/p>\n

  SPI\u603b\u7ebf\u7684\u7f3a\u70b9<\/h3>\n

  \u7136\u800c\uff0cSPI\u603b\u7ebf\u5728\u7ebf\u7684\u6570\u91cf\u53d7\u9650\uff0c\u4e14\u5bf9\u4e8e\u5927\u89c4\u6a21\u7cfb\u7edf\u4e0d\u591f\u7075\u6d3b\u3002\u53e6\u5916\uff0cSPI\u603b\u7ebf\u4e00\u822c\u9700\u89814\u6839\u4ee5\u4e0a\u7684\u4fe1\u53f7\u7ebf\uff0c\u76f8\u6bd4I2C\u548cUART\u603b\u7ebf\uff0c\u63a5\u7ebf\u590d\u6742\u5ea6\u66f4\u9ad8\u3002<\/p>\n

I2C\u603b\u7ebf<\/h2>\n

  I2C\uff08Inter-Integrated Circuit\uff09\u603b\u7ebf\u662f\u4e00\u79cd\u7528\u4e8e\u8fde\u63a5\u96c6\u6210\u7535\u8def\u7684\u4e32\u884c\u901a\u4fe1\u603b\u7ebf\u3002\u5b83\u4f7f\u7528\u591a\u4e3b\u673a\u3001\u591a\u4ece\u673a\u7684\u67b6\u6784\uff0c\u5e76\u4e14\u91c7\u7528\u5f00\u6f0f\u6216\u4e09\u6001\u8f93\u51fa\u7535\u5e73\uff0c\u80fd\u591f\u652f\u6301\u591a\u4e2a\u8bbe\u5907\u8fde\u63a5\u5728\u540c\u4e00\u603b\u7ebf\u4e0a\u3002<\/p>\n

  I2C\u603b\u7ebf\u7684\u4f18\u52bf<\/h3>\n

  I2C\u603b\u7ebf\u4f7f\u7528\u53cc\u7ebf\u4f20\u8f93\u6570\u636e\uff0c\u53ef\u4ee5\u8fde\u63a5\u591a\u4e2a\u8bbe\u5907\uff0c\u5360\u7528\u5f15\u811a\u5c11\uff0c\u9002\u7528\u4e8e\u8d44\u6e90\u6709\u9650\u7684\u5e94\u7528\u3002\u6b64\u5916\uff0cI2C\u603b\u7ebf\u901f\u5ea6\u8f83\u5feb\uff0c\u4f20\u8f93\u6548\u7387\u9ad8\u3002<\/p>\n

  I2C\u603b\u7ebf\u7684\u52a3\u52bf<\/h3>\n

  \u7136\u800c\uff0cI2C\u603b\u7ebf\u5728\u4f20\u8f93\u8ddd\u79bb\u65b9\u9762\u8f83\u77ed\uff0c\u4f20\u8f93\u901f\u7387\u53d7\u9650\uff0c\u4e14\u5bf9\u4e8e\u7535\u6c14\u7279\u6027\u8981\u6c42\u8f83\u9ad8\u3002<\/p>\n

UART\u603b\u7ebf<\/h2>\n

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u603b\u7ebf\u662f\u4e00\u79cd\u5f02\u6b65\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5e38\u7528\u4e8e\u5355\u7247\u673a\u4e0e\u5916\u8bbe\u8bbe\u5907\u7684\u901a\u4fe1\u4e2d\u3002\u5b83\u91c7\u7528\u4e00\u5bf9\u4f20\u8f93\u7ebf\uff0c\u5206\u522b\u7528\u4e8e\u6570\u636e\u53d1\u9001\u548c\u63a5\u6536\u3002<\/p>\n

  UART\u603b\u7ebf\u7684\u4f18\u52bf<\/h3>\n

  UART\u603b\u7ebf\u914d\u7f6e\u65b9\u4fbf\uff0c\u9002\u7528\u4e8e\u957f\u8ddd\u79bb\u901a\u4fe1\uff0c\u5e76\u80fd\u591f\u7075\u6d3b\u5730\u9002\u5e94\u4e0d\u540c\u7684\u6ce2\u7279\u7387\u548c\u6570\u636e\u683c\u5f0f\u3002<\/p>\n

  UART\u603b\u7ebf\u7684\u52a3\u52bf<\/h3>\n

  \u4f46\u662f\uff0cUART\u603b\u7ebf\u53ea\u80fd\u5b9e\u73b0\u70b9\u5bf9\u70b9\u901a\u4fe1<\/a>\uff0c\u4e0d\u80fd\u76f4\u63a5\u652f\u6301\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\uff0c\u5e76\u4e14\u6ce2\u7279\u7387\u8f83\u4f4e\uff0c\u4f20\u8f93\u901f\u5ea6\u76f8\u5bf9\u8f83\u6162\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u4ece\u4e0a\u8ff0\u5bf9SPI\u3001I2C\u548cUART\u603b\u7ebf\u7684\u4ecb\u7ecd\u53ef\u4ee5\u770b\u51fa\uff0c\u5b83\u4eec\u5404\u6709\u81ea\u8eab\u7684\u4f18\u52bf\u548c\u52a3\u52bf\u3002<\/strong>SPI\u603b\u7ebf\u9002\u5408\u901f\u5ea6\u8981\u6c42\u9ad8\u3001\u8bbe\u5907\u6570\u91cf\u5c11\u7684\u5e94\u7528\uff1bI2C\u603b\u7ebf\u9002\u7528\u4e8e\u8fde\u63a5\u591a\u4e2a\u8bbe\u5907\u3001\u8d44\u6e90\u6709\u9650\u7684\u5e94\u7528\uff1bUART\u603b\u7ebf\u9002\u7528\u4e8e\u957f\u8ddd\u79bb\u901a\u4fe1\u548c\u6ce2\u7279\u7387\u7075\u6d3b\u53d8\u5316\u7684\u5e94\u7528\u3002\u9009\u62e9\u5408\u9002\u7684\u603b\u7ebf\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u5e94\u7528\u573a\u666f\u548c\u9700\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728\u8ba1\u7b97\u673a\u79d1\u5b66\u548c\u7535\u5b50\u5de5\u7a0b\u9886\u57df\uff0c\u901a\u4fe1\u603b\u7ebf\u626e\u6f14\u7740\u5173\u952e\u7684\u89d2\u8272\u3002\u4e86\u89e3SPI\u3001I2C\u548cUART\u4e09\u79cd\u603b\u7ebf\u4e4b\u95f4\u7684\u533a\u522b\u5bf9\u4e8e\u7406\u89e3\u8bbe\u5907\u95f4\u901a\u4fe1\u7684\u65b9\u5f0f\u548c\u4f18\u52a3\u81f3\u5173\u91cd\u8981\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u8fd9\u4e09\u79cd\u603b\u7ebf\u7684\u7279\u6027<\/p>\n","protected":false},"author":1,"featured_media":64231,"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,145],"class_list":["post-67347","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-i2c","tag-uart"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/67347","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=67347"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/67347\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/64231"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=67347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=67347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=67347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}