{"id":305,"date":"2024-09-05T15:40:03","date_gmt":"2024-09-05T07:40:03","guid":{"rendered":"https:\/\/www.bertzzz-horizon.xyz\/?p=305"},"modified":"2024-09-16T15:12:44","modified_gmt":"2024-09-16T07:12:44","slug":"%e5%85%b3%e4%ba%8ei3c%e7%9a%84%e4%b8%80%e7%82%b9%e7%a2%8e%e7%a2%8e%e5%bf%b5","status":"publish","type":"post","link":"https:\/\/www.bertzzz-horizon.xyz\/?p=305","title":{"rendered":"\u5173\u4e8eI3C\u7684\u4e00\u70b9\u788e\u788e\u5ff5"},"content":{"rendered":"\n<p class=\"has-text-align-justify\">\u5148\u7c98\u8d34\u4e00\u6bb5I3C\u7684\u4ecb\u7ecd\u5728\u8fd9\u91cc\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\">\n<p>A medium-speed, utility and control bus interface for connecting peripherals to an application processor in a range of mobile, IoT and automotive applications.<\/p>\n<cite>\u2014\u2014\u597d\u5427\uff0c\u597d\u50cf\u5bf9\u4e8e\u7406\u89e3I3C\u4e00\u70b9\u5e2e\u52a9\u4e5f\u6ca1\u6709\u2026\u2026<\/cite><\/blockquote>\n\n\n\n<p>\u5728\u4ecb\u7ecd\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u89c1I3C\u6709\u5982\u4e0b\u4f18\u70b9\uff1a<\/p>\n\n\n\n<ul>\n<li>\u6574\u5408\u4e86I2C\u4e0eSPI\u7684\u4e3b\u8981\u529f\u80fd<\/li>\n\n\n\n<li>\u8282\u7701\u5f15\u811a<\/li>\n\n\n\n<li>\u9ad8\u6027\u80fd<\/li>\n\n\n\n<li>\u529f\u8017\u4f4e<\/li>\n\n\n\n<li>\u7535\u78c1\u5e72\u6270\u4f4e<\/li>\n\n\n\n<li>\u5411\u540e\u517c\u5bb9I2C<\/li>\n<\/ul>\n\n\n\n<p>I3C\u4e3a\u4ec0\u4e48\u80fd\u8282\u7701\u5f15\u811a\uff1f\u5feb\u901f\u770b\u4e00\u773c\u624b\u518c\u5c31\u80fd\u770b\u89c1\u5982\u4e0b\u63cf\u8ff0\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\">\n<p>In-band interrupt to reduce # of GPIO wires on SoC, as # of sensors increase on the mobile devices.<\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"344\" src=\"https:\/\/www.bertzzz-horizon.xyz\/wordpress\/wp-content\/uploads\/2024\/09\/interrupt-1024x344.jpg\" alt=\"\" class=\"wp-image-307\" srcset=\"https:\/\/www.bertzzz-horizon.xyz\/wordpress\/wp-content\/uploads\/2024\/09\/interrupt-1024x344.jpg 1024w, https:\/\/www.bertzzz-horizon.xyz\/wordpress\/wp-content\/uploads\/2024\/09\/interrupt-300x101.jpg 300w, https:\/\/www.bertzzz-horizon.xyz\/wordpress\/wp-content\/uploads\/2024\/09\/interrupt-768x258.jpg 768w, https:\/\/www.bertzzz-horizon.xyz\/wordpress\/wp-content\/uploads\/2024\/09\/interrupt-1536x516.jpg 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u53ef\u4ee5\u770b\u89c1\uff0c\u8fd9\u91cc\u63d0\u5230\u4e86I3C\u7684\u5e26\u5185\u4e2d\u65ad\u529f\u80fd\u3002\u6211\u4eec\u90fd\u77e5\u9053\uff0cI2C\u662f\u6ca1\u6709\u5e26\u5185\u4e2d\u65ad\u7684\uff0c\u5982\u679c\u9700\u8981\u5b9e\u73b0\u8fd9\u4e2a\u529f\u80fd\u90a3\u5c31\u5f97\u518d\u62c9\u4e00\u6839\u4e2d\u65ad\u7ebf\u51fa\u6765\u4e86\uff08\u5982\u4e0a\u56fe\uff09\uff0c\u8fd9\u6837\u5fc5\u7136\u5bfc\u81f4\u5f15\u811a\u5360\u7528\u592a\u591a\u3002I3C\u662f\u600e\u4e48\u5b9e\u73b0\u8be5\u529f\u80fd\u7684\uff1f\u7ee7\u7eed\u67e5\u9605\u624b\u518c\uff0c\u6211\u4eec\u53d1\u73b0\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\">\n<p>In-Band Interrupt (IBI)<br>\u2212Slaves can trigger the master by pulling SDA low during a quiet period and the master will start its SCL (start condition)<br>\u2212Slaves drive their own address during address header; 0s win, so lowest number slave wins the arbitration and Master can ACK\/NACK the IBI<\/p>\n<\/blockquote>\n\n\n\n<p>\u4e5f\u5c31\u662f\u8bf4\uff0c\u4e00\u65e6\u4ece\u673a\u9700\u8981\u53d1\u9001\u4e2d\u65ad\uff0c\u5c31\u76f4\u63a5\u62c9\u4f4eSDA\uff0c\u901a\u77e5\u4e3b\u673a\u3002\u5728\u624b\u518c\u4e4b\u524d\u7684\u63cf\u8ff0\u4e2d\uff0c\u6211\u4eec\u4e5f\u80fd\u8bfb\u5230SDA\u6709\u4e24\u79cd\u8f93\u51fa\u65b9\u5f0f\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\">\n<p>\u2026\u2026SDA Open-Drain and push-pull.<\/p>\n<\/blockquote>\n\n\n\n<p>\u4e3a\u4ec0\u4e48\u5462\uff1f\u56e0\u4e3a\u5728\u53d1\u9001\u4e2d\u65ad\uff0cSDA\u88ab\u62c9\u4f4e\u65f6\uff0c\u63a8\u633d\u8f93\u51fa\u529f\u7387\u8f83\u5927\uff0c\u53ef\u80fd\u76f4\u63a5\u7ed9\u82af\u7247\u6a44\u6984\uff08\uff09\uff0c\u6b64\u65f6\u5c31\u8981\u5207\u6362\u5230\u53ef\u4ee5\u7ebf\u4e0e\u7684\u5f00\u6f0f\u8f93\u51fa\u4e86\u3002<\/p>\n\n\n\n<p>\u81f3\u4e8e\u517c\u5bb9I2C\u5176\u5b9e\u975e\u5e38\u597d\u7406\u89e3\u3002I2C\u5de5\u4f5c\u5728\u5f00\u6f0f\u6a21\u5f0f\u4e0b\uff0c\u6b64\u65f6\u7531\u4e8e\u9a71\u52a8\u80fd\u529b\u5f31\uff0c\u9ad8\u4f4e\u7535\u5e73\u662f\u901a\u8fc7\u4e0a\u62c9\u7535\u963b\u5b9e\u73b0\u7684\uff0c\u56e0\u6b64\u5916\u63a5\u4e0a\u62c9\u7535\u963b\u5373\u53ef\u3002\u662f\u4e0d\u662f\u975e\u5e38\u7b80\u5355\u5462\uff08\uff09\u770b\u5230\u8fd9\u91cc\uff0c\u4e0a\u9762\u63d0\u5230\u529f\u8017\u4f4e\u7684\u7279\u6027\u5176\u5b9e\u4e5f\u5c31\u597d\u7406\u89e3\u4e86\u2014\u2014\u5c11\u4e86\u4e0a\u62c9\u7535\u963b\u6d88\u8017\uff0c\u81ea\u7136\u5c31\u4f4e\u4e86\u3002<\/p>\n\n\n\n<p>\u5176\u5b9e\u6211\u4eec\u8fd8\u80fd\u627e\u5230\u4e00\u4e2a\u6709\u8da3\u7684\u7279\u6027\u2014\u2014\u52a8\u6001\u5206\u914d\u5730\u5740\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\">\n<p>Dynamically assigned during initialization.<br>Slaves may have i2c static address at start (work on i2c buses)<\/p>\n<\/blockquote>\n\n\n\n<p>\u8fd9\u4e2a\u5012\u6ca1\u4ec0\u4e48\u597d\u7279\u522b\u8bf4\u7684\uff0c\u4f46\u786e\u5b9e\u662f\u4e2a\u65b0\u7684\u800c\u4e14\u633a\u6709\u7528\u7684\u7279\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5148\u7c98\u8d34\u4e00\u6bb5I3C\u7684\u4ecb\u7ecd\u5728\u8fd9\u91cc\u3002 A medium-speed, utility and control bus [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":310,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[6],"tags":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/www.bertzzz-horizon.xyz\/wordpress\/wp-content\/uploads\/2024\/09\/\u672a\u6807\u9898-1.jpg","_links":{"self":[{"href":"https:\/\/www.bertzzz-horizon.xyz\/index.php?rest_route=\/wp\/v2\/posts\/305"}],"collection":[{"href":"https:\/\/www.bertzzz-horizon.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bertzzz-horizon.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bertzzz-horizon.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bertzzz-horizon.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=305"}],"version-history":[{"count":5,"href":"https:\/\/www.bertzzz-horizon.xyz\/index.php?rest_route=\/wp\/v2\/posts\/305\/revisions"}],"predecessor-version":[{"id":312,"href":"https:\/\/www.bertzzz-horizon.xyz\/index.php?rest_route=\/wp\/v2\/posts\/305\/revisions\/312"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bertzzz-horizon.xyz\/index.php?rest_route=\/wp\/v2\/media\/310"}],"wp:attachment":[{"href":"https:\/\/www.bertzzz-horizon.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bertzzz-horizon.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bertzzz-horizon.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}