{"id":603,"date":"2024-11-24T20:08:49","date_gmt":"2024-11-24T11:08:49","guid":{"rendered":"https:\/\/microelectronica.jp\/wiki\/?p=603"},"modified":"2024-11-24T21:38:03","modified_gmt":"2024-11-24T12:38:03","slug":"3-i2c%e3%83%87%e3%83%bc%e3%82%bf%e3%81%ae%e9%80%81%e5%8f%97%e4%bf%a1%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/microelectronica.jp\/wiki\/?p=603","title":{"rendered":"(3) I2C\u30c7\u30fc\u30bf\u306e\u9001\u53d7\u4fe1\u65b9\u6cd5"},"content":{"rendered":"<p>\u672c\u6a5f\u306bI2C\u901a\u4fe1\u6a5f\u5668\u3092\u63a5\u7d9a\u3057\u3066\u30c7\u30fc\u30bf\u901a\u4fe1\u3092\u3059\u308b\u4f7f\u7528\u4f8b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u672c\u6a5f\u306eI2C\u901a\u4fe1\u306eSCL\u7dda\u3068SDA\u7dda\u306f\u305d\u308c\u305e\u308c2.2k\u03a9\u306e\u62b5\u6297\u5668\u3067\u30d7\u30eb\u30a2\u30c3\u30d7\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5916\u90e8\u306b\u30d7\u30eb\u30a2\u30c3\u30d7\u62b5\u6297\u3092\u63a5\u7d9a\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h3 id=\"headline3\">\u901a\u4fe1\u74b0\u5883\u306e\u6e96\u5099<\/h3>\n<p>\u672c\u6a5f\u3092\u30d1\u30bd\u30b3\u30f3\u306b\u63a5\u7d9a\u3059\u308b\u3068\u81ea\u52d5\u7684\u306b\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u30fc\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<br \/>\nMCP2221A\u304b\u8a8d\u8b58\u3055\u308c\u308b\u30682\u3064\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3068\u3057\u3066\u8a8d\u8b58\u3055\u308c\u307e\u3059\u30021\u3064\u306fI2C\u901a\u4fe1\u7528\u306eHID\u30c7\u30d0\u30a4\u30b9\u3068\u3057\u3066\u3001\u3082\u30461\u3064\u306fUSB-UART\u5909\u63db\u6a5f\u80fd\u3068\u3057\u3066\u4eee\u60f3COM\u30dd\u30fc\u30c8\u3068\u3057\u3066\u8a8d\u8b58\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u57fa\u672c\u7684\u306b\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u30fc\u306f\u81ea\u52d5\u7684\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u304c\u3001\u3082\u3057\u81ea\u52d5\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u306a\u3044\u5834\u5408\u306b\u306f<a href=\"https:\/\/ww1.microchip.com\/downloads\/aemDocuments\/documents\/OTH\/ProductDocuments\/SoftwareLibraries\/Firmware\/MCP2221_Windows_Driver_2021-02-22.zip\"><span style=\"text-decoration: underline;\"><strong>\u3053\u3061\u3089<\/strong><\/span><\/a>\u304b\u3089\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u30fc\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u4eee\u60f3COM\u30dd\u30fc\u30c8\u306e\u30dd\u30fc\u30c8\u756a\u53f7\u306fWindows\u306e\u30c7\u30d0\u30a4\u30b9\u30de\u30cd\u30fc\u30b8\u30e3\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>I2C\u901a\u4fe1\u3092\u884c\u3046\u5834\u5408\u306b\u306f\u3082\u5c02\u7528\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u30bd\u30d5\u30c8\u304b\u3089\u884c\u3044\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u201dMCP2221 I2C SMBus Terminal\u201d\u3092\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u3066\u3044\u306a\u3044\u5834\u5408\u306b\u306f<a href=\"https:\/\/ww1.microchip.com\/downloads\/aemDocuments\/documents\/APID\/ProductDocuments\/SoftwareLibraries\/Firmware\/MCP2221Terminal.zip\"><span style=\"text-decoration: underline;\"><strong>\u3053\u3061\u3089<\/strong><\/span><\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u672c\u6a5f\u306f\u5e38\u306bI2C\u30de\u30b9\u30bf\u30fc\u3068\u3057\u3066\u52d5\u4f5c\u3057\u307e\u3059<\/strong><\/span>\u3002I2C\u30b9\u30ec\u30fc\u30d6\u30c7\u30d0\u30a4\u30b9\u306b\u5bfe\u3057\u3066\u30c7\u30fc\u30bf\u3092Write\u3057\u305f\u308aRead\u3057\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<h3 id=\"headline3\">I2C\u30c7\u30d0\u30a4\u30b9\u306e\u691c\u7d22<\/h3>\n<p>\u672c\u6a5f\u3092\u30d1\u30bd\u30b3\u30f3\u3068\u63a5\u7d9a\u3057\u6b63\u3057\u304f\u8a8d\u8b58\u3055\u308c\u3066\u3044\u308b\u3068\u3001MCP2221 I2C SMBus Terminal\u306eSettings\u90e8\u306e&#8221;Select Device&#8221;\u306b\u6570\u5024\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u3053\u306b\u6570\u5024\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306b\u306f\u672c\u6a5f\u304c\u6b63\u3057\u304f\u8a8d\u8b58\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u30c7\u30d0\u30a4\u30b9\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u7b49\u3067\u8a8d\u8b58\u72b6\u614b\u7b49\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&#8220;Speed&#8221;\u306f\u901a\u4fe1\u30af\u30ed\u30c3\u30af\u306e\u65e9\u3055\u3067\u3059\u3002100kHz\u304b400kHz\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u63a5\u7d9a\u3059\u308bI2C\u6a5f\u5668\u306e\u4ed5\u69d8\u306b\u5408\u308f\u305b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/microelectronica.jp\/wiki\/wp-content\/uploads\/2024\/08\/ui2c_d.jpg\" alt=\"\" width=\"516\" height=\"232\" class=\"alignnone wp-image-306\" \/><\/p>\n<p>\u63a5\u7d9a\u3055\u308c\u305f\u30b9\u30ec\u30fc\u30d6\u30c7\u30d0\u30a4\u30b9\u306e\u30a2\u30c9\u30ec\u30b9\u304c\u5206\u304b\u3089\u306a\u3044\u5834\u5408\u3001\u691c\u7d22\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u201dAdvanced Settings\u201d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p><span>\u30b9\u30ad\u30e3\u30f3\u3059\u308b\u30a2\u30c9\u30ec\u30b9\u306e\u7bc4\u56f2\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f0x00\uff5e0xFF\u307e\u3067\u3092\u691c\u7d22\u3057\u307e\u3059\u3002\u6570\u5024\u306f16\u9032\u6570\u3067\u3059\u3002\u201dStart Scan\u201d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u691c\u7d22\u304c\u958b\u59cb\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/microelectronica.jp\/wiki\/wp-content\/uploads\/2024\/08\/ui2c_e.jpg\" alt=\"\" width=\"336\" height=\"205\" class=\"alignnone wp-image-307\" \/><\/p>\n<p>\u691c\u7d22\u7d50\u679c\u306f&#8221;Received\/Sent Data&#8221;\u306e\u30a6\u30a4\u30f3\u30c9\u30a6\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u691c\u51fa\u3055\u308c\u305f\u30c7\u30d0\u30a4\u30b9\u306e\u30a2\u30c9\u30ec\u30b9(8\u30d3\u30c3\u30c8\u30a2\u30c9\u30ec\u30b9\u30687\u30d3\u30c3\u30c8\u30a2\u30c9\u30ec\u30b9)\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<span>\u4f55\u3082\u691c\u51fa\u3055\u308c\u306a\u3044\u5834\u5408\u306b\u306f\u6b63\u3057\u304fI2C\u30c7\u30d0\u30a4\u30b9\u3068\u63a5\u7d9a\u3067\u304d\u3066\u3044\u306a\u3044\u304b\u3001I2C\u30c7\u30d0\u30a4\u30b9\u304c\u52d5\u4f5c\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/microelectronica.jp\/wiki\/wp-content\/uploads\/2024\/08\/ui2c_f.jpg\" alt=\"\" width=\"725\" height=\"168\" class=\"alignnone size-full wp-image-310\" \/><\/p>\n<h3 id=\"headline3\">I2C\u30c7\u30fc\u30bf\u306e\u9001\u53d7\u4fe1<\/h3>\n<ol>\n<li>&#8220;Commands&#8221;\u306e\u9805\u306b\u3042\u308b\u201cProtocol\u201d\u306e\u30d7\u30eb\u30c0\u30a6\u30f3\u304b\u3089\u201dI2C\u201d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/li>\n<li>\u201cAddress Length\u201d\u306f\u30a2\u30c9\u30ec\u30b9\u9577\u3067\u3059\u30028\u30d3\u30c3\u30c8\u30a2\u30c9\u30ec\u30b9\u304b7\u30d3\u30c3\u30c8\u30a2\u30c9\u30ec\u30b9\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/li>\n<li>\u201cAddress\u201d\u306b\u306f\u30b9\u30ec\u30fc\u30d6\u30a2\u30c9\u30ec\u30b9\u309216\u9032\u6570\u3067\u5165\u529b\u3057\u307e\u3059\u3002Read(\u30de\u30b9\u30bf\u30fc\u304c\u53d7\u4fe1)\u306e\u5834\u5408\u306b\u306f\u30a2\u30c9\u30ec\u30b9\u306b1\u3092\u52a0\u7b97\u3057\u307e\u3059\u3002Write(\u30de\u30b9\u30bf\u30fc\u304b\u3089\u9001\u4fe1)\u306f0\u3092\u52a0\u7b97\u3057\u307e\u3059\u3002<\/li>\n<li>\u201cOperation\u201d\u306fWrite\/Read\u306e\u65b9\u5411\u3067\u3059\u3002\u66f8\u304d\u8fbc\u307f\u306a\u3089\u3070Write\u201d\u3001\u8aad\u307f\u8fbc\u307f\u306a\u3089\u3070\u201dRead\u201d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/li>\n<li>\u201cData\u201d\u306fWrite\u306e\u6642\u306f\u9001\u4fe1\u3059\u308b\u30c7\u30fc\u30bf\u3001Read\u306e\u6642\u306f\u8aad\u307f\u53d6\u308b\u30c7\u30fc\u30bf\u306e\u30d0\u30a4\u30c8\u6570\u306e\u6307\u5b9a\u306b\u306a\u308a\u307e\u3059\u3002\u3044\u305a\u308c\u3082\u5024\u306f16\u9032\u6570\u3067\u5165\u529b\u3057\u307e\u3059\u3002\u8907\u6570\u30d0\u30a4\u30c8\u5165\u529b\u3059\u308b\u5834\u5408\u306b\u306f\u30ab\u30f3\u30de( , )\u3067\u533a\u5207\u308a\u307e\u3059\u3002<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/microelectronica.jp\/wiki\/wp-content\/uploads\/2024\/08\/ui2c_g.jpg\" alt=\"\" width=\"650\" height=\"198\" class=\"alignnone wp-image-313\" \/><br \/>\n\u4e0a\u56f3\u306f8\u30d3\u30c3\u30c8\u30a2\u30c9\u30ec\u30b9A4\u306e\u30c7\u30d0\u30a4\u30b9\u304b\u30891\u30d0\u30a4\u30c8(8\u30d3\u30c3\u30c8)\u306e\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u53d6\u308b\u5834\u5408\u306e\u4f8b\u3067\u3059\u3002<\/li>\n<li>\u8a2d\u5b9a\u304c\u3067\u304d\u305f\u3089&#8221;Send&#8221;\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u307e\u3059\u3002<\/li>\n<li>\u3059\u3050\u306b\u30c7\u30fc\u30bf\u304c\u8aad\u307f\u53d6\u3089\u308c\u3001&#8221;Received\/Sent Data&#8221;\u306e\u30a6\u30a4\u30f3\u30c9\u30a6\u306b\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/microelectronica.jp\/wiki\/wp-content\/uploads\/2024\/08\/ui2c_h.jpg\" alt=\"\" width=\"426\" height=\"210\" class=\"alignnone wp-image-315\" \/><br \/>\n\u30c7\u30fc\u30bf\u3092Write\u3057\u305f\u5834\u5408\u306b\u306f\u3001&#8221;OK&#8221;\u306e\u307f\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6a5f\u306bI2C\u901a\u4fe1\u6a5f\u5668\u3092\u63a5\u7d9a\u3057\u3066\u30c7\u30fc\u30bf\u901a\u4fe1\u3092\u3059\u308b\u4f7f\u7528\u4f8b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u672c\u6a5f\u306eI2C\u901a\u4fe1\u306eSCL\u7dda\u3068SDA\u7dda\u306f\u305d\u308c\u305e\u308c2.2k\u03a9\u306e\u62b5\u6297\u5668\u3067\u30d7\u30eb\u30a2\u30c3\u30d7\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5916\u90e8\u306b\u30d7\u30eb\u30a2\u30c3\u30d7\u62b5\u6297\u3092\u63a5\u7d9a\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002 \u901a\u4fe1\u74b0\u5883\u306e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[18],"tags":[],"class_list":["post-603","post","type-post","status-publish","format-standard","hentry","category-mcp2221a-usb-i2c-uart-usb-uarti2c-"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=\/wp\/v2\/posts\/603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=603"}],"version-history":[{"count":3,"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=\/wp\/v2\/posts\/603\/revisions"}],"predecessor-version":[{"id":629,"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=\/wp\/v2\/posts\/603\/revisions\/629"}],"wp:attachment":[{"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microelectronica.jp\/wiki\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}