{"id":77419,"date":"2024-01-15T21:51:02","date_gmt":"2024-01-15T13:51:02","guid":{"rendered":"\/\/www.viralrail.com\/?p=77419"},"modified":"2024-01-15T21:51:02","modified_gmt":"2024-01-15T13:51:02","slug":"ljsuitx","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/77419.html","title":{"rendered":"\u4e86\u89e3SPI\u3001UART\u3001i2C\u901a\u4fe1"},"content":{"rendered":"

  \u5728\u73b0\u4ee3\u7535\u5b50\u8bbe\u5907\u4e2d\uff0cSPI\u3001UART\u548ci2C\u901a\u4fe1\u534f\u8bae\u626e\u6f14\u7740\u81f3\u5173\u91cd\u8981\u7684\u89d2\u8272\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u8fd9\u4e09\u79cd\u901a\u4fe1\u534f\u8bae\u7684\u5de5\u4f5c\u539f\u7406\u548c\u5e94\u7528\u573a\u666f\uff0c\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u4e86\u89e3\u5b83\u4eec\u3002<\/p>\n

\u4ec0\u4e48\u662fSPI\u901a\u4fe1\uff1f<\/h2>\n

  SPI\uff08Serial Peripheral Interface\uff09\u662f\u4e00\u79cd\u540c\u6b65\u4e32\u884c\u6570\u636e\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u901a\u8fc7\u56db\u6839\u7ebf\u5b9e\u73b0\u5168\u53cc\u5de5\u901a\u4fe1\uff0c\u5305\u62ec\u4e00\u4e2a\u65f6\u949f\u7ebf\u3001\u4e00\u4e2a\u4e3b\u673a\u8f93\u51fa\u4ece\u673a\u8f93\u5165\u7684\u6570\u636e\u7ebf\u3001\u4e00\u4e2a\u4ece\u673a\u8f93\u51fa\u4e3b\u673a\u8f93\u5165\u7684\u6570\u636e\u7ebf\u4ee5\u53ca\u4e00\u4e2a\u7247\u9009\u7ebf\uff0c\u5e38\u7528\u4e8e\u8fde\u63a5\u5fae\u63a7\u5236\u5668\u4e0e\u5916\u56f4\u8bbe\u5907\u3002<\/p>\n

  SPI\u901a\u4fe1\u534f\u8bae\u7684\u5de5\u4f5c\u539f\u7406<\/h3>\n

  SPI\u901a\u4fe1\u534f\u8bae\u901a\u8fc7\u5728\u65f6\u949f\u4fe1\u53f7\u7684\u9a71\u52a8\u4e0b\uff0c\u4e3b\u8bbe\u5907\u548c\u4ece\u8bbe\u5907\u4e4b\u95f4\u4ea4\u6362\u6570\u636e\u3002\u5728\u6570\u636e\u4f20\u8f93\u65f6\uff0c\u4e3b\u8bbe\u5907\u4ea7\u751f\u65f6\u949f\u4fe1\u53f7\uff0c\u4ece\u8bbe\u5907\u5728\u65f6\u949f\u4fe1\u53f7\u7684\u4f5c\u7528\u4e0b\u901a\u8fc7\u6570\u636e\u7ebf\u53d1\u9001\u6216\u63a5\u6536\u6570\u636e\u3002<\/p>\n

  SPI\u901a\u4fe1\u7684\u5e94\u7528\u9886\u57df<\/h3>\n

  SPI\u901a\u4fe1<\/a>\u534f\u8bae\u7ecf\u5e38\u7528\u4e8e\u7247\u4e0a\u7cfb\u7edf\uff08SoC<\/a>\uff09\u4e0e\u5916\u56f4\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\uff0c\u6bd4\u5982\u95ea\u5b58\u3001\u4f20\u611f\u5668\u3001\u663e\u793a\u5668\u3001\u97f3\u9891\u7f16\u89e3\u7801\u5668\u7b49\u6a21\u5757\u7684\u63a7\u5236\u4e0e\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

\u4ec0\u4e48\u662fUART\u901a\u4fe1\uff1f<\/h2>\n

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u5f02\u6b65\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u9002\u7528\u4e8e\u70b9\u5bf9\u70b9\u901a\u4fe1<\/a>\u8fde\u63a5\uff0c\u5177\u6709\u7b80\u5355\u3001\u6613\u7528\u548c\u6210\u672c\u4f4e\u5ec9\u7684\u7279\u70b9\u3002<\/p>\n

  UART\u901a\u4fe1\u534f\u8bae\u7684\u5de5\u4f5c\u539f\u7406<\/h3>\n

  UART\u901a\u4fe1\u534f\u8bae\u4f7f\u7528\u4e24\u6839\u7ebf\uff08TX\u548cRX\uff09\u8fdb\u884c\u901a\u4fe1\uff0c\u5176\u4e2dTX\u7ebf\u7528\u4e8e\u6570\u636e\u7684\u53d1\u9001\uff0cRX\u7ebf\u7528\u4e8e\u6570\u636e\u7684\u63a5\u6536\uff0c\u901a\u8fc7\u6ce2\u7279\u7387\u6765\u540c\u6b65\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

  UART\u901a\u4fe1\u7684\u5e94\u7528\u9886\u57df<\/h3>\n

  UART\u901a\u4fe1\u5e7f\u6cdb\u5e94\u7528\u4e8e\u4e32\u53e3\u901a\u4fe1\u3001RS-232\u3001RS-485\u3001MIDI\u97f3\u4e50\u8bbe\u5907\u3001GPS\u6a21\u5757\u3001\u84dd\u7259\u6a21\u5757\u7b49\u9700\u8981\u7b80\u5355\u800c\u53ef\u9760\u901a\u4fe1\u7684\u573a\u666f\u3002<\/p>\n

\u4ec0\u4e48\u662fi2C\u901a\u4fe1\uff1f<\/h2>\n

  i2C\uff08Inter-Integrated Circuit\uff09\u901a\u4fe1\u662f\u4e00\u79cd\u4e32\u884c\u53cc\u5411\u603b\u7ebf\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u9700\u8981\u4e24\u6839\u7ebf\uff08\u65f6\u949f\u7ebf\u548c\u6570\u636e\u7ebf\uff09\u8fdb\u884c\u901a\u4fe1\uff0c\u652f\u6301\u591a\u4e3b\u673a\u3001\u591a\u4ece\u673a\u7684\u901a\u4fe1\u7ed3\u6784\u3002<\/p>\n

  i2C\u901a\u4fe1\u534f\u8bae\u7684\u5de5\u4f5c\u539f\u7406<\/h3>\n

  i2C\u901a\u4fe1\u534f\u8bae\u901a\u8fc7\u65f6\u949f\u540c\u6b65\u65b9\u5f0f\u5b9e\u73b0\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\uff0c\u6bcf\u4e2a\u8bbe\u5907\u90fd\u6709\u4e00\u4e2a\u552f\u4e00\u7684\u5730\u5740\uff0c\u53ef\u4ee5\u5728\u540c\u4e00\u4e2a\u603b\u7ebf\u4e0a\u8fdb\u884c\u901a\u4fe1\u3002<\/p>\n

  i2C\u901a\u4fe1\u7684\u5e94\u7528\u9886\u57df<\/h3>\n

  i2C\u901a\u4fe1\u5e38\u7528\u4e8e\u8fde\u63a5\u4f20\u611f\u5668\u3001\u5b58\u50a8\u5668\u3001ADC\/DAC\u8f6c\u6362\u5668\u3001\u6e29\u5ea6\u4f20\u611f\u5668\u7b49\u9700\u8981\u4e0e\u5fae\u63a7\u5236\u5668\u8fdb\u884c\u901a\u4fe1\u7684\u573a\u666f\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u901a\u8fc7\u672c\u6587\u7684\u4ecb\u7ecd\uff0c\u6211\u4eec\u4e86\u89e3\u4e86SPI\u3001UART\u548ci2C\u901a\u4fe1\u534f\u8bae\u7684\u5de5\u4f5c\u539f\u7406\u548c\u5404\u81ea\u7684\u5e94\u7528\u9886\u57df\u3002<\/strong>\u8fd9\u4e09\u79cd\u901a\u4fe1\u534f\u8bae\u5728\u4e0d\u540c\u573a\u666f\u4e0b\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\uff0c\u5e76\u4e3a\u7535\u5b50\u8bbe\u5907\u4e4b\u95f4\u7684\u7a33\u5b9a\u6570\u636e\u4f20\u8f93\u63d0\u4f9b\u4e86\u53ef\u9760\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728\u73b0\u4ee3\u7535\u5b50\u8bbe\u5907\u4e2d\uff0cSPI\u3001UART\u548ci2C\u901a\u4fe1\u534f\u8bae\u626e\u6f14\u7740\u81f3\u5173\u91cd\u8981\u7684\u89d2\u8272\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u8fd9\u4e09\u79cd\u901a\u4fe1\u534f\u8bae\u7684\u5de5\u4f5c\u539f\u7406\u548c\u5e94\u7528\u573a\u666f\uff0c\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u4e86\u89e3\u5b83\u4eec\u3002\u4ec0\u4e48\u662fSPI\u901a\u4fe1\uff1f<\/p>\n","protected":false},"author":1,"featured_media":64183,"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":[145],"class_list":["post-77419","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-uart"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/77419"}],"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=77419"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/77419\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/64183"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=77419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=77419"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=77419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}