{"id":3752,"date":"2023-09-06T07:47:54","date_gmt":"2023-09-06T07:47:54","guid":{"rendered":"https:\/\/staging.mixtile.com\/?post_type=ht_kb&#038;p=1398"},"modified":"2023-10-24T03:07:03","modified_gmt":"2023-10-24T03:07:03","slug":"use-uart","status":"publish","type":"ht_kb","link":"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/","title":{"rendered":"UART\u3092\u4f7f\u7528"},"content":{"rendered":"<p>Edge 2\u306b\u306f\u3001UART3\u3068UART5\u306e2\u3064\u306eUART\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u304c\u3042\u308b\u3002<\/p>\n\n\n\n<h2 id=\"connecting-hardware\">\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u306e\u63a5\u7d9a<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-uart\/#connecting-hardware\"><\/a><\/h2>\n\n\n\n<p>USB-UART\u30b3\u30f3\u30d0\u30fc\u30bf\u3092PC\u306b\u63a5\u7d9a\u3057\u3001\u30b1\u30fc\u30d6\u30eb\u3092\u30a8\u30c3\u30b82\u306eUART3\/UART5\u30b3\u30cd\u30af\u30bf\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30ef\u30a4\u30e4\u30fc\u30b7\u30fc\u30b1\u30f3\u30b9\u63a5\u7d9a\u56f3\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/i0.wp.com\/dh19rycdk230a.cloudfront.net\/docs-archived\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-uart\/uart-connection.png?w=1020&#038;ssl=1\" alt=\"uart-connection\" data-recalc-dims=\"1\"\/><\/figure>\n\n\n\n<h2 id=\"testing-uart\">UART\u306e\u30c6\u30b9\u30c8<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-uart\/#testing-uart\"><\/a><\/h2>\n\n\n\n<h3 id=\"open-the-pc-serial-port\">PC\u306e\u30b7\u30ea\u30a2\u30eb\u30dd\u30fc\u30c8\u3092\u958b\u304f<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-uart\/#open-the-pc-serial-port\"><\/a><\/h3>\n\n\n\n<p>macOS\u3092\u4f8b\u306b\u3068\u308b\u3068\u3001USB\u304b\u3089UART\u3078\u306e\u5909\u63db\u30ce\u30fc\u30c9&nbsp;<code>tty.usbserial-AQ01C9CC%<\/code>&nbsp;\u304c\u30b7\u30b9\u30c6\u30e0\u306b\u5b58\u5728\u3057\u3001\u305d\u308c\u3092\u958b\u304f\u30b3\u30de\u30f3\u30c9\u306f&nbsp;<code>picocom<\/code>&nbsp;\u30c4\u30fc\u30eb\u306f\u4ee5\u4e0b\u306e\u901a\u308a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ picocom -b 9600 \/dev\/tty.usbserial-AQ01C9CC% \n<\/code><\/pre>\n\n\n\n<p>USB\u304b\u3089UART\u3078\u306e\u30b3\u30f3\u30d0\u30fc\u30bf\u30fc\u30fb\u30ce\u30fc\u30c9\u306f\u3001Ubuntu\u306b\u6b21\u306e\u3088\u3046\u306a\u5f62\u3067\u5b58\u5728\u3059\u308b\u3002&nbsp;<code>\/dev\/ttyUSB[1\u30012\u30013......]\u3002<\/code>.<\/p>\n\n\n\n<p>USB\u304b\u3089UART\u3078\u306e\u30b3\u30f3\u30d0\u30fc\u30bf\u30fc\u30fb\u30ce\u30fc\u30c9\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5f62\u3067Windows\u306b\u5b58\u5728\u3059\u308b\u3002&nbsp;<code>COM[1\u30012\u30013......]\u3002<\/code>.<\/p>\n\n\n\n<p>\u8a73\u7d30\u306f&nbsp;<strong><u>\u30b7\u30ea\u30a2\u30eb\u30c7\u30d0\u30c3\u30b0<\/u><\/strong>.<\/p>\n\n\n\n<h3 id=\"sending-data-from-edge-2\">Edge 2\u304b\u3089\u306e\u30c7\u30fc\u30bf\u9001\u4fe1<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-uart\/#sending-data-from-edge-2\"><\/a><\/h3>\n\n\n\n<p>Edge 2 UART5 \u30c7\u30d0\u30a4\u30b9\u30d5\u30a1\u30a4\u30eb\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002&nbsp;<code>\/dev\/ttyS5<\/code>.Edge 2\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"edge2 UART5 test...\"&gt; \/dev\/ttyS5\n<\/code><\/pre>\n\n\n\n<p>PC\u306e\u30b7\u30ea\u30a2\u30eb\u30bf\u30fc\u30df\u30ca\u30eb(<code>picocom<\/code>)\u306f\u6587\u5b57\u5217&nbsp;<code>\"edge2 UART5\u30c6\u30b9\u30c8...\"<\/code>.<\/p>\n\n\n\n<h3 id=\"receiving-data-with-edge-2\">Edge 2\u3067\u306e\u30c7\u30fc\u30bf\u53d7\u4fe1<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-uart\/#receiving-data-with-edge-2\"><\/a><\/h3>\n\n\n\n<p>edge2\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/dev\/ttyS5\n<\/code><\/pre>\n\n\n\n<p>\u6587\u5b57\u5217\u3092\u9001\u4fe1\u3059\u308b\u3002&nbsp;<code>\"edge2 UART5\u30c6\u30b9\u30c8...\"<\/code>PC\u306e\u30b7\u30ea\u30a2\u30eb\u30bf\u30fc\u30df\u30ca\u30eb(<code>picocom<\/code>) \u3092\u4f7f\u3063\u3066\u63a5\u7d9a\u3092\u30c6\u30b9\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30a8\u30c3\u30b82\u306b\u3082\u540c\u3058\u6587\u5b57\u5217\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u6ce8: UART3 \u306e\u4f7f\u7528\u6cd5\u306f UART5 \u3068\u540c\u3058\u3067\u3059\u3002<\/p>\n\n\n\n<h2 id=\"configuring-uart\">UART\u306e\u8a2d\u5b9a<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-uart\/#configuring-uart\"><\/a><\/h2>\n\n\n\n[<strong>\u6ce8<\/strong>]:Mixtile\u304b\u3089\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305fAndroid \/ Debian\u306f\u3001\u3059\u3067\u306b\u30ab\u30fc\u30cd\u30eb\u3067UART\u6a5f\u80fd\u3092\u6709\u52b9\u306b\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u547d\u4ee4\u306f\u7121\u8996\u3057\u3066\u304b\u307e\u3044\u307e\u305b\u3093\u3002Andorid \/ Debian\u30b7\u30b9\u30c6\u30e0\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306bUART\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>Edge 2\u306eUART3\u3068UART5\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u30ab\u30fc\u30cd\u30eb\u306edts\u3067UART3\u3068UART5\u3092\u6709\u52b9\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u30ab\u30fc\u30cd\u30eb\u306b\u95a2\u308f\u3063\u3066\u3044\u308b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kernel\/arch\/arm64\/boot\/dts\/rockchip\/mixtile-edge2.dts\n<\/code><\/pre>\n\n\n\n<p>UART3 \u3068 UART5 \u3092\u6709\u52b9\u306b\u3057\u307e\u3059\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&amp;uart3 {\n    status = \"okay\";\n    pinctrl-0 = ;\n};\n\n&amp;uart5 {\n    status = \"okay\";\n    pinctrl-0 = ;\n};\n<\/code><\/pre>\n\n\n\n<p>\u30ab\u30fc\u30cd\u30eb\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u306b\u306f&nbsp;<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#compiling-kernel\"><strong>\u30ab\u30fc\u30cd\u30eb\u306e\u30b3\u30f3\u30d1\u30a4\u30eb<\/strong><\/a>&nbsp;\u306e\u7ae0\u3092\u53c2\u7167\u3055\u308c\u305f\u3044\u3002<\/p>\n\n\n\n<p>boot.img\u3092\u713c\u304f\u306b\u306f\u3001\u4ee5\u4e0b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002&nbsp;<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/getting-started\/update-firmware\/\"><strong>\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306e\u66f4\u65b0<\/strong><\/a>&nbsp;\u306e\u7ae0\u3092\u53c2\u7167\u3055\u308c\u305f\u3044\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>Edge 2 has two UART interfaces, UART3 and UART5. Connecting hardware Port the USB to UART converter to the PC, and connect the cable to the edge2 UART3\/UART5 connector. Refer to the following wire sequence connection diagram: Testing UART Open the PC serial port Taking macOS as an example, the USB to UART converter node&nbsp;tty.usbserial-AQ01C9CC%&nbsp;exists [&#8230;]","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"spay_email":""},"ht-kb-category":[77],"ht-kb-tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Use UART | Mixtile<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Use UART | Mixtile\" \/>\n<meta property=\"og:description\" content=\"Edge 2 has two UART interfaces, UART3 and UART5. Connecting hardware Port the USB to UART converter to the PC, and connect the cable to the edge2 UART3\/UART5 connector. Refer to the following wire sequence connection diagram: Testing UART Open the PC serial port Taking macOS as an example, the USB to UART converter node&nbsp;tty.usbserial-AQ01C9CC%&nbsp;exists [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/\" \/>\n<meta property=\"og:site_name\" content=\"Mixtile\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-24T03:07:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.mixtile.com\/docs-archived\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-uart\/uart-connection.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/#organization\",\"name\":\"Mixtile Limited\",\"url\":\"https:\/\/www.mixtile.com\/ja\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/#logo\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg\",\"contentUrl\":\"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg\",\"caption\":\"Mixtile Limited\"},\"image\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/#website\",\"url\":\"https:\/\/www.mixtile.com\/ja\/\",\"name\":\"Mixtile\",\"description\":\"Hardware for IoT Solutions\",\"publisher\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.mixtile.com\/ja\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/#primaryimage\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/www.mixtile.com\/docs-archived\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-uart\/uart-connection.png\",\"contentUrl\":\"https:\/\/www.mixtile.com\/docs-archived\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-uart\/uart-connection.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/#webpage\",\"url\":\"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/\",\"name\":\"Use UART | Mixtile\",\"isPartOf\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/#primaryimage\"},\"datePublished\":\"2023-09-06T07:47:54+00:00\",\"dateModified\":\"2023-10-24T03:07:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.mixtile.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Use UART\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Use UART | Mixtile","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/","og_locale":"ja_JP","og_type":"article","og_title":"Use UART | Mixtile","og_description":"Edge 2 has two UART interfaces, UART3 and UART5. Connecting hardware Port the USB to UART converter to the PC, and connect the cable to the edge2 UART3\/UART5 connector. Refer to the following wire sequence connection diagram: Testing UART Open the PC serial port Taking macOS as an example, the USB to UART converter node&nbsp;tty.usbserial-AQ01C9CC%&nbsp;exists [...]","og_url":"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/","og_site_name":"Mixtile","article_modified_time":"2023-10-24T03:07:03+00:00","og_image":[{"url":"https:\/\/www.mixtile.com\/docs-archived\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-uart\/uart-connection.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.mixtile.com\/ja\/#organization","name":"Mixtile Limited","url":"https:\/\/www.mixtile.com\/ja\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/www.mixtile.com\/ja\/#logo","inLanguage":"ja","url":"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg","contentUrl":"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg","caption":"Mixtile Limited"},"image":{"@id":"https:\/\/www.mixtile.com\/ja\/#logo"}},{"@type":"WebSite","@id":"https:\/\/www.mixtile.com\/ja\/#website","url":"https:\/\/www.mixtile.com\/ja\/","name":"Mixtile","description":"Hardware for IoT Solutions","publisher":{"@id":"https:\/\/www.mixtile.com\/ja\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mixtile.com\/ja\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"ImageObject","@id":"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/#primaryimage","inLanguage":"ja","url":"https:\/\/www.mixtile.com\/docs-archived\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-uart\/uart-connection.png","contentUrl":"https:\/\/www.mixtile.com\/docs-archived\/Mixtile-Edge-2-Docs\/Hardware-Tutorial\/usage-of-connector\/use-uart\/uart-connection.png"},{"@type":"WebPage","@id":"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/#webpage","url":"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/","name":"Use UART | Mixtile","isPartOf":{"@id":"https:\/\/www.mixtile.com\/ja\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/#primaryimage"},"datePublished":"2023-09-06T07:47:54+00:00","dateModified":"2023-10-24T03:07:03+00:00","breadcrumb":{"@id":"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.mixtile.com\/ja\/docs\/use-uart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mixtile.com\/"},{"@type":"ListItem","position":2,"name":"Use UART"}]}]}},"_links":{"self":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/3752"}],"collection":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/comments?post=3752"}],"version-history":[{"count":1,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/3752\/revisions"}],"predecessor-version":[{"id":4087,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/3752\/revisions\/4087"}],"wp:attachment":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/media?parent=3752"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb-category?post=3752"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb-tag?post=3752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}