{"id":3144,"date":"2023-07-14T16:33:44","date_gmt":"2023-07-14T23:33:44","guid":{"rendered":"https:\/\/rglinuxtech.com\/?p=3144"},"modified":"2023-07-14T16:33:44","modified_gmt":"2023-07-14T23:33:44","slug":"hardware-uart-gotcha-for-socs","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=3144","title":{"rendered":"Hardware &#8211; UART Gotcha for SOCs&#8230;."},"content":{"rendered":"<p>Not specifically Linux-related, but a frustration nonetheless..<\/p>\n<p>This is documented elsewhere, but is often buried in other posts\/articles\/opinions..<\/p>\n<p>Connecting a UART\/USB cable\/adapter to a SOC should be relatively simple, except that certain vendors now insist on a default speed of 1500000 instead of the traditional 115200..<\/p>\n<p>I have been testing one of the &#8216;new&#8217; <strong>RK3588<\/strong>-based systems, and had trouble with &#8216;garbage&#8217; on the serial\/UART link, despite having the correct speed etc. (and having the tx\/rx pins connected correctly..).<\/p>\n<p>It turned out that I had been using the &#8216;wrong&#8217; chipset in my UART\/USB cable.. The Prolific Technology PL2303-based cable does not work for that particular system, but the documentation I had was completely vague about all this..<br \/>\nThe solution is to use a FTDI FT232-based cable, which works correctly..\u00a0\u00a0\u00a0\u00a0 Both types look very similar externally, so some judicious labelling might be in order..<\/p>\n<p><em><strong>Robert Gadsdon.\u00a0\u00a0 July 14th 2023.<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Not specifically Linux-related, but a frustration nonetheless.. This is documented elsewhere, but is often buried in other posts\/articles\/opinions.. Connecting a UART\/USB cable\/adapter to a SOC should be relatively simple, except that certain vendors now insist on a default speed of 1500000 instead of the traditional 115200.. I have been testing one of the &#8216;new&#8217; RK3588-based systems, and <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=3144\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1132,91,1131,1298,19,2027,2584],"tags":[2588,2586,2587,2585,343,375],"class_list":["post-3144","post","type-post","status-publish","format-standard","hentry","category-aarch64","category-arm","category-arm64","category-hardware","category-opinion","category-serial-console","category-uart","tag-ft232-is-ok","tag-garbage","tag-pl2303-fails","tag-rk3588","tag-solution","tag-uart"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3144"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3144\/revisions"}],"predecessor-version":[{"id":3146,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3144\/revisions\/3146"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}