{"id":265,"date":"2012-06-13T20:44:36","date_gmt":"2012-06-13T18:44:36","guid":{"rendered":"http:\/\/log.or.cz\/?p=265"},"modified":"2012-06-13T20:54:10","modified_gmt":"2012-06-13T18:54:10","slug":"texas-instrument-launchpad-msp430-and-linux-ii","status":"publish","type":"post","link":"https:\/\/log.or.cz\/?p=265","title":{"rendered":"Texas Instrument Launchpad MSP430 and Linux  II"},"content":{"rendered":"<p>So, thanks to very helpful Rickta59 on #43oh IRC channel, I got my Launchpad v1.5 serial communication working. The key piece of information I was missing:<\/p>\n<div style=\"font-size: 1.5em; text-align: center; line-height: 1.5em; margin: 2ex 0\"><b>If you are using hardware UART,<br \/> you must rotate the RX-TX jumpers by 90 degrees!<\/b><\/div>\n<p>This is even drawn on the board, but it just didn&#8217;t occur to me that I need to do this simple thing. Most examples seem to use hardware UART, and Energia Serial class also uses hardware UART.<\/p>\n<p>It is still very flaky:<\/p>\n<ul>\n<li>For the first ten seconds, communication is impossible. Wait for timeout messages to appear in dmesg, then you can start communication.<\/li>\n<li>When the board is sending data, something <b>must<\/b> be reading them on the host side. If not, the driver collapses and you need to replug the device.<\/li>\n<li>The latter might be circumvented by <a href=\"http:\/\/mspgcc.git.sourceforge.net\/git\/gitweb.cgi?p=mspgcc\/test430;a=tree;f=scripts\">direct USB communication<\/a> without involving the tty driver.<\/li>\n<\/ul>\n<p>So, it is rather fragile, but usable! Let&#8217;s enjoy our Launchpads for projects where this is not a big issue&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, thanks to very helpful Rickta59 on #43oh IRC channel, I got my Launchpad v1.5 serial communication working. The key piece of information I was missing: If you are using hardware UART, you must rotate the RX-TX jumpers by 90 degrees! This is even drawn on the board, but it just didn&#8217;t occur to me [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[64,60,181,85,87,86,88],"class_list":["post-265","post","type-post","status-publish","format-standard","hentry","category-hardware","category-life","tag-arduino","tag-brmlab","tag-hardware","tag-launchpad","tag-microcontroller","tag-msp430","tag-usb"],"_links":{"self":[{"href":"https:\/\/log.or.cz\/index.php?rest_route=\/wp\/v2\/posts\/265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/log.or.cz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/log.or.cz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/log.or.cz\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/log.or.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=265"}],"version-history":[{"count":3,"href":"https:\/\/log.or.cz\/index.php?rest_route=\/wp\/v2\/posts\/265\/revisions"}],"predecessor-version":[{"id":267,"href":"https:\/\/log.or.cz\/index.php?rest_route=\/wp\/v2\/posts\/265\/revisions\/267"}],"wp:attachment":[{"href":"https:\/\/log.or.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/log.or.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/log.or.cz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}