{"id":53,"date":"2010-06-07T21:40:03","date_gmt":"2010-06-07T13:40:03","guid":{"rendered":"http:\/\/kaoru.tech\/?p=53"},"modified":"2010-11-04T16:05:50","modified_gmt":"2010-11-04T08:05:50","slug":"spi-specification","status":"publish","type":"post","link":"http:\/\/kaoru.tech:7000\/wordpress\/?p=53","title":{"rendered":"SPI Specification"},"content":{"rendered":"<p><strong>SPI\u914d\u7f6e<\/strong><\/p>\n<p>SPI\u603b\u7ebf\u4f20\u8f93\u8fc7\u7a0b\u67092\u4e2a\u53c2\u6570\uff1aCPOL\u548cCHPA\u3002<\/p>\n<p>CPOL\u5b9a\u4e49\u4e86SPI Clock\u7684\u6781\u6027\u3002CPHA\u5b9a\u4e49\u4e86\u6570\u636e\u91c7\u6837\u548c\u9a71\u52a8\u7684\u65f6\u949f\u76f8\u4f4d\u3002<\/p>\n<p>CPOL\uff1d0\u8868\u793a\u7a7a\u95f2\u72b6\u6001\u4e0bClock\u7ba1\u811a\u4e3a\u903b\u8f910\u3002<\/p>\n<p style=\"padding-left: 30px;\">CPHA=0\uff0c\u6570\u636e\u5728Clock\u7684\u4e0a\u5347\u6cbf\u91c7\u6837\uff0cClock\u7684\u4e0b\u964d\u6cbf\u9a71\u52a8\u3002<\/p>\n<p style=\"padding-left: 30px;\">CPHA=1\uff0c\u6570\u636e\u5728Clock\u7684\u4e0b\u964d\u6cbf\u91c7\u6837\uff0cClock\u7684\u4e0a\u5347\u6cbf\u9a71\u52a8\u3002<\/p>\n<p>CPOL=1\u8868\u793a\u7a7a\u95f2\u72b6\u6001\u4e0bClock\u7ba1\u811a\u4e3a\u903b\u8f911\u3002<\/p>\n<p style=\"padding-left: 30px;\">CPHA=0\uff0c\u6570\u636e\u5728Clock\u7684\u4e0b\u964d\u6cbf\u91c7\u6837\uff0cClock\u7684\u4e0a\u5347\u6cbf\u9a71\u52a8\u3002<\/p>\n<p style=\"padding-left: 30px;\">CPHA=1\uff0c\u6570\u636e\u5728Clock\u7684\u4e0a\u5347\u6cbf\u91c7\u6837\uff0cClock\u7684\u4e0b\u964d\u6cbf\u9a71\u52a8\u3002<\/p>\n<p>\u7efc\u4e0a\uff0cCPHA\u4e3a0\u65f6\uff0c\u6570\u636e\u5728Clock\u7684\u7b2c\u4e00\u4e2a\u6cbf\u91c7\u6837\uff0cCPHA\u4e3a1\u65f6\uff0c\u6570\u636e\u5728Clock\u7684\u7b2c\u4e8c\u4e2a\u6cbf\u91c7\u6837\u3002<\/p>\n<p>\u6ce8\u610f\uff1aCPHA\u4e3a0\u65f6\uff0c\u6570\u636e\u5fc5\u987b\u65e9\u4e8e\u7b2c\u4e00\u4e2aClock\u5728\u603b\u7ebf\u4e0a\u7a33\u5b9a\u3002<\/p>\n<p><strong>SPI\u4f20\u8f93<\/strong><\/p>\n<p>\u7531\u4e8eSPI\u65f6\u949f\u662f\u7531\u4e3b\u8bbe\u5907\u63d0\u4f9b\u7684\u3002SPI\u4f20\u8f93\u662f\u53cc\u5411\u540c\u65f6\u8fdb\u884c\u7684\u3002\u4e3b\u673a\u5728\u7528\u6237\u5411\u6570\u636e\u5bc4\u5b58\u5668\u5199\u5165\u6570\u636e\u542f\u52a8SPI\u4f20\u8f93\uff0c\u4ece\u673a\u5982\u679c\u9700\u8981\u5411\u4e3b\u673a\u53d1\u9001\u6570\u636e\u5219\u9700\u8981\u5728\u603b\u7ebf\u7a7a\u95f2\u5373\u4e3b\u673a\u672a\u542f\u52a8SPI\u4f20\u8f93\u4e4b\u524d\u5411\u6570\u636e\u5bc4\u5b58\u5668\u5199\u5165\u6570\u636e\u3002<\/p>\n<p>REF\uff1a<a title=\"http:\/\/en.wikipedia.org\/wiki\/Serial_Peripheral_Interface_Bus\" href=\"http:\/\/en.wikipedia.org\/wiki\/Serial_Peripheral_Interface_Bus\" target=\"_blank\">http:\/\/en.wikipedia.org\/wiki\/Serial_Peripheral_Interface_Bus<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SPI\u914d\u7f6e SPI\u603b\u7ebf\u4f20\u8f93\u8fc7\u7a0b\u67092\u4e2a\u53c2\u6570\uff1aCPOL\u548cCHPA\u3002 CPOL\u5b9a\u4e49\u4e86SPI Clock\u7684\u6781\u6027\u3002CPHA\u5b9a\u4e49\u4e86\u6570\u636e\u91c7\u6837\u548c\u9a71\u52a8\u7684\u65f6\u949f\u76f8\u4f4d\u3002 CPOL\uff1d0\u8868\u793a\u7a7a\u95f2\u72b6\u6001\u4e0bClock\u7ba1\u811a\u4e3a\u903b\u8f910\u3002 CPHA=0\uff0c\u6570\u636e\u5728Clock\u7684\u4e0a\u5347\u6cbf\u91c7\u6837\uff0cClock\u7684\u4e0b\u964d\u6cbf\u9a71\u52a8\u3002 CPHA=1\uff0c\u6570\u636e\u5728Clock\u7684\u4e0b\u964d\u6cbf\u91c7\u6837\uff0cClock\u7684\u4e0a\u5347\u6cbf\u9a71\u52a8\u3002 CPOL=1\u8868\u793a\u7a7a\u95f2\u72b6\u6001\u4e0bClock\u7ba1\u811a\u4e3a\u903b\u8f911\u3002 CPHA=0\uff0c\u6570\u636e\u5728Clock\u7684\u4e0b\u964d\u6cbf\u91c7\u6837\uff0cClock\u7684\u4e0a\u5347\u6cbf\u9a71\u52a8\u3002 CPHA=1\uff0c\u6570\u636e\u5728Clock\u7684\u4e0a\u5347\u6cbf\u91c7\u6837\uff0cClock\u7684\u4e0b\u964d\u6cbf\u9a71\u52a8\u3002 \u7efc\u4e0a\uff0cCPHA\u4e3a0\u65f6\uff0c\u6570\u636e\u5728Clock\u7684\u7b2c\u4e00\u4e2a\u6cbf\u91c7\u6837\uff0cCPHA\u4e3a1\u65f6\uff0c\u6570\u636e\u5728Clock\u7684\u7b2c\u4e8c\u4e2a\u6cbf\u91c7\u6837\u3002 \u6ce8\u610f\uff1aCPHA\u4e3a0\u65f6\uff0c\u6570\u636e\u5fc5\u987b\u65e9\u4e8e\u7b2c\u4e00\u4e2aClock\u5728\u603b\u7ebf\u4e0a\u7a33\u5b9a\u3002 SPI\u4f20\u8f93 \u7531\u4e8eSPI\u65f6\u949f\u662f\u7531\u4e3b\u8bbe\u5907\u63d0\u4f9b\u7684\u3002SPI\u4f20\u8f93\u662f\u53cc\u5411\u540c\u65f6\u8fdb\u884c\u7684\u3002\u4e3b\u673a\u5728\u7528\u6237\u5411\u6570\u636e\u5bc4\u5b58\u5668\u5199\u5165\u6570\u636e\u542f\u52a8SPI\u4f20\u8f93\uff0c\u4ece\u673a\u5982\u679c\u9700\u8981\u5411\u4e3b\u673a\u53d1\u9001\u6570\u636e\u5219\u9700\u8981\u5728\u603b\u7ebf\u7a7a\u95f2\u5373\u4e3b\u673a\u672a\u542f\u52a8SPI\u4f20\u8f93\u4e4b\u524d\u5411\u6570\u636e\u5bc4\u5b58\u5668\u5199\u5165\u6570\u636e\u3002 REF\uff1ahttp:\/\/en.wikipedia.org\/wiki\/Serial_Peripheral_Interface_Bus<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[21],"tags":[211,22],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-specification","tag-specification","tag-spi"],"_links":{"self":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=53"}],"version-history":[{"count":5,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions"}],"predecessor-version":[{"id":56,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions\/56"}],"wp:attachment":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}