{"id":74910,"date":"2024-01-11T16:39:00","date_gmt":"2024-01-11T08:39:00","guid":{"rendered":"\/\/www.viralrail.com\/?p=74910"},"modified":"2024-01-11T16:39:00","modified_gmt":"2024-01-11T08:39:00","slug":"txxyuihs","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/74910.html","title":{"rendered":"\u901a\u4fe1\u534f\u8bae\uff1aUART\u3001I2C\u548cSPI"},"content":{"rendered":"

  \u4eca\u5929\u6211\u4eec\u5c06\u4ecb\u7ecd\u901a\u4fe1\u534f\u8bae\u4e2d\u7684UART\u3001I2C\u548cSPI\uff0c\u5e76\u63a2\u8ba8\u5b83\u4eec\u5728\u73b0\u4ee3\u7535\u5b50\u8bbe\u5907\u4e2d\u7684\u5e94\u7528\u3002<\/p>\n

UART\u901a\u4fe1\u534f\u8bae<\/h2>\n

  \u4ec0\u4e48\u662fUART<\/h3>\n

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\uff0c\u901a\u7528\u5f02\u6b65\u6536\u53d1\u5668\uff0c\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\u3002\u5b83\u901a\u8fc7\u53d1\u9001\u548c\u63a5\u6536\u7535\u5e73\u6765\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

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

  UART<\/a>\u534f\u8bae\u5e38\u7528\u4e8e\u8fde\u63a5\u5fae\u63a7\u5236\u5668\u548c\u5916\u90e8\u8bbe\u5907\uff0c\u5982\u4f20\u611f\u5668\u3001\u663e\u793a\u5668\u3001GPS\u6a21\u5757\u7b49\u3002\u5176\u7b80\u5355\u6613\u7528\u7684\u7279\u70b9\u5728\u5de5\u4e1a\u63a7\u5236\u3001\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7b49\u9886\u57df\u5f97\u5230\u5e7f\u6cdb\u5e94\u7528\u3002<\/p>\n

I2C\u901a\u4fe1\u534f\u8bae<\/h2>\n

  \u4ec0\u4e48\u662fI2C<\/h3>\n

  I2C\uff08Inter-Integrated Circuit\uff09\uff0c\u4e92\u8054\u96c6\u6210\u7535\u8def\uff0c\u662f\u4e00\u79cd\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u9002\u7528\u4e8e\u8fde\u63a5\u591a\u4e2a\u5fae\u63a7\u5236\u5668\u548c\u5916\u8bbe\u3002<\/p>\n

  I2C\u7684\u5de5\u4f5c\u539f\u7406<\/h3>\n

  I2C\u4f7f\u7528\u4e24\u6839\u7ebf\u8def\u8fdb\u884c\u6570\u636e\u4f20\u8f93\uff1a\u4e32\u884c\u6570\u636e\u7ebf\uff08SDA\uff09\u548c\u4e32\u884c\u65f6\u949f\u7ebf\uff08SCL\uff09\u3002\u5b83\u5177\u6709\u591a\u4e3b\u673a\u548c\u591a\u4ece\u673a\u7684\u7279\u70b9\uff0c\u80fd\u591f\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u5feb\u901f\u3001\u53ef\u9760\u901a\u4fe1\u3002<\/p>\n

SPI\u901a\u4fe1<\/a>\u534f\u8bae<\/h2>\n

  \u4ec0\u4e48\u662fSPI<\/h3>\n

  SPI\uff08Serial Peripheral Interface\uff09\uff0c\u4e32\u884c\u5916\u56f4\u63a5\u53e3\uff0c\u662f\u4e00\u79cd\u5168\u53cc\u5de5<\/a>\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u652f\u6301\u9ad8\u901f\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

  SPI\u7684\u7279\u70b9<\/h3>\n

  SPI\u4f7f\u7528\u56db\u6839\u7ebf\u8def\u8fdb\u884c\u901a\u4fe1\uff1a\u65f6\u949f\u7ebf\uff08SCLK\uff09\u3001\u6570\u636e\u8f93\u5165\u7ebf\uff08MISO\uff09\u3001\u6570\u636e\u8f93\u51fa\u7ebf\uff08MOSI\uff09\u548c\u7247\u9009\u7ebf\uff08SS\uff09\u3002\u5b83\u9002\u7528\u4e8e\u8981\u6c42\u9ad8\u901f\u3001\u77ed\u8ddd\u79bb\u901a\u4fe1\u7684\u573a\u666f\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  UART\u3001I2C\u548cSPI\u662f\u73b0\u4ee3\u7535\u5b50\u8bbe\u5907\u4e2d\u5e38\u89c1\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u4eec\u5206\u522b\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u573a\u666f\u548c\u9700\u6c42\u3002<\/strong>\u4e86\u89e3\u548c\u638c\u63e1\u8fd9\u4e9b\u901a\u4fe1\u534f\u8bae\uff0c\u5c06\u6709\u52a9\u4e8e\u8bbe\u8ba1\u548c\u5f00\u53d1\u66f4\u52a0\u9ad8\u6548\u3001\u53ef\u9760\u7684\u7535\u5b50\u8bbe\u5907\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u672c\u6587\u5c06\u4ecb\u7ecd\u901a\u4fe1\u534f\u8bae\u4e2d\u7684UART\u3001I2C\u548cSPI\uff0c\u5e76\u63a2\u8ba8\u5b83\u4eec\u5728\u73b0\u4ee3\u7535\u5b50\u8bbe\u5907\u4e2d\u7684\u5e94\u7528\u3002UART\u901a\u4fe1\u534f\u8bae\u4ec0\u4e48\u662fUARTUART\uff08Universal<\/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":[137],"class_list":["post-74910","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-txxy"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/74910"}],"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=74910"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/74910\/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=74910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=74910"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=74910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}