{"id":9730,"date":"2025-08-18T23:08:00","date_gmt":"2025-08-18T14:08:00","guid":{"rendered":"http:\/\/hdmr.org\/d\/?p=9730#"},"modified":"2025-08-19T05:08:36","modified_gmt":"2025-08-18T20:08:36","slug":"wp-9730","status":"publish","type":"post","link":"http:\/\/hdmr.org\/d\/wp-9730","title":{"rendered":"I2C\u901a\u4fe1\u3092\u5272\u308a\u8fbc\u307f\u3067\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u3059\u308b"},"content":{"rendered":"<p>\u958b\u767a\u4e2d\u306e\u88fd\u54c1\u3067\u30de\u30a4\u30b3\u30f3\u306b\u63a5\u7d9a\u3059\u308b\u3042\u308b\u6a5f\u5668\u304cI2C\u63a5\u7d9a\u3067\u3001<\/p>\n<p>\u52b9\u7387\u3088\u304f\u901a\u4fe1\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u5272\u308a\u8fbc\u307f\u51e6\u7406\u3067\u3084\u3089\u306a\u3044\u3068\u306a\u3001<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3044\u308d\u3044\u308d\u8abf\u3079\u3066\u3044\u305f\u306e\u3060\u304c\u3001\u3061\u3087\u3063\u3068\u8907\u96d1\u3060\u3063\u305f\u3002<\/p>\n<hr>\n<p>\u305d\u3082\u305d\u3082I2C\u3063\u3066\u306a\u3093\u3084\u306d\u3093\u3068\u3044\u3046\u8a71\u3067\u3059\u304c\u3002<\/p>\n<p><a href=\"https:\/\/www.rohm.co.jp\/electronics-basics\/micon\/mi_what7\">I2C\u3068\u306f (ROHM)<\/a><\/p>\n<p>SCL\u3068SDA\u306e2\u3064\u306e\u901a\u4fe1\u7dda\u3067\u8907\u6570\u306e\u6a5f\u5668\u3092\u3076\u3089\u3055\u3052\u3066\u901a\u4fe1\u3067\u304d\u308b\u3068\u3002<\/p>\n<p>\u305f\u3060\u3001\u4eca\u56de\u306e\u5834\u5408\u3001\u3053\u306e\u69cb\u6210\u306b\u305d\u3053\u307e\u3067\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308b\u308f\u3051\u3067\u3082\u306a\u3044\u3002<\/p>\n<p>\u63a5\u7d9a\u5148\u306e\u6a5f\u5668\u304c1\u3064\u3067\u3001\u3055\u3089\u306b\u8a00\u3048\u3070\u9001\u4fe1\u4e00\u8fba\u5012\u3060\u304b\u3089\u3067\u3042\u308b\u3002<\/p>\n<hr>\n<p>I2C\u306e\u5178\u578b\u7684\u306a\u4f7f\u3044\u65b9\u3068\u3057\u3066\u306f\u3001\u6e29\u5ea6\u30bb\u30f3\u30b5\u306a\u3069\u3092\u8907\u6570\u3076\u3089\u4e0b\u3052\u3066\u3001<\/p>\n<p>\u8a2d\u5b9a\u3092\u9001\u3063\u3066\u3001\u5024\u3092\u8aad\u307f\u51fa\u3059\u3068\u3044\u3046\u3088\u3046\u306a\u4f7f\u3044\u65b9\u304c\u591a\u3044\u306e\u304b\u306a\u3002<\/p>\n<p>I2C\u63a5\u7d9a\u306eEEPROM\u3092\u4f55\u304b\u3067\u4f7f\u3063\u3066\u305f\u3088\u3046\u306a\u8a18\u61b6\u3082\u3042\u308b\u304c\u3001<\/p>\n<p>\u53cc\u65b9\u5411\u3067\u3084\u308a\u3068\u308a\u3059\u308b\u3088\u3046\u306a\u7528\u9014\u306b\u306f\u9069\u3057\u3066\u3044\u308b\u306e\u304b\u3082\u3002<\/p>\n<p>SPI\u3060\u3068\u3001CS, CLK, MOSI, MISO \u30674\u672c\u3050\u3089\u3044\u4f7f\u3046\u3068\u3053\u308d\u3001SCL\u3068SDA\u306e2\u672c\u3067\u3044\u3051\u308b\u306e\u3067\u3002<\/p>\n<hr>\n<p>\u3067\u3001I2C\u3063\u3066\u3051\u3063\u3053\u3046\u8907\u96d1\u306a\u3093\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u9001\u4fe1\u3059\u308b\u5834\u5408\u3001START\u30b3\u30f3\u30c7\u30a3\u30b7\u30e7\u30f3\u306b\u3057\u3066\u3001\u30a2\u30c9\u30ec\u30b9\u3092\u9001\u3063\u3066\u3001<\/p>\n<p>\u3059\u308b\u3068\u30b9\u30ec\u30fc\u30d6\u304b\u3089ACK\u304c\u8fd4\u3063\u3066\u304f\u308b\u306e\u3067\u3053\u308c\u3092\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n<p>\u305d\u3057\u3066\u30c7\u30fc\u30bf1byte\u3092\u9001\u308b\u3068ACK\u304c\u8fd4\u3063\u3066\u304f\u308b\u306e\u3067\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n<p>\u3053\u308c\u3092\u7e70\u308a\u8fd4\u3057\u6700\u5f8c\u306b\u306fSTOP\u30b3\u30f3\u30c7\u30a3\u30b7\u30e7\u30f3\u306b\u3057\u3066\u7d42\u308f\u308a\u3068\u3002<\/p>\n<p>\u3053\u308c\u3092\u5272\u308a\u8fbc\u307f\u3067\u51e6\u7406\u3057\u3088\u3046\u3068\u3059\u308b\u3068ACK\u3055\u308c\u308b\u305f\u3073\u306b\u5272\u308a\u8fbc\u307f\u304c\u5165\u308b\u5f62\u306b\u306a\u308b\u3002<\/p>\n<p>\u3053\u306e\u30de\u30a4\u30b3\u30f3\u3067\u306fI2C\u3068FIFO\u306e\u7d44\u307f\u5408\u308f\u305b\u306f\u3067\u304d\u306a\u3044\u3089\u3057\u3044\u3002<\/p>\n<hr>\n<p>\u53d7\u8a3a\u306e\u5834\u5408\u306f\u3001\u30a2\u30c9\u30ec\u30b9\u3092\u9001\u3063\u3066ACK\u3092\u53d7\u3051\u53d6\u308b\u90e8\u5206\u306f\u540c\u3058\u3002<\/p>\n<p>\u6b21\u306b\u30de\u30b9\u30bf\u306fSCL\u306e\u30af\u30ed\u30c3\u30af\u3092\u99c6\u52d5\u3057\u30661byte\u53d7\u4fe1\u3059\u308b\u3002<\/p>\n<p>\u7d9a\u3051\u3066\u53d7\u4fe1\u3059\u308b\u5834\u5408\u306fACK\u3092\u9001\u4fe1\u3001\u6700\u5f8c\u306e\u5834\u5408\u306fACK\u3092\u9001\u4fe1\u305b\u305a\u306bSTOP\u30b3\u30f3\u30c7\u30a3\u30b7\u30e7\u30f3\u306b\u3059\u308b\u3002<\/p>\n<p>\u3053\u306e\u6700\u5f8c\u306bACK\u3092\u9001\u4fe1\u3059\u308b\u304b\u3001\u3057\u306a\u3044\u304b\u3068\u3044\u3046\u5224\u5225\u306e\u3053\u3068\u3082\u3042\u308a\u3001<\/p>\n<p>\u3053\u306e\u53d7\u4fe1\u3067\u306f\u6700\u5f8c\u306bACK\u3092\u9001\u308b\u304b\u3001\u9001\u3089\u305a\u7d42\u308f\u308b\u304b\u3092\u53d7\u4fe1\u958b\u59cb\u6642\u306b\u8868\u660e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<p>\u3053\u306e\u305f\u3081\u53d7\u4fe1\u5b8c\u4e86\u6642\u306b\u90fd\u5ea6\u5272\u308a\u8fbc\u307f\u304c\u5165\u308a\u3001\u305d\u308c\u3092\u6d88\u5316\u3059\u308b\u307e\u3067\u306f\u6b21\u306e\u53d7\u4fe1\u304c\u59cb\u307e\u3089\u306a\u3044\u4ed5\u7d44\u307f\u3067\u3042\u308b\u3002<\/p>\n<hr>\n<p>\u3053\u306e\u64cd\u4f5c\u3092DMA\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u3084\u308b\u65b9\u6cd5\u304c\u3042\u3063\u305f\u304c\u3001\u3048\u3089\u304f\u8907\u96d1\u3060\u3063\u305f\u3002<\/p>\n<p>\u3053\u308c\u3001\u307e\u3060I2C\u306e\u30de\u30b9\u30bf\u5074\u306f\u3088\u3044\u3051\u3069\u3001I2C\u306e\u30b9\u30ec\u30fc\u30d6\u5074\u306f\u3088\u308a\u8907\u96d1\u3067\u3042\u308b\u3002<\/p>\n<p>\u305d\u3053\u3067\u77e5\u3063\u305f\u3051\u3069\u3001I2C\u3063\u3066\u306e\u306f\u30b9\u30ec\u30fc\u30d6\u5074\u304c\u30de\u30b9\u30bf\u3092\u5f85\u305f\u305b\u308b\u624b\u6bb5\u304c\u3042\u3063\u3066\u3001<\/p>\n<p>1byte\u53d7\u4fe1\u3057\u7d42\u3048\u305f\u5f8c\u3001SCL\u306e\u7acb\u3061\u4e0b\u304c\u308a\u3092\u691c\u51fa\u3057\u3066\u3001SDA=Lo\u3092\u51fa\u529b\u3001<\/p>\n<p>\u305d\u308c\u3092\u78ba\u8a8d\u5f8c\u3001\u30de\u30b9\u30bf\u306fSCL\u3092\u7acb\u3061\u4e0a\u3052\u308b\u308f\u3051\u3060\u304c\u3001\u3053\u3053\u3067SDA=Hi\u306b\u306a\u308b\u306e\u3092\u5f85\u3064\u3093\u3067\u3059\u306d\u3002<\/p>\n<p>\u3053\u306eSDA=Hi\u306b\u305b\u305a\u306bLo\u306e\u307e\u307e\u4fdd\u3064\u3053\u3068\u3067\u30de\u30b9\u30bf\u3092\u591a\u5c11\u5f85\u305f\u305b\u3089\u308c\u308b\u3068\u3002<\/p>\n<p>\u53d7\u4fe1\u5074\u306b\u3068\u3063\u3066\u307f\u308c\u3070\u6b21\u306e\u53d7\u4fe1\u6642\u306bACK\u3092\u8fd4\u3059\u304b\u3001\u8fd4\u3055\u306a\u3044\u304b\u3068\u3044\u3046\u9078\u629e\u80a2\u304c\u3042\u308b\u3002<\/p>\n<p>\u3053\u308c\u4ee5\u4e0a\u53d7\u4fe1\u3059\u308b\u30c7\u30fc\u30bf\u304c\u306a\u3044\u5834\u5408\u306fACK\u3092\u8fd4\u3055\u306a\u3044\u3068\u3044\u3046\u3084\u308a\u65b9\u3082\u3042\u308b\u305f\u3081\u3002<\/p>\n<p>(\u3053\u306e\u3042\u305f\u308a\u306e\u30dd\u30ea\u30b7\u30fc\u306fI2C\u30c7\u30d0\u30a4\u30b9\u306b\u3082\u3088\u308b)<\/p>\n<p>\u3053\u3053\u306e\u51e6\u7406\u304c\u7d42\u308f\u308b\u307e\u3067\u5f85\u305f\u305b\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u3093\u3067\u3059\u306d\u3002<\/p>\n<hr>\n<p>\u7d50\u5c40\u3084\u308b\u3053\u3068\u3068\u3057\u3066\u306f\u4ed6\u306e\u901a\u4fe1\u3068\u305d\u3046\u5927\u5dee\u306f\u306a\u3044\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u3001<\/p>\n<p>I2C\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u7ba1\u7406\u30921byte\u3054\u3068\u306b\u884c\u3046\u306e\u304c\u539f\u5247\u306a\u306e\u3067\u3001<\/p>\n<p>\u305d\u3053\u3092\u30da\u30ea\u30d5\u30a7\u30e9\u30eb\u3067\u80a9\u4ee3\u308f\u308a\u3057\u3066\u304f\u308c\u308b\u90e8\u5206\u3082\u3042\u3063\u3066\u3001<\/p>\n<p>DMA\u8ee2\u9001\u306e\u5834\u5408\u306f\u305d\u306e\u6a5f\u80fd\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u304c\u524d\u63d0\u3067\u3059\u3088\u3068\u3001<\/p>\n<p>\u3042\u308c\u3053\u308c\u8907\u96d1\u306a\u3053\u3068\u304c\u66f8\u3044\u3066\u3042\u3063\u3066\u3001\u3081\u3093\u3069\u304f\u3055\u3044! \u3068\u306a\u3063\u305f\u306e\u3060\u3063\u305f\u3002<\/p>\n<p>1byte\u5358\u4f4d\u3067\u5272\u308a\u8fbc\u307f\u5165\u308c\u3066\u3082\u3089\u3046\u306a\u3089\u30dd\u30fc\u30ea\u30f3\u30b0\u306e\u30b3\u30fc\u30c9\u304c\u304b\u306a\u308a\u53c2\u8003\u306b\u306a\u3063\u3066\u3088\u304b\u3063\u305f\u304c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u958b\u767a\u4e2d\u306e\u88fd\u54c1\u3067\u30de\u30a4\u30b3\u30f3\u306b\u63a5\u7d9a\u3059\u308b\u3042\u308b\u6a5f\u5668\u304cI2C\u63a5\u7d9a\u3067\u3001 \u52b9\u7387\u3088\u304f\u901a\u4fe1\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u5272\u308a\u8fbc\u307f\u51e6\u7406\u3067\u3084\u3089\u306a\u3044\u3068\u306a\u3001 \u3068\u3044\u3046\u3053\u3068\u3067\u3044\u308d\u3044\u308d\u8abf\u3079\u3066\u3044\u305f\u306e\u3060\u304c\u3001\u3061\u3087\u3063\u3068\u8907\u96d1\u3060\u3063\u305f\u3002 \u305d\u3082\u305d\u3082I2C\u3063\u3066\u306a\u3093\u3084\u306d\u3093\u3068\u3044\u3046\u8a71\u3067\u3059\u304c\u3002  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-9730","post","type-post","status-publish","format-standard","hentry","category-computer"],"_links":{"self":[{"href":"http:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/9730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9730"}],"version-history":[{"count":1,"href":"http:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/9730\/revisions"}],"predecessor-version":[{"id":9731,"href":"http:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/9730\/revisions\/9731"}],"wp:attachment":[{"href":"http:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9730"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}